From 80ce3727615f4d4ee20298e81ada5d0037840654 Mon Sep 17 00:00:00 2001 From: jorgefilipecosta Date: Wed, 8 Jan 2020 11:57:23 +0000 Subject: [PATCH] Block Editor: Update WordPress Packages. Updated packages: @wordpress/annotations: 1.7.2 -> 1.9.0 @wordpress/api-fetch: 3.6.4 -> 3.8.0 @wordpress/block-directory: 1.0.5 -> 1.2.0 @wordpress/block-editor: 3.2.5 -> 3.4.0 @wordpress/block-library: 2.9.6 -> 2.11.0 @wordpress/blocks: 6.7.2 -> 6.9.0 @wordpress/components: 8.3.2 -> 8.5.0 @wordpress/compose: 3.7.2 -> 3.9.0 @wordpress/core-data: 2.7.5 -> 2.9.0 @wordpress/data: 4.9.2 -> 4.11.0 @wordpress/data-controls: 1.3.4 -> 1.5.0 @wordpress/date: 3.5.0 -> 3.7.0 @wordpress/dom: 2.5.2 -> 2.6.0 @wordpress/e2e-test-utils: 3.0.0 -> 4.0.0 @wordpress/edit-post: 3.8.6 -> 3.10.0 @wordpress/editor: 9.7.6 -> 9.9.0 @wordpress/element: 2.8.2 -> 2.10.0 @wordpress/escape-html: 1.5.1 -> 1.6.0 @wordpress/format-library: 1.9.5 -> 1.11.0 @wordpress/i18n: 3.6.1 -> 3.7.0 @wordpress/keycodes: 2.6.2 -> 2.7.0 @wordpress/list-reusable-blocks: 1.8.4 -> 1.10.0 @wordpress/media-utils: 1.2.4 -> 1.4.0 @wordpress/notices: 1.8.2 -> 1.10.0 @wordpress/nux: 3.7.2 -> 3.9.0 @wordpress/plugins: 2.7.2 -> 2.9.0 @wordpress/rich-text: 3.7.2 -> 3.9.0 @wordpress/scripts: 6.0.0 -> 6.1.1 @wordpress/server-side-render: 1.3.4 -> 1.5.0 @wordpress/shortcode: 2.4.1 -> 2.5.0 @wordpress/token-list: 1.6.1 -> 1.8.0 @wordpress/url: 2.8.2 -> 2.9.0 @wordpress/viewport: 2.8.2 -> 2.10.0 Props gziolo, youknowriad. Fixes #49142. Built from https://develop.svn.wordpress.org/trunk@47051 git-svn-id: http://core.svn.wordpress.org/trunk@46851 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/assets/dist/a11y.asset.php | 2 +- wp-includes/assets/dist/a11y.min.asset.php | 2 +- wp-includes/assets/dist/annotations.asset.php | 2 +- .../assets/dist/annotations.min.asset.php | 2 +- wp-includes/assets/dist/api-fetch.asset.php | 2 +- .../assets/dist/api-fetch.min.asset.php | 2 +- wp-includes/assets/dist/autop.asset.php | 2 +- wp-includes/assets/dist/autop.min.asset.php | 2 +- wp-includes/assets/dist/blob.asset.php | 2 +- wp-includes/assets/dist/blob.min.asset.php | 2 +- .../assets/dist/block-directory.asset.php | 2 +- .../assets/dist/block-directory.min.asset.php | 2 +- .../assets/dist/block-editor.asset.php | 2 +- .../assets/dist/block-editor.min.asset.php | 2 +- .../assets/dist/block-library.asset.php | 2 +- .../assets/dist/block-library.min.asset.php | 2 +- ...ock-serialization-default-parser.asset.php | 2 +- ...serialization-default-parser.min.asset.php | 2 +- wp-includes/assets/dist/blocks.asset.php | 2 +- wp-includes/assets/dist/blocks.min.asset.php | 2 +- wp-includes/assets/dist/components.asset.php | 2 +- .../assets/dist/components.min.asset.php | 2 +- wp-includes/assets/dist/compose.asset.php | 2 +- wp-includes/assets/dist/compose.min.asset.php | 2 +- wp-includes/assets/dist/core-data.asset.php | 2 +- .../assets/dist/core-data.min.asset.php | 2 +- .../assets/dist/data-controls.asset.php | 2 +- .../assets/dist/data-controls.min.asset.php | 2 +- wp-includes/assets/dist/data.asset.php | 2 +- wp-includes/assets/dist/data.min.asset.php | 2 +- wp-includes/assets/dist/date.asset.php | 2 +- wp-includes/assets/dist/date.min.asset.php | 2 +- wp-includes/assets/dist/deprecated.asset.php | 2 +- .../assets/dist/deprecated.min.asset.php | 2 +- wp-includes/assets/dist/dom-ready.asset.php | 2 +- .../assets/dist/dom-ready.min.asset.php | 2 +- wp-includes/assets/dist/dom.asset.php | 2 +- wp-includes/assets/dist/dom.min.asset.php | 2 +- wp-includes/assets/dist/edit-post.asset.php | 2 +- .../assets/dist/edit-post.min.asset.php | 2 +- wp-includes/assets/dist/editor.asset.php | 2 +- wp-includes/assets/dist/editor.min.asset.php | 2 +- wp-includes/assets/dist/element.asset.php | 2 +- wp-includes/assets/dist/element.min.asset.php | 2 +- wp-includes/assets/dist/escape-html.asset.php | 2 +- .../assets/dist/escape-html.min.asset.php | 2 +- .../assets/dist/format-library.asset.php | 2 +- .../assets/dist/format-library.min.asset.php | 2 +- wp-includes/assets/dist/hooks.asset.php | 2 +- wp-includes/assets/dist/hooks.min.asset.php | 2 +- .../assets/dist/html-entities.asset.php | 2 +- .../assets/dist/html-entities.min.asset.php | 2 +- wp-includes/assets/dist/i18n.asset.php | 2 +- wp-includes/assets/dist/i18n.min.asset.php | 2 +- .../assets/dist/is-shallow-equal.asset.php | 2 +- .../dist/is-shallow-equal.min.asset.php | 2 +- wp-includes/assets/dist/keycodes.asset.php | 2 +- .../assets/dist/keycodes.min.asset.php | 2 +- .../dist/list-reusable-blocks.asset.php | 2 +- .../dist/list-reusable-blocks.min.asset.php | 2 +- wp-includes/assets/dist/media-utils.asset.php | 2 +- .../assets/dist/media-utils.min.asset.php | 2 +- wp-includes/assets/dist/notices.asset.php | 2 +- wp-includes/assets/dist/notices.min.asset.php | 2 +- wp-includes/assets/dist/nux.asset.php | 2 +- wp-includes/assets/dist/nux.min.asset.php | 2 +- wp-includes/assets/dist/plugins.asset.php | 2 +- wp-includes/assets/dist/plugins.min.asset.php | 2 +- .../assets/dist/priority-queue.asset.php | 2 +- .../assets/dist/priority-queue.min.asset.php | 2 +- .../assets/dist/redux-routine.asset.php | 2 +- .../assets/dist/redux-routine.min.asset.php | 2 +- wp-includes/assets/dist/rich-text.asset.php | 2 +- .../assets/dist/rich-text.min.asset.php | 2 +- .../assets/dist/server-side-render.asset.php | 2 +- .../dist/server-side-render.min.asset.php | 2 +- wp-includes/assets/dist/shortcode.asset.php | 2 +- .../assets/dist/shortcode.min.asset.php | 2 +- wp-includes/assets/dist/token-list.asset.php | 2 +- .../assets/dist/token-list.min.asset.php | 2 +- wp-includes/assets/dist/url.asset.php | 2 +- wp-includes/assets/dist/url.min.asset.php | 2 +- wp-includes/assets/dist/viewport.asset.php | 2 +- .../assets/dist/viewport.min.asset.php | 2 +- wp-includes/assets/dist/wordcount.asset.php | 2 +- .../assets/dist/wordcount.min.asset.php | 2 +- .../css/dist/block-directory/style-rtl.css | 3 - .../css/dist/block-directory/style.css | 3 - .../css/dist/block-editor/style-rtl.css | 856 +- .../css/dist/block-editor/style-rtl.min.css | 2 +- wp-includes/css/dist/block-editor/style.css | 856 +- .../css/dist/block-editor/style.min.css | 8 +- .../css/dist/block-library/editor-rtl.css | 437 +- .../css/dist/block-library/editor-rtl.min.css | 2 +- wp-includes/css/dist/block-library/editor.css | 437 +- .../css/dist/block-library/editor.min.css | 4 +- .../css/dist/block-library/style-rtl.css | 395 +- .../css/dist/block-library/style-rtl.min.css | 2 +- wp-includes/css/dist/block-library/style.css | 395 +- .../css/dist/block-library/style.min.css | 2 +- .../css/dist/block-library/theme-rtl.css | 20 +- .../css/dist/block-library/theme-rtl.min.css | 2 +- wp-includes/css/dist/block-library/theme.css | 20 +- .../css/dist/block-library/theme.min.css | 2 +- wp-includes/css/dist/components/style-rtl.css | 732 +- .../css/dist/components/style-rtl.min.css | 2 +- wp-includes/css/dist/components/style.css | 732 +- wp-includes/css/dist/components/style.min.css | 8 +- wp-includes/css/dist/edit-post/style-rtl.css | 562 +- .../css/dist/edit-post/style-rtl.min.css | 2 +- wp-includes/css/dist/edit-post/style.css | 562 +- wp-includes/css/dist/edit-post/style.min.css | 2 +- .../css/dist/editor/editor-styles-rtl.css | 7 +- .../css/dist/editor/editor-styles-rtl.min.css | 2 +- wp-includes/css/dist/editor/editor-styles.css | 7 +- .../css/dist/editor/editor-styles.min.css | 2 +- wp-includes/css/dist/editor/style-rtl.css | 33 +- wp-includes/css/dist/editor/style-rtl.min.css | 2 +- wp-includes/css/dist/editor/style.css | 33 +- wp-includes/css/dist/editor/style.min.css | 2 +- .../css/dist/format-library/style-rtl.css | 12 +- .../css/dist/format-library/style-rtl.min.css | 2 +- wp-includes/css/dist/format-library/style.css | 12 +- .../css/dist/format-library/style.min.css | 2 +- .../dist/list-reusable-blocks/style-rtl.css | 3 - .../css/dist/list-reusable-blocks/style.css | 3 - wp-includes/css/dist/nux/style-rtl.css | 31 +- wp-includes/css/dist/nux/style-rtl.min.css | 2 +- wp-includes/css/dist/nux/style.css | 31 +- wp-includes/css/dist/nux/style.min.css | 8 +- wp-includes/js/dist/a11y.js | 8 +- wp-includes/js/dist/a11y.min.js | 2 +- wp-includes/js/dist/annotations.js | 122 +- wp-includes/js/dist/annotations.min.js | 2 +- wp-includes/js/dist/api-fetch.js | 218 +- wp-includes/js/dist/api-fetch.min.js | 2 +- wp-includes/js/dist/autop.js | 20 +- wp-includes/js/dist/autop.min.js | 2 +- wp-includes/js/dist/blob.js | 4 +- wp-includes/js/dist/blob.min.js | 2 +- wp-includes/js/dist/block-directory.js | 230 +- wp-includes/js/dist/block-directory.min.js | 2 +- wp-includes/js/dist/block-editor.js | 7735 ++++--- wp-includes/js/dist/block-editor.min.js | 16 +- wp-includes/js/dist/block-library.js | 4850 ++-- wp-includes/js/dist/block-library.min.js | 8 +- .../block-serialization-default-parser.js | 20 +- .../block-serialization-default-parser.min.js | 2 +- wp-includes/js/dist/blocks.js | 763 +- wp-includes/js/dist/blocks.min.js | 4 +- wp-includes/js/dist/components.js | 18400 +++++++++++----- wp-includes/js/dist/components.min.js | 16 +- wp-includes/js/dist/compose.js | 357 +- wp-includes/js/dist/compose.min.js | 2 +- wp-includes/js/dist/core-data.js | 476 +- wp-includes/js/dist/core-data.min.js | 2 +- wp-includes/js/dist/data-controls.js | 107 +- wp-includes/js/dist/data-controls.min.js | 2 +- wp-includes/js/dist/data.js | 608 +- wp-includes/js/dist/data.min.js | 2 +- wp-includes/js/dist/date.js | 92 +- wp-includes/js/dist/date.min.js | 10 +- wp-includes/js/dist/deprecated.js | 4 +- wp-includes/js/dist/deprecated.min.js | 2 +- wp-includes/js/dist/dom-ready.js | 4 +- wp-includes/js/dist/dom-ready.min.js | 2 +- wp-includes/js/dist/dom.js | 55 +- wp-includes/js/dist/dom.min.js | 2 +- wp-includes/js/dist/edit-post.js | 3016 +-- wp-includes/js/dist/edit-post.min.js | 4 +- wp-includes/js/dist/editor.js | 2765 ++- wp-includes/js/dist/editor.min.js | 14 +- wp-includes/js/dist/element.js | 657 +- wp-includes/js/dist/element.min.js | 2 +- wp-includes/js/dist/escape-html.js | 18 +- wp-includes/js/dist/escape-html.min.js | 2 +- wp-includes/js/dist/format-library.js | 294 +- wp-includes/js/dist/format-library.min.js | 2 +- wp-includes/js/dist/hooks.js | 12 +- wp-includes/js/dist/hooks.min.js | 2 +- wp-includes/js/dist/html-entities.js | 4 +- wp-includes/js/dist/html-entities.min.js | 2 +- wp-includes/js/dist/i18n.js | 143 +- wp-includes/js/dist/i18n.min.js | 2 +- wp-includes/js/dist/is-shallow-equal.js | 12 +- wp-includes/js/dist/is-shallow-equal.min.js | 2 +- wp-includes/js/dist/keycodes.js | 58 +- wp-includes/js/dist/keycodes.min.js | 2 +- wp-includes/js/dist/list-reusable-blocks.js | 47 +- .../js/dist/list-reusable-blocks.min.js | 2 +- wp-includes/js/dist/media-utils.js | 198 +- wp-includes/js/dist/media-utils.min.js | 2 +- wp-includes/js/dist/notices.js | 94 +- wp-includes/js/dist/notices.min.js | 2 +- wp-includes/js/dist/nux.js | 935 +- wp-includes/js/dist/nux.min.js | 2 +- wp-includes/js/dist/plugins.js | 172 +- wp-includes/js/dist/plugins.min.js | 2 +- wp-includes/js/dist/priority-queue.js | 4 +- wp-includes/js/dist/priority-queue.min.js | 2 +- wp-includes/js/dist/redux-routine.js | 50 +- wp-includes/js/dist/redux-routine.min.js | 2 +- wp-includes/js/dist/rich-text.js | 1159 +- wp-includes/js/dist/rich-text.min.js | 4 +- wp-includes/js/dist/server-side-render.js | 204 +- wp-includes/js/dist/server-side-render.min.js | 2 +- wp-includes/js/dist/shortcode.js | 8 +- wp-includes/js/dist/shortcode.min.js | 2 +- wp-includes/js/dist/token-list.js | 26 +- wp-includes/js/dist/token-list.min.js | 2 +- wp-includes/js/dist/url.js | 1044 +- wp-includes/js/dist/url.min.js | 2 +- wp-includes/js/dist/viewport.js | 262 +- wp-includes/js/dist/viewport.min.js | 2 +- wp-includes/js/dist/wordcount.js | 4 +- wp-includes/js/dist/wordcount.min.js | 2 +- wp-includes/version.php | 2 +- 217 files changed, 32526 insertions(+), 19295 deletions(-) diff --git a/wp-includes/assets/dist/a11y.asset.php b/wp-includes/assets/dist/a11y.asset.php index 46f8ae5728..9756e5b4ad 100644 --- a/wp-includes/assets/dist/a11y.asset.php +++ b/wp-includes/assets/dist/a11y.asset.php @@ -1 +1 @@ - array('wp-dom-ready', 'wp-polyfill'), 'version' => 'af27b431d4f07434a92266990a7d3200'); \ No newline at end of file + array('wp-dom-ready', 'wp-polyfill'), 'version' => 'b550cfbfbf31ad93428152c07cdad647'); \ No newline at end of file diff --git a/wp-includes/assets/dist/a11y.min.asset.php b/wp-includes/assets/dist/a11y.min.asset.php index 365f755665..f8cddf3e79 100644 --- a/wp-includes/assets/dist/a11y.min.asset.php +++ b/wp-includes/assets/dist/a11y.min.asset.php @@ -1 +1 @@ - array('wp-dom-ready', 'wp-polyfill'), 'version' => '5dc59b2dfaca60de5c8a1cc891499f37'); \ No newline at end of file + array('wp-dom-ready', 'wp-polyfill'), 'version' => '949f04593b2602ea0358388df0277eac'); \ No newline at end of file diff --git a/wp-includes/assets/dist/annotations.asset.php b/wp-includes/assets/dist/annotations.asset.php index d29af98fc2..a92cb35226 100644 --- a/wp-includes/assets/dist/annotations.asset.php +++ b/wp-includes/assets/dist/annotations.asset.php @@ -1 +1 @@ - array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '60fcaed1bcbfa3d4eed146cad2f8e5f0'); \ No newline at end of file + array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '624b342dc5dd682c0dbeb6664fce251f'); \ No newline at end of file diff --git a/wp-includes/assets/dist/annotations.min.asset.php b/wp-includes/assets/dist/annotations.min.asset.php index 94e44fde76..5f6552d724 100644 --- a/wp-includes/assets/dist/annotations.min.asset.php +++ b/wp-includes/assets/dist/annotations.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'b171feca624cc4941e9ab684d54d8cee'); \ No newline at end of file + array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '7448ae00b0c89aed6fd7b7d6b2d0ae17'); \ No newline at end of file diff --git a/wp-includes/assets/dist/api-fetch.asset.php b/wp-includes/assets/dist/api-fetch.asset.php index e86b3ec161..91f9b0422c 100644 --- a/wp-includes/assets/dist/api-fetch.asset.php +++ b/wp-includes/assets/dist/api-fetch.asset.php @@ -1 +1 @@ - array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '153fb1306d9092a86720b8d7a94db45f'); \ No newline at end of file + array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '055cf0e136b8c3bad235dce42274fb70'); \ No newline at end of file diff --git a/wp-includes/assets/dist/api-fetch.min.asset.php b/wp-includes/assets/dist/api-fetch.min.asset.php index 5119cad424..5d58d30cec 100644 --- a/wp-includes/assets/dist/api-fetch.min.asset.php +++ b/wp-includes/assets/dist/api-fetch.min.asset.php @@ -1 +1 @@ - array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '8c197b51561370ff41bfe6eb282c19f4'); \ No newline at end of file + array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'b9effa1983c4cabc61d9ee30a46a8349'); \ No newline at end of file diff --git a/wp-includes/assets/dist/autop.asset.php b/wp-includes/assets/dist/autop.asset.php index 3b98b06d9d..449437a9dd 100644 --- a/wp-includes/assets/dist/autop.asset.php +++ b/wp-includes/assets/dist/autop.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '37dd324cde5f705f94ec94a8ee48602a'); \ No newline at end of file + array('wp-polyfill'), 'version' => '063a1e7b1d02b237abbfdab24067a399'); \ No newline at end of file diff --git a/wp-includes/assets/dist/autop.min.asset.php b/wp-includes/assets/dist/autop.min.asset.php index a2aa808102..33919a5bbc 100644 --- a/wp-includes/assets/dist/autop.min.asset.php +++ b/wp-includes/assets/dist/autop.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '823837761a3437d4b1fa25cf69b57adf'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'd68a92ca45b112674ff00108cbf6c5f1'); \ No newline at end of file diff --git a/wp-includes/assets/dist/blob.asset.php b/wp-includes/assets/dist/blob.asset.php index fed01e7209..8dcfdff2e5 100644 --- a/wp-includes/assets/dist/blob.asset.php +++ b/wp-includes/assets/dist/blob.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'a3c41acb9815d735bacd15e8f9dfe71a'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'e4dc79d1d1704e35b2a52cffee57a1eb'); \ No newline at end of file diff --git a/wp-includes/assets/dist/blob.min.asset.php b/wp-includes/assets/dist/blob.min.asset.php index 191a4e10d5..47fef5ec62 100644 --- a/wp-includes/assets/dist/blob.min.asset.php +++ b/wp-includes/assets/dist/blob.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'adfdd1facf5a649995ed1e2c6d665bbe'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'aef4e225cd0194249a3bd45452c890c3'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-directory.asset.php b/wp-includes/assets/dist/block-directory.asset.php index 08def78704..c05956d895 100644 --- a/wp-includes/assets/dist/block-directory.asset.php +++ b/wp-includes/assets/dist/block-directory.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '56ee285ad354b24d6fe3118074df165d'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => 'd361033e5a5973bba973afe8948f427c'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-directory.min.asset.php b/wp-includes/assets/dist/block-directory.min.asset.php index d7a747fa45..7dd87c9aba 100644 --- a/wp-includes/assets/dist/block-directory.min.asset.php +++ b/wp-includes/assets/dist/block-directory.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '854d9d41fa1653ae75e6b3b5c620695c'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => '4b9c959997211d4c4c8d9b7f1ca13bc6'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-editor.asset.php b/wp-includes/assets/dist/block-editor.asset.php index 4a27cf9669..19ef8c3ded 100644 --- a/wp-includes/assets/dist/block-editor.asset.php +++ b/wp-includes/assets/dist/block-editor.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '4dcb4b3052a105afad405a87931067d9'); \ No newline at end of file + array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '1402c976dbdae1e9cb042faca2cdb2b2'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-editor.min.asset.php b/wp-includes/assets/dist/block-editor.min.asset.php index 7361790505..0050a60289 100644 --- a/wp-includes/assets/dist/block-editor.min.asset.php +++ b/wp-includes/assets/dist/block-editor.min.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '23971788f81a47ab9b492e6cbc279f65'); \ No newline at end of file + array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => 'aca8bf0d51b6bb733e9a83f0f09b3541'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-library.asset.php b/wp-includes/assets/dist/block-library.asset.php index 4b75d92883..e86647c0af 100644 --- a/wp-includes/assets/dist/block-library.asset.php +++ b/wp-includes/assets/dist/block-library.asset.php @@ -1 +1 @@ - array('lodash', 'moment', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '0dff0566205e839bb9836efc95d43355'); \ No newline at end of file + array('lodash', 'moment', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'b98df661f8693f22b6fff0910d42b321'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-library.min.asset.php b/wp-includes/assets/dist/block-library.min.asset.php index 4259888672..12f0d54216 100644 --- a/wp-includes/assets/dist/block-library.min.asset.php +++ b/wp-includes/assets/dist/block-library.min.asset.php @@ -1 +1 @@ - array('lodash', 'moment', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'f1f1814422958952e2cca63a0759e069'); \ No newline at end of file + array('lodash', 'moment', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'f2da5f4de15335333df4feaa2f748a15'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-serialization-default-parser.asset.php b/wp-includes/assets/dist/block-serialization-default-parser.asset.php index 47b81d9a51..122f3dc63b 100644 --- a/wp-includes/assets/dist/block-serialization-default-parser.asset.php +++ b/wp-includes/assets/dist/block-serialization-default-parser.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '7ff608695039a6eebcaca94c7b0cbe0b'); \ No newline at end of file + array('wp-polyfill'), 'version' => '47b8f9ac28ead71f0c1b587434028a0f'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-serialization-default-parser.min.asset.php b/wp-includes/assets/dist/block-serialization-default-parser.min.asset.php index dc4f8bd1d1..33c93b3560 100644 --- a/wp-includes/assets/dist/block-serialization-default-parser.min.asset.php +++ b/wp-includes/assets/dist/block-serialization-default-parser.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '4f1ad4e301f6d8e3fe19fa2dd547cf55'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'dce9aa90e960d1cd633cf48c26323ec5'); \ No newline at end of file diff --git a/wp-includes/assets/dist/blocks.asset.php b/wp-includes/assets/dist/blocks.asset.php index b857405aee..0ca754d5da 100644 --- a/wp-includes/assets/dist/blocks.asset.php +++ b/wp-includes/assets/dist/blocks.asset.php @@ -1 +1 @@ - array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => '2fd7d71040e681bf25f52e613070e987'); \ No newline at end of file + array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => 'ba5080999dd23264ccadee812b5c65cf'); \ No newline at end of file diff --git a/wp-includes/assets/dist/blocks.min.asset.php b/wp-includes/assets/dist/blocks.min.asset.php index 1a4c054514..3bdb67828e 100644 --- a/wp-includes/assets/dist/blocks.min.asset.php +++ b/wp-includes/assets/dist/blocks.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => '0806c45af0e214df5c37406e0877f72b'); \ No newline at end of file + array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => '5b5bffa1e1d75c0faab9fe4ff0eda3f2'); \ No newline at end of file diff --git a/wp-includes/assets/dist/components.asset.php b/wp-includes/assets/dist/components.asset.php index d99405d4fe..b65caa17b1 100644 --- a/wp-includes/assets/dist/components.asset.php +++ b/wp-includes/assets/dist/components.asset.php @@ -1 +1 @@ - array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text'), 'version' => '2c562d21c0eb3b3bfe3de73476733e6c'); \ No newline at end of file + array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text'), 'version' => 'f73f64fbbab5b40545a909671ef0794f'); \ No newline at end of file diff --git a/wp-includes/assets/dist/components.min.asset.php b/wp-includes/assets/dist/components.min.asset.php index e3b1458c17..bbfab1b99f 100644 --- a/wp-includes/assets/dist/components.min.asset.php +++ b/wp-includes/assets/dist/components.min.asset.php @@ -1 +1 @@ - array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text'), 'version' => '30785f4d41cf73bb1bf1eea0be62a4cf'); \ No newline at end of file + array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text'), 'version' => '0185d848092c701953ecf8283d5ae82c'); \ No newline at end of file diff --git a/wp-includes/assets/dist/compose.asset.php b/wp-includes/assets/dist/compose.asset.php index 68524026f2..9809fae6e1 100644 --- a/wp-includes/assets/dist/compose.asset.php +++ b/wp-includes/assets/dist/compose.asset.php @@ -1 +1 @@ - array('lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => 'ec6e5b34fe3cbb2b5d1514269b567a93'); \ No newline at end of file + array('lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => '36b5576f3bb424c3f7163e4a8798ce1e'); \ No newline at end of file diff --git a/wp-includes/assets/dist/compose.min.asset.php b/wp-includes/assets/dist/compose.min.asset.php index 2c0f6a6c24..af8204dd34 100644 --- a/wp-includes/assets/dist/compose.min.asset.php +++ b/wp-includes/assets/dist/compose.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => 'c430c6150a198fb6d4c2eabb7cd03583'); \ No newline at end of file + array('lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => '845c092310e456ffe8def337bac75303'); \ No newline at end of file diff --git a/wp-includes/assets/dist/core-data.asset.php b/wp-includes/assets/dist/core-data.asset.php index 384ea289d5..a9abab5ca1 100644 --- a/wp-includes/assets/dist/core-data.asset.php +++ b/wp-includes/assets/dist/core-data.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => 'c0d428e65d3c6b57c6f098724ce8d587'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '4b14fe54c652f2f55dc165ce5f368e39'); \ No newline at end of file diff --git a/wp-includes/assets/dist/core-data.min.asset.php b/wp-includes/assets/dist/core-data.min.asset.php index 4e5fb365b8..3b6da3ea3d 100644 --- a/wp-includes/assets/dist/core-data.min.asset.php +++ b/wp-includes/assets/dist/core-data.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '46d824acf71eb4a50d36fcbe1e0b46e0'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '429966f6050943802dd580f0e09d24ee'); \ No newline at end of file diff --git a/wp-includes/assets/dist/data-controls.asset.php b/wp-includes/assets/dist/data-controls.asset.php index 437ce5aa3c..9058c75f19 100644 --- a/wp-includes/assets/dist/data-controls.asset.php +++ b/wp-includes/assets/dist/data-controls.asset.php @@ -1 +1 @@ - array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => '2f1f369d2fb8dca36c3265d9b8a92c44'); \ No newline at end of file + array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => 'be699614c0ed0d4356a6694468b28060'); \ No newline at end of file diff --git a/wp-includes/assets/dist/data-controls.min.asset.php b/wp-includes/assets/dist/data-controls.min.asset.php index 0d5ad89dd0..3f811ccc7e 100644 --- a/wp-includes/assets/dist/data-controls.min.asset.php +++ b/wp-includes/assets/dist/data-controls.min.asset.php @@ -1 +1 @@ - array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => 'a625c6cccd427ea9ae75b0f6ba62fbc5'); \ No newline at end of file + array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => '57f618bef28633a434aa668ff8119c07'); \ No newline at end of file diff --git a/wp-includes/assets/dist/data.asset.php b/wp-includes/assets/dist/data.asset.php index 564395d959..439137ce5f 100644 --- a/wp-includes/assets/dist/data.asset.php +++ b/wp-includes/assets/dist/data.asset.php @@ -1 +1 @@ - array('lodash', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '15534ec9df39be607b0a256599a4988a'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '8fcdd4c5ac21565a6bdb9e38c5694887'); \ No newline at end of file diff --git a/wp-includes/assets/dist/data.min.asset.php b/wp-includes/assets/dist/data.min.asset.php index 834900e835..efdcc1395b 100644 --- a/wp-includes/assets/dist/data.min.asset.php +++ b/wp-includes/assets/dist/data.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => 'df3adc44a43e27722ceae00ecdd06fc9'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => 'fd9995bdc93117bb138646fdc4a7d38a'); \ No newline at end of file diff --git a/wp-includes/assets/dist/date.asset.php b/wp-includes/assets/dist/date.asset.php index 741d8f35ed..af1c61384a 100644 --- a/wp-includes/assets/dist/date.asset.php +++ b/wp-includes/assets/dist/date.asset.php @@ -1 +1 @@ - array('moment', 'wp-polyfill'), 'version' => 'd43cc0144bfd4977eb7f74d855c73a50'); \ No newline at end of file + array('moment', 'wp-polyfill'), 'version' => '39a1fb7f1cc3465c6d8624af29b9ed3b'); \ No newline at end of file diff --git a/wp-includes/assets/dist/date.min.asset.php b/wp-includes/assets/dist/date.min.asset.php index d816a4a1d7..04d3f1459e 100644 --- a/wp-includes/assets/dist/date.min.asset.php +++ b/wp-includes/assets/dist/date.min.asset.php @@ -1 +1 @@ - array('moment', 'wp-polyfill'), 'version' => '43bab887da69e32a933022340ee79968'); \ No newline at end of file + array('moment', 'wp-polyfill'), 'version' => '217ea298caa73a29f6b3ee7b51516bf6'); \ No newline at end of file diff --git a/wp-includes/assets/dist/deprecated.asset.php b/wp-includes/assets/dist/deprecated.asset.php index 268798bb7a..380708ce3a 100644 --- a/wp-includes/assets/dist/deprecated.asset.php +++ b/wp-includes/assets/dist/deprecated.asset.php @@ -1 +1 @@ - array('wp-hooks', 'wp-polyfill'), 'version' => '00c8ff07af6ff4909c66e136d13b6176'); \ No newline at end of file + array('wp-hooks', 'wp-polyfill'), 'version' => '9f41e2a9af017bfa3f951e84b17ae823'); \ No newline at end of file diff --git a/wp-includes/assets/dist/deprecated.min.asset.php b/wp-includes/assets/dist/deprecated.min.asset.php index 21e8f96601..16ed5021ef 100644 --- a/wp-includes/assets/dist/deprecated.min.asset.php +++ b/wp-includes/assets/dist/deprecated.min.asset.php @@ -1 +1 @@ - array('wp-hooks', 'wp-polyfill'), 'version' => '360d4616481ef8f439fa923fa7d7e79d'); \ No newline at end of file + array('wp-hooks', 'wp-polyfill'), 'version' => '983cd667045a01098d99f32ecd90dfe9'); \ No newline at end of file diff --git a/wp-includes/assets/dist/dom-ready.asset.php b/wp-includes/assets/dist/dom-ready.asset.php index de92f48ce1..28c43a7982 100644 --- a/wp-includes/assets/dist/dom-ready.asset.php +++ b/wp-includes/assets/dist/dom-ready.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '964ef101f2fbe14a6d8ba9721f6cc295'); \ No newline at end of file + array('wp-polyfill'), 'version' => '9a8018d0ebab45c15471eb9767c153ba'); \ No newline at end of file diff --git a/wp-includes/assets/dist/dom-ready.min.asset.php b/wp-includes/assets/dist/dom-ready.min.asset.php index a3025a8f20..b5f7a4d021 100644 --- a/wp-includes/assets/dist/dom-ready.min.asset.php +++ b/wp-includes/assets/dist/dom-ready.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '1823bf311f01bd539f92cb70a34a3490'); \ No newline at end of file + array('wp-polyfill'), 'version' => '8c85082df558fd1b2397ce4dc599555d'); \ No newline at end of file diff --git a/wp-includes/assets/dist/dom.asset.php b/wp-includes/assets/dist/dom.asset.php index cee00533b3..861cde952b 100644 --- a/wp-includes/assets/dist/dom.asset.php +++ b/wp-includes/assets/dist/dom.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => '0a63ec8def9444ec51bbeb0387630d29'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '06e41b666f1d37b752ea1c6678d659ff'); \ No newline at end of file diff --git a/wp-includes/assets/dist/dom.min.asset.php b/wp-includes/assets/dist/dom.min.asset.php index 5356cfa754..f90142073b 100644 --- a/wp-includes/assets/dist/dom.min.asset.php +++ b/wp-includes/assets/dist/dom.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => 'aca57c2013f6451b44f0a7288a6a1b17'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => 'fc4fa8d0d180a9237cfe7a08be80087d'); \ No newline at end of file diff --git a/wp-includes/assets/dist/edit-post.asset.php b/wp-includes/assets/dist/edit-post.asset.php index d04d2f535e..fb68dde7fa 100644 --- a/wp-includes/assets/dist/edit-post.asset.php +++ b/wp-includes/assets/dist/edit-post.asset.php @@ -1 +1 @@ - 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-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-nux', 'wp-plugins', 'wp-polyfill', 'wp-url', 'wp-viewport'), 'version' => '00342b369b89df397bbae49e03be43d0'); \ No newline at end of file + 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-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-nux', 'wp-plugins', 'wp-polyfill', 'wp-url', 'wp-viewport'), 'version' => '269262b93672eaa34e317fe24499e1a8'); \ No newline at end of file diff --git a/wp-includes/assets/dist/edit-post.min.asset.php b/wp-includes/assets/dist/edit-post.min.asset.php index 3bb9f27aee..55d562b002 100644 --- a/wp-includes/assets/dist/edit-post.min.asset.php +++ b/wp-includes/assets/dist/edit-post.min.asset.php @@ -1 +1 @@ - 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-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-nux', 'wp-plugins', 'wp-polyfill', 'wp-url', 'wp-viewport'), 'version' => '6cebc08df7e67a3ba1188a1a25d094c4'); \ No newline at end of file + 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-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-nux', 'wp-plugins', 'wp-polyfill', 'wp-url', 'wp-viewport'), 'version' => '4367638419c76401531263822d3f5c6b'); \ No newline at end of file diff --git a/wp-includes/assets/dist/editor.asset.php b/wp-includes/assets/dist/editor.asset.php index ad4695f71f..2f5706f3c3 100644 --- a/wp-includes/assets/dist/editor.asset.php +++ b/wp-includes/assets/dist/editor.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-directory', '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-is-shallow-equal', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-nux', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '4b6e66c5e7ecb9e1c661303db63b2aaf'); \ No newline at end of file + array('lodash', 'react', 'wp-api-fetch', 'wp-autop', '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-keycodes', 'wp-media-utils', 'wp-notices', 'wp-nux', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '3bd1c0b29b6117541665996acddeb90a'); \ No newline at end of file diff --git a/wp-includes/assets/dist/editor.min.asset.php b/wp-includes/assets/dist/editor.min.asset.php index e7c2217f84..ecc5d137c7 100644 --- a/wp-includes/assets/dist/editor.min.asset.php +++ b/wp-includes/assets/dist/editor.min.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-directory', '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-is-shallow-equal', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-nux', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '05b6933253ccb09c63cc7f693ff53389'); \ No newline at end of file + array('lodash', 'react', 'wp-api-fetch', 'wp-autop', '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-keycodes', 'wp-media-utils', 'wp-notices', 'wp-nux', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '3d5f201b3e3b63ccfc9de6e412362837'); \ No newline at end of file diff --git a/wp-includes/assets/dist/element.asset.php b/wp-includes/assets/dist/element.asset.php index a4ce6ce6a7..9d9ccc7660 100644 --- a/wp-includes/assets/dist/element.asset.php +++ b/wp-includes/assets/dist/element.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => 'cae2422b8f0408835b38dc6387fb767a'); \ No newline at end of file + array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '198c79910430d43bf7d187f5f60385c5'); \ No newline at end of file diff --git a/wp-includes/assets/dist/element.min.asset.php b/wp-includes/assets/dist/element.min.asset.php index 66bc2eecff..c1d1a10ff2 100644 --- a/wp-includes/assets/dist/element.min.asset.php +++ b/wp-includes/assets/dist/element.min.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '259fe2760939f45060b7f9c7ae24301b'); \ No newline at end of file + array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '4653afc805fab421333d7741389dce09'); \ No newline at end of file diff --git a/wp-includes/assets/dist/escape-html.asset.php b/wp-includes/assets/dist/escape-html.asset.php index a32e1f82a7..e91324cdbf 100644 --- a/wp-includes/assets/dist/escape-html.asset.php +++ b/wp-includes/assets/dist/escape-html.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'f77f13f9c7796a1dda56b4bf1650a17a'); \ No newline at end of file + array('wp-polyfill'), 'version' => '4f532600cc17acf2079e19e86c7a8203'); \ No newline at end of file diff --git a/wp-includes/assets/dist/escape-html.min.asset.php b/wp-includes/assets/dist/escape-html.min.asset.php index 77314adcce..65d8f37619 100644 --- a/wp-includes/assets/dist/escape-html.min.asset.php +++ b/wp-includes/assets/dist/escape-html.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'a94dcf86d2486735989d9d135dcc2066'); \ No newline at end of file + array('wp-polyfill'), 'version' => '050af822d90e5a74545185ee7a53f8a8'); \ No newline at end of file diff --git a/wp-includes/assets/dist/format-library.asset.php b/wp-includes/assets/dist/format-library.asset.php index 8847a4917a..f6b1d7dcaf 100644 --- a/wp-includes/assets/dist/format-library.asset.php +++ b/wp-includes/assets/dist/format-library.asset.php @@ -1 +1 @@ - array('lodash', 'wp-block-editor', 'wp-components', 'wp-dom', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-url'), 'version' => 'a7891c00b81896a75bc9ad9ec0b53255'); \ No newline at end of file + array('lodash', 'wp-block-editor', 'wp-components', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-url'), 'version' => 'aadb82ab286d709ff5ace112d32b0945'); \ No newline at end of file diff --git a/wp-includes/assets/dist/format-library.min.asset.php b/wp-includes/assets/dist/format-library.min.asset.php index 6154c94c8d..e2fc037c63 100644 --- a/wp-includes/assets/dist/format-library.min.asset.php +++ b/wp-includes/assets/dist/format-library.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-block-editor', 'wp-components', 'wp-dom', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-url'), 'version' => '85f30e069b97903f0513a91b61d2d258'); \ No newline at end of file + array('lodash', 'wp-block-editor', 'wp-components', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-url'), 'version' => 'c1714240074f33f9d9f29237d5e7f0bd'); \ No newline at end of file diff --git a/wp-includes/assets/dist/hooks.asset.php b/wp-includes/assets/dist/hooks.asset.php index 9ce93a2fe7..f63cb8cf26 100644 --- a/wp-includes/assets/dist/hooks.asset.php +++ b/wp-includes/assets/dist/hooks.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '4c27c055506e57b56ecf3b2a4ffee195'); \ No newline at end of file + array('wp-polyfill'), 'version' => '45bcb9ecf4f788c81c4dfdfc1ea9f9ea'); \ No newline at end of file diff --git a/wp-includes/assets/dist/hooks.min.asset.php b/wp-includes/assets/dist/hooks.min.asset.php index 50b79819de..2d5aad176b 100644 --- a/wp-includes/assets/dist/hooks.min.asset.php +++ b/wp-includes/assets/dist/hooks.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '11ee0c5a6035d3a6ba7e47a253dc74e1'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'fa7de92c42efd66dad5abb0ddb9965ee'); \ No newline at end of file diff --git a/wp-includes/assets/dist/html-entities.asset.php b/wp-includes/assets/dist/html-entities.asset.php index 140cf4afec..af10c9f7a2 100644 --- a/wp-includes/assets/dist/html-entities.asset.php +++ b/wp-includes/assets/dist/html-entities.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'c62608e5c602dca4aff5176cb1b17503'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'ec6a26e0bc2ff7d15c7921c3162a0e31'); \ No newline at end of file diff --git a/wp-includes/assets/dist/html-entities.min.asset.php b/wp-includes/assets/dist/html-entities.min.asset.php index e0d17f5f22..d0d1465b38 100644 --- a/wp-includes/assets/dist/html-entities.min.asset.php +++ b/wp-includes/assets/dist/html-entities.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'a26ef41cfcf764b5eb1bc721ec0acd28'); \ No newline at end of file + array('wp-polyfill'), 'version' => '8db96de515fbb89a191ac9bb89a514e4'); \ No newline at end of file diff --git a/wp-includes/assets/dist/i18n.asset.php b/wp-includes/assets/dist/i18n.asset.php index 20d15da9a6..9223f9000a 100644 --- a/wp-includes/assets/dist/i18n.asset.php +++ b/wp-includes/assets/dist/i18n.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '069d2293dc9586cc0afb6905ea48a500'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'fe70686f9c30c563e7591519fa6db788'); \ No newline at end of file diff --git a/wp-includes/assets/dist/i18n.min.asset.php b/wp-includes/assets/dist/i18n.min.asset.php index 4b5ebc71a2..caed0c9e53 100644 --- a/wp-includes/assets/dist/i18n.min.asset.php +++ b/wp-includes/assets/dist/i18n.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '4d88acdeb69fa3d9f78a14c0ab3bec9b'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'c8d6e29df487dd30ed2ae650f4d546ef'); \ No newline at end of file diff --git a/wp-includes/assets/dist/is-shallow-equal.asset.php b/wp-includes/assets/dist/is-shallow-equal.asset.php index d9788b8433..17459e42ac 100644 --- a/wp-includes/assets/dist/is-shallow-equal.asset.php +++ b/wp-includes/assets/dist/is-shallow-equal.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'a02634b945ecc4a61dc46c94c35855f6'); \ No newline at end of file + array('wp-polyfill'), 'version' => '81feeb76be886481821521782fa84faa'); \ No newline at end of file diff --git a/wp-includes/assets/dist/is-shallow-equal.min.asset.php b/wp-includes/assets/dist/is-shallow-equal.min.asset.php index 6f0056ee1c..2c59388b09 100644 --- a/wp-includes/assets/dist/is-shallow-equal.min.asset.php +++ b/wp-includes/assets/dist/is-shallow-equal.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'c79efbd1bf901fe4cd5f3dde4cbfa6d8'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'c74e6be321826f95c3a4d8136a639e84'); \ No newline at end of file diff --git a/wp-includes/assets/dist/keycodes.asset.php b/wp-includes/assets/dist/keycodes.asset.php index debef5492c..389816ad58 100644 --- a/wp-includes/assets/dist/keycodes.asset.php +++ b/wp-includes/assets/dist/keycodes.asset.php @@ -1 +1 @@ - array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '59d8d431cd479879a1d314671f18fd3b'); \ No newline at end of file + array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => 'fae7a8937f7171218dde29bcfd59d908'); \ No newline at end of file diff --git a/wp-includes/assets/dist/keycodes.min.asset.php b/wp-includes/assets/dist/keycodes.min.asset.php index 6a338f51c6..54030c5973 100644 --- a/wp-includes/assets/dist/keycodes.min.asset.php +++ b/wp-includes/assets/dist/keycodes.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => 'be608fe55382d457ef1c21540c8cf0aa'); \ No newline at end of file + array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '54b68da38ab20d5a9642af4677a928c3'); \ No newline at end of file diff --git a/wp-includes/assets/dist/list-reusable-blocks.asset.php b/wp-includes/assets/dist/list-reusable-blocks.asset.php index dc66566752..b97ca76908 100644 --- a/wp-includes/assets/dist/list-reusable-blocks.asset.php +++ b/wp-includes/assets/dist/list-reusable-blocks.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '5a205b47d2d3d37e136eeb926947e087'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '364dcad3ef9042d7fda48839c42eefe0'); \ No newline at end of file diff --git a/wp-includes/assets/dist/list-reusable-blocks.min.asset.php b/wp-includes/assets/dist/list-reusable-blocks.min.asset.php index 8f90620537..a7896a7804 100644 --- a/wp-includes/assets/dist/list-reusable-blocks.min.asset.php +++ b/wp-includes/assets/dist/list-reusable-blocks.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '05fbb6d1d79b54d7d13bf5911d2a00a3'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'b1e29611adbfb4ec104a91b5ff1092d3'); \ No newline at end of file diff --git a/wp-includes/assets/dist/media-utils.asset.php b/wp-includes/assets/dist/media-utils.asset.php index 84d2f272b2..bdbfecbc5d 100644 --- a/wp-includes/assets/dist/media-utils.asset.php +++ b/wp-includes/assets/dist/media-utils.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'c86dcf5b0742c92305b50153df8e7b81'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '72ad65c1e6a00991bdbfec403ab1cfdb'); \ No newline at end of file diff --git a/wp-includes/assets/dist/media-utils.min.asset.php b/wp-includes/assets/dist/media-utils.min.asset.php index 7e8f7061c5..a9ca201c31 100644 --- a/wp-includes/assets/dist/media-utils.min.asset.php +++ b/wp-includes/assets/dist/media-utils.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '5e498e5114404cb2584c77bca9b9b63d'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '2b01ef53f861aba77a65112734fdb574'); \ No newline at end of file diff --git a/wp-includes/assets/dist/notices.asset.php b/wp-includes/assets/dist/notices.asset.php index 8fdbefa489..18f87855e0 100644 --- a/wp-includes/assets/dist/notices.asset.php +++ b/wp-includes/assets/dist/notices.asset.php @@ -1 +1 @@ - array('lodash', 'wp-a11y', 'wp-data', 'wp-polyfill'), 'version' => 'cc4bbc7372798a3f4357e381690e6fcc'); \ No newline at end of file + array('lodash', 'wp-a11y', 'wp-data', 'wp-polyfill'), 'version' => '189c34a5316c4596a08edd678eddffcd'); \ No newline at end of file diff --git a/wp-includes/assets/dist/notices.min.asset.php b/wp-includes/assets/dist/notices.min.asset.php index b5e8e9c3e5..fd765b80e4 100644 --- a/wp-includes/assets/dist/notices.min.asset.php +++ b/wp-includes/assets/dist/notices.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-a11y', 'wp-data', 'wp-polyfill'), 'version' => '72bc960c10048f975a693cafb38e3653'); \ No newline at end of file + array('lodash', 'wp-a11y', 'wp-data', 'wp-polyfill'), 'version' => '9084ef6f066d98134197aef87a4b8792'); \ No newline at end of file diff --git a/wp-includes/assets/dist/nux.asset.php b/wp-includes/assets/dist/nux.asset.php index 0de5ac58bf..fdb441520f 100644 --- a/wp-includes/assets/dist/nux.asset.php +++ b/wp-includes/assets/dist/nux.asset.php @@ -1 +1 @@ - array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '86fa43e67fb5dda7da1a948c34845bf7'); \ No newline at end of file + array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '505833af97e47ee87859d9de3330e3eb'); \ No newline at end of file diff --git a/wp-includes/assets/dist/nux.min.asset.php b/wp-includes/assets/dist/nux.min.asset.php index ea5437e22e..eaf4b9b0f3 100644 --- a/wp-includes/assets/dist/nux.min.asset.php +++ b/wp-includes/assets/dist/nux.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '6ec8a38f68d8486a95465e09fa560f7e'); \ No newline at end of file + array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '9a161864b65ac8d69c95df31f7f15a1e'); \ No newline at end of file diff --git a/wp-includes/assets/dist/plugins.asset.php b/wp-includes/assets/dist/plugins.asset.php index f073ea515d..3598ff52e6 100644 --- a/wp-includes/assets/dist/plugins.asset.php +++ b/wp-includes/assets/dist/plugins.asset.php @@ -1 +1 @@ - array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill'), 'version' => '42dd14e0a3b26c66324e5a17fc8e9c61'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill'), 'version' => 'c4dc925bff8febd140e6a30a9b3c842a'); \ No newline at end of file diff --git a/wp-includes/assets/dist/plugins.min.asset.php b/wp-includes/assets/dist/plugins.min.asset.php index c43c49803f..c79349aadc 100644 --- a/wp-includes/assets/dist/plugins.min.asset.php +++ b/wp-includes/assets/dist/plugins.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill'), 'version' => 'fbb518fd8958d8f7fbc3fcfdf88679c1'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill'), 'version' => 'e0c254668832d0137d31c516b277546e'); \ No newline at end of file diff --git a/wp-includes/assets/dist/priority-queue.asset.php b/wp-includes/assets/dist/priority-queue.asset.php index 352002c3c7..088e4468d2 100644 --- a/wp-includes/assets/dist/priority-queue.asset.php +++ b/wp-includes/assets/dist/priority-queue.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '20e33db2eef5149773790911f2eda61b'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'c26ee7dc2bad85d186730cba3b6f21cd'); \ No newline at end of file diff --git a/wp-includes/assets/dist/priority-queue.min.asset.php b/wp-includes/assets/dist/priority-queue.min.asset.php index 9ffa3e1922..413d316ba6 100644 --- a/wp-includes/assets/dist/priority-queue.min.asset.php +++ b/wp-includes/assets/dist/priority-queue.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'c032c9992ec6078eaa3a6fcbb685317c'); \ No newline at end of file + array('wp-polyfill'), 'version' => '498b7b88dba973cf5fdfa5c03affb619'); \ No newline at end of file diff --git a/wp-includes/assets/dist/redux-routine.asset.php b/wp-includes/assets/dist/redux-routine.asset.php index 0e3736b8ef..f2bf6f1581 100644 --- a/wp-includes/assets/dist/redux-routine.asset.php +++ b/wp-includes/assets/dist/redux-routine.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => '1bbb6d90c2818ae1b9ef83b7ae87ef94'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '0f677a062b9085b0ab3891738fa96625'); \ No newline at end of file diff --git a/wp-includes/assets/dist/redux-routine.min.asset.php b/wp-includes/assets/dist/redux-routine.min.asset.php index 862cf9eb3c..7b38e608e7 100644 --- a/wp-includes/assets/dist/redux-routine.min.asset.php +++ b/wp-includes/assets/dist/redux-routine.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => '28e4976c02845f866a879ce3bf50db8c'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => 'e885e6d251c8f5743318550f4c2d59ff'); \ No newline at end of file diff --git a/wp-includes/assets/dist/rich-text.asset.php b/wp-includes/assets/dist/rich-text.asset.php index ac85e599d2..9843d121a6 100644 --- a/wp-includes/assets/dist/rich-text.asset.php +++ b/wp-includes/assets/dist/rich-text.asset.php @@ -1 +1 @@ - array('lodash', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill'), 'version' => '3e1208977112a4cd81cd1a4959f64789'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill'), 'version' => 'ceb6acbc9c03f3055bc6701e06c7679c'); \ No newline at end of file diff --git a/wp-includes/assets/dist/rich-text.min.asset.php b/wp-includes/assets/dist/rich-text.min.asset.php index 4d46c2556e..bbc76a9c0f 100644 --- a/wp-includes/assets/dist/rich-text.min.asset.php +++ b/wp-includes/assets/dist/rich-text.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill'), 'version' => '718b996a2c0c1e6f15f5b36657c630bd'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill'), 'version' => '3f0a5ca539e3eda42f8be93b6daa9221'); \ No newline at end of file diff --git a/wp-includes/assets/dist/server-side-render.asset.php b/wp-includes/assets/dist/server-side-render.asset.php index e7f8d5637b..3d96dabbc0 100644 --- a/wp-includes/assets/dist/server-side-render.asset.php +++ b/wp-includes/assets/dist/server-side-render.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '248ddbdb10f424f31d2403874d09d0da'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'd8cf864e37f0c604d75779f634469359'); \ No newline at end of file diff --git a/wp-includes/assets/dist/server-side-render.min.asset.php b/wp-includes/assets/dist/server-side-render.min.asset.php index 4339db5b54..2dc99473c8 100644 --- a/wp-includes/assets/dist/server-side-render.min.asset.php +++ b/wp-includes/assets/dist/server-side-render.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '8b29152d4e771c5ff8f7ffc4e2b8a53b'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '2560702b7e8e4a5d952eb82eb7fe73e1'); \ No newline at end of file diff --git a/wp-includes/assets/dist/shortcode.asset.php b/wp-includes/assets/dist/shortcode.asset.php index a331e7edcf..932995d7bb 100644 --- a/wp-includes/assets/dist/shortcode.asset.php +++ b/wp-includes/assets/dist/shortcode.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => '579f8a20b9143d82002d25e9eac99bf2'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => 'c39732078c12bd0ce674e2a75e868a35'); \ No newline at end of file diff --git a/wp-includes/assets/dist/shortcode.min.asset.php b/wp-includes/assets/dist/shortcode.min.asset.php index 7e4549bcc8..2f480df6ad 100644 --- a/wp-includes/assets/dist/shortcode.min.asset.php +++ b/wp-includes/assets/dist/shortcode.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => '26d57d47c8e8094e524292e85f0fbfcc'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => 'a909acb7e0d211fd3c035e192c42e1f1'); \ No newline at end of file diff --git a/wp-includes/assets/dist/token-list.asset.php b/wp-includes/assets/dist/token-list.asset.php index c6821ce7fb..c5225a326e 100644 --- a/wp-includes/assets/dist/token-list.asset.php +++ b/wp-includes/assets/dist/token-list.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => 'c2df1b11c1bc12ec743f03f29d8b94ca'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '429397aa7d855f881439c61e77d0741d'); \ No newline at end of file diff --git a/wp-includes/assets/dist/token-list.min.asset.php b/wp-includes/assets/dist/token-list.min.asset.php index f4c03a3442..0acd1a3064 100644 --- a/wp-includes/assets/dist/token-list.min.asset.php +++ b/wp-includes/assets/dist/token-list.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => 'b113ea5defe00531b6645991010dd72f'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '5cf099bb12722856cbd3fc97f180655d'); \ No newline at end of file diff --git a/wp-includes/assets/dist/url.asset.php b/wp-includes/assets/dist/url.asset.php index 47510ed6d7..6221ce259e 100644 --- a/wp-includes/assets/dist/url.asset.php +++ b/wp-includes/assets/dist/url.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'c49a6dac14c9ecc8e0fd7bb9615fcac0'); \ No newline at end of file + array('wp-polyfill'), 'version' => '68a1becc435e0b28372b85fcb733bf38'); \ No newline at end of file diff --git a/wp-includes/assets/dist/url.min.asset.php b/wp-includes/assets/dist/url.min.asset.php index e2e72cae69..2b3de3eebf 100644 --- a/wp-includes/assets/dist/url.min.asset.php +++ b/wp-includes/assets/dist/url.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '360ce80242f4d48f03e1eb1e80eb407a'); \ No newline at end of file + array('wp-polyfill'), 'version' => '2b26b591e7ff8f2df79327a3d5efb5e4'); \ No newline at end of file diff --git a/wp-includes/assets/dist/viewport.asset.php b/wp-includes/assets/dist/viewport.asset.php index bda113b934..69c2d74ca2 100644 --- a/wp-includes/assets/dist/viewport.asset.php +++ b/wp-includes/assets/dist/viewport.asset.php @@ -1 +1 @@ - array('lodash', 'wp-compose', 'wp-data', 'wp-polyfill'), 'version' => 'f9da26d55be12411a829c633d5105612'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'cdb30475cfdf6f34f3bf8047adc42b76'); \ No newline at end of file diff --git a/wp-includes/assets/dist/viewport.min.asset.php b/wp-includes/assets/dist/viewport.min.asset.php index 75fb153d77..fca889039f 100644 --- a/wp-includes/assets/dist/viewport.min.asset.php +++ b/wp-includes/assets/dist/viewport.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-compose', 'wp-data', 'wp-polyfill'), 'version' => '9e482342a6b19b0a2385b50d78e2fe14'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'c922df427172be6e6bebea15b9b37447'); \ No newline at end of file diff --git a/wp-includes/assets/dist/wordcount.asset.php b/wp-includes/assets/dist/wordcount.asset.php index 954a6b5fbb..da9e12a617 100644 --- a/wp-includes/assets/dist/wordcount.asset.php +++ b/wp-includes/assets/dist/wordcount.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => 'de70c1e678adac13e5c5c8f91dd35e80'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '99c9fefa5457f597c622bbf6365f7233'); \ No newline at end of file diff --git a/wp-includes/assets/dist/wordcount.min.asset.php b/wp-includes/assets/dist/wordcount.min.asset.php index 299e95795c..95c2e70a00 100644 --- a/wp-includes/assets/dist/wordcount.min.asset.php +++ b/wp-includes/assets/dist/wordcount.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => '0a5ee0ce8726a5aa27d76f80bfbfe0c2'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '3f31049a90b00abd90dd61db7add69f6'); \ No newline at end of file diff --git a/wp-includes/css/dist/block-directory/style-rtl.css b/wp-includes/css/dist/block-directory/style-rtl.css index 79d2c2d3d4..c0c7ce0f86 100644 --- a/wp-includes/css/dist/block-directory/style-rtl.css +++ b/wp-includes/css/dist/block-directory/style-rtl.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ diff --git a/wp-includes/css/dist/block-directory/style.css b/wp-includes/css/dist/block-directory/style.css index 76d87b8cfd..a7de44e017 100644 --- a/wp-includes/css/dist/block-directory/style.css +++ b/wp-includes/css/dist/block-directory/style.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ diff --git a/wp-includes/css/dist/block-editor/style-rtl.css b/wp-includes/css/dist/block-editor/style-rtl.css index ff9ca16bdc..b4bf3d4257 100644 --- a/wp-includes/css/dist/block-editor/style-rtl.css +++ b/wp-includes/css/dist/block-editor/style-rtl.css @@ -1,4 +1,3 @@ -@charset "UTF-8"; /** * Colors */ @@ -23,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -49,35 +45,35 @@ background: none; } .block-editor-block-drop-zone.is-close-to-top { border-top: 3px solid #0085ba; } - body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top{ + body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top { border-top: 3px solid #d1864a; } - body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top{ + body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top { border-top: 3px solid #a3b9a2; } - body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top{ + body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top { border-top: 3px solid #e14d43; } - body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top{ + body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top { border-top: 3px solid #a7b656; } - body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top{ + body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top { border-top: 3px solid #c2a68c; } - body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top{ + body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top { border-top: 3px solid #82b4cb; } - body.admin-color-light .block-editor-block-drop-zone.is-close-to-top{ + body.admin-color-light .block-editor-block-drop-zone.is-close-to-top { border-top: 3px solid #0085ba; } .block-editor-block-drop-zone.is-close-to-bottom { border-bottom: 3px solid #0085ba; } - body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom{ + body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom { border-bottom: 3px solid #d1864a; } - body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom{ + body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom { border-bottom: 3px solid #a3b9a2; } - body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom{ + body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom { border-bottom: 3px solid #e14d43; } - body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom{ + body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom { border-bottom: 3px solid #a7b656; } - body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom{ + body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom { border-bottom: 3px solid #c2a68c; } - body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom{ + body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom { border-bottom: 3px solid #82b4cb; } - body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom{ + body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom { border-bottom: 3px solid #0085ba; } .block-editor-block-drop-zone.is-appender.is-active.is-dragging-over-document { border-bottom: none; } @@ -98,6 +94,18 @@ max-width: 24px; max-height: 24px; } +.block-editor-block-inspector .components-base-control { + margin-bottom: 24px; } + .block-editor-block-inspector .components-base-control:last-child { + margin-bottom: 8px; } + +.block-editor-block-inspector .components-panel__body { + border: none; + border-top: 1px solid #e2e4e7; } + +.block-editor-block-inspector .block-editor-block-card { + padding: 16px; } + .block-editor-block-inspector__no-blocks { display: block; font-size: 13px; @@ -125,23 +133,24 @@ z-index: 1; } /** - * General layout + * General Post Content Layout */ -@media (min-width: 600px) { - .block-editor-block-list__layout { - padding-right: 46px; - padding-left: 46px; } } - -.block-editor-block-list__block .block-editor-block-list__layout { - padding-right: 0; - padding-left: 0; - margin-right: -14px; - margin-left: -14px; } +.block-editor-block-list__layout { + padding-right: 14px; + padding-left: 14px; } + @media (min-width: 600px) { + .block-editor-block-list__layout { + padding-right: 58px; + padding-left: 58px; } } + .block-editor-block-list__layout .block-editor-block-list__layout { + padding-right: 0; + padding-left: 0; } +/** + * Notices & Block Selected/Hover Styles. + */ .block-editor-block-list__layout .block-editor-block-list__block { position: relative; - padding-right: 14px; - padding-left: 14px; overflow-wrap: break-word; /** * Notices @@ -149,10 +158,6 @@ /** * Block border layout */ } - @media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block { - padding-right: 43px; - padding-left: 43px; } } .block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui { margin: -10px 20px 12px 20px; width: calc(100% - 40px); } @@ -166,6 +171,8 @@ font-size: 13px; } .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit { position: relative; } + .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit.has-mover-inside > [data-block] { + display: flex; } .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit::before { z-index: 0; content: ""; @@ -200,10 +207,6 @@ @media (min-width: 600px) { .block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode > .block-editor-block-list__block-edit::before { box-shadow: 3px 0 0 0 #007cba; } } - .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:not(.is-navigate-mode) > .block-editor-block-list__block-edit::before { - box-shadow: 3px 0 0 0 rgba(145, 151, 162, 0.25); } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:not(.is-navigate-mode) > .block-editor-block-list__block-edit::before { - box-shadow: 3px 0 0 0 rgba(255, 255, 255, 0.25); } .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) { opacity: 0.5; transition: opacity 0.1s linear; } @@ -212,68 +215,27 @@ transition-duration: 0s; } } .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block, .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused { opacity: 1; } - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit::before { - border: 1px dashed rgba(123, 134, 162, 0.3); } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit::before { - border-color: rgba(255, 255, 255, 0.3); } - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before, - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before, - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before { - border: 1px dashed rgba(123, 134, 162, 0.3); } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before, .is-dark-theme - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before, .is-dark-theme - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before { - border-color: rgba(255, 255, 255, 0.3); } - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected.is-hovered > .block-editor-block-list__block-edit::before, - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block.is-hovered:not(.is-selected) > .block-editor-block-list__block-edit::before, - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block.is-hovered:not(.is-selected) > .block-editor-block-list__block-edit::before, - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block.is-hovered:not(.is-selected) > .block-editor-block-list__block-edit::before { - border-style: solid; - border-color: rgba(145, 151, 162, 0.25); - border-right-color: transparent; } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected.is-hovered > .block-editor-block-list__block-edit::before, .is-dark-theme - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block.is-hovered:not(.is-selected) > .block-editor-block-list__block-edit::before, .is-dark-theme - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block.is-hovered:not(.is-selected) > .block-editor-block-list__block-edit::before, .is-dark-theme - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block.is-hovered:not(.is-selected) > .block-editor-block-list__block-edit::before { - border-color: rgba(255, 255, 255, 0.25); - border-right-color: transparent; } - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before, - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before, - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before { - border: 1px dashed rgba(123, 134, 162, 0.3); } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before, .is-dark-theme - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before, .is-dark-theme - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before { - border-color: rgba(255, 255, 255, 0.3); } - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected).is-hovered > .block-editor-block-list__block-edit::before, - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected).is-hovered > .block-editor-block-list__block-edit::before, - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected).is-hovered > .block-editor-block-list__block-edit::before { - border-style: solid; - border-color: rgba(145, 151, 162, 0.25); - border-right-color: transparent; } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected).is-hovered > .block-editor-block-list__block-edit::before, .is-dark-theme - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected).is-hovered > .block-editor-block-list__block-edit::before, .is-dark-theme - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected).is-hovered > .block-editor-block-list__block-edit::before { - border-color: rgba(255, 255, 255, 0.25); - border-right-color: transparent; } /** - * Cross-block selection + * Cross-Block Selection */ +.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { + border-right-color: rgba(66, 88, 99, 0.4); + box-shadow: inset -3px 0 0 0 #555d66; } + .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { + border-right-color: rgba(255, 255, 255, 0.45); + box-shadow: inset -3px 0 0 0 #d7dade; } + @media (min-width: 600px) { + .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { + box-shadow: 3px 0 0 0 #555d66; } + .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { + box-shadow: 3px 0 0 0 #d7dade; } } -.block-editor-block-list__layout .block-editor-block-list__block ::selection { - background-color: #b3e7fe; } +.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { + box-shadow: none; } -.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected *::selection { - background-color: transparent; } - -.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit::before { - background: #b3e7fe; - mix-blend-mode: multiply; - top: -14px; - bottom: -14px; } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit::before { - mix-blend-mode: soft-light; } +.block-editor-block-list__layout .components-placeholder ::selection { + background: transparent; } /** * Block styles and alignments @@ -297,10 +259,10 @@ .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::before { border-color: rgba(255, 255, 255, 0.35); } -.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit::before { +.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::before { border-color: rgba(66, 88, 99, 0.4); border-right-color: transparent; } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit::before { + .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::before { border-color: rgba(255, 255, 255, 0.45); } .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::after { @@ -332,17 +294,10 @@ .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter { animation-duration: 1ms; } } -.block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-block-list__block-edit::before { - border: 1px dashed rgba(145, 151, 162, 0.25); } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-block-list__block-edit::before { - border-color: rgba(255, 255, 255, 0.35); } - .block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected > .block-editor-block-list__block-edit::before { - border-color: rgba(66, 88, 99, 0.4); - border-right-color: transparent; } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected > .block-editor-block-list__block-edit::before { - border-color: rgba(255, 255, 255, 0.45); - border-right-color: transparent; } + border-right-color: transparent; + border-style: dashed; + border-width: 1px; } .block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay::after { display: none; } @@ -421,36 +376,24 @@ @media (min-width: 600px) { .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] .block-editor-block-toolbar { display: inline-flex; } } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] .block-editor-block-mover.is-visible + .block-editor-block-list__breadcrumb, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] .block-editor-block-mover.is-visible + .block-editor-block-list__breadcrumb { - top: -19px; } @media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar { + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar { left: 90px; } } @media (min-width: 1080px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar { + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar { left: 14px; } } .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { right: -13px; } -.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-list__breadcrumb { - right: 0; } - -@media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] { - margin-right: -45px; - margin-left: -45px; } } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit { margin-right: -14px; margin-left: -14px; } @media (min-width: 600px) { .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit { - margin-right: -44px; - margin-left: -44px; } } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit figure { - width: 100%; } + margin-right: -58px; + margin-left: -58px; } } .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit::before { right: 0; @@ -460,7 +403,7 @@ .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover { - right: 1px; } + right: 14px; } .block-editor-block-list__layout .block-editor-block-list__block[data-clear="true"] { float: none; } @@ -479,27 +422,7 @@ left: 8px; } /** - * Styles that affect inner-block containers (nested blocks). - */ -.block-editor-inner-blocks { - /* @todo: - The two rules above can be simplified & combined when https://github.com/WordPress/gutenberg/pull/14961 is merged, - into the following: - - .is-selected &, - .has-child-selected & { - display: block; - } - */ } - .block-editor-inner-blocks .block-editor-block-list__block + .block-list-appender { - display: none; } - .is-selected .block-editor-inner-blocks .block-editor-block-list__block + .block-list-appender { - display: block; } - .block-editor-inner-blocks .block-editor-block-list__block.is-selected + .block-list-appender { - display: block; } - -/** - * Left and right side UI; Unified toolbar on Mobile + * Left and right side UI; Unified toolbar on Mobile. */ .block-editor-block-list__block.is-multi-selected > .block-editor-block-mover, .block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover { @@ -514,19 +437,15 @@ .block-editor-block-list__block.is-multi-selected .block-editor-block-mover, .block-editor-block-list__block.is-selected .block-editor-block-mover, .block-editor-block-list__block.is-hovered .block-editor-block-mover { z-index: 61; } } -.block-editor-block-list__block.is-multi-selected > .block-editor-block-mover, -.block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover { - padding-left: 2px; +.block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover, +.block-editor-block-list__block.is-multi-selected > .block-editor-block-mover { right: -53px; display: none; } @media (min-width: 600px) { - .block-editor-block-list__block.is-multi-selected > .block-editor-block-mover, - .block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover { + .block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover, + .block-editor-block-list__block.is-multi-selected > .block-editor-block-mover { display: block; } } -.block-editor-block-list__block.is-multi-selected > .block-editor-block-mover { - right: -30px; } - /** * Mobile unified toolbar. */ @@ -596,25 +515,25 @@ left: 0; background: #0085ba; } -body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{ +body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator { background: #d1864a; } -body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{ +body.admin-color-ocean .block-editor-block-list__insertion-point-indicator { background: #a3b9a2; } -body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{ +body.admin-color-midnight .block-editor-block-list__insertion-point-indicator { background: #e14d43; } -body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{ +body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator { background: #a7b656; } -body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{ +body.admin-color-coffee .block-editor-block-list__insertion-point-indicator { background: #c2a68c; } -body.admin-color-blue .block-editor-block-list__insertion-point-indicator{ +body.admin-color-blue .block-editor-block-list__insertion-point-indicator { background: #82b4cb; } -body.admin-color-light .block-editor-block-list__insertion-point-indicator{ +body.admin-color-light .block-editor-block-list__insertion-point-indicator { background: #0085ba; } .block-editor-block-list__insertion-point-inserter { @@ -660,12 +579,8 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ top: -16px; height: 28px; bottom: auto; - right: 0; - left: 0; } - @media (min-width: 600px) { - .block-editor-block-list__block > .block-editor-block-list__insertion-point { - right: -1px; - left: -1px; } } + right: 14px; + left: 14px; } .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__insertion-point { right: 0; @@ -725,8 +640,8 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { box-shadow: none; } } - .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar .editor-block-toolbar, - .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar .editor-block-toolbar { + .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar, + .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar { border-right: none; } .block-editor-block-list__block .block-editor-block-contextual-toolbar { @@ -788,65 +703,33 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ top: 1px; } } /** - * Hover label + * Block Label for Navigation/Selection Mode */ .block-editor-block-list__breadcrumb { + display: block; position: absolute; line-height: 1; z-index: 22; - right: -17px; - top: -31px; } + right: -14px; + top: -51px; } .block-editor-block-list__breadcrumb .components-toolbar { - border: none; - line-height: 1; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - font-size: 11px; - padding: 4px 4px; - background: #e2e4e7; - color: #191e23; - transition: box-shadow 0.1s linear; } - @media (prefers-reduced-motion: reduce) { - .block-editor-block-list__breadcrumb .components-toolbar { - transition-duration: 0s; } } + display: flex; + background: #fff; + border: 1px solid #007cba; + border-right: none; + box-shadow: inset -3px 0 0 0 #007cba; + height: 38px; + font-size: 13px; + line-height: 29px; + padding-right: 8px; + padding-left: 8px; } .block-editor-block-list__breadcrumb .components-toolbar .components-button { - font-size: inherit; - line-height: inherit; - padding: 0; } + box-shadow: none; } .is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar { - background: #40464d; - color: #fff; } - [data-align="left"] .block-editor-block-list__breadcrumb { - right: 0; } - [data-align="right"] .block-editor-block-list__breadcrumb { - right: auto; - left: 0; } - .is-navigate-mode .block-editor-block-list__breadcrumb { - right: -14px; - top: -51px; } - .is-navigate-mode .block-editor-block-list__breadcrumb .components-toolbar { - background: #fff; - border: 1px solid #007cba; - border-right: none; - box-shadow: inset -3px 0 0 0 #007cba; - height: 38px; - font-size: 13px; - line-height: 29px; - padding-right: 8px; - padding-left: 8px; } - .is-navigate-mode .block-editor-block-list__breadcrumb .components-toolbar .components-button { - box-shadow: none; } - .is-dark-theme .is-navigate-mode .block-editor-block-list__breadcrumb .components-toolbar { - border-color: rgba(255, 255, 255, 0.45); } - @media (min-width: 600px) { - .is-navigate-mode .block-editor-block-list__breadcrumb .components-toolbar { - box-shadow: 3px 0 0 0 #007cba; } } - -.block-editor-block-list__descendant-arrow::before { - content: "→"; - display: inline-block; - padding: 0 4px; } - .rtl .block-editor-block-list__descendant-arrow::before { - content: "←"; } + border-color: rgba(255, 255, 255, 0.45); } + @media (min-width: 600px) { + .block-editor-block-list__breadcrumb .components-toolbar { + box-shadow: 3px 0 0 0 #007cba; } } @media (min-width: 600px) { .block-editor-block-list__block::before { @@ -873,13 +756,45 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ margin-bottom: auto; } .block-editor-block-list__block .block-list-appender { - margin: 14px; } + margin: 14px 0; } .has-background .block-editor-block-list__block .block-list-appender { margin: 32px 14px; } .block-list-appender > .block-editor-inserter { display: block; } +.block-editor-block-breadcrumb { + list-style: none; + padding: 0; + margin: 0; } + .block-editor-block-breadcrumb li { + display: inline-block; + margin: 0; } + .block-editor-block-breadcrumb li:not(:last-child)::after { + content: "\2192"; } + +.block-editor-block-breadcrumb__button.components-button { + height: 24px; + line-height: 24px; + padding: 0; } + .block-editor-block-breadcrumb__button.components-button:hover { + text-decoration: underline; } + .block-editor-block-breadcrumb__button.components-button:focus { + color: #191e23; + outline-offset: -1px; + outline: 1px dotted #555d66; + outline-offset: -2px; + box-shadow: none; } + +.block-editor-block-breadcrumb__current { + cursor: default; } + +.block-editor-block-breadcrumb__button.components-button, +.block-editor-block-breadcrumb__current { + color: #555d66; + padding: 0 8px; + font-size: inherit; } + .block-editor-block-card { display: flex; align-items: flex-start; } @@ -962,14 +877,34 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ font-weight: 400; margin: 0.67em 0; } +.block-editor-block-mobile-toolbar { + display: flex; + flex-direction: row; + border-left: 1px solid #e2e4e7; } + .block-editor-block-mobile-toolbar .block-editor-block-mover__control { + width: 36px; + height: 36px; + border-radius: 4px; + padding: 3px; + margin: 0; + justify-content: center; + align-items: center; } + .block-editor-block-mobile-toolbar .block-editor-block-mover__control .dashicon { + margin: auto; } + .block-editor-block-mobile-toolbar .block-editor-block-mover { + display: flex; + margin-left: auto; } + .block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control { + float: right; } + @media (min-width: 600px) { .block-editor-block-mover { - min-height: 56px; opacity: 0; background: #fff; border: 1px solid rgba(66, 88, 99, 0.4); border-radius: 4px; - transition: box-shadow 0.2s ease-out; } } + transition: box-shadow 0.2s ease-out; + margin-top: -8px; } } @media (min-width: 600px) and (prefers-reduced-motion: reduce) { .block-editor-block-mover { transition-duration: 0s; } } @@ -984,9 +919,26 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ @media (min-width: 600px) { .block-editor-block-mover:hover { - box-shadow: 0 2px 10px rgba(25, 30, 35, 0.1), 0 0 2px rgba(25, 30, 35, 0.1); } - .block-editor-block-list__block:not([data-align="wide"]):not([data-align="full"]) .block-editor-block-mover { - margin-top: -8px; } } + box-shadow: 0 2px 10px rgba(25, 30, 35, 0.1), 0 0 2px rgba(25, 30, 35, 0.1); } } + +.block-editor-block-mover.is-horizontal { + margin-top: 5px; + margin-left: 8px; + padding-left: 0; + min-height: auto; + width: 50px; + height: 26px; + display: flex; } + .block-editor-block-mover.is-horizontal .block-editor-block-mover__control { + width: 24px; + height: 24px; } + .block-editor-block-mover.is-horizontal .block-editor-block-mover__control svg { + width: 24px; + padding: 3px; } + +@media (min-width: 600px) { + .block-editor-block-list__block:not([data-align="wide"]):not([data-align="full"]) .editor-block-mover:not(.is-horizontal) { + margin-top: 0; } } .block-editor-block-mover__control { display: flex; @@ -1041,6 +993,26 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ padding: 0; margin: 0; } +.block-editor-block-navigation__list .block-editor-button-block-appender { + outline: none; + background: none; + padding: 8px; + margin-right: 0.8em; + width: 36px; + border-radius: 4px; } + .block-editor-block-navigation__list .block-editor-button-block-appender:hover:not(:disabled):not([aria-disabled="true"]) { + color: #191e23; + border: none; + box-shadow: none; + background: #f3f4f5; + outline: none; } + .block-editor-block-navigation__list .block-editor-button-block-appender:focus:not(:disabled):not([aria-disabled="true"]) { + color: #191e23; + border: none; + box-shadow: none; + outline-offset: -2px; + outline: 1px dotted #555d66; } + .block-editor-block-navigation__list .block-editor-block-navigation__list { margin-top: 2px; border-right: 2px solid #a2aab2; @@ -1099,6 +1071,48 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ .components-popover.block-editor-block-navigation__popover { z-index: 99998; } +.block-editor-block-pattern-picker .components-placeholder__instructions { + margin-bottom: 0; } + +.block-editor-block-pattern-picker .components-placeholder__fieldset { + flex-direction: column; } + +.block-editor-block-pattern-picker.has-many-patterns .components-placeholder__fieldset { + max-width: 90%; } + +.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns { + display: flex; + justify-content: center; + flex-direction: row; + flex-wrap: wrap; + width: 100%; + margin: 4px 0; + list-style: none; } + .block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns > li { + list-style: none; + margin: 8px; + flex-shrink: 1; + max-width: 100px; } + .block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns .block-editor-block-pattern-picker__pattern { + padding: 8px; } + +.block-editor-block-pattern-picker__pattern { + width: 100%; } + .block-editor-block-pattern-picker__pattern.components-icon-button { + justify-content: center; } + .block-editor-block-pattern-picker__pattern.components-icon-button.is-default { + background-color: #fff; } + .block-editor-block-pattern-picker__pattern.components-button { + height: auto; + padding: 0; } + .block-editor-block-pattern-picker__pattern::before { + content: ""; + padding-bottom: 100%; } + .block-editor-block-pattern-picker__pattern:first-child { + margin-right: 0; } + .block-editor-block-pattern-picker__pattern:last-child { + margin-left: 0; } + .block-editor-block-preview__container { position: relative; width: 100%; @@ -1256,7 +1270,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; outline: 2px solid transparent; } -.components-popover:not(.is-mobile).block-editor-block-switcher__popover .components-popover__content { +.components-popover.block-editor-block-switcher__popover .components-popover__content { min-width: 300px; max-width: calc(340px * 2); display: flex; @@ -1333,7 +1347,8 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ border-color: #e2e4e7; } .block-editor-block-toolbar__slot { - display: inline-block; } + display: inline-block; + line-height: 0; } @supports ((position: -webkit-sticky) or (position: sticky)) { .block-editor-block-toolbar__slot { display: inline-flex; } } @@ -1369,10 +1384,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ .is-dark-theme .block-editor-button-block-appender:hover, .is-dark-theme .block-editor-button-block-appender:focus { outline: 1px dashed #fff; } -.block-editor-color-palette-control__color-palette { - display: inline-block; - margin-top: 0.6rem; } - .block-editor-contrast-checker > .components-notice { margin: 0; } @@ -1487,6 +1498,157 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ height: 100%; left: 0; } } +.block-editor-link-control__search { + position: relative; + min-width: 360px; } + +.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] { + width: calc(100% - 32px); + display: block; + padding: 11px 16px; + margin: 16px; + padding-left: 38px; + position: relative; + z-index: 1; + border: 1px solid #e1e1e1; + border-radius: 4px; + /* Fonts smaller than 16px causes mobile safari to zoom. */ + font-size: 16px; } + @media (min-width: 600px) { + .block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] { + font-size: 13px; } } + .block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]:focus { + color: #191e23; + border-color: #007cba; + box-shadow: 0 0 0 1px #007cba; + outline: 2px solid transparent; } + +.block-editor-link-control__search-reset { + position: absolute; + top: 19px; + left: 19px; + z-index: 10; } + +.block-editor-link-control__search-results-wrapper { + position: relative; + margin-top: -15px; } + .block-editor-link-control__search-results-wrapper::before, .block-editor-link-control__search-results-wrapper::after { + content: ""; + position: absolute; + right: -1px; + left: 16px; + display: block; + pointer-events: none; + z-index: 100; } + .block-editor-link-control__search-results-wrapper::before { + height: 8px; + top: 0; + bottom: auto; + background: linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 100%); } + .block-editor-link-control__search-results-wrapper::after { + height: 16px; + bottom: 0; + top: auto; + background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 100%); } + +.block-editor-link-control__search-results { + margin: 0; + padding: 8px 16px 16px; + max-height: 200px; + overflow-y: scroll; } + .block-editor-link-control__search-results.is-loading { + opacity: 0.2; } + +.block-editor-link-control__search-item { + position: relative; + display: flex; + align-items: center; + font-size: 13px; + cursor: pointer; + background: #fff; + width: 100%; + border: none; + text-align: right; + padding: 10px 15px; + border-radius: 5px; } + .block-editor-link-control__search-item:hover, .block-editor-link-control__search-item:focus { + background-color: #e9e9e9; } + .block-editor-link-control__search-item.is-selected { + background: #f2f2f2; } + .block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type { + background: #fff; } + .block-editor-link-control__search-item.is-current { + background: transparent; + border: 0; + width: 100%; + cursor: default; + padding: 16px; + padding-right: 24px; } + .block-editor-link-control__search-item .block-editor-link-control__search-item-header { + display: block; + margin-left: 24px; } + .block-editor-link-control__search-item .block-editor-link-control__search-item-icon { + margin-left: 1em; + min-width: 24px; } + .block-editor-link-control__search-item .block-editor-link-control__search-item-info, + .block-editor-link-control__search-item .block-editor-link-control__search-item-title { + text-overflow: ellipsis; + max-width: 230px; + overflow: hidden; + white-space: nowrap; } + .block-editor-link-control__search-item .block-editor-link-control__search-item-title { + display: block; + margin-bottom: 0.2em; + font-weight: 500; } + .block-editor-link-control__search-item .block-editor-link-control__search-item-title mark { + font-weight: 700; + color: #000; + background-color: transparent; } + .block-editor-link-control__search-item .block-editor-link-control__search-item-title span { + font-weight: normal; } + .block-editor-link-control__search-item .block-editor-link-control__search-item-info { + display: block; + color: #999; + font-size: 0.9em; + line-height: 1.3; } + .block-editor-link-control__search-item .block-editor-link-control__search-item-type { + display: block; + padding: 3px 8px; + margin-right: auto; + font-size: 0.9em; + background-color: #f3f4f5; + border-radius: 2px; } + +.block-editor-link-control__search-results div[role="menu"] > .block-editor-link-control__search-item.block-editor-link-control__search-item { + padding: 10px; } + +.block-editor-link-control__settings { + border-top: 1px solid #e1e1e1; + margin: 0; + padding: 16px 24px; } + .block-editor-link-control__settings :last-child { + margin-bottom: 0; } + +.block-editor-link-control__setting { + margin-bottom: 16px; } + .block-editor-link-control__setting :last-child { + margin-bottom: 0; } + +.block-editor-link-control .block-editor-link-control__search-input .components-spinner { + display: block; + z-index: 100; + float: none; } + .block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner { + position: absolute; + top: 27px; + right: auto; + left: 60px; + bottom: 0; } + +.block-editor-link-control__search-item-action { + margin-right: auto; + flex-shrink: 0; } + .block-editor-inner-blocks.has-overlay::after { content: ""; position: absolute; @@ -1500,48 +1662,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ left: 0; right: 0; } -.block-editor-inner-blocks__template-picker .components-placeholder__instructions { - margin-bottom: 0; } - -.block-editor-inner-blocks__template-picker .components-placeholder__fieldset { - flex-direction: column; } - -.block-editor-inner-blocks__template-picker.has-many-options .components-placeholder__fieldset { - max-width: 90%; } - -.block-editor-inner-blocks__template-picker-options.block-editor-inner-blocks__template-picker-options { - display: flex; - justify-content: center; - flex-direction: row; - flex-wrap: wrap; - width: 100%; - margin: 4px 0; - list-style: none; } - .block-editor-inner-blocks__template-picker-options.block-editor-inner-blocks__template-picker-options > li { - list-style: none; - margin: 8px; - flex-shrink: 1; - max-width: 100px; } - .block-editor-inner-blocks__template-picker-options.block-editor-inner-blocks__template-picker-options .block-editor-inner-blocks__template-picker-option { - padding: 8px; } - -.block-editor-inner-blocks__template-picker-option { - width: 100%; } - .block-editor-inner-blocks__template-picker-option.components-icon-button { - justify-content: center; } - .block-editor-inner-blocks__template-picker-option.components-icon-button.is-default { - background-color: #fff; } - .block-editor-inner-blocks__template-picker-option.components-button { - height: auto; - padding: 0; } - .block-editor-inner-blocks__template-picker-option::before { - content: ""; - padding-bottom: 100%; } - .block-editor-inner-blocks__template-picker-option:first-child { - margin-right: 0; } - .block-editor-inner-blocks__template-picker-option:last-child { - margin-left: 0; } - .block-editor-inserter-with-shortcuts { display: flex; align-items: center; } @@ -1573,7 +1693,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ position: relative; } } @media (min-width: 782px) { - .block-editor-inserter__popover:not(.is-mobile) > .components-popover__content { + .block-editor-inserter__popover > .components-popover__content { overflow-y: visible; height: 432px; } } @@ -1761,7 +1881,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ padding: 0; margin: 0 0 12px; } -.block-editor-block-types-list__item { +.components-button.block-editor-block-types-list__item { display: flex; flex-direction: column; width: 100%; @@ -1778,12 +1898,12 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ transition: all 0.05s ease-in-out; position: relative; } @media (prefers-reduced-motion: reduce) { - .block-editor-block-types-list__item { + .components-button.block-editor-block-types-list__item { transition-duration: 0s; } } - .block-editor-block-types-list__item:disabled { + .components-button.block-editor-block-types-list__item:disabled { opacity: 0.6; cursor: default; } - .block-editor-block-types-list__item:not(:disabled):hover::before { + .components-button.block-editor-block-types-list__item:not(:disabled):hover::before { content: ""; display: block; background: #f3f4f5; @@ -1795,24 +1915,25 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ left: 0; bottom: 0; right: 0; } - .block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon, - .block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title { + .components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon, + .components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title { color: inherit; } - .block-editor-block-types-list__item:not(:disabled):active, .block-editor-block-types-list__item:not(:disabled):focus { + .components-button.block-editor-block-types-list__item:not(:disabled):active, .components-button.block-editor-block-types-list__item:not(:disabled):focus { position: relative; color: #191e23; box-shadow: 0 0 0 1px #fff, 0 0 0 3px #00a0d2; - outline: 2px solid transparent; } - .block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon, - .block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title, .block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon, - .block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title { + outline: 2px solid transparent; + background: transparent; } + .components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon, + .components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title, .components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon, + .components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title { color: inherit; } - .block-editor-block-types-list__item:not(:disabled).is-active { + .components-button.block-editor-block-types-list__item:not(:disabled).is-active { color: #191e23; box-shadow: inset 0 0 0 2px #555d66; outline: 2px solid transparent; outline-offset: -2px; } - .block-editor-block-types-list__item:not(:disabled).is-active:focus { + .components-button.block-editor-block-types-list__item:not(:disabled).is-active:focus { color: #191e23; box-shadow: 0 0 0 1px #fff, 0 0 0 3px #00a0d2, inset 0 0 0 2px #555d66; outline: 4px solid transparent; @@ -1838,6 +1959,53 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ .block-editor-block-types-list__item-title { padding: 4px 2px 8px; } +.media-replace-flow .components-dropdown-menu__indicator { + margin-right: 4px; } + .media-replace-flow .components-dropdown-menu__indicator .components-dropdown-menu.media-flow_toolbar .components-dropdown-menu__label { + margin-left: 6px; + margin-right: 2px; } + +.media-replace-flow__options.components-popover:not(.is-mobile) .components-popover__content { + overflow-x: hidden; } + +.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input { + padding: 0 25px 10px 15px; } + .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-external-link__icon { + position: absolute; + left: -4px; + bottom: 5px; + margin-left: 2px; } + .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input input { + max-width: 169px; + border: 1px solid #555d66; + border-radius: 4px; } + .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .block-editor-url-popover__link-viewer-url { + padding-left: 15px; + padding-top: 3px; + max-width: 179px; + position: relative; + margin-left: 0; } + .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button { + padding: 5px; + width: 40px; + height: 40px; + padding-right: 0; } + .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button > svg { + padding: 5px; + border-radius: 4px; + height: 30px; + width: 30px; } + .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + box-shadow: none; } + .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover > svg { + color: #555d66; + box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; } + .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):focus { + box-shadow: none; } + .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):focus > svg { + box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; + outline: 2px solid transparent; } + .block-editor-media-placeholder__url-input-container { width: 100%; } .block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button { @@ -1890,7 +2058,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ .block-editor-multi-selection-inspector__card { display: flex; align-items: flex-start; - margin: -16px; padding: 16px; } .block-editor-multi-selection-inspector__card-content { @@ -1930,20 +2097,46 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ margin: 0; width: 100%; } -.block-editor-format-toolbar { - display: flex; - flex-shrink: 0; } +.block-editor-responsive-block-control { + margin-bottom: 28px; + border-bottom: 1px solid #d7dade; + padding-bottom: 14px; } + .block-editor-responsive-block-control:last-child { + padding-bottom: 0; + border-bottom: 0; } -.block-editor-format-toolbar__selection-position { +.block-editor-responsive-block-control__title { + margin: 0; + margin-bottom: 0.6em; + margin-right: -3px; } + +.block-editor-responsive-block-control__label { + font-weight: 600; + margin-bottom: 0.6em; + margin-right: -3px; } + +.block-editor-responsive-block-control__inner { + margin-right: -1px; } + +.block-editor-responsive-block-control__toggle { + margin-right: 1px; } + +.block-editor-responsive-block-control .components-base-control__help { + border: 0; + clip: rect(1px, 1px, 1px, 1px); + -webkit-clip-path: inset(50%); + clip-path: inset(50%); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; position: absolute; - transform: translateX(50%); } + width: 1px; + word-wrap: normal !important; } .block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator::after { margin: 7px; } -.block-editor-rich-text { - position: relative; } - .block-editor-rich-text__editable > p:first-child { margin-top: 0; } @@ -1957,8 +2150,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ background: #f3f4f5; font-family: Menlo, Consolas, monaco, monospace; font-size: inherit; } - .is-multi-selected .block-editor-rich-text__editable code { - background: #67cffd; } .block-editor-rich-text__editable:focus { outline: none; } @@ -1978,17 +2169,12 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before { opacity: 0.8; } -.block-editor-rich-text__inline-toolbar { - display: flex; - justify-content: center; - position: absolute; - top: -40px; - line-height: 0; - right: 0; - left: 0; - z-index: 1; } - .block-editor-rich-text__inline-toolbar ul.components-toolbar { - box-shadow: 0 2px 10px rgba(25, 30, 35, 0.1), 0 0 2px rgba(25, 30, 35, 0.1); } +.components-popover.block-editor-rich-text__inline-format-toolbar { + z-index: 99998; } + .components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content { + min-width: auto; } + .components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar { + border: none; } .block-editor-skip-to-selected-block { position: absolute; @@ -2007,21 +2193,26 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before text-decoration: none; outline: none; z-index: 100000; } - body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{ + body.admin-color-sunrise .block-editor-skip-to-selected-block:focus { color: #c8b03c; } - body.admin-color-ocean .block-editor-skip-to-selected-block:focus{ + body.admin-color-ocean .block-editor-skip-to-selected-block:focus { color: #a89d8a; } - body.admin-color-midnight .block-editor-skip-to-selected-block:focus{ + body.admin-color-midnight .block-editor-skip-to-selected-block:focus { color: #77a6b9; } - body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{ + body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus { color: #c77430; } - body.admin-color-coffee .block-editor-skip-to-selected-block:focus{ + body.admin-color-coffee .block-editor-skip-to-selected-block:focus { color: #9fa47b; } - body.admin-color-blue .block-editor-skip-to-selected-block:focus{ + body.admin-color-blue .block-editor-skip-to-selected-block:focus { color: #d9ab59; } - body.admin-color-light .block-editor-skip-to-selected-block:focus{ + body.admin-color-light .block-editor-skip-to-selected-block:focus { color: #c75726; } +.block-editor-tool-selector__help { + padding: 16px; + border-top: 1px solid #e2e4e7; + color: #6c7781; } + .block-editor-block-list__block .block-editor-url-input, .components-popover .block-editor-url-input, .block-editor-url-input { @@ -2075,7 +2266,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before .block-editor-url-input .components-spinner { position: absolute; left: 8px; - top: 9px; + bottom: 17px; margin: 0; } .block-editor-url-input__suggestions { @@ -2114,19 +2305,19 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before background: rgb(0, 113, 158); color: #fff; outline: none; } - body.admin-color-sunrise .block-editor-url-input__suggestion:focus, body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected{ + body.admin-color-sunrise .block-editor-url-input__suggestion:focus, body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected { background: rgb(178, 114, 63); } - body.admin-color-ocean .block-editor-url-input__suggestion:focus, body.admin-color-ocean .block-editor-url-input__suggestion.is-selected{ + body.admin-color-ocean .block-editor-url-input__suggestion:focus, body.admin-color-ocean .block-editor-url-input__suggestion.is-selected { background: rgb(139, 157, 138); } - body.admin-color-midnight .block-editor-url-input__suggestion:focus, body.admin-color-midnight .block-editor-url-input__suggestion.is-selected{ + body.admin-color-midnight .block-editor-url-input__suggestion:focus, body.admin-color-midnight .block-editor-url-input__suggestion.is-selected { background: rgb(191, 65, 57); } - body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus, body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected{ + body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus, body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected { background: rgb(142, 155, 73); } - body.admin-color-coffee .block-editor-url-input__suggestion:focus, body.admin-color-coffee .block-editor-url-input__suggestion.is-selected{ + body.admin-color-coffee .block-editor-url-input__suggestion:focus, body.admin-color-coffee .block-editor-url-input__suggestion.is-selected { background: rgb(165, 141, 119); } - body.admin-color-blue .block-editor-url-input__suggestion:focus, body.admin-color-blue .block-editor-url-input__suggestion.is-selected{ + body.admin-color-blue .block-editor-url-input__suggestion:focus, body.admin-color-blue .block-editor-url-input__suggestion.is-selected { background: rgb(111, 153, 173); } - body.admin-color-light .block-editor-url-input__suggestion:focus, body.admin-color-light .block-editor-url-input__suggestion.is-selected{ + body.admin-color-light .block-editor-url-input__suggestion:focus, body.admin-color-light .block-editor-url-input__suggestion.is-selected { background: rgb(0, 113, 158); } .components-toolbar > .block-editor-url-input__button { @@ -2202,17 +2393,24 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before .block-editor-url-popover__settings-toggle[aria-expanded="true"] .dashicon { transform: rotate(-180deg); } +.block-editor-url-popover__input-container .components-base-control:last-child, +.block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field { + margin-bottom: 0; } + .block-editor-url-popover__settings { display: block; padding: 16px; border-top: 1px solid #e2e4e7; } - .block-editor-url-popover__settings .components-base-control:last-child, - .block-editor-url-popover__settings .components-base-control:last-child .components-base-control__field { - margin-bottom: 0; } .block-editor-url-popover__link-editor, .block-editor-url-popover__link-viewer { display: flex; } + .block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field, + .block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field { + margin-bottom: 0; } + .block-editor-url-popover__link-editor .block-editor-url-input .components-spinner, + .block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner { + bottom: 9px; } .block-editor-url-popover__link-viewer-url { margin: 7px; @@ -2235,8 +2433,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before border: 1px solid #e2e4e7; text-align: right; padding: 10px 14px 14px; } - .has-warning.is-multi-selected .block-editor-warning { - background-color: transparent; } .is-selected .block-editor-warning { border-color: rgba(66, 88, 99, 0.4); } @media (min-width: 600px) { diff --git a/wp-includes/css/dist/block-editor/style-rtl.min.css b/wp-includes/css/dist/block-editor/style-rtl.min.css index 1460a05417..b693c8b535 100644 --- a/wp-includes/css/dist/block-editor/style-rtl.min.css +++ b/wp-includes/css/dist/block-editor/style-rtl.min.css @@ -1 +1 @@ -@charset "UTF-8";.block-editor-block-drop-zone{border:none;border-radius:0}.block-editor-block-drop-zone .components-drop-zone__content,.block-editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content{display:none}.block-editor-block-drop-zone.is-close-to-bottom,.block-editor-block-drop-zone.is-close-to-top{background:none}.block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}.block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}.block-editor-block-drop-zone.is-appender.is-active.is-dragging-over-document{border-bottom:none}.block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-list__layout .components-draggable__clone .block-editor-block-contextual-toolbar{display:none!important}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-list__block-edit:before{border:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*{background:#f8f9f9}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*>*{visibility:hidden}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-mover{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit .reusable-block-edit-panel *{z-index:1}@media (min-width:600px){.block-editor-block-list__layout{padding-right:46px;padding-left:46px}}.block-editor-block-list__block .block-editor-block-list__layout{padding-right:0;padding-left:0;margin-right:-14px;margin-left:-14px}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;padding-right:14px;padding-left:14px;overflow-wrap:break-word}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block{padding-right:43px;padding-left:43px}}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 20px 12px;width:calc(100% - 40px)}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui{margin:0 0 12px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice{margin-right:0;margin-left:0}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit{position:relative}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{z-index:0;content:"";position:absolute;border:1px solid transparent;border-right:none;box-shadow:none;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;outline:1px solid transparent;left:-14px;right:-14px;top:-14px;bottom:-14px}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4);box-shadow:inset -3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45);box-shadow:inset -3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode>.block-editor-block-list__block-edit:before{border-color:#007cba;box-shadow:inset -3px 0 0 0 #007cba}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #007cba}}.block-editor-block-list__layout .block-editor-block-list__block.is-hovered:not(.is-navigate-mode)>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:not(.is-navigate-mode)>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 hsla(0,0%,100%,.25)}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block{opacity:1}.block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit:before{border:1px dashed rgba(123,134,162,.3)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.3)}.block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before{border:1px dashed rgba(123,134,162,.3)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.3)}.block-editor-block-list__layout .block-editor-block-list__block.has-child-selected.is-hovered>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block.is-hovered:not(.is-selected)>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block.is-hovered:not(.is-selected)>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block.is-hovered:not(.is-selected)>.block-editor-block-list__block-edit:before{border-style:solid;border-color:rgba(145,151,162,.25) transparent rgba(145,151,162,.25) rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected.is-hovered>.block-editor-block-list__block-edit:before,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block.is-hovered:not(.is-selected)>.block-editor-block-list__block-edit:before,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block.is-hovered:not(.is-selected)>.block-editor-block-list__block-edit:before,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block.is-hovered:not(.is-selected)>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.25) transparent hsla(0,0%,100%,.25) hsla(0,0%,100%,.25)}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before{border:1px dashed rgba(123,134,162,.3)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.3)}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected).is-hovered>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected).is-hovered>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected).is-hovered>.block-editor-block-list__block-edit:before{border-style:solid;border-color:rgba(145,151,162,.25) transparent rgba(145,151,162,.25) rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected).is-hovered>.block-editor-block-list__block-edit:before,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected).is-hovered>.block-editor-block-list__block-edit:before,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected).is-hovered>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.25) transparent hsla(0,0%,100%,.25) hsla(0,0%,100%,.25)}.block-editor-block-list__layout .block-editor-block-list__block ::selection{background-color:#b3e7fe}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected ::selection{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit:before{background:#b3e7fe;mix-blend-mode:multiply;top:-14px;bottom:-14px}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit:before{mix-blend-mode:soft-light}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:rgba(145,151,162,.25);border-right:1px solid rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;left:-14px;right:-14px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected .block-editor-block-list__block-edit:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:22px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:-14px}}.block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__side-inserter{opacity:0;animation:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation-duration:1ms}}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit:before{border:1px dashed rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected>.block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45) transparent hsla(0,0%,100%,.45) hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay .block-editor-inner-blocks.has-overlay:after{display:block}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left],.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]{z-index:21;width:100%;height:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit{margin-top:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{width:auto;border-bottom:1px solid #b5bcc2;bottom:auto}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{border-bottom:none}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{right:0;left:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{right:auto;left:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{top:14px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left]>.block-editor-block-list__block-edit{float:left;margin-right:2em}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-toolbar{left:14px;right:auto}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]>.block-editor-block-list__block-edit{float:right;margin-left:2em}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-toolbar{right:14px;left:auto}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both;z-index:20}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{top:-46px;bottom:auto;min-height:0;height:auto;width:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover .block-editor-block-mover__control{float:right}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full] .block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide] .block-editor-block-toolbar{display:inline-flex}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full] .block-editor-block-mover.is-visible+.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide] .block-editor-block-mover.is-visible+.block-editor-block-list__breadcrumb{top:-19px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar{left:90px}}@media (min-width:1080px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar{left:14px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{right:-13px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb{right:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-right:-45px;margin-left:-45px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-right:-14px;margin-left:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-right:-44px;margin-left:-44px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit figure{width:100%}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit:before{right:0;left:0;border-right-width:0;border-left-width:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover{right:1px}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-inserter-with-shortcuts{display:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{right:auto;left:8px}.block-editor-inner-blocks .block-editor-block-list__block+.block-list-appender{display:none}.is-selected .block-editor-inner-blocks .block-editor-block-list__block+.block-list-appender{display:block}.block-editor-inner-blocks .block-editor-block-list__block.is-selected+.block-list-appender{display:block}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{position:absolute;width:30px}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{top:-15px}@media (min-width:600px){.block-editor-block-list__block.is-hovered .block-editor-block-mover,.block-editor-block-list__block.is-multi-selected .block-editor-block-mover,.block-editor-block-list__block.is-selected .block-editor-block-mover{z-index:61}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{padding-left:2px;right:-53px;display:none}@media (min-width:600px){.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover{right:-30px}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:flex;flex-direction:row;transform:translateY(15px);margin-top:37px;margin-left:-14px;margin-right:-14px;border-top:1px solid #b5bcc2;height:37px;background-color:#fff;box-shadow:0 5px 10px rgba(25,30,35,.05),0 2px 2px rgba(25,30,35,.05)}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:none;box-shadow:none}}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter{position:relative;right:auto;top:auto;margin:0}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control .dashicon,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle .dashicon{margin:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover{display:flex;margin-left:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-inserter{float:right}.block-editor-block-list__block[data-align=full] .block-editor-block-list__block-mobile-toolbar{margin-right:0;margin-left:0}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;right:0;left:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;right:0;left:0;justify-content:center;height:22px;opacity:0;transition:opacity .1s linear}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{border-radius:50%;color:#007cba;background:#fff;height:28px;width:28px;padding:4px}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}@media (prefers-reduced-motion:reduce){.block-editor-block-list__insertion-point-inserter{transition-duration:0s}}.block-editor-block-list__insertion-point-inserter.is-visible,.block-editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;right:0;left:0}@media (min-width:600px){.block-editor-block-list__block>.block-editor-block-list__insertion-point{right:-1px;left:-1px}}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{right:0;left:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{z-index:61;white-space:nowrap;text-align:right;pointer-events:none;position:absolute;bottom:22px;right:-14px;left:-14px;border-top:1px solid #b5bcc2}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:none;border-bottom:none}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{border-top:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px;margin-top:-37px;box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.is-dark-theme .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:none}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar .editor-block-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar .editor-block-toolbar{border-right:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-right:0;margin-left:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-right:-15px;margin-left:-15px}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{margin-right:15px}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-left:15px}.block-editor-block-list__block .block-editor-block-contextual-toolbar>*{pointer-events:auto}.block-editor-block-list__block[data-align=full] .block-editor-block-contextual-toolbar{right:0;left:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{bottom:auto;right:auto;left:auto;box-shadow:none;transform:translateY(-52px)}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block .block-editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;top:51px}}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{float:left}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{float:right;min-width:200px}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{min-width:0}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{transform:translateY(-15px)}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-left:none;position:absolute;right:1px;top:1px}}.block-editor-block-list__breadcrumb{position:absolute;line-height:1;z-index:22;right:-17px;top:-31px}.block-editor-block-list__breadcrumb .components-toolbar{border:none;line-height:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:11px;padding:4px;background:#e2e4e7;color:#191e23;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__breadcrumb .components-toolbar{transition-duration:0s}}.block-editor-block-list__breadcrumb .components-toolbar .components-button{font-size:inherit;line-height:inherit;padding:0}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{background:#40464d;color:#fff}[data-align=left] .block-editor-block-list__breadcrumb{right:0}[data-align=right] .block-editor-block-list__breadcrumb{right:auto;left:0}.is-navigate-mode .block-editor-block-list__breadcrumb{right:-14px;top:-51px}.is-navigate-mode .block-editor-block-list__breadcrumb .components-toolbar{background:#fff;border:1px solid #007cba;border-right:none;box-shadow:inset -3px 0 0 0 #007cba;height:38px;font-size:13px;line-height:29px;padding-right:8px;padding-left:8px}.is-navigate-mode .block-editor-block-list__breadcrumb .components-toolbar .components-button{box-shadow:none}.is-dark-theme .is-navigate-mode .block-editor-block-list__breadcrumb .components-toolbar{border-color:hsla(0,0%,100%,.45)}@media (min-width:600px){.is-navigate-mode .block-editor-block-list__breadcrumb .components-toolbar{box-shadow:3px 0 0 0 #007cba}}.block-editor-block-list__descendant-arrow:before{content:"→";display:inline-block;padding:0 4px}.rtl .block-editor-block-list__descendant-arrow:before{content:"←"}@media (min-width:600px){.block-editor-block-list__block:before{bottom:0;content:"";right:-28px;position:absolute;left:-28px;top:0}.block-editor-block-list__block .block-editor-block-list__block:before{right:0;left:0}.block-editor-block-list__block[data-align=full]:before{content:none}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-left:-14px;margin-right:-14px;margin-bottom:-14px;transform:translateY(-14px)}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.block-editor-block-list__block .block-list-appender{margin:14px}.has-background .block-editor-block-list__block .block-list-appender{margin:32px 14px}.block-list-appender>.block-editor-inserter{display:block}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__icon{border:1px solid #ccd0d4;padding:7px;margin-left:10px;height:36px;width:36px}.block-editor-block-card__content{flex-grow:1}.block-editor-block-card__title{font-weight:500;margin-bottom:5px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 0 0 16px;min-width:200px}.block-editor-block-compare__wrapper>div button{float:left}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-right:1px solid #ddd;padding-right:15px;padding-left:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}@media (min-width:600px){.block-editor-block-mover{min-height:56px;opacity:0;background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-mover{transition-duration:0s}}@media (min-width:600px){.block-editor-block-mover.is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-mover.is-visible{animation-duration:1ms}}@media (min-width:600px){.block-editor-block-mover:hover{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover{margin-top:-8px}}.block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;border:none;box-shadow:none;width:28px;height:24px}.block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(14,28,46,.62)}@media (min-width:600px){.block-editor-block-mover__control{color:rgba(14,28,46,.62)}.block-editor-block-mover__control:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:transparent;box-shadow:none}.block-editor-block-mover__control:focus:not(:disabled){background-color:transparent}}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:grab;fill:currentColor}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active{cursor:grabbing}.block-editor-block-mover__description{display:none}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-right:2px solid #a2aab2;margin-right:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-right:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;right:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-right:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;right:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:right;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-left:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.components-popover.block-editor-block-navigation__popover{z-index:99998}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.is-ready{overflow:visible}.block-editor-block-preview__content{position:absolute;top:0;right:0;transform-origin:top right;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__content .block-editor-block-list__block,.block-editor-block-preview__content .block-editor-block-list__layout{padding:0}.block-editor-block-preview__content .editor-block-list__block-edit [data-block]{margin:0}.block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-settings-menu .components-dropdown-menu__toggle .dashicon{transform:rotate(-90deg)}.block-editor-block-settings-menu__popover .components-dropdown-menu__menu{padding:0}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:calc(37.5% - 6px) 6px 6px}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item.is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);border-radius:4px;display:flex;overflow:hidden;background:#fff;padding:75% 0 0;margin-top:-75%}.block-editor-block-styles__item-preview .block-editor-block-preview__container{padding-top:0;margin:-75% 0 0}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-icon-button.block-editor-block-switcher__no-switcher-icon,.components-icon-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-icon-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-icon-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important;background:#f3f4f5!important}.components-icon-button.block-editor-block-switcher__toggle{width:auto}.components-icon-button.block-editor-block-switcher__toggle:active,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-icon-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{transition-duration:0s}}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-popover:not(.is-mobile).block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:680px;display:flex;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.1)}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__container{min-width:300px;max-width:340px;width:50%}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__preview{border-right:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;width:300px;height:auto;position:-webkit-sticky;position:sticky;-ms-grid-row-align:stretch;align-self:stretch;top:0;padding:10px}}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-switcher__preview-title{margin-bottom:10px;color:#6c7781}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;border-right:1px solid #b5bcc2;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-right:none;box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-left:1px solid #b5bcc2;line-height:0}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-right:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-toolbar__slot{display:inline-block}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-toolbar__slot{display:inline-flex}}.block-editor-block-types-list{list-style:none;padding:4px;margin-right:-4px;margin-left:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:21px;outline:1px dashed #8d96a0;width:100%;color:#555d66;background:rgba(237,239,240,.8)}.block-editor-button-block-appender:focus,.block-editor-button-block-appender:hover{outline:1px dashed #555d66;color:#191e23}.block-editor-button-block-appender:active{outline:1px dashed #191e23;color:#191e23}.is-dark-theme .block-editor-button-block-appender{background:rgba(50,55,60,.7);color:#f8f9f9}.is-dark-theme .block-editor-button-block-appender:focus,.is-dark-theme .block-editor-button-block-appender:hover{outline:1px dashed #fff}.block-editor-color-palette-control__color-palette{display:inline-block;margin-top:.6rem}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-right:auto;margin-left:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;margin-top:28px;margin-bottom:28px;padding:0 14px 0 50px;color:rgba(14,28,46,.62)}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{transition-duration:0s}}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation-duration:1ms}}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter,.block-editor-inserter-with-shortcuts{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-icon-button,.block-editor-default-block-appender .block-editor-inserter .components-icon-button,.block-editor-inserter-with-shortcuts .components-icon-button{width:28px;height:28px;margin-left:12px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-block-icon,.block-editor-default-block-appender .block-editor-inserter .block-editor-block-icon,.block-editor-inserter-with-shortcuts .block-editor-block-icon{margin:auto}.block-editor-block-list__empty-block-inserter .components-icon-button svg,.block-editor-default-block-appender .block-editor-inserter .components-icon-button svg,.block-editor-inserter-with-shortcuts .components-icon-button svg{display:block;margin:auto}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle{margin-left:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{left:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{display:flex;align-items:center;height:100%;right:-44px;left:auto}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{left:14px;display:none;z-index:5}@media (min-width:600px){.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{display:flex;align-items:center;height:100%;left:0}}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:-14px;left:-14px;bottom:-14px;right:-14px;z-index:60}[data-align=full]>.editor-block-list__block-edit>[data-block] .has-overlay:after{left:0;right:0}.block-editor-inner-blocks__template-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-inner-blocks__template-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-inner-blocks__template-picker.has-many-options .components-placeholder__fieldset{max-width:90%}.block-editor-inner-blocks__template-picker-options.block-editor-inner-blocks__template-picker-options{display:flex;justify-content:center;flex-direction:row;flex-wrap:wrap;width:100%;margin:4px 0;list-style:none}.block-editor-inner-blocks__template-picker-options.block-editor-inner-blocks__template-picker-options>li{list-style:none;margin:8px;flex-shrink:1;max-width:100px}.block-editor-inner-blocks__template-picker-options.block-editor-inner-blocks__template-picker-options .block-editor-inner-blocks__template-picker-option{padding:8px}.block-editor-inner-blocks__template-picker-option{width:100%}.block-editor-inner-blocks__template-picker-option.components-icon-button{justify-content:center}.block-editor-inner-blocks__template-picker-option.components-icon-button.is-default{background-color:#fff}.block-editor-inner-blocks__template-picker-option.components-button{height:auto;padding:0}.block-editor-inner-blocks__template-picker-option:before{content:"";padding-bottom:100%}.block-editor-inner-blocks__template-picker-option:first-child{margin-right:0}.block-editor-inner-blocks__template-picker-option:last-child{margin-left:0}.block-editor-inserter-with-shortcuts{display:flex;align-items:center}.block-editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.block-editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon){height:24px;width:24px}.block-editor-inserter-with-shortcuts__block{margin-left:4px;width:36px;height:36px;padding-top:8px;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-inserter-with-shortcuts__block{color:hsla(0,0%,100%,.75)}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle{transition-duration:0s}}.block-editor-inserter__menu{height:100%;display:flex;width:auto}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu.has-help-panel{width:700px}}.block-editor-inserter__main-area{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:400px;position:relative}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99998}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:left}.block-editor-inserter__manage-reusable-blocks{margin:16px 16px 0 0}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-left:8px}.block-editor-inserter__menu-help-panel{display:none;border-right:1px solid #e2e4e7;width:300px;height:100%;padding:20px;overflow-y:auto}@media (min-width:782px){.block-editor-inserter__menu-help-panel{display:flex;flex-direction:column}}.block-editor-inserter__menu-help-panel .block-editor-block-card{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #e2e4e7;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel .block-editor-block-card{animation-duration:1ms}}.block-editor-inserter__menu-help-panel .block-editor-inserter__preview{display:flex;flex-grow:2}.block-editor-inserter__menu-help-panel-no-block{display:flex;height:100%;flex-direction:column;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel-no-block{animation-duration:1ms}}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text{flex-grow:1}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text h4{font-size:18px}.block-editor-inserter__menu-help-panel-no-block .components-notice{margin:0}.block-editor-inserter__menu-help-panel-no-block h4{margin-top:0}.block-editor-inserter__menu-help-panel-hover-area{flex-grow:1;margin-top:20px;padding:20px;border:1px dotted #e2e4e7;display:flex;align-items:center;text-align:center}.block-editor-inserter__menu-help-panel-title{font-size:18px;font-weight:600;margin-bottom:20px}.block-editor-inserter__preview-content{border:1px solid #e2e4e7;border-radius:4px;min-height:150px;display:-ms-grid;display:grid;flex-grow:2}.block-editor-inserter__preview-content .block-editor-block-preview__container{margin-left:0;margin-right:0;padding:10px}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;color:#606a73;border:1px solid #e2e4e7;border-radius:4px;align-items:center}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0 0 12px}.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0 4px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item{transition-duration:0s}}.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;left:0;bottom:0;right:0}.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:inherit}.block-editor-block-types-list__item:not(:disabled):active,.block-editor-block-types-list__item:not(:disabled):focus{position:relative;color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent}.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:inherit}.block-editor-block-types-list__item:not(:disabled).is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-types-list__item:not(:disabled).is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s}}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.block-editor-media-placeholder__url-input-container{width:100%}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.components-form-file-upload .block-editor-media-placeholder__button{margin-left:4px}.block-editor-media-placeholder.is-appender{min-height:100px;outline:1px dashed #8d96a0}.block-editor-media-placeholder.is-appender:hover{outline:1px dashed #555d66;cursor:pointer}.is-dark-theme .block-editor-media-placeholder.is-appender:hover{outline:1px dashed #fff}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button{margin-left:4px}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:focus,.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:hover{box-shadow:none;border:1px solid #555d66}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-panel-color-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-settings.is-opened .block-editor-panel-color-settings__panel-title .component-color-indicator{display:none}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-format-toolbar{display:flex;flex-shrink:0}.block-editor-format-toolbar__selection-position{position:absolute;transform:translateX(50%)}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text{position:relative}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.is-multi-selected .block-editor-rich-text__editable code{background:#67cffd}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable [data-rich-text-placeholder]{pointer-events:none}.block-editor-rich-text__editable [data-rich-text-placeholder]:after{content:attr(data-rich-text-placeholder);opacity:.62}.block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]:after{display:none}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.block-editor-rich-text__inline-toolbar{display:flex;justify-content:center;position:absolute;top:-40px;line-height:0;right:0;left:0;z-index:1}.block-editor-rich-text__inline-toolbar ul.components-toolbar{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-right:0;margin-left:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px}}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.has-border input[type=text],.block-editor-url-input.has-border input[type=text],.components-popover .block-editor-url-input.has-border input[type=text]{border:1px solid #555d66;border-radius:4px}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width input[type=text],.block-editor-url-input.is-full-width input[type=text],.components-popover .block-editor-url-input.is-full-width input[type=text]{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width__suggestions{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;left:8px;top:9px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:right;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-left:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;left:-1px;background:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__additional-controls{border-top:1px solid #e2e4e7}.block-editor-url-popover__additional-controls>div[role=menu] .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-icon-button{padding-right:2px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-icon-button{padding:3px}.block-editor-url-popover .components-icon-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-editor-url-popover .components-icon-button:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-right:1px solid #e2e4e7;margin-right:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(-180deg)}.block-editor-url-popover__settings{display:block;padding:16px;border-top:1px solid #e2e4e7}.block-editor-url-popover__settings .components-base-control:last-child,.block-editor-url-popover__settings .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-url-popover__link-editor,.block-editor-url-popover__link-viewer{display:flex}.block-editor-url-popover__link-viewer-url{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-url-popover__link-viewer-url.has-invalid-link{color:#d94f4f}.block-editor-warning{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap;background-color:#fff;border:1px solid #e2e4e7;text-align:right;padding:10px 14px 14px}.has-warning.is-multi-selected .block-editor-warning{background-color:transparent}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4)}@media (min-width:600px){.is-selected .block-editor-warning{border-right-color:transparent}}.is-dark-theme .is-selected .block-editor-warning{border-color:hsla(0,0%,100%,.45)}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:1em 0}.block-editor-warning p.block-editor-warning__message.block-editor-warning__message{min-height:auto}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:baseline;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 0 0 6px}.block-editor-warning__secondary{margin:5px -4px 0 0;height:36px}.block-editor-warning__secondary .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-right:4px}.block-editor-warning__secondary .components-icon-button{padding:8px 4px}}.block-editor-warning__secondary .components-button svg{transform:rotate(-90deg)}.block-editor-writing-flow{display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{cursor:text}.html-anchor-control .components-external-link{display:block;margin-top:8px} \ No newline at end of file +.block-editor-block-drop-zone{border:none;border-radius:0}.block-editor-block-drop-zone .components-drop-zone__content,.block-editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content{display:none}.block-editor-block-drop-zone.is-close-to-bottom,.block-editor-block-drop-zone.is-close-to-top{background:none}.block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}.block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}.block-editor-block-drop-zone.is-appender.is-active.is-dragging-over-document{border-bottom:none}.block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector .components-base-control{margin-bottom:24px}.block-editor-block-inspector .components-base-control:last-child{margin-bottom:8px}.block-editor-block-inspector .components-panel__body{border:none;border-top:1px solid #e2e4e7}.block-editor-block-inspector .block-editor-block-card{padding:16px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-list__layout .components-draggable__clone .block-editor-block-contextual-toolbar{display:none!important}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-list__block-edit:before{border:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*{background:#f8f9f9}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*>*{visibility:hidden}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-mover{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit .reusable-block-edit-panel *{z-index:1}.block-editor-block-list__layout{padding-right:14px;padding-left:14px}@media (min-width:600px){.block-editor-block-list__layout{padding-right:58px;padding-left:58px}}.block-editor-block-list__layout .block-editor-block-list__layout{padding-right:0;padding-left:0}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;overflow-wrap:break-word}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 20px 12px;width:calc(100% - 40px)}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui{margin:0 0 12px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice{margin-right:0;margin-left:0}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit{position:relative}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit.has-mover-inside>[data-block]{display:flex}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{z-index:0;content:"";position:absolute;border:1px solid transparent;border-right:none;box-shadow:none;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;outline:1px solid transparent;left:-14px;right:-14px;top:-14px;bottom:-14px}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4);box-shadow:inset -3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45);box-shadow:inset -3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode>.block-editor-block-list__block-edit:before{border-color:#007cba;box-shadow:inset -3px 0 0 0 #007cba}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #007cba}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block{opacity:1}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{border-right-color:rgba(66,88,99,.4);box-shadow:inset -3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{border-right-color:hsla(0,0%,100%,.45);box-shadow:inset -3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{box-shadow:none}.block-editor-block-list__layout .components-placeholder ::selection{background:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:rgba(145,151,162,.25);border-right:1px solid rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;left:-14px;right:-14px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected .block-editor-block-list__block-edit:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:22px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:-14px}}.block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__side-inserter{opacity:0;animation:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation-duration:1ms}}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected>.block-editor-block-list__block-edit:before{border-right:transparent;border-width:1px;border-style:dashed}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay .block-editor-inner-blocks.has-overlay:after{display:block}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left],.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]{z-index:21;width:100%;height:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit{margin-top:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{width:auto;border-bottom:1px solid #b5bcc2;bottom:auto}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{border-bottom:none}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{right:0;left:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{right:auto;left:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{top:14px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left]>.block-editor-block-list__block-edit{float:left;margin-right:2em}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-toolbar{left:14px;right:auto}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]>.block-editor-block-list__block-edit{float:right;margin-left:2em}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-toolbar{right:14px;left:auto}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both;z-index:20}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{top:-46px;bottom:auto;min-height:0;height:auto;width:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover .block-editor-block-mover__control{float:right}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full] .block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide] .block-editor-block-toolbar{display:inline-flex}}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar{left:90px}}@media (min-width:1080px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar{left:14px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{right:-13px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-right:-14px;margin-left:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-right:-58px;margin-left:-58px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit:before{right:0;left:0;border-right-width:0;border-left-width:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover{right:14px}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-inserter-with-shortcuts{display:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{right:auto;left:8px}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{position:absolute;width:30px}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{top:-15px}@media (min-width:600px){.block-editor-block-list__block.is-hovered .block-editor-block-mover,.block-editor-block-list__block.is-multi-selected .block-editor-block-mover,.block-editor-block-list__block.is-selected .block-editor-block-mover{z-index:61}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{right:-53px;display:none}@media (min-width:600px){.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block}}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:flex;flex-direction:row;transform:translateY(15px);margin-top:37px;margin-left:-14px;margin-right:-14px;border-top:1px solid #b5bcc2;height:37px;background-color:#fff;box-shadow:0 5px 10px rgba(25,30,35,.05),0 2px 2px rgba(25,30,35,.05)}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:none;box-shadow:none}}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter{position:relative;right:auto;top:auto;margin:0}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control .dashicon,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle .dashicon{margin:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover{display:flex;margin-left:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-inserter{float:right}.block-editor-block-list__block[data-align=full] .block-editor-block-list__block-mobile-toolbar{margin-right:0;margin-left:0}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;right:0;left:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;right:0;left:0;justify-content:center;height:22px;opacity:0;transition:opacity .1s linear}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{border-radius:50%;color:#007cba;background:#fff;height:28px;width:28px;padding:4px}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}@media (prefers-reduced-motion:reduce){.block-editor-block-list__insertion-point-inserter{transition-duration:0s}}.block-editor-block-list__insertion-point-inserter.is-visible,.block-editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;right:14px;left:14px}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{right:0;left:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{z-index:61;white-space:nowrap;text-align:right;pointer-events:none;position:absolute;bottom:22px;right:-14px;left:-14px;border-top:1px solid #b5bcc2}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:none;border-bottom:none}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{border-top:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px;margin-top:-37px;box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.is-dark-theme .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:none}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar .block-editor-block-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{border-right:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-right:0;margin-left:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-right:-15px;margin-left:-15px}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{margin-right:15px}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-left:15px}.block-editor-block-list__block .block-editor-block-contextual-toolbar>*{pointer-events:auto}.block-editor-block-list__block[data-align=full] .block-editor-block-contextual-toolbar{right:0;left:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{bottom:auto;right:auto;left:auto;box-shadow:none;transform:translateY(-52px)}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block .block-editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;top:51px}}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{float:left}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{float:right;min-width:200px}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{min-width:0}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{transform:translateY(-15px)}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-left:none;position:absolute;right:1px;top:1px}}.block-editor-block-list__breadcrumb{display:block;position:absolute;line-height:1;z-index:22;right:-14px;top:-51px}.block-editor-block-list__breadcrumb .components-toolbar{display:flex;background:#fff;border:1px solid #007cba;border-right:none;box-shadow:inset -3px 0 0 0 #007cba;height:38px;font-size:13px;line-height:29px;padding-right:8px;padding-left:8px}.block-editor-block-list__breadcrumb .components-toolbar .components-button{box-shadow:none}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{border-color:hsla(0,0%,100%,.45)}@media (min-width:600px){.block-editor-block-list__breadcrumb .components-toolbar{box-shadow:3px 0 0 0 #007cba}}@media (min-width:600px){.block-editor-block-list__block:before{bottom:0;content:"";right:-28px;position:absolute;left:-28px;top:0}.block-editor-block-list__block .block-editor-block-list__block:before{right:0;left:0}.block-editor-block-list__block[data-align=full]:before{content:none}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-left:-14px;margin-right:-14px;margin-bottom:-14px;transform:translateY(-14px)}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.block-editor-block-list__block .block-list-appender{margin:14px 0}.has-background .block-editor-block-list__block .block-list-appender{margin:32px 14px}.block-list-appender>.block-editor-inserter{display:block}.block-editor-block-breadcrumb{list-style:none;padding:0;margin:0}.block-editor-block-breadcrumb li{display:inline-block;margin:0}.block-editor-block-breadcrumb li:not(:last-child):after{content:"\2192"}.block-editor-block-breadcrumb__button.components-button{height:24px;line-height:24px;padding:0}.block-editor-block-breadcrumb__button.components-button:hover{text-decoration:underline}.block-editor-block-breadcrumb__button.components-button:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;outline-offset:-2px;box-shadow:none}.block-editor-block-breadcrumb__current{cursor:default}.block-editor-block-breadcrumb__button.components-button,.block-editor-block-breadcrumb__current{color:#555d66;padding:0 8px;font-size:inherit}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__icon{border:1px solid #ccd0d4;padding:7px;margin-left:10px;height:36px;width:36px}.block-editor-block-card__content{flex-grow:1}.block-editor-block-card__title{font-weight:500;margin-bottom:5px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 0 0 16px;min-width:200px}.block-editor-block-compare__wrapper>div button{float:left}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-right:1px solid #ddd;padding-right:15px;padding-left:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-mobile-toolbar{display:flex;flex-direction:row;border-left:1px solid #e2e4e7}.block-editor-block-mobile-toolbar .block-editor-block-mover__control{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-mobile-toolbar .block-editor-block-mover__control .dashicon{margin:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover{display:flex;margin-left:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control{float:right}@media (min-width:600px){.block-editor-block-mover{opacity:0;background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out;margin-top:-8px}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-mover{transition-duration:0s}}@media (min-width:600px){.block-editor-block-mover.is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-mover.is-visible{animation-duration:1ms}}@media (min-width:600px){.block-editor-block-mover:hover{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}}.block-editor-block-mover.is-horizontal{margin-top:5px;margin-left:8px;padding-left:0;min-height:auto;width:50px;height:26px;display:flex}.block-editor-block-mover.is-horizontal .block-editor-block-mover__control{width:24px;height:24px}.block-editor-block-mover.is-horizontal .block-editor-block-mover__control svg{width:24px;padding:3px}@media (min-width:600px){.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .editor-block-mover:not(.is-horizontal){margin-top:0}}.block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;border:none;box-shadow:none;width:28px;height:24px}.block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(14,28,46,.62)}@media (min-width:600px){.block-editor-block-mover__control{color:rgba(14,28,46,.62)}.block-editor-block-mover__control:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:transparent;box-shadow:none}.block-editor-block-mover__control:focus:not(:disabled){background-color:transparent}}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:grab;fill:currentColor}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active{cursor:grabbing}.block-editor-block-mover__description{display:none}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-button-block-appender{outline:none;background:none;padding:8px;margin-right:.8em;width:36px;border-radius:4px}.block-editor-block-navigation__list .block-editor-button-block-appender:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5;outline:none}.block-editor-block-navigation__list .block-editor-button-block-appender:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-right:2px solid #a2aab2;margin-right:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-right:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;right:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-right:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;right:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:right;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-left:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.components-popover.block-editor-block-navigation__popover{z-index:99998}.block-editor-block-pattern-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-pattern-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-pattern-picker.has-many-patterns .components-placeholder__fieldset{max-width:90%}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns{display:flex;justify-content:center;flex-direction:row;flex-wrap:wrap;width:100%;margin:4px 0;list-style:none}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns>li{list-style:none;margin:8px;flex-shrink:1;max-width:100px}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns .block-editor-block-pattern-picker__pattern{padding:8px}.block-editor-block-pattern-picker__pattern{width:100%}.block-editor-block-pattern-picker__pattern.components-icon-button{justify-content:center}.block-editor-block-pattern-picker__pattern.components-icon-button.is-default{background-color:#fff}.block-editor-block-pattern-picker__pattern.components-button{height:auto;padding:0}.block-editor-block-pattern-picker__pattern:before{content:"";padding-bottom:100%}.block-editor-block-pattern-picker__pattern:first-child{margin-right:0}.block-editor-block-pattern-picker__pattern:last-child{margin-left:0}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.is-ready{overflow:visible}.block-editor-block-preview__content{position:absolute;top:0;right:0;transform-origin:top right;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__content .block-editor-block-list__block,.block-editor-block-preview__content .block-editor-block-list__layout{padding:0}.block-editor-block-preview__content .editor-block-list__block-edit [data-block]{margin:0}.block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-settings-menu .components-dropdown-menu__toggle .dashicon{transform:rotate(-90deg)}.block-editor-block-settings-menu__popover .components-dropdown-menu__menu{padding:0}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:calc(37.5% - 6px) 6px 6px}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item.is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);border-radius:4px;display:flex;overflow:hidden;background:#fff;padding:75% 0 0;margin-top:-75%}.block-editor-block-styles__item-preview .block-editor-block-preview__container{padding-top:0;margin:-75% 0 0}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-icon-button.block-editor-block-switcher__no-switcher-icon,.components-icon-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-icon-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-icon-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important;background:#f3f4f5!important}.components-icon-button.block-editor-block-switcher__toggle{width:auto}.components-icon-button.block-editor-block-switcher__toggle:active,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-icon-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{transition-duration:0s}}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-popover.block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:680px;display:flex;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.1)}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__container{min-width:300px;max-width:340px;width:50%}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__preview{border-right:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;width:300px;height:auto;position:-webkit-sticky;position:sticky;-ms-grid-row-align:stretch;align-self:stretch;top:0;padding:10px}}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-switcher__preview-title{margin-bottom:10px;color:#6c7781}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;border-right:1px solid #b5bcc2;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-right:none;box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-left:1px solid #b5bcc2;line-height:0}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-right:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-toolbar__slot{display:inline-block;line-height:0}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-toolbar__slot{display:inline-flex}}.block-editor-block-types-list{list-style:none;padding:4px;margin-right:-4px;margin-left:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:21px;outline:1px dashed #8d96a0;width:100%;color:#555d66;background:rgba(237,239,240,.8)}.block-editor-button-block-appender:focus,.block-editor-button-block-appender:hover{outline:1px dashed #555d66;color:#191e23}.block-editor-button-block-appender:active{outline:1px dashed #191e23;color:#191e23}.is-dark-theme .block-editor-button-block-appender{background:rgba(50,55,60,.7);color:#f8f9f9}.is-dark-theme .block-editor-button-block-appender:focus,.is-dark-theme .block-editor-button-block-appender:hover{outline:1px dashed #fff}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-right:auto;margin-left:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;margin-top:28px;margin-bottom:28px;padding:0 14px 0 50px;color:rgba(14,28,46,.62)}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{transition-duration:0s}}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation-duration:1ms}}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter,.block-editor-inserter-with-shortcuts{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-icon-button,.block-editor-default-block-appender .block-editor-inserter .components-icon-button,.block-editor-inserter-with-shortcuts .components-icon-button{width:28px;height:28px;margin-left:12px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-block-icon,.block-editor-default-block-appender .block-editor-inserter .block-editor-block-icon,.block-editor-inserter-with-shortcuts .block-editor-block-icon{margin:auto}.block-editor-block-list__empty-block-inserter .components-icon-button svg,.block-editor-default-block-appender .block-editor-inserter .components-icon-button svg,.block-editor-inserter-with-shortcuts .components-icon-button svg{display:block;margin:auto}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle{margin-left:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{left:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{display:flex;align-items:center;height:100%;right:-44px;left:auto}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{left:14px;display:none;z-index:5}@media (min-width:600px){.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{display:flex;align-items:center;height:100%;left:0}}.block-editor-link-control__search{position:relative;min-width:360px}.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{width:calc(100% - 32px);display:block;margin:16px;padding:11px 16px 11px 38px;position:relative;z-index:1;border:1px solid #e1e1e1;border-radius:4px;font-size:16px}@media (min-width:600px){.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px}}.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-link-control__search-reset{position:absolute;top:19px;left:19px;z-index:10}.block-editor-link-control__search-results-wrapper{position:relative;margin-top:-15px}.block-editor-link-control__search-results-wrapper:after,.block-editor-link-control__search-results-wrapper:before{content:"";position:absolute;right:-1px;left:16px;display:block;pointer-events:none;z-index:100}.block-editor-link-control__search-results-wrapper:before{height:8px;top:0;bottom:auto;background:linear-gradient(180deg,#fff 0,hsla(0,0%,100%,0))}.block-editor-link-control__search-results-wrapper:after{height:16px;bottom:0;top:auto;background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.block-editor-link-control__search-results{margin:0;padding:8px 16px 16px;max-height:200px;overflow-y:scroll}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:right;padding:10px 15px;border-radius:5px}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#e9e9e9}.block-editor-link-control__search-item.is-selected{background:#f2f2f2}.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type{background:#fff}.block-editor-link-control__search-item.is-current{background:transparent;border:0;width:100%;cursor:default;padding:16px 24px 16px 16px}.block-editor-link-control__search-item .block-editor-link-control__search-item-header{display:block;margin-left:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-icon{margin-left:1em;min-width:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-info,.block-editor-link-control__search-item .block-editor-link-control__search-item-title{text-overflow:ellipsis;max-width:230px;overflow:hidden;white-space:nowrap}.block-editor-link-control__search-item .block-editor-link-control__search-item-title{display:block;margin-bottom:.2em;font-weight:500}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{font-weight:700;color:#000;background-color:transparent}.block-editor-link-control__search-item .block-editor-link-control__search-item-title span{font-weight:400}.block-editor-link-control__search-item .block-editor-link-control__search-item-info{display:block;color:#999;font-size:.9em;line-height:1.3}.block-editor-link-control__search-item .block-editor-link-control__search-item-type{display:block;padding:3px 8px;margin-right:auto;font-size:.9em;background-color:#f3f4f5;border-radius:2px}.block-editor-link-control__search-results div[role=menu]>.block-editor-link-control__search-item.block-editor-link-control__search-item{padding:10px}.block-editor-link-control__settings{border-top:1px solid #e1e1e1;margin:0;padding:16px 24px}.block-editor-link-control__settings :last-child{margin-bottom:0}.block-editor-link-control__setting{margin-bottom:16px}.block-editor-link-control__setting :last-child{margin-bottom:0}.block-editor-link-control .block-editor-link-control__search-input .components-spinner{display:block;z-index:100;float:none}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;top:27px;right:auto;left:60px;bottom:0}.block-editor-link-control__search-item-action{margin-right:auto;flex-shrink:0}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:-14px;left:-14px;bottom:-14px;right:-14px;z-index:60}[data-align=full]>.editor-block-list__block-edit>[data-block] .has-overlay:after{left:0;right:0}.block-editor-inserter-with-shortcuts{display:flex;align-items:center}.block-editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.block-editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon){height:24px;width:24px}.block-editor-inserter-with-shortcuts__block{margin-left:4px;width:36px;height:36px;padding-top:8px;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-inserter-with-shortcuts__block{color:hsla(0,0%,100%,.75)}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle{transition-duration:0s}}.block-editor-inserter__menu{height:100%;display:flex;width:auto}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu.has-help-panel{width:700px}}.block-editor-inserter__main-area{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:400px;position:relative}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99998}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:left}.block-editor-inserter__manage-reusable-blocks{margin:16px 16px 0 0}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-left:8px}.block-editor-inserter__menu-help-panel{display:none;border-right:1px solid #e2e4e7;width:300px;height:100%;padding:20px;overflow-y:auto}@media (min-width:782px){.block-editor-inserter__menu-help-panel{display:flex;flex-direction:column}}.block-editor-inserter__menu-help-panel .block-editor-block-card{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #e2e4e7;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel .block-editor-block-card{animation-duration:1ms}}.block-editor-inserter__menu-help-panel .block-editor-inserter__preview{display:flex;flex-grow:2}.block-editor-inserter__menu-help-panel-no-block{display:flex;height:100%;flex-direction:column;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel-no-block{animation-duration:1ms}}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text{flex-grow:1}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text h4{font-size:18px}.block-editor-inserter__menu-help-panel-no-block .components-notice{margin:0}.block-editor-inserter__menu-help-panel-no-block h4{margin-top:0}.block-editor-inserter__menu-help-panel-hover-area{flex-grow:1;margin-top:20px;padding:20px;border:1px dotted #e2e4e7;display:flex;align-items:center;text-align:center}.block-editor-inserter__menu-help-panel-title{font-size:18px;font-weight:600;margin-bottom:20px}.block-editor-inserter__preview-content{border:1px solid #e2e4e7;border-radius:4px;min-height:150px;display:-ms-grid;display:grid;flex-grow:2}.block-editor-inserter__preview-content .block-editor-block-preview__container{margin-left:0;margin-right:0;padding:10px}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;color:#606a73;border:1px solid #e2e4e7;border-radius:4px;align-items:center}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0 0 12px}.components-button.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0 4px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-types-list__item{transition-duration:0s}}.components-button.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.components-button.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;left:0;bottom:0;right:0}.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled):active,.components-button.block-editor-block-types-list__item:not(:disabled):focus{position:relative;color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;background:transparent}.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled).is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.components-button.block-editor-block-types-list__item:not(:disabled).is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s}}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.media-replace-flow .components-dropdown-menu__indicator{margin-right:4px}.media-replace-flow .components-dropdown-menu__indicator .components-dropdown-menu.media-flow_toolbar .components-dropdown-menu__label{margin-left:6px;margin-right:2px}.media-replace-flow__options.components-popover:not(.is-mobile) .components-popover__content{overflow-x:hidden}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input{padding:0 25px 10px 15px}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-external-link__icon{position:absolute;left:-4px;bottom:5px;margin-left:2px}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input input{max-width:169px;border:1px solid #555d66;border-radius:4px}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .block-editor-url-popover__link-viewer-url{padding-left:15px;padding-top:3px;max-width:179px;position:relative;margin-left:0}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button{width:40px;height:40px;padding:5px 0 5px 5px}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):focus{box-shadow:none}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.block-editor-media-placeholder__url-input-container{width:100%}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.components-form-file-upload .block-editor-media-placeholder__button{margin-left:4px}.block-editor-media-placeholder.is-appender{min-height:100px;outline:1px dashed #8d96a0}.block-editor-media-placeholder.is-appender:hover{outline:1px dashed #555d66;cursor:pointer}.is-dark-theme .block-editor-media-placeholder.is-appender:hover{outline:1px dashed #fff}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button{margin-left:4px}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:focus,.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:hover{box-shadow:none;border:1px solid #555d66}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-panel-color-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-settings.is-opened .block-editor-panel-color-settings__panel-title .component-color-indicator{display:none}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-responsive-block-control{margin-bottom:28px;border-bottom:1px solid #d7dade;padding-bottom:14px}.block-editor-responsive-block-control:last-child{padding-bottom:0;border-bottom:0}.block-editor-responsive-block-control__title{margin:0 -3px .6em 0}.block-editor-responsive-block-control__label{font-weight:600;margin-bottom:.6em;margin-right:-3px}.block-editor-responsive-block-control__inner{margin-right:-1px}.block-editor-responsive-block-control__toggle{margin-right:1px}.block-editor-responsive-block-control .components-base-control__help{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable [data-rich-text-placeholder]{pointer-events:none}.block-editor-rich-text__editable [data-rich-text-placeholder]:after{content:attr(data-rich-text-placeholder);opacity:.62}.block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]:after{display:none}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{min-width:auto}.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar{border:none}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-tool-selector__help{padding:16px;border-top:1px solid #e2e4e7;color:#6c7781}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-right:0;margin-left:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px}}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.has-border input[type=text],.block-editor-url-input.has-border input[type=text],.components-popover .block-editor-url-input.has-border input[type=text]{border:1px solid #555d66;border-radius:4px}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width input[type=text],.block-editor-url-input.is-full-width input[type=text],.components-popover .block-editor-url-input.is-full-width input[type=text]{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width__suggestions{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;left:8px;bottom:17px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:right;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-left:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;left:-1px;background:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__additional-controls{border-top:1px solid #e2e4e7}.block-editor-url-popover__additional-controls>div[role=menu] .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-icon-button{padding-right:2px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-icon-button{padding:3px}.block-editor-url-popover .components-icon-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-editor-url-popover .components-icon-button:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-right:1px solid #e2e4e7;margin-right:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(-180deg)}.block-editor-url-popover__input-container .components-base-control:last-child,.block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-url-popover__settings{display:block;padding:16px;border-top:1px solid #e2e4e7}.block-editor-url-popover__link-editor,.block-editor-url-popover__link-viewer{display:flex}.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field{margin-bottom:0}.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner{bottom:9px}.block-editor-url-popover__link-viewer-url{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-url-popover__link-viewer-url.has-invalid-link{color:#d94f4f}.block-editor-warning{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap;background-color:#fff;border:1px solid #e2e4e7;text-align:right;padding:10px 14px 14px}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4)}@media (min-width:600px){.is-selected .block-editor-warning{border-right-color:transparent}}.is-dark-theme .is-selected .block-editor-warning{border-color:hsla(0,0%,100%,.45)}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:1em 0}.block-editor-warning p.block-editor-warning__message.block-editor-warning__message{min-height:auto}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:baseline;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 0 0 6px}.block-editor-warning__secondary{margin:5px -4px 0 0;height:36px}.block-editor-warning__secondary .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-right:4px}.block-editor-warning__secondary .components-icon-button{padding:8px 4px}}.block-editor-warning__secondary .components-button svg{transform:rotate(-90deg)}.block-editor-writing-flow{display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{cursor:text}.html-anchor-control .components-external-link{display:block;margin-top:8px} \ No newline at end of file diff --git a/wp-includes/css/dist/block-editor/style.css b/wp-includes/css/dist/block-editor/style.css index f1ce298b85..0a1362beac 100644 --- a/wp-includes/css/dist/block-editor/style.css +++ b/wp-includes/css/dist/block-editor/style.css @@ -1,4 +1,3 @@ -@charset "UTF-8"; /** * Colors */ @@ -23,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -49,35 +45,35 @@ background: none; } .block-editor-block-drop-zone.is-close-to-top { border-top: 3px solid #0085ba; } - body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top{ + body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top { border-top: 3px solid #d1864a; } - body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top{ + body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top { border-top: 3px solid #a3b9a2; } - body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top{ + body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top { border-top: 3px solid #e14d43; } - body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top{ + body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top { border-top: 3px solid #a7b656; } - body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top{ + body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top { border-top: 3px solid #c2a68c; } - body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top{ + body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top { border-top: 3px solid #82b4cb; } - body.admin-color-light .block-editor-block-drop-zone.is-close-to-top{ + body.admin-color-light .block-editor-block-drop-zone.is-close-to-top { border-top: 3px solid #0085ba; } .block-editor-block-drop-zone.is-close-to-bottom { border-bottom: 3px solid #0085ba; } - body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom{ + body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom { border-bottom: 3px solid #d1864a; } - body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom{ + body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom { border-bottom: 3px solid #a3b9a2; } - body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom{ + body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom { border-bottom: 3px solid #e14d43; } - body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom{ + body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom { border-bottom: 3px solid #a7b656; } - body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom{ + body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom { border-bottom: 3px solid #c2a68c; } - body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom{ + body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom { border-bottom: 3px solid #82b4cb; } - body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom{ + body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom { border-bottom: 3px solid #0085ba; } .block-editor-block-drop-zone.is-appender.is-active.is-dragging-over-document { border-bottom: none; } @@ -98,6 +94,18 @@ max-width: 24px; max-height: 24px; } +.block-editor-block-inspector .components-base-control { + margin-bottom: 24px; } + .block-editor-block-inspector .components-base-control:last-child { + margin-bottom: 8px; } + +.block-editor-block-inspector .components-panel__body { + border: none; + border-top: 1px solid #e2e4e7; } + +.block-editor-block-inspector .block-editor-block-card { + padding: 16px; } + .block-editor-block-inspector__no-blocks { display: block; font-size: 13px; @@ -125,23 +133,24 @@ z-index: 1; } /** - * General layout + * General Post Content Layout */ -@media (min-width: 600px) { - .block-editor-block-list__layout { - padding-left: 46px; - padding-right: 46px; } } - -.block-editor-block-list__block .block-editor-block-list__layout { - padding-left: 0; - padding-right: 0; - margin-left: -14px; - margin-right: -14px; } +.block-editor-block-list__layout { + padding-left: 14px; + padding-right: 14px; } + @media (min-width: 600px) { + .block-editor-block-list__layout { + padding-left: 58px; + padding-right: 58px; } } + .block-editor-block-list__layout .block-editor-block-list__layout { + padding-left: 0; + padding-right: 0; } +/** + * Notices & Block Selected/Hover Styles. + */ .block-editor-block-list__layout .block-editor-block-list__block { position: relative; - padding-left: 14px; - padding-right: 14px; overflow-wrap: break-word; /** * Notices @@ -149,10 +158,6 @@ /** * Block border layout */ } - @media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block { - padding-left: 43px; - padding-right: 43px; } } .block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui { margin: -10px 20px 12px 20px; width: calc(100% - 40px); } @@ -166,6 +171,8 @@ font-size: 13px; } .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit { position: relative; } + .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit.has-mover-inside > [data-block] { + display: flex; } .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit::before { z-index: 0; content: ""; @@ -200,10 +207,6 @@ @media (min-width: 600px) { .block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode > .block-editor-block-list__block-edit::before { box-shadow: -3px 0 0 0 #007cba; } } - .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:not(.is-navigate-mode) > .block-editor-block-list__block-edit::before { - box-shadow: -3px 0 0 0 rgba(145, 151, 162, 0.25); } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:not(.is-navigate-mode) > .block-editor-block-list__block-edit::before { - box-shadow: -3px 0 0 0 rgba(255, 255, 255, 0.25); } .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) { opacity: 0.5; transition: opacity 0.1s linear; } @@ -212,68 +215,27 @@ transition-duration: 0s; } } .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block, .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused { opacity: 1; } - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit::before { - border: 1px dashed rgba(123, 134, 162, 0.3); } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit::before { - border-color: rgba(255, 255, 255, 0.3); } - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before, - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before, - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before { - border: 1px dashed rgba(123, 134, 162, 0.3); } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before, .is-dark-theme - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before, .is-dark-theme - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before { - border-color: rgba(255, 255, 255, 0.3); } - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected.is-hovered > .block-editor-block-list__block-edit::before, - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block.is-hovered:not(.is-selected) > .block-editor-block-list__block-edit::before, - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block.is-hovered:not(.is-selected) > .block-editor-block-list__block-edit::before, - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block.is-hovered:not(.is-selected) > .block-editor-block-list__block-edit::before { - border-style: solid; - border-color: rgba(145, 151, 162, 0.25); - border-left-color: transparent; } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected.is-hovered > .block-editor-block-list__block-edit::before, .is-dark-theme - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block.is-hovered:not(.is-selected) > .block-editor-block-list__block-edit::before, .is-dark-theme - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block.is-hovered:not(.is-selected) > .block-editor-block-list__block-edit::before, .is-dark-theme - .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block.is-hovered:not(.is-selected) > .block-editor-block-list__block-edit::before { - border-color: rgba(255, 255, 255, 0.25); - border-left-color: transparent; } - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before, - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before, - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before { - border: 1px dashed rgba(123, 134, 162, 0.3); } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before, .is-dark-theme - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before, .is-dark-theme - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block-edit::before { - border-color: rgba(255, 255, 255, 0.3); } - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected).is-hovered > .block-editor-block-list__block-edit::before, - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected).is-hovered > .block-editor-block-list__block-edit::before, - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected).is-hovered > .block-editor-block-list__block-edit::before { - border-style: solid; - border-color: rgba(145, 151, 162, 0.25); - border-left-color: transparent; } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected).is-hovered > .block-editor-block-list__block-edit::before, .is-dark-theme - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-cover__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected).is-hovered > .block-editor-block-list__block-edit::before, .is-dark-theme - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit > [data-block] > div > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block:not(.is-selected).is-hovered > .block-editor-block-list__block-edit::before { - border-color: rgba(255, 255, 255, 0.25); - border-left-color: transparent; } /** - * Cross-block selection + * Cross-Block Selection */ +.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { + border-left-color: rgba(66, 88, 99, 0.4); + box-shadow: inset 3px 0 0 0 #555d66; } + .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { + border-left-color: rgba(255, 255, 255, 0.45); + box-shadow: inset 3px 0 0 0 #d7dade; } + @media (min-width: 600px) { + .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { + box-shadow: -3px 0 0 0 #555d66; } + .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { + box-shadow: -3px 0 0 0 #d7dade; } } -.block-editor-block-list__layout .block-editor-block-list__block ::selection { - background-color: #b3e7fe; } +.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { + box-shadow: none; } -.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected *::selection { - background-color: transparent; } - -.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit::before { - background: #b3e7fe; - mix-blend-mode: multiply; - top: -14px; - bottom: -14px; } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit::before { - mix-blend-mode: soft-light; } +.block-editor-block-list__layout .components-placeholder ::selection { + background: transparent; } /** * Block styles and alignments @@ -297,10 +259,10 @@ .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::before { border-color: rgba(255, 255, 255, 0.35); } -.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit::before { +.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::before { border-color: rgba(66, 88, 99, 0.4); border-left-color: transparent; } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit::before { + .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::before { border-color: rgba(255, 255, 255, 0.45); } .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::after { @@ -332,17 +294,10 @@ .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter { animation-duration: 1ms; } } -.block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-block-list__block-edit::before { - border: 1px dashed rgba(145, 151, 162, 0.25); } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-block-list__block-edit::before { - border-color: rgba(255, 255, 255, 0.35); } - .block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected > .block-editor-block-list__block-edit::before { - border-color: rgba(66, 88, 99, 0.4); - border-left-color: transparent; } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected > .block-editor-block-list__block-edit::before { - border-color: rgba(255, 255, 255, 0.45); - border-left-color: transparent; } + border-left-color: transparent; + border-style: dashed; + border-width: 1px; } .block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay::after { display: none; } @@ -429,15 +384,13 @@ @media (min-width: 600px) { .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] .block-editor-block-toolbar { display: inline-flex; } } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] .block-editor-block-mover.is-visible + .block-editor-block-list__breadcrumb, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] .block-editor-block-mover.is-visible + .block-editor-block-list__breadcrumb { - top: -19px; } @media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar { + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar { /*!rtl:begin:ignore*/ left: 90px; /*!rtl:end:ignore*/ } } @media (min-width: 1080px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar { + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar { /*!rtl:begin:ignore*/ left: 14px; /*!rtl:end:ignore*/ } } @@ -446,23 +399,13 @@ .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { left: -13px; } -.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-list__breadcrumb { - left: 0; } - -@media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] { - margin-left: -45px; - margin-right: -45px; } } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit { margin-left: -14px; margin-right: -14px; } @media (min-width: 600px) { .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit { - margin-left: -44px; - margin-right: -44px; } } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit figure { - width: 100%; } + margin-left: -58px; + margin-right: -58px; } } .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit::before { left: 0; @@ -472,7 +415,7 @@ .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover { - left: 1px; } + left: 14px; } .block-editor-block-list__layout .block-editor-block-list__block[data-clear="true"] { float: none; } @@ -491,27 +434,7 @@ right: 8px; } /** - * Styles that affect inner-block containers (nested blocks). - */ -.block-editor-inner-blocks { - /* @todo: - The two rules above can be simplified & combined when https://github.com/WordPress/gutenberg/pull/14961 is merged, - into the following: - - .is-selected &, - .has-child-selected & { - display: block; - } - */ } - .block-editor-inner-blocks .block-editor-block-list__block + .block-list-appender { - display: none; } - .is-selected .block-editor-inner-blocks .block-editor-block-list__block + .block-list-appender { - display: block; } - .block-editor-inner-blocks .block-editor-block-list__block.is-selected + .block-list-appender { - display: block; } - -/** - * Left and right side UI; Unified toolbar on Mobile + * Left and right side UI; Unified toolbar on Mobile. */ .block-editor-block-list__block.is-multi-selected > .block-editor-block-mover, .block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover { @@ -526,19 +449,15 @@ .block-editor-block-list__block.is-multi-selected .block-editor-block-mover, .block-editor-block-list__block.is-selected .block-editor-block-mover, .block-editor-block-list__block.is-hovered .block-editor-block-mover { z-index: 61; } } -.block-editor-block-list__block.is-multi-selected > .block-editor-block-mover, -.block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover { - padding-right: 2px; +.block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover, +.block-editor-block-list__block.is-multi-selected > .block-editor-block-mover { left: -53px; display: none; } @media (min-width: 600px) { - .block-editor-block-list__block.is-multi-selected > .block-editor-block-mover, - .block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover { + .block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover, + .block-editor-block-list__block.is-multi-selected > .block-editor-block-mover { display: block; } } -.block-editor-block-list__block.is-multi-selected > .block-editor-block-mover { - left: -30px; } - /** * Mobile unified toolbar. */ @@ -608,25 +527,25 @@ right: 0; background: #0085ba; } -body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{ +body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator { background: #d1864a; } -body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{ +body.admin-color-ocean .block-editor-block-list__insertion-point-indicator { background: #a3b9a2; } -body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{ +body.admin-color-midnight .block-editor-block-list__insertion-point-indicator { background: #e14d43; } -body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{ +body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator { background: #a7b656; } -body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{ +body.admin-color-coffee .block-editor-block-list__insertion-point-indicator { background: #c2a68c; } -body.admin-color-blue .block-editor-block-list__insertion-point-indicator{ +body.admin-color-blue .block-editor-block-list__insertion-point-indicator { background: #82b4cb; } -body.admin-color-light .block-editor-block-list__insertion-point-indicator{ +body.admin-color-light .block-editor-block-list__insertion-point-indicator { background: #0085ba; } .block-editor-block-list__insertion-point-inserter { @@ -672,12 +591,8 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ top: -16px; height: 28px; bottom: auto; - left: 0; - right: 0; } - @media (min-width: 600px) { - .block-editor-block-list__block > .block-editor-block-list__insertion-point { - left: -1px; - right: -1px; } } + left: 14px; + right: 14px; } .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__insertion-point { left: 0; @@ -737,8 +652,8 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { box-shadow: none; } } - .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar .editor-block-toolbar, - .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar .editor-block-toolbar { + .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar, + .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar { border-left: none; } .block-editor-block-list__block .block-editor-block-contextual-toolbar { @@ -804,65 +719,33 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ top: 1px; } } /** - * Hover label + * Block Label for Navigation/Selection Mode */ .block-editor-block-list__breadcrumb { + display: block; position: absolute; line-height: 1; z-index: 22; - left: -17px; - top: -31px; } + left: -14px; + top: -51px; } .block-editor-block-list__breadcrumb .components-toolbar { - border: none; - line-height: 1; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - font-size: 11px; - padding: 4px 4px; - background: #e2e4e7; - color: #191e23; - transition: box-shadow 0.1s linear; } - @media (prefers-reduced-motion: reduce) { - .block-editor-block-list__breadcrumb .components-toolbar { - transition-duration: 0s; } } + display: flex; + background: #fff; + border: 1px solid #007cba; + border-left: none; + box-shadow: inset 3px 0 0 0 #007cba; + height: 38px; + font-size: 13px; + line-height: 29px; + padding-left: 8px; + padding-right: 8px; } .block-editor-block-list__breadcrumb .components-toolbar .components-button { - font-size: inherit; - line-height: inherit; - padding: 0; } + box-shadow: none; } .is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar { - background: #40464d; - color: #fff; } - [data-align="left"] .block-editor-block-list__breadcrumb { - left: 0; } - [data-align="right"] .block-editor-block-list__breadcrumb { - left: auto; - right: 0; } - .is-navigate-mode .block-editor-block-list__breadcrumb { - left: -14px; - top: -51px; } - .is-navigate-mode .block-editor-block-list__breadcrumb .components-toolbar { - background: #fff; - border: 1px solid #007cba; - border-left: none; - box-shadow: inset 3px 0 0 0 #007cba; - height: 38px; - font-size: 13px; - line-height: 29px; - padding-left: 8px; - padding-right: 8px; } - .is-navigate-mode .block-editor-block-list__breadcrumb .components-toolbar .components-button { - box-shadow: none; } - .is-dark-theme .is-navigate-mode .block-editor-block-list__breadcrumb .components-toolbar { - border-color: rgba(255, 255, 255, 0.45); } - @media (min-width: 600px) { - .is-navigate-mode .block-editor-block-list__breadcrumb .components-toolbar { - box-shadow: -3px 0 0 0 #007cba; } } - -.block-editor-block-list__descendant-arrow::before { - content: "→"; - display: inline-block; - padding: 0 4px; } - .rtl .block-editor-block-list__descendant-arrow::before { - content: "←"; } + border-color: rgba(255, 255, 255, 0.45); } + @media (min-width: 600px) { + .block-editor-block-list__breadcrumb .components-toolbar { + box-shadow: -3px 0 0 0 #007cba; } } @media (min-width: 600px) { .block-editor-block-list__block::before { @@ -889,13 +772,45 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ margin-bottom: auto; } .block-editor-block-list__block .block-list-appender { - margin: 14px; } + margin: 14px 0; } .has-background .block-editor-block-list__block .block-list-appender { margin: 32px 14px; } .block-list-appender > .block-editor-inserter { display: block; } +.block-editor-block-breadcrumb { + list-style: none; + padding: 0; + margin: 0; } + .block-editor-block-breadcrumb li { + display: inline-block; + margin: 0; } + .block-editor-block-breadcrumb li:not(:last-child)::after { + content: "\2192"; } + +.block-editor-block-breadcrumb__button.components-button { + height: 24px; + line-height: 24px; + padding: 0; } + .block-editor-block-breadcrumb__button.components-button:hover { + text-decoration: underline; } + .block-editor-block-breadcrumb__button.components-button:focus { + color: #191e23; + outline-offset: -1px; + outline: 1px dotted #555d66; + outline-offset: -2px; + box-shadow: none; } + +.block-editor-block-breadcrumb__current { + cursor: default; } + +.block-editor-block-breadcrumb__button.components-button, +.block-editor-block-breadcrumb__current { + color: #555d66; + padding: 0 8px; + font-size: inherit; } + .block-editor-block-card { display: flex; align-items: flex-start; } @@ -978,14 +893,34 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ font-weight: 400; margin: 0.67em 0; } +.block-editor-block-mobile-toolbar { + display: flex; + flex-direction: row; + border-right: 1px solid #e2e4e7; } + .block-editor-block-mobile-toolbar .block-editor-block-mover__control { + width: 36px; + height: 36px; + border-radius: 4px; + padding: 3px; + margin: 0; + justify-content: center; + align-items: center; } + .block-editor-block-mobile-toolbar .block-editor-block-mover__control .dashicon { + margin: auto; } + .block-editor-block-mobile-toolbar .block-editor-block-mover { + display: flex; + margin-right: auto; } + .block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control { + float: left; } + @media (min-width: 600px) { .block-editor-block-mover { - min-height: 56px; opacity: 0; background: #fff; border: 1px solid rgba(66, 88, 99, 0.4); border-radius: 4px; - transition: box-shadow 0.2s ease-out; } } + transition: box-shadow 0.2s ease-out; + margin-top: -8px; } } @media (min-width: 600px) and (prefers-reduced-motion: reduce) { .block-editor-block-mover { transition-duration: 0s; } } @@ -1000,9 +935,26 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ @media (min-width: 600px) { .block-editor-block-mover:hover { - box-shadow: 0 2px 10px rgba(25, 30, 35, 0.1), 0 0 2px rgba(25, 30, 35, 0.1); } - .block-editor-block-list__block:not([data-align="wide"]):not([data-align="full"]) .block-editor-block-mover { - margin-top: -8px; } } + box-shadow: 0 2px 10px rgba(25, 30, 35, 0.1), 0 0 2px rgba(25, 30, 35, 0.1); } } + +.block-editor-block-mover.is-horizontal { + margin-top: 5px; + margin-right: 8px; + padding-right: 0; + min-height: auto; + width: 50px; + height: 26px; + display: flex; } + .block-editor-block-mover.is-horizontal .block-editor-block-mover__control { + width: 24px; + height: 24px; } + .block-editor-block-mover.is-horizontal .block-editor-block-mover__control svg { + width: 24px; + padding: 3px; } + +@media (min-width: 600px) { + .block-editor-block-list__block:not([data-align="wide"]):not([data-align="full"]) .editor-block-mover:not(.is-horizontal) { + margin-top: 0; } } .block-editor-block-mover__control { display: flex; @@ -1057,6 +1009,26 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ padding: 0; margin: 0; } +.block-editor-block-navigation__list .block-editor-button-block-appender { + outline: none; + background: none; + padding: 8px; + margin-left: 0.8em; + width: 36px; + border-radius: 4px; } + .block-editor-block-navigation__list .block-editor-button-block-appender:hover:not(:disabled):not([aria-disabled="true"]) { + color: #191e23; + border: none; + box-shadow: none; + background: #f3f4f5; + outline: none; } + .block-editor-block-navigation__list .block-editor-button-block-appender:focus:not(:disabled):not([aria-disabled="true"]) { + color: #191e23; + border: none; + box-shadow: none; + outline-offset: -2px; + outline: 1px dotted #555d66; } + .block-editor-block-navigation__list .block-editor-block-navigation__list { margin-top: 2px; border-left: 2px solid #a2aab2; @@ -1115,6 +1087,48 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ .components-popover.block-editor-block-navigation__popover { z-index: 99998; } +.block-editor-block-pattern-picker .components-placeholder__instructions { + margin-bottom: 0; } + +.block-editor-block-pattern-picker .components-placeholder__fieldset { + flex-direction: column; } + +.block-editor-block-pattern-picker.has-many-patterns .components-placeholder__fieldset { + max-width: 90%; } + +.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns { + display: flex; + justify-content: center; + flex-direction: row; + flex-wrap: wrap; + width: 100%; + margin: 4px 0; + list-style: none; } + .block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns > li { + list-style: none; + margin: 8px; + flex-shrink: 1; + max-width: 100px; } + .block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns .block-editor-block-pattern-picker__pattern { + padding: 8px; } + +.block-editor-block-pattern-picker__pattern { + width: 100%; } + .block-editor-block-pattern-picker__pattern.components-icon-button { + justify-content: center; } + .block-editor-block-pattern-picker__pattern.components-icon-button.is-default { + background-color: #fff; } + .block-editor-block-pattern-picker__pattern.components-button { + height: auto; + padding: 0; } + .block-editor-block-pattern-picker__pattern::before { + content: ""; + padding-bottom: 100%; } + .block-editor-block-pattern-picker__pattern:first-child { + margin-left: 0; } + .block-editor-block-pattern-picker__pattern:last-child { + margin-right: 0; } + .block-editor-block-preview__container { position: relative; width: 100%; @@ -1272,7 +1286,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; outline: 2px solid transparent; } -.components-popover:not(.is-mobile).block-editor-block-switcher__popover .components-popover__content { +.components-popover.block-editor-block-switcher__popover .components-popover__content { min-width: 300px; max-width: calc(340px * 2); display: flex; @@ -1349,7 +1363,8 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ border-color: #e2e4e7; } .block-editor-block-toolbar__slot { - display: inline-block; } + display: inline-block; + line-height: 0; } @supports ((position: -webkit-sticky) or (position: sticky)) { .block-editor-block-toolbar__slot { display: inline-flex; } } @@ -1385,10 +1400,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ .is-dark-theme .block-editor-button-block-appender:hover, .is-dark-theme .block-editor-button-block-appender:focus { outline: 1px dashed #fff; } -.block-editor-color-palette-control__color-palette { - display: inline-block; - margin-top: 0.6rem; } - .block-editor-contrast-checker > .components-notice { margin: 0; } @@ -1503,6 +1514,157 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ height: 100%; right: 0; } } +.block-editor-link-control__search { + position: relative; + min-width: 360px; } + +.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] { + width: calc(100% - 32px); + display: block; + padding: 11px 16px; + margin: 16px; + padding-right: 38px; + position: relative; + z-index: 1; + border: 1px solid #e1e1e1; + border-radius: 4px; + /* Fonts smaller than 16px causes mobile safari to zoom. */ + font-size: 16px; } + @media (min-width: 600px) { + .block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] { + font-size: 13px; } } + .block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]:focus { + color: #191e23; + border-color: #007cba; + box-shadow: 0 0 0 1px #007cba; + outline: 2px solid transparent; } + +.block-editor-link-control__search-reset { + position: absolute; + top: 19px; + right: 19px; + z-index: 10; } + +.block-editor-link-control__search-results-wrapper { + position: relative; + margin-top: -15px; } + .block-editor-link-control__search-results-wrapper::before, .block-editor-link-control__search-results-wrapper::after { + content: ""; + position: absolute; + left: -1px; + right: 16px; + display: block; + pointer-events: none; + z-index: 100; } + .block-editor-link-control__search-results-wrapper::before { + height: 8px; + top: 0; + bottom: auto; + background: linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 100%); } + .block-editor-link-control__search-results-wrapper::after { + height: 16px; + bottom: 0; + top: auto; + background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 100%); } + +.block-editor-link-control__search-results { + margin: 0; + padding: 8px 16px 16px; + max-height: 200px; + overflow-y: scroll; } + .block-editor-link-control__search-results.is-loading { + opacity: 0.2; } + +.block-editor-link-control__search-item { + position: relative; + display: flex; + align-items: center; + font-size: 13px; + cursor: pointer; + background: #fff; + width: 100%; + border: none; + text-align: left; + padding: 10px 15px; + border-radius: 5px; } + .block-editor-link-control__search-item:hover, .block-editor-link-control__search-item:focus { + background-color: #e9e9e9; } + .block-editor-link-control__search-item.is-selected { + background: #f2f2f2; } + .block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type { + background: #fff; } + .block-editor-link-control__search-item.is-current { + background: transparent; + border: 0; + width: 100%; + cursor: default; + padding: 16px; + padding-left: 24px; } + .block-editor-link-control__search-item .block-editor-link-control__search-item-header { + display: block; + margin-right: 24px; } + .block-editor-link-control__search-item .block-editor-link-control__search-item-icon { + margin-right: 1em; + min-width: 24px; } + .block-editor-link-control__search-item .block-editor-link-control__search-item-info, + .block-editor-link-control__search-item .block-editor-link-control__search-item-title { + text-overflow: ellipsis; + max-width: 230px; + overflow: hidden; + white-space: nowrap; } + .block-editor-link-control__search-item .block-editor-link-control__search-item-title { + display: block; + margin-bottom: 0.2em; + font-weight: 500; } + .block-editor-link-control__search-item .block-editor-link-control__search-item-title mark { + font-weight: 700; + color: #000; + background-color: transparent; } + .block-editor-link-control__search-item .block-editor-link-control__search-item-title span { + font-weight: normal; } + .block-editor-link-control__search-item .block-editor-link-control__search-item-info { + display: block; + color: #999; + font-size: 0.9em; + line-height: 1.3; } + .block-editor-link-control__search-item .block-editor-link-control__search-item-type { + display: block; + padding: 3px 8px; + margin-left: auto; + font-size: 0.9em; + background-color: #f3f4f5; + border-radius: 2px; } + +.block-editor-link-control__search-results div[role="menu"] > .block-editor-link-control__search-item.block-editor-link-control__search-item { + padding: 10px; } + +.block-editor-link-control__settings { + border-top: 1px solid #e1e1e1; + margin: 0; + padding: 16px 24px; } + .block-editor-link-control__settings :last-child { + margin-bottom: 0; } + +.block-editor-link-control__setting { + margin-bottom: 16px; } + .block-editor-link-control__setting :last-child { + margin-bottom: 0; } + +.block-editor-link-control .block-editor-link-control__search-input .components-spinner { + display: block; + z-index: 100; + float: none; } + .block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner { + position: absolute; + top: 27px; + left: auto; + right: 60px; + bottom: 0; } + +.block-editor-link-control__search-item-action { + margin-left: auto; + flex-shrink: 0; } + .block-editor-inner-blocks.has-overlay::after { content: ""; position: absolute; @@ -1516,48 +1678,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ right: 0; left: 0; } -.block-editor-inner-blocks__template-picker .components-placeholder__instructions { - margin-bottom: 0; } - -.block-editor-inner-blocks__template-picker .components-placeholder__fieldset { - flex-direction: column; } - -.block-editor-inner-blocks__template-picker.has-many-options .components-placeholder__fieldset { - max-width: 90%; } - -.block-editor-inner-blocks__template-picker-options.block-editor-inner-blocks__template-picker-options { - display: flex; - justify-content: center; - flex-direction: row; - flex-wrap: wrap; - width: 100%; - margin: 4px 0; - list-style: none; } - .block-editor-inner-blocks__template-picker-options.block-editor-inner-blocks__template-picker-options > li { - list-style: none; - margin: 8px; - flex-shrink: 1; - max-width: 100px; } - .block-editor-inner-blocks__template-picker-options.block-editor-inner-blocks__template-picker-options .block-editor-inner-blocks__template-picker-option { - padding: 8px; } - -.block-editor-inner-blocks__template-picker-option { - width: 100%; } - .block-editor-inner-blocks__template-picker-option.components-icon-button { - justify-content: center; } - .block-editor-inner-blocks__template-picker-option.components-icon-button.is-default { - background-color: #fff; } - .block-editor-inner-blocks__template-picker-option.components-button { - height: auto; - padding: 0; } - .block-editor-inner-blocks__template-picker-option::before { - content: ""; - padding-bottom: 100%; } - .block-editor-inner-blocks__template-picker-option:first-child { - margin-left: 0; } - .block-editor-inner-blocks__template-picker-option:last-child { - margin-right: 0; } - .block-editor-inserter-with-shortcuts { display: flex; align-items: center; } @@ -1589,7 +1709,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ position: relative; } } @media (min-width: 782px) { - .block-editor-inserter__popover:not(.is-mobile) > .components-popover__content { + .block-editor-inserter__popover > .components-popover__content { overflow-y: visible; height: 432px; } } @@ -1777,7 +1897,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ padding: 0; margin: 0 0 12px; } -.block-editor-block-types-list__item { +.components-button.block-editor-block-types-list__item { display: flex; flex-direction: column; width: 100%; @@ -1794,12 +1914,12 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ transition: all 0.05s ease-in-out; position: relative; } @media (prefers-reduced-motion: reduce) { - .block-editor-block-types-list__item { + .components-button.block-editor-block-types-list__item { transition-duration: 0s; } } - .block-editor-block-types-list__item:disabled { + .components-button.block-editor-block-types-list__item:disabled { opacity: 0.6; cursor: default; } - .block-editor-block-types-list__item:not(:disabled):hover::before { + .components-button.block-editor-block-types-list__item:not(:disabled):hover::before { content: ""; display: block; background: #f3f4f5; @@ -1811,24 +1931,25 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ right: 0; bottom: 0; left: 0; } - .block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon, - .block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title { + .components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon, + .components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title { color: inherit; } - .block-editor-block-types-list__item:not(:disabled):active, .block-editor-block-types-list__item:not(:disabled):focus { + .components-button.block-editor-block-types-list__item:not(:disabled):active, .components-button.block-editor-block-types-list__item:not(:disabled):focus { position: relative; color: #191e23; box-shadow: 0 0 0 1px #fff, 0 0 0 3px #00a0d2; - outline: 2px solid transparent; } - .block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon, - .block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title, .block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon, - .block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title { + outline: 2px solid transparent; + background: transparent; } + .components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon, + .components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title, .components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon, + .components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title { color: inherit; } - .block-editor-block-types-list__item:not(:disabled).is-active { + .components-button.block-editor-block-types-list__item:not(:disabled).is-active { color: #191e23; box-shadow: inset 0 0 0 2px #555d66; outline: 2px solid transparent; outline-offset: -2px; } - .block-editor-block-types-list__item:not(:disabled).is-active:focus { + .components-button.block-editor-block-types-list__item:not(:disabled).is-active:focus { color: #191e23; box-shadow: 0 0 0 1px #fff, 0 0 0 3px #00a0d2, inset 0 0 0 2px #555d66; outline: 4px solid transparent; @@ -1854,6 +1975,53 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ .block-editor-block-types-list__item-title { padding: 4px 2px 8px; } +.media-replace-flow .components-dropdown-menu__indicator { + margin-left: 4px; } + .media-replace-flow .components-dropdown-menu__indicator .components-dropdown-menu.media-flow_toolbar .components-dropdown-menu__label { + margin-right: 6px; + margin-left: 2px; } + +.media-replace-flow__options.components-popover:not(.is-mobile) .components-popover__content { + overflow-x: hidden; } + +.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input { + padding: 0 15px 10px 25px; } + .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-external-link__icon { + position: absolute; + right: -4px; + bottom: 5px; + margin-right: 2px; } + .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input input { + max-width: 169px; + border: 1px solid #555d66; + border-radius: 4px; } + .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .block-editor-url-popover__link-viewer-url { + padding-right: 15px; + padding-top: 3px; + max-width: 179px; + position: relative; + margin-right: 0; } + .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button { + padding: 5px; + width: 40px; + height: 40px; + padding-left: 0; } + .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button > svg { + padding: 5px; + border-radius: 4px; + height: 30px; + width: 30px; } + .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + box-shadow: none; } + .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover > svg { + color: #555d66; + box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; } + .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):focus { + box-shadow: none; } + .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):focus > svg { + box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; + outline: 2px solid transparent; } + .block-editor-media-placeholder__url-input-container { width: 100%; } .block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button { @@ -1906,7 +2074,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ .block-editor-multi-selection-inspector__card { display: flex; align-items: flex-start; - margin: -16px; padding: 16px; } .block-editor-multi-selection-inspector__card-content { @@ -1946,20 +2113,46 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ margin: 0; width: 100%; } -.block-editor-format-toolbar { - display: flex; - flex-shrink: 0; } +.block-editor-responsive-block-control { + margin-bottom: 28px; + border-bottom: 1px solid #d7dade; + padding-bottom: 14px; } + .block-editor-responsive-block-control:last-child { + padding-bottom: 0; + border-bottom: 0; } -.block-editor-format-toolbar__selection-position { +.block-editor-responsive-block-control__title { + margin: 0; + margin-bottom: 0.6em; + margin-left: -3px; } + +.block-editor-responsive-block-control__label { + font-weight: 600; + margin-bottom: 0.6em; + margin-left: -3px; } + +.block-editor-responsive-block-control__inner { + margin-left: -1px; } + +.block-editor-responsive-block-control__toggle { + margin-left: 1px; } + +.block-editor-responsive-block-control .components-base-control__help { + border: 0; + clip: rect(1px, 1px, 1px, 1px); + -webkit-clip-path: inset(50%); + clip-path: inset(50%); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; position: absolute; - transform: translateX(-50%); } + width: 1px; + word-wrap: normal !important; } .block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator::after { margin: 7px; } -.block-editor-rich-text { - position: relative; } - .block-editor-rich-text__editable > p:first-child { margin-top: 0; } @@ -1973,8 +2166,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ background: #f3f4f5; font-family: Menlo, Consolas, monaco, monospace; font-size: inherit; } - .is-multi-selected .block-editor-rich-text__editable code { - background: #67cffd; } .block-editor-rich-text__editable:focus { outline: none; } @@ -1994,17 +2185,12 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before { opacity: 0.8; } -.block-editor-rich-text__inline-toolbar { - display: flex; - justify-content: center; - position: absolute; - top: -40px; - line-height: 0; - left: 0; - right: 0; - z-index: 1; } - .block-editor-rich-text__inline-toolbar ul.components-toolbar { - box-shadow: 0 2px 10px rgba(25, 30, 35, 0.1), 0 0 2px rgba(25, 30, 35, 0.1); } +.components-popover.block-editor-rich-text__inline-format-toolbar { + z-index: 99998; } + .components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content { + min-width: auto; } + .components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar { + border: none; } .block-editor-skip-to-selected-block { position: absolute; @@ -2023,21 +2209,26 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before text-decoration: none; outline: none; z-index: 100000; } - body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{ + body.admin-color-sunrise .block-editor-skip-to-selected-block:focus { color: #c8b03c; } - body.admin-color-ocean .block-editor-skip-to-selected-block:focus{ + body.admin-color-ocean .block-editor-skip-to-selected-block:focus { color: #a89d8a; } - body.admin-color-midnight .block-editor-skip-to-selected-block:focus{ + body.admin-color-midnight .block-editor-skip-to-selected-block:focus { color: #77a6b9; } - body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{ + body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus { color: #c77430; } - body.admin-color-coffee .block-editor-skip-to-selected-block:focus{ + body.admin-color-coffee .block-editor-skip-to-selected-block:focus { color: #9fa47b; } - body.admin-color-blue .block-editor-skip-to-selected-block:focus{ + body.admin-color-blue .block-editor-skip-to-selected-block:focus { color: #d9ab59; } - body.admin-color-light .block-editor-skip-to-selected-block:focus{ + body.admin-color-light .block-editor-skip-to-selected-block:focus { color: #c75726; } +.block-editor-tool-selector__help { + padding: 16px; + border-top: 1px solid #e2e4e7; + color: #6c7781; } + .block-editor-block-list__block .block-editor-url-input, .components-popover .block-editor-url-input, .block-editor-url-input { @@ -2091,7 +2282,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before .block-editor-url-input .components-spinner { position: absolute; right: 8px; - top: 9px; + bottom: 17px; margin: 0; } .block-editor-url-input__suggestions { @@ -2130,19 +2321,19 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before background: rgb(0, 113, 158); color: #fff; outline: none; } - body.admin-color-sunrise .block-editor-url-input__suggestion:focus, body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected{ + body.admin-color-sunrise .block-editor-url-input__suggestion:focus, body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected { background: rgb(178, 114, 63); } - body.admin-color-ocean .block-editor-url-input__suggestion:focus, body.admin-color-ocean .block-editor-url-input__suggestion.is-selected{ + body.admin-color-ocean .block-editor-url-input__suggestion:focus, body.admin-color-ocean .block-editor-url-input__suggestion.is-selected { background: rgb(139, 157, 138); } - body.admin-color-midnight .block-editor-url-input__suggestion:focus, body.admin-color-midnight .block-editor-url-input__suggestion.is-selected{ + body.admin-color-midnight .block-editor-url-input__suggestion:focus, body.admin-color-midnight .block-editor-url-input__suggestion.is-selected { background: rgb(191, 65, 57); } - body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus, body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected{ + body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus, body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected { background: rgb(142, 155, 73); } - body.admin-color-coffee .block-editor-url-input__suggestion:focus, body.admin-color-coffee .block-editor-url-input__suggestion.is-selected{ + body.admin-color-coffee .block-editor-url-input__suggestion:focus, body.admin-color-coffee .block-editor-url-input__suggestion.is-selected { background: rgb(165, 141, 119); } - body.admin-color-blue .block-editor-url-input__suggestion:focus, body.admin-color-blue .block-editor-url-input__suggestion.is-selected{ + body.admin-color-blue .block-editor-url-input__suggestion:focus, body.admin-color-blue .block-editor-url-input__suggestion.is-selected { background: rgb(111, 153, 173); } - body.admin-color-light .block-editor-url-input__suggestion:focus, body.admin-color-light .block-editor-url-input__suggestion.is-selected{ + body.admin-color-light .block-editor-url-input__suggestion:focus, body.admin-color-light .block-editor-url-input__suggestion.is-selected { background: rgb(0, 113, 158); } .components-toolbar > .block-editor-url-input__button { @@ -2218,17 +2409,24 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before .block-editor-url-popover__settings-toggle[aria-expanded="true"] .dashicon { transform: rotate(180deg); } +.block-editor-url-popover__input-container .components-base-control:last-child, +.block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field { + margin-bottom: 0; } + .block-editor-url-popover__settings { display: block; padding: 16px; border-top: 1px solid #e2e4e7; } - .block-editor-url-popover__settings .components-base-control:last-child, - .block-editor-url-popover__settings .components-base-control:last-child .components-base-control__field { - margin-bottom: 0; } .block-editor-url-popover__link-editor, .block-editor-url-popover__link-viewer { display: flex; } + .block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field, + .block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field { + margin-bottom: 0; } + .block-editor-url-popover__link-editor .block-editor-url-input .components-spinner, + .block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner { + bottom: 9px; } .block-editor-url-popover__link-viewer-url { margin: 7px; @@ -2251,8 +2449,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before border: 1px solid #e2e4e7; text-align: left; padding: 10px 14px 14px; } - .has-warning.is-multi-selected .block-editor-warning { - background-color: transparent; } .is-selected .block-editor-warning { border-color: rgba(66, 88, 99, 0.4); } @media (min-width: 600px) { diff --git a/wp-includes/css/dist/block-editor/style.min.css b/wp-includes/css/dist/block-editor/style.min.css index 67ed7d1e1f..592bee080c 100644 --- a/wp-includes/css/dist/block-editor/style.min.css +++ b/wp-includes/css/dist/block-editor/style.min.css @@ -1,4 +1,4 @@ -@charset "UTF-8";.block-editor-block-drop-zone{border:none;border-radius:0}.block-editor-block-drop-zone .components-drop-zone__content,.block-editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content{display:none}.block-editor-block-drop-zone.is-close-to-bottom,.block-editor-block-drop-zone.is-close-to-top{background:none}.block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}.block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}.block-editor-block-drop-zone.is-appender.is-active.is-dragging-over-document{border-bottom:none}.block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-list__layout .components-draggable__clone .block-editor-block-contextual-toolbar{display:none!important}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-list__block-edit:before{border:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*{background:#f8f9f9}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*>*{visibility:hidden}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-mover{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit .reusable-block-edit-panel *{z-index:1}@media (min-width:600px){.block-editor-block-list__layout{padding-left:46px;padding-right:46px}}.block-editor-block-list__block .block-editor-block-list__layout{padding-left:0;padding-right:0;margin-left:-14px;margin-right:-14px}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;padding-left:14px;padding-right:14px;overflow-wrap:break-word}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block{padding-left:43px;padding-right:43px}}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 20px 12px;width:calc(100% - 40px)}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui{margin:0 0 12px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice{margin-left:0;margin-right:0}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit{position:relative}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{z-index:0;content:"";position:absolute;border:1px solid transparent;border-left:none;box-shadow:none;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;outline:1px solid transparent;right:-14px;left:-14px;top:-14px;bottom:-14px}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4);box-shadow:inset 3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45);box-shadow:inset 3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:-3px 0 0 0 #d7dade}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode>.block-editor-block-list__block-edit:before{border-color:#007cba;box-shadow:inset 3px 0 0 0 #007cba}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode>.block-editor-block-list__block-edit:before{box-shadow:-3px 0 0 0 #007cba}}.block-editor-block-list__layout .block-editor-block-list__block.is-hovered:not(.is-navigate-mode)>.block-editor-block-list__block-edit:before{box-shadow:-3px 0 0 0 rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:not(.is-navigate-mode)>.block-editor-block-list__block-edit:before{box-shadow:-3px 0 0 0 hsla(0,0%,100%,.25)}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block{opacity:1}.block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit:before{border:1px dashed rgba(123,134,162,.3)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.3)}.block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before{border:1px dashed rgba(123,134,162,.3)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.3)}.block-editor-block-list__layout .block-editor-block-list__block.has-child-selected.is-hovered>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block.is-hovered:not(.is-selected)>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block.is-hovered:not(.is-selected)>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block.is-hovered:not(.is-selected)>.block-editor-block-list__block-edit:before{border-style:solid;border-color:rgba(145,151,162,.25) rgba(145,151,162,.25) rgba(145,151,162,.25) transparent}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected.is-hovered>.block-editor-block-list__block-edit:before,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block.is-hovered:not(.is-selected)>.block-editor-block-list__block-edit:before,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block.is-hovered:not(.is-selected)>.block-editor-block-list__block-edit:before,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block.is-hovered:not(.is-selected)>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.25) hsla(0,0%,100%,.25) hsla(0,0%,100%,.25) transparent}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before{border:1px dashed rgba(123,134,162,.3)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected)>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.3)}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected).is-hovered>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected).is-hovered>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected).is-hovered>.block-editor-block-list__block-edit:before{border-style:solid;border-color:rgba(145,151,162,.25) rgba(145,151,162,.25) rgba(145,151,162,.25) transparent}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected).is-hovered>.block-editor-block-list__block-edit:before,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected).is-hovered>.block-editor-block-list__block-edit:before,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit>[data-block]>div>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block:not(.is-selected).is-hovered>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.25) hsla(0,0%,100%,.25) hsla(0,0%,100%,.25) transparent}.block-editor-block-list__layout .block-editor-block-list__block ::selection{background-color:#b3e7fe}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected ::selection{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit:before{background:#b3e7fe;mix-blend-mode:multiply;top:-14px;bottom:-14px}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit:before{mix-blend-mode:soft-light}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:rgba(145,151,162,.25);border-left:1px solid rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4) rgba(66,88,99,.4) rgba(66,88,99,.4) transparent}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;right:-14px;left:-14px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected .block-editor-block-list__block-edit:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:22px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:-14px}}.block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__side-inserter{opacity:0;animation:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation-duration:1ms}}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit:before{border:1px dashed rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected>.block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4) rgba(66,88,99,.4) rgba(66,88,99,.4) transparent}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45) hsla(0,0%,100%,.45) hsla(0,0%,100%,.45) transparent}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay .block-editor-inner-blocks.has-overlay:after{display:block}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left],.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]{z-index:21;width:100%;height:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit{margin-top:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{width:auto;border-bottom:1px solid #b5bcc2;bottom:auto}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{border-bottom:none}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{left:0;right:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{left:auto;right:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{top:14px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left]>.block-editor-block-list__block-edit{ +.block-editor-block-drop-zone{border:none;border-radius:0}.block-editor-block-drop-zone .components-drop-zone__content,.block-editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content{display:none}.block-editor-block-drop-zone.is-close-to-bottom,.block-editor-block-drop-zone.is-close-to-top{background:none}.block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}.block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}.block-editor-block-drop-zone.is-appender.is-active.is-dragging-over-document{border-bottom:none}.block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector .components-base-control{margin-bottom:24px}.block-editor-block-inspector .components-base-control:last-child{margin-bottom:8px}.block-editor-block-inspector .components-panel__body{border:none;border-top:1px solid #e2e4e7}.block-editor-block-inspector .block-editor-block-card{padding:16px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-list__layout .components-draggable__clone .block-editor-block-contextual-toolbar{display:none!important}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-list__block-edit:before{border:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*{background:#f8f9f9}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*>*{visibility:hidden}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-mover{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit .reusable-block-edit-panel *{z-index:1}.block-editor-block-list__layout{padding-left:14px;padding-right:14px}@media (min-width:600px){.block-editor-block-list__layout{padding-left:58px;padding-right:58px}}.block-editor-block-list__layout .block-editor-block-list__layout{padding-left:0;padding-right:0}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;overflow-wrap:break-word}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 20px 12px;width:calc(100% - 40px)}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui{margin:0 0 12px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice{margin-left:0;margin-right:0}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit{position:relative}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit.has-mover-inside>[data-block]{display:flex}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{z-index:0;content:"";position:absolute;border:1px solid transparent;border-left:none;box-shadow:none;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;outline:1px solid transparent;right:-14px;left:-14px;top:-14px;bottom:-14px}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4);box-shadow:inset 3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45);box-shadow:inset 3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:-3px 0 0 0 #d7dade}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode>.block-editor-block-list__block-edit:before{border-color:#007cba;box-shadow:inset 3px 0 0 0 #007cba}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode>.block-editor-block-list__block-edit:before{box-shadow:-3px 0 0 0 #007cba}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block{opacity:1}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{border-left-color:rgba(66,88,99,.4);box-shadow:inset 3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{border-left-color:hsla(0,0%,100%,.45);box-shadow:inset 3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{box-shadow:-3px 0 0 0 #d7dade}}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{box-shadow:none}.block-editor-block-list__layout .components-placeholder ::selection{background:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:rgba(145,151,162,.25);border-left:1px solid rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4) rgba(66,88,99,.4) rgba(66,88,99,.4) transparent}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;right:-14px;left:-14px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected .block-editor-block-list__block-edit:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:22px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:-14px}}.block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__side-inserter{opacity:0;animation:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation-duration:1ms}}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected>.block-editor-block-list__block-edit:before{border-left:transparent;border-width:1px;border-style:dashed}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay .block-editor-inner-blocks.has-overlay:after{display:block}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left],.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]{z-index:21;width:100%;height:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit{margin-top:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{width:auto;border-bottom:1px solid #b5bcc2;bottom:auto}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{border-bottom:none}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{left:0;right:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{left:auto;right:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{top:14px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left]>.block-editor-block-list__block-edit{ /*!rtl:begin:ignore*/float:left;margin-right:2em /*!rtl:end:ignore*/}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-toolbar{ /*!rtl:begin:ignore*/left:14px;right:auto @@ -6,8 +6,8 @@ /*!rtl:begin:ignore*/float:right;margin-left:2em /*!rtl:end:ignore*/}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-toolbar{ /*!rtl:begin:ignore*/right:14px;left:auto - /*!rtl:end:ignore*/}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both;z-index:20}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{top:-46px;bottom:auto;min-height:0;height:auto;width:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover .block-editor-block-mover__control{float:left}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full] .block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide] .block-editor-block-toolbar{display:inline-flex}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full] .block-editor-block-mover.is-visible+.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide] .block-editor-block-mover.is-visible+.block-editor-block-list__breadcrumb{top:-19px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar{ + /*!rtl:end:ignore*/}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both;z-index:20}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{top:-46px;bottom:auto;min-height:0;height:auto;width:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover .block-editor-block-mover__control{float:left}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full] .block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide] .block-editor-block-toolbar{display:inline-flex}}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar{ /*!rtl:begin:ignore*/left:90px - /*!rtl:end:ignore*/}}@media (min-width:1080px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar{ + /*!rtl:end:ignore*/}}@media (min-width:1080px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar{ /*!rtl:begin:ignore*/left:14px - /*!rtl:end:ignore*/}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{left:-13px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb{left:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-left:-45px;margin-right:-45px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-left:-14px;margin-right:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-left:-44px;margin-right:-44px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit figure{width:100%}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit:before{left:0;right:0;border-left-width:0;border-right-width:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover{left:1px}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-inserter-with-shortcuts{display:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{left:auto;right:8px}.block-editor-inner-blocks .block-editor-block-list__block+.block-list-appender{display:none}.is-selected .block-editor-inner-blocks .block-editor-block-list__block+.block-list-appender{display:block}.block-editor-inner-blocks .block-editor-block-list__block.is-selected+.block-list-appender{display:block}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{position:absolute;width:30px}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{top:-15px}@media (min-width:600px){.block-editor-block-list__block.is-hovered .block-editor-block-mover,.block-editor-block-list__block.is-multi-selected .block-editor-block-mover,.block-editor-block-list__block.is-selected .block-editor-block-mover{z-index:61}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{padding-right:2px;left:-53px;display:none}@media (min-width:600px){.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover{left:-30px}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:flex;flex-direction:row;transform:translateY(15px);margin-top:37px;margin-right:-14px;margin-left:-14px;border-top:1px solid #b5bcc2;height:37px;background-color:#fff;box-shadow:0 5px 10px rgba(25,30,35,.05),0 2px 2px rgba(25,30,35,.05)}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:none;box-shadow:none}}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter{position:relative;left:auto;top:auto;margin:0}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control .dashicon,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle .dashicon{margin:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover{display:flex;margin-right:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-inserter{float:left}.block-editor-block-list__block[data-align=full] .block-editor-block-list__block-mobile-toolbar{margin-left:0;margin-right:0}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;left:0;right:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;left:0;right:0;justify-content:center;height:22px;opacity:0;transition:opacity .1s linear}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{border-radius:50%;color:#007cba;background:#fff;height:28px;width:28px;padding:4px}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}@media (prefers-reduced-motion:reduce){.block-editor-block-list__insertion-point-inserter{transition-duration:0s}}.block-editor-block-list__insertion-point-inserter.is-visible,.block-editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;left:0;right:0}@media (min-width:600px){.block-editor-block-list__block>.block-editor-block-list__insertion-point{left:-1px;right:-1px}}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{left:0;right:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{z-index:61;white-space:nowrap;text-align:left;pointer-events:none;position:absolute;bottom:22px;left:-14px;right:-14px;border-top:1px solid #b5bcc2}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:none;border-bottom:none}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{border-top:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px;margin-top:-37px;box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.is-dark-theme .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:-3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:none}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar .editor-block-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar .editor-block-toolbar{border-left:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-left:0;margin-right:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-left:-15px;margin-right:-15px}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{margin-right:15px}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-left:15px}.block-editor-block-list__block .block-editor-block-contextual-toolbar>*{pointer-events:auto}.block-editor-block-list__block[data-align=full] .block-editor-block-contextual-toolbar{left:0;right:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{bottom:auto;left:auto;right:auto;box-shadow:none;transform:translateY(-52px)}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block .block-editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;top:51px}}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{float:left}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{float:right;min-width:200px}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{min-width:0}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{transform:translateY(-15px)}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-right:none;position:absolute;left:1px;top:1px}}.block-editor-block-list__breadcrumb{position:absolute;line-height:1;z-index:22;left:-17px;top:-31px}.block-editor-block-list__breadcrumb .components-toolbar{border:none;line-height:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:11px;padding:4px;background:#e2e4e7;color:#191e23;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__breadcrumb .components-toolbar{transition-duration:0s}}.block-editor-block-list__breadcrumb .components-toolbar .components-button{font-size:inherit;line-height:inherit;padding:0}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{background:#40464d;color:#fff}[data-align=left] .block-editor-block-list__breadcrumb{left:0}[data-align=right] .block-editor-block-list__breadcrumb{left:auto;right:0}.is-navigate-mode .block-editor-block-list__breadcrumb{left:-14px;top:-51px}.is-navigate-mode .block-editor-block-list__breadcrumb .components-toolbar{background:#fff;border:1px solid #007cba;border-left:none;box-shadow:inset 3px 0 0 0 #007cba;height:38px;font-size:13px;line-height:29px;padding-left:8px;padding-right:8px}.is-navigate-mode .block-editor-block-list__breadcrumb .components-toolbar .components-button{box-shadow:none}.is-dark-theme .is-navigate-mode .block-editor-block-list__breadcrumb .components-toolbar{border-color:hsla(0,0%,100%,.45)}@media (min-width:600px){.is-navigate-mode .block-editor-block-list__breadcrumb .components-toolbar{box-shadow:-3px 0 0 0 #007cba}}.block-editor-block-list__descendant-arrow:before{content:"→";display:inline-block;padding:0 4px}.rtl .block-editor-block-list__descendant-arrow:before{content:"←"}@media (min-width:600px){.block-editor-block-list__block:before{bottom:0;content:"";left:-28px;position:absolute;right:-28px;top:0}.block-editor-block-list__block .block-editor-block-list__block:before{left:0;right:0}.block-editor-block-list__block[data-align=full]:before{content:none}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-right:-14px;margin-left:-14px;margin-bottom:-14px;transform:translateY(-14px)}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.block-editor-block-list__block .block-list-appender{margin:14px}.has-background .block-editor-block-list__block .block-list-appender{margin:32px 14px}.block-list-appender>.block-editor-inserter{display:block}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__icon{border:1px solid #ccd0d4;padding:7px;margin-right:10px;height:36px;width:36px}.block-editor-block-card__content{flex-grow:1}.block-editor-block-card__title{font-weight:500;margin-bottom:5px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 16px 0 0;min-width:200px}.block-editor-block-compare__wrapper>div button{float:right}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-left:1px solid #ddd;padding-left:15px;padding-right:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}@media (min-width:600px){.block-editor-block-mover{min-height:56px;opacity:0;background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-mover{transition-duration:0s}}@media (min-width:600px){.block-editor-block-mover.is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-mover.is-visible{animation-duration:1ms}}@media (min-width:600px){.block-editor-block-mover:hover{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover{margin-top:-8px}}.block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;border:none;box-shadow:none;width:28px;height:24px}.block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(14,28,46,.62)}@media (min-width:600px){.block-editor-block-mover__control{color:rgba(14,28,46,.62)}.block-editor-block-mover__control:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:transparent;box-shadow:none}.block-editor-block-mover__control:focus:not(:disabled){background-color:transparent}}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:grab;fill:currentColor}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active{cursor:grabbing}.block-editor-block-mover__description{display:none}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-left:2px solid #a2aab2;margin-left:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-left:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;left:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-left:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;left:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:left;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-right:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.components-popover.block-editor-block-navigation__popover{z-index:99998}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.is-ready{overflow:visible}.block-editor-block-preview__content{position:absolute;top:0;left:0;transform-origin:top left;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__content .block-editor-block-list__block,.block-editor-block-preview__content .block-editor-block-list__layout{padding:0}.block-editor-block-preview__content .editor-block-list__block-edit [data-block]{margin:0}.block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-settings-menu .components-dropdown-menu__toggle .dashicon{transform:rotate(90deg)}.block-editor-block-settings-menu__popover .components-dropdown-menu__menu{padding:0}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:calc(37.5% - 6px) 6px 6px}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item.is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);border-radius:4px;display:flex;overflow:hidden;background:#fff;padding:75% 0 0;margin-top:-75%}.block-editor-block-styles__item-preview .block-editor-block-preview__container{padding-top:0;margin:-75% 0 0}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-icon-button.block-editor-block-switcher__no-switcher-icon,.components-icon-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-icon-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-icon-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important;background:#f3f4f5!important}.components-icon-button.block-editor-block-switcher__toggle{width:auto}.components-icon-button.block-editor-block-switcher__toggle:active,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-icon-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{transition-duration:0s}}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-popover:not(.is-mobile).block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:680px;display:flex;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.1)}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__container{min-width:300px;max-width:340px;width:50%}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__preview{border-left:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;width:300px;height:auto;position:-webkit-sticky;position:sticky;-ms-grid-row-align:stretch;align-self:stretch;top:0;padding:10px}}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-switcher__preview-title{margin-bottom:10px;color:#6c7781}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;border-left:1px solid #b5bcc2;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-left:none;box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:-3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-right:1px solid #b5bcc2;line-height:0}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-left:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-toolbar__slot{display:inline-block}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-toolbar__slot{display:inline-flex}}.block-editor-block-types-list{list-style:none;padding:4px;margin-left:-4px;margin-right:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:21px;outline:1px dashed #8d96a0;width:100%;color:#555d66;background:rgba(237,239,240,.8)}.block-editor-button-block-appender:focus,.block-editor-button-block-appender:hover{outline:1px dashed #555d66;color:#191e23}.block-editor-button-block-appender:active{outline:1px dashed #191e23;color:#191e23}.is-dark-theme .block-editor-button-block-appender{background:rgba(50,55,60,.7);color:#f8f9f9}.is-dark-theme .block-editor-button-block-appender:focus,.is-dark-theme .block-editor-button-block-appender:hover{outline:1px dashed #fff}.block-editor-color-palette-control__color-palette{display:inline-block;margin-top:.6rem}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-left:auto;margin-right:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;margin-top:28px;margin-bottom:28px;padding:0 50px 0 14px;color:rgba(14,28,46,.62)}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{transition-duration:0s}}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation-duration:1ms}}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter,.block-editor-inserter-with-shortcuts{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-icon-button,.block-editor-default-block-appender .block-editor-inserter .components-icon-button,.block-editor-inserter-with-shortcuts .components-icon-button{width:28px;height:28px;margin-right:12px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-block-icon,.block-editor-default-block-appender .block-editor-inserter .block-editor-block-icon,.block-editor-inserter-with-shortcuts .block-editor-block-icon{margin:auto}.block-editor-block-list__empty-block-inserter .components-icon-button svg,.block-editor-default-block-appender .block-editor-inserter .components-icon-button svg,.block-editor-inserter-with-shortcuts .components-icon-button svg{display:block;margin:auto}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle{margin-right:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{right:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{display:flex;align-items:center;height:100%;left:-44px;right:auto}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{right:14px;display:none;z-index:5}@media (min-width:600px){.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{display:flex;align-items:center;height:100%;right:0}}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:-14px;right:-14px;bottom:-14px;left:-14px;z-index:60}[data-align=full]>.editor-block-list__block-edit>[data-block] .has-overlay:after{right:0;left:0}.block-editor-inner-blocks__template-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-inner-blocks__template-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-inner-blocks__template-picker.has-many-options .components-placeholder__fieldset{max-width:90%}.block-editor-inner-blocks__template-picker-options.block-editor-inner-blocks__template-picker-options{display:flex;justify-content:center;flex-direction:row;flex-wrap:wrap;width:100%;margin:4px 0;list-style:none}.block-editor-inner-blocks__template-picker-options.block-editor-inner-blocks__template-picker-options>li{list-style:none;margin:8px;flex-shrink:1;max-width:100px}.block-editor-inner-blocks__template-picker-options.block-editor-inner-blocks__template-picker-options .block-editor-inner-blocks__template-picker-option{padding:8px}.block-editor-inner-blocks__template-picker-option{width:100%}.block-editor-inner-blocks__template-picker-option.components-icon-button{justify-content:center}.block-editor-inner-blocks__template-picker-option.components-icon-button.is-default{background-color:#fff}.block-editor-inner-blocks__template-picker-option.components-button{height:auto;padding:0}.block-editor-inner-blocks__template-picker-option:before{content:"";padding-bottom:100%}.block-editor-inner-blocks__template-picker-option:first-child{margin-left:0}.block-editor-inner-blocks__template-picker-option:last-child{margin-right:0}.block-editor-inserter-with-shortcuts{display:flex;align-items:center}.block-editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.block-editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon){height:24px;width:24px}.block-editor-inserter-with-shortcuts__block{margin-right:4px;width:36px;height:36px;padding-top:8px;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-inserter-with-shortcuts__block{color:hsla(0,0%,100%,.75)}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover:not(.is-mobile)>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle{transition-duration:0s}}.block-editor-inserter__menu{height:100%;display:flex;width:auto}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu.has-help-panel{width:700px}}.block-editor-inserter__main-area{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:400px;position:relative}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99998}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:right}.block-editor-inserter__manage-reusable-blocks{margin:16px 0 0 16px}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-right:8px}.block-editor-inserter__menu-help-panel{display:none;border-left:1px solid #e2e4e7;width:300px;height:100%;padding:20px;overflow-y:auto}@media (min-width:782px){.block-editor-inserter__menu-help-panel{display:flex;flex-direction:column}}.block-editor-inserter__menu-help-panel .block-editor-block-card{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #e2e4e7;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel .block-editor-block-card{animation-duration:1ms}}.block-editor-inserter__menu-help-panel .block-editor-inserter__preview{display:flex;flex-grow:2}.block-editor-inserter__menu-help-panel-no-block{display:flex;height:100%;flex-direction:column;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel-no-block{animation-duration:1ms}}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text{flex-grow:1}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text h4{font-size:18px}.block-editor-inserter__menu-help-panel-no-block .components-notice{margin:0}.block-editor-inserter__menu-help-panel-no-block h4{margin-top:0}.block-editor-inserter__menu-help-panel-hover-area{flex-grow:1;margin-top:20px;padding:20px;border:1px dotted #e2e4e7;display:flex;align-items:center;text-align:center}.block-editor-inserter__menu-help-panel-title{font-size:18px;font-weight:600;margin-bottom:20px}.block-editor-inserter__preview-content{border:1px solid #e2e4e7;border-radius:4px;min-height:150px;display:-ms-grid;display:grid;flex-grow:2}.block-editor-inserter__preview-content .block-editor-block-preview__container{margin-right:0;margin-left:0;padding:10px}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;color:#606a73;border:1px solid #e2e4e7;border-radius:4px;align-items:center}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0 0 12px}.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0 4px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item{transition-duration:0s}}.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;right:0;bottom:0;left:0}.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:inherit}.block-editor-block-types-list__item:not(:disabled):active,.block-editor-block-types-list__item:not(:disabled):focus{position:relative;color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent}.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:inherit}.block-editor-block-types-list__item:not(:disabled).is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-types-list__item:not(:disabled).is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s}}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.block-editor-media-placeholder__url-input-container{width:100%}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.components-form-file-upload .block-editor-media-placeholder__button{margin-right:4px}.block-editor-media-placeholder.is-appender{min-height:100px;outline:1px dashed #8d96a0}.block-editor-media-placeholder.is-appender:hover{outline:1px dashed #555d66;cursor:pointer}.is-dark-theme .block-editor-media-placeholder.is-appender:hover{outline:1px dashed #fff}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button{margin-right:4px}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:focus,.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:hover{box-shadow:none;border:1px solid #555d66}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;margin:-16px;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor-panel-color-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-settings.is-opened .block-editor-panel-color-settings__panel-title .component-color-indicator{display:none}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-format-toolbar{display:flex;flex-shrink:0}.block-editor-format-toolbar__selection-position{position:absolute;transform:translateX(-50%)}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text{position:relative}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.is-multi-selected .block-editor-rich-text__editable code{background:#67cffd}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable [data-rich-text-placeholder]{pointer-events:none}.block-editor-rich-text__editable [data-rich-text-placeholder]:after{content:attr(data-rich-text-placeholder);opacity:.62}.block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]:after{display:none}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.block-editor-rich-text__inline-toolbar{display:flex;justify-content:center;position:absolute;top:-40px;line-height:0;left:0;right:0;z-index:1}.block-editor-rich-text__inline-toolbar ul.components-toolbar{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-left:0;margin-right:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px}}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.has-border input[type=text],.block-editor-url-input.has-border input[type=text],.components-popover .block-editor-url-input.has-border input[type=text]{border:1px solid #555d66;border-radius:4px}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width input[type=text],.block-editor-url-input.is-full-width input[type=text],.components-popover .block-editor-url-input.is-full-width input[type=text]{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width__suggestions{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;right:8px;top:9px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:left;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-right:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;right:-1px;background:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__additional-controls{border-top:1px solid #e2e4e7}.block-editor-url-popover__additional-controls>div[role=menu] .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-icon-button{padding-left:2px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-icon-button{padding:3px}.block-editor-url-popover .components-icon-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-editor-url-popover .components-icon-button:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-left:1px solid #e2e4e7;margin-left:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(180deg)}.block-editor-url-popover__settings{display:block;padding:16px;border-top:1px solid #e2e4e7}.block-editor-url-popover__settings .components-base-control:last-child,.block-editor-url-popover__settings .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-url-popover__link-editor,.block-editor-url-popover__link-viewer{display:flex}.block-editor-url-popover__link-viewer-url{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-url-popover__link-viewer-url.has-invalid-link{color:#d94f4f}.block-editor-warning{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap;background-color:#fff;border:1px solid #e2e4e7;text-align:left;padding:10px 14px 14px}.has-warning.is-multi-selected .block-editor-warning{background-color:transparent}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4)}@media (min-width:600px){.is-selected .block-editor-warning{border-left-color:transparent}}.is-dark-theme .is-selected .block-editor-warning{border-color:hsla(0,0%,100%,.45)}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:1em 0}.block-editor-warning p.block-editor-warning__message.block-editor-warning__message{min-height:auto}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:baseline;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 6px 0 0}.block-editor-warning__secondary{margin:5px 0 0 -4px;height:36px}.block-editor-warning__secondary .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-left:4px}.block-editor-warning__secondary .components-icon-button{padding:8px 4px}}.block-editor-warning__secondary .components-button svg{transform:rotate(90deg)}.block-editor-writing-flow{display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{cursor:text}.html-anchor-control .components-external-link{display:block;margin-top:8px} \ No newline at end of file + /*!rtl:end:ignore*/}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{left:-13px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-left:-14px;margin-right:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-left:-58px;margin-right:-58px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit:before{left:0;right:0;border-left-width:0;border-right-width:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover{left:14px}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-inserter-with-shortcuts{display:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{left:auto;right:8px}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{position:absolute;width:30px}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{top:-15px}@media (min-width:600px){.block-editor-block-list__block.is-hovered .block-editor-block-mover,.block-editor-block-list__block.is-multi-selected .block-editor-block-mover,.block-editor-block-list__block.is-selected .block-editor-block-mover{z-index:61}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{left:-53px;display:none}@media (min-width:600px){.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block}}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:flex;flex-direction:row;transform:translateY(15px);margin-top:37px;margin-right:-14px;margin-left:-14px;border-top:1px solid #b5bcc2;height:37px;background-color:#fff;box-shadow:0 5px 10px rgba(25,30,35,.05),0 2px 2px rgba(25,30,35,.05)}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:none;box-shadow:none}}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter{position:relative;left:auto;top:auto;margin:0}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control .dashicon,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle .dashicon{margin:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover{display:flex;margin-right:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-inserter{float:left}.block-editor-block-list__block[data-align=full] .block-editor-block-list__block-mobile-toolbar{margin-left:0;margin-right:0}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;left:0;right:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;left:0;right:0;justify-content:center;height:22px;opacity:0;transition:opacity .1s linear}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{border-radius:50%;color:#007cba;background:#fff;height:28px;width:28px;padding:4px}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}@media (prefers-reduced-motion:reduce){.block-editor-block-list__insertion-point-inserter{transition-duration:0s}}.block-editor-block-list__insertion-point-inserter.is-visible,.block-editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;left:14px;right:14px}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{left:0;right:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{z-index:61;white-space:nowrap;text-align:left;pointer-events:none;position:absolute;bottom:22px;left:-14px;right:-14px;border-top:1px solid #b5bcc2}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:none;border-bottom:none}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{border-top:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px;margin-top:-37px;box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.is-dark-theme .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:-3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:none}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar .block-editor-block-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{border-left:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-left:0;margin-right:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-left:-15px;margin-right:-15px}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{margin-right:15px}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-left:15px}.block-editor-block-list__block .block-editor-block-contextual-toolbar>*{pointer-events:auto}.block-editor-block-list__block[data-align=full] .block-editor-block-contextual-toolbar{left:0;right:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{bottom:auto;left:auto;right:auto;box-shadow:none;transform:translateY(-52px)}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block .block-editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;top:51px}}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{float:left}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{float:right;min-width:200px}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{min-width:0}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{transform:translateY(-15px)}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-right:none;position:absolute;left:1px;top:1px}}.block-editor-block-list__breadcrumb{display:block;position:absolute;line-height:1;z-index:22;left:-14px;top:-51px}.block-editor-block-list__breadcrumb .components-toolbar{display:flex;background:#fff;border:1px solid #007cba;border-left:none;box-shadow:inset 3px 0 0 0 #007cba;height:38px;font-size:13px;line-height:29px;padding-left:8px;padding-right:8px}.block-editor-block-list__breadcrumb .components-toolbar .components-button{box-shadow:none}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{border-color:hsla(0,0%,100%,.45)}@media (min-width:600px){.block-editor-block-list__breadcrumb .components-toolbar{box-shadow:-3px 0 0 0 #007cba}}@media (min-width:600px){.block-editor-block-list__block:before{bottom:0;content:"";left:-28px;position:absolute;right:-28px;top:0}.block-editor-block-list__block .block-editor-block-list__block:before{left:0;right:0}.block-editor-block-list__block[data-align=full]:before{content:none}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-right:-14px;margin-left:-14px;margin-bottom:-14px;transform:translateY(-14px)}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.block-editor-block-list__block .block-list-appender{margin:14px 0}.has-background .block-editor-block-list__block .block-list-appender{margin:32px 14px}.block-list-appender>.block-editor-inserter{display:block}.block-editor-block-breadcrumb{list-style:none;padding:0;margin:0}.block-editor-block-breadcrumb li{display:inline-block;margin:0}.block-editor-block-breadcrumb li:not(:last-child):after{content:"\2192"}.block-editor-block-breadcrumb__button.components-button{height:24px;line-height:24px;padding:0}.block-editor-block-breadcrumb__button.components-button:hover{text-decoration:underline}.block-editor-block-breadcrumb__button.components-button:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;outline-offset:-2px;box-shadow:none}.block-editor-block-breadcrumb__current{cursor:default}.block-editor-block-breadcrumb__button.components-button,.block-editor-block-breadcrumb__current{color:#555d66;padding:0 8px;font-size:inherit}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__icon{border:1px solid #ccd0d4;padding:7px;margin-right:10px;height:36px;width:36px}.block-editor-block-card__content{flex-grow:1}.block-editor-block-card__title{font-weight:500;margin-bottom:5px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 16px 0 0;min-width:200px}.block-editor-block-compare__wrapper>div button{float:right}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-left:1px solid #ddd;padding-left:15px;padding-right:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-mobile-toolbar{display:flex;flex-direction:row;border-right:1px solid #e2e4e7}.block-editor-block-mobile-toolbar .block-editor-block-mover__control{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-mobile-toolbar .block-editor-block-mover__control .dashicon{margin:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover{display:flex;margin-right:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control{float:left}@media (min-width:600px){.block-editor-block-mover{opacity:0;background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out;margin-top:-8px}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-mover{transition-duration:0s}}@media (min-width:600px){.block-editor-block-mover.is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-mover.is-visible{animation-duration:1ms}}@media (min-width:600px){.block-editor-block-mover:hover{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}}.block-editor-block-mover.is-horizontal{margin-top:5px;margin-right:8px;padding-right:0;min-height:auto;width:50px;height:26px;display:flex}.block-editor-block-mover.is-horizontal .block-editor-block-mover__control{width:24px;height:24px}.block-editor-block-mover.is-horizontal .block-editor-block-mover__control svg{width:24px;padding:3px}@media (min-width:600px){.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .editor-block-mover:not(.is-horizontal){margin-top:0}}.block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;border:none;box-shadow:none;width:28px;height:24px}.block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(14,28,46,.62)}@media (min-width:600px){.block-editor-block-mover__control{color:rgba(14,28,46,.62)}.block-editor-block-mover__control:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:transparent;box-shadow:none}.block-editor-block-mover__control:focus:not(:disabled){background-color:transparent}}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:grab;fill:currentColor}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active{cursor:grabbing}.block-editor-block-mover__description{display:none}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-button-block-appender{outline:none;background:none;padding:8px;margin-left:.8em;width:36px;border-radius:4px}.block-editor-block-navigation__list .block-editor-button-block-appender:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5;outline:none}.block-editor-block-navigation__list .block-editor-button-block-appender:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-left:2px solid #a2aab2;margin-left:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-left:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;left:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-left:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;left:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:left;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-right:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.components-popover.block-editor-block-navigation__popover{z-index:99998}.block-editor-block-pattern-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-pattern-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-pattern-picker.has-many-patterns .components-placeholder__fieldset{max-width:90%}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns{display:flex;justify-content:center;flex-direction:row;flex-wrap:wrap;width:100%;margin:4px 0;list-style:none}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns>li{list-style:none;margin:8px;flex-shrink:1;max-width:100px}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns .block-editor-block-pattern-picker__pattern{padding:8px}.block-editor-block-pattern-picker__pattern{width:100%}.block-editor-block-pattern-picker__pattern.components-icon-button{justify-content:center}.block-editor-block-pattern-picker__pattern.components-icon-button.is-default{background-color:#fff}.block-editor-block-pattern-picker__pattern.components-button{height:auto;padding:0}.block-editor-block-pattern-picker__pattern:before{content:"";padding-bottom:100%}.block-editor-block-pattern-picker__pattern:first-child{margin-left:0}.block-editor-block-pattern-picker__pattern:last-child{margin-right:0}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.is-ready{overflow:visible}.block-editor-block-preview__content{position:absolute;top:0;left:0;transform-origin:top left;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__content .block-editor-block-list__block,.block-editor-block-preview__content .block-editor-block-list__layout{padding:0}.block-editor-block-preview__content .editor-block-list__block-edit [data-block]{margin:0}.block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-settings-menu .components-dropdown-menu__toggle .dashicon{transform:rotate(90deg)}.block-editor-block-settings-menu__popover .components-dropdown-menu__menu{padding:0}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:calc(37.5% - 6px) 6px 6px}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item.is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);border-radius:4px;display:flex;overflow:hidden;background:#fff;padding:75% 0 0;margin-top:-75%}.block-editor-block-styles__item-preview .block-editor-block-preview__container{padding-top:0;margin:-75% 0 0}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-icon-button.block-editor-block-switcher__no-switcher-icon,.components-icon-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-icon-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-icon-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important;background:#f3f4f5!important}.components-icon-button.block-editor-block-switcher__toggle{width:auto}.components-icon-button.block-editor-block-switcher__toggle:active,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-icon-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{transition-duration:0s}}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-popover.block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:680px;display:flex;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.1)}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__container{min-width:300px;max-width:340px;width:50%}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__preview{border-left:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;width:300px;height:auto;position:-webkit-sticky;position:sticky;-ms-grid-row-align:stretch;align-self:stretch;top:0;padding:10px}}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-switcher__preview-title{margin-bottom:10px;color:#6c7781}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;border-left:1px solid #b5bcc2;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-left:none;box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:-3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-right:1px solid #b5bcc2;line-height:0}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-left:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-toolbar__slot{display:inline-block;line-height:0}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-toolbar__slot{display:inline-flex}}.block-editor-block-types-list{list-style:none;padding:4px;margin-left:-4px;margin-right:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:21px;outline:1px dashed #8d96a0;width:100%;color:#555d66;background:rgba(237,239,240,.8)}.block-editor-button-block-appender:focus,.block-editor-button-block-appender:hover{outline:1px dashed #555d66;color:#191e23}.block-editor-button-block-appender:active{outline:1px dashed #191e23;color:#191e23}.is-dark-theme .block-editor-button-block-appender{background:rgba(50,55,60,.7);color:#f8f9f9}.is-dark-theme .block-editor-button-block-appender:focus,.is-dark-theme .block-editor-button-block-appender:hover{outline:1px dashed #fff}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-left:auto;margin-right:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;margin-top:28px;margin-bottom:28px;padding:0 50px 0 14px;color:rgba(14,28,46,.62)}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{transition-duration:0s}}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation-duration:1ms}}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter,.block-editor-inserter-with-shortcuts{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-icon-button,.block-editor-default-block-appender .block-editor-inserter .components-icon-button,.block-editor-inserter-with-shortcuts .components-icon-button{width:28px;height:28px;margin-right:12px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-block-icon,.block-editor-default-block-appender .block-editor-inserter .block-editor-block-icon,.block-editor-inserter-with-shortcuts .block-editor-block-icon{margin:auto}.block-editor-block-list__empty-block-inserter .components-icon-button svg,.block-editor-default-block-appender .block-editor-inserter .components-icon-button svg,.block-editor-inserter-with-shortcuts .components-icon-button svg{display:block;margin:auto}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle{margin-right:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{right:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{display:flex;align-items:center;height:100%;left:-44px;right:auto}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{right:14px;display:none;z-index:5}@media (min-width:600px){.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{display:flex;align-items:center;height:100%;right:0}}.block-editor-link-control__search{position:relative;min-width:360px}.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{width:calc(100% - 32px);display:block;margin:16px;padding:11px 38px 11px 16px;position:relative;z-index:1;border:1px solid #e1e1e1;border-radius:4px;font-size:16px}@media (min-width:600px){.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px}}.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-link-control__search-reset{position:absolute;top:19px;right:19px;z-index:10}.block-editor-link-control__search-results-wrapper{position:relative;margin-top:-15px}.block-editor-link-control__search-results-wrapper:after,.block-editor-link-control__search-results-wrapper:before{content:"";position:absolute;left:-1px;right:16px;display:block;pointer-events:none;z-index:100}.block-editor-link-control__search-results-wrapper:before{height:8px;top:0;bottom:auto;background:linear-gradient(180deg,#fff 0,hsla(0,0%,100%,0))}.block-editor-link-control__search-results-wrapper:after{height:16px;bottom:0;top:auto;background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.block-editor-link-control__search-results{margin:0;padding:8px 16px 16px;max-height:200px;overflow-y:scroll}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:left;padding:10px 15px;border-radius:5px}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#e9e9e9}.block-editor-link-control__search-item.is-selected{background:#f2f2f2}.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type{background:#fff}.block-editor-link-control__search-item.is-current{background:transparent;border:0;width:100%;cursor:default;padding:16px 16px 16px 24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-header{display:block;margin-right:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-icon{margin-right:1em;min-width:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-info,.block-editor-link-control__search-item .block-editor-link-control__search-item-title{text-overflow:ellipsis;max-width:230px;overflow:hidden;white-space:nowrap}.block-editor-link-control__search-item .block-editor-link-control__search-item-title{display:block;margin-bottom:.2em;font-weight:500}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{font-weight:700;color:#000;background-color:transparent}.block-editor-link-control__search-item .block-editor-link-control__search-item-title span{font-weight:400}.block-editor-link-control__search-item .block-editor-link-control__search-item-info{display:block;color:#999;font-size:.9em;line-height:1.3}.block-editor-link-control__search-item .block-editor-link-control__search-item-type{display:block;padding:3px 8px;margin-left:auto;font-size:.9em;background-color:#f3f4f5;border-radius:2px}.block-editor-link-control__search-results div[role=menu]>.block-editor-link-control__search-item.block-editor-link-control__search-item{padding:10px}.block-editor-link-control__settings{border-top:1px solid #e1e1e1;margin:0;padding:16px 24px}.block-editor-link-control__settings :last-child{margin-bottom:0}.block-editor-link-control__setting{margin-bottom:16px}.block-editor-link-control__setting :last-child{margin-bottom:0}.block-editor-link-control .block-editor-link-control__search-input .components-spinner{display:block;z-index:100;float:none}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;top:27px;left:auto;right:60px;bottom:0}.block-editor-link-control__search-item-action{margin-left:auto;flex-shrink:0}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:-14px;right:-14px;bottom:-14px;left:-14px;z-index:60}[data-align=full]>.editor-block-list__block-edit>[data-block] .has-overlay:after{right:0;left:0}.block-editor-inserter-with-shortcuts{display:flex;align-items:center}.block-editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.block-editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon){height:24px;width:24px}.block-editor-inserter-with-shortcuts__block{margin-right:4px;width:36px;height:36px;padding-top:8px;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-inserter-with-shortcuts__block{color:hsla(0,0%,100%,.75)}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle{transition-duration:0s}}.block-editor-inserter__menu{height:100%;display:flex;width:auto}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu.has-help-panel{width:700px}}.block-editor-inserter__main-area{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:400px;position:relative}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99998}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:right}.block-editor-inserter__manage-reusable-blocks{margin:16px 0 0 16px}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-right:8px}.block-editor-inserter__menu-help-panel{display:none;border-left:1px solid #e2e4e7;width:300px;height:100%;padding:20px;overflow-y:auto}@media (min-width:782px){.block-editor-inserter__menu-help-panel{display:flex;flex-direction:column}}.block-editor-inserter__menu-help-panel .block-editor-block-card{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #e2e4e7;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel .block-editor-block-card{animation-duration:1ms}}.block-editor-inserter__menu-help-panel .block-editor-inserter__preview{display:flex;flex-grow:2}.block-editor-inserter__menu-help-panel-no-block{display:flex;height:100%;flex-direction:column;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel-no-block{animation-duration:1ms}}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text{flex-grow:1}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text h4{font-size:18px}.block-editor-inserter__menu-help-panel-no-block .components-notice{margin:0}.block-editor-inserter__menu-help-panel-no-block h4{margin-top:0}.block-editor-inserter__menu-help-panel-hover-area{flex-grow:1;margin-top:20px;padding:20px;border:1px dotted #e2e4e7;display:flex;align-items:center;text-align:center}.block-editor-inserter__menu-help-panel-title{font-size:18px;font-weight:600;margin-bottom:20px}.block-editor-inserter__preview-content{border:1px solid #e2e4e7;border-radius:4px;min-height:150px;display:-ms-grid;display:grid;flex-grow:2}.block-editor-inserter__preview-content .block-editor-block-preview__container{margin-right:0;margin-left:0;padding:10px}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;color:#606a73;border:1px solid #e2e4e7;border-radius:4px;align-items:center}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0 0 12px}.components-button.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0 4px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-types-list__item{transition-duration:0s}}.components-button.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.components-button.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;right:0;bottom:0;left:0}.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled):active,.components-button.block-editor-block-types-list__item:not(:disabled):focus{position:relative;color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;background:transparent}.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled).is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.components-button.block-editor-block-types-list__item:not(:disabled).is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s}}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.media-replace-flow .components-dropdown-menu__indicator{margin-left:4px}.media-replace-flow .components-dropdown-menu__indicator .components-dropdown-menu.media-flow_toolbar .components-dropdown-menu__label{margin-right:6px;margin-left:2px}.media-replace-flow__options.components-popover:not(.is-mobile) .components-popover__content{overflow-x:hidden}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input{padding:0 15px 10px 25px}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-external-link__icon{position:absolute;right:-4px;bottom:5px;margin-right:2px}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input input{max-width:169px;border:1px solid #555d66;border-radius:4px}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .block-editor-url-popover__link-viewer-url{padding-right:15px;padding-top:3px;max-width:179px;position:relative;margin-right:0}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button{width:40px;height:40px;padding:5px 5px 5px 0}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):focus{box-shadow:none}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.block-editor-media-placeholder__url-input-container{width:100%}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.components-form-file-upload .block-editor-media-placeholder__button{margin-right:4px}.block-editor-media-placeholder.is-appender{min-height:100px;outline:1px dashed #8d96a0}.block-editor-media-placeholder.is-appender:hover{outline:1px dashed #555d66;cursor:pointer}.is-dark-theme .block-editor-media-placeholder.is-appender:hover{outline:1px dashed #fff}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button{margin-right:4px}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:focus,.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:hover{box-shadow:none;border:1px solid #555d66}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor-panel-color-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-settings.is-opened .block-editor-panel-color-settings__panel-title .component-color-indicator{display:none}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-responsive-block-control{margin-bottom:28px;border-bottom:1px solid #d7dade;padding-bottom:14px}.block-editor-responsive-block-control:last-child{padding-bottom:0;border-bottom:0}.block-editor-responsive-block-control__title{margin:0 0 .6em -3px}.block-editor-responsive-block-control__label{font-weight:600;margin-bottom:.6em;margin-left:-3px}.block-editor-responsive-block-control__inner{margin-left:-1px}.block-editor-responsive-block-control__toggle{margin-left:1px}.block-editor-responsive-block-control .components-base-control__help{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable [data-rich-text-placeholder]{pointer-events:none}.block-editor-rich-text__editable [data-rich-text-placeholder]:after{content:attr(data-rich-text-placeholder);opacity:.62}.block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]:after{display:none}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{min-width:auto}.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar{border:none}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-tool-selector__help{padding:16px;border-top:1px solid #e2e4e7;color:#6c7781}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-left:0;margin-right:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px}}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.has-border input[type=text],.block-editor-url-input.has-border input[type=text],.components-popover .block-editor-url-input.has-border input[type=text]{border:1px solid #555d66;border-radius:4px}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width input[type=text],.block-editor-url-input.is-full-width input[type=text],.components-popover .block-editor-url-input.is-full-width input[type=text]{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width__suggestions{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;right:8px;bottom:17px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:left;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-right:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;right:-1px;background:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__additional-controls{border-top:1px solid #e2e4e7}.block-editor-url-popover__additional-controls>div[role=menu] .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-icon-button{padding-left:2px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-icon-button{padding:3px}.block-editor-url-popover .components-icon-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-editor-url-popover .components-icon-button:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-left:1px solid #e2e4e7;margin-left:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(180deg)}.block-editor-url-popover__input-container .components-base-control:last-child,.block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-url-popover__settings{display:block;padding:16px;border-top:1px solid #e2e4e7}.block-editor-url-popover__link-editor,.block-editor-url-popover__link-viewer{display:flex}.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field{margin-bottom:0}.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner{bottom:9px}.block-editor-url-popover__link-viewer-url{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-url-popover__link-viewer-url.has-invalid-link{color:#d94f4f}.block-editor-warning{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap;background-color:#fff;border:1px solid #e2e4e7;text-align:left;padding:10px 14px 14px}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4)}@media (min-width:600px){.is-selected .block-editor-warning{border-left-color:transparent}}.is-dark-theme .is-selected .block-editor-warning{border-color:hsla(0,0%,100%,.45)}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:1em 0}.block-editor-warning p.block-editor-warning__message.block-editor-warning__message{min-height:auto}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:baseline;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 6px 0 0}.block-editor-warning__secondary{margin:5px 0 0 -4px;height:36px}.block-editor-warning__secondary .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-left:4px}.block-editor-warning__secondary .components-icon-button{padding:8px 4px}}.block-editor-warning__secondary .components-button svg{transform:rotate(90deg)}.block-editor-writing-flow{display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{cursor:text}.html-anchor-control .components-external-link{display:block;margin-top:8px} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/editor-rtl.css b/wp-includes/css/dist/block-library/editor-rtl.css index bf3b247a1d..5d4e8990d0 100644 --- a/wp-includes/css/dist/block-library/editor-rtl.css +++ b/wp-includes/css/dist/block-library/editor-rtl.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -46,7 +43,7 @@ margin-left: 0; } .edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow__click-redirect { - height: auto; } + min-height: auto; } .block-editor-block-list__block[data-type="core/button"][data-align="center"] { text-align: center; } @@ -61,8 +58,6 @@ position: relative; } .wp-block-button [contenteditable] { cursor: text; } - .wp-block-button .block-editor-rich-text { - display: inline-block; } .wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]::after { color: #fff; } .wp-block-button .block-editor-rich-text__editable:focus { @@ -151,19 +146,8 @@ div[data-type="core/button"] div[data-block] { background-color: #555d66; color: #fff; } -.wp-block-columns .editor-block-list__layout { - margin-right: 0; - margin-left: 0; } - .wp-block-columns .editor-block-list__layout .editor-block-list__block { - max-width: none; } - -[data-type="core/columns"][data-align="full"] .wp-block-columns > .editor-inner-blocks { - padding-right: 14px; - padding-left: 14px; } - @media (min-width: 600px) { - [data-type="core/columns"][data-align="full"] .wp-block-columns > .editor-inner-blocks { - padding-right: 46px; - padding-left: 46px; } } +.wp-block-columns .editor-block-list__layout .editor-block-list__block { + max-width: none; } .wp-block-columns { display: block; } @@ -197,16 +181,16 @@ div[data-type="core/button"] div[data-block] { flex-basis: 100%; } @media (min-width: 600px) { .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] { - flex-basis: calc(50% - (16px + 28px)); + flex-basis: calc(50% - (16px)); flex-grow: 0; - margin-right: 14px; - margin-left: 14px; } } + margin-right: 0; + margin-left: 0; } } @media (min-width: 600px) { .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(even) { - margin-right: calc(32px + 14px); } } + margin-right: calc(32px); } } @media (min-width: 782px) { .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:first-child) { - margin-right: calc(32px + 14px); } } + margin-right: calc(32px); } } .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit { margin-top: 0; margin-bottom: 0; } @@ -233,9 +217,6 @@ div[data-type="core/button"] div[data-block] { margin-top: 28px; margin-bottom: 28px; } -[data-type="core/columns"] [data-type="core/column"].is-selected .block-list-appender { - margin: 14px 0; } - /** * Vertical Alignment Preview * note: specificity is important here to ensure individual @@ -267,31 +248,18 @@ div.block-core-columns.is-vertically-aligned-bottom { right: 0; left: 0; } -/** - * Add extra padding when the parent block is selected, for easier interaction. - */ -.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/columns"].is-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks, -.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/columns"].has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks, -.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/column"].is-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks, -.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/column"].has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks { - padding: 14px; } - .block-editor-block-list__layout .block-editor-block-list__block[data-type="core/columns"].is-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .components-placeholder, - .block-editor-block-list__layout .block-editor-block-list__block[data-type="core/columns"].has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .components-placeholder, - .block-editor-block-list__layout .block-editor-block-list__block[data-type="core/column"].is-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .components-placeholder, - .block-editor-block-list__layout .block-editor-block-list__block[data-type="core/column"].has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .components-placeholder { - margin: -14px; - width: calc(100% + 28px); } +[data-type="core/columns"][data-align="full"] .wp-block-columns { + padding-right: 14px; + padding-left: 14px; } + @media (min-width: 600px) { + [data-type="core/columns"][data-align="full"] .wp-block-columns { + padding-right: 46px; + padding-left: 46px; } } .wp-block-cover-image.components-placeholder h2, .wp-block-cover.components-placeholder h2 { color: inherit; } -.wp-block-cover-image.has-right-content .block-editor-rich-text__inline-toolbar, -.wp-block-cover-image.has-left-content .block-editor-rich-text__inline-toolbar, -.wp-block-cover.has-right-content .block-editor-rich-text__inline-toolbar, -.wp-block-cover.has-left-content .block-editor-rich-text__inline-toolbar { - display: inline-block; } - .wp-block-cover-image .block-editor-block-list__layout, .wp-block-cover .block-editor-block-list__layout { width: 100%; } @@ -317,17 +285,18 @@ div.block-core-columns.is-vertically-aligned-bottom { .wp-block-cover.components-placeholder { background: rgba(255, 255, 255, 0.15); } -.wp-block-cover-image .wp-block-cover__placeholder-color-palette, -.wp-block-cover .wp-block-cover__placeholder-color-palette { - max-width: 290px; - margin-top: 1em; } +.wp-block-cover-image .wp-block-cover__placeholder-background-options, +.wp-block-cover .wp-block-cover__placeholder-background-options { + max-width: 260px; + margin-top: 1em; + width: 100%; } [data-align="left"] .wp-block-cover-image, [data-align="right"] .wp-block-cover-image, [data-align="left"] .wp-block-cover, [data-align="right"] .wp-block-cover { - max-width: 305px; + max-width: 290px; width: 100%; } .block-library-cover__reset-button { @@ -571,9 +540,6 @@ div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit: border-color: #b5bcc2; border-right-color: transparent; } -div[data-type="core/freeform"].is-hovered .block-editor-block-list__breadcrumb { - display: none; } - div[data-type="core/freeform"] .editor-block-contextual-toolbar + div { margin-top: 0; padding-top: 0; } @@ -659,6 +625,8 @@ figure.wp-block-gallery { margin: 0; } .blocks-gallery-grid.blocks-gallery-grid { + padding-right: 0; + margin-right: 0; margin-bottom: 0; } .blocks-gallery-item figure:not(.is-selected):focus { @@ -691,25 +659,6 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { .blocks-gallery-item figure.is-transient img { opacity: 0.3; } -.blocks-gallery-item .block-editor-rich-text { - position: absolute; - bottom: 0; - width: 100%; - max-height: 100%; - overflow-y: auto; } - -@supports ((position: -webkit-sticky) or (position: sticky)) { - .blocks-gallery-item .is-selected .block-editor-rich-text { - left: 0; - right: 0; - margin-top: -4px; } } - -.blocks-gallery-item .is-selected .block-editor-rich-text .block-editor-rich-text__inline-toolbar { - top: 0; } - -.blocks-gallery-item .is-selected .block-editor-rich-text figcaption { - padding-top: 48px; } - .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu, .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu { background: #fff; @@ -744,12 +693,6 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:focus { color: inherit; } -.blocks-gallery-item .block-editor-rich-text figcaption { - position: relative; - overflow: hidden; } - .blocks-gallery-item .block-editor-rich-text figcaption a { - color: #fff; } - .block-library-gallery-item__move-menu, .block-library-gallery-item__inline-menu { margin: 8px; @@ -838,15 +781,6 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { .wp-block[data-type="core/group"][data-align="full"] > .editor-block-list__block-edit > div > .wp-block-group.has-background > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="full"] { width: calc(100% + 60px); } -.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/group"].has-child-selected > .block-editor-block-list__block-edit > [data-block] > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks, -.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/group"].is-selected > .block-editor-block-list__block-edit > [data-block] > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks { - padding: 14px; } - -.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/group"].has-child-selected > .block-editor-block-list__block-edit > [data-block] > .wp-block-group:not(.has-background) > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout, -.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/group"].is-selected > .block-editor-block-list__block-edit > [data-block] > .wp-block-group:not(.has-background) > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout { - margin-top: -28px; - margin-bottom: -28px; } - [data-type="core/group"].is-selected .block-list-appender { margin-right: 0; margin-left: 0; } @@ -891,7 +825,8 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { display: inline-block; } .wp-block-image .components-resizable-box__container img { display: block; - width: 100%; } + width: inherit; + height: inherit; } .wp-block-image.is-focused .components-resizable-box__handle { display: block; @@ -933,25 +868,14 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { [data-type="core/image"][data-align="center"] .block-editor-block-list__block-edit figure, [data-type="core/image"][data-align="left"] .block-editor-block-list__block-edit figure, [data-type="core/image"][data-align="right"] .block-editor-block-list__block-edit figure { - margin: 0; - display: table; } - -[data-type="core/image"][data-align="center"] .block-editor-block-list__block-edit .block-editor-rich-text, -[data-type="core/image"][data-align="left"] .block-editor-block-list__block-edit .block-editor-rich-text, -[data-type="core/image"][data-align="right"] .block-editor-block-list__block-edit .block-editor-rich-text { - display: table-caption; - caption-side: bottom; } + margin: 0; } [data-type="core/image"][data-align="wide"] figure img, [data-type="core/image"][data-align="full"] figure img { width: 100%; } [data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized { - margin: 0; - display: table; } - [data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized .block-editor-rich-text { - display: table-caption; - caption-side: bottom; } + margin: 0; } .wp-block-latest-comments.has-avatars .avatar { margin-left: 10px; } @@ -990,6 +914,17 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { .wp-block-legacy-widget__preview { overflow: auto; } +.wp-block-legacy-widget__edit-widget-title { + margin: -14px -13px 0; + background: #f8f9f9; + color: #555d66; + top: -13px; + position: relative; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 13px; + padding: 8px 14px; + font-weight: 600; } + .wp-block-media-text .__resizable_base__ { -ms-grid-column: 1; -ms-grid-column-span: 2; @@ -1090,11 +1025,6 @@ figure.block-library-media-text__media-container { -ms-grid-row: 2; grid-row: 2; } } -.editor-styles-wrapper .block-library-list ul, -.editor-styles-wrapper .block-library-list ol { - padding-right: 1.3em; - margin-right: 1.3em; } - .block-editor-block-list__block[data-type="core/more"] { max-width: 100%; text-align: center; @@ -1131,72 +1061,201 @@ figure.block-library-media-text__media-container { left: 0; border-top: 3px dashed #ccd0d4; } -.wp-block-navigation-menu .block-editor-block-list__layout, -.wp-block-navigation-menu { - display: -ms-grid; - display: grid; - grid-auto-columns: -webkit-min-content; - grid-auto-columns: min-content; - grid-auto-flow: column; - align-items: center; - white-space: nowrap; } +[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks { + flex: 1; } -.wp-block-navigation-menu__inserter-content { - width: 350px; - padding: 16px; } +[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks > .block-editor-block-list__layout { + margin-right: 0; + margin-left: 0; } -.wp-block-navigation-menu-item__edit-container { - display: -ms-grid; - display: grid; - grid-auto-columns: -webkit-min-content; - grid-auto-columns: min-content; - grid-auto-flow: column; - align-items: center; - white-space: nowrap; } +[data-type="core/navigation"] .wp-block-navigation.items-justification-left .block-editor-inner-blocks > .block-editor-block-list__layout { + justify-content: flex-start; } -.wp-block-navigation-menu-item__edit-container { - border: 1px solid #e2e4e7; - width: 178px; - padding-right: 1px; } +[data-type="core/navigation"] .wp-block-navigation.items-justification-center .block-editor-inner-blocks > .block-editor-block-list__layout { + justify-content: center; } -.wp-block-navigation-menu-item__edit-container .wp-block-navigation-menu-item__field { - border-left: 1px solid #e2e4e7 !important; - width: 140px; - border: none; - border-radius: 0; - padding-right: 16px; - min-height: 35px; - line-height: 35px; } - .wp-block-navigation-menu-item__edit-container .wp-block-navigation-menu-item__field, .wp-block-navigation-menu-item__edit-container .wp-block-navigation-menu-item__field:focus { - color: #555d66; } +[data-type="core/navigation"] .wp-block-navigation.items-justification-right .block-editor-inner-blocks > .block-editor-block-list__layout { + justify-content: flex-end; } -.wp-block-navigation-menu-item { - font-family: "Noto Serif", serif; - color: #0073af; - font-weight: bold; - font-size: 14px; } - -.wp-block-navigation-menu-item__nofollow-external-link { - display: block; } - -.wp-block-navigation-menu-item__separator { - margin-top: 8px; - margin-bottom: 8px; +[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block { + width: auto; + padding-right: 0; + padding-left: 0; margin-right: 0; margin-left: 0; + margin-bottom: 1em; } + +[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block > .block-editor-block-list__block-edit { + margin-right: 0; + margin-left: 0; } + +[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block > .block-editor-block-list__block-edit > [data-block] { + margin-top: 0; + margin-bottom: 0; } + +[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__block-edit::before { + right: 0; + left: 0; } + +[data-type="core/navigation"].is-hovered .wp-block-navigation .block-editor-block-list__block-edit::before, +[data-type="core/navigation"].is-selected .wp-block-navigation .block-editor-block-list__block-edit::before, +[data-type="core/navigation"].has-child-selected .wp-block-navigation .block-editor-block-list__block-edit::before { + border-color: transparent !important; } + +[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__insertion-point { + display: none; } + +[data-type="core/navigation"] .wp-block-navigation .block-list-appender { + margin: 0; } + [data-type="core/navigation"] .wp-block-navigation .block-list-appender .block-editor-button-block-appender { + padding: 8px; + outline: none; + background: none; } + +.wp-block-navigation .block-editor-block-list__layout, +.wp-block-navigation { + display: flex; + flex-wrap: wrap; } + +.wp-block-navigation__inserter-content { + padding: 16px; } + +/* + * Adjust Navigation Item. + */ +.wp-block-navigation .wp-block-navigation-link { + margin-left: 8px; + margin-right: 8px; + padding: 0 8px; } + .wp-block-navigation .wp-block-navigation-link .block-editor-block-list__layout { + display: block; + margin: 8px; } + .wp-block-navigation .wp-block-navigation-link .block-editor-inner-blocks { + display: none; } + .wp-block-navigation .wp-block-navigation-link.is-editing .block-editor-inner-blocks { + display: block; } + +/** + * Colors Selector component + */ +.block-library-colors-selector { + width: auto; } + .block-library-colors-selector .block-library-colors-selector__toggle { + display: block; + margin: 0 auto; + padding: 3px; + width: auto; } + .block-library-colors-selector .block-library-colors-selector__icon-container { + width: 42px; + height: 30px; + position: relative; + margin: 0 auto; + padding: 3px; + display: flex; + align-items: center; + border-radius: 4px; } + .block-library-colors-selector .block-library-colors-selector__icon-container::after { + content: ""; + pointer-events: none; + display: block; + width: 0; + height: 0; + border-right: 3px solid transparent; + border-left: 3px solid transparent; + border-top: 5px solid; + margin-right: 4px; + margin-left: 2px; } + .block-library-colors-selector .block-library-colors-selector__icon-container:focus, .block-library-colors-selector .block-library-colors-selector__icon-container:hover { + color: #555d66; + box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; } + .block-library-colors-selector .block-library-colors-selector__state-selection { + border-radius: 11px; + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); + width: 22px; + min-width: 22px; + height: 22px; + min-height: 22px; + line-height: 20px; + padding: 2px; } + .block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color > svg, + .block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color > svg path { + color: inherit; } + +.block-library-colors-selector__popover .color-palette-controller-container { + padding: 16px; } + +.block-library-colors-selector__popover .components-base-control__label { + height: 20px; + line-height: 20px; } + +.block-library-colors-selector__popover .component-color-indicator { + float: left; + margin-top: 2px; } + +.block-editor-block-mover.is-horizontal .block-editor-block-mover__control-drag-handle { + display: none; } + +.wp-block-navigation-link__field .components-text-control__input.components-text-control__input, +.wp-block-navigation-link__container { + border-radius: 0; + line-height: 36px; + min-height: 36px; } + +.wp-block-navigation-link__edit-container { + display: flex; + white-space: nowrap; + margin-right: -8px; } + .wp-block-navigation-link__edit-container .wp-block-navigation-link__content { + margin-left: 8px; + padding: 0 8px; + box-shadow: inset 0 0 0 1px #7e8993; + transition: box-shadow 0.1s linear; + border-radius: 4px; } + @media (prefers-reduced-motion: reduce) { + .wp-block-navigation-link__edit-container .wp-block-navigation-link__content { + transition-duration: 0s; } } + .wp-block-navigation-link__edit-container .wp-block-navigation-link__content:focus { + color: #191e23; + box-shadow: inset 0 0 0 2px #007cba; + outline: 2px solid transparent; } + +.wp-block-navigation-link { + margin-left: 8px; + padding: 0 8px; + padding-left: 55px; } + .wp-block-navigation-link .block-editor-block-list__layout { + display: block; + margin: 8px; } + .wp-block-navigation-link .block-editor-inner-blocks { + display: none; } + .wp-block-navigation-link.is-editing, .wp-block-navigation-link.is-selected { + min-width: 20px; } + .wp-block-navigation-link.is-editing .block-editor-inner-blocks { + display: block; } + .wp-block-navigation-link.has-link .wp-block-navigation-link__content { + border-bottom-style: solid; + border-bottom-width: 1px; } + .wp-block-navigation-link .block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus):not(:focus) [data-rich-text-placeholder]::after { + display: inline-block; } + +[data-type="core/navigation-link"] .block-editor-block-toolbar { + right: 15px; } + +.wp-block-navigation-link__nofollow-external-link { + display: block; } + +.wp-block-navigation-link__separator { + margin: 8px 0 8px; border-top: 1px solid #e2e4e7; } -.components-popover:not(.is-mobile).wp-block-navigation-menu-item__dropdown-content { +.components-popover.wp-block-navigation-link__dropdown-content { margin-top: -1px; margin-right: -4px; } -.wp-block-navigation-menu-item__dropdown-content .components-popover__content { +.wp-block-navigation-link__dropdown-content .components-popover__content { padding: 8px 0; } -.wp-block-navigation-menu .block-editor-block-list__block[data-type="core/navigation-menu-item"] > .block-editor-block-list__block-edit > div[role="toolbar"] { - display: none; } - -.wp-block-navigation-menu .block-editor-block-list__block[data-type="core/navigation-menu-item"] > .block-editor-block-list__insertion-point { +.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"] > .block-editor-block-list__insertion-point { display: none; } .block-editor-block-list__block[data-type="core/nextpage"] { @@ -1238,20 +1297,20 @@ figure.block-library-media-text__media-container { min-height: 28px; line-height: 1.8; } -.wp-block-preformatted pre { - white-space: pre-wrap; } +.block-editor-block-list__block[data-type="core/paragraph"] .has-drop-cap:focus { + min-height: 28px !important; } -.block-editor-block-list__block[data-type="core/pullquote"][data-align="left"] .block-editor-rich-text p, .block-editor-block-list__block[data-type="core/pullquote"][data-align="right"] .block-editor-rich-text p { +.block-editor-block-list__block[data-type="core/pullquote"][data-align="left"] p, .block-editor-block-list__block[data-type="core/pullquote"][data-align="right"] p { font-size: 20px; } -.wp-block-pullquote blockquote > .block-editor-rich-text p { +.wp-block-pullquote blockquote p { font-size: 28px; line-height: 1.6; } .wp-block-pullquote.is-style-solid-color { margin-right: 0; margin-left: 0; } - .wp-block-pullquote.is-style-solid-color blockquote > .block-editor-rich-text p { + .wp-block-pullquote.is-style-solid-color blockquote p { font-size: 32px; } .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation { text-transform: none; @@ -1271,24 +1330,23 @@ figure.block-library-media-text__media-container { .wp-block-rss li a > div { display: inline; } -.wp-block-search .wp-block-search__input { +.wp-block-search__input { border-radius: 4px; border: 1px solid #7e8993; color: rgba(14, 28, 46, 0.62); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 13px; } - .wp-block-search .wp-block-search__input:focus { + .wp-block-search__input:focus { outline: none; } -.wp-block-search .wp-block-search__button { +.wp-block-search__button { background: #f7f7f7; border-radius: 4px; border: 1px solid #ccc; box-shadow: inset 0 -1px 0 #ccc; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - font-size: 13px; } - .wp-block-search .wp-block-search__button .wp-block-search__button-rich-text { - padding: 6px 10px; } + font-size: 13px; + padding: 6px 10px; } .wp-block-shortcode { display: flex; @@ -1355,9 +1413,7 @@ figure.block-library-media-text__media-container { margin-top: 0; margin-bottom: 0; } -[data-type="core/social-links"] .wp-block-social-links .block-editor-block-list__insertion-point, -[data-type="core/social-links"] .wp-block-social-links .block-editor-block-list__breadcrumb, -[data-type="core/social-links"] .wp-block-social-links .block-editor-block-mover.block-editor-block-mover { +[data-type="core/social-links"] .wp-block-social-links .block-editor-block-list__insertion-point { display: none; } .wp-block-social-links .block-list-appender { @@ -1437,15 +1493,12 @@ figure.block-library-media-text__media-container { border-collapse: collapse; } .wp-block-table td, .wp-block-table th { - padding: 0; border: 1px solid; } .wp-block-table td.is-selected, .wp-block-table th.is-selected { border-color: #00a0d2; box-shadow: inset 0 0 0 1px #00a0d2; border-style: double; } - .wp-block-table__cell-content { - padding: 0.5em; } .wp-block-table__placeholder-form.wp-block-table__placeholder-form { text-align: right; align-items: center; } @@ -1454,6 +1507,10 @@ figure.block-library-media-text__media-container { .wp-block-table__placeholder-button { min-width: 100px; justify-content: center; } + .wp-block-table figcaption { + color: #555d66; + font-size: 13px; + text-align: center; } .block-editor .wp-block-tag-cloud a { display: inline-block; @@ -1468,8 +1525,7 @@ figure.block-library-media-text__media-container { .wp-block-text-columns .block-editor-rich-text__editable:focus { outline: 1px solid #e2e4e7; } -pre.wp-block-verse, -.wp-block-verse pre { +pre.wp-block-verse { color: #191e23; white-space: nowrap; font-family: inherit; @@ -1487,6 +1543,12 @@ pre.wp-block-verse, .editor-video-poster-control .components-button + .components-button { margin-top: 1em; } +.wp-block-site-title__save-button { + position: absolute; + left: 0; + top: 0; + z-index: 1; } + /** * Import styles from internal editor components used by the blocks. */ @@ -1538,17 +1600,12 @@ pre.wp-block-verse, border-color: rgba(255, 255, 255, 0.45); border-right-color: transparent; } -.block-editor-block-list__layout .reusable-block-indicator { - background: #fff; - border: 1px dashed #e2e4e7; - color: #555d66; - top: -14px; - height: 30px; - padding: 4px; - position: absolute; - z-index: 1; - width: 30px; - left: -14px; } +.is-selected.is-navigate-mode .reusable-block-edit-panel { + border-color: #007cba; + border-right-color: transparent; } + .is-dark-theme .is-selected.is-navigate-mode .reusable-block-edit-panel { + border-color: #007cba; + border-right-color: transparent; } /** * Editor Normalization Styles diff --git a/wp-includes/css/dist/block-library/editor-rtl.min.css b/wp-includes/css/dist/block-library/editor-rtl.min.css index 853d6e3326..18a5318575 100644 --- a/wp-includes/css/dist/block-library/editor-rtl.min.css +++ b/wp-includes/css/dist/block-library/editor-rtl.min.css @@ -1 +1 @@ -.block-editor ul.wp-block-archives{padding-right:2.5em}.wp-block-audio{margin-right:0;margin-left:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow__click-redirect{height:auto}.block-editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.block-editor-block-list__block[data-type="core/button"][data-align=center] div[data-block]{margin-right:auto;margin-left:auto}.block-editor-block-list__block[data-type="core/button"][data-align=right]{text-align:right}.wp-block-button{position:relative}.wp-block-button [contenteditable]{cursor:text}.wp-block-button .block-editor-rich-text{display:inline-block}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button .block-editor-rich-text__editable:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.wp-block-button [data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#555d66;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link,.is-typing .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}div[data-type="core/button"] div[data-block]{display:table}.block-editor .wp-block-categories ul{padding-right:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;font-size:16px}@media (min-width:600px){.wp-block-code .block-editor-plain-text{font-size:13px}}.wp-block-code .block-editor-plain-text:focus{box-shadow:none}.components-tab-button{display:inline-flex;align-items:flex-end;margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-active:hover>span,.components-tab-button.is-active>span{background-color:#555d66;color:#fff}.wp-block-columns .editor-block-list__layout{margin-right:0;margin-left:0}.wp-block-columns .editor-block-list__layout .editor-block-list__block{max-width:none}[data-type="core/columns"][data-align=full] .wp-block-columns>.editor-inner-blocks{padding-right:14px;padding-left:14px}@media (min-width:600px){[data-type="core/columns"][data-align=full] .wp-block-columns>.editor-inner-blocks{padding-right:46px;padding-left:46px}}.wp-block-columns{display:block}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"],.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit .block-core-columns,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div[data-block]{display:flex;flex-direction:column;flex:1 1 auto}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"],.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit .block-core-columns,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div[data-block]{flex:1}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{padding-right:0;padding-left:0;margin-right:-14px;margin-left:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{flex-basis:calc(50% - 44px);flex-grow:0;margin-right:14px;margin-left:14px}}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:nth-child(2n){margin-right:46px}}@media (min-width:782px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-right:46px}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit:before{right:0;left:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>.editor-block-contextual-toolbar{margin-right:-1px}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div>.block-core-columns>.editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}[data-type="core/columns"] .block-list-appender{margin-top:28px;margin-bottom:28px}[data-type="core/columns"] [data-type="core/column"].is-selected .block-list-appender{margin:14px 0}.are-vertically-aligned-top .block-core-columns,div.block-core-columns.is-vertically-aligned-top{justify-content:flex-start}.are-vertically-aligned-center .block-core-columns,div.block-core-columns.is-vertically-aligned-center{justify-content:center}.are-vertically-aligned-bottom .block-core-columns,div.block-core-columns.is-vertically-aligned-bottom{justify-content:flex-end}[data-type="core/column"]>.editor-block-list__block-edit>.editor-block-list__breadcrumb{right:-3px}.block-core-columns>.block-editor-inner-blocks.has-overlay:after{right:0;left:0}.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/column"].has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks,.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/column"].is-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks,.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/columns"].has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks,.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/columns"].is-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks{padding:14px}.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/column"].has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.components-placeholder,.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/column"].is-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.components-placeholder,.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/columns"].has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.components-placeholder,.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/columns"].is-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.components-placeholder{margin:-14px;width:calc(100% + 28px)}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover-image.has-right-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-right-content .block-editor-rich-text__inline-toolbar{display:inline-block}.wp-block-cover-image .block-editor-block-list__layout,.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover-image .block-editor-block-list__block,.wp-block-cover .block-editor-block-list__block{color:#f8f9f9}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{text-align:right}.wp-block-cover-image .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout,.wp-block-cover .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:0;margin-left:0}.wp-block-cover-image.components-placeholder,.wp-block-cover.components-placeholder{background:rgba(139,139,150,.1);min-height:200px}.is-dark-theme .wp-block-cover-image.components-placeholder,.is-dark-theme .wp-block-cover.components-placeholder{background:hsla(0,0%,100%,.15)}.wp-block-cover-image .wp-block-cover__placeholder-color-palette,.wp-block-cover .wp-block-cover__placeholder-color-palette{max-width:290px;margin-top:1em}[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:305px;width:100%}.block-library-cover__reset-button{margin-right:auto}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-embed{margin-right:0;margin-left:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}.wp-block-embed.components-placeholder{min-width:0}}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;right:0;left:0;bottom:0;opacity:0}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-right:1em}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-right:2.5em;margin-right:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-right:4px solid #000;padding-right:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-right:auto;margin-left:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;left:0;bottom:0;right:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:right;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.33333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition-duration:0s}}div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit:before{border-color:#b5bcc2 transparent #b5bcc2 #b5bcc2}div[data-type="core/freeform"].is-hovered .block-editor-block-list__breadcrumb{display:none}div[data-type="core/freeform"] .editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#23282d}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-left:0;margin-right:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);border:1px solid #e2e4e7;border-bottom:none;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar,div[data-type="core/freeform"].is-typing .block-library-classic__toolbar{display:block;border-color:#b5bcc2}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.wp-block-gallery li{list-style-type:none}.is-selected .wp-block-gallery{margin-bottom:0}figure.wp-block-gallery{display:block;margin:0}.blocks-gallery-grid.blocks-gallery-grid{margin-bottom:0}.blocks-gallery-item figure:not(.is-selected):focus{outline:none}.blocks-gallery-item figure.is-selected{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item figure.is-selected{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item figure.is-selected{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item figure.is-selected{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item figure.is-selected{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item figure.is-selected{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item figure.is-selected{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item figure.is-selected{outline:4px solid #0085ba}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .block-editor-rich-text{position:absolute;bottom:0;width:100%;max-height:100%;overflow-y:auto}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-item .is-selected .block-editor-rich-text{left:0;right:0;margin-top:-4px}}.blocks-gallery-item .is-selected .block-editor-rich-text .block-editor-rich-text__inline-toolbar{top:0}.blocks-gallery-item .is-selected .block-editor-rich-text figcaption{padding-top:48px}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out}@media (prefers-reduced-motion:reduce){.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{transition-duration:0s}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu:hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu:hover{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{color:rgba(14,28,46,.62);padding:2px;height:24px}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}@media (min-width:600px){.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{padding:0;width:inherit;height:inherit}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:focus,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:focus{color:inherit}.blocks-gallery-item .block-editor-rich-text figcaption{position:relative;overflow:hidden}.blocks-gallery-item .block-editor-rich-text figcaption a{color:#fff}.block-library-gallery-item__inline-menu,.block-library-gallery-item__move-menu{margin:8px;display:inline-flex;z-index:20}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__move-menu .components-button{color:transparent}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-7 .block-library-gallery-item__move-menu,.columns-8 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__move-menu{padding:2px}}.block-library-gallery-item__inline-menu{position:absolute;top:-2px;left:-2px}.block-library-gallery-item__move-menu{position:absolute;top:-2px;right:-2px}.blocks-gallery-item__move-backward,.blocks-gallery-item__move-forward,.blocks-gallery-item__remove{padding:0}.blocks-gallery-item .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block[data-type="core/group"] .editor-block-list__insertion-point{right:0;left:0}.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.editor-inner-blocks{margin-top:-32px;margin-bottom:-32px}.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{margin-right:auto;margin-left:auto;padding-right:28px;padding-left:28px}@media (min-width:600px){.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{padding-right:58px;padding-left:58px}}.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{margin-right:-30px;width:calc(100% + 60px)}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks{margin-right:auto;margin-left:auto;padding-right:0;padding-left:0}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout{margin-right:0;margin-left:0}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{padding-left:0;padding-right:0;right:0;width:100%;max-width:none}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]>.editor-block-list__block-edit{margin-right:0;margin-left:0}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{width:calc(100% + 60px)}.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/group"].has-child-selected>.block-editor-block-list__block-edit>[data-block]>.wp-block-group>.wp-block-group__inner-container>.block-editor-inner-blocks,.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/group"].is-selected>.block-editor-block-list__block-edit>[data-block]>.wp-block-group>.wp-block-group__inner-container>.block-editor-inner-blocks{padding:14px}.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/group"].has-child-selected>.block-editor-block-list__block-edit>[data-block]>.wp-block-group:not(.has-background)>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout,.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/group"].is-selected>.block-editor-block-list__block-edit>[data-block]>.wp-block-group:not(.has-background)>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-top:-28px;margin-bottom:-28px}[data-type="core/group"].is-selected .block-list-appender{margin-right:0;margin-left:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.wp-block-html{margin-bottom:28px}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative;margin-right:0;margin-left:0}.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:100%}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.block-editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image{margin-right:auto;margin-left:auto}.block-editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image>div{margin-right:auto;margin-left:auto}.edit-post-sidebar .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-left:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-right:5px}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;right:0;left:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit figure{margin:0;display:table}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit .block-editor-rich-text{display:table-caption;caption-side:bottom}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized{margin:0;display:table}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized .block-editor-rich-text{display:table-caption;caption-side:bottom}.wp-block-latest-comments.has-avatars .avatar{margin-left:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-right:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-right:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__preview{padding-right:2.5em;padding-left:2.5em}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block;box-shadow:none}.wp-block-legacy-widget__update-button{margin-right:auto;display:block}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-media-text .__resizable_base__{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-vertically-aligned-top .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-top .editor-media-container__resizer{-ms-grid-row-align:start;align-self:start}.wp-block-media-text .block-editor-inner-blocks,.wp-block-media-text .editor-media-container__resizer,.wp-block-media-text.is-vertically-aligned-center .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-center .editor-media-container__resizer{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-bottom .editor-media-container__resizer{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text .editor-inner-blocks,.wp-block-media-text.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text .editor-inner-blocks{word-break:break-word;text-align:initial;padding:0 8%}.wp-block-media-text.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile .editor-media-container__resizer,.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}}.editor-styles-wrapper .block-library-list ol,.editor-styles-wrapper .block-library-list ul{padding-right:1.3em;margin-right:1.3em}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccd0d4}.wp-block-navigation-menu,.wp-block-navigation-menu .block-editor-block-list__layout{display:-ms-grid;display:grid;grid-auto-columns:-webkit-min-content;grid-auto-columns:min-content;grid-auto-flow:column;align-items:center;white-space:nowrap}.wp-block-navigation-menu__inserter-content{width:350px;padding:16px}.wp-block-navigation-menu-item__edit-container{display:-ms-grid;display:grid;grid-auto-columns:-webkit-min-content;grid-auto-columns:min-content;grid-auto-flow:column;align-items:center;white-space:nowrap;border:1px solid #e2e4e7;width:178px;padding-right:1px}.wp-block-navigation-menu-item__edit-container .wp-block-navigation-menu-item__field{border-left:1px solid #e2e4e7!important;width:140px;border:none;border-radius:0;padding-right:16px;min-height:35px;line-height:35px}.wp-block-navigation-menu-item__edit-container .wp-block-navigation-menu-item__field,.wp-block-navigation-menu-item__edit-container .wp-block-navigation-menu-item__field:focus{color:#555d66}.wp-block-navigation-menu-item{font-family:"Noto Serif",serif;color:#0073af;font-weight:700;font-size:14px}.wp-block-navigation-menu-item__nofollow-external-link{display:block}.wp-block-navigation-menu-item__separator{margin:8px 0;border-top:1px solid #e2e4e7}.components-popover:not(.is-mobile).wp-block-navigation-menu-item__dropdown-content{margin-top:-1px;margin-right:-4px}.wp-block-navigation-menu-item__dropdown-content .components-popover__content{padding:8px 0}.wp-block-navigation-menu .block-editor-block-list__block[data-type="core/navigation-menu-item"]>.block-editor-block-list__block-edit>div[role=toolbar]{display:none}.wp-block-navigation-menu .block-editor-block-list__block[data-type="core/navigation-menu-item"]>.block-editor-block-list__insertion-point{display:none}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccd0d4}.block-editor-rich-text__editable.wp-block-paragraph:not(.is-selected) [data-rich-text-placeholder]:after{display:inline-block;padding-left:108px}.wp-block .wp-block .block-editor-rich-text__editable.wp-block-paragraph:not(.is-selected) [data-rich-text-placeholder]:after{padding-left:36px}.block-editor-block-list__block[data-type="core/paragraph"] p{min-height:28px;line-height:1.8}.wp-block-preformatted pre{white-space:pre-wrap}.block-editor-block-list__block[data-type="core/pullquote"][data-align=left] .block-editor-rich-text p,.block-editor-block-list__block[data-type="core/pullquote"][data-align=right] .block-editor-rich-text p{font-size:20px}.wp-block-pullquote blockquote>.block-editor-rich-text p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-right:0;margin-left:0}.wp-block-pullquote.is-style-solid-color blockquote>.block-editor-rich-text p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-right:2.5em}.block-editor .wp-block-rss.is-grid{padding-right:0}.wp-block-rss li a>div{display:inline}.wp-block-search .wp-block-search__input{border-radius:4px;border:1px solid #7e8993;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__input:focus{outline:none}.wp-block-search .wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__button .wp-block-search__button-rich-text{padding:6px 10px}.wp-block-shortcode{display:flex;flex-direction:column;padding:14px;background-color:rgba(139,139,150,.1);font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin-bottom:28px}.wp-block-shortcode label{display:flex;align-items:center;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{width:80%;max-height:250px}.wp-block-shortcode .dashicon{margin-left:8px}.wp-social-link{padding:6px}.wp-block-social-links.is-style-pill-shape .wp-social-link{padding-right:16px;padding-left:16px}.wp-block-social-links div.editor-url-input{display:inline-block;margin-right:8px}.wp-block-social-links .editor-block-list__layout{display:flex;justify-content:flex-start}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:0;margin-left:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{width:auto;padding-right:0;padding-left:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit{margin-right:0;margin-left:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit:before{border-left:none;border-top:none;border-bottom:none}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.is-hovered:not(.is-navigate-mode)>.block-editor-block-list__block-edit:before{box-shadow:none}[data-type="core/social-links"].has-child-selected .wp-block-social-links .block-editor-block-list__block-edit:before,[data-type="core/social-links"].is-hovered .wp-block-social-links .block-editor-block-list__block-edit:before,[data-type="core/social-links"].is-selected .wp-block-social-links .block-editor-block-list__block-edit:before{border-color:transparent!important}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}[data-type="core/social-links"] .wp-block-social-links .block-editor-block-list__breadcrumb,[data-type="core/social-links"] .wp-block-social-links .block-editor-block-list__insertion-point,[data-type="core/social-links"] .wp-block-social-links .block-editor-block-mover.block-editor-block-mover{display:none}.wp-block-social-links .block-list-appender{margin:0}.wp-block-social-links .block-list-appender .block-editor-button-block-appender{padding:8px;outline:none;background:none}[data-type="core/social-links"][data-align=center] .wp-block-social-links{justify-content:center}.block-editor-block-preview__content .wp-social-link:disabled{opacity:1}.block-editor-block-preview__content [data-type="core/social-links"]{width:auto!important;display:inline-block}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-block-social-links{min-height:36px}[data-type="core/social-links"] .wp-social-link__is-incomplete{transition:transform .1s ease;transform-origin:center center}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-social-link__is-incomplete{opacity:0;transform:scale(0);width:0;padding:0;margin-left:0}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}[data-type="core/social-links"] .wp-social-link:focus{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px #007cba;outline:2px solid transparent}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.block-library-spacer__resize-container{clear:both;margin-bottom:28px}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.block-editor-block-list__block[data-type="core/table"][data-align=center],.block-editor-block-list__block[data-type="core/table"][data-align=left],.block-editor-block-list__block[data-type="core/table"][data-align=right]{height:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center] table,.block-editor-block-list__block[data-type="core/table"][data-align=left] table,.block-editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center] td,.block-editor-block-list__block[data-type="core/table"][data-align=center] th,.block-editor-block-list__block[data-type="core/table"][data-align=left] td,.block-editor-block-list__block[data-type="core/table"][data-align=left] th,.block-editor-block-list__block[data-type="core/table"][data-align=right] td,.block-editor-block-list__block[data-type="core/table"][data-align=right] th{word-break:break-word}.block-editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.block-editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table{margin:0}.wp-block-table table{border-collapse:collapse}.wp-block-table td,.wp-block-table th{padding:0;border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table__cell-content{padding:.5em}.wp-block-table__placeholder-form.wp-block-table__placeholder-form{text-align:right;align-items:center}.wp-block-table__placeholder-input{width:100px}.wp-block-table__placeholder-button{min-width:100px;justify-content:center}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-left:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-right:5px;color:#8f98a1;text-decoration:none}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #e2e4e7}.wp-block-verse pre,pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.block-editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{display:block;margin-left:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em}.block-editor-block-list__layout .reusable-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;position:relative;top:-14px;margin:0 -14px;padding:8px 14px;z-index:61;border:1px dashed rgba(145,151,162,.25);border-bottom:none}.block-editor-block-list__layout .block-editor-block-list__layout .reusable-block-edit-panel{margin:0 -14px;padding:8px 14px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner{margin:0 5px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-left:auto}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-left:8px;white-space:nowrap;font-weight:600}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:4px 0 8px}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.block-editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 5px 0 0}}.editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:hsla(0,0%,100%,.45) transparent hsla(0,0%,100%,.45) hsla(0,0%,100%,.45)}.block-editor-block-list__layout .reusable-block-indicator{background:#fff;border:1px dashed #e2e4e7;color:#555d66;top:-14px;height:30px;padding:4px;position:absolute;z-index:1;width:30px;left:-14px}.editor-styles-wrapper [data-block]{margin-top:28px;margin-bottom:28px} \ No newline at end of file +.block-editor ul.wp-block-archives{padding-right:2.5em}.wp-block-audio{margin-right:0;margin-left:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow__click-redirect{min-height:auto}.block-editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.block-editor-block-list__block[data-type="core/button"][data-align=center] div[data-block]{margin-right:auto;margin-left:auto}.block-editor-block-list__block[data-type="core/button"][data-align=right]{text-align:right}.wp-block-button{position:relative}.wp-block-button [contenteditable]{cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button .block-editor-rich-text__editable:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.wp-block-button [data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#555d66;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link,.is-typing .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}div[data-type="core/button"] div[data-block]{display:table}.block-editor .wp-block-categories ul{padding-right:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;font-size:16px}@media (min-width:600px){.wp-block-code .block-editor-plain-text{font-size:13px}}.wp-block-code .block-editor-plain-text:focus{box-shadow:none}.components-tab-button{display:inline-flex;align-items:flex-end;margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-active:hover>span,.components-tab-button.is-active>span{background-color:#555d66;color:#fff}.wp-block-columns .editor-block-list__layout .editor-block-list__block{max-width:none}.wp-block-columns{display:block}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"],.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit .block-core-columns,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div[data-block]{display:flex;flex-direction:column;flex:1 1 auto}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"],.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit .block-core-columns,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div[data-block]{flex:1}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{padding-right:0;padding-left:0;margin-right:-14px;margin-left:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{flex-basis:calc(50% - 16px);flex-grow:0;margin-right:0;margin-left:0}}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:nth-child(2n){margin-right:32px}}@media (min-width:782px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-right:32px}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit:before{right:0;left:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>.editor-block-contextual-toolbar{margin-right:-1px}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div>.block-core-columns>.editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}[data-type="core/columns"] .block-list-appender{margin-top:28px;margin-bottom:28px}.are-vertically-aligned-top .block-core-columns,div.block-core-columns.is-vertically-aligned-top{justify-content:flex-start}.are-vertically-aligned-center .block-core-columns,div.block-core-columns.is-vertically-aligned-center{justify-content:center}.are-vertically-aligned-bottom .block-core-columns,div.block-core-columns.is-vertically-aligned-bottom{justify-content:flex-end}[data-type="core/column"]>.editor-block-list__block-edit>.editor-block-list__breadcrumb{right:-3px}.block-core-columns>.block-editor-inner-blocks.has-overlay:after{right:0;left:0}[data-type="core/columns"][data-align=full] .wp-block-columns{padding-right:14px;padding-left:14px}@media (min-width:600px){[data-type="core/columns"][data-align=full] .wp-block-columns{padding-right:46px;padding-left:46px}}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image .block-editor-block-list__layout,.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover-image .block-editor-block-list__block,.wp-block-cover .block-editor-block-list__block{color:#f8f9f9}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{text-align:right}.wp-block-cover-image .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout,.wp-block-cover .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:0;margin-left:0}.wp-block-cover-image.components-placeholder,.wp-block-cover.components-placeholder{background:rgba(139,139,150,.1);min-height:200px}.is-dark-theme .wp-block-cover-image.components-placeholder,.is-dark-theme .wp-block-cover.components-placeholder{background:hsla(0,0%,100%,.15)}.wp-block-cover-image .wp-block-cover__placeholder-background-options,.wp-block-cover .wp-block-cover__placeholder-background-options{max-width:260px;margin-top:1em;width:100%}[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:290px;width:100%}.block-library-cover__reset-button{margin-right:auto}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-embed{margin-right:0;margin-left:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}.wp-block-embed.components-placeholder{min-width:0}}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;right:0;left:0;bottom:0;opacity:0}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-right:1em}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-right:2.5em;margin-right:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-right:4px solid #000;padding-right:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-right:auto;margin-left:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;left:0;bottom:0;right:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:right;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.33333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition-duration:0s}}div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit:before{border-color:#b5bcc2 transparent #b5bcc2 #b5bcc2}div[data-type="core/freeform"] .editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#23282d}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-left:0;margin-right:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);border:1px solid #e2e4e7;border-bottom:none;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar,div[data-type="core/freeform"].is-typing .block-library-classic__toolbar{display:block;border-color:#b5bcc2}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.wp-block-gallery li{list-style-type:none}.is-selected .wp-block-gallery{margin-bottom:0}figure.wp-block-gallery{display:block;margin:0}.blocks-gallery-grid.blocks-gallery-grid{padding-right:0;margin-right:0;margin-bottom:0}.blocks-gallery-item figure:not(.is-selected):focus{outline:none}.blocks-gallery-item figure.is-selected{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item figure.is-selected{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item figure.is-selected{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item figure.is-selected{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item figure.is-selected{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item figure.is-selected{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item figure.is-selected{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item figure.is-selected{outline:4px solid #0085ba}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out}@media (prefers-reduced-motion:reduce){.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{transition-duration:0s}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu:hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu:hover{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{color:rgba(14,28,46,.62);padding:2px;height:24px}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}@media (min-width:600px){.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{padding:0;width:inherit;height:inherit}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:focus,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:focus{color:inherit}.block-library-gallery-item__inline-menu,.block-library-gallery-item__move-menu{margin:8px;display:inline-flex;z-index:20}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__move-menu .components-button{color:transparent}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-7 .block-library-gallery-item__move-menu,.columns-8 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__move-menu{padding:2px}}.block-library-gallery-item__inline-menu{position:absolute;top:-2px;left:-2px}.block-library-gallery-item__move-menu{position:absolute;top:-2px;right:-2px}.blocks-gallery-item__move-backward,.blocks-gallery-item__move-forward,.blocks-gallery-item__remove{padding:0}.blocks-gallery-item .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block[data-type="core/group"] .editor-block-list__insertion-point{right:0;left:0}.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.editor-inner-blocks{margin-top:-32px;margin-bottom:-32px}.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{margin-right:auto;margin-left:auto;padding-right:28px;padding-left:28px}@media (min-width:600px){.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{padding-right:58px;padding-left:58px}}.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{margin-right:-30px;width:calc(100% + 60px)}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks{margin-right:auto;margin-left:auto;padding-right:0;padding-left:0}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout{margin-right:0;margin-left:0}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{padding-left:0;padding-right:0;right:0;width:100%;max-width:none}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]>.editor-block-list__block-edit{margin-right:0;margin-left:0}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{width:calc(100% + 60px)}[data-type="core/group"].is-selected .block-list-appender{margin-right:0;margin-left:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.wp-block-html{margin-bottom:28px}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative;margin-right:0;margin-left:0}.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:inherit;height:inherit}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.block-editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image{margin-right:auto;margin-left:auto}.block-editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image>div{margin-right:auto;margin-left:auto}.edit-post-sidebar .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-left:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-right:5px}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;right:0;left:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit figure{margin:0}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized{margin:0}.wp-block-latest-comments.has-avatars .avatar{margin-left:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-right:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-right:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__preview{padding-right:2.5em;padding-left:2.5em}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block;box-shadow:none}.wp-block-legacy-widget__update-button{margin-right:auto;display:block}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-legacy-widget__edit-widget-title{margin:-14px -13px 0;background:#f8f9f9;color:#555d66;top:-13px;position:relative;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:8px 14px;font-weight:600}.wp-block-media-text .__resizable_base__{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-vertically-aligned-top .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-top .editor-media-container__resizer{-ms-grid-row-align:start;align-self:start}.wp-block-media-text .block-editor-inner-blocks,.wp-block-media-text .editor-media-container__resizer,.wp-block-media-text.is-vertically-aligned-center .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-center .editor-media-container__resizer{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-bottom .editor-media-container__resizer{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text .editor-inner-blocks,.wp-block-media-text.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text .editor-inner-blocks{word-break:break-word;text-align:initial;padding:0 8%}.wp-block-media-text.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile .editor-media-container__resizer,.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccd0d4}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks{flex:1}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:0;margin-left:0}[data-type="core/navigation"] .wp-block-navigation.items-justification-left .block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:flex-start}[data-type="core/navigation"] .wp-block-navigation.items-justification-center .block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:center}[data-type="core/navigation"] .wp-block-navigation.items-justification-right .block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:flex-end}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{width:auto;padding-right:0;padding-left:0;margin-right:0;margin-left:0;margin-bottom:1em}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit{margin-right:0;margin-left:0}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block>.block-editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__block-edit:before{right:0;left:0}[data-type="core/navigation"].has-child-selected .wp-block-navigation .block-editor-block-list__block-edit:before,[data-type="core/navigation"].is-hovered .wp-block-navigation .block-editor-block-list__block-edit:before,[data-type="core/navigation"].is-selected .wp-block-navigation .block-editor-block-list__block-edit:before{border-color:transparent!important}[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__insertion-point{display:none}[data-type="core/navigation"] .wp-block-navigation .block-list-appender{margin:0}[data-type="core/navigation"] .wp-block-navigation .block-list-appender .block-editor-button-block-appender{padding:8px;outline:none;background:none}.wp-block-navigation,.wp-block-navigation .block-editor-block-list__layout{display:flex;flex-wrap:wrap}.wp-block-navigation__inserter-content{padding:16px}.wp-block-navigation .wp-block-navigation-link{margin-left:8px;margin-right:8px;padding:0 8px}.wp-block-navigation .wp-block-navigation-link .block-editor-block-list__layout{display:block;margin:8px}.wp-block-navigation .wp-block-navigation-link .block-editor-inner-blocks{display:none}.wp-block-navigation .wp-block-navigation-link.is-editing .block-editor-inner-blocks{display:block}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__icon-container:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.block-library-colors-selector .block-library-colors-selector__icon-container:focus,.block-library-colors-selector .block-library-colors-selector__icon-container:hover{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-library-colors-selector .block-library-colors-selector__state-selection{border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:left;margin-top:2px}.block-editor-block-mover.is-horizontal .block-editor-block-mover__control-drag-handle{display:none}.wp-block-navigation-link__container,.wp-block-navigation-link__field .components-text-control__input.components-text-control__input{border-radius:0;line-height:36px;min-height:36px}.wp-block-navigation-link__edit-container{display:flex;white-space:nowrap;margin-right:-8px}.wp-block-navigation-link__edit-container .wp-block-navigation-link__content{margin-left:8px;padding:0 8px;box-shadow:inset 0 0 0 1px #7e8993;transition:box-shadow .1s linear;border-radius:4px}@media (prefers-reduced-motion:reduce){.wp-block-navigation-link__edit-container .wp-block-navigation-link__content{transition-duration:0s}}.wp-block-navigation-link__edit-container .wp-block-navigation-link__content:focus{color:#191e23;box-shadow:inset 0 0 0 2px #007cba;outline:2px solid transparent}.wp-block-navigation-link{margin-left:8px;padding:0 8px 0 55px}.wp-block-navigation-link .block-editor-block-list__layout{display:block;margin:8px}.wp-block-navigation-link .block-editor-inner-blocks{display:none}.wp-block-navigation-link.is-editing,.wp-block-navigation-link.is-selected{min-width:20px}.wp-block-navigation-link.is-editing .block-editor-inner-blocks{display:block}.wp-block-navigation-link.has-link .wp-block-navigation-link__content{border-bottom-style:solid;border-bottom-width:1px}.wp-block-navigation-link .block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus):not(:focus) [data-rich-text-placeholder]:after{display:inline-block}[data-type="core/navigation-link"] .block-editor-block-toolbar{right:15px}.wp-block-navigation-link__nofollow-external-link{display:block}.wp-block-navigation-link__separator{margin:8px 0;border-top:1px solid #e2e4e7}.components-popover.wp-block-navigation-link__dropdown-content{margin-top:-1px;margin-right:-4px}.wp-block-navigation-link__dropdown-content .components-popover__content{padding:8px 0}.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"]>.block-editor-block-list__insertion-point{display:none}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccd0d4}.block-editor-rich-text__editable.wp-block-paragraph:not(.is-selected) [data-rich-text-placeholder]:after{display:inline-block;padding-left:108px}.wp-block .wp-block .block-editor-rich-text__editable.wp-block-paragraph:not(.is-selected) [data-rich-text-placeholder]:after{padding-left:36px}.block-editor-block-list__block[data-type="core/paragraph"] p{min-height:28px;line-height:1.8}.block-editor-block-list__block[data-type="core/paragraph"] .has-drop-cap:focus{min-height:28px!important}.block-editor-block-list__block[data-type="core/pullquote"][data-align=left] p,.block-editor-block-list__block[data-type="core/pullquote"][data-align=right] p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-right:0;margin-left:0}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-right:2.5em}.block-editor .wp-block-rss.is-grid{padding-right:0}.wp-block-rss li a>div{display:inline}.wp-block-search__input{border-radius:4px;border:1px solid #7e8993;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search__input:focus{outline:none}.wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;padding:6px 10px}.wp-block-search__button,.wp-block-shortcode{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-shortcode{display:flex;flex-direction:column;padding:14px;background-color:rgba(139,139,150,.1);margin-bottom:28px}.wp-block-shortcode label{display:flex;align-items:center;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{width:80%;max-height:250px}.wp-block-shortcode .dashicon{margin-left:8px}.wp-social-link{padding:6px}.wp-block-social-links.is-style-pill-shape .wp-social-link{padding-right:16px;padding-left:16px}.wp-block-social-links div.editor-url-input{display:inline-block;margin-right:8px}.wp-block-social-links .editor-block-list__layout{display:flex;justify-content:flex-start}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:0;margin-left:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{width:auto;padding-right:0;padding-left:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit{margin-right:0;margin-left:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit:before{border-left:none;border-top:none;border-bottom:none}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.is-hovered:not(.is-navigate-mode)>.block-editor-block-list__block-edit:before{box-shadow:none}[data-type="core/social-links"].has-child-selected .wp-block-social-links .block-editor-block-list__block-edit:before,[data-type="core/social-links"].is-hovered .wp-block-social-links .block-editor-block-list__block-edit:before,[data-type="core/social-links"].is-selected .wp-block-social-links .block-editor-block-list__block-edit:before{border-color:transparent!important}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}[data-type="core/social-links"] .wp-block-social-links .block-editor-block-list__insertion-point{display:none}.wp-block-social-links .block-list-appender{margin:0}.wp-block-social-links .block-list-appender .block-editor-button-block-appender{padding:8px;outline:none;background:none}[data-type="core/social-links"][data-align=center] .wp-block-social-links{justify-content:center}.block-editor-block-preview__content .wp-social-link:disabled{opacity:1}.block-editor-block-preview__content [data-type="core/social-links"]{width:auto!important;display:inline-block}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-block-social-links{min-height:36px}[data-type="core/social-links"] .wp-social-link__is-incomplete{transition:transform .1s ease;transform-origin:center center}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-social-link__is-incomplete{opacity:0;transform:scale(0);width:0;padding:0;margin-left:0}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}[data-type="core/social-links"] .wp-social-link:focus{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px #007cba;outline:2px solid transparent}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.block-library-spacer__resize-container{clear:both;margin-bottom:28px}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.block-editor-block-list__block[data-type="core/table"][data-align=center],.block-editor-block-list__block[data-type="core/table"][data-align=left],.block-editor-block-list__block[data-type="core/table"][data-align=right]{height:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center] table,.block-editor-block-list__block[data-type="core/table"][data-align=left] table,.block-editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center] td,.block-editor-block-list__block[data-type="core/table"][data-align=center] th,.block-editor-block-list__block[data-type="core/table"][data-align=left] td,.block-editor-block-list__block[data-type="core/table"][data-align=left] th,.block-editor-block-list__block[data-type="core/table"][data-align=right] td,.block-editor-block-list__block[data-type="core/table"][data-align=right] th{word-break:break-word}.block-editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.block-editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table{margin:0}.wp-block-table table{border-collapse:collapse}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table__placeholder-form.wp-block-table__placeholder-form{text-align:right;align-items:center}.wp-block-table__placeholder-input{width:100px}.wp-block-table__placeholder-button{min-width:100px;justify-content:center}.wp-block-table figcaption{color:#555d66;font-size:13px;text-align:center}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-left:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-right:5px;color:#8f98a1;text-decoration:none}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #e2e4e7}pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.block-editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{display:block;margin-left:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em}.wp-block-site-title__save-button{position:absolute;left:0;top:0;z-index:1}.block-editor-block-list__layout .reusable-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;position:relative;top:-14px;margin:0 -14px;padding:8px 14px;z-index:61;border:1px dashed rgba(145,151,162,.25);border-bottom:none}.block-editor-block-list__layout .block-editor-block-list__layout .reusable-block-edit-panel{margin:0 -14px;padding:8px 14px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner{margin:0 5px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-left:auto}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-left:8px;white-space:nowrap;font-weight:600}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:4px 0 8px}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.block-editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 5px 0 0}}.editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:hsla(0,0%,100%,.45) transparent hsla(0,0%,100%,.45) hsla(0,0%,100%,.45)}.is-dark-theme .is-selected.is-navigate-mode .reusable-block-edit-panel,.is-selected.is-navigate-mode .reusable-block-edit-panel{border-color:#007cba transparent #007cba #007cba}.editor-styles-wrapper [data-block]{margin-top:28px;margin-bottom:28px} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/editor.css b/wp-includes/css/dist/block-library/editor.css index 02ccea5fc6..c4b65b2f87 100644 --- a/wp-includes/css/dist/block-library/editor.css +++ b/wp-includes/css/dist/block-library/editor.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -46,7 +43,7 @@ margin-right: 0; } .edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow__click-redirect { - height: auto; } + min-height: auto; } .block-editor-block-list__block[data-type="core/button"][data-align="center"] { text-align: center; } @@ -62,8 +59,6 @@ position: relative; } .wp-block-button [contenteditable] { cursor: text; } - .wp-block-button .block-editor-rich-text { - display: inline-block; } .wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]::after { color: #fff; } .wp-block-button .block-editor-rich-text__editable:focus { @@ -152,19 +147,8 @@ div[data-type="core/button"] div[data-block] { background-color: #555d66; color: #fff; } -.wp-block-columns .editor-block-list__layout { - margin-left: 0; - margin-right: 0; } - .wp-block-columns .editor-block-list__layout .editor-block-list__block { - max-width: none; } - -[data-type="core/columns"][data-align="full"] .wp-block-columns > .editor-inner-blocks { - padding-left: 14px; - padding-right: 14px; } - @media (min-width: 600px) { - [data-type="core/columns"][data-align="full"] .wp-block-columns > .editor-inner-blocks { - padding-left: 46px; - padding-right: 46px; } } +.wp-block-columns .editor-block-list__layout .editor-block-list__block { + max-width: none; } .wp-block-columns { display: block; } @@ -198,16 +182,16 @@ div[data-type="core/button"] div[data-block] { flex-basis: 100%; } @media (min-width: 600px) { .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] { - flex-basis: calc(50% - (16px + 28px)); + flex-basis: calc(50% - (16px)); flex-grow: 0; - margin-left: 14px; - margin-right: 14px; } } + margin-left: 0; + margin-right: 0; } } @media (min-width: 600px) { .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(even) { - margin-left: calc(32px + 14px); } } + margin-left: calc(32px); } } @media (min-width: 782px) { .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:first-child) { - margin-left: calc(32px + 14px); } } + margin-left: calc(32px); } } .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit { margin-top: 0; margin-bottom: 0; } @@ -234,9 +218,6 @@ div[data-type="core/button"] div[data-block] { margin-top: 28px; margin-bottom: 28px; } -[data-type="core/columns"] [data-type="core/column"].is-selected .block-list-appender { - margin: 14px 0; } - /** * Vertical Alignment Preview * note: specificity is important here to ensure individual @@ -268,31 +249,18 @@ div.block-core-columns.is-vertically-aligned-bottom { left: 0; right: 0; } -/** - * Add extra padding when the parent block is selected, for easier interaction. - */ -.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/columns"].is-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks, -.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/columns"].has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks, -.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/column"].is-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks, -.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/column"].has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks { - padding: 14px; } - .block-editor-block-list__layout .block-editor-block-list__block[data-type="core/columns"].is-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .components-placeholder, - .block-editor-block-list__layout .block-editor-block-list__block[data-type="core/columns"].has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .components-placeholder, - .block-editor-block-list__layout .block-editor-block-list__block[data-type="core/column"].is-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .components-placeholder, - .block-editor-block-list__layout .block-editor-block-list__block[data-type="core/column"].has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks > .components-placeholder { - margin: -14px; - width: calc(100% + 28px); } +[data-type="core/columns"][data-align="full"] .wp-block-columns { + padding-left: 14px; + padding-right: 14px; } + @media (min-width: 600px) { + [data-type="core/columns"][data-align="full"] .wp-block-columns { + padding-left: 46px; + padding-right: 46px; } } .wp-block-cover-image.components-placeholder h2, .wp-block-cover.components-placeholder h2 { color: inherit; } -.wp-block-cover-image.has-right-content .block-editor-rich-text__inline-toolbar, -.wp-block-cover-image.has-left-content .block-editor-rich-text__inline-toolbar, -.wp-block-cover.has-right-content .block-editor-rich-text__inline-toolbar, -.wp-block-cover.has-left-content .block-editor-rich-text__inline-toolbar { - display: inline-block; } - .wp-block-cover-image .block-editor-block-list__layout, .wp-block-cover .block-editor-block-list__layout { width: 100%; } @@ -318,17 +286,18 @@ div.block-core-columns.is-vertically-aligned-bottom { .wp-block-cover.components-placeholder { background: rgba(255, 255, 255, 0.15); } -.wp-block-cover-image .wp-block-cover__placeholder-color-palette, -.wp-block-cover .wp-block-cover__placeholder-color-palette { - max-width: 290px; - margin-top: 1em; } +.wp-block-cover-image .wp-block-cover__placeholder-background-options, +.wp-block-cover .wp-block-cover__placeholder-background-options { + max-width: 260px; + margin-top: 1em; + width: 100%; } [data-align="left"] .wp-block-cover-image, [data-align="right"] .wp-block-cover-image, [data-align="left"] .wp-block-cover, [data-align="right"] .wp-block-cover { - max-width: 305px; + max-width: 290px; width: 100%; } .block-library-cover__reset-button { @@ -576,9 +545,6 @@ div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit: border-color: #b5bcc2; border-left-color: transparent; } -div[data-type="core/freeform"].is-hovered .block-editor-block-list__breadcrumb { - display: none; } - div[data-type="core/freeform"] .editor-block-contextual-toolbar + div { margin-top: 0; padding-top: 0; } @@ -664,6 +630,8 @@ figure.wp-block-gallery { margin: 0; } .blocks-gallery-grid.blocks-gallery-grid { + padding-left: 0; + margin-left: 0; margin-bottom: 0; } .blocks-gallery-item figure:not(.is-selected):focus { @@ -696,25 +664,6 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { .blocks-gallery-item figure.is-transient img { opacity: 0.3; } -.blocks-gallery-item .block-editor-rich-text { - position: absolute; - bottom: 0; - width: 100%; - max-height: 100%; - overflow-y: auto; } - -@supports ((position: -webkit-sticky) or (position: sticky)) { - .blocks-gallery-item .is-selected .block-editor-rich-text { - right: 0; - left: 0; - margin-top: -4px; } } - -.blocks-gallery-item .is-selected .block-editor-rich-text .block-editor-rich-text__inline-toolbar { - top: 0; } - -.blocks-gallery-item .is-selected .block-editor-rich-text figcaption { - padding-top: 48px; } - .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu, .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu { background: #fff; @@ -749,12 +698,6 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:focus { color: inherit; } -.blocks-gallery-item .block-editor-rich-text figcaption { - position: relative; - overflow: hidden; } - .blocks-gallery-item .block-editor-rich-text figcaption a { - color: #fff; } - .block-library-gallery-item__move-menu, .block-library-gallery-item__inline-menu { margin: 8px; @@ -843,15 +786,6 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { .wp-block[data-type="core/group"][data-align="full"] > .editor-block-list__block-edit > div > .wp-block-group.has-background > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="full"] { width: calc(100% + 60px); } -.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/group"].has-child-selected > .block-editor-block-list__block-edit > [data-block] > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks, -.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/group"].is-selected > .block-editor-block-list__block-edit > [data-block] > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks { - padding: 14px; } - -.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/group"].has-child-selected > .block-editor-block-list__block-edit > [data-block] > .wp-block-group:not(.has-background) > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout, -.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/group"].is-selected > .block-editor-block-list__block-edit > [data-block] > .wp-block-group:not(.has-background) > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout { - margin-top: -28px; - margin-bottom: -28px; } - [data-type="core/group"].is-selected .block-list-appender { margin-left: 0; margin-right: 0; } @@ -896,7 +830,8 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { display: inline-block; } .wp-block-image .components-resizable-box__container img { display: block; - width: 100%; } + width: inherit; + height: inherit; } .wp-block-image.is-focused .components-resizable-box__handle { display: block; @@ -938,25 +873,14 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { [data-type="core/image"][data-align="center"] .block-editor-block-list__block-edit figure, [data-type="core/image"][data-align="left"] .block-editor-block-list__block-edit figure, [data-type="core/image"][data-align="right"] .block-editor-block-list__block-edit figure { - margin: 0; - display: table; } - -[data-type="core/image"][data-align="center"] .block-editor-block-list__block-edit .block-editor-rich-text, -[data-type="core/image"][data-align="left"] .block-editor-block-list__block-edit .block-editor-rich-text, -[data-type="core/image"][data-align="right"] .block-editor-block-list__block-edit .block-editor-rich-text { - display: table-caption; - caption-side: bottom; } + margin: 0; } [data-type="core/image"][data-align="wide"] figure img, [data-type="core/image"][data-align="full"] figure img { width: 100%; } [data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized { - margin: 0; - display: table; } - [data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized .block-editor-rich-text { - display: table-caption; - caption-side: bottom; } + margin: 0; } .wp-block-latest-comments.has-avatars .avatar { margin-right: 10px; } @@ -995,6 +919,17 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { .wp-block-legacy-widget__preview { overflow: auto; } +.wp-block-legacy-widget__edit-widget-title { + margin: -14px -13px 0; + background: #f8f9f9; + color: #555d66; + top: -13px; + position: relative; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 13px; + padding: 8px 14px; + font-weight: 600; } + .wp-block-media-text .__resizable_base__ { -ms-grid-column: 1; -ms-grid-column-span: 2; @@ -1095,11 +1030,6 @@ figure.block-library-media-text__media-container { -ms-grid-row: 2; grid-row: 2; } } -.editor-styles-wrapper .block-library-list ul, -.editor-styles-wrapper .block-library-list ol { - padding-left: 1.3em; - margin-left: 1.3em; } - .block-editor-block-list__block[data-type="core/more"] { max-width: 100%; text-align: center; @@ -1136,72 +1066,201 @@ figure.block-library-media-text__media-container { right: 0; border-top: 3px dashed #ccd0d4; } -.wp-block-navigation-menu .block-editor-block-list__layout, -.wp-block-navigation-menu { - display: -ms-grid; - display: grid; - grid-auto-columns: -webkit-min-content; - grid-auto-columns: min-content; - grid-auto-flow: column; - align-items: center; - white-space: nowrap; } +[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks { + flex: 1; } -.wp-block-navigation-menu__inserter-content { - width: 350px; - padding: 16px; } +[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks > .block-editor-block-list__layout { + margin-left: 0; + margin-right: 0; } -.wp-block-navigation-menu-item__edit-container { - display: -ms-grid; - display: grid; - grid-auto-columns: -webkit-min-content; - grid-auto-columns: min-content; - grid-auto-flow: column; - align-items: center; - white-space: nowrap; } +[data-type="core/navigation"] .wp-block-navigation.items-justification-left .block-editor-inner-blocks > .block-editor-block-list__layout { + justify-content: flex-start; } -.wp-block-navigation-menu-item__edit-container { - border: 1px solid #e2e4e7; - width: 178px; - padding-left: 1px; } +[data-type="core/navigation"] .wp-block-navigation.items-justification-center .block-editor-inner-blocks > .block-editor-block-list__layout { + justify-content: center; } -.wp-block-navigation-menu-item__edit-container .wp-block-navigation-menu-item__field { - border-right: 1px solid #e2e4e7 !important; - width: 140px; - border: none; - border-radius: 0; - padding-left: 16px; - min-height: 35px; - line-height: 35px; } - .wp-block-navigation-menu-item__edit-container .wp-block-navigation-menu-item__field, .wp-block-navigation-menu-item__edit-container .wp-block-navigation-menu-item__field:focus { - color: #555d66; } +[data-type="core/navigation"] .wp-block-navigation.items-justification-right .block-editor-inner-blocks > .block-editor-block-list__layout { + justify-content: flex-end; } -.wp-block-navigation-menu-item { - font-family: "Noto Serif", serif; - color: #0073af; - font-weight: bold; - font-size: 14px; } - -.wp-block-navigation-menu-item__nofollow-external-link { - display: block; } - -.wp-block-navigation-menu-item__separator { - margin-top: 8px; - margin-bottom: 8px; +[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block { + width: auto; + padding-left: 0; + padding-right: 0; margin-left: 0; margin-right: 0; + margin-bottom: 1em; } + +[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block > .block-editor-block-list__block-edit { + margin-left: 0; + margin-right: 0; } + +[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block > .block-editor-block-list__block-edit > [data-block] { + margin-top: 0; + margin-bottom: 0; } + +[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__block-edit::before { + left: 0; + right: 0; } + +[data-type="core/navigation"].is-hovered .wp-block-navigation .block-editor-block-list__block-edit::before, +[data-type="core/navigation"].is-selected .wp-block-navigation .block-editor-block-list__block-edit::before, +[data-type="core/navigation"].has-child-selected .wp-block-navigation .block-editor-block-list__block-edit::before { + border-color: transparent !important; } + +[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__insertion-point { + display: none; } + +[data-type="core/navigation"] .wp-block-navigation .block-list-appender { + margin: 0; } + [data-type="core/navigation"] .wp-block-navigation .block-list-appender .block-editor-button-block-appender { + padding: 8px; + outline: none; + background: none; } + +.wp-block-navigation .block-editor-block-list__layout, +.wp-block-navigation { + display: flex; + flex-wrap: wrap; } + +.wp-block-navigation__inserter-content { + padding: 16px; } + +/* + * Adjust Navigation Item. + */ +.wp-block-navigation .wp-block-navigation-link { + margin-right: 8px; + margin-left: 8px; + padding: 0 8px; } + .wp-block-navigation .wp-block-navigation-link .block-editor-block-list__layout { + display: block; + margin: 8px; } + .wp-block-navigation .wp-block-navigation-link .block-editor-inner-blocks { + display: none; } + .wp-block-navigation .wp-block-navigation-link.is-editing .block-editor-inner-blocks { + display: block; } + +/** + * Colors Selector component + */ +.block-library-colors-selector { + width: auto; } + .block-library-colors-selector .block-library-colors-selector__toggle { + display: block; + margin: 0 auto; + padding: 3px; + width: auto; } + .block-library-colors-selector .block-library-colors-selector__icon-container { + width: 42px; + height: 30px; + position: relative; + margin: 0 auto; + padding: 3px; + display: flex; + align-items: center; + border-radius: 4px; } + .block-library-colors-selector .block-library-colors-selector__icon-container::after { + content: ""; + pointer-events: none; + display: block; + width: 0; + height: 0; + border-left: 3px solid transparent; + border-right: 3px solid transparent; + border-top: 5px solid; + margin-left: 4px; + margin-right: 2px; } + .block-library-colors-selector .block-library-colors-selector__icon-container:focus, .block-library-colors-selector .block-library-colors-selector__icon-container:hover { + color: #555d66; + box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; } + .block-library-colors-selector .block-library-colors-selector__state-selection { + border-radius: 11px; + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); + width: 22px; + min-width: 22px; + height: 22px; + min-height: 22px; + line-height: 20px; + padding: 2px; } + .block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color > svg, + .block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color > svg path { + color: inherit; } + +.block-library-colors-selector__popover .color-palette-controller-container { + padding: 16px; } + +.block-library-colors-selector__popover .components-base-control__label { + height: 20px; + line-height: 20px; } + +.block-library-colors-selector__popover .component-color-indicator { + float: right; + margin-top: 2px; } + +.block-editor-block-mover.is-horizontal .block-editor-block-mover__control-drag-handle { + display: none; } + +.wp-block-navigation-link__field .components-text-control__input.components-text-control__input, +.wp-block-navigation-link__container { + border-radius: 0; + line-height: 36px; + min-height: 36px; } + +.wp-block-navigation-link__edit-container { + display: flex; + white-space: nowrap; + margin-left: -8px; } + .wp-block-navigation-link__edit-container .wp-block-navigation-link__content { + margin-right: 8px; + padding: 0 8px; + box-shadow: inset 0 0 0 1px #7e8993; + transition: box-shadow 0.1s linear; + border-radius: 4px; } + @media (prefers-reduced-motion: reduce) { + .wp-block-navigation-link__edit-container .wp-block-navigation-link__content { + transition-duration: 0s; } } + .wp-block-navigation-link__edit-container .wp-block-navigation-link__content:focus { + color: #191e23; + box-shadow: inset 0 0 0 2px #007cba; + outline: 2px solid transparent; } + +.wp-block-navigation-link { + margin-right: 8px; + padding: 0 8px; + padding-right: 55px; } + .wp-block-navigation-link .block-editor-block-list__layout { + display: block; + margin: 8px; } + .wp-block-navigation-link .block-editor-inner-blocks { + display: none; } + .wp-block-navigation-link.is-editing, .wp-block-navigation-link.is-selected { + min-width: 20px; } + .wp-block-navigation-link.is-editing .block-editor-inner-blocks { + display: block; } + .wp-block-navigation-link.has-link .wp-block-navigation-link__content { + border-bottom-style: solid; + border-bottom-width: 1px; } + .wp-block-navigation-link .block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus):not(:focus) [data-rich-text-placeholder]::after { + display: inline-block; } + +[data-type="core/navigation-link"] .block-editor-block-toolbar { + left: 15px; } + +.wp-block-navigation-link__nofollow-external-link { + display: block; } + +.wp-block-navigation-link__separator { + margin: 8px 0 8px; border-top: 1px solid #e2e4e7; } -.components-popover:not(.is-mobile).wp-block-navigation-menu-item__dropdown-content { +.components-popover.wp-block-navigation-link__dropdown-content { margin-top: -1px; margin-left: -4px; } -.wp-block-navigation-menu-item__dropdown-content .components-popover__content { +.wp-block-navigation-link__dropdown-content .components-popover__content { padding: 8px 0; } -.wp-block-navigation-menu .block-editor-block-list__block[data-type="core/navigation-menu-item"] > .block-editor-block-list__block-edit > div[role="toolbar"] { - display: none; } - -.wp-block-navigation-menu .block-editor-block-list__block[data-type="core/navigation-menu-item"] > .block-editor-block-list__insertion-point { +.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"] > .block-editor-block-list__insertion-point { display: none; } .block-editor-block-list__block[data-type="core/nextpage"] { @@ -1243,20 +1302,20 @@ figure.block-library-media-text__media-container { min-height: 28px; line-height: 1.8; } -.wp-block-preformatted pre { - white-space: pre-wrap; } +.block-editor-block-list__block[data-type="core/paragraph"] .has-drop-cap:focus { + min-height: 28px !important; } -.block-editor-block-list__block[data-type="core/pullquote"][data-align="left"] .block-editor-rich-text p, .block-editor-block-list__block[data-type="core/pullquote"][data-align="right"] .block-editor-rich-text p { +.block-editor-block-list__block[data-type="core/pullquote"][data-align="left"] p, .block-editor-block-list__block[data-type="core/pullquote"][data-align="right"] p { font-size: 20px; } -.wp-block-pullquote blockquote > .block-editor-rich-text p { +.wp-block-pullquote blockquote p { font-size: 28px; line-height: 1.6; } .wp-block-pullquote.is-style-solid-color { margin-left: 0; margin-right: 0; } - .wp-block-pullquote.is-style-solid-color blockquote > .block-editor-rich-text p { + .wp-block-pullquote.is-style-solid-color blockquote p { font-size: 32px; } .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation { text-transform: none; @@ -1276,24 +1335,23 @@ figure.block-library-media-text__media-container { .wp-block-rss li a > div { display: inline; } -.wp-block-search .wp-block-search__input { +.wp-block-search__input { border-radius: 4px; border: 1px solid #7e8993; color: rgba(14, 28, 46, 0.62); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 13px; } - .wp-block-search .wp-block-search__input:focus { + .wp-block-search__input:focus { outline: none; } -.wp-block-search .wp-block-search__button { +.wp-block-search__button { background: #f7f7f7; border-radius: 4px; border: 1px solid #ccc; box-shadow: inset 0 -1px 0 #ccc; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - font-size: 13px; } - .wp-block-search .wp-block-search__button .wp-block-search__button-rich-text { - padding: 6px 10px; } + font-size: 13px; + padding: 6px 10px; } .wp-block-shortcode { display: flex; @@ -1360,9 +1418,7 @@ figure.block-library-media-text__media-container { margin-top: 0; margin-bottom: 0; } -[data-type="core/social-links"] .wp-block-social-links .block-editor-block-list__insertion-point, -[data-type="core/social-links"] .wp-block-social-links .block-editor-block-list__breadcrumb, -[data-type="core/social-links"] .wp-block-social-links .block-editor-block-mover.block-editor-block-mover { +[data-type="core/social-links"] .wp-block-social-links .block-editor-block-list__insertion-point { display: none; } .wp-block-social-links .block-list-appender { @@ -1442,15 +1498,12 @@ figure.block-library-media-text__media-container { border-collapse: collapse; } .wp-block-table td, .wp-block-table th { - padding: 0; border: 1px solid; } .wp-block-table td.is-selected, .wp-block-table th.is-selected { border-color: #00a0d2; box-shadow: inset 0 0 0 1px #00a0d2; border-style: double; } - .wp-block-table__cell-content { - padding: 0.5em; } .wp-block-table__placeholder-form.wp-block-table__placeholder-form { text-align: left; align-items: center; } @@ -1459,6 +1512,10 @@ figure.block-library-media-text__media-container { .wp-block-table__placeholder-button { min-width: 100px; justify-content: center; } + .wp-block-table figcaption { + color: #555d66; + font-size: 13px; + text-align: center; } .block-editor .wp-block-tag-cloud a { display: inline-block; @@ -1473,8 +1530,7 @@ figure.block-library-media-text__media-container { .wp-block-text-columns .block-editor-rich-text__editable:focus { outline: 1px solid #e2e4e7; } -pre.wp-block-verse, -.wp-block-verse pre { +pre.wp-block-verse { color: #191e23; white-space: nowrap; font-family: inherit; @@ -1492,6 +1548,12 @@ pre.wp-block-verse, .editor-video-poster-control .components-button + .components-button { margin-top: 1em; } +.wp-block-site-title__save-button { + position: absolute; + right: 0; + top: 0; + z-index: 1; } + /** * Import styles from internal editor components used by the blocks. */ @@ -1543,17 +1605,12 @@ pre.wp-block-verse, border-color: rgba(255, 255, 255, 0.45); border-left-color: transparent; } -.block-editor-block-list__layout .reusable-block-indicator { - background: #fff; - border: 1px dashed #e2e4e7; - color: #555d66; - top: -14px; - height: 30px; - padding: 4px; - position: absolute; - z-index: 1; - width: 30px; - right: -14px; } +.is-selected.is-navigate-mode .reusable-block-edit-panel { + border-color: #007cba; + border-left-color: transparent; } + .is-dark-theme .is-selected.is-navigate-mode .reusable-block-edit-panel { + border-color: #007cba; + border-left-color: transparent; } /** * Editor Normalization Styles diff --git a/wp-includes/css/dist/block-library/editor.min.css b/wp-includes/css/dist/block-library/editor.min.css index 5301d57503..3fc3be30ad 100644 --- a/wp-includes/css/dist/block-library/editor.min.css +++ b/wp-includes/css/dist/block-library/editor.min.css @@ -1,2 +1,2 @@ -.block-editor ul.wp-block-archives{padding-left:2.5em}.wp-block-audio{margin-left:0;margin-right:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow__click-redirect{height:auto}.block-editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.block-editor-block-list__block[data-type="core/button"][data-align=center] div[data-block]{margin-left:auto;margin-right:auto}.block-editor-block-list__block[data-type="core/button"][data-align=right]{ - /*!rtl:ignore*/text-align:right}.wp-block-button{position:relative}.wp-block-button [contenteditable]{cursor:text}.wp-block-button .block-editor-rich-text{display:inline-block}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button .block-editor-rich-text__editable:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.wp-block-button [data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#555d66;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link,.is-typing .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}div[data-type="core/button"] div[data-block]{display:table}.block-editor .wp-block-categories ul{padding-left:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;font-size:16px}@media (min-width:600px){.wp-block-code .block-editor-plain-text{font-size:13px}}.wp-block-code .block-editor-plain-text:focus{box-shadow:none}.components-tab-button{display:inline-flex;align-items:flex-end;margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-active:hover>span,.components-tab-button.is-active>span{background-color:#555d66;color:#fff}.wp-block-columns .editor-block-list__layout{margin-left:0;margin-right:0}.wp-block-columns .editor-block-list__layout .editor-block-list__block{max-width:none}[data-type="core/columns"][data-align=full] .wp-block-columns>.editor-inner-blocks{padding-left:14px;padding-right:14px}@media (min-width:600px){[data-type="core/columns"][data-align=full] .wp-block-columns>.editor-inner-blocks{padding-left:46px;padding-right:46px}}.wp-block-columns{display:block}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"],.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit .block-core-columns,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div[data-block]{display:flex;flex-direction:column;flex:1 1 auto}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"],.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit .block-core-columns,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div[data-block]{flex:1}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{padding-left:0;padding-right:0;margin-left:-14px;margin-right:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{flex-basis:calc(50% - 44px);flex-grow:0;margin-left:14px;margin-right:14px}}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:nth-child(2n){margin-left:46px}}@media (min-width:782px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-left:46px}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit:before{left:0;right:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>.editor-block-contextual-toolbar{margin-left:-1px}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div>.block-core-columns>.editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}[data-type="core/columns"] .block-list-appender{margin-top:28px;margin-bottom:28px}[data-type="core/columns"] [data-type="core/column"].is-selected .block-list-appender{margin:14px 0}.are-vertically-aligned-top .block-core-columns,div.block-core-columns.is-vertically-aligned-top{justify-content:flex-start}.are-vertically-aligned-center .block-core-columns,div.block-core-columns.is-vertically-aligned-center{justify-content:center}.are-vertically-aligned-bottom .block-core-columns,div.block-core-columns.is-vertically-aligned-bottom{justify-content:flex-end}[data-type="core/column"]>.editor-block-list__block-edit>.editor-block-list__breadcrumb{left:-3px}.block-core-columns>.block-editor-inner-blocks.has-overlay:after{left:0;right:0}.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/column"].has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks,.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/column"].is-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks,.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/columns"].has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks,.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/columns"].is-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks{padding:14px}.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/column"].has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.components-placeholder,.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/column"].is-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.components-placeholder,.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/columns"].has-child-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.components-placeholder,.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/columns"].is-selected>.block-editor-block-list__block-edit>[data-block]>div>.block-editor-inner-blocks>.components-placeholder{margin:-14px;width:calc(100% + 28px)}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover-image.has-right-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-left-content .block-editor-rich-text__inline-toolbar,.wp-block-cover.has-right-content .block-editor-rich-text__inline-toolbar{display:inline-block}.wp-block-cover-image .block-editor-block-list__layout,.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover-image .block-editor-block-list__block,.wp-block-cover .block-editor-block-list__block{color:#f8f9f9}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{text-align:left}.wp-block-cover-image .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout,.wp-block-cover .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-left:0;margin-right:0}.wp-block-cover-image.components-placeholder,.wp-block-cover.components-placeholder{background:rgba(139,139,150,.1);min-height:200px}.is-dark-theme .wp-block-cover-image.components-placeholder,.is-dark-theme .wp-block-cover.components-placeholder{background:hsla(0,0%,100%,.15)}.wp-block-cover-image .wp-block-cover__placeholder-color-palette,.wp-block-cover .wp-block-cover__placeholder-color-palette{max-width:290px;margin-top:1em}[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:305px;width:100%}.block-library-cover__reset-button{margin-left:auto}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-embed{margin-left:0;margin-right:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}.wp-block-embed.components-placeholder{min-width:0}}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-left:1em}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-left:2.5em;margin-left:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-left:4px solid #000;padding-left:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;right:0;bottom:0;left:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:left;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.33333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition-duration:0s}}div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit:before{border-color:#b5bcc2 #b5bcc2 #b5bcc2 transparent}div[data-type="core/freeform"].is-hovered .block-editor-block-list__breadcrumb{display:none}div[data-type="core/freeform"] .editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#23282d}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-right:0;margin-left:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);border:1px solid #e2e4e7;border-bottom:none;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar,div[data-type="core/freeform"].is-typing .block-library-classic__toolbar{display:block;border-color:#b5bcc2}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.wp-block-gallery li{list-style-type:none}.is-selected .wp-block-gallery{margin-bottom:0}figure.wp-block-gallery{display:block;margin:0}.blocks-gallery-grid.blocks-gallery-grid{margin-bottom:0}.blocks-gallery-item figure:not(.is-selected):focus{outline:none}.blocks-gallery-item figure.is-selected{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item figure.is-selected{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item figure.is-selected{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item figure.is-selected{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item figure.is-selected{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item figure.is-selected{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item figure.is-selected{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item figure.is-selected{outline:4px solid #0085ba}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .block-editor-rich-text{position:absolute;bottom:0;width:100%;max-height:100%;overflow-y:auto}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-item .is-selected .block-editor-rich-text{right:0;left:0;margin-top:-4px}}.blocks-gallery-item .is-selected .block-editor-rich-text .block-editor-rich-text__inline-toolbar{top:0}.blocks-gallery-item .is-selected .block-editor-rich-text figcaption{padding-top:48px}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out}@media (prefers-reduced-motion:reduce){.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{transition-duration:0s}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu:hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu:hover{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{color:rgba(14,28,46,.62);padding:2px;height:24px}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}@media (min-width:600px){.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{padding:0;width:inherit;height:inherit}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:focus,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:focus{color:inherit}.blocks-gallery-item .block-editor-rich-text figcaption{position:relative;overflow:hidden}.blocks-gallery-item .block-editor-rich-text figcaption a{color:#fff}.block-library-gallery-item__inline-menu,.block-library-gallery-item__move-menu{margin:8px;display:inline-flex;z-index:20}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__move-menu .components-button{color:transparent}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-7 .block-library-gallery-item__move-menu,.columns-8 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__move-menu{padding:2px}}.block-library-gallery-item__inline-menu{position:absolute;top:-2px;right:-2px}.block-library-gallery-item__move-menu{position:absolute;top:-2px;left:-2px}.blocks-gallery-item__move-backward,.blocks-gallery-item__move-forward,.blocks-gallery-item__remove{padding:0}.blocks-gallery-item .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block[data-type="core/group"] .editor-block-list__insertion-point{left:0;right:0}.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.editor-inner-blocks{margin-top:-32px;margin-bottom:-32px}.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{margin-left:auto;margin-right:auto;padding-left:28px;padding-right:28px}@media (min-width:600px){.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{padding-left:58px;padding-right:58px}}.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{margin-left:-30px;width:calc(100% + 60px)}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks{margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout{margin-left:0;margin-right:0}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{padding-right:0;padding-left:0;left:0;width:100%;max-width:none}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]>.editor-block-list__block-edit{margin-left:0;margin-right:0}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{width:calc(100% + 60px)}.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/group"].has-child-selected>.block-editor-block-list__block-edit>[data-block]>.wp-block-group>.wp-block-group__inner-container>.block-editor-inner-blocks,.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/group"].is-selected>.block-editor-block-list__block-edit>[data-block]>.wp-block-group>.wp-block-group__inner-container>.block-editor-inner-blocks{padding:14px}.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/group"].has-child-selected>.block-editor-block-list__block-edit>[data-block]>.wp-block-group:not(.has-background)>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout,.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/group"].is-selected>.block-editor-block-list__block-edit>[data-block]>.wp-block-group:not(.has-background)>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-top:-28px;margin-bottom:-28px}[data-type="core/group"].is-selected .block-list-appender{margin-left:0;margin-right:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.wp-block-html{margin-bottom:28px}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative;margin-left:0;margin-right:0}.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:100%}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.block-editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image{margin-left:auto;margin-right:auto}.block-editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image>div{margin-left:auto;margin-right:auto}.edit-post-sidebar .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-right:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-left:5px}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;left:0;right:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit figure{margin:0;display:table}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit .block-editor-rich-text,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit .block-editor-rich-text{display:table-caption;caption-side:bottom}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized{margin:0;display:table}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized .block-editor-rich-text{display:table-caption;caption-side:bottom}.wp-block-latest-comments.has-avatars .avatar{margin-right:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-left:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-left:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__preview{padding-left:2.5em;padding-right:2.5em}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block;box-shadow:none}.wp-block-legacy-widget__update-button{margin-left:auto;display:block}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-media-text .__resizable_base__{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-vertically-aligned-top .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-top .editor-media-container__resizer{-ms-grid-row-align:start;align-self:start}.wp-block-media-text .block-editor-inner-blocks,.wp-block-media-text .editor-media-container__resizer,.wp-block-media-text.is-vertically-aligned-center .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-center .editor-media-container__resizer{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-bottom .editor-media-container__resizer{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text .editor-inner-blocks,.wp-block-media-text.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text .editor-inner-blocks{word-break:break-word;text-align:initial;padding:0 8%}.wp-block-media-text.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile .editor-media-container__resizer,.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}}.editor-styles-wrapper .block-library-list ol,.editor-styles-wrapper .block-library-list ul{padding-left:1.3em;margin-left:1.3em}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccd0d4}.wp-block-navigation-menu,.wp-block-navigation-menu .block-editor-block-list__layout{display:-ms-grid;display:grid;grid-auto-columns:-webkit-min-content;grid-auto-columns:min-content;grid-auto-flow:column;align-items:center;white-space:nowrap}.wp-block-navigation-menu__inserter-content{width:350px;padding:16px}.wp-block-navigation-menu-item__edit-container{display:-ms-grid;display:grid;grid-auto-columns:-webkit-min-content;grid-auto-columns:min-content;grid-auto-flow:column;align-items:center;white-space:nowrap;border:1px solid #e2e4e7;width:178px;padding-left:1px}.wp-block-navigation-menu-item__edit-container .wp-block-navigation-menu-item__field{border-right:1px solid #e2e4e7!important;width:140px;border:none;border-radius:0;padding-left:16px;min-height:35px;line-height:35px}.wp-block-navigation-menu-item__edit-container .wp-block-navigation-menu-item__field,.wp-block-navigation-menu-item__edit-container .wp-block-navigation-menu-item__field:focus{color:#555d66}.wp-block-navigation-menu-item{font-family:"Noto Serif",serif;color:#0073af;font-weight:700;font-size:14px}.wp-block-navigation-menu-item__nofollow-external-link{display:block}.wp-block-navigation-menu-item__separator{margin:8px 0;border-top:1px solid #e2e4e7}.components-popover:not(.is-mobile).wp-block-navigation-menu-item__dropdown-content{margin-top:-1px;margin-left:-4px}.wp-block-navigation-menu-item__dropdown-content .components-popover__content{padding:8px 0}.wp-block-navigation-menu .block-editor-block-list__block[data-type="core/navigation-menu-item"]>.block-editor-block-list__block-edit>div[role=toolbar]{display:none}.wp-block-navigation-menu .block-editor-block-list__block[data-type="core/navigation-menu-item"]>.block-editor-block-list__insertion-point{display:none}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccd0d4}.block-editor-rich-text__editable.wp-block-paragraph:not(.is-selected) [data-rich-text-placeholder]:after{display:inline-block;padding-right:108px}.wp-block .wp-block .block-editor-rich-text__editable.wp-block-paragraph:not(.is-selected) [data-rich-text-placeholder]:after{padding-right:36px}.block-editor-block-list__block[data-type="core/paragraph"] p{min-height:28px;line-height:1.8}.wp-block-preformatted pre{white-space:pre-wrap}.block-editor-block-list__block[data-type="core/pullquote"][data-align=left] .block-editor-rich-text p,.block-editor-block-list__block[data-type="core/pullquote"][data-align=right] .block-editor-rich-text p{font-size:20px}.wp-block-pullquote blockquote>.block-editor-rich-text p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-left:0;margin-right:0}.wp-block-pullquote.is-style-solid-color blockquote>.block-editor-rich-text p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-left:2.5em}.block-editor .wp-block-rss.is-grid{padding-left:0}.wp-block-rss li a>div{display:inline}.wp-block-search .wp-block-search__input{border-radius:4px;border:1px solid #7e8993;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__input:focus{outline:none}.wp-block-search .wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search .wp-block-search__button .wp-block-search__button-rich-text{padding:6px 10px}.wp-block-shortcode{display:flex;flex-direction:column;padding:14px;background-color:rgba(139,139,150,.1);font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin-bottom:28px}.wp-block-shortcode label{display:flex;align-items:center;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{width:80%;max-height:250px}.wp-block-shortcode .dashicon{margin-right:8px}.wp-social-link{padding:6px}.wp-block-social-links.is-style-pill-shape .wp-social-link{padding-left:16px;padding-right:16px}.wp-block-social-links div.editor-url-input{display:inline-block;margin-left:8px}.wp-block-social-links .editor-block-list__layout{display:flex;justify-content:flex-start}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-left:0;margin-right:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{width:auto;padding-left:0;padding-right:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit{margin-left:0;margin-right:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit:before{border-right:none;border-top:none;border-bottom:none}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.is-hovered:not(.is-navigate-mode)>.block-editor-block-list__block-edit:before{box-shadow:none}[data-type="core/social-links"].has-child-selected .wp-block-social-links .block-editor-block-list__block-edit:before,[data-type="core/social-links"].is-hovered .wp-block-social-links .block-editor-block-list__block-edit:before,[data-type="core/social-links"].is-selected .wp-block-social-links .block-editor-block-list__block-edit:before{border-color:transparent!important}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}[data-type="core/social-links"] .wp-block-social-links .block-editor-block-list__breadcrumb,[data-type="core/social-links"] .wp-block-social-links .block-editor-block-list__insertion-point,[data-type="core/social-links"] .wp-block-social-links .block-editor-block-mover.block-editor-block-mover{display:none}.wp-block-social-links .block-list-appender{margin:0}.wp-block-social-links .block-list-appender .block-editor-button-block-appender{padding:8px;outline:none;background:none}[data-type="core/social-links"][data-align=center] .wp-block-social-links{justify-content:center}.block-editor-block-preview__content .wp-social-link:disabled{opacity:1}.block-editor-block-preview__content [data-type="core/social-links"]{width:auto!important;display:inline-block}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-block-social-links{min-height:36px}[data-type="core/social-links"] .wp-social-link__is-incomplete{transition:transform .1s ease;transform-origin:center center}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-social-link__is-incomplete{opacity:0;transform:scale(0);width:0;padding:0;margin-right:0}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}[data-type="core/social-links"] .wp-social-link:focus{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px #007cba;outline:2px solid transparent}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.block-library-spacer__resize-container{clear:both;margin-bottom:28px}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.block-editor-block-list__block[data-type="core/table"][data-align=center],.block-editor-block-list__block[data-type="core/table"][data-align=left],.block-editor-block-list__block[data-type="core/table"][data-align=right]{height:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center] table,.block-editor-block-list__block[data-type="core/table"][data-align=left] table,.block-editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center] td,.block-editor-block-list__block[data-type="core/table"][data-align=center] th,.block-editor-block-list__block[data-type="core/table"][data-align=left] td,.block-editor-block-list__block[data-type="core/table"][data-align=left] th,.block-editor-block-list__block[data-type="core/table"][data-align=right] td,.block-editor-block-list__block[data-type="core/table"][data-align=right] th{word-break:break-word}.block-editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.block-editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table{margin:0}.wp-block-table table{border-collapse:collapse}.wp-block-table td,.wp-block-table th{padding:0;border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table__cell-content{padding:.5em}.wp-block-table__placeholder-form.wp-block-table__placeholder-form{text-align:left;align-items:center}.wp-block-table__placeholder-input{width:100px}.wp-block-table__placeholder-button{min-width:100px;justify-content:center}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-right:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-left:5px;color:#8f98a1;text-decoration:none}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #e2e4e7}.wp-block-verse pre,pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.block-editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{display:block;margin-right:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em}.block-editor-block-list__layout .reusable-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;position:relative;top:-14px;margin:0 -14px;padding:8px 14px;z-index:61;border:1px dashed rgba(145,151,162,.25);border-bottom:none}.block-editor-block-list__layout .block-editor-block-list__layout .reusable-block-edit-panel{margin:0 -14px;padding:8px 14px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner{margin:0 5px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-right:auto}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-right:8px;white-space:nowrap;font-weight:600}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:4px 0 8px}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.block-editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 0 0 5px}}.editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:rgba(66,88,99,.4) rgba(66,88,99,.4) rgba(66,88,99,.4) transparent}.is-dark-theme .editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:hsla(0,0%,100%,.45) hsla(0,0%,100%,.45) hsla(0,0%,100%,.45) transparent}.block-editor-block-list__layout .reusable-block-indicator{background:#fff;border:1px dashed #e2e4e7;color:#555d66;top:-14px;height:30px;padding:4px;position:absolute;z-index:1;width:30px;right:-14px}.editor-styles-wrapper [data-block]{margin-top:28px;margin-bottom:28px} \ No newline at end of file +.block-editor ul.wp-block-archives{padding-left:2.5em}.wp-block-audio{margin-left:0;margin-right:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow__click-redirect{min-height:auto}.block-editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.block-editor-block-list__block[data-type="core/button"][data-align=center] div[data-block]{margin-left:auto;margin-right:auto}.block-editor-block-list__block[data-type="core/button"][data-align=right]{ + /*!rtl:ignore*/text-align:right}.wp-block-button{position:relative}.wp-block-button [contenteditable]{cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button .block-editor-rich-text__editable:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.wp-block-button [data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#555d66;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link,.is-typing .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}div[data-type="core/button"] div[data-block]{display:table}.block-editor .wp-block-categories ul{padding-left:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;font-size:16px}@media (min-width:600px){.wp-block-code .block-editor-plain-text{font-size:13px}}.wp-block-code .block-editor-plain-text:focus{box-shadow:none}.components-tab-button{display:inline-flex;align-items:flex-end;margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-active:hover>span,.components-tab-button.is-active>span{background-color:#555d66;color:#fff}.wp-block-columns .editor-block-list__layout .editor-block-list__block{max-width:none}.wp-block-columns{display:block}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"],.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit .block-core-columns,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div[data-block]{display:flex;flex-direction:column;flex:1 1 auto}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"],.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit .block-core-columns,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div[data-block]{flex:1}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{padding-left:0;padding-right:0;margin-left:-14px;margin-right:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{flex-basis:calc(50% - 16px);flex-grow:0;margin-left:0;margin-right:0}}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:nth-child(2n){margin-left:32px}}@media (min-width:782px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-left:32px}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit:before{left:0;right:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>.editor-block-contextual-toolbar{margin-left:-1px}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div>.block-core-columns>.editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}[data-type="core/columns"] .block-list-appender{margin-top:28px;margin-bottom:28px}.are-vertically-aligned-top .block-core-columns,div.block-core-columns.is-vertically-aligned-top{justify-content:flex-start}.are-vertically-aligned-center .block-core-columns,div.block-core-columns.is-vertically-aligned-center{justify-content:center}.are-vertically-aligned-bottom .block-core-columns,div.block-core-columns.is-vertically-aligned-bottom{justify-content:flex-end}[data-type="core/column"]>.editor-block-list__block-edit>.editor-block-list__breadcrumb{left:-3px}.block-core-columns>.block-editor-inner-blocks.has-overlay:after{left:0;right:0}[data-type="core/columns"][data-align=full] .wp-block-columns{padding-left:14px;padding-right:14px}@media (min-width:600px){[data-type="core/columns"][data-align=full] .wp-block-columns{padding-left:46px;padding-right:46px}}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image .block-editor-block-list__layout,.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover-image .block-editor-block-list__block,.wp-block-cover .block-editor-block-list__block{color:#f8f9f9}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{text-align:left}.wp-block-cover-image .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout,.wp-block-cover .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-left:0;margin-right:0}.wp-block-cover-image.components-placeholder,.wp-block-cover.components-placeholder{background:rgba(139,139,150,.1);min-height:200px}.is-dark-theme .wp-block-cover-image.components-placeholder,.is-dark-theme .wp-block-cover.components-placeholder{background:hsla(0,0%,100%,.15)}.wp-block-cover-image .wp-block-cover__placeholder-background-options,.wp-block-cover .wp-block-cover__placeholder-background-options{max-width:260px;margin-top:1em;width:100%}[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:290px;width:100%}.block-library-cover__reset-button{margin-left:auto}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-embed{margin-left:0;margin-right:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}.wp-block-embed.components-placeholder{min-width:0}}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-left:1em}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-left:2.5em;margin-left:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #e2e4e7;border-left:4px solid #000;padding-left:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:#007fac}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;right:0;bottom:0;left:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:left;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.33333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition-duration:0s}}div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit:before{border-color:#b5bcc2 #b5bcc2 #b5bcc2 transparent}div[data-type="core/freeform"] .editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#23282d}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-right:0;margin-left:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);border:1px solid #e2e4e7;border-bottom:none;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar,div[data-type="core/freeform"].is-typing .block-library-classic__toolbar{display:block;border-color:#b5bcc2}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.wp-block-gallery li{list-style-type:none}.is-selected .wp-block-gallery{margin-bottom:0}figure.wp-block-gallery{display:block;margin:0}.blocks-gallery-grid.blocks-gallery-grid{padding-left:0;margin-left:0;margin-bottom:0}.blocks-gallery-item figure:not(.is-selected):focus{outline:none}.blocks-gallery-item figure.is-selected{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item figure.is-selected{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item figure.is-selected{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item figure.is-selected{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item figure.is-selected{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item figure.is-selected{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item figure.is-selected{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item figure.is-selected{outline:4px solid #0085ba}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out}@media (prefers-reduced-motion:reduce){.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{transition-duration:0s}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu:hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu:hover{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{color:rgba(14,28,46,.62);padding:2px;height:24px}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}@media (min-width:600px){.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{padding:0;width:inherit;height:inherit}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:focus,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:focus{color:inherit}.block-library-gallery-item__inline-menu,.block-library-gallery-item__move-menu{margin:8px;display:inline-flex;z-index:20}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__move-menu .components-button{color:transparent}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-7 .block-library-gallery-item__move-menu,.columns-8 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__move-menu{padding:2px}}.block-library-gallery-item__inline-menu{position:absolute;top:-2px;right:-2px}.block-library-gallery-item__move-menu{position:absolute;top:-2px;left:-2px}.blocks-gallery-item__move-backward,.blocks-gallery-item__move-forward,.blocks-gallery-item__remove{padding:0}.blocks-gallery-item .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block[data-type="core/group"] .editor-block-list__insertion-point{left:0;right:0}.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.editor-inner-blocks{margin-top:-32px;margin-bottom:-32px}.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{margin-left:auto;margin-right:auto;padding-left:28px;padding-right:28px}@media (min-width:600px){.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{padding-left:58px;padding-right:58px}}.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{margin-left:-30px;width:calc(100% + 60px)}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks{margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout{margin-left:0;margin-right:0}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{padding-right:0;padding-left:0;left:0;width:100%;max-width:none}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]>.editor-block-list__block-edit{margin-left:0;margin-right:0}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{width:calc(100% + 60px)}[data-type="core/group"].is-selected .block-list-appender{margin-left:0;margin-right:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.wp-block-html{margin-bottom:28px}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative;margin-left:0;margin-right:0}.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:inherit;height:inherit}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.block-editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image{margin-left:auto;margin-right:auto}.block-editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image>div{margin-left:auto;margin-right:auto}.edit-post-sidebar .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-right:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-left:5px}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;left:0;right:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-type="core/image"][data-align=center] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit figure{margin:0}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized{margin:0}.wp-block-latest-comments.has-avatars .avatar{margin-right:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-left:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-left:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__preview{padding-left:2.5em;padding-right:2.5em}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block;box-shadow:none}.wp-block-legacy-widget__update-button{margin-left:auto;display:block}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-legacy-widget__edit-widget-title{margin:-14px -13px 0;background:#f8f9f9;color:#555d66;top:-13px;position:relative;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:8px 14px;font-weight:600}.wp-block-media-text .__resizable_base__{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-vertically-aligned-top .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-top .editor-media-container__resizer{-ms-grid-row-align:start;align-self:start}.wp-block-media-text .block-editor-inner-blocks,.wp-block-media-text .editor-media-container__resizer,.wp-block-media-text.is-vertically-aligned-center .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-center .editor-media-container__resizer{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-bottom .editor-media-container__resizer{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text .editor-inner-blocks,.wp-block-media-text.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text .editor-inner-blocks{word-break:break-word;text-align:initial;padding:0 8%}.wp-block-media-text.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile .editor-media-container__resizer,.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccd0d4}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks{flex:1}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout{margin-left:0;margin-right:0}[data-type="core/navigation"] .wp-block-navigation.items-justification-left .block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:flex-start}[data-type="core/navigation"] .wp-block-navigation.items-justification-center .block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:center}[data-type="core/navigation"] .wp-block-navigation.items-justification-right .block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:flex-end}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{width:auto;padding-left:0;padding-right:0;margin-left:0;margin-right:0;margin-bottom:1em}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit{margin-left:0;margin-right:0}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block>.block-editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__block-edit:before{left:0;right:0}[data-type="core/navigation"].has-child-selected .wp-block-navigation .block-editor-block-list__block-edit:before,[data-type="core/navigation"].is-hovered .wp-block-navigation .block-editor-block-list__block-edit:before,[data-type="core/navigation"].is-selected .wp-block-navigation .block-editor-block-list__block-edit:before{border-color:transparent!important}[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__insertion-point{display:none}[data-type="core/navigation"] .wp-block-navigation .block-list-appender{margin:0}[data-type="core/navigation"] .wp-block-navigation .block-list-appender .block-editor-button-block-appender{padding:8px;outline:none;background:none}.wp-block-navigation,.wp-block-navigation .block-editor-block-list__layout{display:flex;flex-wrap:wrap}.wp-block-navigation__inserter-content{padding:16px}.wp-block-navigation .wp-block-navigation-link{margin-right:8px;margin-left:8px;padding:0 8px}.wp-block-navigation .wp-block-navigation-link .block-editor-block-list__layout{display:block;margin:8px}.wp-block-navigation .wp-block-navigation-link .block-editor-inner-blocks{display:none}.wp-block-navigation .wp-block-navigation-link.is-editing .block-editor-inner-blocks{display:block}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__icon-container:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.block-library-colors-selector .block-library-colors-selector__icon-container:focus,.block-library-colors-selector .block-library-colors-selector__icon-container:hover{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-library-colors-selector .block-library-colors-selector__state-selection{border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:right;margin-top:2px}.block-editor-block-mover.is-horizontal .block-editor-block-mover__control-drag-handle{display:none}.wp-block-navigation-link__container,.wp-block-navigation-link__field .components-text-control__input.components-text-control__input{border-radius:0;line-height:36px;min-height:36px}.wp-block-navigation-link__edit-container{display:flex;white-space:nowrap;margin-left:-8px}.wp-block-navigation-link__edit-container .wp-block-navigation-link__content{margin-right:8px;padding:0 8px;box-shadow:inset 0 0 0 1px #7e8993;transition:box-shadow .1s linear;border-radius:4px}@media (prefers-reduced-motion:reduce){.wp-block-navigation-link__edit-container .wp-block-navigation-link__content{transition-duration:0s}}.wp-block-navigation-link__edit-container .wp-block-navigation-link__content:focus{color:#191e23;box-shadow:inset 0 0 0 2px #007cba;outline:2px solid transparent}.wp-block-navigation-link{margin-right:8px;padding:0 55px 0 8px}.wp-block-navigation-link .block-editor-block-list__layout{display:block;margin:8px}.wp-block-navigation-link .block-editor-inner-blocks{display:none}.wp-block-navigation-link.is-editing,.wp-block-navigation-link.is-selected{min-width:20px}.wp-block-navigation-link.is-editing .block-editor-inner-blocks{display:block}.wp-block-navigation-link.has-link .wp-block-navigation-link__content{border-bottom-style:solid;border-bottom-width:1px}.wp-block-navigation-link .block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus):not(:focus) [data-rich-text-placeholder]:after{display:inline-block}[data-type="core/navigation-link"] .block-editor-block-toolbar{left:15px}.wp-block-navigation-link__nofollow-external-link{display:block}.wp-block-navigation-link__separator{margin:8px 0;border-top:1px solid #e2e4e7}.components-popover.wp-block-navigation-link__dropdown-content{margin-top:-1px;margin-left:-4px}.wp-block-navigation-link__dropdown-content .components-popover__content{padding:8px 0}.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"]>.block-editor-block-list__insertion-point{display:none}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccd0d4}.block-editor-rich-text__editable.wp-block-paragraph:not(.is-selected) [data-rich-text-placeholder]:after{display:inline-block;padding-right:108px}.wp-block .wp-block .block-editor-rich-text__editable.wp-block-paragraph:not(.is-selected) [data-rich-text-placeholder]:after{padding-right:36px}.block-editor-block-list__block[data-type="core/paragraph"] p{min-height:28px;line-height:1.8}.block-editor-block-list__block[data-type="core/paragraph"] .has-drop-cap:focus{min-height:28px!important}.block-editor-block-list__block[data-type="core/pullquote"][data-align=left] p,.block-editor-block-list__block[data-type="core/pullquote"][data-align=right] p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-left:0;margin-right:0}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-left:2.5em}.block-editor .wp-block-rss.is-grid{padding-left:0}.wp-block-rss li a>div{display:inline}.wp-block-search__input{border-radius:4px;border:1px solid #7e8993;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search__input:focus{outline:none}.wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;padding:6px 10px}.wp-block-search__button,.wp-block-shortcode{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-shortcode{display:flex;flex-direction:column;padding:14px;background-color:rgba(139,139,150,.1);margin-bottom:28px}.wp-block-shortcode label{display:flex;align-items:center;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{width:80%;max-height:250px}.wp-block-shortcode .dashicon{margin-right:8px}.wp-social-link{padding:6px}.wp-block-social-links.is-style-pill-shape .wp-social-link{padding-left:16px;padding-right:16px}.wp-block-social-links div.editor-url-input{display:inline-block;margin-left:8px}.wp-block-social-links .editor-block-list__layout{display:flex;justify-content:flex-start}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-left:0;margin-right:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{width:auto;padding-left:0;padding-right:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit{margin-left:0;margin-right:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit:before{border-right:none;border-top:none;border-bottom:none}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.is-hovered:not(.is-navigate-mode)>.block-editor-block-list__block-edit:before{box-shadow:none}[data-type="core/social-links"].has-child-selected .wp-block-social-links .block-editor-block-list__block-edit:before,[data-type="core/social-links"].is-hovered .wp-block-social-links .block-editor-block-list__block-edit:before,[data-type="core/social-links"].is-selected .wp-block-social-links .block-editor-block-list__block-edit:before{border-color:transparent!important}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}[data-type="core/social-links"] .wp-block-social-links .block-editor-block-list__insertion-point{display:none}.wp-block-social-links .block-list-appender{margin:0}.wp-block-social-links .block-list-appender .block-editor-button-block-appender{padding:8px;outline:none;background:none}[data-type="core/social-links"][data-align=center] .wp-block-social-links{justify-content:center}.block-editor-block-preview__content .wp-social-link:disabled{opacity:1}.block-editor-block-preview__content [data-type="core/social-links"]{width:auto!important;display:inline-block}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-block-social-links{min-height:36px}[data-type="core/social-links"] .wp-social-link__is-incomplete{transition:transform .1s ease;transform-origin:center center}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-social-link__is-incomplete{opacity:0;transform:scale(0);width:0;padding:0;margin-right:0}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}[data-type="core/social-links"] .wp-social-link:focus{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px #007cba;outline:2px solid transparent}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.block-library-spacer__resize-container{clear:both;margin-bottom:28px}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.block-editor-block-list__block[data-type="core/table"][data-align=center],.block-editor-block-list__block[data-type="core/table"][data-align=left],.block-editor-block-list__block[data-type="core/table"][data-align=right]{height:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center] table,.block-editor-block-list__block[data-type="core/table"][data-align=left] table,.block-editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center] td,.block-editor-block-list__block[data-type="core/table"][data-align=center] th,.block-editor-block-list__block[data-type="core/table"][data-align=left] td,.block-editor-block-list__block[data-type="core/table"][data-align=left] th,.block-editor-block-list__block[data-type="core/table"][data-align=right] td,.block-editor-block-list__block[data-type="core/table"][data-align=right] th{word-break:break-word}.block-editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.block-editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table{margin:0}.wp-block-table table{border-collapse:collapse}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table__placeholder-form.wp-block-table__placeholder-form{text-align:left;align-items:center}.wp-block-table__placeholder-input{width:100px}.wp-block-table__placeholder-button{min-width:100px;justify-content:center}.wp-block-table figcaption{color:#555d66;font-size:13px;text-align:center}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-right:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-left:5px;color:#8f98a1;text-decoration:none}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #e2e4e7}pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.block-editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{display:block;margin-right:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em}.wp-block-site-title__save-button{position:absolute;right:0;top:0;z-index:1}.block-editor-block-list__layout .reusable-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;position:relative;top:-14px;margin:0 -14px;padding:8px 14px;z-index:61;border:1px dashed rgba(145,151,162,.25);border-bottom:none}.block-editor-block-list__layout .block-editor-block-list__layout .reusable-block-edit-panel{margin:0 -14px;padding:8px 14px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner{margin:0 5px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-right:auto}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-right:8px;white-space:nowrap;font-weight:600}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:4px 0 8px}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.block-editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 0 0 5px}}.editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:rgba(66,88,99,.4) rgba(66,88,99,.4) rgba(66,88,99,.4) transparent}.is-dark-theme .editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:hsla(0,0%,100%,.45) hsla(0,0%,100%,.45) hsla(0,0%,100%,.45) transparent}.is-dark-theme .is-selected.is-navigate-mode .reusable-block-edit-panel,.is-selected.is-navigate-mode .reusable-block-edit-panel{border-color:#007cba #007cba #007cba transparent}.editor-styles-wrapper [data-block]{margin-top:28px;margin-bottom:28px} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/style-rtl.css b/wp-includes/css/dist/block-library/style-rtl.css index 224643c610..54718d6e40 100644 --- a/wp-includes/css/dist/block-library/style-rtl.css +++ b/wp-includes/css/dist/block-library/style-rtl.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -189,48 +186,86 @@ .wp-block-cover-image.has-background-dim::before, .wp-block-cover.has-background-dim::before { content: ""; + background-color: inherit; } + .wp-block-cover-image.has-background-dim:not(.has-background-gradient)::before, + .wp-block-cover-image .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim:not(.has-background-gradient)::before, + .wp-block-cover .wp-block-cover__gradient-background { position: absolute; top: 0; right: 0; bottom: 0; left: 0; - background-color: inherit; - opacity: 0.5; z-index: 1; } - .wp-block-cover-image.has-background-dim.has-background-dim-10::before, - .wp-block-cover.has-background-dim.has-background-dim-10::before { - opacity: 0.1; } - .wp-block-cover-image.has-background-dim.has-background-dim-20::before, - .wp-block-cover.has-background-dim.has-background-dim-20::before { - opacity: 0.2; } - .wp-block-cover-image.has-background-dim.has-background-dim-30::before, - .wp-block-cover.has-background-dim.has-background-dim-30::before { - opacity: 0.3; } - .wp-block-cover-image.has-background-dim.has-background-dim-40::before, - .wp-block-cover.has-background-dim.has-background-dim-40::before { - opacity: 0.4; } - .wp-block-cover-image.has-background-dim.has-background-dim-50::before, - .wp-block-cover.has-background-dim.has-background-dim-50::before { + .wp-block-cover-image.has-background-dim:not(.has-background-gradient)::before, + .wp-block-cover-image .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim:not(.has-background-gradient)::before, + .wp-block-cover .wp-block-cover__gradient-background { opacity: 0.5; } - .wp-block-cover-image.has-background-dim.has-background-dim-60::before, - .wp-block-cover.has-background-dim.has-background-dim-60::before { + .wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient)::before { + opacity: 0.1; } + .wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background { + opacity: 0.1; } + .wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient)::before { + opacity: 0.2; } + .wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background { + opacity: 0.2; } + .wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient)::before { + opacity: 0.3; } + .wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background { + opacity: 0.3; } + .wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient)::before { + opacity: 0.4; } + .wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background { + opacity: 0.4; } + .wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient)::before { + opacity: 0.5; } + .wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background { + opacity: 0.5; } + .wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient)::before { opacity: 0.6; } - .wp-block-cover-image.has-background-dim.has-background-dim-70::before, - .wp-block-cover.has-background-dim.has-background-dim-70::before { + .wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background { + opacity: 0.6; } + .wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient)::before { opacity: 0.7; } - .wp-block-cover-image.has-background-dim.has-background-dim-80::before, - .wp-block-cover.has-background-dim.has-background-dim-80::before { + .wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background { + opacity: 0.7; } + .wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient)::before { opacity: 0.8; } - .wp-block-cover-image.has-background-dim.has-background-dim-90::before, - .wp-block-cover.has-background-dim.has-background-dim-90::before { + .wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background { + opacity: 0.8; } + .wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient)::before { opacity: 0.9; } - .wp-block-cover-image.has-background-dim.has-background-dim-100::before, - .wp-block-cover.has-background-dim.has-background-dim-100::before { + .wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background { + opacity: 0.9; } + .wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient)::before { + opacity: 1; } + .wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background { opacity: 1; } .wp-block-cover-image.alignleft, .wp-block-cover-image.alignright, .wp-block-cover.alignleft, .wp-block-cover.alignright { - max-width: 305px; + max-width: 290px; width: 100%; } .wp-block-cover-image::after, .wp-block-cover::after { @@ -326,7 +361,7 @@ section.wp-block-cover-image > h2, line-height: 1.25; z-index: 1; margin-bottom: 0; - max-width: 610px; + max-width: 580px; padding: 14px; text-align: center; } @@ -646,14 +681,13 @@ section.wp-block-cover-image > h2, .wp-block-gallery.alignleft, .wp-block-gallery.alignright, .blocks-gallery-grid.alignleft, .blocks-gallery-grid.alignright { - max-width: 305px; + max-width: 290px; width: 100%; } .wp-block-gallery.aligncenter .blocks-gallery-item figure, .blocks-gallery-grid.aligncenter .blocks-gallery-item figure { justify-content: center; } .wp-block-image { - max-width: 100%; margin-bottom: 1em; } .wp-block-image img { max-width: 100%; } @@ -836,12 +870,12 @@ section.wp-block-cover-image > h2, width: 100%; vertical-align: middle; } -.wp-block-media-text.is-image-fill figure { +.wp-block-media-text.is-image-fill figure.wp-block-media-text__media { height: 100%; min-height: 250px; background-size: cover; } -.wp-block-media-text.is-image-fill figure > img { +.wp-block-media-text.is-image-fill figure.wp-block-media-text__media > img { position: absolute; width: 1px; height: 1px; @@ -883,6 +917,123 @@ section.wp-block-cover-image > h2, -ms-grid-row: 1; grid-row: 1; } } +.wp-block-navigation > ul { + display: block; + list-style: none; + margin: 0; + max-width: none; + padding-right: 0; + position: relative; } + @media (min-width: 600px) { + .wp-block-navigation > ul { + display: flex; + flex-wrap: wrap; } } + .wp-block-navigation > ul ul { + padding-right: 0; } + .wp-block-navigation > ul li { + position: relative; + z-index: 1; } + .wp-block-navigation > ul li:hover, .wp-block-navigation > ul li:focus-within { + cursor: pointer; + z-index: 99999; } + .wp-block-navigation > ul li:hover > ul, + .wp-block-navigation > ul li:focus-within > ul, + .wp-block-navigation > ul li ul:hover, + .wp-block-navigation > ul li ul:focus { + visibility: visible; + opacity: 1; + display: block; } + .wp-block-navigation > ul > li > a { + padding-right: 0; } + @media (min-width: 600px) { + .wp-block-navigation > ul > li > a { + padding-right: 16px; } } + .wp-block-navigation > ul > li:first-of-type > a { + padding-right: 0; } + .wp-block-navigation > ul > li:last-of-type > a { + padding-left: 0; } + .wp-block-navigation > ul > li > ul { + background: #fff; + -webkit-box-shadow: 2px 4px 4px -1px rgba(97, 97, 97, 0.153); + -moz-box-shadow: 2px 4px 4px -1px rgba(97, 97, 97, 0.153); + border-radius: 4px; + box-shadow: 2px 4px 4px -1px rgba(97, 97, 97, 0.153); + margin: 0; + position: absolute; + right: 0; + top: 80%; + min-width: -webkit-max-content; + min-width: max-content; + opacity: 0; + transition: opacity 0.15s linear, transform 0.15s linear, left 0s 0.15s; + transform: translateY(0.6rem); + visibility: hidden; + padding: 5px 0; } + .wp-block-navigation > ul > li > ul li { + margin: 2px 8px; } + .wp-block-navigation > ul > li > ul a { + text-decoration: none; } + .wp-block-navigation > ul > li > ul a:hover { + text-decoration: underline; } + .wp-block-navigation > ul > li > ul::after { + bottom: 100%; + right: 50%; + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #fff; + content: " "; + height: 0; + width: 0; + position: absolute; + pointer-events: none; + border-width: 10px; + margin-right: -10px; } + .wp-block-navigation > ul > li > ul ul { + width: 100%; } + +.wp-block-navigation .has-background-color + ul { + background: inherit; } + +.wp-block-navigation a { + display: block; + padding: 16px; } + +.wp-block-navigation ul ul { + list-style: none; + margin-right: 0; } + .wp-block-navigation ul ul li a { + padding-top: 8px; + padding-bottom: 8px; } + +.wp-block-navigation .has-sub-menu > a::after { + content: "\00a0\25BC"; + display: inline-block; + font-size: 0.6rem; + height: inherit; + width: inherit; } + +.wp-block-navigation.items-justified-left > ul { + justify-content: flex-start; } + +.wp-block-navigation.items-justified-center > ul { + justify-content: center; } + +.wp-block-navigation.items-justified-right > ul { + justify-content: flex-end; } + +.is-style-dark > ul > li > ul { + background: #333; + border-radius: 4px; } + .is-style-dark > ul > li > ul a { + text-decoration: none; + color: #fff; } + .is-style-dark > ul > li > ul a:hover { + text-decoration: underline; + color: #eee; } + .is-style-dark > ul > li > ul::after { + border-color: rgba(24, 24, 24, 0); + border-bottom-color: #333; } + .is-small-text { font-size: 14px; } @@ -904,12 +1055,6 @@ section.wp-block-cover-image > h2, text-transform: uppercase; font-style: normal; } -.has-drop-cap:not(:focus)::after { - content: ""; - display: table; - clear: both; - padding-top: 14px; } - p.has-background { padding: 20px 30px; } @@ -922,7 +1067,7 @@ p.has-text-color a { margin-left: 0; text-align: center; } .wp-block-pullquote.alignleft, .wp-block-pullquote.alignright { - max-width: 305px; } + max-width: 290px; } .wp-block-pullquote.alignleft p, .wp-block-pullquote.alignright p { font-size: 20px; } .wp-block-pullquote p { @@ -1007,7 +1152,8 @@ p.has-text-color a { .wp-block-search .wp-block-search__label { width: 100%; } .wp-block-search .wp-block-search__input { - flex-grow: 1; } + flex-grow: 1; + max-width: 360px; } .wp-block-search .wp-block-search__button { margin-right: 10px; } @@ -1035,6 +1181,11 @@ p.has-text-color a { padding-right: 0; padding-left: 0; margin-right: 0; } + .wp-block-social-links .wp-social-link a, + .wp-block-social-links .wp-social-link a:hover { + text-decoration: none; + border-bottom: 0; + box-shadow: none; } .wp-social-link { display: block; @@ -1425,77 +1576,93 @@ pre.wp-block-verse { margin-top: 0.5em; margin-bottom: 1em; } -:root .has-pale-pink-background-color { - background-color: #f78da7; } - -:root .has-vivid-red-background-color { - background-color: #cf2e2e; } - -:root .has-luminous-vivid-orange-background-color { - background-color: #ff6900; } - -:root .has-luminous-vivid-amber-background-color { - background-color: #fcb900; } - -:root .has-light-green-cyan-background-color { - background-color: #7bdcb5; } - -:root .has-vivid-green-cyan-background-color { - background-color: #00d084; } - -:root .has-pale-cyan-blue-background-color { - background-color: #8ed1fc; } - -:root .has-vivid-cyan-blue-background-color { - background-color: #0693e3; } - -:root .has-vivid-purple-background-color { - background-color: #9b51e0; } - -:root .has-very-light-gray-background-color { - background-color: #eee; } - -:root .has-cyan-bluish-gray-background-color { - background-color: #abb8c3; } - -:root .has-very-dark-gray-background-color { - background-color: #313131; } - -:root .has-pale-pink-color { - color: #f78da7; } - -:root .has-vivid-red-color { - color: #cf2e2e; } - -:root .has-luminous-vivid-orange-color { - color: #ff6900; } - -:root .has-luminous-vivid-amber-color { - color: #fcb900; } - -:root .has-light-green-cyan-color { - color: #7bdcb5; } - -:root .has-vivid-green-cyan-color { - color: #00d084; } - -:root .has-pale-cyan-blue-color { - color: #8ed1fc; } - -:root .has-vivid-cyan-blue-color { - color: #0693e3; } - -:root .has-vivid-purple-color { - color: #9b51e0; } - -:root .has-very-light-gray-color { - color: #eee; } - -:root .has-cyan-bluish-gray-color { - color: #abb8c3; } - -:root .has-very-dark-gray-color { - color: #313131; } +:root { + /* stylelint-disable function-comma-space-after */ + /* stylelint-enable function-comma-space-after */ } + :root .has-pale-pink-background-color { + background-color: #f78da7; } + :root .has-vivid-red-background-color { + background-color: #cf2e2e; } + :root .has-luminous-vivid-orange-background-color { + background-color: #ff6900; } + :root .has-luminous-vivid-amber-background-color { + background-color: #fcb900; } + :root .has-light-green-cyan-background-color { + background-color: #7bdcb5; } + :root .has-vivid-green-cyan-background-color { + background-color: #00d084; } + :root .has-pale-cyan-blue-background-color { + background-color: #8ed1fc; } + :root .has-vivid-cyan-blue-background-color { + background-color: #0693e3; } + :root .has-vivid-purple-background-color { + background-color: #9b51e0; } + :root .has-very-light-gray-background-color { + background-color: #eee; } + :root .has-cyan-bluish-gray-background-color { + background-color: #abb8c3; } + :root .has-very-dark-gray-background-color { + background-color: #313131; } + :root .has-pale-pink-color { + color: #f78da7; } + :root .has-vivid-red-color { + color: #cf2e2e; } + :root .has-luminous-vivid-orange-color { + color: #ff6900; } + :root .has-luminous-vivid-amber-color { + color: #fcb900; } + :root .has-light-green-cyan-color { + color: #7bdcb5; } + :root .has-vivid-green-cyan-color { + color: #00d084; } + :root .has-pale-cyan-blue-color { + color: #8ed1fc; } + :root .has-vivid-cyan-blue-color { + color: #0693e3; } + :root .has-vivid-purple-color { + color: #9b51e0; } + :root .has-very-light-gray-color { + color: #eee; } + :root .has-cyan-bluish-gray-color { + color: #abb8c3; } + :root .has-very-dark-gray-color { + color: #313131; } + :root .has-vivid-cyan-blue-to-vivid-purple-gradient-background { + background: linear-gradient(-135deg, #0693e3 0%, #9b51e0 100%); } + :root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background { + background: linear-gradient(-135deg, #00d084 0%, #0693e3 100%); } + :root .has-light-green-cyan-to-vivid-green-cyan-gradient-background { + background: linear-gradient(-135deg, #7adcb4 0%, #00d082 100%); } + :root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background { + background: linear-gradient(-135deg, #fcb900 0%, #ff6900 100%); } + :root .has-luminous-vivid-orange-to-vivid-red-gradient-background { + background: linear-gradient(-135deg, #ff6900 0%, #cf2e2e 100%); } + :root .has-very-light-gray-to-cyan-bluish-gray-gradient-background { + background: linear-gradient(-135deg, #eeeeee 0%, #a9b8c3 100%); } + :root .has-cool-to-warm-spectrum-gradient-background { + background: linear-gradient(-135deg, #4aeadc 0%, #9778d1 20%, #cf2aba 40%, #ee2c82 60%, #fb6962 80%, #fef84c 100%); } + :root .has-blush-light-purple-gradient-background { + background: linear-gradient(-135deg, #ffceec 0%, #9896f0 100%); } + :root .has-blush-bordeaux-gradient-background { + background: linear-gradient(-135deg, #fecda5 0%, #fe2d2d 50%, #6b003e 100%); } + :root .has-purple-crush-gradient-background { + background: linear-gradient(-135deg, #34e2e4 0%, #4721fb 50%, #ab1dfe 100%); } + :root .has-luminous-dusk-gradient-background { + background: linear-gradient(-135deg, #ffcb70 0%, #c751c0 50%, #4158d0 100%); } + :root .has-hazy-dawn-gradient-background { + background: linear-gradient(-135deg, #faaca8 0%, #dad0ec 100%); } + :root .has-pale-ocean-gradient-background { + background: linear-gradient(-135deg, #fff5cb 0%, #b6e3d4 50%, #33a7b5 100%); } + :root .has-electric-grass-gradient-background { + background: linear-gradient(-135deg, #caf880 0%, #71ce7e 100%); } + :root .has-subdued-olive-gradient-background { + background: linear-gradient(-135deg, #fafae1 0%, #67a671 100%); } + :root .has-atomic-cream-gradient-background { + background: linear-gradient(-135deg, #fdd79a 0%, #004a59 100%); } + :root .has-nightshade-gradient-background { + background: linear-gradient(-135deg, #330968 0%, #31cdcf 100%); } + :root .has-midnight-gradient-background { + background: linear-gradient(-135deg, #020381 0%, #2874fc 100%); } .has-small-font-size { font-size: 13px; } diff --git a/wp-includes/css/dist/block-library/style-rtl.min.css b/wp-includes/css/dist/block-library/style-rtl.min.css index 946c0b793b..1560bf82cb 100644 --- a/wp-includes/css/dist/block-library/style-rtl.min.css +++ b/wp-includes/css/dist/block-library/style-rtl.min.css @@ -1 +1 @@ -.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}.wp-block-button{color:#fff}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:right}.wp-block-button__link{background-color:#32373c;border:none;border-radius:28px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;margin:0;padding:12px 24px;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:inherit}.is-style-squared .wp-block-button__link{border-radius:0}.no-border-radius.wp-block-button__link{border-radius:0!important}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background-color:transparent;border:2px solid}.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:4px;border:1px solid #e2e4e7}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-calendar table th{font-weight:400;background:#edeff0}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar tfoot a{color:#00739c}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;margin-bottom:28px;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (max-width:599px){.wp-block-column{flex-basis:100%!important}}@media (min-width:600px){.wp-block-column{flex-basis:calc(50% - 16px);flex-grow:0}.wp-block-column:nth-child(2n){margin-right:32px}}@media (min-width:782px){.wp-block-column:not(:first-child){margin-right:32px}}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:50%;min-height:430px;height:100%;width:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-color:inherit;opacity:.5;z-index:1}.wp-block-cover-image.has-background-dim.has-background-dim-10:before,.wp-block-cover.has-background-dim.has-background-dim-10:before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20:before,.wp-block-cover.has-background-dim.has-background-dim-20:before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30:before,.wp-block-cover.has-background-dim.has-background-dim-30:before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40:before,.wp-block-cover.has-background-dim.has-background-dim-40:before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50:before,.wp-block-cover.has-background-dim.has-background-dim-50:before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60:before,.wp-block-cover.has-background-dim.has-background-dim-60:before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70:before,.wp-block-cover.has-background-dim.has-background-dim-70:before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80:before,.wp-block-cover.has-background-dim.has-background-dim-80:before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90:before,.wp-block-cover.has-background-dim.has-background-dim-90:before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100:before,.wp-block-cover.has-background-dim.has-background-dim-100:before{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:305px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:calc(100% - 70px);z-index:1;color:#f8f9f9}.wp-block-cover-image .wp-block-subhead:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover .wp-block-subhead:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover__video-background{position:absolute;top:50%;right:50%;transform:translateX(50%) translateY(-50%);width:100%;height:100%;z-index:0;-o-object-fit:cover;object-fit:cover}.wp-block-cover-image-text,.wp-block-cover-text,section.wp-block-cover-image h2{color:#fff}.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:610px;padding:14px;text-align:center}.block-editor-block-list__block[data-type="core/embed"][data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__block[data-type="core/embed"][data-align=right] .block-editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper iframe{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.78%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:13px;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-right:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 0 16px 16px;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:40px 10px 9px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent)}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;-o-object-fit:cover;object-fit:cover}}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/2)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-left:0}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3 - 1px)}}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4 - 1px)}}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5 - 1px)}}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6 - 1px)}}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7 - 1px)}}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8 - 1px)}}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n){margin-left:0}.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n){margin-left:0}.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n){margin-left:0}.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n){margin-left:0}.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n){margin-left:0}.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n){margin-left:0}.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-left:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-left:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:305px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-image{max-width:100%;margin-bottom:1em}.wp-block-image img{max-width:100%}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.is-resized{display:table;margin-right:0;margin-left:0}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.is-resized>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-right:1em}.wp-block-image .alignright{float:right;margin-left:1em}.wp-block-image .aligncenter{margin-right:auto;margin-left:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.is-style-circle-mask img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:none}}.wp-block-latest-comments__comment{font-size:15px;line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:36px;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-right:52px}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px}.wp-block-latest-comments__comment-date{color:#8f98a1;display:block;font-size:12px}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:24px;display:block;float:right;height:40px;margin-left:12px;width:40px}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 0 16px 16px;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-latest-posts__post-excerpt{margin-top:8px;margin-bottom:16px}.wp-block-media-text{display:-ms-grid;display:grid;-ms-grid-rows:auto;grid-template-rows:auto;-ms-grid-columns:50% 1fr;grid-template-columns:50% 1fr}.wp-block-media-text .has-media-on-the-right{-ms-grid-columns:1fr 50%;grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{-ms-grid-row-align:start;align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;margin:0}.wp-block-media-text .wp-block-media-text__content{word-break:break-word;padding:0 8%}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>figure>img,.wp-block-media-text>figure>video{max-width:unset;width:100%;vertical-align:middle}.wp-block-media-text.is-image-fill figure{height:100%;min-height:250px;background-size:cover}.wp-block-media-text.is-image-fill figure>img{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{-ms-grid-columns:100%!important;grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}}.is-small-text{font-size:14px}.is-regular-text{font-size:16px}.is-large-text{font-size:36px}.is-larger-text{font-size:48px}.has-drop-cap:not(:focus):first-letter{float:right;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em 0 0 .1em;text-transform:uppercase;font-style:normal}.has-drop-cap:not(:focus):after{content:"";display:table;clear:both;padding-top:14px}p.has-background{padding:20px 30px}p.has-text-color a{color:inherit}.wp-block-pullquote{padding:3em 0;margin-right:0;margin-left:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:305px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p{font-size:20px}.wp-block-pullquote p{font-size:28px;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-right:auto;margin-left:auto;text-align:right;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:32px}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin:0 0 16px;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:24px;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:18px;text-align:left}.wp-block-rss.alignleft{margin-right:2em}.wp-block-rss.alignright{margin-left:2em}.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-rss.is-grid li{margin:0 0 16px 16px;width:100%}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 16px)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-rss.columns-4 li{width:calc(25% - 16px)}.wp-block-rss.columns-5 li{width:calc(20% - 16px)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;color:#6c7781;font-size:13px}.wp-block-search{display:flex;flex-wrap:wrap}.wp-block-search .wp-block-search__label{width:100%}.wp-block-search .wp-block-search__input{flex-grow:1}.wp-block-search .wp-block-search__button{margin-right:10px}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;text-align:center;max-width:none;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"\00b7 \00b7 \00b7";color:currentColor;font-size:20px;letter-spacing:2em;padding-right:2em;font-family:serif}.wp-block-social-links{display:flex;justify-content:flex-start;padding-right:0;padding-left:0;margin-right:0}.wp-social-link{width:36px;height:36px;border-radius:36px;margin-left:8px}.wp-social-link,.wp-social-link a{display:block;transition:transform .1s ease}.wp-social-link a{padding:6px;line-height:0}.wp-social-link a,.wp-social-link a:active,.wp-social-link a:hover,.wp-social-link a:visited,.wp-social-link svg{color:currentColor;fill:currentColor}.wp-social-link:hover{transform:scale(1.1)}.wp-block-social-links.aligncenter{justify-content:center;display:flex}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1977f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0577b5;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{background-color:#fefc00;color:#fff;stroke:#000}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#21a1f3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:#ff0100;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none;padding:4px}.wp-block-social-links.is-style-logos-only .wp-social-link svg{width:28px;height:28px}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1977f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0577b5}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{color:#fff;stroke:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#21a1f3}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:#ff0100}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-right:16px;padding-left:16px}.wp-block-spacer{clear:both}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table{overflow-x:auto}.wp-block-table table{width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f3f4f5}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 16px;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-right:0}.wp-block-text-columns .wp-block-column:last-child{margin-left:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{white-space:nowrap;overflow:auto}.wp-block-video{margin-right:0;margin-left:0}.wp-block-video video{max-width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em}:root .has-pale-pink-background-color{background-color:#f78da7}:root .has-vivid-red-background-color{background-color:#cf2e2e}:root .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .has-vivid-green-cyan-background-color{background-color:#00d084}:root .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .has-vivid-purple-background-color{background-color:#9b51e0}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-pale-pink-color{color:#f78da7}:root .has-vivid-red-color{color:#cf2e2e}:root .has-luminous-vivid-orange-color{color:#ff6900}:root .has-luminous-vivid-amber-color{color:#fcb900}:root .has-light-green-cyan-color{color:#7bdcb5}:root .has-vivid-green-cyan-color{color:#00d084}:root .has-pale-cyan-blue-color{color:#8ed1fc}:root .has-vivid-cyan-blue-color{color:#0693e3}:root .has-vivid-purple-color{color:#9b51e0}:root .has-very-light-gray-color{color:#eee}:root .has-cyan-bluish-gray-color{color:#abb8c3}:root .has-very-dark-gray-color{color:#313131}.has-small-font-size{font-size:13px}.has-normal-font-size,.has-regular-font-size{font-size:16px}.has-medium-font-size{font-size:20px}.has-large-font-size{font-size:36px}.has-huge-font-size,.has-larger-font-size{font-size:42px}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right} \ No newline at end of file +.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}.wp-block-button{color:#fff}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:right}.wp-block-button__link{background-color:#32373c;border:none;border-radius:28px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;margin:0;padding:12px 24px;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:inherit}.is-style-squared .wp-block-button__link{border-radius:0}.no-border-radius.wp-block-button__link{border-radius:0!important}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background-color:transparent;border:2px solid}.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:4px;border:1px solid #e2e4e7}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-calendar table th{font-weight:400;background:#edeff0}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar tfoot a{color:#00739c}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;margin-bottom:28px;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (max-width:599px){.wp-block-column{flex-basis:100%!important}}@media (min-width:600px){.wp-block-column{flex-basis:calc(50% - 16px);flex-grow:0}.wp-block-column:nth-child(2n){margin-right:32px}}@media (min-width:782px){.wp-block-column:not(:first-child){margin-right:32px}}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:50%;min-height:430px;height:100%;width:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";background-color:inherit}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before{opacity:1}.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:290px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:calc(100% - 70px);z-index:1;color:#f8f9f9}.wp-block-cover-image .wp-block-subhead:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover .wp-block-subhead:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover__video-background{position:absolute;top:50%;right:50%;transform:translateX(50%) translateY(-50%);width:100%;height:100%;z-index:0;-o-object-fit:cover;object-fit:cover}.wp-block-cover-image-text,.wp-block-cover-text,section.wp-block-cover-image h2{color:#fff}.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:580px;padding:14px;text-align:center}.block-editor-block-list__block[data-type="core/embed"][data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__block[data-type="core/embed"][data-align=right] .block-editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper iframe{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.78%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:13px;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-right:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 0 16px 16px;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:40px 10px 9px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent)}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;-o-object-fit:cover;object-fit:cover}}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/2)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-left:0}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3 - 1px)}}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4 - 1px)}}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5 - 1px)}}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6 - 1px)}}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7 - 1px)}}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8 - 1px)}}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n){margin-left:0}.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n){margin-left:0}.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n){margin-left:0}.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n){margin-left:0}.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n){margin-left:0}.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n){margin-left:0}.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-left:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-left:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:290px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-image{margin-bottom:1em}.wp-block-image img{max-width:100%}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.is-resized{display:table;margin-right:0;margin-left:0}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.is-resized>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-right:1em}.wp-block-image .alignright{float:right;margin-left:1em}.wp-block-image .aligncenter{margin-right:auto;margin-left:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.is-style-circle-mask img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:none}}.wp-block-latest-comments__comment{font-size:15px;line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:36px;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-right:52px}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px}.wp-block-latest-comments__comment-date{color:#8f98a1;display:block;font-size:12px}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:24px;display:block;float:right;height:40px;margin-left:12px;width:40px}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 0 16px 16px;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-latest-posts__post-excerpt{margin-top:8px;margin-bottom:16px}.wp-block-media-text{display:-ms-grid;display:grid;-ms-grid-rows:auto;grid-template-rows:auto;-ms-grid-columns:50% 1fr;grid-template-columns:50% 1fr}.wp-block-media-text .has-media-on-the-right{-ms-grid-columns:1fr 50%;grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{-ms-grid-row-align:start;align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;margin:0}.wp-block-media-text .wp-block-media-text__content{word-break:break-word;padding:0 8%}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>figure>img,.wp-block-media-text>figure>video{max-width:unset;width:100%;vertical-align:middle}.wp-block-media-text.is-image-fill figure.wp-block-media-text__media{height:100%;min-height:250px;background-size:cover}.wp-block-media-text.is-image-fill figure.wp-block-media-text__media>img{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{-ms-grid-columns:100%!important;grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}}.wp-block-navigation>ul{display:block;list-style:none;margin:0;max-width:none;padding-right:0;position:relative}@media (min-width:600px){.wp-block-navigation>ul{display:flex;flex-wrap:wrap}}.wp-block-navigation>ul ul{padding-right:0}.wp-block-navigation>ul li{position:relative;z-index:1}.wp-block-navigation>ul li:focus-within,.wp-block-navigation>ul li:hover{cursor:pointer;z-index:99999}.wp-block-navigation>ul li:focus-within>ul,.wp-block-navigation>ul li:hover>ul,.wp-block-navigation>ul li ul:focus,.wp-block-navigation>ul li ul:hover{visibility:visible;opacity:1;display:block}.wp-block-navigation>ul>li>a{padding-right:0}@media (min-width:600px){.wp-block-navigation>ul>li>a{padding-right:16px}}.wp-block-navigation>ul>li:first-of-type>a{padding-right:0}.wp-block-navigation>ul>li:last-of-type>a{padding-left:0}.wp-block-navigation>ul>li>ul{background:#fff;-webkit-box-shadow:2px 4px 4px -1px rgba(97,97,97,.153);-moz-box-shadow:2px 4px 4px -1px rgba(97,97,97,.153);border-radius:4px;box-shadow:2px 4px 4px -1px rgba(97,97,97,.153);margin:0;position:absolute;right:0;top:80%;min-width:-webkit-max-content;min-width:max-content;opacity:0;transition:opacity .15s linear,transform .15s linear,left 0s .15s;transform:translateY(.6rem);visibility:hidden;padding:5px 0}.wp-block-navigation>ul>li>ul li{margin:2px 8px}.wp-block-navigation>ul>li>ul a{text-decoration:none}.wp-block-navigation>ul>li>ul a:hover{text-decoration:underline}.wp-block-navigation>ul>li>ul:after{bottom:100%;right:50%;content:" ";height:0;width:0;position:absolute;pointer-events:none;border:10px solid hsla(0,0%,100%,0);border-bottom-color:#fff;margin-right:-10px}.wp-block-navigation>ul>li>ul ul{width:100%}.wp-block-navigation .has-background-color+ul{background:inherit}.wp-block-navigation a{display:block;padding:16px}.wp-block-navigation ul ul{list-style:none;margin-right:0}.wp-block-navigation ul ul li a{padding-top:8px;padding-bottom:8px}.wp-block-navigation .has-sub-menu>a:after{content:"\00a0\25BC";display:inline-block;font-size:.6rem;height:inherit;width:inherit}.wp-block-navigation.items-justified-left>ul{justify-content:flex-start}.wp-block-navigation.items-justified-center>ul{justify-content:center}.wp-block-navigation.items-justified-right>ul{justify-content:flex-end}.is-style-dark>ul>li>ul{background:#333;border-radius:4px}.is-style-dark>ul>li>ul a{text-decoration:none;color:#fff}.is-style-dark>ul>li>ul a:hover{text-decoration:underline;color:#eee}.is-style-dark>ul>li>ul:after{border-color:rgba(24,24,24,0) rgba(24,24,24,0) #333}.is-small-text{font-size:14px}.is-regular-text{font-size:16px}.is-large-text{font-size:36px}.is-larger-text{font-size:48px}.has-drop-cap:not(:focus):first-letter{float:right;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em 0 0 .1em;text-transform:uppercase;font-style:normal}p.has-background{padding:20px 30px}p.has-text-color a{color:inherit}.wp-block-pullquote{padding:3em 0;margin-right:0;margin-left:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:290px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p{font-size:20px}.wp-block-pullquote p{font-size:28px;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-right:auto;margin-left:auto;text-align:right;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:32px}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin:0 0 16px;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:24px;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:18px;text-align:left}.wp-block-rss.alignleft{margin-right:2em}.wp-block-rss.alignright{margin-left:2em}.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-rss.is-grid li{margin:0 0 16px 16px;width:100%}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 16px)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-rss.columns-4 li{width:calc(25% - 16px)}.wp-block-rss.columns-5 li{width:calc(20% - 16px)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;color:#6c7781;font-size:13px}.wp-block-search{display:flex;flex-wrap:wrap}.wp-block-search .wp-block-search__label{width:100%}.wp-block-search .wp-block-search__input{flex-grow:1;max-width:360px}.wp-block-search .wp-block-search__button{margin-right:10px}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;text-align:center;max-width:none;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"\00b7 \00b7 \00b7";color:currentColor;font-size:20px;letter-spacing:2em;padding-right:2em;font-family:serif}.wp-block-social-links{display:flex;justify-content:flex-start;padding-right:0;padding-left:0;margin-right:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{text-decoration:none;border-bottom:0;box-shadow:none}.wp-social-link{width:36px;height:36px;border-radius:36px;margin-left:8px}.wp-social-link,.wp-social-link a{display:block;transition:transform .1s ease}.wp-social-link a{padding:6px;line-height:0}.wp-social-link a,.wp-social-link a:active,.wp-social-link a:hover,.wp-social-link a:visited,.wp-social-link svg{color:currentColor;fill:currentColor}.wp-social-link:hover{transform:scale(1.1)}.wp-block-social-links.aligncenter{justify-content:center;display:flex}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1977f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0577b5;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{background-color:#fefc00;color:#fff;stroke:#000}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#21a1f3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:#ff0100;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none;padding:4px}.wp-block-social-links.is-style-logos-only .wp-social-link svg{width:28px;height:28px}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1977f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0577b5}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{color:#fff;stroke:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#21a1f3}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:#ff0100}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-right:16px;padding-left:16px}.wp-block-spacer{clear:both}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table{overflow-x:auto}.wp-block-table table{width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f3f4f5}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 16px;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-right:0}.wp-block-text-columns .wp-block-column:last-child{margin-left:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{white-space:nowrap;overflow:auto}.wp-block-video{margin-right:0;margin-left:0}.wp-block-video video{max-width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em}:root .has-pale-pink-background-color{background-color:#f78da7}:root .has-vivid-red-background-color{background-color:#cf2e2e}:root .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .has-vivid-green-cyan-background-color{background-color:#00d084}:root .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .has-vivid-purple-background-color{background-color:#9b51e0}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-pale-pink-color{color:#f78da7}:root .has-vivid-red-color{color:#cf2e2e}:root .has-luminous-vivid-orange-color{color:#ff6900}:root .has-luminous-vivid-amber-color{color:#fcb900}:root .has-light-green-cyan-color{color:#7bdcb5}:root .has-vivid-green-cyan-color{color:#00d084}:root .has-pale-cyan-blue-color{color:#8ed1fc}:root .has-vivid-cyan-blue-color{color:#0693e3}:root .has-vivid-purple-color{color:#9b51e0}:root .has-very-light-gray-color{color:#eee}:root .has-cyan-bluish-gray-color{color:#abb8c3}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(-135deg,#0693e3,#9b51e0)}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(-135deg,#7adcb4,#00d082)}:root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(-135deg,#fcb900,#ff6900)}:root .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(-135deg,#ff6900,#cf2e2e)}:root .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(-135deg,#eee,#a9b8c3)}:root .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(-135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .has-blush-light-purple-gradient-background{background:linear-gradient(-135deg,#ffceec,#9896f0)}:root .has-blush-bordeaux-gradient-background{background:linear-gradient(-135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-luminous-dusk-gradient-background{background:linear-gradient(-135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .has-pale-ocean-gradient-background{background:linear-gradient(-135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .has-electric-grass-gradient-background{background:linear-gradient(-135deg,#caf880,#71ce7e)}:root .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}.has-small-font-size{font-size:13px}.has-normal-font-size,.has-regular-font-size{font-size:16px}.has-medium-font-size{font-size:20px}.has-large-font-size{font-size:36px}.has-huge-font-size,.has-larger-font-size{font-size:42px}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/style.css b/wp-includes/css/dist/block-library/style.css index fcb73b1efb..2a6afde52e 100644 --- a/wp-includes/css/dist/block-library/style.css +++ b/wp-includes/css/dist/block-library/style.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -192,48 +189,86 @@ .wp-block-cover-image.has-background-dim::before, .wp-block-cover.has-background-dim::before { content: ""; + background-color: inherit; } + .wp-block-cover-image.has-background-dim:not(.has-background-gradient)::before, + .wp-block-cover-image .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim:not(.has-background-gradient)::before, + .wp-block-cover .wp-block-cover__gradient-background { position: absolute; top: 0; left: 0; bottom: 0; right: 0; - background-color: inherit; - opacity: 0.5; z-index: 1; } - .wp-block-cover-image.has-background-dim.has-background-dim-10::before, - .wp-block-cover.has-background-dim.has-background-dim-10::before { - opacity: 0.1; } - .wp-block-cover-image.has-background-dim.has-background-dim-20::before, - .wp-block-cover.has-background-dim.has-background-dim-20::before { - opacity: 0.2; } - .wp-block-cover-image.has-background-dim.has-background-dim-30::before, - .wp-block-cover.has-background-dim.has-background-dim-30::before { - opacity: 0.3; } - .wp-block-cover-image.has-background-dim.has-background-dim-40::before, - .wp-block-cover.has-background-dim.has-background-dim-40::before { - opacity: 0.4; } - .wp-block-cover-image.has-background-dim.has-background-dim-50::before, - .wp-block-cover.has-background-dim.has-background-dim-50::before { + .wp-block-cover-image.has-background-dim:not(.has-background-gradient)::before, + .wp-block-cover-image .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim:not(.has-background-gradient)::before, + .wp-block-cover .wp-block-cover__gradient-background { opacity: 0.5; } - .wp-block-cover-image.has-background-dim.has-background-dim-60::before, - .wp-block-cover.has-background-dim.has-background-dim-60::before { + .wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient)::before { + opacity: 0.1; } + .wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background { + opacity: 0.1; } + .wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient)::before { + opacity: 0.2; } + .wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background { + opacity: 0.2; } + .wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient)::before { + opacity: 0.3; } + .wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background { + opacity: 0.3; } + .wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient)::before { + opacity: 0.4; } + .wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background { + opacity: 0.4; } + .wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient)::before { + opacity: 0.5; } + .wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background { + opacity: 0.5; } + .wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient)::before { opacity: 0.6; } - .wp-block-cover-image.has-background-dim.has-background-dim-70::before, - .wp-block-cover.has-background-dim.has-background-dim-70::before { + .wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background { + opacity: 0.6; } + .wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient)::before { opacity: 0.7; } - .wp-block-cover-image.has-background-dim.has-background-dim-80::before, - .wp-block-cover.has-background-dim.has-background-dim-80::before { + .wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background { + opacity: 0.7; } + .wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient)::before { opacity: 0.8; } - .wp-block-cover-image.has-background-dim.has-background-dim-90::before, - .wp-block-cover.has-background-dim.has-background-dim-90::before { + .wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background { + opacity: 0.8; } + .wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient)::before { opacity: 0.9; } - .wp-block-cover-image.has-background-dim.has-background-dim-100::before, - .wp-block-cover.has-background-dim.has-background-dim-100::before { + .wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background { + opacity: 0.9; } + .wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient)::before, + .wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient)::before { + opacity: 1; } + .wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background, + .wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background { opacity: 1; } .wp-block-cover-image.alignleft, .wp-block-cover-image.alignright, .wp-block-cover.alignleft, .wp-block-cover.alignright { - max-width: 305px; + max-width: 290px; width: 100%; } .wp-block-cover-image::after, .wp-block-cover::after { @@ -329,7 +364,7 @@ section.wp-block-cover-image > h2, line-height: 1.25; z-index: 1; margin-bottom: 0; - max-width: 610px; + max-width: 580px; padding: 14px; text-align: center; } @@ -650,14 +685,13 @@ section.wp-block-cover-image > h2, .wp-block-gallery.alignleft, .wp-block-gallery.alignright, .blocks-gallery-grid.alignleft, .blocks-gallery-grid.alignright { - max-width: 305px; + max-width: 290px; width: 100%; } .wp-block-gallery.aligncenter .blocks-gallery-item figure, .blocks-gallery-grid.aligncenter .blocks-gallery-item figure { justify-content: center; } .wp-block-image { - max-width: 100%; margin-bottom: 1em; } .wp-block-image img { max-width: 100%; } @@ -846,12 +880,12 @@ section.wp-block-cover-image > h2, width: 100%; vertical-align: middle; } -.wp-block-media-text.is-image-fill figure { +.wp-block-media-text.is-image-fill figure.wp-block-media-text__media { height: 100%; min-height: 250px; background-size: cover; } -.wp-block-media-text.is-image-fill figure > img { +.wp-block-media-text.is-image-fill figure.wp-block-media-text__media > img { position: absolute; width: 1px; height: 1px; @@ -893,6 +927,123 @@ section.wp-block-cover-image > h2, -ms-grid-row: 1; grid-row: 1; } } +.wp-block-navigation > ul { + display: block; + list-style: none; + margin: 0; + max-width: none; + padding-left: 0; + position: relative; } + @media (min-width: 600px) { + .wp-block-navigation > ul { + display: flex; + flex-wrap: wrap; } } + .wp-block-navigation > ul ul { + padding-left: 0; } + .wp-block-navigation > ul li { + position: relative; + z-index: 1; } + .wp-block-navigation > ul li:hover, .wp-block-navigation > ul li:focus-within { + cursor: pointer; + z-index: 99999; } + .wp-block-navigation > ul li:hover > ul, + .wp-block-navigation > ul li:focus-within > ul, + .wp-block-navigation > ul li ul:hover, + .wp-block-navigation > ul li ul:focus { + visibility: visible; + opacity: 1; + display: block; } + .wp-block-navigation > ul > li > a { + padding-left: 0; } + @media (min-width: 600px) { + .wp-block-navigation > ul > li > a { + padding-left: 16px; } } + .wp-block-navigation > ul > li:first-of-type > a { + padding-left: 0; } + .wp-block-navigation > ul > li:last-of-type > a { + padding-right: 0; } + .wp-block-navigation > ul > li > ul { + background: #fff; + -webkit-box-shadow: -2px 4px 4px -1px rgba(97, 97, 97, 0.153); + -moz-box-shadow: -2px 4px 4px -1px rgba(97, 97, 97, 0.153); + border-radius: 4px; + box-shadow: -2px 4px 4px -1px rgba(97, 97, 97, 0.153); + margin: 0; + position: absolute; + left: 0; + top: 80%; + min-width: -webkit-max-content; + min-width: max-content; + opacity: 0; + transition: opacity 0.15s linear, transform 0.15s linear, right 0s 0.15s; + transform: translateY(0.6rem); + visibility: hidden; + padding: 5px 0; } + .wp-block-navigation > ul > li > ul li { + margin: 2px 8px; } + .wp-block-navigation > ul > li > ul a { + text-decoration: none; } + .wp-block-navigation > ul > li > ul a:hover { + text-decoration: underline; } + .wp-block-navigation > ul > li > ul::after { + bottom: 100%; + left: 50%; + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #fff; + content: " "; + height: 0; + width: 0; + position: absolute; + pointer-events: none; + border-width: 10px; + margin-left: -10px; } + .wp-block-navigation > ul > li > ul ul { + width: 100%; } + +.wp-block-navigation .has-background-color + ul { + background: inherit; } + +.wp-block-navigation a { + display: block; + padding: 16px; } + +.wp-block-navigation ul ul { + list-style: none; + margin-left: 0; } + .wp-block-navigation ul ul li a { + padding-top: 8px; + padding-bottom: 8px; } + +.wp-block-navigation .has-sub-menu > a::after { + content: "\00a0\25BC"; + display: inline-block; + font-size: 0.6rem; + height: inherit; + width: inherit; } + +.wp-block-navigation.items-justified-left > ul { + justify-content: flex-start; } + +.wp-block-navigation.items-justified-center > ul { + justify-content: center; } + +.wp-block-navigation.items-justified-right > ul { + justify-content: flex-end; } + +.is-style-dark > ul > li > ul { + background: #333; + border-radius: 4px; } + .is-style-dark > ul > li > ul a { + text-decoration: none; + color: #fff; } + .is-style-dark > ul > li > ul a:hover { + text-decoration: underline; + color: #eee; } + .is-style-dark > ul > li > ul::after { + border-color: rgba(24, 24, 24, 0); + border-bottom-color: #333; } + .is-small-text { font-size: 14px; } @@ -914,12 +1065,6 @@ section.wp-block-cover-image > h2, text-transform: uppercase; font-style: normal; } -.has-drop-cap:not(:focus)::after { - content: ""; - display: table; - clear: both; - padding-top: 14px; } - p.has-background { padding: 20px 30px; } @@ -932,7 +1077,7 @@ p.has-text-color a { margin-right: 0; text-align: center; } .wp-block-pullquote.alignleft, .wp-block-pullquote.alignright { - max-width: 305px; } + max-width: 290px; } .wp-block-pullquote.alignleft p, .wp-block-pullquote.alignright p { font-size: 20px; } .wp-block-pullquote p { @@ -1019,7 +1164,8 @@ p.has-text-color a { .wp-block-search .wp-block-search__label { width: 100%; } .wp-block-search .wp-block-search__input { - flex-grow: 1; } + flex-grow: 1; + max-width: 360px; } .wp-block-search .wp-block-search__button { margin-left: 10px; } @@ -1047,6 +1193,11 @@ p.has-text-color a { padding-left: 0; padding-right: 0; margin-left: 0; } + .wp-block-social-links .wp-social-link a, + .wp-block-social-links .wp-social-link a:hover { + text-decoration: none; + border-bottom: 0; + box-shadow: none; } .wp-social-link { display: block; @@ -1437,77 +1588,93 @@ pre.wp-block-verse { margin-top: 0.5em; margin-bottom: 1em; } -:root .has-pale-pink-background-color { - background-color: #f78da7; } - -:root .has-vivid-red-background-color { - background-color: #cf2e2e; } - -:root .has-luminous-vivid-orange-background-color { - background-color: #ff6900; } - -:root .has-luminous-vivid-amber-background-color { - background-color: #fcb900; } - -:root .has-light-green-cyan-background-color { - background-color: #7bdcb5; } - -:root .has-vivid-green-cyan-background-color { - background-color: #00d084; } - -:root .has-pale-cyan-blue-background-color { - background-color: #8ed1fc; } - -:root .has-vivid-cyan-blue-background-color { - background-color: #0693e3; } - -:root .has-vivid-purple-background-color { - background-color: #9b51e0; } - -:root .has-very-light-gray-background-color { - background-color: #eee; } - -:root .has-cyan-bluish-gray-background-color { - background-color: #abb8c3; } - -:root .has-very-dark-gray-background-color { - background-color: #313131; } - -:root .has-pale-pink-color { - color: #f78da7; } - -:root .has-vivid-red-color { - color: #cf2e2e; } - -:root .has-luminous-vivid-orange-color { - color: #ff6900; } - -:root .has-luminous-vivid-amber-color { - color: #fcb900; } - -:root .has-light-green-cyan-color { - color: #7bdcb5; } - -:root .has-vivid-green-cyan-color { - color: #00d084; } - -:root .has-pale-cyan-blue-color { - color: #8ed1fc; } - -:root .has-vivid-cyan-blue-color { - color: #0693e3; } - -:root .has-vivid-purple-color { - color: #9b51e0; } - -:root .has-very-light-gray-color { - color: #eee; } - -:root .has-cyan-bluish-gray-color { - color: #abb8c3; } - -:root .has-very-dark-gray-color { - color: #313131; } +:root { + /* stylelint-disable function-comma-space-after */ + /* stylelint-enable function-comma-space-after */ } + :root .has-pale-pink-background-color { + background-color: #f78da7; } + :root .has-vivid-red-background-color { + background-color: #cf2e2e; } + :root .has-luminous-vivid-orange-background-color { + background-color: #ff6900; } + :root .has-luminous-vivid-amber-background-color { + background-color: #fcb900; } + :root .has-light-green-cyan-background-color { + background-color: #7bdcb5; } + :root .has-vivid-green-cyan-background-color { + background-color: #00d084; } + :root .has-pale-cyan-blue-background-color { + background-color: #8ed1fc; } + :root .has-vivid-cyan-blue-background-color { + background-color: #0693e3; } + :root .has-vivid-purple-background-color { + background-color: #9b51e0; } + :root .has-very-light-gray-background-color { + background-color: #eee; } + :root .has-cyan-bluish-gray-background-color { + background-color: #abb8c3; } + :root .has-very-dark-gray-background-color { + background-color: #313131; } + :root .has-pale-pink-color { + color: #f78da7; } + :root .has-vivid-red-color { + color: #cf2e2e; } + :root .has-luminous-vivid-orange-color { + color: #ff6900; } + :root .has-luminous-vivid-amber-color { + color: #fcb900; } + :root .has-light-green-cyan-color { + color: #7bdcb5; } + :root .has-vivid-green-cyan-color { + color: #00d084; } + :root .has-pale-cyan-blue-color { + color: #8ed1fc; } + :root .has-vivid-cyan-blue-color { + color: #0693e3; } + :root .has-vivid-purple-color { + color: #9b51e0; } + :root .has-very-light-gray-color { + color: #eee; } + :root .has-cyan-bluish-gray-color { + color: #abb8c3; } + :root .has-very-dark-gray-color { + color: #313131; } + :root .has-vivid-cyan-blue-to-vivid-purple-gradient-background { + background: linear-gradient(135deg, #0693e3 0%, #9b51e0 100%); } + :root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background { + background: linear-gradient(135deg, #00d084 0%, #0693e3 100%); } + :root .has-light-green-cyan-to-vivid-green-cyan-gradient-background { + background: linear-gradient(135deg, #7adcb4 0%, #00d082 100%); } + :root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background { + background: linear-gradient(135deg, #fcb900 0%, #ff6900 100%); } + :root .has-luminous-vivid-orange-to-vivid-red-gradient-background { + background: linear-gradient(135deg, #ff6900 0%, #cf2e2e 100%); } + :root .has-very-light-gray-to-cyan-bluish-gray-gradient-background { + background: linear-gradient(135deg, #eeeeee 0%, #a9b8c3 100%); } + :root .has-cool-to-warm-spectrum-gradient-background { + background: linear-gradient(135deg, #4aeadc 0%, #9778d1 20%, #cf2aba 40%, #ee2c82 60%, #fb6962 80%, #fef84c 100%); } + :root .has-blush-light-purple-gradient-background { + background: linear-gradient(135deg, #ffceec 0%, #9896f0 100%); } + :root .has-blush-bordeaux-gradient-background { + background: linear-gradient(135deg, #fecda5 0%, #fe2d2d 50%, #6b003e 100%); } + :root .has-purple-crush-gradient-background { + background: linear-gradient(135deg, #34e2e4 0%, #4721fb 50%, #ab1dfe 100%); } + :root .has-luminous-dusk-gradient-background { + background: linear-gradient(135deg, #ffcb70 0%, #c751c0 50%, #4158d0 100%); } + :root .has-hazy-dawn-gradient-background { + background: linear-gradient(135deg, #faaca8 0%, #dad0ec 100%); } + :root .has-pale-ocean-gradient-background { + background: linear-gradient(135deg, #fff5cb 0%, #b6e3d4 50%, #33a7b5 100%); } + :root .has-electric-grass-gradient-background { + background: linear-gradient(135deg, #caf880 0%, #71ce7e 100%); } + :root .has-subdued-olive-gradient-background { + background: linear-gradient(135deg, #fafae1 0%, #67a671 100%); } + :root .has-atomic-cream-gradient-background { + background: linear-gradient(135deg, #fdd79a 0%, #004a59 100%); } + :root .has-nightshade-gradient-background { + background: linear-gradient(135deg, #330968 0%, #31cdcf 100%); } + :root .has-midnight-gradient-background { + background: linear-gradient(135deg, #020381 0%, #2874fc 100%); } .has-small-font-size { font-size: 13px; } diff --git a/wp-includes/css/dist/block-library/style.min.css b/wp-includes/css/dist/block-library/style.min.css index f0c29e8b9a..f46cb9bc2a 100644 --- a/wp-includes/css/dist/block-library/style.min.css +++ b/wp-includes/css/dist/block-library/style.min.css @@ -1 +1 @@ -.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}.wp-block-button{color:#fff}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:right}.wp-block-button__link{background-color:#32373c;border:none;border-radius:28px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;margin:0;padding:12px 24px;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:inherit}.is-style-squared .wp-block-button__link{border-radius:0}.no-border-radius.wp-block-button__link{border-radius:0!important}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background-color:transparent;border:2px solid}.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:4px;border:1px solid #e2e4e7}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-calendar table th{font-weight:400;background:#edeff0}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar tfoot a{color:#00739c}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;margin-bottom:28px;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (max-width:599px){.wp-block-column{flex-basis:100%!important}}@media (min-width:600px){.wp-block-column{flex-basis:calc(50% - 16px);flex-grow:0}.wp-block-column:nth-child(2n){margin-left:32px}}@media (min-width:782px){.wp-block-column:not(:first-child){margin-left:32px}}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:50%;min-height:430px;height:100%;width:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background-color:inherit;opacity:.5;z-index:1}.wp-block-cover-image.has-background-dim.has-background-dim-10:before,.wp-block-cover.has-background-dim.has-background-dim-10:before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20:before,.wp-block-cover.has-background-dim.has-background-dim-20:before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30:before,.wp-block-cover.has-background-dim.has-background-dim-30:before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40:before,.wp-block-cover.has-background-dim.has-background-dim-40:before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50:before,.wp-block-cover.has-background-dim.has-background-dim-50:before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60:before,.wp-block-cover.has-background-dim.has-background-dim-60:before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70:before,.wp-block-cover.has-background-dim.has-background-dim-70:before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80:before,.wp-block-cover.has-background-dim.has-background-dim-80:before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90:before,.wp-block-cover.has-background-dim.has-background-dim-90:before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100:before,.wp-block-cover.has-background-dim.has-background-dim-100:before{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:305px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:calc(100% - 70px);z-index:1;color:#f8f9f9}.wp-block-cover-image .wp-block-subhead:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover .wp-block-subhead:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover__video-background{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);width:100%;height:100%;z-index:0;-o-object-fit:cover;object-fit:cover}.wp-block-cover-image-text,.wp-block-cover-text,section.wp-block-cover-image h2{color:#fff}.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-right:0;text-align:right}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:610px;padding:14px;text-align:center}.block-editor-block-list__block[data-type="core/embed"][data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__block[data-type="core/embed"][data-align=right] .block-editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper iframe{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.78%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:13px;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-left:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 16px 16px 0;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:40px 10px 9px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent)}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;-o-object-fit:cover;object-fit:cover}}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/2)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-right:0}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3 - 1px)}}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4 - 1px)}}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5 - 1px)}}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6 - 1px)}}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7 - 1px)}}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8 - 1px)}}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n){margin-right:0}.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n){margin-right:0}.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n){margin-right:0}.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n){margin-right:0}.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n){margin-right:0}.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n){margin-right:0}.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-right:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-right:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:305px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-image{max-width:100%;margin-bottom:1em}.wp-block-image img{max-width:100%}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.is-resized{display:table;margin-left:0;margin-right:0}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.is-resized>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-right:1em}.wp-block-image .alignright{float:right;margin-left:1em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.is-style-circle-mask img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:none}}.wp-block-latest-comments__comment{font-size:15px;line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:36px;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-left:52px}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px}.wp-block-latest-comments__comment-date{color:#8f98a1;display:block;font-size:12px}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:24px;display:block;float:left;height:40px;margin-right:12px;width:40px}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-latest-posts__post-excerpt{margin-top:8px;margin-bottom:16px}.wp-block-media-text{display:-ms-grid;display:grid;-ms-grid-rows:auto;grid-template-rows:auto;-ms-grid-columns:50% 1fr;grid-template-columns:50% 1fr}.wp-block-media-text .has-media-on-the-right{-ms-grid-columns:1fr 50%;grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{-ms-grid-row-align:start;align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;margin:0}.wp-block-media-text .wp-block-media-text__content{word-break:break-word;padding:0 8%}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>figure>img,.wp-block-media-text>figure>video{max-width:unset;width:100%;vertical-align:middle}.wp-block-media-text.is-image-fill figure{height:100%;min-height:250px;background-size:cover}.wp-block-media-text.is-image-fill figure>img{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{-ms-grid-columns:100%!important;grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}}.is-small-text{font-size:14px}.is-regular-text{font-size:16px}.is-large-text{font-size:36px}.is-larger-text{font-size:48px}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em .1em 0 0;text-transform:uppercase;font-style:normal}.has-drop-cap:not(:focus):after{content:"";display:table;clear:both;padding-top:14px}p.has-background{padding:20px 30px}p.has-text-color a{color:inherit}.wp-block-pullquote{padding:3em 0;margin-left:0;margin-right:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:305px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p{font-size:20px}.wp-block-pullquote p{font-size:28px;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-left:auto;margin-right:auto;text-align:left;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:32px}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin:0 0 16px;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:24px;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:18px;text-align:right}.wp-block-rss.alignleft{margin-right:2em}.wp-block-rss.alignright{margin-left:2em}.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-rss.is-grid li{margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 16px)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-rss.columns-4 li{width:calc(25% - 16px)}.wp-block-rss.columns-5 li{width:calc(20% - 16px)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;color:#6c7781;font-size:13px}.wp-block-search{display:flex;flex-wrap:wrap}.wp-block-search .wp-block-search__label{width:100%}.wp-block-search .wp-block-search__input{flex-grow:1}.wp-block-search .wp-block-search__button{margin-left:10px}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;text-align:center;max-width:none;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"\00b7 \00b7 \00b7";color:currentColor;font-size:20px;letter-spacing:2em;padding-left:2em;font-family:serif}.wp-block-social-links{display:flex;justify-content:flex-start;padding-left:0;padding-right:0;margin-left:0}.wp-social-link{width:36px;height:36px;border-radius:36px;margin-right:8px}.wp-social-link,.wp-social-link a{display:block;transition:transform .1s ease}.wp-social-link a{padding:6px;line-height:0}.wp-social-link a,.wp-social-link a:active,.wp-social-link a:hover,.wp-social-link a:visited,.wp-social-link svg{color:currentColor;fill:currentColor}.wp-social-link:hover{transform:scale(1.1)}.wp-block-social-links.aligncenter{justify-content:center;display:flex}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1977f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0577b5;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{background-color:#fefc00;color:#fff;stroke:#000}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#21a1f3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:#ff0100;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none;padding:4px}.wp-block-social-links.is-style-logos-only .wp-social-link svg{width:28px;height:28px}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1977f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0577b5}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{color:#fff;stroke:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#21a1f3}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:#ff0100}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-left:16px;padding-right:16px}.wp-block-spacer{clear:both}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table{overflow-x:auto}.wp-block-table table{width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f3f4f5}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 16px;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-left:0}.wp-block-text-columns .wp-block-column:last-child{margin-right:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{white-space:nowrap;overflow:auto}.wp-block-video{margin-left:0;margin-right:0}.wp-block-video video{max-width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em}:root .has-pale-pink-background-color{background-color:#f78da7}:root .has-vivid-red-background-color{background-color:#cf2e2e}:root .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .has-vivid-green-cyan-background-color{background-color:#00d084}:root .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .has-vivid-purple-background-color{background-color:#9b51e0}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-pale-pink-color{color:#f78da7}:root .has-vivid-red-color{color:#cf2e2e}:root .has-luminous-vivid-orange-color{color:#ff6900}:root .has-luminous-vivid-amber-color{color:#fcb900}:root .has-light-green-cyan-color{color:#7bdcb5}:root .has-vivid-green-cyan-color{color:#00d084}:root .has-pale-cyan-blue-color{color:#8ed1fc}:root .has-vivid-cyan-blue-color{color:#0693e3}:root .has-vivid-purple-color{color:#9b51e0}:root .has-very-light-gray-color{color:#eee}:root .has-cyan-bluish-gray-color{color:#abb8c3}:root .has-very-dark-gray-color{color:#313131}.has-small-font-size{font-size:13px}.has-normal-font-size,.has-regular-font-size{font-size:16px}.has-medium-font-size{font-size:20px}.has-large-font-size{font-size:36px}.has-huge-font-size,.has-larger-font-size{font-size:42px}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right} \ No newline at end of file +.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}.wp-block-button{color:#fff}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:right}.wp-block-button__link{background-color:#32373c;border:none;border-radius:28px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;margin:0;padding:12px 24px;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:inherit}.is-style-squared .wp-block-button__link{border-radius:0}.no-border-radius.wp-block-button__link{border-radius:0!important}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background-color:transparent;border:2px solid}.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:4px;border:1px solid #e2e4e7}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-calendar table th{font-weight:400;background:#edeff0}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar tfoot a{color:#00739c}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;margin-bottom:28px;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (max-width:599px){.wp-block-column{flex-basis:100%!important}}@media (min-width:600px){.wp-block-column{flex-basis:calc(50% - 16px);flex-grow:0}.wp-block-column:nth-child(2n){margin-left:32px}}@media (min-width:782px){.wp-block-column:not(:first-child){margin-left:32px}}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:50%;min-height:430px;height:100%;width:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";background-color:inherit}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{position:absolute;top:0;left:0;bottom:0;right:0;z-index:1}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before{opacity:1}.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:290px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:calc(100% - 70px);z-index:1;color:#f8f9f9}.wp-block-cover-image .wp-block-subhead:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover .wp-block-subhead:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover__video-background{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);width:100%;height:100%;z-index:0;-o-object-fit:cover;object-fit:cover}.wp-block-cover-image-text,.wp-block-cover-text,section.wp-block-cover-image h2{color:#fff}.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-right:0;text-align:right}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:580px;padding:14px;text-align:center}.block-editor-block-list__block[data-type="core/embed"][data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__block[data-type="core/embed"][data-align=right] .block-editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper iframe{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.78%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:13px;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-left:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 16px 16px 0;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:40px 10px 9px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent)}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;-o-object-fit:cover;object-fit:cover}}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/2)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-right:0}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3 - 1px)}}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4 - 1px)}}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5 - 1px)}}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6 - 1px)}}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7 - 1px)}}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8 - 1px)}}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n){margin-right:0}.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n){margin-right:0}.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n){margin-right:0}.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n){margin-right:0}.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n){margin-right:0}.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n){margin-right:0}.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-right:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-right:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:290px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-image{margin-bottom:1em}.wp-block-image img{max-width:100%}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.is-resized{display:table;margin-left:0;margin-right:0}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.is-resized>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-right:1em}.wp-block-image .alignright{float:right;margin-left:1em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.is-style-circle-mask img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:none}}.wp-block-latest-comments__comment{font-size:15px;line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:36px;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-left:52px}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px}.wp-block-latest-comments__comment-date{color:#8f98a1;display:block;font-size:12px}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:24px;display:block;float:left;height:40px;margin-right:12px;width:40px}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-latest-posts__post-excerpt{margin-top:8px;margin-bottom:16px}.wp-block-media-text{display:-ms-grid;display:grid;-ms-grid-rows:auto;grid-template-rows:auto;-ms-grid-columns:50% 1fr;grid-template-columns:50% 1fr}.wp-block-media-text .has-media-on-the-right{-ms-grid-columns:1fr 50%;grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{-ms-grid-row-align:start;align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;margin:0}.wp-block-media-text .wp-block-media-text__content{word-break:break-word;padding:0 8%}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>figure>img,.wp-block-media-text>figure>video{max-width:unset;width:100%;vertical-align:middle}.wp-block-media-text.is-image-fill figure.wp-block-media-text__media{height:100%;min-height:250px;background-size:cover}.wp-block-media-text.is-image-fill figure.wp-block-media-text__media>img{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{-ms-grid-columns:100%!important;grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}}.wp-block-navigation>ul{display:block;list-style:none;margin:0;max-width:none;padding-left:0;position:relative}@media (min-width:600px){.wp-block-navigation>ul{display:flex;flex-wrap:wrap}}.wp-block-navigation>ul ul{padding-left:0}.wp-block-navigation>ul li{position:relative;z-index:1}.wp-block-navigation>ul li:focus-within,.wp-block-navigation>ul li:hover{cursor:pointer;z-index:99999}.wp-block-navigation>ul li:focus-within>ul,.wp-block-navigation>ul li:hover>ul,.wp-block-navigation>ul li ul:focus,.wp-block-navigation>ul li ul:hover{visibility:visible;opacity:1;display:block}.wp-block-navigation>ul>li>a{padding-left:0}@media (min-width:600px){.wp-block-navigation>ul>li>a{padding-left:16px}}.wp-block-navigation>ul>li:first-of-type>a{padding-left:0}.wp-block-navigation>ul>li:last-of-type>a{padding-right:0}.wp-block-navigation>ul>li>ul{background:#fff;-webkit-box-shadow:-2px 4px 4px -1px rgba(97,97,97,.153);-moz-box-shadow:-2px 4px 4px -1px rgba(97,97,97,.153);border-radius:4px;box-shadow:-2px 4px 4px -1px rgba(97,97,97,.153);margin:0;position:absolute;left:0;top:80%;min-width:-webkit-max-content;min-width:max-content;opacity:0;transition:opacity .15s linear,transform .15s linear,right 0s .15s;transform:translateY(.6rem);visibility:hidden;padding:5px 0}.wp-block-navigation>ul>li>ul li{margin:2px 8px}.wp-block-navigation>ul>li>ul a{text-decoration:none}.wp-block-navigation>ul>li>ul a:hover{text-decoration:underline}.wp-block-navigation>ul>li>ul:after{bottom:100%;left:50%;content:" ";height:0;width:0;position:absolute;pointer-events:none;border:10px solid hsla(0,0%,100%,0);border-bottom-color:#fff;margin-left:-10px}.wp-block-navigation>ul>li>ul ul{width:100%}.wp-block-navigation .has-background-color+ul{background:inherit}.wp-block-navigation a{display:block;padding:16px}.wp-block-navigation ul ul{list-style:none;margin-left:0}.wp-block-navigation ul ul li a{padding-top:8px;padding-bottom:8px}.wp-block-navigation .has-sub-menu>a:after{content:"\00a0\25BC";display:inline-block;font-size:.6rem;height:inherit;width:inherit}.wp-block-navigation.items-justified-left>ul{justify-content:flex-start}.wp-block-navigation.items-justified-center>ul{justify-content:center}.wp-block-navigation.items-justified-right>ul{justify-content:flex-end}.is-style-dark>ul>li>ul{background:#333;border-radius:4px}.is-style-dark>ul>li>ul a{text-decoration:none;color:#fff}.is-style-dark>ul>li>ul a:hover{text-decoration:underline;color:#eee}.is-style-dark>ul>li>ul:after{border-color:rgba(24,24,24,0) rgba(24,24,24,0) #333}.is-small-text{font-size:14px}.is-regular-text{font-size:16px}.is-large-text{font-size:36px}.is-larger-text{font-size:48px}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em .1em 0 0;text-transform:uppercase;font-style:normal}p.has-background{padding:20px 30px}p.has-text-color a{color:inherit}.wp-block-pullquote{padding:3em 0;margin-left:0;margin-right:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:290px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p{font-size:20px}.wp-block-pullquote p{font-size:28px;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-left:auto;margin-right:auto;text-align:left;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:32px}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin:0 0 16px;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:24px;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:18px;text-align:right}.wp-block-rss.alignleft{margin-right:2em}.wp-block-rss.alignright{margin-left:2em}.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-rss.is-grid li{margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 16px)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-rss.columns-4 li{width:calc(25% - 16px)}.wp-block-rss.columns-5 li{width:calc(20% - 16px)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;color:#6c7781;font-size:13px}.wp-block-search{display:flex;flex-wrap:wrap}.wp-block-search .wp-block-search__label{width:100%}.wp-block-search .wp-block-search__input{flex-grow:1;max-width:360px}.wp-block-search .wp-block-search__button{margin-left:10px}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;text-align:center;max-width:none;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"\00b7 \00b7 \00b7";color:currentColor;font-size:20px;letter-spacing:2em;padding-left:2em;font-family:serif}.wp-block-social-links{display:flex;justify-content:flex-start;padding-left:0;padding-right:0;margin-left:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{text-decoration:none;border-bottom:0;box-shadow:none}.wp-social-link{width:36px;height:36px;border-radius:36px;margin-right:8px}.wp-social-link,.wp-social-link a{display:block;transition:transform .1s ease}.wp-social-link a{padding:6px;line-height:0}.wp-social-link a,.wp-social-link a:active,.wp-social-link a:hover,.wp-social-link a:visited,.wp-social-link svg{color:currentColor;fill:currentColor}.wp-social-link:hover{transform:scale(1.1)}.wp-block-social-links.aligncenter{justify-content:center;display:flex}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1977f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0577b5;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{background-color:#fefc00;color:#fff;stroke:#000}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#21a1f3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:#ff0100;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none;padding:4px}.wp-block-social-links.is-style-logos-only .wp-social-link svg{width:28px;height:28px}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1977f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0577b5}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{color:#fff;stroke:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#21a1f3}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:#ff0100}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-left:16px;padding-right:16px}.wp-block-spacer{clear:both}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table{overflow-x:auto}.wp-block-table table{width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f3f4f5}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 16px;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-left:0}.wp-block-text-columns .wp-block-column:last-child{margin-right:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{white-space:nowrap;overflow:auto}.wp-block-video{margin-left:0;margin-right:0}.wp-block-video video{max-width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em}:root .has-pale-pink-background-color{background-color:#f78da7}:root .has-vivid-red-background-color{background-color:#cf2e2e}:root .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .has-vivid-green-cyan-background-color{background-color:#00d084}:root .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .has-vivid-purple-background-color{background-color:#9b51e0}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-pale-pink-color{color:#f78da7}:root .has-vivid-red-color{color:#cf2e2e}:root .has-luminous-vivid-orange-color{color:#ff6900}:root .has-luminous-vivid-amber-color{color:#fcb900}:root .has-light-green-cyan-color{color:#7bdcb5}:root .has-vivid-green-cyan-color{color:#00d084}:root .has-pale-cyan-blue-color{color:#8ed1fc}:root .has-vivid-cyan-blue-color{color:#0693e3}:root .has-vivid-purple-color{color:#9b51e0}:root .has-very-light-gray-color{color:#eee}:root .has-cyan-bluish-gray-color{color:#abb8c3}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(135deg,#0693e3,#9b51e0)}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(135deg,#7adcb4,#00d082)}:root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(135deg,#fcb900,#ff6900)}:root .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(135deg,#ff6900,#cf2e2e)}:root .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(135deg,#eee,#a9b8c3)}:root .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .has-blush-light-purple-gradient-background{background:linear-gradient(135deg,#ffceec,#9896f0)}:root .has-blush-bordeaux-gradient-background{background:linear-gradient(135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-luminous-dusk-gradient-background{background:linear-gradient(135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-pale-ocean-gradient-background{background:linear-gradient(135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .has-electric-grass-gradient-background{background:linear-gradient(135deg,#caf880,#71ce7e)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}.has-small-font-size{font-size:13px}.has-normal-font-size,.has-regular-font-size{font-size:16px}.has-medium-font-size{font-size:20px}.has-large-font-size{font-size:36px}.has-huge-font-size,.has-larger-font-size{font-size:42px}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/theme-rtl.css b/wp-includes/css/dist/block-library/theme-rtl.css index 6fb3e85e0a..f188f444c5 100644 --- a/wp-includes/css/dist/block-library/theme-rtl.css +++ b/wp-includes/css/dist/block-library/theme-rtl.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -66,15 +63,6 @@ font-size: 13px; text-align: center; } -.wp-block-preformatted pre { - font-family: Menlo, Consolas, monaco, monospace; - color: #23282d; - /* Fonts smaller than 16px causes mobile safari to zoom. */ - font-size: 16px; } - @media (min-width: 600px) { - .wp-block-preformatted pre { - font-size: 14px; } } - .wp-block-pullquote { border-top: 4px solid #555d66; border-bottom: 4px solid #555d66; @@ -87,6 +75,10 @@ font-size: 13px; font-style: normal; } +.wp-block-navigation ul, +.wp-block-navigation ul li { + list-style: none; } + .wp-block-quote { border-right: 4px solid #000; margin: 0 0 28px 0; @@ -137,6 +129,10 @@ padding: 0.5em; border: 1px solid; word-break: normal; } + .wp-block-table figcaption { + color: #555d66; + font-size: 13px; + text-align: center; } .wp-block-video figcaption { color: #555d66; diff --git a/wp-includes/css/dist/block-library/theme-rtl.min.css b/wp-includes/css/dist/block-library/theme-rtl.min.css index 8f845e9154..e41aff3b61 100644 --- a/wp-includes/css/dist/block-library/theme-rtl.min.css +++ b/wp-includes/css/dist/block-library/theme-rtl.min.css @@ -1 +1 @@ -.wp-block-audio figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.blocks-gallery-caption,.wp-block-embed figcaption,.wp-block-image figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-preformatted pre{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;font-size:16px}@media (min-width:600px){.wp-block-preformatted pre{font-size:14px}}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;margin-bottom:28px;color:#40464d}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;text-transform:uppercase;font-size:13px;font-style:normal}.wp-block-quote{border-right:4px solid #000;margin:0 0 28px;padding-right:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;font-size:13px;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-right:none;border-left:4px solid #000;padding-right:0;padding-left:1em}.wp-block-quote.has-text-align-center{border:none;padding-right:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin-right:auto;margin-left:auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-video figcaption{color:#555d66;font-size:13px;text-align:center} \ No newline at end of file +.wp-block-audio figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.blocks-gallery-caption,.wp-block-embed figcaption,.wp-block-image figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;margin-bottom:28px;color:#40464d}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;text-transform:uppercase;font-size:13px;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-quote{border-right:4px solid #000;margin:0 0 28px;padding-right:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;font-size:13px;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-right:none;border-left:4px solid #000;padding-right:0;padding-left:1em}.wp-block-quote.has-text-align-center{border:none;padding-right:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin-right:auto;margin-left:auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption,.wp-block-video figcaption{color:#555d66;font-size:13px;text-align:center} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/theme.css b/wp-includes/css/dist/block-library/theme.css index 863b979c16..593b763727 100644 --- a/wp-includes/css/dist/block-library/theme.css +++ b/wp-includes/css/dist/block-library/theme.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -66,15 +63,6 @@ font-size: 13px; text-align: center; } -.wp-block-preformatted pre { - font-family: Menlo, Consolas, monaco, monospace; - color: #23282d; - /* Fonts smaller than 16px causes mobile safari to zoom. */ - font-size: 16px; } - @media (min-width: 600px) { - .wp-block-preformatted pre { - font-size: 14px; } } - .wp-block-pullquote { border-top: 4px solid #555d66; border-bottom: 4px solid #555d66; @@ -87,6 +75,10 @@ font-size: 13px; font-style: normal; } +.wp-block-navigation ul, +.wp-block-navigation ul li { + list-style: none; } + .wp-block-quote { border-left: 4px solid #000; margin: 0 0 28px 0; @@ -137,6 +129,10 @@ padding: 0.5em; border: 1px solid; word-break: normal; } + .wp-block-table figcaption { + color: #555d66; + font-size: 13px; + text-align: center; } .wp-block-video figcaption { color: #555d66; diff --git a/wp-includes/css/dist/block-library/theme.min.css b/wp-includes/css/dist/block-library/theme.min.css index 82cf6f37e4..be2154ece3 100644 --- a/wp-includes/css/dist/block-library/theme.min.css +++ b/wp-includes/css/dist/block-library/theme.min.css @@ -1 +1 @@ -.wp-block-audio figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.blocks-gallery-caption,.wp-block-embed figcaption,.wp-block-image figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-preformatted pre{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;font-size:16px}@media (min-width:600px){.wp-block-preformatted pre{font-size:14px}}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;margin-bottom:28px;color:#40464d}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;text-transform:uppercase;font-size:13px;font-style:normal}.wp-block-quote{border-left:4px solid #000;margin:0 0 28px;padding-left:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;font-size:13px;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-left:none;border-right:4px solid #000;padding-left:0;padding-right:1em}.wp-block-quote.has-text-align-center{border:none;padding-left:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin-left:auto;margin-right:auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-video figcaption{color:#555d66;font-size:13px;text-align:center} \ No newline at end of file +.wp-block-audio figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.blocks-gallery-caption,.wp-block-embed figcaption,.wp-block-image figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;margin-bottom:28px;color:#40464d}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;text-transform:uppercase;font-size:13px;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-quote{border-left:4px solid #000;margin:0 0 28px;padding-left:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;font-size:13px;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-left:none;border-right:4px solid #000;padding-left:0;padding-right:1em}.wp-block-quote.has-text-align-center{border:none;padding-left:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin-left:auto;margin-right:auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption,.wp-block-video figcaption{color:#555d66;font-size:13px;text-align:center} \ No newline at end of file diff --git a/wp-includes/css/dist/components/style-rtl.css b/wp-includes/css/dist/components/style-rtl.css index 865dc699f6..073548d3f7 100644 --- a/wp-includes/css/dist/components/style-rtl.css +++ b/wp-includes/css/dist/components/style-rtl.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -627,42 +624,47 @@ svg.dashicon.components-checkbox-control__checked { height: 21px; right: -3px; } } -.component-color-indicator { - width: 25px; - height: 16px; - margin-right: 0.8rem; - border: 1px solid #dadada; - display: inline-block; } - .component-color-indicator + .component-color-indicator { - margin-right: 0.5rem; } - -.components-color-palette { - margin-left: -14px; - width: calc(100% + 14px); } - .components-color-palette .components-color-palette__custom-clear-wrapper { - width: calc(100% - 14px); +.components-circular-option-picker { + display: inline-block; + margin-top: 0.6rem; + width: 100%; } + .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper { display: flex; justify-content: flex-end; } -.components-color-palette__item-wrapper { +.components-circular-option-picker__option-wrapper { display: inline-block; height: 28px; width: 28px; - margin-left: 14px; - margin-bottom: 14px; + margin-left: 12px; + margin-bottom: 12px; vertical-align: top; transform: scale(1); transition: 100ms transform ease; } @media (prefers-reduced-motion: reduce) { - .components-color-palette__item-wrapper { + .components-circular-option-picker__option-wrapper { transition-duration: 0s; } } - .components-color-palette__item-wrapper:hover { + .components-circular-option-picker__option-wrapper:hover { transform: scale(1.2); } - .components-color-palette__item-wrapper > div { + .components-circular-option-picker__option-wrapper > div { height: 100%; width: 100%; } + .components-circular-option-picker__option-wrapper:nth-child(6n+6) { + margin-left: 0; } -.components-color-palette__item { +.components-circular-option-picker__option-wrapper::before { + content: ""; + position: absolute; + top: 1px; + right: 1px; + bottom: 1px; + left: 1px; + border-radius: 50%; + z-index: -1; + /* stylelint-disable-next-line function-url-quotes */ + background: url('data:image/svg+xml,%3Csvg width="28" height="28" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M6 8V6H4v2h2zM8 8V6h2v2H8zM10 16H8v-2h2v2zM12 16v-2h2v2h-2zM12 18v-2h-2v2H8v2h2v-2h2zM14 18v2h-2v-2h2zM16 18h-2v-2h2v2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M18 18h2v-2h-2v-2h2v-2h-2v-2h2V8h-2v2h-2V8h-2v2h2v2h-2v2h2v2h2v2zm-2-4v-2h2v2h-2z" fill="%23555D65"/%3E%3Cpath d="M18 18v2h-2v-2h2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M8 10V8H6v2H4v2h2v2H4v2h2v2H4v2h2v2H4v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2v2h-2V4h-2v2h-2V4h-2v2h-2V4h-2v2h2v2h-2v2H8zm0 2v-2H6v2h2zm2 0v-2h2v2h-2zm0 2v-2H8v2H6v2h2v2H6v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h-2v2h-2V6h-2v2h-2v2h2v2h-2v2h-2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M4 0H2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2H8V0H6v2H4V0zm0 4V2H2v2h2zm2 0V2h2v2H6zm0 2V4H4v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2H8v2H6z" fill="%23555D65"/%3E%3C/svg%3E'); } + +.components-circular-option-picker__option { display: inline-block; vertical-align: top; height: 100%; @@ -674,17 +676,21 @@ svg.dashicon.components-checkbox-control__checked { transition: 100ms box-shadow ease; cursor: pointer; } @media (prefers-reduced-motion: reduce) { - .components-color-palette__item { + .components-circular-option-picker__option { transition-duration: 0s; } } - .components-color-palette__item.is-active { + .components-circular-option-picker__option.is-active { box-shadow: inset 0 0 0 4px; position: relative; z-index: 1; } - .components-color-palette__item.is-active + .dashicons-saved { + .components-circular-option-picker__option.is-active + .dashicons-saved { position: absolute; right: 4px; - top: 4px; } - .components-color-palette__item::after { + top: 4px; + border-radius: 50%; + z-index: 2; + background: #fff; + pointer-events: none; } + .components-circular-option-picker__option::after { content: ""; position: absolute; top: -1px; @@ -694,9 +700,9 @@ svg.dashicon.components-checkbox-control__checked { border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); border: 1px solid transparent; } - .components-color-palette__item:focus { + .components-circular-option-picker__option:focus { outline: none; } - .components-color-palette__item:focus::after { + .components-circular-option-picker__option:focus::after { content: ""; border: 2px solid #606a73; width: 32px; @@ -707,11 +713,24 @@ svg.dashicon.components-checkbox-control__checked { border-radius: 50%; box-shadow: inset 0 0 0 2px #fff; } -.components-color-palette__custom-color { +.components-circular-option-picker__button-action .components-circular-option-picker__option { + color: #fff; + background: #fff; } + +.components-circular-option-picker__dropdown-link-action { margin-left: 16px; } - .components-color-palette__custom-color .components-button { + .components-circular-option-picker__dropdown-link-action .components-button { line-height: 22px; } +.component-color-indicator { + width: 25px; + height: 16px; + margin-right: 0.8rem; + border: 1px solid #dadada; + display: inline-block; } + .component-color-indicator + .component-color-indicator { + margin-right: 0.5rem; } + /** * Parts of this source were derived and modified from react-color, * released under the MIT license. @@ -741,6 +760,10 @@ svg.dashicon.components-checkbox-control__checked { .components-color-picker { width: 100%; overflow: hidden; } + .components-color-picker * { + box-sizing: border-box; } + .components-color-picker .components-icon-button { + padding: 6px; } .components-color-picker__saturation { width: 100%; @@ -885,16 +908,110 @@ svg.dashicon.components-checkbox-control__checked { display: flex; align-items: flex-end; } .components-color-picker__inputs-wrapper fieldset { - flex: 1; } + flex: 1; + border: none; + margin: 0; + padding: 0; } .components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type="number"] { - padding: 2px; } + padding: 6px 8px; } + +.components-color-picker__inputs-field { + width: 100%; } .components-color-picker__inputs-fields { display: flex; - direction: ltr; } + direction: ltr; + flex-grow: 1; } + .components-color-picker__inputs-fields .components-base-control + .components-base-control { + margin-bottom: 0; } .components-color-picker__inputs-fields .components-base-control__field { margin: 0 4px; } +.components-custom-gradient-picker:not(.has-gradient) { + opacity: 0.4; } + +.components-custom-gradient-picker { + width: 100%; + height: 24px; + border-radius: 24px; + margin-bottom: 8px; + padding-right: 3px; + padding-left: 21px; } + .components-custom-gradient-picker .components-custom-gradient-picker__markers-container { + position: relative; } + .components-custom-gradient-picker .components-custom-gradient-picker__insert-point { + border-radius: 50%; + background: #fff; + padding: 2px; + width: 24px; + height: 24px; + position: relative; } + .components-custom-gradient-picker .components-custom-gradient-picker__control-point-button { + border: 2px solid #fff; + border-radius: 50%; + height: 18px; + position: absolute; + width: 18px; + top: 3px; } + .components-custom-gradient-picker .components-custom-gradient-picker__control-point-button.is-active { + background: #fafafa; + color: #23282d; + border-color: #999; + box-shadow: inset 0 -1px 0 #999, 0 0 0 1px #fff, 0 0 0 3px #007cba; } + +.components-custom-gradient-picker__color-picker-popover .components-custom-gradient-picker__remove-control-point { + margin-right: auto; + margin-left: auto; + display: block; + margin-bottom: 8px; } + +.components-custom-gradient-picker__inserter { + width: 100%; } + +.components-custom-select-control { + color: #555d66; + position: relative; } + +.components-custom-select-control__label { + display: block; + margin-bottom: 5px; } + +.components-custom-select-control__button { + border: 1px solid #7e8993; + border-radius: 4px; + color: #555d66; + display: inline; + min-height: 30px; + min-width: 130px; + position: relative; + text-align: right; } + .components-custom-select-control__button:focus { + border-color: #00a0d2; } + .components-custom-select-control__button-icon { + height: 100%; + padding: 0 4px; + position: absolute; + left: 0; + top: 0; } + +.components-custom-select-control__menu { + background: #fff; + padding: 0; + position: absolute; + width: 100%; + z-index: 1000000; } + +.components-custom-select-control__item { + align-items: center; + display: flex; + list-style-type: none; + padding: 10px 25px 10px 5px; } + .components-custom-select-control__item.is-highlighted { + background: #e2e4e7; } + .components-custom-select-control__item-icon { + margin-right: -20px; + margin-left: 0; } + svg.dashicon { fill: currentColor; outline: none; } @@ -1718,42 +1835,43 @@ svg.dashicon { height: 15px; width: 15px; fill: #cacccd; } -.components-datetime .components-datetime__calendar-help { - padding: 8px; } - .components-datetime .components-datetime__calendar-help h4 { +.components-datetime { + padding: 16px; } + .components-datetime .components-datetime__calendar-help { + padding: 16px; } + .components-datetime .components-datetime__calendar-help h4 { + margin: 0; } + .components-datetime .components-datetime__date-help-button { + display: block; + margin-right: auto; } + .components-datetime fieldset { + border: 0; + padding: 0; margin: 0; } - -.components-datetime .components-datetime__date-help-button { - display: block; - margin-right: auto; - margin-left: 8px; - margin-top: 0.5em; } - -.components-datetime fieldset { - border: 0; - padding: 0; - margin: 0; } - -.components-datetime select, -.components-datetime input { - box-sizing: border-box; - height: 28px; - vertical-align: middle; - padding: 0; - box-shadow: 0 0 0 transparent; - transition: box-shadow 0.1s linear; - border-radius: 4px; - border: 1px solid #7e8993; } - @media (prefers-reduced-motion: reduce) { - .components-datetime select, - .components-datetime input { - transition-duration: 0s; } } + .components-datetime select, + .components-datetime input { + box-shadow: 0 0 0 transparent; + transition: box-shadow 0.1s linear; + border-radius: 4px; + border: 1px solid #7e8993; } + @media (prefers-reduced-motion: reduce) { + .components-datetime select, + .components-datetime input { + transition-duration: 0s; } } + .components-datetime select, + .components-datetime input[type="number"], + .components-datetime .components-button { + height: 30px; + margin-top: 0; + margin-bottom: 0; } .components-datetime__date { min-height: 236px; - border-top: 1px solid #e2e4e7; - margin-right: -8px; - margin-left: -8px; } + border-top: 1px solid #e2e4e7; } + .components-datetime__date .CalendarMonthGrid { + margin-right: -13px; } + .components-datetime__date .DayPickerNavigation_leftButton__horizontalDefault { + right: 0; } .components-datetime__date .CalendarMonth_caption { font-size: 13px; } .components-datetime__date .CalendarDay { @@ -1803,15 +1921,21 @@ svg.dashicon { outline: 2px solid transparent; } .components-datetime__date .DayPicker_weekHeader { top: 50px; } + .components-datetime__date .DayPicker_weekHeader .DayPicker_weekHeader_ul { + margin: 1px 0; + padding-right: 0; + padding-left: 0; } .components-datetime__date.is-description-visible .DayPicker, .components-datetime__date.is-description-visible .components-datetime__date-help-button { visibility: hidden; } .components-datetime__time { - margin-bottom: 1em; } + padding-bottom: 16px; } .components-datetime__time fieldset { - margin-top: 0.5em; - position: relative; } + position: relative; + margin-bottom: 0.5em; } + .components-datetime__time fieldset + fieldset { + margin-bottom: 0; } .components-datetime__time .components-datetime__time-field-am-pm fieldset { margin-top: 0; } .components-datetime__time .components-datetime__time-wrapper { @@ -1888,8 +2012,20 @@ svg.dashicon { .components-popover .components-datetime__date { padding-right: 4px; } -.components-popover.edit-post-post-schedule__dialog.is-bottom.is-left { - z-index: 100000; } +.block-editor-dimension-control .components-base-control__field { + display: flex; + align-items: center; } + +.block-editor-dimension-control .components-base-control__label { + display: flex; + align-items: center; + margin-left: 1em; + margin-bottom: 0; } + .block-editor-dimension-control .components-base-control__label .dashicon { + margin-left: 0.5em; } + +.block-editor-dimension-control.is-manual .components-base-control__label { + width: 10em; } .components-disabled { position: relative; @@ -1980,39 +2116,20 @@ body.is-dragging-components-draggable { .components-drop-zone__provider { height: 100%; } -.components-dropdown-menu { - padding: 3px; - display: flex; } - .components-dropdown-menu .components-dropdown-menu__toggle { - width: auto; - margin: 0; - padding: 4px; - border: 1px solid transparent; - display: flex; - flex-direction: row; } - .components-dropdown-menu .components-dropdown-menu__toggle.is-active, .components-dropdown-menu .components-dropdown-menu__toggle.is-active:hover { - box-shadow: none; - background-color: #555d66; - color: #fff; } - .components-dropdown-menu .components-dropdown-menu__toggle:focus::before { - top: -3px; - left: -3px; - bottom: -3px; - right: -3px; } - .components-dropdown-menu .components-dropdown-menu__toggle:hover, .components-dropdown-menu .components-dropdown-menu__toggle:focus, .components-dropdown-menu .components-dropdown-menu__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { - color: #555d66; - box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; } - .components-dropdown-menu .components-dropdown-menu__toggle .components-dropdown-menu__indicator::after { - content: ""; - pointer-events: none; - display: block; - width: 0; - height: 0; - border-right: 3px solid transparent; - border-left: 3px solid transparent; - border-top: 5px solid; - margin-right: 4px; - margin-left: 2px; } +.components-dropdown { + display: inline-block; } + +.components-dropdown-menu__indicator::after { + content: ""; + pointer-events: none; + display: block; + width: 0; + height: 0; + border-right: 3px solid transparent; + border-left: 3px solid transparent; + border-top: 5px solid; + margin-right: 4px; + margin-left: 2px; } .components-dropdown-menu__popover .components-popover__content { width: 200px; } @@ -2168,25 +2285,37 @@ body.is-dragging-components-draggable { .components-font-size-picker__controls { max-width: 248px; display: flex; - justify-content: space-between; align-items: center; margin-bottom: 24px; } .components-font-size-picker__controls .components-range-control__number { height: 30px; - margin-right: 0; } + margin-bottom: 0; + margin-top: 5px; + margin-right: 0; + margin-left: 8px; } .components-font-size-picker__controls .components-range-control__number[value=""] + .components-button { cursor: default; opacity: 0.3; pointer-events: none; } - -.components-font-size-picker__select.components-font-size-picker__select.components-font-size-picker__select.components-font-size-picker__select, -.components-font-size-picker__select .components-base-control__field { - margin-bottom: 0; } + .components-font-size-picker__controls .components-range-control__number-container { + display: flex; + flex-direction: column; } + .components-font-size-picker__controls .components-font-size-picker__select { + margin-left: 8px; + flex-grow: 1; } + .components-font-size-picker__controls .components-color-palette__clear { + height: 30px; + margin-top: 23px; } .components-font-size-picker__custom-input .components-range-control__slider + .dashicon { width: 30px; height: 30px; } +.components-font-size-picker { + border: 0; + padding: 0; + margin: 0; } + .components-form-file-upload .components-button.is-large { padding-right: 6px; } @@ -2486,25 +2615,109 @@ body.is-dragging-components-draggable { .components-form-token-field__suggestion-match { text-decoration: underline; } -.components-navigate-regions.is-focusing-regions [role="region"]:focus::after { - content: ""; - position: absolute; - top: 0; - bottom: 0; - right: 0; - left: 0; - pointer-events: none; - outline: 4px solid transparent; - box-shadow: inset 0 0 0 4px #33b3db; } +.components-guide .components-modal__header { + background: none; + border-bottom: none; } + .components-guide .components-modal__header .components-icon-button { + align-self: flex-start; + margin-top: 24px; + position: static; } -@supports (outline-offset: 1px) { +.components-guide__container { + align-items: center; + display: flex; + flex-direction: column; + margin-top: -56px; + min-height: 100%; } + +.components-guide__footer { + align-content: center; + display: flex; + height: 30px; + justify-content: center; + margin: auto 0 24px 0; + position: relative; + width: 100%; } + @media (min-width: 600px) { + .components-guide__footer { + margin: 24px 0 0; } } + +.components-guide__page-control { + margin: 0; } + .components-guide__page-control li { + display: inline-block; + margin: 0 2px; } + .components-guide__page-control .components-icon-button { + height: 30px; } + +@media (max-width: 600px) { + .components-modal__frame.components-guide { + bottom: 15%; + right: 24px; + left: 24px; + top: 15%; } } + +.components-button.components-guide__back-button, .components-button.components-guide__forward-button, .components-button.components-guide__finish-button { + height: 30px; + position: absolute; } + +.components-button.components-guide__back-button, .components-button.components-guide__forward-button { + font-size: 0; + padding: 4px 2px; } + .components-button.components-guide__back-button.has-text svg, .components-button.components-guide__forward-button.has-text svg { + margin: 0; } + @media (min-width: 600px) { + .components-button.components-guide__back-button, .components-button.components-guide__forward-button { + font-size: 13px; } } + +.components-button.components-guide__back-button { + right: 0; } + @media (min-width: 600px) { + .components-button.components-guide__back-button { + padding: 4px 2px 4px 8px; } + .components-button.components-guide__back-button.has-text svg { + margin-left: 4px; } } + +.components-button.components-guide__forward-button { + left: 0; } + @media (min-width: 600px) { + .components-button.components-guide__forward-button { + padding: 4px 8px 4px 2px; } + .components-button.components-guide__forward-button.has-text svg { + margin-right: 4px; + order: 1; } } + +.components-button.components-guide__finish-button { + display: none; + left: 0; } + @media (min-width: 600px) { + .components-button.components-guide__finish-button { + display: unset; } } + +@media (min-width: 600px) { + .components-button.components-guide__inline-finish-button { + display: none; } } + +.components-navigate-regions.is-focusing-regions [role="region"] { + position: relative; } .components-navigate-regions.is-focusing-regions [role="region"]:focus::after { - content: none; } - .components-navigate-regions.is-focusing-regions [role="region"]:focus { - outline-style: solid; - outline-color: #33b3db; - outline-width: 4px; - outline-offset: -4px; } } + content: ""; + position: absolute; + top: 0; + bottom: 0; + right: 0; + left: 0; + pointer-events: none; + outline: 4px solid transparent; + box-shadow: inset 0 0 0 4px #33b3db; } + @supports (outline-offset: 1px) { + .components-navigate-regions.is-focusing-regions [role="region"]:focus::after { + content: none; } + .components-navigate-regions.is-focusing-regions [role="region"]:focus { + outline-style: solid; + outline-color: #33b3db; + outline-width: 4px; + outline-offset: -4px; } } .components-icon-button { display: flex; @@ -2603,6 +2816,16 @@ body.is-dragging-components-draggable { .components-menu-item__shortcut { display: inline; } } +.components-menu-items-choice, +.components-menu-items-choice.components-icon-button { + padding-right: 2rem; } + .components-menu-items-choice.has-icon, + .components-menu-items-choice.components-icon-button.has-icon { + padding-right: 0.5rem; } + .components-menu-items-choice .dashicon, + .components-menu-items-choice.components-icon-button .dashicon { + margin-left: 4px; } + .components-modal__screen-overlay { position: fixed; top: 0; @@ -2944,78 +3167,94 @@ body.is-dragging-components-draggable { .components-placeholder__preview img { margin: 3%; width: 50%; } + +.components-placeholder__fieldset .components-button { + margin-left: 4px; + margin-bottom: 10px; } + .components-placeholder__fieldset .components-button:last-child { + margin-left: 0; } + +.components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link { + margin-right: 10px; + margin-left: 10px; } + .components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link:last-child { + margin-left: 0; } .components-popover { position: fixed; z-index: 1000000; - left: 50%; } - .components-popover.is-mobile { + left: 50%; + opacity: 0; } + .components-popover.is-expanded, .components-popover[data-x-axis][data-y-axis] { + opacity: 1; } + .components-popover.is-expanded { top: 0; left: 0; right: 0; - bottom: 0; } - .components-popover:not(.is-without-arrow):not(.is-mobile) { + bottom: 0; + z-index: 1000000 !important; } + .components-popover:not(.is-without-arrow) { margin-left: 2px; } - .components-popover:not(.is-without-arrow):not(.is-mobile)::before { + .components-popover:not(.is-without-arrow)::before { border: 8px solid #e2e4e7; } - .components-popover:not(.is-without-arrow):not(.is-mobile)::after { + .components-popover:not(.is-without-arrow)::after { border: 8px solid #fff; } - .components-popover:not(.is-without-arrow):not(.is-mobile)::before, .components-popover:not(.is-without-arrow):not(.is-mobile)::after { + .components-popover:not(.is-without-arrow)::before, .components-popover:not(.is-without-arrow)::after { content: ""; position: absolute; height: 0; width: 0; line-height: 0; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-top { + .components-popover:not(.is-without-arrow)[data-y-axis="top"] { margin-top: -8px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-top::before { + .components-popover:not(.is-without-arrow)[data-y-axis="top"]::before { bottom: -8px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-top::after { + .components-popover:not(.is-without-arrow)[data-y-axis="top"]::after { bottom: -6px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-top::before, .components-popover:not(.is-without-arrow):not(.is-mobile).is-top::after { + .components-popover:not(.is-without-arrow)[data-y-axis="top"]::before, .components-popover:not(.is-without-arrow)[data-y-axis="top"]::after { border-bottom: none; border-left-color: transparent; border-right-color: transparent; border-top-style: solid; margin-left: -10px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom { + .components-popover:not(.is-without-arrow)[data-y-axis="bottom"] { margin-top: 8px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom::before { + .components-popover:not(.is-without-arrow)[data-y-axis="bottom"]::before { top: -8px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom::after { + .components-popover:not(.is-without-arrow)[data-y-axis="bottom"]::after { top: -6px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom::before, .components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom::after { + .components-popover:not(.is-without-arrow)[data-y-axis="bottom"]::before, .components-popover:not(.is-without-arrow)[data-y-axis="bottom"]::after { border-bottom-style: solid; border-left-color: transparent; border-right-color: transparent; border-top: none; margin-left: -10px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left { + .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="left"] { margin-left: -8px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left::before { + .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="left"]::before { right: -8px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left::after { + .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="left"]::after { right: -6px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left::before, .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left::after { + .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="left"]::before, .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="left"]::after { border-bottom-color: transparent; border-left-style: solid; border-right: none; border-top-color: transparent; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right { + .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="right"] { margin-left: 8px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right::before { + .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="right"]::before { left: -8px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right::after { + .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="right"]::after { left: -6px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right::before, .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right::after { + .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="right"]::before, .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="right"]::after { border-bottom-color: transparent; border-left: none; border-right-style: solid; border-top-color: transparent; } - .components-popover:not(.is-mobile).is-top { + .components-popover[data-y-axis="top"] { bottom: 100%; } - .components-popover:not(.is-mobile).is-bottom { + .components-popover[data-y-axis="bottom"] { top: 100%; } - .components-popover:not(.is-mobile).is-middle { + .components-popover[data-y-axis="middle"] { align-items: center; display: flex; } @@ -3024,28 +3263,32 @@ body.is-dragging-components-draggable { border: 1px solid #e2e4e7; background: #fff; height: 100%; } - .components-popover.is-mobile .components-popover__content { - height: calc(100% - 50px); - border-top: 0; } - .components-popover:not(.is-mobile) .components-popover__content { + .components-popover .components-popover__content { position: absolute; height: auto; overflow-y: auto; min-width: 260px; } - .components-popover:not(.is-mobile).is-top .components-popover__content { + .components-popover.is-expanded .components-popover__content { + position: static; + height: calc(100% - 50px); + overflow-y: visible; + min-width: auto; + border: none; + border-top: 1px solid #e2e4e7; } + .components-popover[data-y-axis="top"] .components-popover__content { bottom: 100%; } - .components-popover:not(.is-mobile).is-center .components-popover__content { + .components-popover[data-x-axis="center"] .components-popover__content { left: 50%; transform: translateX(-50%); } - .components-popover:not(.is-mobile).is-right .components-popover__content { + .components-popover[data-x-axis="right"] .components-popover__content { position: absolute; left: 100%; } - .components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content { + .components-popover:not([data-y-axis="middle"])[data-x-axis="right"] .components-popover__content { margin-left: -24px; } - .components-popover:not(.is-mobile).is-left .components-popover__content { + .components-popover[data-x-axis="left"] .components-popover__content { position: absolute; right: 100%; } - .components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content { + .components-popover:not([data-y-axis="middle"])[data-x-axis="left"] .components-popover__content { margin-right: -24px; } .components-popover__content > div { @@ -3054,7 +3297,6 @@ body.is-dragging-components-draggable { .components-popover__header { align-items: center; background: #fff; - border: 1px solid #e2e4e7; display: flex; height: 50px; justify-content: space-between; @@ -3194,7 +3436,8 @@ body.is-dragging-components-draggable { display: none; width: 23px; height: 23px; } - .components-resizable-box__container.is-selected .components-resizable-box__handle { + .components-resizable-box__container.is-selected .components-resizable-box__handle, + .components-resizable-box__container.has-show-handle .components-resizable-box__handle { display: block; } .components-resizable-box__handle::after { @@ -3497,22 +3740,68 @@ body.lockscroll { .components-toggle-control .components-base-control__field { display: flex; - margin-bottom: 12px; } + margin-bottom: 12px; + line-height: initial; + align-items: center; } .components-toggle-control .components-base-control__field .components-form-toggle { margin-left: 16px; } .components-toggle-control .components-base-control__field .components-toggle-control__label { - display: block; - margin-bottom: 4px; } + display: block; } + +.components-accessible-toolbar { + display: inline-flex; + flex-shrink: 0; } + @supports ((position: -webkit-sticky) or (position: sticky)) { + .components-accessible-toolbar { + display: flex; } } + +.components-toolbar__control.components-button { + width: 36px; + height: 36px; } + .components-toolbar__control.components-button[data-subscript] svg { + padding: 5px 0 5px 10px; } + .components-toolbar__control.components-button[data-subscript]::after { + content: attr(data-subscript); + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 13px; + font-weight: 600; + line-height: 12px; + position: absolute; + left: 8px; + bottom: 10px; } + .components-toolbar__control.components-button:not(:disabled).is-active[data-subscript]::after { + color: #fff; } + .components-toolbar__control.components-button.is-active { + padding: 3px; + outline: none; } + .components-toolbar__control.components-button.is-active > svg { + padding: 5px; + border-radius: 4px; + height: 30px; + width: 30px; + box-sizing: border-box; + outline: none; + color: #fff; + box-shadow: none; + background: #555d66; } + +.components-toolbar-group { + border: 1px solid #e2e4e7; + background-color: #fff; + display: flex; + flex-shrink: 0; + margin-left: -1px; + line-height: 0; } + .components-toolbar-group .components-toolbar-group { + border-width: 0; + margin: 0; } .components-toolbar { margin: 0; border: 1px solid #e2e4e7; background-color: #fff; - display: inline-flex; + display: flex; flex-shrink: 0; } - @supports ((position: -webkit-sticky) or (position: sticky)) { - .components-toolbar { - display: flex; } } div.components-toolbar > div { display: block; @@ -3538,74 +3827,15 @@ div.components-toolbar > div + div { width: 1px; height: 20px; } -.components-toolbar__control.components-button { - display: inline-flex; - align-items: flex-end; - margin: 0; - padding: 3px; - outline: none; - cursor: pointer; - position: relative; - width: 36px; - height: 36px; } - .components-toolbar__control.components-button:not([aria-disabled="true"]):not(.is-default):active, .components-toolbar__control.components-button:not([aria-disabled="true"]):hover, .components-toolbar__control.components-button:not([aria-disabled="true"]):focus { - outline: none; - box-shadow: none; - background: none; - border: none; } - .components-toolbar__control.components-button:disabled { - cursor: default; } - .components-toolbar__control.components-button > svg { - padding: 5px; - border-radius: 4px; - height: 30px; - width: 30px; } - .components-toolbar__control.components-button[data-subscript] svg { - padding: 5px 0 5px 10px; } - .components-toolbar__control.components-button[data-subscript]::after { - content: attr(data-subscript); - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - font-size: 13px; - font-weight: 600; - line-height: 12px; - position: absolute; - left: 8px; - bottom: 10px; } - .components-toolbar__control.components-button:not(:disabled):not([aria-disabled="true"]):hover { - box-shadow: none; } - .components-toolbar__control.components-button:not(:disabled).is-active > svg, - .components-toolbar__control.components-button:not(:disabled):hover > svg { - color: #555d66; - box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; } - .components-toolbar__control.components-button:not(:disabled).is-active > svg { - outline: none; - color: #fff; - box-shadow: none; - background: #555d66; } - .components-toolbar__control.components-button:not(:disabled).is-active[data-subscript]::after { - color: #fff; } - .components-toolbar__control.components-button:not(:disabled):focus > svg { - box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; - outline: 2px solid transparent; - outline: 0; } - .components-toolbar__control.components-button:not(:disabled).is-active { - outline: 1px dotted transparent; - outline-offset: -2px; } - .components-toolbar__control.components-button:not(:disabled):focus { - outline: 2px solid transparent; } - -.components-toolbar__control .dashicon { - display: block; } - .components-tooltip.components-popover { z-index: 1000002; } .components-tooltip.components-popover::before { border-color: transparent; } - .components-tooltip.components-popover.is-top::after { + .components-tooltip.components-popover[data-y-axis="top"]::after { border-top-color: #191e23; } - .components-tooltip.components-popover.is-bottom::after { + .components-tooltip.components-popover[data-y-axis="bottom"]::after { border-bottom-color: #191e23; } - .components-tooltip.components-popover:not(.is-mobile) .components-popover__content { + .components-tooltip.components-popover .components-popover__content { min-width: 0; } .components-tooltip .components-popover__content { @@ -3619,3 +3849,33 @@ div.components-toolbar > div + div { .components-tooltip__shortcut { display: block; color: #7e8993; } + +.components-visually-hidden { + border: 0; + clip: rect(1px, 1px, 1px, 1px); + -webkit-clip-path: inset(50%); + clip-path: inset(50%); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; + word-wrap: normal !important; } + +.components-visually-hidden:focus { + background-color: #e2e4e7; + clip: auto !important; + -webkit-clip-path: none; + clip-path: none; + color: #444; + display: block; + font-size: 1em; + height: auto; + right: 5px; + line-height: normal; + padding: 15px 23px 14px; + text-decoration: none; + top: 5px; + width: auto; + z-index: 100000; } diff --git a/wp-includes/css/dist/components/style-rtl.min.css b/wp-includes/css/dist/components/style-rtl.min.css index 8386692e54..be6bd9bb74 100644 --- a/wp-includes/css/dist/components/style-rtl.min.css +++ b/wp-includes/css/dist/components/style-rtl.min.css @@ -1 +1 @@ -.components-animate__appear{animation:components-animate__appear-animation .1s cubic-bezier(0,0,.2,1) 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__appear{animation-duration:1ms}}.components-animate__appear.is-from-top,.components-animate__appear.is-from-top.is-from-left{transform-origin:top right}.components-animate__appear.is-from-top.is-from-right{transform-origin:top left}.components-animate__appear.is-from-bottom,.components-animate__appear.is-from-bottom.is-from-left{transform-origin:bottom right}.components-animate__appear.is-from-bottom.is-from-right{transform-origin:bottom left}@keyframes components-animate__appear-animation{0%{transform:translateY(-2em) scaleY(0) scaleX(0)}to{transform:translateY(0) scaleY(1) scaleX(1)}}.components-animate__slide-in{animation:components-animate__slide-in-animation .1s cubic-bezier(0,0,.2,1);animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__slide-in{animation-duration:1ms}}.components-animate__slide-in.is-from-left{transform:translateX(-100%)}@keyframes components-animate__slide-in-animation{to{transform:translateX(0)}}.components-animate__loading{animation:components-animate__loading 1.6s ease-in-out infinite}@keyframes components-animate__loading{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.components-autocomplete__popover .components-popover__content{min-width:200px}.components-autocomplete__popover .components-autocomplete__results{padding:3px;display:flex;flex-direction:column;align-items:stretch}.components-autocomplete__popover .components-autocomplete__results:empty{display:none}.components-autocomplete__result.components-button{margin-bottom:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;color:#555d66;display:flex;flex-direction:row;flex-grow:1;flex-shrink:0;align-items:center;padding:6px 8px;margin-right:-3px;margin-left:-3px;text-align:right}.components-autocomplete__result.components-button.is-selected{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-autocomplete__result.components-button:hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-base-control{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-base-control .components-base-control__field{margin-bottom:8px}.components-panel__row .components-base-control .components-base-control__field{margin-bottom:inherit}.components-base-control .components-base-control__label{display:inline-block;margin-bottom:4px}.components-base-control .components-base-control__help{margin-top:-8px;font-style:italic}.components-base-control+.components-base-control{margin-bottom:16px}.components-button-group{display:inline-block}.components-button-group .components-button.is-button{border-radius:0;display:inline-flex}.components-button-group .components-button.is-button+.components-button.is-button{margin-right:-1px}.components-button-group .components-button.is-button:first-child{border-radius:0 3px 3px 0}.components-button-group .components-button.is-button:last-child{border-radius:3px 0 0 3px}.components-button-group .components-button.is-button.is-primary,.components-button-group .components-button.is-button:focus{position:relative;z-index:1}.components-button-group .components-button.is-button.is-primary{box-shadow:none}.components-button{display:inline-flex;text-decoration:none;font-size:13px;margin:0;border:0;cursor:pointer;-webkit-appearance:none;background:none;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.components-button{transition-duration:0s}}.components-button.is-button{padding:0 10px;line-height:2;height:28px;border-radius:3px;white-space:nowrap;border-width:1px;border-style:solid}.components-button.is-default{color:#0075af;border-color:#0075af;background:#f3f5f6}body.admin-color-sunrise .components-button.is-default{color:#c47e46;border-color:#c47e46}body.admin-color-ocean .components-button.is-default{color:#99ae98;border-color:#99ae98}body.admin-color-midnight .components-button.is-default{color:#d4483f;border-color:#d4483f}body.admin-color-ectoplasm .components-button.is-default{color:#9dab51;border-color:#9dab51}body.admin-color-coffee .components-button.is-default{color:#b69c84;border-color:#b69c84}body.admin-color-blue .components-button.is-default{color:#cca154;border-color:#cca154}body.admin-color-light .components-button.is-default{color:#007daf;border-color:#007daf}.components-button.is-default:hover{background:#f1f1f1;border-color:#005d8c;color:#005d8c;text-decoration:none}body.admin-color-sunrise .components-button.is-default:hover{border-color:#9d6538;color:#9d6538}body.admin-color-ocean .components-button.is-default:hover{border-color:#7a8b7a;color:#7a8b7a}body.admin-color-midnight .components-button.is-default:hover{border-color:#a93a32;color:#a93a32}body.admin-color-ectoplasm .components-button.is-default:hover{border-color:#7d8941;color:#7d8941}body.admin-color-coffee .components-button.is-default:hover{border-color:#927d69;color:#927d69}body.admin-color-blue .components-button.is-default:hover{border-color:#a38043;color:#a38043}body.admin-color-light .components-button.is-default:hover{border-color:#00648c;color:#00648c}.components-button.is-default:focus:enabled{background:#f3f5f6;color:#005d8c;border-color:#0076b1;box-shadow:0 0 0 1px #0076b1;text-decoration:none}body.admin-color-sunrise .components-button.is-default:focus:enabled{color:#9d6538;border-color:#c77f46;box-shadow:0 0 0 1px #c77f46}body.admin-color-ocean .components-button.is-default:focus:enabled{color:#7a8b7a;border-color:#9bb09a;box-shadow:0 0 0 1px #9bb09a}body.admin-color-midnight .components-button.is-default:focus:enabled{color:#a93a32;border-color:#d64940;box-shadow:0 0 0 1px #d64940}body.admin-color-ectoplasm .components-button.is-default:focus:enabled{color:#7d8941;border-color:#9fad52;box-shadow:0 0 0 1px #9fad52}body.admin-color-coffee .components-button.is-default:focus:enabled{color:#927d69;border-color:#b89e85;box-shadow:0 0 0 1px #b89e85}body.admin-color-blue .components-button.is-default:focus:enabled{color:#a38043;border-color:#cea255;box-shadow:0 0 0 1px #cea255}body.admin-color-light .components-button.is-default:focus:enabled{color:#00648c;border-color:#007eb1;box-shadow:0 0 0 1px #007eb1}.components-button.is-default:active:enabled{background:#f3f5f6;color:#0076b1;border-color:#7e8993;box-shadow:none}body.admin-color-sunrise .components-button.is-default:active:enabled{color:#c77f46}body.admin-color-ocean .components-button.is-default:active:enabled{color:#9bb09a}body.admin-color-midnight .components-button.is-default:active:enabled{color:#d64940}body.admin-color-ectoplasm .components-button.is-default:active:enabled{color:#9fad52}body.admin-color-coffee .components-button.is-default:active:enabled{color:#b89e85}body.admin-color-blue .components-button.is-default:active:enabled{color:#cea255}body.admin-color-light .components-button.is-default:active:enabled{color:#007eb1}.components-button.is-default:disabled,.components-button.is-default[aria-disabled=true]{color:#a0a5aa;border-color:#ddd;background:#f7f7f7;text-shadow:0 1px 0 #fff;transform:none;opacity:1}.components-button.is-primary{background:#007cba;border-color:#007cba;color:#fff;text-decoration:none;text-shadow:none}body.admin-color-sunrise .components-button.is-primary{background:#d1864a;border-color:#d1864a}body.admin-color-ocean .components-button.is-primary{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-button.is-primary{background:#e14d43;border-color:#e14d43}body.admin-color-ectoplasm .components-button.is-primary{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-button.is-primary{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-button.is-primary{background:#d9ab59;border-color:#d9ab59}body.admin-color-light .components-button.is-primary{background:#0085ba;border-color:#0085ba}.components-button.is-primary:focus:enabled,.components-button.is-primary:hover{background:#0070a7;border-color:#0070a7;color:#fff}body.admin-color-sunrise .components-button.is-primary:focus:enabled,body.admin-color-sunrise .components-button.is-primary:hover{background:#bc7943;border-color:#bc7943}body.admin-color-ocean .components-button.is-primary:focus:enabled,body.admin-color-ocean .components-button.is-primary:hover{background:#93a792;border-color:#93a792}body.admin-color-midnight .components-button.is-primary:focus:enabled,body.admin-color-midnight .components-button.is-primary:hover{background:#cb453c;border-color:#cb453c}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:hover{background:#96a44d;border-color:#96a44d}body.admin-color-coffee .components-button.is-primary:focus:enabled,body.admin-color-coffee .components-button.is-primary:hover{background:#af957e;border-color:#af957e}body.admin-color-blue .components-button.is-primary:focus:enabled,body.admin-color-blue .components-button.is-primary:hover{background:#c39a50;border-color:#c39a50}body.admin-color-light .components-button.is-primary:focus:enabled,body.admin-color-light .components-button.is-primary:hover{background:#0078a7;border-color:#0078a7}.components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}body.admin-color-sunrise .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.components-button.is-primary:active:enabled{background:#006395;border-color:#006395;color:#fff}body.admin-color-sunrise .components-button.is-primary:active:enabled{background:#a76b3b;border-color:#a76b3b}body.admin-color-ocean .components-button.is-primary:active:enabled{background:#829482;border-color:#829482}body.admin-color-midnight .components-button.is-primary:active:enabled{background:#b43e36;border-color:#b43e36}body.admin-color-ectoplasm .components-button.is-primary:active:enabled{background:#869245;border-color:#869245}body.admin-color-coffee .components-button.is-primary:active:enabled{background:#9b8570;border-color:#9b8570}body.admin-color-blue .components-button.is-primary:active:enabled{background:#ae8947;border-color:#ae8947}body.admin-color-light .components-button.is-primary:active:enabled{background:#006a95;border-color:#006a95}.components-button.is-primary:disabled,.components-button.is-primary:disabled:active:enabled,.components-button.is-primary[aria-disabled=true],.components-button.is-primary[aria-disabled=true]:active:enabled,.components-button.is-primary[aria-disabled=true]:enabled{color:#66b0d6;background:#1989c1;border-color:#1989c1;opacity:1}body.admin-color-sunrise .components-button.is-primary:disabled,body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true],body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:enabled{color:#e3b692;background:#d6925c;border-color:#d6925c}body.admin-color-ocean .components-button.is-primary:disabled,body.admin-color-ocean .components-button.is-primary:disabled:active:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true],body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:enabled{color:#c8d5c7;background:#acc0ab;border-color:#acc0ab}body.admin-color-midnight .components-button.is-primary:disabled,body.admin-color-midnight .components-button.is-primary:disabled:active:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true],body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:enabled{color:#ed948e;background:#e45f56;border-color:#e45f56}body.admin-color-ectoplasm .components-button.is-primary:disabled,body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true],body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:enabled{color:#cad39a;background:#b0bd67;border-color:#b0bd67}body.admin-color-coffee .components-button.is-primary:disabled,body.admin-color-coffee .components-button.is-primary:disabled:active:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true],body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:enabled{color:#dacaba;background:#c8af98;border-color:#c8af98}body.admin-color-blue .components-button.is-primary:disabled,body.admin-color-blue .components-button.is-primary:disabled:active:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true],body.admin-color-blue .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:enabled{color:#e8cd9b;background:#ddb36a;border-color:#ddb36a}body.admin-color-light .components-button.is-primary:disabled,body.admin-color-light .components-button.is-primary:disabled:active:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true],body.admin-color-light .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:enabled{color:#66b6d6;background:#1991c1;border-color:#1991c1}.components-button.is-primary:disabled.is-button,.components-button.is-primary:disabled.is-button:hover,.components-button.is-primary:disabled:active:enabled,.components-button.is-primary:disabled:active:enabled.is-button,.components-button.is-primary:disabled:active:enabled.is-button:hover,.components-button.is-primary:disabled:active:enabled:active:enabled,.components-button.is-primary[aria-disabled=true].is-button,.components-button.is-primary[aria-disabled=true].is-button:hover,.components-button.is-primary[aria-disabled=true]:active:enabled,.components-button.is-primary[aria-disabled=true]:active:enabled.is-button,.components-button.is-primary[aria-disabled=true]:active:enabled.is-button:hover,.components-button.is-primary[aria-disabled=true]:active:enabled:active:enabled,.components-button.is-primary[aria-disabled=true]:enabled.is-button,.components-button.is-primary[aria-disabled=true]:enabled.is-button:hover,.components-button.is-primary[aria-disabled=true]:enabled:active:enabled{box-shadow:none;text-shadow:none}.components-button.is-primary:disabled:active:enabled:focus:enabled,.components-button.is-primary:disabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary:disabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary:disabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary:disabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:disabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary:disabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary:disabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-light .components-button.is-primary:disabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.components-button.is-primary.is-busy,.components-button.is-primary.is-busy:disabled,.components-button.is-primary.is-busy[aria-disabled=true]{color:#fff;background-size:100px 100%;background-image:linear-gradient(45deg,#007cba 28%,#006395 0,#006395 72%,#007cba 0);border-color:#007cba}body.admin-color-sunrise .components-button.is-primary.is-busy,body.admin-color-sunrise .components-button.is-primary.is-busy:disabled,body.admin-color-sunrise .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#d1864a 28%,#a76b3b 0,#a76b3b 72%,#d1864a 0);border-color:#d1864a}body.admin-color-ocean .components-button.is-primary.is-busy,body.admin-color-ocean .components-button.is-primary.is-busy:disabled,body.admin-color-ocean .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#a3b9a2 28%,#829482 0,#829482 72%,#a3b9a2 0);border-color:#a3b9a2}body.admin-color-midnight .components-button.is-primary.is-busy,body.admin-color-midnight .components-button.is-primary.is-busy:disabled,body.admin-color-midnight .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#e14d43 28%,#b43e36 0,#b43e36 72%,#e14d43 0);border-color:#e14d43}body.admin-color-ectoplasm .components-button.is-primary.is-busy,body.admin-color-ectoplasm .components-button.is-primary.is-busy:disabled,body.admin-color-ectoplasm .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#a7b656 28%,#869245 0,#869245 72%,#a7b656 0);border-color:#a7b656}body.admin-color-coffee .components-button.is-primary.is-busy,body.admin-color-coffee .components-button.is-primary.is-busy:disabled,body.admin-color-coffee .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#c2a68c 28%,#9b8570 0,#9b8570 72%,#c2a68c 0);border-color:#c2a68c}body.admin-color-blue .components-button.is-primary.is-busy,body.admin-color-blue .components-button.is-primary.is-busy:disabled,body.admin-color-blue .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#d9ab59 28%,#ae8947 0,#ae8947 72%,#d9ab59 0);border-color:#d9ab59}body.admin-color-light .components-button.is-primary.is-busy,body.admin-color-light .components-button.is-primary.is-busy:disabled,body.admin-color-light .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#0085ba 28%,#006a95 0,#006a95 72%,#0085ba 0);border-color:#0085ba}.components-button.is-link{margin:0;padding:0;box-shadow:none;border:0;border-radius:0;background:none;outline:none;text-align:right;color:#0073aa;text-decoration:underline;transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion:reduce){.components-button.is-link{transition-duration:0s}}.components-button.is-link:active,.components-button.is-link:hover{color:#00a0d2}.components-button.is-link:focus{color:#124964;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.components-button.is-link.is-destructive{color:#d94f4f}.components-button:active{color:inherit}.components-button:disabled,.components-button[aria-disabled=true]{cursor:default;opacity:.3}.components-button:focus:not(:disabled){background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-button.is-busy,.components-button.is-default.is-busy,.components-button.is-default.is-busy:disabled,.components-button.is-default.is-busy[aria-disabled=true]{animation:components-button__busy-animation 2.5s linear infinite;background-size:100px 100%;background-image:repeating-linear-gradient(45deg,#e2e4e7,#fff 11px,#fff 0,#e2e4e7 20px);opacity:1}.components-button.is-large{height:30px;line-height:28px;padding:0 12px 2px}.components-button.is-small{height:24px;line-height:22px;padding:0 8px 1px;font-size:11px}.components-button.is-tertiary{color:#007cba;padding:0 10px;line-height:26px;height:28px}body.admin-color-sunrise .components-button.is-tertiary{color:#837425}body.admin-color-ocean .components-button.is-tertiary{color:#5e7d5e}body.admin-color-midnight .components-button.is-tertiary{color:#497b8d}body.admin-color-ectoplasm .components-button.is-tertiary{color:#523f6d}body.admin-color-coffee .components-button.is-tertiary{color:#59524c}body.admin-color-blue .components-button.is-tertiary{color:#417e9b}body.admin-color-light .components-button.is-tertiary{color:#007cba}.components-button.is-tertiary .dashicon{display:inline-block;flex:0 0 auto}.components-button.is-tertiary svg{fill:currentColor;outline:none}.components-button.is-tertiary:active:focus:enabled{box-shadow:none}.components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}body.admin-color-sunrise .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#62571c}body.admin-color-ocean .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#475e47}body.admin-color-midnight .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#375c6a}body.admin-color-ectoplasm .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#3e2f52}body.admin-color-coffee .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#433e39}body.admin-color-blue .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#315f74}body.admin-color-light .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}.components-button .screen-reader-text{height:auto}@keyframes components-button__busy-animation{0%{background-position:200px 0}}.components-checkbox-control__input[type=checkbox]{border:1px solid #b4b9be;background:#fff;color:#555;clear:none;cursor:pointer;display:inline-block;line-height:0;margin:0 0 0 4px;outline:0;padding:0!important;text-align:center;vertical-align:top;width:25px;height:25px;-webkit-appearance:none;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);transition:border-color .05s ease-in-out}@media (min-width:600px){.components-checkbox-control__input[type=checkbox]{height:16px;width:16px}}.components-checkbox-control__input[type=checkbox]:focus{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8);outline:2px solid transparent}.components-checkbox-control__input[type=checkbox]:checked{background:#11a0d2;border-color:#11a0d2}.components-checkbox-control__input[type=checkbox]:checked::-ms-check{opacity:0}.components-checkbox-control__input[type=checkbox]:focus:checked{border:none}.components-checkbox-control__input[type=checkbox]:checked:before{content:none}.components-checkbox-control__input-container{position:relative;display:inline-block;margin-left:12px;vertical-align:middle;width:25px;height:25px}@media (min-width:600px){.components-checkbox-control__input-container{width:16px;height:16px}}svg.dashicon.components-checkbox-control__checked{fill:#fff;cursor:pointer;position:absolute;right:-4px;top:-2px;width:31px;height:31px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}@media (min-width:600px){svg.dashicon.components-checkbox-control__checked{width:21px;height:21px;right:-3px}}.component-color-indicator{width:25px;height:16px;margin-right:.8rem;border:1px solid #dadada;display:inline-block}.component-color-indicator+.component-color-indicator{margin-right:.5rem}.components-color-palette{margin-left:-14px;width:calc(100% + 14px)}.components-color-palette .components-color-palette__custom-clear-wrapper{width:calc(100% - 14px);display:flex;justify-content:flex-end}.components-color-palette__item-wrapper{display:inline-block;height:28px;width:28px;margin-left:14px;margin-bottom:14px;vertical-align:top;transform:scale(1);transition:transform .1s ease}@media (prefers-reduced-motion:reduce){.components-color-palette__item-wrapper{transition-duration:0s}}.components-color-palette__item-wrapper:hover{transform:scale(1.2)}.components-color-palette__item-wrapper>div{height:100%;width:100%}.components-color-palette__item{display:inline-block;vertical-align:top;height:100%;width:100%;border:none;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 14px;transition:box-shadow .1s ease;cursor:pointer}@media (prefers-reduced-motion:reduce){.components-color-palette__item{transition-duration:0s}}.components-color-palette__item.is-active{box-shadow:inset 0 0 0 4px;position:relative;z-index:1}.components-color-palette__item.is-active+.dashicons-saved{position:absolute;right:4px;top:4px}.components-color-palette__item:after{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);border:1px solid transparent}.components-color-palette__item:focus{outline:none}.components-color-palette__item:focus:after{content:"";border:2px solid #606a73;width:32px;height:32px;position:absolute;top:-2px;right:-2px;border-radius:50%;box-shadow:inset 0 0 0 2px #fff}.components-color-palette__custom-color{margin-left:16px}.components-color-palette__custom-color .components-button{line-height:22px}.components-color-picker{width:100%;overflow:hidden}.components-color-picker__saturation{width:100%;padding-bottom:55%;position:relative}.components-color-picker__body{padding:16px 16px 12px}.components-color-picker__controls{display:flex}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{padding:0;position:absolute;cursor:pointer;box-shadow:none;border:none}.components-color-picker__swatch{margin-left:8px;width:32px;height:32px;border-radius:50%;position:relative;overflow:hidden;background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0}.is-alpha-disabled .components-color-picker__swatch{width:12px;height:12px;margin-top:0}.components-color-picker__active{border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);z-index:2}.components-color-picker__active,.components-color-picker__saturation-black,.components-color-picker__saturation-color,.components-color-picker__saturation-white{position:absolute;top:0;right:0;left:0;bottom:0}.components-color-picker__saturation-color{overflow:hidden}.components-color-picker__saturation-white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.components-color-picker__saturation-black{background:linear-gradient(0deg,#000,transparent)}.components-color-picker__saturation-pointer{width:8px;height:8px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;background-color:transparent;transform:translate(4px,-4px)}.components-color-picker__toggles{flex:1}.components-color-picker__alpha{background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0}.components-color-picker__alpha-gradient,.components-color-picker__hue-gradient{position:absolute;top:0;right:0;left:0;bottom:0}.components-color-picker__alpha,.components-color-picker__hue{height:12px;position:relative}.is-alpha-enabled .components-color-picker__hue{margin-bottom:8px}.components-color-picker__alpha-bar,.components-color-picker__hue-bar{position:relative;margin:0 3px;height:100%;padding:0 2px}.components-color-picker__hue-gradient{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer{left:0;width:14px;height:14px;border-radius:50%;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);background:#fff;transform:translate(7px,-1px)}.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{transition-duration:0s}}.components-color-picker__saturation-pointer:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #00a0d2,0 0 5px 0 #00a0d2,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4)}.components-color-picker__alpha-pointer:focus,.components-color-picker__hue-pointer:focus{border-color:#00a0d2;box-shadow:0 0 0 2px #00a0d2,0 0 3px 0 #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-color-picker__inputs-wrapper{margin:0 -4px;padding-top:16px;display:flex;align-items:flex-end}.components-color-picker__inputs-wrapper fieldset{flex:1}.components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type=number]{padding:2px}.components-color-picker__inputs-fields{display:flex;direction:ltr}.components-color-picker__inputs-fields .components-base-control__field{margin:0 4px}svg.dashicon{fill:currentColor;outline:none}.PresetDateRangePicker_panel{padding:0 22px 11px}.PresetDateRangePicker_button{position:relative;height:100%;text-align:center;background:0 0;border:2px solid #00a699;color:#00a699;padding:4px 12px;margin-right:8px;font:inherit;font-weight:700;line-height:normal;overflow:visible;box-sizing:border-box;cursor:pointer}.PresetDateRangePicker_button:active{outline:0}.PresetDateRangePicker_button__selected{color:#fff;background:#00a699}.SingleDatePickerInput{display:inline-block;background-color:#fff}.SingleDatePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.SingleDatePickerInput__rtl{direction:rtl}.SingleDatePickerInput__disabled{background-color:#f2f2f2}.SingleDatePickerInput__block{display:block}.SingleDatePickerInput__showClearDate{padding-right:30px}.SingleDatePickerInput_clearDate{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.SingleDatePickerInput_clearDate__default:focus,.SingleDatePickerInput_clearDate__default:hover{background:#dbdbdb;border-radius:50%}.SingleDatePickerInput_clearDate__small{padding:6px}.SingleDatePickerInput_clearDate__hide{visibility:hidden}.SingleDatePickerInput_clearDate_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.SingleDatePickerInput_clearDate_svg__small{height:9px}.SingleDatePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.SingleDatePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.SingleDatePicker{position:relative;display:inline-block}.SingleDatePicker__block{display:block}.SingleDatePicker_picker{z-index:1;background-color:#fff;position:absolute}.SingleDatePicker_picker__rtl{direction:rtl}.SingleDatePicker_picker__directionLeft{left:0}.SingleDatePicker_picker__directionRight{right:0}.SingleDatePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.SingleDatePicker_picker__fullScreenPortal{background-color:#fff}.SingleDatePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.SingleDatePicker_closeButton:focus,.SingleDatePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.SingleDatePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_buttonReset{background:0 0;border:0;border-radius:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;cursor:pointer;font-size:14px}.DayPickerKeyboardShortcuts_buttonReset:active{outline:0}.DayPickerKeyboardShortcuts_show{width:22px;position:absolute;z-index:2}.DayPickerKeyboardShortcuts_show__bottomRight{border-top:26px solid transparent;border-right:33px solid #00a699;bottom:0;right:0}.DayPickerKeyboardShortcuts_show__bottomRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topRight{border-bottom:26px solid transparent;border-right:33px solid #00a699;top:0;right:0}.DayPickerKeyboardShortcuts_show__topRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topLeft{border-bottom:26px solid transparent;border-left:33px solid #00a699;top:0;left:0}.DayPickerKeyboardShortcuts_show__topLeft:hover{border-left:33px solid #008489}.DayPickerKeyboardShortcuts_showSpan{color:#fff;position:absolute}.DayPickerKeyboardShortcuts_showSpan__bottomRight{bottom:0;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topRight{top:1px;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topLeft{top:1px;left:-28px}.DayPickerKeyboardShortcuts_panel{overflow:auto;background:#fff;border:1px solid #dbdbdb;border-radius:2px;position:absolute;top:0;bottom:0;right:0;left:0;z-index:2;padding:22px;margin:33px}.DayPickerKeyboardShortcuts_title{font-size:16px;font-weight:700;margin:0}.DayPickerKeyboardShortcuts_list{list-style:none;padding:0;font-size:14px}.DayPickerKeyboardShortcuts_close{position:absolute;right:22px;top:22px;z-index:2}.DayPickerKeyboardShortcuts_close:active{outline:0}.DayPickerKeyboardShortcuts_closeSvg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_closeSvg:focus,.DayPickerKeyboardShortcuts_closeSvg:hover{fill:#82888a}.CalendarDay{box-sizing:border-box;cursor:pointer;font-size:14px;text-align:center}.CalendarDay:active{outline:0}.CalendarDay__defaultCursor{cursor:default}.CalendarDay__default{border:1px solid #e4e7e7;color:#484848;background:#fff}.CalendarDay__default:hover{background:#e4e7e7;border:1px double #e4e7e7;color:inherit}.CalendarDay__hovered_offset{background:#f4f5f5;border:1px double #e4e7e7;color:inherit}.CalendarDay__outside{border:0;background:#fff;color:#484848}.CalendarDay__outside:hover{border:0}.CalendarDay__blocked_minimum_nights{background:#fff;border:1px solid #eceeee;color:#cacccd}.CalendarDay__blocked_minimum_nights:active,.CalendarDay__blocked_minimum_nights:hover{background:#fff;color:#cacccd}.CalendarDay__highlighted_calendar{background:#ffe8bc;color:#484848}.CalendarDay__highlighted_calendar:active,.CalendarDay__highlighted_calendar:hover{background:#ffce71;color:#484848}.CalendarDay__selected_span{background:#66e2da;border:1px solid #33dacd;color:#fff}.CalendarDay__selected_span:active,.CalendarDay__selected_span:hover{background:#33dacd;border:1px solid #33dacd;color:#fff}.CalendarDay__last_in_range{border-right:#00a699}.CalendarDay__selected,.CalendarDay__selected:active,.CalendarDay__selected:hover{background:#00a699;border:1px solid #00a699;color:#fff}.CalendarDay__hovered_span,.CalendarDay__hovered_span:hover{background:#b2f1ec;border:1px solid #80e8e0;color:#007a87}.CalendarDay__hovered_span:active{background:#80e8e0;border:1px solid #80e8e0;color:#007a87}.CalendarDay__blocked_calendar,.CalendarDay__blocked_calendar:active,.CalendarDay__blocked_calendar:hover{background:#cacccd;border:1px solid #cacccd;color:#82888a}.CalendarDay__blocked_out_of_range,.CalendarDay__blocked_out_of_range:active,.CalendarDay__blocked_out_of_range:hover{background:#fff;border:1px solid #e4e7e7;color:#cacccd}.CalendarMonth{background:#fff;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.CalendarMonth_table{border-collapse:collapse;border-spacing:0}.CalendarMonth_verticalSpacing{border-collapse:separate}.CalendarMonth_caption{color:#484848;font-size:18px;text-align:center;padding-top:22px;padding-bottom:37px;caption-side:top}.CalendarMonth_caption__verticalScrollable{padding-top:12px;padding-bottom:7px}.CalendarMonthGrid{background:#fff;text-align:left;z-index:0}.CalendarMonthGrid__animating{z-index:1}.CalendarMonthGrid__horizontal{position:absolute;left:9px}.CalendarMonthGrid__vertical{margin:0 auto}.CalendarMonthGrid__vertical_scrollable{margin:0 auto;overflow-y:scroll}.CalendarMonthGrid_month__horizontal{display:inline-block;vertical-align:top;min-height:100%}.CalendarMonthGrid_month__hideForAnimation{position:absolute;z-index:-1;opacity:0;pointer-events:none}.CalendarMonthGrid_month__hidden{visibility:hidden}.DayPickerNavigation{position:relative;z-index:2}.DayPickerNavigation__horizontal{height:0}.DayPickerNavigation__verticalDefault{position:absolute;width:100%;height:52px;bottom:0;left:0}.DayPickerNavigation__verticalScrollableDefault{position:relative}.DayPickerNavigation_button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:0;padding:0;margin:0}.DayPickerNavigation_button__default{border:1px solid #e4e7e7;background-color:#fff;color:#757575}.DayPickerNavigation_button__default:focus,.DayPickerNavigation_button__default:hover{border:1px solid #c4c4c4}.DayPickerNavigation_button__default:active{background:#f2f2f2}.DayPickerNavigation_button__horizontalDefault{position:absolute;top:18px;line-height:.78;border-radius:3px;padding:6px 9px}.DayPickerNavigation_leftButton__horizontalDefault{left:22px}.DayPickerNavigation_rightButton__horizontalDefault{right:22px}.DayPickerNavigation_button__verticalDefault{padding:5px;background:#fff;box-shadow:0 0 5px 2px rgba(0,0,0,.1);position:relative;display:inline-block;height:100%;width:50%}.DayPickerNavigation_nextButton__verticalDefault{border-left:0}.DayPickerNavigation_nextButton__verticalScrollableDefault{width:100%}.DayPickerNavigation_svg__horizontal{height:19px;width:19px;fill:#82888a;display:block}.DayPickerNavigation_svg__vertical{height:42px;width:42px;fill:#484848;display:block}.DayPicker{position:relative;text-align:left}.DayPicker,.DayPicker__horizontal{background:#fff}.DayPicker__verticalScrollable{height:100%}.DayPicker__hidden{visibility:hidden}.DayPicker__withBorder{box-shadow:0 2px 6px rgba(0,0,0,.05),0 0 0 1px rgba(0,0,0,.07);border-radius:3px}.DayPicker_portal__horizontal{box-shadow:none;position:absolute;left:50%;top:50%}.DayPicker_portal__vertical{position:static}.DayPicker_focusRegion{outline:0}.DayPicker_calendarInfo__horizontal,.DayPicker_wrapper__horizontal{display:inline-block;vertical-align:top}.DayPicker_weekHeaders{position:relative}.DayPicker_weekHeaders__horizontal{margin-left:9px}.DayPicker_weekHeader{color:#757575;position:absolute;top:62px;z-index:2;text-align:left}.DayPicker_weekHeader__vertical{left:50%}.DayPicker_weekHeader__verticalScrollable{top:0;display:table-row;border-bottom:1px solid #dbdbdb;background:#fff;margin-left:0;left:0;width:100%;text-align:center}.DayPicker_weekHeader_ul{list-style:none;margin:1px 0;padding-left:0;padding-right:0;font-size:14px}.DayPicker_weekHeader_li{display:inline-block;text-align:center}.DayPicker_transitionContainer{position:relative;overflow:hidden;border-radius:3px}.DayPicker_transitionContainer__horizontal{transition:height .2s ease-in-out}.DayPicker_transitionContainer__vertical{width:100%}.DayPicker_transitionContainer__verticalScrollable{padding-top:20px;height:100%;position:absolute;top:0;bottom:0;right:0;left:0;overflow-y:scroll}.DateInput{margin:0;padding:0;background:#fff;position:relative;display:inline-block;width:130px;vertical-align:middle}.DateInput__small{width:97px}.DateInput__block{width:100%}.DateInput__disabled{background:#f2f2f2;color:#dbdbdb}.DateInput_input{font-weight:200;font-size:19px;line-height:24px;color:#484848;background-color:#fff;width:100%;padding:11px 11px 9px;border:0;border-bottom:2px solid transparent;border-radius:0}.DateInput_input__small{font-size:15px;line-height:18px;letter-spacing:.2px;padding:7px 7px 5px}.DateInput_input__regular{font-weight:auto}.DateInput_input__readOnly{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.DateInput_input__focused{outline:0;background:#fff;border:0;border-bottom:2px solid #008489}.DateInput_input__disabled{background:#f2f2f2;font-style:italic}.DateInput_screenReaderMessage{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.DateInput_fang{position:absolute;width:20px;height:10px;left:22px;z-index:2}.DateInput_fangShape{fill:#fff}.DateInput_fangStroke{stroke:#dbdbdb;fill:transparent}.DateRangePickerInput{background-color:#fff;display:inline-block}.DateRangePickerInput__disabled{background:#f2f2f2}.DateRangePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.DateRangePickerInput__rtl{direction:rtl}.DateRangePickerInput__block{display:block}.DateRangePickerInput__showClearDates{padding-right:30px}.DateRangePickerInput_arrow{display:inline-block;vertical-align:middle;color:#484848}.DateRangePickerInput_arrow_svg{vertical-align:middle;fill:#484848;height:24px;width:24px}.DateRangePickerInput_clearDates{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.DateRangePickerInput_clearDates__small{padding:6px}.DateRangePickerInput_clearDates_default:focus,.DateRangePickerInput_clearDates_default:hover{background:#dbdbdb;border-radius:50%}.DateRangePickerInput_clearDates__hide{visibility:hidden}.DateRangePickerInput_clearDates_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.DateRangePickerInput_clearDates_svg__small{height:9px}.DateRangePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.DateRangePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.DateRangePicker{position:relative;display:inline-block}.DateRangePicker__block{display:block}.DateRangePicker_picker{z-index:1;background-color:#fff;position:absolute}.DateRangePicker_picker__rtl{direction:rtl}.DateRangePicker_picker__directionLeft{left:0}.DateRangePicker_picker__directionRight{right:0}.DateRangePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.DateRangePicker_picker__fullScreenPortal{background-color:#fff}.DateRangePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.DateRangePicker_closeButton:focus,.DateRangePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.DateRangePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.components-datetime .components-datetime__calendar-help{padding:8px}.components-datetime .components-datetime__calendar-help h4{margin:0}.components-datetime .components-datetime__date-help-button{display:block;margin-right:auto;margin-left:8px;margin-top:.5em}.components-datetime fieldset{border:0;padding:0;margin:0}.components-datetime input,.components-datetime select{box-sizing:border-box;height:28px;vertical-align:middle;padding:0;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #7e8993}@media (prefers-reduced-motion:reduce){.components-datetime input,.components-datetime select{transition-duration:0s}}.components-datetime__date{min-height:236px;border-top:1px solid #e2e4e7;margin-right:-8px;margin-left:-8px}.components-datetime__date .CalendarMonth_caption{font-size:13px}.components-datetime__date .CalendarDay{font-size:13px;border:1px solid transparent;border-radius:50%;text-align:center}.components-datetime__date .CalendarDay__selected{background:#0085ba}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected{background:#d1864a}body.admin-color-ocean .components-datetime__date .CalendarDay__selected{background:#a3b9a2}body.admin-color-midnight .components-datetime__date .CalendarDay__selected{background:#e14d43}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected{background:#a7b656}body.admin-color-coffee .components-datetime__date .CalendarDay__selected{background:#c2a68c}body.admin-color-blue .components-datetime__date .CalendarDay__selected{background:#82b4cb}body.admin-color-light .components-datetime__date .CalendarDay__selected{background:#0085ba}.components-datetime__date .CalendarDay__selected:hover{background:#00719e}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected:hover{background:#b2723f}body.admin-color-ocean .components-datetime__date .CalendarDay__selected:hover{background:#8b9d8a}body.admin-color-midnight .components-datetime__date .CalendarDay__selected:hover{background:#bf4139}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected:hover{background:#8e9b49}body.admin-color-coffee .components-datetime__date .CalendarDay__selected:hover{background:#a58d77}body.admin-color-blue .components-datetime__date .CalendarDay__selected:hover{background:#6f99ad}body.admin-color-light .components-datetime__date .CalendarDay__selected:hover{background:#00719e}.components-datetime__date .DayPickerNavigation_button__horizontalDefault{padding:2px 8px;top:20px}.components-datetime__date .DayPickerNavigation_button__horizontalDefault:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-datetime__date .DayPicker_weekHeader{top:50px}.components-datetime__date.is-description-visible .components-datetime__date-help-button,.components-datetime__date.is-description-visible .DayPicker{visibility:hidden}.components-datetime__time{margin-bottom:1em}.components-datetime__time fieldset{margin-top:.5em;position:relative}.components-datetime__time .components-datetime__time-field-am-pm fieldset{margin-top:0}.components-datetime__time .components-datetime__time-wrapper{display:flex}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-separator{display:inline-block;padding:0 0 0 3px;color:#555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button{margin-right:8px;margin-left:-1px;border-radius:0 3px 3px 0}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button{margin-right:-1px;border-radius:3px 0 0 3px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button:focus,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled{background:#edeff0;border-color:#8f98a1;box-shadow:inset 0 2px 5px -3px #555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled:focus,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled:focus{box-shadow:inset 0 2px 5px -3px #555d66,0 0 0 1px #fff,0 0 0 3px #007cba}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field-time{direction:ltr}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field.am-pm button{font-size:11px;font-weight:600}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select{margin-left:4px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]{padding:2px;margin-left:4px;text-align:center;-moz-appearance:textfield}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.components-datetime__time.is-12-hour .components-datetime__time-field-day input{margin:0 0 0 -4px!important;border-radius:0 4px 4px 0!important}.components-datetime__time.is-12-hour .components-datetime__time-field-year input{border-radius:4px 0 0 4px!important}.components-datetime__time-legend{font-weight:600;margin-top:.5em}.components-datetime__time-legend.invisible{position:absolute;top:-999em;right:-999em}.components-datetime__time-field-day-input,.components-datetime__time-field-hours-input,.components-datetime__time-field-minutes-input{width:35px}.components-datetime__time-field-year-input{width:55px}.components-datetime__time-field-month-select{max-width:145px}.components-popover .components-datetime__date{padding-right:4px}.components-popover.edit-post-post-schedule__dialog.is-bottom.is-left{z-index:100000}.components-disabled{position:relative;pointer-events:none}.components-disabled:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0}.components-disabled *{pointer-events:none}body.is-dragging-components-draggable{cursor:move;cursor:grabbing!important}.components-draggable__invisible-drag-image{position:fixed;right:-1000px;height:50px;width:50px}.components-draggable__clone{position:fixed;padding:20px;background:transparent;pointer-events:none;z-index:1000000000;opacity:.8}.components-drop-zone{position:absolute;top:0;left:0;bottom:0;right:0;z-index:40;visibility:hidden;opacity:0;transition:opacity .3s,background-color .3s,visibility 0s .3s;border:2px solid #0071a1;border-radius:2px}@media (prefers-reduced-motion:reduce){.components-drop-zone{transition-duration:0s}}.components-drop-zone.is-active{opacity:1;visibility:visible;transition:opacity .3s,background-color .3s}@media (prefers-reduced-motion:reduce){.components-drop-zone.is-active{transition-duration:0s}}.components-drop-zone.is-dragging-over-element{background-color:rgba(0,113,161,.8)}.components-drop-zone__content{position:absolute;top:50%;right:0;left:0;z-index:50;transform:translateY(-50%);width:100%;text-align:center;color:#fff;transition:transform .2s ease-in-out}@media (prefers-reduced-motion:reduce){.components-drop-zone__content{transition-duration:0s}}.components-drop-zone.is-dragging-over-element .components-drop-zone__content{transform:translateY(-50%) scale(1.05)}.components-drop-zone__content-icon,.components-drop-zone__content-text{display:block}.components-drop-zone__content-icon{margin:0 auto;line-height:0}.components-drop-zone__content-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.components-drop-zone__provider{height:100%}.components-dropdown-menu{padding:3px;display:flex}.components-dropdown-menu .components-dropdown-menu__toggle{width:auto;margin:0;padding:4px;border:1px solid transparent;display:flex;flex-direction:row}.components-dropdown-menu .components-dropdown-menu__toggle.is-active,.components-dropdown-menu .components-dropdown-menu__toggle.is-active:hover{box-shadow:none;background-color:#555d66;color:#fff}.components-dropdown-menu .components-dropdown-menu__toggle:focus:before{top:-3px;left:-3px;bottom:-3px;right:-3px}.components-dropdown-menu .components-dropdown-menu__toggle:focus,.components-dropdown-menu .components-dropdown-menu__toggle:hover,.components-dropdown-menu .components-dropdown-menu__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.components-dropdown-menu .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.components-dropdown-menu__popover .components-popover__content{width:200px}.components-dropdown-menu__menu{width:100%;padding:7px 0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.components-dropdown-menu__menu .components-dropdown-menu__menu-item,.components-dropdown-menu__menu .components-menu-item{width:100%;padding:6px;outline:none;cursor:pointer;margin-bottom:4px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator,.components-dropdown-menu__menu .components-menu-item.has-separator{margin-top:6px;position:relative;overflow:visible}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator:before,.components-dropdown-menu__menu .components-menu-item.has-separator:before{display:block;content:"";box-sizing:content-box;background-color:#e2e4e7;position:absolute;top:-3px;right:0;left:0;height:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-default),.components-dropdown-menu__menu .components-menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-default){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:hover,.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.components-dropdown-menu__menu .components-menu-item:hover,.components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-dropdown-menu__menu .components-dropdown-menu__menu-item>svg,.components-dropdown-menu__menu .components-menu-item>svg{border-radius:4px;padding:2px;width:24px;height:24px;margin:-1px 0 -1px 8px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default).is-active>svg,.components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default).is-active>svg{outline:none;color:#fff;box-shadow:none;background:#555d66}.components-dropdown-menu__menu .components-menu-group:not(:last-child){border-bottom:1px solid #e2e4e7}.components-dropdown-menu__menu .components-menu-item__button,.components-dropdown-menu__menu .components-menu-item__button.components-icon-button{padding-right:2rem}.components-dropdown-menu__menu .components-menu-item__button.components-icon-button.has-icon,.components-dropdown-menu__menu .components-menu-item__button.has-icon{padding-right:.5rem}.components-dropdown-menu__menu .components-menu-item__button.components-icon-button .dashicon,.components-dropdown-menu__menu .components-menu-item__button .dashicon{margin-left:4px}.components-external-link__icon{width:1.4em;height:1.4em;margin:-.2em .1em 0;vertical-align:middle}.components-focal-point-picker-wrapper{background-color:transparent;border:1px solid #e2e4e7;height:200px;width:100%;padding:14px}.components-focal-point-picker{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;position:relative;width:100%}.components-focal-point-picker img{height:auto;max-height:100%;max-width:100%;width:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.components-focal-point-picker__icon_container{background-color:transparent;cursor:grab;height:30px;opacity:.8;position:absolute;will-change:transform;width:30px;z-index:10000}.components-focal-point-picker__icon_container.is-dragging{cursor:grabbing}.components-focal-point-picker__icon{display:block;height:100%;right:-15px;position:absolute;top:-15px;width:100%}.components-focal-point-picker__icon .components-focal-point-picker__icon-outline{fill:#fff}.components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}body.admin-color-sunrise .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#d1864a}body.admin-color-ocean .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a3b9a2}body.admin-color-midnight .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#e14d43}body.admin-color-ectoplasm .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a7b656}body.admin-color-coffee .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#c2a68c}body.admin-color-blue .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#82b4cb}body.admin-color-light .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}.components-focal-point-picker_position-display-container{margin:1em 0;display:flex}.components-focal-point-picker_position-display-container .components-base-control__field{margin:0 0 0 1em}.components-focal-point-picker_position-display-container input[type=number].components-text-control__input{max-width:4em;padding:6px 4px}.components-focal-point-picker_position-display-container span{margin:0 .2em 0 0}.components-font-size-picker__controls{max-width:248px;display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.components-font-size-picker__controls .components-range-control__number{height:30px;margin-right:0}.components-font-size-picker__controls .components-range-control__number[value=""]+.components-button{cursor:default;opacity:.3;pointer-events:none}.components-font-size-picker__select .components-base-control__field,.components-font-size-picker__select.components-font-size-picker__select.components-font-size-picker__select.components-font-size-picker__select{margin-bottom:0}.components-font-size-picker__custom-input .components-range-control__slider+.dashicon{width:30px;height:30px}.components-form-file-upload .components-button.is-large{padding-right:6px}.components-form-toggle{position:relative;display:inline-block}.components-form-toggle .components-form-toggle__off,.components-form-toggle .components-form-toggle__on{position:absolute;top:6px;box-sizing:border-box}.components-form-toggle .components-form-toggle__off{color:#6c7781;fill:currentColor;left:6px}.components-form-toggle .components-form-toggle__on{right:8px}.components-form-toggle .components-form-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:2px solid #6c7781;width:36px;height:18px;border-radius:9px;transition:background .2s ease}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__track{transition-duration:0s}}.components-form-toggle .components-form-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:4px;right:4px;width:10px;height:10px;border-radius:50%;transition:transform .1s ease;background-color:#6c7781;border:5px solid #6c7781}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__thumb{transition-duration:0s}}.components-form-toggle:hover .components-form-toggle__track{border:2px solid #555d66}.components-form-toggle:hover .components-form-toggle__thumb{background-color:#555d66;border:5px solid #6c7781}.components-form-toggle:hover .components-form-toggle__off{color:#555d66}.components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:9px solid transparent}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__track{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__track{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:2px solid #11a0d2}.components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3px #6c7781;outline:2px solid transparent;outline-offset:2px}.components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(-18px)}.components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}body.admin-color-sunrise .components-form-toggle.is-checked:before{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked:before{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked:before{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked:before{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked:before{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked:before{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}.components-disabled .components-form-toggle{opacity:.3}.components-form-toggle input.components-form-toggle__input[type=checkbox]{position:absolute;top:0;right:0;width:100%;height:100%;opacity:0;margin:0;padding:0;z-index:1;border:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:checked{background:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:before{content:""}.components-form-toggle .components-form-toggle__on{outline:1px solid transparent;outline-offset:-1px;border:1px solid #000;filter:invert(100%) contrast(500%)}@supports (-ms-high-contrast-adjust:auto){.components-form-toggle .components-form-toggle__on{filter:none;border:1px solid #fff}}.components-form-token-field__input-container{display:flex;flex-wrap:wrap;align-items:flex-start;width:100%;margin:0 0 8px;padding:4px;background-color:#fff;color:#32373c;cursor:text;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #7e8993}@media (prefers-reduced-motion:reduce){.components-form-token-field__input-container{transition-duration:0s}}.components-form-token-field__input-container.is-disabled{background:#e2e4e7;border-color:#ccd0d4}.components-form-token-field__input-container.is-active{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-form-token-field__input-container input[type=text].components-form-token-field__input{display:inline-block;width:100%;max-width:100%;margin:2px 8px 2px 0;padding:0;min-height:24px;background:inherit;border:0;color:#23282d;box-shadow:none}.components-form-token-field.is-active .components-form-token-field__input-container input[type=text].components-form-token-field__input,.components-form-token-field__input-container input[type=text].components-form-token-field__input:focus{outline:none;box-shadow:none}.components-form-token-field__input-container .components-form-token-field__token+input[type=text].components-form-token-field__input{width:auto}.components-form-token-field__label{display:inline-block;margin-bottom:4px}.components-form-token-field__help{font-style:italic}.components-form-token-field__token{font-size:13px;display:flex;margin:2px 0 2px 4px;color:#32373c;overflow:hidden}.components-form-token-field__token.is-success .components-form-token-field__remove-token,.components-form-token-field__token.is-success .components-form-token-field__token-text{background:#4ab866}.components-form-token-field__token.is-error .components-form-token-field__remove-token,.components-form-token-field__token.is-error .components-form-token-field__token-text{background:#d94f4f}.components-form-token-field__token.is-validating .components-form-token-field__remove-token,.components-form-token-field__token.is-validating .components-form-token-field__token-text{color:#555d66}.components-form-token-field__token.is-borderless{position:relative;padding:0 0 0 16px}.components-form-token-field__token.is-borderless .components-form-token-field__token-text{background:transparent;color:#11a0d2}body.admin-color-sunrise .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c8b03c}body.admin-color-ocean .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#a89d8a}body.admin-color-midnight .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#77a6b9}body.admin-color-ectoplasm .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c77430}body.admin-color-coffee .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#9fa47b}body.admin-color-blue .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#d9ab59}body.admin-color-light .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c75726}.components-form-token-field__token.is-borderless .components-form-token-field__remove-token{background:transparent;color:#555d66;position:absolute;top:1px;left:0}.components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text{color:#4ab866}.components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text{color:#d94f4f;border-radius:0 4px 4px 0;padding:0 6px 0 4px}.components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text{color:#23282d}.components-form-token-field__token.is-disabled .components-form-token-field__remove-token{cursor:default}.components-form-token-field__remove-token.components-icon-button,.components-form-token-field__token-text{display:inline-block;line-height:24px;background:#e2e4e7;transition:all .2s cubic-bezier(.4,1,.4,1)}@media (prefers-reduced-motion:reduce){.components-form-token-field__remove-token.components-icon-button,.components-form-token-field__token-text{transition-duration:0s;animation-duration:1ms}}.components-form-token-field__token-text{border-radius:0 12px 12px 0;padding:0 8px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.components-form-token-field__remove-token.components-icon-button{cursor:pointer;border-radius:12px 0 0 12px;padding:0 2px;color:#555d66;line-height:10px;overflow:initial}.components-form-token-field__remove-token.components-icon-button:hover{color:#32373c}.components-form-token-field__suggestions-list{flex:1 0 100%;min-width:100%;max-height:9em;overflow-y:scroll;transition:all .15s ease-in-out;list-style:none;border-top:1px solid #6c7781;margin:4px -4px -4px;padding-top:3px}@media (prefers-reduced-motion:reduce){.components-form-token-field__suggestions-list{transition-duration:0s}}.components-form-token-field__suggestion{color:#555d66;display:block;font-size:13px;padding:4px 8px;cursor:pointer}.components-form-token-field__suggestion.is-selected{background:#0071a1;color:#fff}.components-form-token-field__suggestion-match{text-decoration:underline}.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:"";position:absolute;top:0;bottom:0;right:0;left:0;pointer-events:none;outline:4px solid transparent;box-shadow:inset 0 0 0 4px #33b3db}@supports (outline-offset:1px){.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:none}.components-navigate-regions.is-focusing-regions [role=region]:focus{outline-style:solid;outline-color:#33b3db;outline-width:4px;outline-offset:-4px}}.components-icon-button{display:flex;align-items:center;padding:8px;margin:0;border:none;background:none;color:#555d66;position:relative;overflow:hidden;border-radius:4px}.components-icon-button .dashicon{display:inline-block;flex:0 0 auto}.components-icon-button svg{fill:currentColor;outline:none}.components-icon-button.has-text svg{margin-left:4px}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):active{outline:none;background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #ccd0d4,inset 0 0 0 2px #fff}.components-icon-button:disabled:focus,.components-icon-button[aria-disabled=true]:focus{box-shadow:none}.components-menu-group{width:100%;padding:7px 0}.components-menu-group__label{margin-bottom:8px;color:#6c7781;padding:0 7px}.components-menu-item__button,.components-menu-item__button.components-icon-button{width:100%;padding:8px 15px;text-align:right;color:#40464d;border:none;box-shadow:none}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button.components-icon-button .dashicon,.components-menu-item__button.components-icon-button>span>svg,.components-menu-item__button .components-menu-items__item-icon,.components-menu-item__button .dashicon,.components-menu-item__button>span>svg{margin-left:5px}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button .components-menu-items__item-icon{display:inline-block;flex:0 0 auto}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut,.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut{color:#40464d}.components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-menu-item__info-wrapper{display:flex;flex-direction:column}.components-menu-item__info{margin-top:4px;font-size:12px;color:#6c7781}.components-menu-item__shortcut{-ms-grid-row-align:center;align-self:center;color:#6c7781;margin-left:0;margin-right:auto;padding-right:8px;display:none}@media (min-width:480px){.components-menu-item__shortcut{display:inline}}.components-modal__screen-overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,.7);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-modal__screen-overlay{animation-duration:1ms}}.components-modal__frame{position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;margin:0;border:1px solid #e2e4e7;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.2);overflow:auto}@media (min-width:600px){.components-modal__frame{top:50%;left:auto;bottom:auto;right:50%;min-width:360px;max-width:calc(100% - 32px);max-height:calc(100% - 112px);transform:translate(50%,-50%);animation:components-modal__appear-animation .1s ease-out;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.components-modal__frame{animation-duration:1ms}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #e2e4e7;padding:0 24px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:56px;position:-webkit-sticky;position:sticky;top:0;z-index:10;margin:0 -24px 24px}@supports (-ms-ime-align:auto){.components-modal__header{position:fixed;width:100%}}.components-modal__header .components-modal__header-heading{font-size:1rem;font-weight:600}.components-modal__header h1{line-height:1;margin:0}.components-modal__header .components-icon-button{position:relative;right:8px}.components-modal__header-heading-container{align-items:center;flex-grow:1;display:flex;flex-direction:row;justify-content:left}.components-modal__header-icon-container{display:inline-block}.components-modal__header-icon-container svg{max-width:36px;max-height:36px;padding:8px}.components-modal__content{box-sizing:border-box;height:100%;padding:0 24px 24px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:56px}}.components-notice{display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background-color:#e5f5fa;border-right:4px solid #00a0d2;margin:5px 15px 2px;padding:8px 12px;align-items:center}.components-notice.is-dismissible{padding-left:36px;position:relative}.components-notice.is-success{border-right-color:#4ab866;background-color:#eff9f1}.components-notice.is-warning{border-right-color:#f0b849;background-color:#fef8ee}.components-notice.is-error{border-right-color:#d94f4f;background-color:#f9e2e2}.components-notice__content{flex-grow:1;margin:4px 0 4px 25px}.components-notice__action.components-button,.components-notice__action.components-button.is-link{margin-right:4px}.components-notice__action.components-button.is-default{vertical-align:initial}.components-notice__dismiss{color:#6c7781;align-self:flex-start;flex-shrink:0}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#191e23;background-color:transparent}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.components-notice-list{max-width:100vw;box-sizing:border-box;z-index:29}.components-notice-list .components-notice__content{margin-top:12px;margin-bottom:12px;line-height:1.6}.components-notice-list .components-notice__action.components-button{margin-top:-2px;margin-bottom:-2px}.components-panel{background:#fff;border:1px solid #e2e4e7}.components-panel>.components-panel__body:first-child,.components-panel>.components-panel__header:first-child{margin-top:-1px}.components-panel>.components-panel__body:last-child,.components-panel>.components-panel__header:last-child{border-bottom-width:0}.components-panel+.components-panel{margin-top:-1px}.components-panel__body{border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__body h3{margin:0 0 .5em}.components-panel__body.is-opened{padding:16px}.components-panel__body>.components-icon-button{color:#191e23}.components-panel__header{display:flex;justify-content:space-between;align-items:center;padding:0 16px;height:50px;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__header h2{margin:0;font-size:inherit;color:inherit}.components-panel__body+.components-panel__body,.components-panel__body+.components-panel__header,.components-panel__header+.components-panel__body,.components-panel__header+.components-panel__header{margin-top:-1px}.components-panel__body>.components-panel__body-title{display:block;padding:0;font-size:inherit;margin-top:0;margin-bottom:0;transition:background .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body>.components-panel__body-title{transition-duration:0s}}.components-panel__body.is-opened>.components-panel__body-title{margin:-16px -16px 5px}.components-panel__body>.components-panel__body-title:hover,.edit-post-last-revision__panel>.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background:#f3f4f5}.components-panel__body-toggle.components-button{position:relative;padding:15px;outline:none;width:100%;font-weight:600;text-align:right;color:#191e23;border:none;box-shadow:none;transition:background .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button{transition-duration:0s}}.components-panel__body-toggle.components-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-panel__body-toggle.components-button .components-panel__arrow{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#191e23;fill:currentColor;transition:color .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button .components-panel__arrow{transition-duration:0s}}body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right{transform:scaleX(-1);-ms-filter:fliph;filter:FlipH;margin-top:-10px}.components-panel__icon{color:#555d66;margin:-2px 6px -2px 0}.components-panel__body-toggle-icon{margin-left:-5px}.components-panel__color-title{float:right;height:19px}.components-panel__row{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.components-panel__row select{min-width:0}.components-panel__row label{margin-left:10px;flex-shrink:0;max-width:75%}.components-panel__row:empty,.components-panel__row:first-of-type{margin-top:0}.components-panel .circle-picker{padding-bottom:20px}.components-placeholder{margin-bottom:28px;padding:1em;min-height:200px;width:100%;text-align:center;background:rgba(139,139,150,.1)}@supports ((position:-webkit-sticky) or (position:sticky)){.components-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center}}.is-dark-theme .components-placeholder{background:hsla(0,0%,100%,.15)}.components-placeholder__fieldset,.components-placeholder__instructions,.components-placeholder__label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__label{display:flex;align-items:center;justify-content:center;font-weight:600;margin-bottom:1em}.components-placeholder__label .block-editor-block-icon,.components-placeholder__label .dashicon{fill:currentColor;margin-left:1ch}.components-placeholder__fieldset,.components-placeholder__fieldset form{display:flex;flex-direction:row;justify-content:center;width:100%;max-width:400px;flex-wrap:wrap;z-index:1}.components-placeholder__fieldset form p,.components-placeholder__fieldset p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__fieldset.is-column-layout,.components-placeholder__fieldset.is-column-layout form{flex-direction:column}.components-placeholder__input{margin-top:0;margin-left:8px;flex:1 1 auto}.components-placeholder__instructions{margin-bottom:1em}.components-placeholder__preview img{margin:3%;width:50%}.components-popover{position:fixed;z-index:1000000;left:50%}.components-popover.is-mobile{top:0;left:0;right:0;bottom:0}.components-popover:not(.is-without-arrow):not(.is-mobile){margin-left:2px}.components-popover:not(.is-without-arrow):not(.is-mobile):before{border:8px solid #e2e4e7}.components-popover:not(.is-without-arrow):not(.is-mobile):after{border:8px solid #fff}.components-popover:not(.is-without-arrow):not(.is-mobile):after,.components-popover:not(.is-without-arrow):not(.is-mobile):before{content:"";position:absolute;height:0;width:0;line-height:0}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top{margin-top:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:before{bottom:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:after{bottom:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:before{border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-style:solid;margin-left:-10px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom{margin-top:8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:before{top:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:after{top:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:before{border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;margin-left:-10px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left{margin-left:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:before{right:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:after{right:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:before{border-bottom-color:transparent;border-left-style:solid;border-right:none;border-top-color:transparent}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right{margin-left:8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:before{left:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:after{left:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:before{border-bottom-color:transparent;border-left:none;border-right-style:solid;border-top-color:transparent}.components-popover:not(.is-mobile).is-top{bottom:100%}.components-popover:not(.is-mobile).is-bottom{top:100%}.components-popover:not(.is-mobile).is-middle{align-items:center;display:flex}.components-popover__content{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;height:100%}.components-popover.is-mobile .components-popover__content{height:calc(100% - 50px);border-top:0}.components-popover:not(.is-mobile) .components-popover__content{position:absolute;height:auto;overflow-y:auto;min-width:260px}.components-popover:not(.is-mobile).is-top .components-popover__content{bottom:100%}.components-popover:not(.is-mobile).is-center .components-popover__content{left:50%;transform:translateX(-50%)}.components-popover:not(.is-mobile).is-right .components-popover__content{position:absolute;left:100%}.components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content{margin-left:-24px}.components-popover:not(.is-mobile).is-left .components-popover__content{position:absolute;right:100%}.components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content{margin-right:-24px}.components-popover__content>div{height:100%}.components-popover__header{align-items:center;background:#fff;border:1px solid #e2e4e7;display:flex;height:50px;justify-content:space-between;padding:0 8px 0 16px}.components-popover__header-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.components-popover__close.components-icon-button{z-index:5}.components-radio-control{display:flex;flex-direction:column}.components-radio-control .components-base-control__help{margin-top:0}.components-radio-control__option:not(:last-child){margin-bottom:4px}.components-radio-control__input[type=radio]{margin-top:0;margin-left:6px}.components-range-control .components-base-control__field{display:flex;justify-content:center;flex-wrap:wrap;align-items:center}.components-range-control .dashicon{flex-shrink:0;margin-left:10px}.components-range-control .components-base-control__label{width:100%}.components-range-control .components-range-control__slider{margin-right:0;flex:1}.components-range-control__reset{margin-right:8px}.components-range-control__slider{width:100%;margin-right:8px;padding:0;-webkit-appearance:none;background:transparent}.components-range-control__slider::-webkit-slider-thumb{-webkit-appearance:none;height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box;margin-top:-7px}.components-range-control__slider::-moz-range-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box}.components-range-control__slider::-ms-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;background-clip:padding-box;box-sizing:border-box;margin-top:0;height:14px;width:14px;border:2px solid transparent}.components-range-control__slider:focus{outline:none}.components-range-control__slider:focus::-webkit-slider-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider:focus::-moz-range-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider:focus::-ms-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider::-webkit-slider-runnable-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px;margin-top:-4px}.components-range-control__slider::-moz-range-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__slider::-ms-track{margin-top:-4px;background:transparent;border-color:transparent;color:transparent;height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__number{display:inline-block;margin-right:8px;font-weight:500;width:54px}.components-resizable-box__handle{display:none;width:23px;height:23px}.components-resizable-box__container.is-selected .components-resizable-box__handle{display:block}.components-resizable-box__handle:after{display:block;content:"";width:15px;height:15px;border:2px solid #fff;border-radius:50%;background:#0085ba;cursor:inherit;position:absolute;top:calc(50% - 8px);left:calc(50% - 8px)}body.admin-color-sunrise .components-resizable-box__handle:after{background:#d1864a}body.admin-color-ocean .components-resizable-box__handle:after{background:#a3b9a2}body.admin-color-midnight .components-resizable-box__handle:after{background:#e14d43}body.admin-color-ectoplasm .components-resizable-box__handle:after{background:#a7b656}body.admin-color-coffee .components-resizable-box__handle:after{background:#c2a68c}body.admin-color-blue .components-resizable-box__handle:after{background:#82b4cb}body.admin-color-light .components-resizable-box__handle:after{background:#0085ba}.components-resizable-box__side-handle:before{display:block;content:"";width:7px;height:7px;border:2px solid #fff;background:#0085ba;cursor:inherit;position:absolute;top:calc(50% - 4px);left:calc(50% - 4px);transition:transform .1s ease-in;opacity:0}body.admin-color-sunrise .components-resizable-box__side-handle:before{background:#d1864a}body.admin-color-ocean .components-resizable-box__side-handle:before{background:#a3b9a2}body.admin-color-midnight .components-resizable-box__side-handle:before{background:#e14d43}body.admin-color-ectoplasm .components-resizable-box__side-handle:before{background:#a7b656}body.admin-color-coffee .components-resizable-box__side-handle:before{background:#c2a68c}body.admin-color-blue .components-resizable-box__side-handle:before{background:#82b4cb}body.admin-color-light .components-resizable-box__side-handle:before{background:#0085ba}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle:before{transition-duration:0s}}.is-dark-theme .components-resizable-box__handle:after,.is-dark-theme .components-resizable-box__side-handle:before{border-color:#d7dade}.components-resizable-box__side-handle{z-index:1}.components-resizable-box__corner-handle{z-index:2}.components-resizable-box__side-handle.components-resizable-box__handle-bottom,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:before,.components-resizable-box__side-handle.components-resizable-box__handle-top,.components-resizable-box__side-handle.components-resizable-box__handle-top:before{width:100%;right:0;border-right:0;border-left:0}.components-resizable-box__side-handle.components-resizable-box__handle-left,.components-resizable-box__side-handle.components-resizable-box__handle-left:before,.components-resizable-box__side-handle.components-resizable-box__handle-right,.components-resizable-box__side-handle.components-resizable-box__handle-right:before{height:100%;top:0;border-top:0;border-bottom:0}.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:hover:before{animation:components-resizable-box__top-bottom-animation .1s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:hover:before{animation-duration:1ms}}.components-resizable-box__side-handle.components-resizable-box__handle-left:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-left:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:hover:before{animation:components-resizable-box__left-right-animation .1s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle.components-resizable-box__handle-left:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-left:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:hover:before{animation-duration:1ms}}@keyframes components-resizable-box__top-bottom-animation{0%{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}@keyframes components-resizable-box__left-right-animation{0%{transform:scaleY(0);opacity:0}to{transform:scaleY(1);opacity:1}}.components-resizable-box__handle-right{right:-11.5px}.components-resizable-box__handle-left{left:-11.5px}.components-resizable-box__handle-top{top:-11.5px}.components-resizable-box__handle-bottom{bottom:-11.5px}.components-responsive-wrapper{position:relative;max-width:100%}.components-responsive-wrapper,.components-responsive-wrapper>span{display:block}.components-responsive-wrapper__content{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.components-sandbox{overflow:hidden}iframe.components-sandbox{width:100%}body.lockscroll,html.lockscroll{overflow:hidden}.components-select-control__input{background:#fff;height:36px;line-height:36px;margin:1px;outline:0;width:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)!important}@media (min-width:782px){.components-select-control__input{height:28px;line-height:28px}}@media (max-width:782px){.components-base-control .components-base-control__field .components-select-control__input{font-size:16px}}.components-snackbar{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background-color:#32373c;border-radius:4px;box-shadow:0 2px 4px rgba(0,0,0,.3);color:#fff;padding:16px 24px;width:100%;max-width:600px;box-sizing:border-box;cursor:pointer}@media (min-width:600px){.components-snackbar{width:-webkit-fit-content;width:fit-content}}.components-snackbar:hover{background-color:#191e23}.components-snackbar:focus{background-color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}.components-snackbar__action.components-button{margin-right:32px;color:#fff;height:auto;flex-shrink:0;line-height:1.4;padding:0}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default){text-decoration:underline;background-color:transparent}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):focus{color:#fff;box-shadow:none;outline:1px dotted #fff}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#33b3db}.components-snackbar__content{display:flex;align-items:baseline;justify-content:space-between;line-height:1.4}.components-snackbar-list{position:absolute;z-index:100000;width:100%;box-sizing:border-box}.components-snackbar-list__notice-container{position:relative;padding-top:8px}.components-spinner{display:inline-block;background-color:#7e8993;width:18px;height:18px;opacity:.7;float:left;margin:5px 11px 0;border-radius:100%;position:relative}.components-spinner:before{content:"";position:absolute;background-color:#fff;top:3px;left:3px;width:4px;height:4px;border-radius:100%;transform-origin:6px 6px;animation:components-spinner__animation 1s linear infinite}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.components-text-control__input,.components-textarea-control__input{width:100%;padding:6px 8px}.components-tip{display:flex;color:#555d66}.components-tip svg{-ms-grid-row-align:center;align-self:center;fill:#f0b849;flex-shrink:0;margin-left:16px}.components-tip p{margin:0}.components-toggle-control .components-base-control__field{display:flex;margin-bottom:12px}.components-toggle-control .components-base-control__field .components-form-toggle{margin-left:16px}.components-toggle-control .components-base-control__field .components-toggle-control__label{display:block;margin-bottom:4px}.components-toolbar{margin:0;border:1px solid #e2e4e7;background-color:#fff;display:inline-flex;flex-shrink:0}@supports ((position:-webkit-sticky) or (position:sticky)){.components-toolbar{display:flex}}div.components-toolbar>div{display:block;margin:0}@supports ((position:-webkit-sticky) or (position:sticky)){div.components-toolbar>div{display:flex}}div.components-toolbar>div+div{margin-right:-3px}div.components-toolbar>div+div.has-left-divider{margin-right:6px;position:relative;overflow:visible}div.components-toolbar>div+div.has-left-divider:before{display:inline-block;content:"";box-sizing:content-box;background-color:#e2e4e7;position:absolute;top:8px;right:-3px;width:1px;height:20px}.components-toolbar__control.components-button{display:inline-flex;align-items:flex-end;margin:0;padding:3px;outline:none;cursor:pointer;position:relative;width:36px;height:36px}.components-toolbar__control.components-button:not([aria-disabled=true]):focus,.components-toolbar__control.components-button:not([aria-disabled=true]):hover,.components-toolbar__control.components-button:not([aria-disabled=true]):not(.is-default):active{outline:none;box-shadow:none;background:none;border:none}.components-toolbar__control.components-button:disabled{cursor:default}.components-toolbar__control.components-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.components-toolbar__control.components-button[data-subscript] svg{padding:5px 0 5px 10px}.components-toolbar__control.components-button[data-subscript]:after{content:attr(data-subscript);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:600;line-height:12px;position:absolute;left:8px;bottom:10px}.components-toolbar__control.components-button:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.components-toolbar__control.components-button:not(:disabled).is-active>svg,.components-toolbar__control.components-button:not(:disabled):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.components-toolbar__control.components-button:not(:disabled).is-active>svg{outline:none;color:#fff;box-shadow:none;background:#555d66}.components-toolbar__control.components-button:not(:disabled).is-active[data-subscript]:after{color:#fff}.components-toolbar__control.components-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline:0}.components-toolbar__control.components-button:not(:disabled).is-active{outline:1px dotted transparent;outline-offset:-2px}.components-toolbar__control.components-button:not(:disabled):focus{outline:2px solid transparent}.components-toolbar__control .dashicon{display:block}.components-tooltip.components-popover{z-index:1000002}.components-tooltip.components-popover:before{border-color:transparent}.components-tooltip.components-popover.is-top:after{border-top-color:#191e23}.components-tooltip.components-popover.is-bottom:after{border-bottom-color:#191e23}.components-tooltip.components-popover:not(.is-mobile) .components-popover__content{min-width:0}.components-tooltip .components-popover__content{padding:4px 12px;background:#191e23;border-width:0;color:#fff;white-space:nowrap;text-align:center}.components-tooltip__shortcut{display:block;color:#7e8993} \ No newline at end of file +.components-animate__appear{animation:components-animate__appear-animation .1s cubic-bezier(0,0,.2,1) 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__appear{animation-duration:1ms}}.components-animate__appear.is-from-top,.components-animate__appear.is-from-top.is-from-left{transform-origin:top right}.components-animate__appear.is-from-top.is-from-right{transform-origin:top left}.components-animate__appear.is-from-bottom,.components-animate__appear.is-from-bottom.is-from-left{transform-origin:bottom right}.components-animate__appear.is-from-bottom.is-from-right{transform-origin:bottom left}@keyframes components-animate__appear-animation{0%{transform:translateY(-2em) scaleY(0) scaleX(0)}to{transform:translateY(0) scaleY(1) scaleX(1)}}.components-animate__slide-in{animation:components-animate__slide-in-animation .1s cubic-bezier(0,0,.2,1);animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__slide-in{animation-duration:1ms}}.components-animate__slide-in.is-from-left{transform:translateX(-100%)}@keyframes components-animate__slide-in-animation{to{transform:translateX(0)}}.components-animate__loading{animation:components-animate__loading 1.6s ease-in-out infinite}@keyframes components-animate__loading{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.components-autocomplete__popover .components-popover__content{min-width:200px}.components-autocomplete__popover .components-autocomplete__results{padding:3px;display:flex;flex-direction:column;align-items:stretch}.components-autocomplete__popover .components-autocomplete__results:empty{display:none}.components-autocomplete__result.components-button{margin-bottom:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;color:#555d66;display:flex;flex-direction:row;flex-grow:1;flex-shrink:0;align-items:center;padding:6px 8px;margin-right:-3px;margin-left:-3px;text-align:right}.components-autocomplete__result.components-button.is-selected{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-autocomplete__result.components-button:hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-base-control{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-base-control .components-base-control__field{margin-bottom:8px}.components-panel__row .components-base-control .components-base-control__field{margin-bottom:inherit}.components-base-control .components-base-control__label{display:inline-block;margin-bottom:4px}.components-base-control .components-base-control__help{margin-top:-8px;font-style:italic}.components-base-control+.components-base-control{margin-bottom:16px}.components-button-group{display:inline-block}.components-button-group .components-button.is-button{border-radius:0;display:inline-flex}.components-button-group .components-button.is-button+.components-button.is-button{margin-right:-1px}.components-button-group .components-button.is-button:first-child{border-radius:0 3px 3px 0}.components-button-group .components-button.is-button:last-child{border-radius:3px 0 0 3px}.components-button-group .components-button.is-button.is-primary,.components-button-group .components-button.is-button:focus{position:relative;z-index:1}.components-button-group .components-button.is-button.is-primary{box-shadow:none}.components-button{display:inline-flex;text-decoration:none;font-size:13px;margin:0;border:0;cursor:pointer;-webkit-appearance:none;background:none;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.components-button{transition-duration:0s}}.components-button.is-button{padding:0 10px;line-height:2;height:28px;border-radius:3px;white-space:nowrap;border-width:1px;border-style:solid}.components-button.is-default{color:#0075af;border-color:#0075af;background:#f3f5f6}body.admin-color-sunrise .components-button.is-default{color:#c47e46;border-color:#c47e46}body.admin-color-ocean .components-button.is-default{color:#99ae98;border-color:#99ae98}body.admin-color-midnight .components-button.is-default{color:#d4483f;border-color:#d4483f}body.admin-color-ectoplasm .components-button.is-default{color:#9dab51;border-color:#9dab51}body.admin-color-coffee .components-button.is-default{color:#b69c84;border-color:#b69c84}body.admin-color-blue .components-button.is-default{color:#cca154;border-color:#cca154}body.admin-color-light .components-button.is-default{color:#007daf;border-color:#007daf}.components-button.is-default:hover{background:#f1f1f1;border-color:#005d8c;color:#005d8c;text-decoration:none}body.admin-color-sunrise .components-button.is-default:hover{border-color:#9d6538;color:#9d6538}body.admin-color-ocean .components-button.is-default:hover{border-color:#7a8b7a;color:#7a8b7a}body.admin-color-midnight .components-button.is-default:hover{border-color:#a93a32;color:#a93a32}body.admin-color-ectoplasm .components-button.is-default:hover{border-color:#7d8941;color:#7d8941}body.admin-color-coffee .components-button.is-default:hover{border-color:#927d69;color:#927d69}body.admin-color-blue .components-button.is-default:hover{border-color:#a38043;color:#a38043}body.admin-color-light .components-button.is-default:hover{border-color:#00648c;color:#00648c}.components-button.is-default:focus:enabled{background:#f3f5f6;color:#005d8c;border-color:#0076b1;box-shadow:0 0 0 1px #0076b1;text-decoration:none}body.admin-color-sunrise .components-button.is-default:focus:enabled{color:#9d6538;border-color:#c77f46;box-shadow:0 0 0 1px #c77f46}body.admin-color-ocean .components-button.is-default:focus:enabled{color:#7a8b7a;border-color:#9bb09a;box-shadow:0 0 0 1px #9bb09a}body.admin-color-midnight .components-button.is-default:focus:enabled{color:#a93a32;border-color:#d64940;box-shadow:0 0 0 1px #d64940}body.admin-color-ectoplasm .components-button.is-default:focus:enabled{color:#7d8941;border-color:#9fad52;box-shadow:0 0 0 1px #9fad52}body.admin-color-coffee .components-button.is-default:focus:enabled{color:#927d69;border-color:#b89e85;box-shadow:0 0 0 1px #b89e85}body.admin-color-blue .components-button.is-default:focus:enabled{color:#a38043;border-color:#cea255;box-shadow:0 0 0 1px #cea255}body.admin-color-light .components-button.is-default:focus:enabled{color:#00648c;border-color:#007eb1;box-shadow:0 0 0 1px #007eb1}.components-button.is-default:active:enabled{background:#f3f5f6;color:#0076b1;border-color:#7e8993;box-shadow:none}body.admin-color-sunrise .components-button.is-default:active:enabled{color:#c77f46}body.admin-color-ocean .components-button.is-default:active:enabled{color:#9bb09a}body.admin-color-midnight .components-button.is-default:active:enabled{color:#d64940}body.admin-color-ectoplasm .components-button.is-default:active:enabled{color:#9fad52}body.admin-color-coffee .components-button.is-default:active:enabled{color:#b89e85}body.admin-color-blue .components-button.is-default:active:enabled{color:#cea255}body.admin-color-light .components-button.is-default:active:enabled{color:#007eb1}.components-button.is-default:disabled,.components-button.is-default[aria-disabled=true]{color:#a0a5aa;border-color:#ddd;background:#f7f7f7;text-shadow:0 1px 0 #fff;transform:none;opacity:1}.components-button.is-primary{background:#007cba;border-color:#007cba;color:#fff;text-decoration:none;text-shadow:none}body.admin-color-sunrise .components-button.is-primary{background:#d1864a;border-color:#d1864a}body.admin-color-ocean .components-button.is-primary{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-button.is-primary{background:#e14d43;border-color:#e14d43}body.admin-color-ectoplasm .components-button.is-primary{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-button.is-primary{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-button.is-primary{background:#d9ab59;border-color:#d9ab59}body.admin-color-light .components-button.is-primary{background:#0085ba;border-color:#0085ba}.components-button.is-primary:focus:enabled,.components-button.is-primary:hover{background:#0070a7;border-color:#0070a7;color:#fff}body.admin-color-sunrise .components-button.is-primary:focus:enabled,body.admin-color-sunrise .components-button.is-primary:hover{background:#bc7943;border-color:#bc7943}body.admin-color-ocean .components-button.is-primary:focus:enabled,body.admin-color-ocean .components-button.is-primary:hover{background:#93a792;border-color:#93a792}body.admin-color-midnight .components-button.is-primary:focus:enabled,body.admin-color-midnight .components-button.is-primary:hover{background:#cb453c;border-color:#cb453c}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:hover{background:#96a44d;border-color:#96a44d}body.admin-color-coffee .components-button.is-primary:focus:enabled,body.admin-color-coffee .components-button.is-primary:hover{background:#af957e;border-color:#af957e}body.admin-color-blue .components-button.is-primary:focus:enabled,body.admin-color-blue .components-button.is-primary:hover{background:#c39a50;border-color:#c39a50}body.admin-color-light .components-button.is-primary:focus:enabled,body.admin-color-light .components-button.is-primary:hover{background:#0078a7;border-color:#0078a7}.components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}body.admin-color-sunrise .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.components-button.is-primary:active:enabled{background:#006395;border-color:#006395;color:#fff}body.admin-color-sunrise .components-button.is-primary:active:enabled{background:#a76b3b;border-color:#a76b3b}body.admin-color-ocean .components-button.is-primary:active:enabled{background:#829482;border-color:#829482}body.admin-color-midnight .components-button.is-primary:active:enabled{background:#b43e36;border-color:#b43e36}body.admin-color-ectoplasm .components-button.is-primary:active:enabled{background:#869245;border-color:#869245}body.admin-color-coffee .components-button.is-primary:active:enabled{background:#9b8570;border-color:#9b8570}body.admin-color-blue .components-button.is-primary:active:enabled{background:#ae8947;border-color:#ae8947}body.admin-color-light .components-button.is-primary:active:enabled{background:#006a95;border-color:#006a95}.components-button.is-primary:disabled,.components-button.is-primary:disabled:active:enabled,.components-button.is-primary[aria-disabled=true],.components-button.is-primary[aria-disabled=true]:active:enabled,.components-button.is-primary[aria-disabled=true]:enabled{color:#66b0d6;background:#1989c1;border-color:#1989c1;opacity:1}body.admin-color-sunrise .components-button.is-primary:disabled,body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true],body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:enabled{color:#e3b692;background:#d6925c;border-color:#d6925c}body.admin-color-ocean .components-button.is-primary:disabled,body.admin-color-ocean .components-button.is-primary:disabled:active:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true],body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:enabled{color:#c8d5c7;background:#acc0ab;border-color:#acc0ab}body.admin-color-midnight .components-button.is-primary:disabled,body.admin-color-midnight .components-button.is-primary:disabled:active:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true],body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:enabled{color:#ed948e;background:#e45f56;border-color:#e45f56}body.admin-color-ectoplasm .components-button.is-primary:disabled,body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true],body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:enabled{color:#cad39a;background:#b0bd67;border-color:#b0bd67}body.admin-color-coffee .components-button.is-primary:disabled,body.admin-color-coffee .components-button.is-primary:disabled:active:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true],body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:enabled{color:#dacaba;background:#c8af98;border-color:#c8af98}body.admin-color-blue .components-button.is-primary:disabled,body.admin-color-blue .components-button.is-primary:disabled:active:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true],body.admin-color-blue .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:enabled{color:#e8cd9b;background:#ddb36a;border-color:#ddb36a}body.admin-color-light .components-button.is-primary:disabled,body.admin-color-light .components-button.is-primary:disabled:active:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true],body.admin-color-light .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:enabled{color:#66b6d6;background:#1991c1;border-color:#1991c1}.components-button.is-primary:disabled.is-button,.components-button.is-primary:disabled.is-button:hover,.components-button.is-primary:disabled:active:enabled,.components-button.is-primary:disabled:active:enabled.is-button,.components-button.is-primary:disabled:active:enabled.is-button:hover,.components-button.is-primary:disabled:active:enabled:active:enabled,.components-button.is-primary[aria-disabled=true].is-button,.components-button.is-primary[aria-disabled=true].is-button:hover,.components-button.is-primary[aria-disabled=true]:active:enabled,.components-button.is-primary[aria-disabled=true]:active:enabled.is-button,.components-button.is-primary[aria-disabled=true]:active:enabled.is-button:hover,.components-button.is-primary[aria-disabled=true]:active:enabled:active:enabled,.components-button.is-primary[aria-disabled=true]:enabled.is-button,.components-button.is-primary[aria-disabled=true]:enabled.is-button:hover,.components-button.is-primary[aria-disabled=true]:enabled:active:enabled{box-shadow:none;text-shadow:none}.components-button.is-primary:disabled:active:enabled:focus:enabled,.components-button.is-primary:disabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary:disabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary:disabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary:disabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:disabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary:disabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary:disabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-light .components-button.is-primary:disabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.components-button.is-primary.is-busy,.components-button.is-primary.is-busy:disabled,.components-button.is-primary.is-busy[aria-disabled=true]{color:#fff;background-size:100px 100%;background-image:linear-gradient(45deg,#007cba 28%,#006395 0,#006395 72%,#007cba 0);border-color:#007cba}body.admin-color-sunrise .components-button.is-primary.is-busy,body.admin-color-sunrise .components-button.is-primary.is-busy:disabled,body.admin-color-sunrise .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#d1864a 28%,#a76b3b 0,#a76b3b 72%,#d1864a 0);border-color:#d1864a}body.admin-color-ocean .components-button.is-primary.is-busy,body.admin-color-ocean .components-button.is-primary.is-busy:disabled,body.admin-color-ocean .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#a3b9a2 28%,#829482 0,#829482 72%,#a3b9a2 0);border-color:#a3b9a2}body.admin-color-midnight .components-button.is-primary.is-busy,body.admin-color-midnight .components-button.is-primary.is-busy:disabled,body.admin-color-midnight .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#e14d43 28%,#b43e36 0,#b43e36 72%,#e14d43 0);border-color:#e14d43}body.admin-color-ectoplasm .components-button.is-primary.is-busy,body.admin-color-ectoplasm .components-button.is-primary.is-busy:disabled,body.admin-color-ectoplasm .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#a7b656 28%,#869245 0,#869245 72%,#a7b656 0);border-color:#a7b656}body.admin-color-coffee .components-button.is-primary.is-busy,body.admin-color-coffee .components-button.is-primary.is-busy:disabled,body.admin-color-coffee .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#c2a68c 28%,#9b8570 0,#9b8570 72%,#c2a68c 0);border-color:#c2a68c}body.admin-color-blue .components-button.is-primary.is-busy,body.admin-color-blue .components-button.is-primary.is-busy:disabled,body.admin-color-blue .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#d9ab59 28%,#ae8947 0,#ae8947 72%,#d9ab59 0);border-color:#d9ab59}body.admin-color-light .components-button.is-primary.is-busy,body.admin-color-light .components-button.is-primary.is-busy:disabled,body.admin-color-light .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#0085ba 28%,#006a95 0,#006a95 72%,#0085ba 0);border-color:#0085ba}.components-button.is-link{margin:0;padding:0;box-shadow:none;border:0;border-radius:0;background:none;outline:none;text-align:right;color:#0073aa;text-decoration:underline;transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion:reduce){.components-button.is-link{transition-duration:0s}}.components-button.is-link:active,.components-button.is-link:hover{color:#00a0d2}.components-button.is-link:focus{color:#124964;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.components-button.is-link.is-destructive{color:#d94f4f}.components-button:active{color:inherit}.components-button:disabled,.components-button[aria-disabled=true]{cursor:default;opacity:.3}.components-button:focus:not(:disabled){background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-button.is-busy,.components-button.is-default.is-busy,.components-button.is-default.is-busy:disabled,.components-button.is-default.is-busy[aria-disabled=true]{animation:components-button__busy-animation 2.5s linear infinite;background-size:100px 100%;background-image:repeating-linear-gradient(45deg,#e2e4e7,#fff 11px,#fff 0,#e2e4e7 20px);opacity:1}.components-button.is-large{height:30px;line-height:28px;padding:0 12px 2px}.components-button.is-small{height:24px;line-height:22px;padding:0 8px 1px;font-size:11px}.components-button.is-tertiary{color:#007cba;padding:0 10px;line-height:26px;height:28px}body.admin-color-sunrise .components-button.is-tertiary{color:#837425}body.admin-color-ocean .components-button.is-tertiary{color:#5e7d5e}body.admin-color-midnight .components-button.is-tertiary{color:#497b8d}body.admin-color-ectoplasm .components-button.is-tertiary{color:#523f6d}body.admin-color-coffee .components-button.is-tertiary{color:#59524c}body.admin-color-blue .components-button.is-tertiary{color:#417e9b}body.admin-color-light .components-button.is-tertiary{color:#007cba}.components-button.is-tertiary .dashicon{display:inline-block;flex:0 0 auto}.components-button.is-tertiary svg{fill:currentColor;outline:none}.components-button.is-tertiary:active:focus:enabled{box-shadow:none}.components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}body.admin-color-sunrise .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#62571c}body.admin-color-ocean .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#475e47}body.admin-color-midnight .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#375c6a}body.admin-color-ectoplasm .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#3e2f52}body.admin-color-coffee .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#433e39}body.admin-color-blue .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#315f74}body.admin-color-light .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}.components-button .screen-reader-text{height:auto}@keyframes components-button__busy-animation{0%{background-position:200px 0}}.components-checkbox-control__input[type=checkbox]{border:1px solid #b4b9be;background:#fff;color:#555;clear:none;cursor:pointer;display:inline-block;line-height:0;margin:0 0 0 4px;outline:0;padding:0!important;text-align:center;vertical-align:top;width:25px;height:25px;-webkit-appearance:none;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);transition:border-color .05s ease-in-out}@media (min-width:600px){.components-checkbox-control__input[type=checkbox]{height:16px;width:16px}}.components-checkbox-control__input[type=checkbox]:focus{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8);outline:2px solid transparent}.components-checkbox-control__input[type=checkbox]:checked{background:#11a0d2;border-color:#11a0d2}.components-checkbox-control__input[type=checkbox]:checked::-ms-check{opacity:0}.components-checkbox-control__input[type=checkbox]:focus:checked{border:none}.components-checkbox-control__input[type=checkbox]:checked:before{content:none}.components-checkbox-control__input-container{position:relative;display:inline-block;margin-left:12px;vertical-align:middle;width:25px;height:25px}@media (min-width:600px){.components-checkbox-control__input-container{width:16px;height:16px}}svg.dashicon.components-checkbox-control__checked{fill:#fff;cursor:pointer;position:absolute;right:-4px;top:-2px;width:31px;height:31px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}@media (min-width:600px){svg.dashicon.components-checkbox-control__checked{width:21px;height:21px;right:-3px}}.components-circular-option-picker{display:inline-block;margin-top:.6rem;width:100%}.components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper{display:flex;justify-content:flex-end}.components-circular-option-picker__option-wrapper{display:inline-block;height:28px;width:28px;margin-left:12px;margin-bottom:12px;vertical-align:top;transform:scale(1);transition:transform .1s ease}@media (prefers-reduced-motion:reduce){.components-circular-option-picker__option-wrapper{transition-duration:0s}}.components-circular-option-picker__option-wrapper:hover{transform:scale(1.2)}.components-circular-option-picker__option-wrapper>div{height:100%;width:100%}.components-circular-option-picker__option-wrapper:nth-child(6n+6){margin-left:0}.components-circular-option-picker__option-wrapper:before{content:"";position:absolute;top:1px;right:1px;bottom:1px;left:1px;border-radius:50%;z-index:-1;background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='28' height='28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8V6H4v2h2zm2 0V6h2v2H8zm2 8H8v-2h2v2zm2 0v-2h2v2h-2zm0 2v-2h-2v2H8v2h2v-2h2zm2 0v2h-2v-2h2zm2 0h-2v-2h2v2z' fill='%23555D65'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M18 18h2v-2h-2v-2h2v-2h-2v-2h2V8h-2v2h-2V8h-2v2h2v2h-2v2h2v2h2v2zm-2-4v-2h2v2h-2z' fill='%23555D65'/%3E%3Cpath d='M18 18v2h-2v-2h2z' fill='%23555D65'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 10V8H6v2H4v2h2v2H4v2h2v2H4v2h2v2H4v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2v2h-2V4h-2v2h-2V4h-2v2h-2V4h-2v2h2v2h-2v2H8zm0 2v-2H6v2h2zm2 0v-2h2v2h-2zm0 2v-2H8v2H6v2h2v2H6v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h-2v2h-2V6h-2v2h-2v2h2v2h-2v2h-2z' fill='%23555D65'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 0H2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2H8V0H6v2H4V0zm0 4V2H2v2h2zm2 0V2h2v2H6zm0 2V4H4v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2H8v2H6z' fill='%23555D65'/%3E%3C/svg%3E")}.components-circular-option-picker__option{display:inline-block;vertical-align:top;height:100%;width:100%;border:none;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 14px;transition:box-shadow .1s ease;cursor:pointer}@media (prefers-reduced-motion:reduce){.components-circular-option-picker__option{transition-duration:0s}}.components-circular-option-picker__option.is-active{box-shadow:inset 0 0 0 4px;position:relative;z-index:1}.components-circular-option-picker__option.is-active+.dashicons-saved{position:absolute;right:4px;top:4px;border-radius:50%;z-index:2;background:#fff;pointer-events:none}.components-circular-option-picker__option:after{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);border:1px solid transparent}.components-circular-option-picker__option:focus{outline:none}.components-circular-option-picker__option:focus:after{content:"";border:2px solid #606a73;width:32px;height:32px;position:absolute;top:-2px;right:-2px;border-radius:50%;box-shadow:inset 0 0 0 2px #fff}.components-circular-option-picker__button-action .components-circular-option-picker__option{color:#fff;background:#fff}.components-circular-option-picker__dropdown-link-action{margin-left:16px}.components-circular-option-picker__dropdown-link-action .components-button{line-height:22px}.component-color-indicator{width:25px;height:16px;margin-right:.8rem;border:1px solid #dadada;display:inline-block}.component-color-indicator+.component-color-indicator{margin-right:.5rem}.components-color-picker{width:100%;overflow:hidden}.components-color-picker *{box-sizing:border-box}.components-color-picker .components-icon-button{padding:6px}.components-color-picker__saturation{width:100%;padding-bottom:55%;position:relative}.components-color-picker__body{padding:16px 16px 12px}.components-color-picker__controls{display:flex}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{padding:0;position:absolute;cursor:pointer;box-shadow:none;border:none}.components-color-picker__swatch{margin-left:8px;width:32px;height:32px;border-radius:50%;position:relative;overflow:hidden;background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0}.is-alpha-disabled .components-color-picker__swatch{width:12px;height:12px;margin-top:0}.components-color-picker__active{border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);z-index:2}.components-color-picker__active,.components-color-picker__saturation-black,.components-color-picker__saturation-color,.components-color-picker__saturation-white{position:absolute;top:0;right:0;left:0;bottom:0}.components-color-picker__saturation-color{overflow:hidden}.components-color-picker__saturation-white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.components-color-picker__saturation-black{background:linear-gradient(0deg,#000,transparent)}.components-color-picker__saturation-pointer{width:8px;height:8px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;background-color:transparent;transform:translate(4px,-4px)}.components-color-picker__toggles{flex:1}.components-color-picker__alpha{background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0}.components-color-picker__alpha-gradient,.components-color-picker__hue-gradient{position:absolute;top:0;right:0;left:0;bottom:0}.components-color-picker__alpha,.components-color-picker__hue{height:12px;position:relative}.is-alpha-enabled .components-color-picker__hue{margin-bottom:8px}.components-color-picker__alpha-bar,.components-color-picker__hue-bar{position:relative;margin:0 3px;height:100%;padding:0 2px}.components-color-picker__hue-gradient{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer{left:0;width:14px;height:14px;border-radius:50%;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);background:#fff;transform:translate(7px,-1px)}.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{transition-duration:0s}}.components-color-picker__saturation-pointer:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #00a0d2,0 0 5px 0 #00a0d2,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4)}.components-color-picker__alpha-pointer:focus,.components-color-picker__hue-pointer:focus{border-color:#00a0d2;box-shadow:0 0 0 2px #00a0d2,0 0 3px 0 #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-color-picker__inputs-wrapper{margin:0 -4px;padding-top:16px;display:flex;align-items:flex-end}.components-color-picker__inputs-wrapper fieldset{flex:1;border:none;margin:0;padding:0}.components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type=number]{padding:6px 8px}.components-color-picker__inputs-field{width:100%}.components-color-picker__inputs-fields{display:flex;direction:ltr;flex-grow:1}.components-color-picker__inputs-fields .components-base-control+.components-base-control{margin-bottom:0}.components-color-picker__inputs-fields .components-base-control__field{margin:0 4px}.components-custom-gradient-picker:not(.has-gradient){opacity:.4}.components-custom-gradient-picker{width:100%;height:24px;border-radius:24px;margin-bottom:8px;padding-right:3px;padding-left:21px}.components-custom-gradient-picker .components-custom-gradient-picker__markers-container{position:relative}.components-custom-gradient-picker .components-custom-gradient-picker__insert-point{border-radius:50%;background:#fff;padding:2px;width:24px;height:24px;position:relative}.components-custom-gradient-picker .components-custom-gradient-picker__control-point-button{border:2px solid #fff;border-radius:50%;height:18px;position:absolute;width:18px;top:3px}.components-custom-gradient-picker .components-custom-gradient-picker__control-point-button.is-active{background:#fafafa;color:#23282d;border-color:#999;box-shadow:inset 0 -1px 0 #999,0 0 0 1px #fff,0 0 0 3px #007cba}.components-custom-gradient-picker__color-picker-popover .components-custom-gradient-picker__remove-control-point{margin-right:auto;margin-left:auto;display:block;margin-bottom:8px}.components-custom-gradient-picker__inserter{width:100%}.components-custom-select-control{color:#555d66;position:relative}.components-custom-select-control__label{display:block;margin-bottom:5px}.components-custom-select-control__button{border:1px solid #7e8993;border-radius:4px;color:#555d66;display:inline;min-height:30px;min-width:130px;position:relative;text-align:right}.components-custom-select-control__button:focus{border-color:#00a0d2}.components-custom-select-control__button-icon{height:100%;padding:0 4px;position:absolute;left:0;top:0}.components-custom-select-control__menu{background:#fff;padding:0;position:absolute;width:100%;z-index:1000000}.components-custom-select-control__item{align-items:center;display:flex;list-style-type:none;padding:10px 25px 10px 5px}.components-custom-select-control__item.is-highlighted{background:#e2e4e7}.components-custom-select-control__item-icon{margin-right:-20px;margin-left:0}svg.dashicon{fill:currentColor;outline:none}.PresetDateRangePicker_panel{padding:0 22px 11px}.PresetDateRangePicker_button{position:relative;height:100%;text-align:center;background:0 0;border:2px solid #00a699;color:#00a699;padding:4px 12px;margin-right:8px;font:inherit;font-weight:700;line-height:normal;overflow:visible;box-sizing:border-box;cursor:pointer}.PresetDateRangePicker_button:active{outline:0}.PresetDateRangePicker_button__selected{color:#fff;background:#00a699}.SingleDatePickerInput{display:inline-block;background-color:#fff}.SingleDatePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.SingleDatePickerInput__rtl{direction:rtl}.SingleDatePickerInput__disabled{background-color:#f2f2f2}.SingleDatePickerInput__block{display:block}.SingleDatePickerInput__showClearDate{padding-right:30px}.SingleDatePickerInput_clearDate{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.SingleDatePickerInput_clearDate__default:focus,.SingleDatePickerInput_clearDate__default:hover{background:#dbdbdb;border-radius:50%}.SingleDatePickerInput_clearDate__small{padding:6px}.SingleDatePickerInput_clearDate__hide{visibility:hidden}.SingleDatePickerInput_clearDate_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.SingleDatePickerInput_clearDate_svg__small{height:9px}.SingleDatePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.SingleDatePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.SingleDatePicker{position:relative;display:inline-block}.SingleDatePicker__block{display:block}.SingleDatePicker_picker{z-index:1;background-color:#fff;position:absolute}.SingleDatePicker_picker__rtl{direction:rtl}.SingleDatePicker_picker__directionLeft{left:0}.SingleDatePicker_picker__directionRight{right:0}.SingleDatePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.SingleDatePicker_picker__fullScreenPortal{background-color:#fff}.SingleDatePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.SingleDatePicker_closeButton:focus,.SingleDatePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.SingleDatePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_buttonReset{background:0 0;border:0;border-radius:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;cursor:pointer;font-size:14px}.DayPickerKeyboardShortcuts_buttonReset:active{outline:0}.DayPickerKeyboardShortcuts_show{width:22px;position:absolute;z-index:2}.DayPickerKeyboardShortcuts_show__bottomRight{border-top:26px solid transparent;border-right:33px solid #00a699;bottom:0;right:0}.DayPickerKeyboardShortcuts_show__bottomRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topRight{border-bottom:26px solid transparent;border-right:33px solid #00a699;top:0;right:0}.DayPickerKeyboardShortcuts_show__topRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topLeft{border-bottom:26px solid transparent;border-left:33px solid #00a699;top:0;left:0}.DayPickerKeyboardShortcuts_show__topLeft:hover{border-left:33px solid #008489}.DayPickerKeyboardShortcuts_showSpan{color:#fff;position:absolute}.DayPickerKeyboardShortcuts_showSpan__bottomRight{bottom:0;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topRight{top:1px;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topLeft{top:1px;left:-28px}.DayPickerKeyboardShortcuts_panel{overflow:auto;background:#fff;border:1px solid #dbdbdb;border-radius:2px;position:absolute;top:0;bottom:0;right:0;left:0;z-index:2;padding:22px;margin:33px}.DayPickerKeyboardShortcuts_title{font-size:16px;font-weight:700;margin:0}.DayPickerKeyboardShortcuts_list{list-style:none;padding:0;font-size:14px}.DayPickerKeyboardShortcuts_close{position:absolute;right:22px;top:22px;z-index:2}.DayPickerKeyboardShortcuts_close:active{outline:0}.DayPickerKeyboardShortcuts_closeSvg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_closeSvg:focus,.DayPickerKeyboardShortcuts_closeSvg:hover{fill:#82888a}.CalendarDay{box-sizing:border-box;cursor:pointer;font-size:14px;text-align:center}.CalendarDay:active{outline:0}.CalendarDay__defaultCursor{cursor:default}.CalendarDay__default{border:1px solid #e4e7e7;color:#484848;background:#fff}.CalendarDay__default:hover{background:#e4e7e7;border:1px double #e4e7e7;color:inherit}.CalendarDay__hovered_offset{background:#f4f5f5;border:1px double #e4e7e7;color:inherit}.CalendarDay__outside{border:0;background:#fff;color:#484848}.CalendarDay__outside:hover{border:0}.CalendarDay__blocked_minimum_nights{background:#fff;border:1px solid #eceeee;color:#cacccd}.CalendarDay__blocked_minimum_nights:active,.CalendarDay__blocked_minimum_nights:hover{background:#fff;color:#cacccd}.CalendarDay__highlighted_calendar{background:#ffe8bc;color:#484848}.CalendarDay__highlighted_calendar:active,.CalendarDay__highlighted_calendar:hover{background:#ffce71;color:#484848}.CalendarDay__selected_span{background:#66e2da;border:1px solid #33dacd;color:#fff}.CalendarDay__selected_span:active,.CalendarDay__selected_span:hover{background:#33dacd;border:1px solid #33dacd;color:#fff}.CalendarDay__last_in_range{border-right:#00a699}.CalendarDay__selected,.CalendarDay__selected:active,.CalendarDay__selected:hover{background:#00a699;border:1px solid #00a699;color:#fff}.CalendarDay__hovered_span,.CalendarDay__hovered_span:hover{background:#b2f1ec;border:1px solid #80e8e0;color:#007a87}.CalendarDay__hovered_span:active{background:#80e8e0;border:1px solid #80e8e0;color:#007a87}.CalendarDay__blocked_calendar,.CalendarDay__blocked_calendar:active,.CalendarDay__blocked_calendar:hover{background:#cacccd;border:1px solid #cacccd;color:#82888a}.CalendarDay__blocked_out_of_range,.CalendarDay__blocked_out_of_range:active,.CalendarDay__blocked_out_of_range:hover{background:#fff;border:1px solid #e4e7e7;color:#cacccd}.CalendarMonth{background:#fff;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.CalendarMonth_table{border-collapse:collapse;border-spacing:0}.CalendarMonth_verticalSpacing{border-collapse:separate}.CalendarMonth_caption{color:#484848;font-size:18px;text-align:center;padding-top:22px;padding-bottom:37px;caption-side:top}.CalendarMonth_caption__verticalScrollable{padding-top:12px;padding-bottom:7px}.CalendarMonthGrid{background:#fff;text-align:left;z-index:0}.CalendarMonthGrid__animating{z-index:1}.CalendarMonthGrid__horizontal{position:absolute;left:9px}.CalendarMonthGrid__vertical{margin:0 auto}.CalendarMonthGrid__vertical_scrollable{margin:0 auto;overflow-y:scroll}.CalendarMonthGrid_month__horizontal{display:inline-block;vertical-align:top;min-height:100%}.CalendarMonthGrid_month__hideForAnimation{position:absolute;z-index:-1;opacity:0;pointer-events:none}.CalendarMonthGrid_month__hidden{visibility:hidden}.DayPickerNavigation{position:relative;z-index:2}.DayPickerNavigation__horizontal{height:0}.DayPickerNavigation__verticalDefault{position:absolute;width:100%;height:52px;bottom:0;left:0}.DayPickerNavigation__verticalScrollableDefault{position:relative}.DayPickerNavigation_button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:0;padding:0;margin:0}.DayPickerNavigation_button__default{border:1px solid #e4e7e7;background-color:#fff;color:#757575}.DayPickerNavigation_button__default:focus,.DayPickerNavigation_button__default:hover{border:1px solid #c4c4c4}.DayPickerNavigation_button__default:active{background:#f2f2f2}.DayPickerNavigation_button__horizontalDefault{position:absolute;top:18px;line-height:.78;border-radius:3px;padding:6px 9px}.DayPickerNavigation_leftButton__horizontalDefault{left:22px}.DayPickerNavigation_rightButton__horizontalDefault{right:22px}.DayPickerNavigation_button__verticalDefault{padding:5px;background:#fff;box-shadow:0 0 5px 2px rgba(0,0,0,.1);position:relative;display:inline-block;height:100%;width:50%}.DayPickerNavigation_nextButton__verticalDefault{border-left:0}.DayPickerNavigation_nextButton__verticalScrollableDefault{width:100%}.DayPickerNavigation_svg__horizontal{height:19px;width:19px;fill:#82888a;display:block}.DayPickerNavigation_svg__vertical{height:42px;width:42px;fill:#484848;display:block}.DayPicker{position:relative;text-align:left}.DayPicker,.DayPicker__horizontal{background:#fff}.DayPicker__verticalScrollable{height:100%}.DayPicker__hidden{visibility:hidden}.DayPicker__withBorder{box-shadow:0 2px 6px rgba(0,0,0,.05),0 0 0 1px rgba(0,0,0,.07);border-radius:3px}.DayPicker_portal__horizontal{box-shadow:none;position:absolute;left:50%;top:50%}.DayPicker_portal__vertical{position:static}.DayPicker_focusRegion{outline:0}.DayPicker_calendarInfo__horizontal,.DayPicker_wrapper__horizontal{display:inline-block;vertical-align:top}.DayPicker_weekHeaders{position:relative}.DayPicker_weekHeaders__horizontal{margin-left:9px}.DayPicker_weekHeader{color:#757575;position:absolute;top:62px;z-index:2;text-align:left}.DayPicker_weekHeader__vertical{left:50%}.DayPicker_weekHeader__verticalScrollable{top:0;display:table-row;border-bottom:1px solid #dbdbdb;background:#fff;margin-left:0;left:0;width:100%;text-align:center}.DayPicker_weekHeader_ul{list-style:none;margin:1px 0;padding-left:0;padding-right:0;font-size:14px}.DayPicker_weekHeader_li{display:inline-block;text-align:center}.DayPicker_transitionContainer{position:relative;overflow:hidden;border-radius:3px}.DayPicker_transitionContainer__horizontal{transition:height .2s ease-in-out}.DayPicker_transitionContainer__vertical{width:100%}.DayPicker_transitionContainer__verticalScrollable{padding-top:20px;height:100%;position:absolute;top:0;bottom:0;right:0;left:0;overflow-y:scroll}.DateInput{margin:0;padding:0;background:#fff;position:relative;display:inline-block;width:130px;vertical-align:middle}.DateInput__small{width:97px}.DateInput__block{width:100%}.DateInput__disabled{background:#f2f2f2;color:#dbdbdb}.DateInput_input{font-weight:200;font-size:19px;line-height:24px;color:#484848;background-color:#fff;width:100%;padding:11px 11px 9px;border:0;border-bottom:2px solid transparent;border-radius:0}.DateInput_input__small{font-size:15px;line-height:18px;letter-spacing:.2px;padding:7px 7px 5px}.DateInput_input__regular{font-weight:auto}.DateInput_input__readOnly{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.DateInput_input__focused{outline:0;background:#fff;border:0;border-bottom:2px solid #008489}.DateInput_input__disabled{background:#f2f2f2;font-style:italic}.DateInput_screenReaderMessage{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.DateInput_fang{position:absolute;width:20px;height:10px;left:22px;z-index:2}.DateInput_fangShape{fill:#fff}.DateInput_fangStroke{stroke:#dbdbdb;fill:transparent}.DateRangePickerInput{background-color:#fff;display:inline-block}.DateRangePickerInput__disabled{background:#f2f2f2}.DateRangePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.DateRangePickerInput__rtl{direction:rtl}.DateRangePickerInput__block{display:block}.DateRangePickerInput__showClearDates{padding-right:30px}.DateRangePickerInput_arrow{display:inline-block;vertical-align:middle;color:#484848}.DateRangePickerInput_arrow_svg{vertical-align:middle;fill:#484848;height:24px;width:24px}.DateRangePickerInput_clearDates{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.DateRangePickerInput_clearDates__small{padding:6px}.DateRangePickerInput_clearDates_default:focus,.DateRangePickerInput_clearDates_default:hover{background:#dbdbdb;border-radius:50%}.DateRangePickerInput_clearDates__hide{visibility:hidden}.DateRangePickerInput_clearDates_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.DateRangePickerInput_clearDates_svg__small{height:9px}.DateRangePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.DateRangePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.DateRangePicker{position:relative;display:inline-block}.DateRangePicker__block{display:block}.DateRangePicker_picker{z-index:1;background-color:#fff;position:absolute}.DateRangePicker_picker__rtl{direction:rtl}.DateRangePicker_picker__directionLeft{left:0}.DateRangePicker_picker__directionRight{right:0}.DateRangePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.DateRangePicker_picker__fullScreenPortal{background-color:#fff}.DateRangePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.DateRangePicker_closeButton:focus,.DateRangePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.DateRangePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.components-datetime,.components-datetime .components-datetime__calendar-help{padding:16px}.components-datetime .components-datetime__calendar-help h4{margin:0}.components-datetime .components-datetime__date-help-button{display:block;margin-right:auto}.components-datetime fieldset{border:0;padding:0;margin:0}.components-datetime input,.components-datetime select{box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #7e8993}@media (prefers-reduced-motion:reduce){.components-datetime input,.components-datetime select{transition-duration:0s}}.components-datetime .components-button,.components-datetime input[type=number],.components-datetime select{height:30px;margin-top:0;margin-bottom:0}.components-datetime__date{min-height:236px;border-top:1px solid #e2e4e7}.components-datetime__date .CalendarMonthGrid{margin-right:-13px}.components-datetime__date .DayPickerNavigation_leftButton__horizontalDefault{right:0}.components-datetime__date .CalendarMonth_caption{font-size:13px}.components-datetime__date .CalendarDay{font-size:13px;border:1px solid transparent;border-radius:50%;text-align:center}.components-datetime__date .CalendarDay__selected{background:#0085ba}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected{background:#d1864a}body.admin-color-ocean .components-datetime__date .CalendarDay__selected{background:#a3b9a2}body.admin-color-midnight .components-datetime__date .CalendarDay__selected{background:#e14d43}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected{background:#a7b656}body.admin-color-coffee .components-datetime__date .CalendarDay__selected{background:#c2a68c}body.admin-color-blue .components-datetime__date .CalendarDay__selected{background:#82b4cb}body.admin-color-light .components-datetime__date .CalendarDay__selected{background:#0085ba}.components-datetime__date .CalendarDay__selected:hover{background:#00719e}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected:hover{background:#b2723f}body.admin-color-ocean .components-datetime__date .CalendarDay__selected:hover{background:#8b9d8a}body.admin-color-midnight .components-datetime__date .CalendarDay__selected:hover{background:#bf4139}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected:hover{background:#8e9b49}body.admin-color-coffee .components-datetime__date .CalendarDay__selected:hover{background:#a58d77}body.admin-color-blue .components-datetime__date .CalendarDay__selected:hover{background:#6f99ad}body.admin-color-light .components-datetime__date .CalendarDay__selected:hover{background:#00719e}.components-datetime__date .DayPickerNavigation_button__horizontalDefault{padding:2px 8px;top:20px}.components-datetime__date .DayPickerNavigation_button__horizontalDefault:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-datetime__date .DayPicker_weekHeader{top:50px}.components-datetime__date .DayPicker_weekHeader .DayPicker_weekHeader_ul{margin:1px 0;padding-right:0;padding-left:0}.components-datetime__date.is-description-visible .components-datetime__date-help-button,.components-datetime__date.is-description-visible .DayPicker{visibility:hidden}.components-datetime__time{padding-bottom:16px}.components-datetime__time fieldset{position:relative;margin-bottom:.5em}.components-datetime__time fieldset+fieldset{margin-bottom:0}.components-datetime__time .components-datetime__time-field-am-pm fieldset{margin-top:0}.components-datetime__time .components-datetime__time-wrapper{display:flex}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-separator{display:inline-block;padding:0 0 0 3px;color:#555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button{margin-right:8px;margin-left:-1px;border-radius:0 3px 3px 0}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button{margin-right:-1px;border-radius:3px 0 0 3px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button:focus,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled{background:#edeff0;border-color:#8f98a1;box-shadow:inset 0 2px 5px -3px #555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled:focus,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled:focus{box-shadow:inset 0 2px 5px -3px #555d66,0 0 0 1px #fff,0 0 0 3px #007cba}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field-time{direction:ltr}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field.am-pm button{font-size:11px;font-weight:600}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select{margin-left:4px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]{padding:2px;margin-left:4px;text-align:center;-moz-appearance:textfield}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.components-datetime__time.is-12-hour .components-datetime__time-field-day input{margin:0 0 0 -4px!important;border-radius:0 4px 4px 0!important}.components-datetime__time.is-12-hour .components-datetime__time-field-year input{border-radius:4px 0 0 4px!important}.components-datetime__time-legend{font-weight:600;margin-top:.5em}.components-datetime__time-legend.invisible{position:absolute;top:-999em;right:-999em}.components-datetime__time-field-day-input,.components-datetime__time-field-hours-input,.components-datetime__time-field-minutes-input{width:35px}.components-datetime__time-field-year-input{width:55px}.components-datetime__time-field-month-select{max-width:145px}.components-popover .components-datetime__date{padding-right:4px}.block-editor-dimension-control .components-base-control__field{display:flex;align-items:center}.block-editor-dimension-control .components-base-control__label{display:flex;align-items:center;margin-left:1em;margin-bottom:0}.block-editor-dimension-control .components-base-control__label .dashicon{margin-left:.5em}.block-editor-dimension-control.is-manual .components-base-control__label{width:10em}.components-disabled{position:relative;pointer-events:none}.components-disabled:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0}.components-disabled *{pointer-events:none}body.is-dragging-components-draggable{cursor:move;cursor:grabbing!important}.components-draggable__invisible-drag-image{position:fixed;right:-1000px;height:50px;width:50px}.components-draggable__clone{position:fixed;padding:20px;background:transparent;pointer-events:none;z-index:1000000000;opacity:.8}.components-drop-zone{position:absolute;top:0;left:0;bottom:0;right:0;z-index:40;visibility:hidden;opacity:0;transition:opacity .3s,background-color .3s,visibility 0s .3s;border:2px solid #0071a1;border-radius:2px}@media (prefers-reduced-motion:reduce){.components-drop-zone{transition-duration:0s}}.components-drop-zone.is-active{opacity:1;visibility:visible;transition:opacity .3s,background-color .3s}@media (prefers-reduced-motion:reduce){.components-drop-zone.is-active{transition-duration:0s}}.components-drop-zone.is-dragging-over-element{background-color:rgba(0,113,161,.8)}.components-drop-zone__content{position:absolute;top:50%;right:0;left:0;z-index:50;transform:translateY(-50%);width:100%;text-align:center;color:#fff;transition:transform .2s ease-in-out}@media (prefers-reduced-motion:reduce){.components-drop-zone__content{transition-duration:0s}}.components-drop-zone.is-dragging-over-element .components-drop-zone__content{transform:translateY(-50%) scale(1.05)}.components-drop-zone__content-icon,.components-drop-zone__content-text{display:block}.components-drop-zone__content-icon{margin:0 auto;line-height:0}.components-drop-zone__content-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.components-drop-zone__provider{height:100%}.components-dropdown{display:inline-block}.components-dropdown-menu__indicator:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.components-dropdown-menu__popover .components-popover__content{width:200px}.components-dropdown-menu__menu{width:100%;padding:7px 0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.components-dropdown-menu__menu .components-dropdown-menu__menu-item,.components-dropdown-menu__menu .components-menu-item{width:100%;padding:6px;outline:none;cursor:pointer;margin-bottom:4px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator,.components-dropdown-menu__menu .components-menu-item.has-separator{margin-top:6px;position:relative;overflow:visible}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator:before,.components-dropdown-menu__menu .components-menu-item.has-separator:before{display:block;content:"";box-sizing:content-box;background-color:#e2e4e7;position:absolute;top:-3px;right:0;left:0;height:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-default),.components-dropdown-menu__menu .components-menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-default){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:hover,.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.components-dropdown-menu__menu .components-menu-item:hover,.components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-dropdown-menu__menu .components-dropdown-menu__menu-item>svg,.components-dropdown-menu__menu .components-menu-item>svg{border-radius:4px;padding:2px;width:24px;height:24px;margin:-1px 0 -1px 8px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default).is-active>svg,.components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default).is-active>svg{outline:none;color:#fff;box-shadow:none;background:#555d66}.components-dropdown-menu__menu .components-menu-group:not(:last-child){border-bottom:1px solid #e2e4e7}.components-dropdown-menu__menu .components-menu-item__button,.components-dropdown-menu__menu .components-menu-item__button.components-icon-button{padding-right:2rem}.components-dropdown-menu__menu .components-menu-item__button.components-icon-button.has-icon,.components-dropdown-menu__menu .components-menu-item__button.has-icon{padding-right:.5rem}.components-dropdown-menu__menu .components-menu-item__button.components-icon-button .dashicon,.components-dropdown-menu__menu .components-menu-item__button .dashicon{margin-left:4px}.components-external-link__icon{width:1.4em;height:1.4em;margin:-.2em .1em 0;vertical-align:middle}.components-focal-point-picker-wrapper{background-color:transparent;border:1px solid #e2e4e7;height:200px;width:100%;padding:14px}.components-focal-point-picker{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;position:relative;width:100%}.components-focal-point-picker img{height:auto;max-height:100%;max-width:100%;width:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.components-focal-point-picker__icon_container{background-color:transparent;cursor:grab;height:30px;opacity:.8;position:absolute;will-change:transform;width:30px;z-index:10000}.components-focal-point-picker__icon_container.is-dragging{cursor:grabbing}.components-focal-point-picker__icon{display:block;height:100%;right:-15px;position:absolute;top:-15px;width:100%}.components-focal-point-picker__icon .components-focal-point-picker__icon-outline{fill:#fff}.components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}body.admin-color-sunrise .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#d1864a}body.admin-color-ocean .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a3b9a2}body.admin-color-midnight .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#e14d43}body.admin-color-ectoplasm .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a7b656}body.admin-color-coffee .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#c2a68c}body.admin-color-blue .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#82b4cb}body.admin-color-light .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}.components-focal-point-picker_position-display-container{margin:1em 0;display:flex}.components-focal-point-picker_position-display-container .components-base-control__field{margin:0 0 0 1em}.components-focal-point-picker_position-display-container input[type=number].components-text-control__input{max-width:4em;padding:6px 4px}.components-focal-point-picker_position-display-container span{margin:0 .2em 0 0}.components-font-size-picker__controls{max-width:248px;display:flex;align-items:center;margin-bottom:24px}.components-font-size-picker__controls .components-range-control__number{height:30px;margin:5px 0 0 8px}.components-font-size-picker__controls .components-range-control__number[value=""]+.components-button{cursor:default;opacity:.3;pointer-events:none}.components-font-size-picker__controls .components-range-control__number-container{display:flex;flex-direction:column}.components-font-size-picker__controls .components-font-size-picker__select{margin-left:8px;flex-grow:1}.components-font-size-picker__controls .components-color-palette__clear{height:30px;margin-top:23px}.components-font-size-picker__custom-input .components-range-control__slider+.dashicon{width:30px;height:30px}.components-font-size-picker{border:0;padding:0;margin:0}.components-form-file-upload .components-button.is-large{padding-right:6px}.components-form-toggle{position:relative;display:inline-block}.components-form-toggle .components-form-toggle__off,.components-form-toggle .components-form-toggle__on{position:absolute;top:6px;box-sizing:border-box}.components-form-toggle .components-form-toggle__off{color:#6c7781;fill:currentColor;left:6px}.components-form-toggle .components-form-toggle__on{right:8px}.components-form-toggle .components-form-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:2px solid #6c7781;width:36px;height:18px;border-radius:9px;transition:background .2s ease}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__track{transition-duration:0s}}.components-form-toggle .components-form-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:4px;right:4px;width:10px;height:10px;border-radius:50%;transition:transform .1s ease;background-color:#6c7781;border:5px solid #6c7781}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__thumb{transition-duration:0s}}.components-form-toggle:hover .components-form-toggle__track{border:2px solid #555d66}.components-form-toggle:hover .components-form-toggle__thumb{background-color:#555d66;border:5px solid #6c7781}.components-form-toggle:hover .components-form-toggle__off{color:#555d66}.components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:9px solid transparent}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__track{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__track{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:2px solid #11a0d2}.components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3px #6c7781;outline:2px solid transparent;outline-offset:2px}.components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(-18px)}.components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}body.admin-color-sunrise .components-form-toggle.is-checked:before{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked:before{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked:before{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked:before{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked:before{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked:before{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}.components-disabled .components-form-toggle{opacity:.3}.components-form-toggle input.components-form-toggle__input[type=checkbox]{position:absolute;top:0;right:0;width:100%;height:100%;opacity:0;margin:0;padding:0;z-index:1;border:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:checked{background:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:before{content:""}.components-form-toggle .components-form-toggle__on{outline:1px solid transparent;outline-offset:-1px;border:1px solid #000;filter:invert(100%) contrast(500%)}@supports (-ms-high-contrast-adjust:auto){.components-form-toggle .components-form-toggle__on{filter:none;border:1px solid #fff}}.components-form-token-field__input-container{display:flex;flex-wrap:wrap;align-items:flex-start;width:100%;margin:0 0 8px;padding:4px;background-color:#fff;color:#32373c;cursor:text;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #7e8993}@media (prefers-reduced-motion:reduce){.components-form-token-field__input-container{transition-duration:0s}}.components-form-token-field__input-container.is-disabled{background:#e2e4e7;border-color:#ccd0d4}.components-form-token-field__input-container.is-active{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-form-token-field__input-container input[type=text].components-form-token-field__input{display:inline-block;width:100%;max-width:100%;margin:2px 8px 2px 0;padding:0;min-height:24px;background:inherit;border:0;color:#23282d;box-shadow:none}.components-form-token-field.is-active .components-form-token-field__input-container input[type=text].components-form-token-field__input,.components-form-token-field__input-container input[type=text].components-form-token-field__input:focus{outline:none;box-shadow:none}.components-form-token-field__input-container .components-form-token-field__token+input[type=text].components-form-token-field__input{width:auto}.components-form-token-field__label{display:inline-block;margin-bottom:4px}.components-form-token-field__help{font-style:italic}.components-form-token-field__token{font-size:13px;display:flex;margin:2px 0 2px 4px;color:#32373c;overflow:hidden}.components-form-token-field__token.is-success .components-form-token-field__remove-token,.components-form-token-field__token.is-success .components-form-token-field__token-text{background:#4ab866}.components-form-token-field__token.is-error .components-form-token-field__remove-token,.components-form-token-field__token.is-error .components-form-token-field__token-text{background:#d94f4f}.components-form-token-field__token.is-validating .components-form-token-field__remove-token,.components-form-token-field__token.is-validating .components-form-token-field__token-text{color:#555d66}.components-form-token-field__token.is-borderless{position:relative;padding:0 0 0 16px}.components-form-token-field__token.is-borderless .components-form-token-field__token-text{background:transparent;color:#11a0d2}body.admin-color-sunrise .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c8b03c}body.admin-color-ocean .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#a89d8a}body.admin-color-midnight .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#77a6b9}body.admin-color-ectoplasm .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c77430}body.admin-color-coffee .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#9fa47b}body.admin-color-blue .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#d9ab59}body.admin-color-light .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c75726}.components-form-token-field__token.is-borderless .components-form-token-field__remove-token{background:transparent;color:#555d66;position:absolute;top:1px;left:0}.components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text{color:#4ab866}.components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text{color:#d94f4f;border-radius:0 4px 4px 0;padding:0 6px 0 4px}.components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text{color:#23282d}.components-form-token-field__token.is-disabled .components-form-token-field__remove-token{cursor:default}.components-form-token-field__remove-token.components-icon-button,.components-form-token-field__token-text{display:inline-block;line-height:24px;background:#e2e4e7;transition:all .2s cubic-bezier(.4,1,.4,1)}@media (prefers-reduced-motion:reduce){.components-form-token-field__remove-token.components-icon-button,.components-form-token-field__token-text{transition-duration:0s;animation-duration:1ms}}.components-form-token-field__token-text{border-radius:0 12px 12px 0;padding:0 8px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.components-form-token-field__remove-token.components-icon-button{cursor:pointer;border-radius:12px 0 0 12px;padding:0 2px;color:#555d66;line-height:10px;overflow:initial}.components-form-token-field__remove-token.components-icon-button:hover{color:#32373c}.components-form-token-field__suggestions-list{flex:1 0 100%;min-width:100%;max-height:9em;overflow-y:scroll;transition:all .15s ease-in-out;list-style:none;border-top:1px solid #6c7781;margin:4px -4px -4px;padding-top:3px}@media (prefers-reduced-motion:reduce){.components-form-token-field__suggestions-list{transition-duration:0s}}.components-form-token-field__suggestion{color:#555d66;display:block;font-size:13px;padding:4px 8px;cursor:pointer}.components-form-token-field__suggestion.is-selected{background:#0071a1;color:#fff}.components-form-token-field__suggestion-match{text-decoration:underline}.components-guide .components-modal__header{background:none;border-bottom:none}.components-guide .components-modal__header .components-icon-button{align-self:flex-start;margin-top:24px;position:static}.components-guide__container{align-items:center;display:flex;flex-direction:column;margin-top:-56px;min-height:100%}.components-guide__footer{align-content:center;display:flex;height:30px;justify-content:center;margin:auto 0 24px;position:relative;width:100%}@media (min-width:600px){.components-guide__footer{margin:24px 0 0}}.components-guide__page-control{margin:0}.components-guide__page-control li{display:inline-block;margin:0 2px}.components-guide__page-control .components-icon-button{height:30px}@media (max-width:600px){.components-modal__frame.components-guide{bottom:15%;right:24px;left:24px;top:15%}}.components-button.components-guide__back-button,.components-button.components-guide__finish-button,.components-button.components-guide__forward-button{height:30px;position:absolute}.components-button.components-guide__back-button,.components-button.components-guide__forward-button{font-size:0;padding:4px 2px}.components-button.components-guide__back-button.has-text svg,.components-button.components-guide__forward-button.has-text svg{margin:0}@media (min-width:600px){.components-button.components-guide__back-button,.components-button.components-guide__forward-button{font-size:13px}}.components-button.components-guide__back-button{right:0}@media (min-width:600px){.components-button.components-guide__back-button{padding:4px 2px 4px 8px}.components-button.components-guide__back-button.has-text svg{margin-left:4px}}.components-button.components-guide__forward-button{left:0}@media (min-width:600px){.components-button.components-guide__forward-button{padding:4px 8px 4px 2px}.components-button.components-guide__forward-button.has-text svg{margin-right:4px;order:1}}.components-button.components-guide__finish-button{display:none;left:0}@media (min-width:600px){.components-button.components-guide__finish-button{display:unset}}@media (min-width:600px){.components-button.components-guide__inline-finish-button{display:none}}.components-navigate-regions.is-focusing-regions [role=region]{position:relative}.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:"";position:absolute;top:0;bottom:0;right:0;left:0;pointer-events:none;outline:4px solid transparent;box-shadow:inset 0 0 0 4px #33b3db}@supports (outline-offset:1px){.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:none}.components-navigate-regions.is-focusing-regions [role=region]:focus{outline-style:solid;outline-color:#33b3db;outline-width:4px;outline-offset:-4px}}.components-icon-button{display:flex;align-items:center;padding:8px;margin:0;border:none;background:none;color:#555d66;position:relative;overflow:hidden;border-radius:4px}.components-icon-button .dashicon{display:inline-block;flex:0 0 auto}.components-icon-button svg{fill:currentColor;outline:none}.components-icon-button.has-text svg{margin-left:4px}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):active{outline:none;background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #ccd0d4,inset 0 0 0 2px #fff}.components-icon-button:disabled:focus,.components-icon-button[aria-disabled=true]:focus{box-shadow:none}.components-menu-group{width:100%;padding:7px 0}.components-menu-group__label{margin-bottom:8px;color:#6c7781;padding:0 7px}.components-menu-item__button,.components-menu-item__button.components-icon-button{width:100%;padding:8px 15px;text-align:right;color:#40464d;border:none;box-shadow:none}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button.components-icon-button .dashicon,.components-menu-item__button.components-icon-button>span>svg,.components-menu-item__button .components-menu-items__item-icon,.components-menu-item__button .dashicon,.components-menu-item__button>span>svg{margin-left:5px}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button .components-menu-items__item-icon{display:inline-block;flex:0 0 auto}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut,.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut{color:#40464d}.components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-menu-item__info-wrapper{display:flex;flex-direction:column}.components-menu-item__info{margin-top:4px;font-size:12px;color:#6c7781}.components-menu-item__shortcut{-ms-grid-row-align:center;align-self:center;color:#6c7781;margin-left:0;margin-right:auto;padding-right:8px;display:none}@media (min-width:480px){.components-menu-item__shortcut{display:inline}}.components-menu-items-choice,.components-menu-items-choice.components-icon-button{padding-right:2rem}.components-menu-items-choice.components-icon-button.has-icon,.components-menu-items-choice.has-icon{padding-right:.5rem}.components-menu-items-choice.components-icon-button .dashicon,.components-menu-items-choice .dashicon{margin-left:4px}.components-modal__screen-overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,.7);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-modal__screen-overlay{animation-duration:1ms}}.components-modal__frame{position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;margin:0;border:1px solid #e2e4e7;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.2);overflow:auto}@media (min-width:600px){.components-modal__frame{top:50%;left:auto;bottom:auto;right:50%;min-width:360px;max-width:calc(100% - 32px);max-height:calc(100% - 112px);transform:translate(50%,-50%);animation:components-modal__appear-animation .1s ease-out;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.components-modal__frame{animation-duration:1ms}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #e2e4e7;padding:0 24px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:56px;position:-webkit-sticky;position:sticky;top:0;z-index:10;margin:0 -24px 24px}@supports (-ms-ime-align:auto){.components-modal__header{position:fixed;width:100%}}.components-modal__header .components-modal__header-heading{font-size:1rem;font-weight:600}.components-modal__header h1{line-height:1;margin:0}.components-modal__header .components-icon-button{position:relative;right:8px}.components-modal__header-heading-container{align-items:center;flex-grow:1;display:flex;flex-direction:row;justify-content:left}.components-modal__header-icon-container{display:inline-block}.components-modal__header-icon-container svg{max-width:36px;max-height:36px;padding:8px}.components-modal__content{box-sizing:border-box;height:100%;padding:0 24px 24px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:56px}}.components-notice{display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background-color:#e5f5fa;border-right:4px solid #00a0d2;margin:5px 15px 2px;padding:8px 12px;align-items:center}.components-notice.is-dismissible{padding-left:36px;position:relative}.components-notice.is-success{border-right-color:#4ab866;background-color:#eff9f1}.components-notice.is-warning{border-right-color:#f0b849;background-color:#fef8ee}.components-notice.is-error{border-right-color:#d94f4f;background-color:#f9e2e2}.components-notice__content{flex-grow:1;margin:4px 0 4px 25px}.components-notice__action.components-button,.components-notice__action.components-button.is-link{margin-right:4px}.components-notice__action.components-button.is-default{vertical-align:initial}.components-notice__dismiss{color:#6c7781;align-self:flex-start;flex-shrink:0}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#191e23;background-color:transparent}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.components-notice-list{max-width:100vw;box-sizing:border-box;z-index:29}.components-notice-list .components-notice__content{margin-top:12px;margin-bottom:12px;line-height:1.6}.components-notice-list .components-notice__action.components-button{margin-top:-2px;margin-bottom:-2px}.components-panel{background:#fff;border:1px solid #e2e4e7}.components-panel>.components-panel__body:first-child,.components-panel>.components-panel__header:first-child{margin-top:-1px}.components-panel>.components-panel__body:last-child,.components-panel>.components-panel__header:last-child{border-bottom-width:0}.components-panel+.components-panel{margin-top:-1px}.components-panel__body{border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__body h3{margin:0 0 .5em}.components-panel__body.is-opened{padding:16px}.components-panel__body>.components-icon-button{color:#191e23}.components-panel__header{display:flex;justify-content:space-between;align-items:center;padding:0 16px;height:50px;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__header h2{margin:0;font-size:inherit;color:inherit}.components-panel__body+.components-panel__body,.components-panel__body+.components-panel__header,.components-panel__header+.components-panel__body,.components-panel__header+.components-panel__header{margin-top:-1px}.components-panel__body>.components-panel__body-title{display:block;padding:0;font-size:inherit;margin-top:0;margin-bottom:0;transition:background .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body>.components-panel__body-title{transition-duration:0s}}.components-panel__body.is-opened>.components-panel__body-title{margin:-16px -16px 5px}.components-panel__body>.components-panel__body-title:hover,.edit-post-last-revision__panel>.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background:#f3f4f5}.components-panel__body-toggle.components-button{position:relative;padding:15px;outline:none;width:100%;font-weight:600;text-align:right;color:#191e23;border:none;box-shadow:none;transition:background .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button{transition-duration:0s}}.components-panel__body-toggle.components-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-panel__body-toggle.components-button .components-panel__arrow{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#191e23;fill:currentColor;transition:color .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button .components-panel__arrow{transition-duration:0s}}body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right{transform:scaleX(-1);-ms-filter:fliph;filter:FlipH;margin-top:-10px}.components-panel__icon{color:#555d66;margin:-2px 6px -2px 0}.components-panel__body-toggle-icon{margin-left:-5px}.components-panel__color-title{float:right;height:19px}.components-panel__row{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.components-panel__row select{min-width:0}.components-panel__row label{margin-left:10px;flex-shrink:0;max-width:75%}.components-panel__row:empty,.components-panel__row:first-of-type{margin-top:0}.components-panel .circle-picker{padding-bottom:20px}.components-placeholder{margin-bottom:28px;padding:1em;min-height:200px;width:100%;text-align:center;background:rgba(139,139,150,.1)}@supports ((position:-webkit-sticky) or (position:sticky)){.components-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center}}.is-dark-theme .components-placeholder{background:hsla(0,0%,100%,.15)}.components-placeholder__fieldset,.components-placeholder__instructions,.components-placeholder__label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__label{display:flex;align-items:center;justify-content:center;font-weight:600;margin-bottom:1em}.components-placeholder__label .block-editor-block-icon,.components-placeholder__label .dashicon{fill:currentColor;margin-left:1ch}.components-placeholder__fieldset,.components-placeholder__fieldset form{display:flex;flex-direction:row;justify-content:center;width:100%;max-width:400px;flex-wrap:wrap;z-index:1}.components-placeholder__fieldset form p,.components-placeholder__fieldset p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__fieldset.is-column-layout,.components-placeholder__fieldset.is-column-layout form{flex-direction:column}.components-placeholder__input{margin-top:0;margin-left:8px;flex:1 1 auto}.components-placeholder__instructions{margin-bottom:1em}.components-placeholder__preview img{margin:3%;width:50%}.components-placeholder__fieldset .components-button{margin-left:4px;margin-bottom:10px}.components-placeholder__fieldset .components-button:last-child{margin-left:0}.components-placeholder__fieldset .components-button:not(.is-link)~.components-button.is-link{margin-right:10px;margin-left:10px}.components-placeholder__fieldset .components-button:not(.is-link)~.components-button.is-link:last-child{margin-left:0}.components-popover{position:fixed;z-index:1000000;left:50%;opacity:0}.components-popover.is-expanded,.components-popover[data-x-axis][data-y-axis]{opacity:1}.components-popover.is-expanded{top:0;left:0;right:0;bottom:0;z-index:1000000!important}.components-popover:not(.is-without-arrow){margin-left:2px}.components-popover:not(.is-without-arrow):before{border:8px solid #e2e4e7}.components-popover:not(.is-without-arrow):after{border:8px solid #fff}.components-popover:not(.is-without-arrow):after,.components-popover:not(.is-without-arrow):before{content:"";position:absolute;height:0;width:0;line-height:0}.components-popover:not(.is-without-arrow)[data-y-axis=top]{margin-top:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=top]:before{bottom:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=top]:after{bottom:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=top]:after,.components-popover:not(.is-without-arrow)[data-y-axis=top]:before{border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-style:solid;margin-left:-10px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]{margin-top:8px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:before{top:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:after{top:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:after,.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:before{border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;margin-left:-10px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]{margin-left:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:before{right:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:after{right:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:after,.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:before{border-bottom-color:transparent;border-left-style:solid;border-right:none;border-top-color:transparent}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]{margin-left:8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:before{left:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:after{left:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:after,.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:before{border-bottom-color:transparent;border-left:none;border-right-style:solid;border-top-color:transparent}.components-popover[data-y-axis=top]{bottom:100%}.components-popover[data-y-axis=bottom]{top:100%}.components-popover[data-y-axis=middle]{align-items:center;display:flex}.components-popover__content{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;height:100%}.components-popover .components-popover__content{position:absolute;height:auto;overflow-y:auto;min-width:260px}.components-popover.is-expanded .components-popover__content{position:static;height:calc(100% - 50px);overflow-y:visible;min-width:auto;border:none;border-top:1px solid #e2e4e7}.components-popover[data-y-axis=top] .components-popover__content{bottom:100%}.components-popover[data-x-axis=center] .components-popover__content{left:50%;transform:translateX(-50%)}.components-popover[data-x-axis=right] .components-popover__content{position:absolute;left:100%}.components-popover:not([data-y-axis=middle])[data-x-axis=right] .components-popover__content{margin-left:-24px}.components-popover[data-x-axis=left] .components-popover__content{position:absolute;right:100%}.components-popover:not([data-y-axis=middle])[data-x-axis=left] .components-popover__content{margin-right:-24px}.components-popover__content>div{height:100%}.components-popover__header{align-items:center;background:#fff;display:flex;height:50px;justify-content:space-between;padding:0 8px 0 16px}.components-popover__header-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.components-popover__close.components-icon-button{z-index:5}.components-radio-control{display:flex;flex-direction:column}.components-radio-control .components-base-control__help{margin-top:0}.components-radio-control__option:not(:last-child){margin-bottom:4px}.components-radio-control__input[type=radio]{margin-top:0;margin-left:6px}.components-range-control .components-base-control__field{display:flex;justify-content:center;flex-wrap:wrap;align-items:center}.components-range-control .dashicon{flex-shrink:0;margin-left:10px}.components-range-control .components-base-control__label{width:100%}.components-range-control .components-range-control__slider{margin-right:0;flex:1}.components-range-control__reset{margin-right:8px}.components-range-control__slider{width:100%;margin-right:8px;padding:0;-webkit-appearance:none;background:transparent}.components-range-control__slider::-webkit-slider-thumb{-webkit-appearance:none;height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box;margin-top:-7px}.components-range-control__slider::-moz-range-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box}.components-range-control__slider::-ms-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;background-clip:padding-box;box-sizing:border-box;margin-top:0;height:14px;width:14px;border:2px solid transparent}.components-range-control__slider:focus{outline:none}.components-range-control__slider:focus::-webkit-slider-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider:focus::-moz-range-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider:focus::-ms-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider::-webkit-slider-runnable-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px;margin-top:-4px}.components-range-control__slider::-moz-range-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__slider::-ms-track{margin-top:-4px;background:transparent;border-color:transparent;color:transparent;height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__number{display:inline-block;margin-right:8px;font-weight:500;width:54px}.components-resizable-box__handle{display:none;width:23px;height:23px}.components-resizable-box__container.has-show-handle .components-resizable-box__handle,.components-resizable-box__container.is-selected .components-resizable-box__handle{display:block}.components-resizable-box__handle:after{display:block;content:"";width:15px;height:15px;border:2px solid #fff;border-radius:50%;background:#0085ba;cursor:inherit;position:absolute;top:calc(50% - 8px);left:calc(50% - 8px)}body.admin-color-sunrise .components-resizable-box__handle:after{background:#d1864a}body.admin-color-ocean .components-resizable-box__handle:after{background:#a3b9a2}body.admin-color-midnight .components-resizable-box__handle:after{background:#e14d43}body.admin-color-ectoplasm .components-resizable-box__handle:after{background:#a7b656}body.admin-color-coffee .components-resizable-box__handle:after{background:#c2a68c}body.admin-color-blue .components-resizable-box__handle:after{background:#82b4cb}body.admin-color-light .components-resizable-box__handle:after{background:#0085ba}.components-resizable-box__side-handle:before{display:block;content:"";width:7px;height:7px;border:2px solid #fff;background:#0085ba;cursor:inherit;position:absolute;top:calc(50% - 4px);left:calc(50% - 4px);transition:transform .1s ease-in;opacity:0}body.admin-color-sunrise .components-resizable-box__side-handle:before{background:#d1864a}body.admin-color-ocean .components-resizable-box__side-handle:before{background:#a3b9a2}body.admin-color-midnight .components-resizable-box__side-handle:before{background:#e14d43}body.admin-color-ectoplasm .components-resizable-box__side-handle:before{background:#a7b656}body.admin-color-coffee .components-resizable-box__side-handle:before{background:#c2a68c}body.admin-color-blue .components-resizable-box__side-handle:before{background:#82b4cb}body.admin-color-light .components-resizable-box__side-handle:before{background:#0085ba}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle:before{transition-duration:0s}}.is-dark-theme .components-resizable-box__handle:after,.is-dark-theme .components-resizable-box__side-handle:before{border-color:#d7dade}.components-resizable-box__side-handle{z-index:1}.components-resizable-box__corner-handle{z-index:2}.components-resizable-box__side-handle.components-resizable-box__handle-bottom,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:before,.components-resizable-box__side-handle.components-resizable-box__handle-top,.components-resizable-box__side-handle.components-resizable-box__handle-top:before{width:100%;right:0;border-right:0;border-left:0}.components-resizable-box__side-handle.components-resizable-box__handle-left,.components-resizable-box__side-handle.components-resizable-box__handle-left:before,.components-resizable-box__side-handle.components-resizable-box__handle-right,.components-resizable-box__side-handle.components-resizable-box__handle-right:before{height:100%;top:0;border-top:0;border-bottom:0}.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:hover:before{animation:components-resizable-box__top-bottom-animation .1s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:hover:before{animation-duration:1ms}}.components-resizable-box__side-handle.components-resizable-box__handle-left:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-left:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:hover:before{animation:components-resizable-box__left-right-animation .1s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle.components-resizable-box__handle-left:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-left:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:hover:before{animation-duration:1ms}}@keyframes components-resizable-box__top-bottom-animation{0%{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}@keyframes components-resizable-box__left-right-animation{0%{transform:scaleY(0);opacity:0}to{transform:scaleY(1);opacity:1}}.components-resizable-box__handle-right{right:-11.5px}.components-resizable-box__handle-left{left:-11.5px}.components-resizable-box__handle-top{top:-11.5px}.components-resizable-box__handle-bottom{bottom:-11.5px}.components-responsive-wrapper{position:relative;max-width:100%}.components-responsive-wrapper,.components-responsive-wrapper>span{display:block}.components-responsive-wrapper__content{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.components-sandbox{overflow:hidden}iframe.components-sandbox{width:100%}body.lockscroll,html.lockscroll{overflow:hidden}.components-select-control__input{background:#fff;height:36px;line-height:36px;margin:1px;outline:0;width:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)!important}@media (min-width:782px){.components-select-control__input{height:28px;line-height:28px}}@media (max-width:782px){.components-base-control .components-base-control__field .components-select-control__input{font-size:16px}}.components-snackbar{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background-color:#32373c;border-radius:4px;box-shadow:0 2px 4px rgba(0,0,0,.3);color:#fff;padding:16px 24px;width:100%;max-width:600px;box-sizing:border-box;cursor:pointer}@media (min-width:600px){.components-snackbar{width:-webkit-fit-content;width:fit-content}}.components-snackbar:hover{background-color:#191e23}.components-snackbar:focus{background-color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}.components-snackbar__action.components-button{margin-right:32px;color:#fff;height:auto;flex-shrink:0;line-height:1.4;padding:0}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default){text-decoration:underline;background-color:transparent}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):focus{color:#fff;box-shadow:none;outline:1px dotted #fff}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#33b3db}.components-snackbar__content{display:flex;align-items:baseline;justify-content:space-between;line-height:1.4}.components-snackbar-list{position:absolute;z-index:100000;width:100%;box-sizing:border-box}.components-snackbar-list__notice-container{position:relative;padding-top:8px}.components-spinner{display:inline-block;background-color:#7e8993;width:18px;height:18px;opacity:.7;float:left;margin:5px 11px 0;border-radius:100%;position:relative}.components-spinner:before{content:"";position:absolute;background-color:#fff;top:3px;left:3px;width:4px;height:4px;border-radius:100%;transform-origin:6px 6px;animation:components-spinner__animation 1s linear infinite}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.components-text-control__input,.components-textarea-control__input{width:100%;padding:6px 8px}.components-tip{display:flex;color:#555d66}.components-tip svg{-ms-grid-row-align:center;align-self:center;fill:#f0b849;flex-shrink:0;margin-left:16px}.components-tip p{margin:0}.components-toggle-control .components-base-control__field{display:flex;margin-bottom:12px;line-height:normal;align-items:center}.components-toggle-control .components-base-control__field .components-form-toggle{margin-left:16px}.components-toggle-control .components-base-control__field .components-toggle-control__label{display:block}.components-accessible-toolbar{display:inline-flex;flex-shrink:0}@supports ((position:-webkit-sticky) or (position:sticky)){.components-accessible-toolbar{display:flex}}.components-toolbar__control.components-button{width:36px;height:36px}.components-toolbar__control.components-button[data-subscript] svg{padding:5px 0 5px 10px}.components-toolbar__control.components-button[data-subscript]:after{content:attr(data-subscript);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:600;line-height:12px;position:absolute;left:8px;bottom:10px}.components-toolbar__control.components-button:not(:disabled).is-active[data-subscript]:after{color:#fff}.components-toolbar__control.components-button.is-active{padding:3px;outline:none}.components-toolbar__control.components-button.is-active>svg{padding:5px;border-radius:4px;height:30px;width:30px;box-sizing:border-box;outline:none;color:#fff;box-shadow:none;background:#555d66}.components-toolbar-group{border:1px solid #e2e4e7;background-color:#fff;display:flex;flex-shrink:0;margin-left:-1px;line-height:0}.components-toolbar-group .components-toolbar-group{border-width:0;margin:0}.components-toolbar{margin:0;border:1px solid #e2e4e7;background-color:#fff;display:flex;flex-shrink:0}div.components-toolbar>div{display:block;margin:0}@supports ((position:-webkit-sticky) or (position:sticky)){div.components-toolbar>div{display:flex}}div.components-toolbar>div+div{margin-right:-3px}div.components-toolbar>div+div.has-left-divider{margin-right:6px;position:relative;overflow:visible}div.components-toolbar>div+div.has-left-divider:before{display:inline-block;content:"";box-sizing:content-box;background-color:#e2e4e7;position:absolute;top:8px;right:-3px;width:1px;height:20px}.components-tooltip.components-popover{z-index:1000002}.components-tooltip.components-popover:before{border-color:transparent}.components-tooltip.components-popover[data-y-axis=top]:after{border-top-color:#191e23}.components-tooltip.components-popover[data-y-axis=bottom]:after{border-bottom-color:#191e23}.components-tooltip.components-popover .components-popover__content{min-width:0}.components-tooltip .components-popover__content{padding:4px 12px;background:#191e23;border-width:0;color:#fff;white-space:nowrap;text-align:center}.components-tooltip__shortcut{display:block;color:#7e8993}.components-visually-hidden{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.components-visually-hidden:focus{background-color:#e2e4e7;clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#444;display:block;font-size:1em;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000} \ No newline at end of file diff --git a/wp-includes/css/dist/components/style.css b/wp-includes/css/dist/components/style.css index 04bb16e170..ff44781a62 100644 --- a/wp-includes/css/dist/components/style.css +++ b/wp-includes/css/dist/components/style.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -627,42 +624,47 @@ svg.dashicon.components-checkbox-control__checked { height: 21px; left: -3px; } } -.component-color-indicator { - width: 25px; - height: 16px; - margin-left: 0.8rem; - border: 1px solid #dadada; - display: inline-block; } - .component-color-indicator + .component-color-indicator { - margin-left: 0.5rem; } - -.components-color-palette { - margin-right: -14px; - width: calc(100% + 14px); } - .components-color-palette .components-color-palette__custom-clear-wrapper { - width: calc(100% - 14px); +.components-circular-option-picker { + display: inline-block; + margin-top: 0.6rem; + width: 100%; } + .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper { display: flex; justify-content: flex-end; } -.components-color-palette__item-wrapper { +.components-circular-option-picker__option-wrapper { display: inline-block; height: 28px; width: 28px; - margin-right: 14px; - margin-bottom: 14px; + margin-right: 12px; + margin-bottom: 12px; vertical-align: top; transform: scale(1); transition: 100ms transform ease; } @media (prefers-reduced-motion: reduce) { - .components-color-palette__item-wrapper { + .components-circular-option-picker__option-wrapper { transition-duration: 0s; } } - .components-color-palette__item-wrapper:hover { + .components-circular-option-picker__option-wrapper:hover { transform: scale(1.2); } - .components-color-palette__item-wrapper > div { + .components-circular-option-picker__option-wrapper > div { height: 100%; width: 100%; } + .components-circular-option-picker__option-wrapper:nth-child(6n+6) { + margin-right: 0; } -.components-color-palette__item { +.components-circular-option-picker__option-wrapper::before { + content: ""; + position: absolute; + top: 1px; + left: 1px; + bottom: 1px; + right: 1px; + border-radius: 50%; + z-index: -1; + /* stylelint-disable-next-line function-url-quotes */ + background: url('data:image/svg+xml,%3Csvg width="28" height="28" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M6 8V6H4v2h2zM8 8V6h2v2H8zM10 16H8v-2h2v2zM12 16v-2h2v2h-2zM12 18v-2h-2v2H8v2h2v-2h2zM14 18v2h-2v-2h2zM16 18h-2v-2h2v2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M18 18h2v-2h-2v-2h2v-2h-2v-2h2V8h-2v2h-2V8h-2v2h2v2h-2v2h2v2h2v2zm-2-4v-2h2v2h-2z" fill="%23555D65"/%3E%3Cpath d="M18 18v2h-2v-2h2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M8 10V8H6v2H4v2h2v2H4v2h2v2H4v2h2v2H4v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2v2h-2V4h-2v2h-2V4h-2v2h-2V4h-2v2h2v2h-2v2H8zm0 2v-2H6v2h2zm2 0v-2h2v2h-2zm0 2v-2H8v2H6v2h2v2H6v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h-2v2h-2V6h-2v2h-2v2h2v2h-2v2h-2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M4 0H2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2H8V0H6v2H4V0zm0 4V2H2v2h2zm2 0V2h2v2H6zm0 2V4H4v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2H8v2H6z" fill="%23555D65"/%3E%3C/svg%3E'); } + +.components-circular-option-picker__option { display: inline-block; vertical-align: top; height: 100%; @@ -674,17 +676,21 @@ svg.dashicon.components-checkbox-control__checked { transition: 100ms box-shadow ease; cursor: pointer; } @media (prefers-reduced-motion: reduce) { - .components-color-palette__item { + .components-circular-option-picker__option { transition-duration: 0s; } } - .components-color-palette__item.is-active { + .components-circular-option-picker__option.is-active { box-shadow: inset 0 0 0 4px; position: relative; z-index: 1; } - .components-color-palette__item.is-active + .dashicons-saved { + .components-circular-option-picker__option.is-active + .dashicons-saved { position: absolute; left: 4px; - top: 4px; } - .components-color-palette__item::after { + top: 4px; + border-radius: 50%; + z-index: 2; + background: #fff; + pointer-events: none; } + .components-circular-option-picker__option::after { content: ""; position: absolute; top: -1px; @@ -694,9 +700,9 @@ svg.dashicon.components-checkbox-control__checked { border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); border: 1px solid transparent; } - .components-color-palette__item:focus { + .components-circular-option-picker__option:focus { outline: none; } - .components-color-palette__item:focus::after { + .components-circular-option-picker__option:focus::after { content: ""; border: 2px solid #606a73; width: 32px; @@ -707,11 +713,24 @@ svg.dashicon.components-checkbox-control__checked { border-radius: 50%; box-shadow: inset 0 0 0 2px #fff; } -.components-color-palette__custom-color { +.components-circular-option-picker__button-action .components-circular-option-picker__option { + color: #fff; + background: #fff; } + +.components-circular-option-picker__dropdown-link-action { margin-right: 16px; } - .components-color-palette__custom-color .components-button { + .components-circular-option-picker__dropdown-link-action .components-button { line-height: 22px; } +.component-color-indicator { + width: 25px; + height: 16px; + margin-left: 0.8rem; + border: 1px solid #dadada; + display: inline-block; } + .component-color-indicator + .component-color-indicator { + margin-left: 0.5rem; } + /** * Parts of this source were derived and modified from react-color, * released under the MIT license. @@ -741,6 +760,10 @@ svg.dashicon.components-checkbox-control__checked { .components-color-picker { width: 100%; overflow: hidden; } + .components-color-picker * { + box-sizing: border-box; } + .components-color-picker .components-icon-button { + padding: 6px; } .components-color-picker__saturation { width: 100%; @@ -888,17 +911,111 @@ svg.dashicon.components-checkbox-control__checked { display: flex; align-items: flex-end; } .components-color-picker__inputs-wrapper fieldset { - flex: 1; } + flex: 1; + border: none; + margin: 0; + padding: 0; } .components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type="number"] { - padding: 2px; } + padding: 6px 8px; } + +.components-color-picker__inputs-field { + width: 100%; } .components-color-picker__inputs-fields { display: flex; /*rtl:ignore*/ - direction: ltr; } + direction: ltr; + flex-grow: 1; } + .components-color-picker__inputs-fields .components-base-control + .components-base-control { + margin-bottom: 0; } .components-color-picker__inputs-fields .components-base-control__field { margin: 0 4px; } +.components-custom-gradient-picker:not(.has-gradient) { + opacity: 0.4; } + +.components-custom-gradient-picker { + width: 100%; + height: 24px; + border-radius: 24px; + margin-bottom: 8px; + padding-left: 3px; + padding-right: 21px; } + .components-custom-gradient-picker .components-custom-gradient-picker__markers-container { + position: relative; } + .components-custom-gradient-picker .components-custom-gradient-picker__insert-point { + border-radius: 50%; + background: #fff; + padding: 2px; + width: 24px; + height: 24px; + position: relative; } + .components-custom-gradient-picker .components-custom-gradient-picker__control-point-button { + border: 2px solid #fff; + border-radius: 50%; + height: 18px; + position: absolute; + width: 18px; + top: 3px; } + .components-custom-gradient-picker .components-custom-gradient-picker__control-point-button.is-active { + background: #fafafa; + color: #23282d; + border-color: #999; + box-shadow: inset 0 -1px 0 #999, 0 0 0 1px #fff, 0 0 0 3px #007cba; } + +.components-custom-gradient-picker__color-picker-popover .components-custom-gradient-picker__remove-control-point { + margin-left: auto; + margin-right: auto; + display: block; + margin-bottom: 8px; } + +.components-custom-gradient-picker__inserter { + width: 100%; } + +.components-custom-select-control { + color: #555d66; + position: relative; } + +.components-custom-select-control__label { + display: block; + margin-bottom: 5px; } + +.components-custom-select-control__button { + border: 1px solid #7e8993; + border-radius: 4px; + color: #555d66; + display: inline; + min-height: 30px; + min-width: 130px; + position: relative; + text-align: left; } + .components-custom-select-control__button:focus { + border-color: #00a0d2; } + .components-custom-select-control__button-icon { + height: 100%; + padding: 0 4px; + position: absolute; + right: 0; + top: 0; } + +.components-custom-select-control__menu { + background: #fff; + padding: 0; + position: absolute; + width: 100%; + z-index: 1000000; } + +.components-custom-select-control__item { + align-items: center; + display: flex; + list-style-type: none; + padding: 10px 5px 10px 25px; } + .components-custom-select-control__item.is-highlighted { + background: #e2e4e7; } + .components-custom-select-control__item-icon { + margin-left: -20px; + margin-right: 0; } + svg.dashicon { fill: currentColor; outline: none; } @@ -1726,42 +1843,43 @@ svg.dashicon { fill: #cacccd; } /*rtl:end:ignore*/ -.components-datetime .components-datetime__calendar-help { - padding: 8px; } - .components-datetime .components-datetime__calendar-help h4 { +.components-datetime { + padding: 16px; } + .components-datetime .components-datetime__calendar-help { + padding: 16px; } + .components-datetime .components-datetime__calendar-help h4 { + margin: 0; } + .components-datetime .components-datetime__date-help-button { + display: block; + margin-left: auto; } + .components-datetime fieldset { + border: 0; + padding: 0; margin: 0; } - -.components-datetime .components-datetime__date-help-button { - display: block; - margin-left: auto; - margin-right: 8px; - margin-top: 0.5em; } - -.components-datetime fieldset { - border: 0; - padding: 0; - margin: 0; } - -.components-datetime select, -.components-datetime input { - box-sizing: border-box; - height: 28px; - vertical-align: middle; - padding: 0; - box-shadow: 0 0 0 transparent; - transition: box-shadow 0.1s linear; - border-radius: 4px; - border: 1px solid #7e8993; } - @media (prefers-reduced-motion: reduce) { - .components-datetime select, - .components-datetime input { - transition-duration: 0s; } } + .components-datetime select, + .components-datetime input { + box-shadow: 0 0 0 transparent; + transition: box-shadow 0.1s linear; + border-radius: 4px; + border: 1px solid #7e8993; } + @media (prefers-reduced-motion: reduce) { + .components-datetime select, + .components-datetime input { + transition-duration: 0s; } } + .components-datetime select, + .components-datetime input[type="number"], + .components-datetime .components-button { + height: 30px; + margin-top: 0; + margin-bottom: 0; } .components-datetime__date { min-height: 236px; - border-top: 1px solid #e2e4e7; - margin-left: -8px; - margin-right: -8px; } + border-top: 1px solid #e2e4e7; } + .components-datetime__date .CalendarMonthGrid { + margin-left: -13px; } + .components-datetime__date .DayPickerNavigation_leftButton__horizontalDefault { + left: 0; } .components-datetime__date .CalendarMonth_caption { font-size: 13px; } .components-datetime__date .CalendarDay { @@ -1811,15 +1929,21 @@ svg.dashicon { outline: 2px solid transparent; } .components-datetime__date .DayPicker_weekHeader { top: 50px; } + .components-datetime__date .DayPicker_weekHeader .DayPicker_weekHeader_ul { + margin: 1px 0; + padding-left: 0; + padding-right: 0; } .components-datetime__date.is-description-visible .DayPicker, .components-datetime__date.is-description-visible .components-datetime__date-help-button { visibility: hidden; } .components-datetime__time { - margin-bottom: 1em; } + padding-bottom: 16px; } .components-datetime__time fieldset { - margin-top: 0.5em; - position: relative; } + position: relative; + margin-bottom: 0.5em; } + .components-datetime__time fieldset + fieldset { + margin-bottom: 0; } .components-datetime__time .components-datetime__time-field-am-pm fieldset { margin-top: 0; } .components-datetime__time .components-datetime__time-wrapper { @@ -1897,8 +2021,20 @@ svg.dashicon { .components-popover .components-datetime__date { padding-left: 4px; } -.components-popover.edit-post-post-schedule__dialog.is-bottom.is-left { - z-index: 100000; } +.block-editor-dimension-control .components-base-control__field { + display: flex; + align-items: center; } + +.block-editor-dimension-control .components-base-control__label { + display: flex; + align-items: center; + margin-right: 1em; + margin-bottom: 0; } + .block-editor-dimension-control .components-base-control__label .dashicon { + margin-right: 0.5em; } + +.block-editor-dimension-control.is-manual .components-base-control__label { + width: 10em; } .components-disabled { position: relative; @@ -1989,39 +2125,20 @@ body.is-dragging-components-draggable { .components-drop-zone__provider { height: 100%; } -.components-dropdown-menu { - padding: 3px; - display: flex; } - .components-dropdown-menu .components-dropdown-menu__toggle { - width: auto; - margin: 0; - padding: 4px; - border: 1px solid transparent; - display: flex; - flex-direction: row; } - .components-dropdown-menu .components-dropdown-menu__toggle.is-active, .components-dropdown-menu .components-dropdown-menu__toggle.is-active:hover { - box-shadow: none; - background-color: #555d66; - color: #fff; } - .components-dropdown-menu .components-dropdown-menu__toggle:focus::before { - top: -3px; - right: -3px; - bottom: -3px; - left: -3px; } - .components-dropdown-menu .components-dropdown-menu__toggle:hover, .components-dropdown-menu .components-dropdown-menu__toggle:focus, .components-dropdown-menu .components-dropdown-menu__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { - color: #555d66; - box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; } - .components-dropdown-menu .components-dropdown-menu__toggle .components-dropdown-menu__indicator::after { - content: ""; - pointer-events: none; - display: block; - width: 0; - height: 0; - border-left: 3px solid transparent; - border-right: 3px solid transparent; - border-top: 5px solid; - margin-left: 4px; - margin-right: 2px; } +.components-dropdown { + display: inline-block; } + +.components-dropdown-menu__indicator::after { + content: ""; + pointer-events: none; + display: block; + width: 0; + height: 0; + border-left: 3px solid transparent; + border-right: 3px solid transparent; + border-top: 5px solid; + margin-left: 4px; + margin-right: 2px; } .components-dropdown-menu__popover .components-popover__content { width: 200px; } @@ -2177,25 +2294,37 @@ body.is-dragging-components-draggable { .components-font-size-picker__controls { max-width: 248px; display: flex; - justify-content: space-between; align-items: center; margin-bottom: 24px; } .components-font-size-picker__controls .components-range-control__number { height: 30px; - margin-left: 0; } + margin-bottom: 0; + margin-top: 5px; + margin-left: 0; + margin-right: 8px; } .components-font-size-picker__controls .components-range-control__number[value=""] + .components-button { cursor: default; opacity: 0.3; pointer-events: none; } - -.components-font-size-picker__select.components-font-size-picker__select.components-font-size-picker__select.components-font-size-picker__select, -.components-font-size-picker__select .components-base-control__field { - margin-bottom: 0; } + .components-font-size-picker__controls .components-range-control__number-container { + display: flex; + flex-direction: column; } + .components-font-size-picker__controls .components-font-size-picker__select { + margin-right: 8px; + flex-grow: 1; } + .components-font-size-picker__controls .components-color-palette__clear { + height: 30px; + margin-top: 23px; } .components-font-size-picker__custom-input .components-range-control__slider + .dashicon { width: 30px; height: 30px; } +.components-font-size-picker { + border: 0; + padding: 0; + margin: 0; } + .components-form-file-upload .components-button.is-large { padding-left: 6px; } @@ -2495,25 +2624,109 @@ body.is-dragging-components-draggable { .components-form-token-field__suggestion-match { text-decoration: underline; } -.components-navigate-regions.is-focusing-regions [role="region"]:focus::after { - content: ""; - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - pointer-events: none; - outline: 4px solid transparent; - box-shadow: inset 0 0 0 4px #33b3db; } +.components-guide .components-modal__header { + background: none; + border-bottom: none; } + .components-guide .components-modal__header .components-icon-button { + align-self: flex-start; + margin-top: 24px; + position: static; } -@supports (outline-offset: 1px) { +.components-guide__container { + align-items: center; + display: flex; + flex-direction: column; + margin-top: -56px; + min-height: 100%; } + +.components-guide__footer { + align-content: center; + display: flex; + height: 30px; + justify-content: center; + margin: auto 0 24px 0; + position: relative; + width: 100%; } + @media (min-width: 600px) { + .components-guide__footer { + margin: 24px 0 0; } } + +.components-guide__page-control { + margin: 0; } + .components-guide__page-control li { + display: inline-block; + margin: 0 2px; } + .components-guide__page-control .components-icon-button { + height: 30px; } + +@media (max-width: 600px) { + .components-modal__frame.components-guide { + bottom: 15%; + left: 24px; + right: 24px; + top: 15%; } } + +.components-button.components-guide__back-button, .components-button.components-guide__forward-button, .components-button.components-guide__finish-button { + height: 30px; + position: absolute; } + +.components-button.components-guide__back-button, .components-button.components-guide__forward-button { + font-size: 0; + padding: 4px 2px; } + .components-button.components-guide__back-button.has-text svg, .components-button.components-guide__forward-button.has-text svg { + margin: 0; } + @media (min-width: 600px) { + .components-button.components-guide__back-button, .components-button.components-guide__forward-button { + font-size: 13px; } } + +.components-button.components-guide__back-button { + left: 0; } + @media (min-width: 600px) { + .components-button.components-guide__back-button { + padding: 4px 8px 4px 2px; } + .components-button.components-guide__back-button.has-text svg { + margin-right: 4px; } } + +.components-button.components-guide__forward-button { + right: 0; } + @media (min-width: 600px) { + .components-button.components-guide__forward-button { + padding: 4px 2px 4px 8px; } + .components-button.components-guide__forward-button.has-text svg { + margin-left: 4px; + order: 1; } } + +.components-button.components-guide__finish-button { + display: none; + right: 0; } + @media (min-width: 600px) { + .components-button.components-guide__finish-button { + display: unset; } } + +@media (min-width: 600px) { + .components-button.components-guide__inline-finish-button { + display: none; } } + +.components-navigate-regions.is-focusing-regions [role="region"] { + position: relative; } .components-navigate-regions.is-focusing-regions [role="region"]:focus::after { - content: none; } - .components-navigate-regions.is-focusing-regions [role="region"]:focus { - outline-style: solid; - outline-color: #33b3db; - outline-width: 4px; - outline-offset: -4px; } } + content: ""; + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + pointer-events: none; + outline: 4px solid transparent; + box-shadow: inset 0 0 0 4px #33b3db; } + @supports (outline-offset: 1px) { + .components-navigate-regions.is-focusing-regions [role="region"]:focus::after { + content: none; } + .components-navigate-regions.is-focusing-regions [role="region"]:focus { + outline-style: solid; + outline-color: #33b3db; + outline-width: 4px; + outline-offset: -4px; } } .components-icon-button { display: flex; @@ -2612,6 +2825,16 @@ body.is-dragging-components-draggable { .components-menu-item__shortcut { display: inline; } } +.components-menu-items-choice, +.components-menu-items-choice.components-icon-button { + padding-left: 2rem; } + .components-menu-items-choice.has-icon, + .components-menu-items-choice.components-icon-button.has-icon { + padding-left: 0.5rem; } + .components-menu-items-choice .dashicon, + .components-menu-items-choice.components-icon-button .dashicon { + margin-right: 4px; } + .components-modal__screen-overlay { position: fixed; top: 0; @@ -2956,79 +3179,95 @@ body.is-dragging-components-draggable { margin: 3%; width: 50%; } +.components-placeholder__fieldset .components-button { + margin-right: 4px; + margin-bottom: 10px; } + .components-placeholder__fieldset .components-button:last-child { + margin-right: 0; } + +.components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link { + margin-left: 10px; + margin-right: 10px; } + .components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link:last-child { + margin-right: 0; } + /*!rtl:begin:ignore*/ .components-popover { position: fixed; z-index: 1000000; - left: 50%; } - .components-popover.is-mobile { + left: 50%; + opacity: 0; } + .components-popover.is-expanded, .components-popover[data-x-axis][data-y-axis] { + opacity: 1; } + .components-popover.is-expanded { top: 0; left: 0; right: 0; - bottom: 0; } - .components-popover:not(.is-without-arrow):not(.is-mobile) { + bottom: 0; + z-index: 1000000 !important; } + .components-popover:not(.is-without-arrow) { margin-left: 2px; } - .components-popover:not(.is-without-arrow):not(.is-mobile)::before { + .components-popover:not(.is-without-arrow)::before { border: 8px solid #e2e4e7; } - .components-popover:not(.is-without-arrow):not(.is-mobile)::after { + .components-popover:not(.is-without-arrow)::after { border: 8px solid #fff; } - .components-popover:not(.is-without-arrow):not(.is-mobile)::before, .components-popover:not(.is-without-arrow):not(.is-mobile)::after { + .components-popover:not(.is-without-arrow)::before, .components-popover:not(.is-without-arrow)::after { content: ""; position: absolute; height: 0; width: 0; line-height: 0; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-top { + .components-popover:not(.is-without-arrow)[data-y-axis="top"] { margin-top: -8px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-top::before { + .components-popover:not(.is-without-arrow)[data-y-axis="top"]::before { bottom: -8px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-top::after { + .components-popover:not(.is-without-arrow)[data-y-axis="top"]::after { bottom: -6px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-top::before, .components-popover:not(.is-without-arrow):not(.is-mobile).is-top::after { + .components-popover:not(.is-without-arrow)[data-y-axis="top"]::before, .components-popover:not(.is-without-arrow)[data-y-axis="top"]::after { border-bottom: none; border-left-color: transparent; border-right-color: transparent; border-top-style: solid; margin-left: -10px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom { + .components-popover:not(.is-without-arrow)[data-y-axis="bottom"] { margin-top: 8px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom::before { + .components-popover:not(.is-without-arrow)[data-y-axis="bottom"]::before { top: -8px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom::after { + .components-popover:not(.is-without-arrow)[data-y-axis="bottom"]::after { top: -6px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom::before, .components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom::after { + .components-popover:not(.is-without-arrow)[data-y-axis="bottom"]::before, .components-popover:not(.is-without-arrow)[data-y-axis="bottom"]::after { border-bottom-style: solid; border-left-color: transparent; border-right-color: transparent; border-top: none; margin-left: -10px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left { + .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="left"] { margin-left: -8px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left::before { + .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="left"]::before { right: -8px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left::after { + .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="left"]::after { right: -6px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left::before, .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left::after { + .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="left"]::before, .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="left"]::after { border-bottom-color: transparent; border-left-style: solid; border-right: none; border-top-color: transparent; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right { + .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="right"] { margin-left: 8px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right::before { + .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="right"]::before { left: -8px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right::after { + .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="right"]::after { left: -6px; } - .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right::before, .components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right::after { + .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="right"]::before, .components-popover:not(.is-without-arrow)[data-y-axis="middle"][data-x-axis="right"]::after { border-bottom-color: transparent; border-left: none; border-right-style: solid; border-top-color: transparent; } - .components-popover:not(.is-mobile).is-top { + .components-popover[data-y-axis="top"] { bottom: 100%; } - .components-popover:not(.is-mobile).is-bottom { + .components-popover[data-y-axis="bottom"] { top: 100%; } - .components-popover:not(.is-mobile).is-middle { + .components-popover[data-y-axis="middle"] { align-items: center; display: flex; } @@ -3037,28 +3276,32 @@ body.is-dragging-components-draggable { border: 1px solid #e2e4e7; background: #fff; height: 100%; } - .components-popover.is-mobile .components-popover__content { - height: calc(100% - 50px); - border-top: 0; } - .components-popover:not(.is-mobile) .components-popover__content { + .components-popover .components-popover__content { position: absolute; height: auto; overflow-y: auto; min-width: 260px; } - .components-popover:not(.is-mobile).is-top .components-popover__content { + .components-popover.is-expanded .components-popover__content { + position: static; + height: calc(100% - 50px); + overflow-y: visible; + min-width: auto; + border: none; + border-top: 1px solid #e2e4e7; } + .components-popover[data-y-axis="top"] .components-popover__content { bottom: 100%; } - .components-popover:not(.is-mobile).is-center .components-popover__content { + .components-popover[data-x-axis="center"] .components-popover__content { left: 50%; transform: translateX(-50%); } - .components-popover:not(.is-mobile).is-right .components-popover__content { + .components-popover[data-x-axis="right"] .components-popover__content { position: absolute; left: 100%; } - .components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content { + .components-popover:not([data-y-axis="middle"])[data-x-axis="right"] .components-popover__content { margin-left: -24px; } - .components-popover:not(.is-mobile).is-left .components-popover__content { + .components-popover[data-x-axis="left"] .components-popover__content { position: absolute; right: 100%; } - .components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content { + .components-popover:not([data-y-axis="middle"])[data-x-axis="left"] .components-popover__content { margin-right: -24px; } .components-popover__content > div { @@ -3067,7 +3310,6 @@ body.is-dragging-components-draggable { .components-popover__header { align-items: center; background: #fff; - border: 1px solid #e2e4e7; display: flex; height: 50px; justify-content: space-between; @@ -3209,7 +3451,8 @@ body.is-dragging-components-draggable { display: none; width: 23px; height: 23px; } - .components-resizable-box__container.is-selected .components-resizable-box__handle { + .components-resizable-box__container.is-selected .components-resizable-box__handle, + .components-resizable-box__container.has-show-handle .components-resizable-box__handle { display: block; } .components-resizable-box__handle::after { @@ -3518,22 +3761,68 @@ body.lockscroll { .components-toggle-control .components-base-control__field { display: flex; - margin-bottom: 12px; } + margin-bottom: 12px; + line-height: initial; + align-items: center; } .components-toggle-control .components-base-control__field .components-form-toggle { margin-right: 16px; } .components-toggle-control .components-base-control__field .components-toggle-control__label { - display: block; - margin-bottom: 4px; } + display: block; } + +.components-accessible-toolbar { + display: inline-flex; + flex-shrink: 0; } + @supports ((position: -webkit-sticky) or (position: sticky)) { + .components-accessible-toolbar { + display: flex; } } + +.components-toolbar__control.components-button { + width: 36px; + height: 36px; } + .components-toolbar__control.components-button[data-subscript] svg { + padding: 5px 10px 5px 0; } + .components-toolbar__control.components-button[data-subscript]::after { + content: attr(data-subscript); + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 13px; + font-weight: 600; + line-height: 12px; + position: absolute; + right: 8px; + bottom: 10px; } + .components-toolbar__control.components-button:not(:disabled).is-active[data-subscript]::after { + color: #fff; } + .components-toolbar__control.components-button.is-active { + padding: 3px; + outline: none; } + .components-toolbar__control.components-button.is-active > svg { + padding: 5px; + border-radius: 4px; + height: 30px; + width: 30px; + box-sizing: border-box; + outline: none; + color: #fff; + box-shadow: none; + background: #555d66; } + +.components-toolbar-group { + border: 1px solid #e2e4e7; + background-color: #fff; + display: flex; + flex-shrink: 0; + margin-right: -1px; + line-height: 0; } + .components-toolbar-group .components-toolbar-group { + border-width: 0; + margin: 0; } .components-toolbar { margin: 0; border: 1px solid #e2e4e7; background-color: #fff; - display: inline-flex; + display: flex; flex-shrink: 0; } - @supports ((position: -webkit-sticky) or (position: sticky)) { - .components-toolbar { - display: flex; } } div.components-toolbar > div { display: block; @@ -3559,74 +3848,15 @@ div.components-toolbar > div + div { width: 1px; height: 20px; } -.components-toolbar__control.components-button { - display: inline-flex; - align-items: flex-end; - margin: 0; - padding: 3px; - outline: none; - cursor: pointer; - position: relative; - width: 36px; - height: 36px; } - .components-toolbar__control.components-button:not([aria-disabled="true"]):not(.is-default):active, .components-toolbar__control.components-button:not([aria-disabled="true"]):hover, .components-toolbar__control.components-button:not([aria-disabled="true"]):focus { - outline: none; - box-shadow: none; - background: none; - border: none; } - .components-toolbar__control.components-button:disabled { - cursor: default; } - .components-toolbar__control.components-button > svg { - padding: 5px; - border-radius: 4px; - height: 30px; - width: 30px; } - .components-toolbar__control.components-button[data-subscript] svg { - padding: 5px 10px 5px 0; } - .components-toolbar__control.components-button[data-subscript]::after { - content: attr(data-subscript); - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - font-size: 13px; - font-weight: 600; - line-height: 12px; - position: absolute; - right: 8px; - bottom: 10px; } - .components-toolbar__control.components-button:not(:disabled):not([aria-disabled="true"]):hover { - box-shadow: none; } - .components-toolbar__control.components-button:not(:disabled).is-active > svg, - .components-toolbar__control.components-button:not(:disabled):hover > svg { - color: #555d66; - box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; } - .components-toolbar__control.components-button:not(:disabled).is-active > svg { - outline: none; - color: #fff; - box-shadow: none; - background: #555d66; } - .components-toolbar__control.components-button:not(:disabled).is-active[data-subscript]::after { - color: #fff; } - .components-toolbar__control.components-button:not(:disabled):focus > svg { - box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; - outline: 2px solid transparent; - outline: 0; } - .components-toolbar__control.components-button:not(:disabled).is-active { - outline: 1px dotted transparent; - outline-offset: -2px; } - .components-toolbar__control.components-button:not(:disabled):focus { - outline: 2px solid transparent; } - -.components-toolbar__control .dashicon { - display: block; } - .components-tooltip.components-popover { z-index: 1000002; } .components-tooltip.components-popover::before { border-color: transparent; } - .components-tooltip.components-popover.is-top::after { + .components-tooltip.components-popover[data-y-axis="top"]::after { border-top-color: #191e23; } - .components-tooltip.components-popover.is-bottom::after { + .components-tooltip.components-popover[data-y-axis="bottom"]::after { border-bottom-color: #191e23; } - .components-tooltip.components-popover:not(.is-mobile) .components-popover__content { + .components-tooltip.components-popover .components-popover__content { min-width: 0; } .components-tooltip .components-popover__content { @@ -3640,3 +3870,33 @@ div.components-toolbar > div + div { .components-tooltip__shortcut { display: block; color: #7e8993; } + +.components-visually-hidden { + border: 0; + clip: rect(1px, 1px, 1px, 1px); + -webkit-clip-path: inset(50%); + clip-path: inset(50%); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; + word-wrap: normal !important; } + +.components-visually-hidden:focus { + background-color: #e2e4e7; + clip: auto !important; + -webkit-clip-path: none; + clip-path: none; + color: #444; + display: block; + font-size: 1em; + height: auto; + left: 5px; + line-height: normal; + padding: 15px 23px 14px; + text-decoration: none; + top: 5px; + width: auto; + z-index: 100000; } diff --git a/wp-includes/css/dist/components/style.min.css b/wp-includes/css/dist/components/style.min.css index be5964f259..6fb0e0817f 100644 --- a/wp-includes/css/dist/components/style.min.css +++ b/wp-includes/css/dist/components/style.min.css @@ -1,9 +1,9 @@ -.components-animate__appear{animation:components-animate__appear-animation .1s cubic-bezier(0,0,.2,1) 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__appear{animation-duration:1ms}}.components-animate__appear.is-from-top,.components-animate__appear.is-from-top.is-from-left{transform-origin:top left}.components-animate__appear.is-from-top.is-from-right{transform-origin:top right}.components-animate__appear.is-from-bottom,.components-animate__appear.is-from-bottom.is-from-left{transform-origin:bottom left}.components-animate__appear.is-from-bottom.is-from-right{transform-origin:bottom right}@keyframes components-animate__appear-animation{0%{transform:translateY(-2em) scaleY(0) scaleX(0)}to{transform:translateY(0) scaleY(1) scaleX(1)}}.components-animate__slide-in{animation:components-animate__slide-in-animation .1s cubic-bezier(0,0,.2,1);animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__slide-in{animation-duration:1ms}}.components-animate__slide-in.is-from-left{transform:translateX(100%)}@keyframes components-animate__slide-in-animation{to{transform:translateX(0)}}.components-animate__loading{animation:components-animate__loading 1.6s ease-in-out infinite}@keyframes components-animate__loading{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.components-autocomplete__popover .components-popover__content{min-width:200px}.components-autocomplete__popover .components-autocomplete__results{padding:3px;display:flex;flex-direction:column;align-items:stretch}.components-autocomplete__popover .components-autocomplete__results:empty{display:none}.components-autocomplete__result.components-button{margin-bottom:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;color:#555d66;display:flex;flex-direction:row;flex-grow:1;flex-shrink:0;align-items:center;padding:6px 8px;margin-left:-3px;margin-right:-3px;text-align:left}.components-autocomplete__result.components-button.is-selected{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-autocomplete__result.components-button:hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-base-control{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-base-control .components-base-control__field{margin-bottom:8px}.components-panel__row .components-base-control .components-base-control__field{margin-bottom:inherit}.components-base-control .components-base-control__label{display:inline-block;margin-bottom:4px}.components-base-control .components-base-control__help{margin-top:-8px;font-style:italic}.components-base-control+.components-base-control{margin-bottom:16px}.components-button-group{display:inline-block}.components-button-group .components-button.is-button{border-radius:0;display:inline-flex}.components-button-group .components-button.is-button+.components-button.is-button{margin-left:-1px}.components-button-group .components-button.is-button:first-child{border-radius:3px 0 0 3px}.components-button-group .components-button.is-button:last-child{border-radius:0 3px 3px 0}.components-button-group .components-button.is-button.is-primary,.components-button-group .components-button.is-button:focus{position:relative;z-index:1}.components-button-group .components-button.is-button.is-primary{box-shadow:none}.components-button{display:inline-flex;text-decoration:none;font-size:13px;margin:0;border:0;cursor:pointer;-webkit-appearance:none;background:none;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.components-button{transition-duration:0s}}.components-button.is-button{padding:0 10px;line-height:2;height:28px;border-radius:3px;white-space:nowrap;border-width:1px;border-style:solid}.components-button.is-default{color:#0075af;border-color:#0075af;background:#f3f5f6}body.admin-color-sunrise .components-button.is-default{color:#c47e46;border-color:#c47e46}body.admin-color-ocean .components-button.is-default{color:#99ae98;border-color:#99ae98}body.admin-color-midnight .components-button.is-default{color:#d4483f;border-color:#d4483f}body.admin-color-ectoplasm .components-button.is-default{color:#9dab51;border-color:#9dab51}body.admin-color-coffee .components-button.is-default{color:#b69c84;border-color:#b69c84}body.admin-color-blue .components-button.is-default{color:#cca154;border-color:#cca154}body.admin-color-light .components-button.is-default{color:#007daf;border-color:#007daf}.components-button.is-default:hover{background:#f1f1f1;border-color:#005d8c;color:#005d8c;text-decoration:none}body.admin-color-sunrise .components-button.is-default:hover{border-color:#9d6538;color:#9d6538}body.admin-color-ocean .components-button.is-default:hover{border-color:#7a8b7a;color:#7a8b7a}body.admin-color-midnight .components-button.is-default:hover{border-color:#a93a32;color:#a93a32}body.admin-color-ectoplasm .components-button.is-default:hover{border-color:#7d8941;color:#7d8941}body.admin-color-coffee .components-button.is-default:hover{border-color:#927d69;color:#927d69}body.admin-color-blue .components-button.is-default:hover{border-color:#a38043;color:#a38043}body.admin-color-light .components-button.is-default:hover{border-color:#00648c;color:#00648c}.components-button.is-default:focus:enabled{background:#f3f5f6;color:#005d8c;border-color:#0076b1;box-shadow:0 0 0 1px #0076b1;text-decoration:none}body.admin-color-sunrise .components-button.is-default:focus:enabled{color:#9d6538;border-color:#c77f46;box-shadow:0 0 0 1px #c77f46}body.admin-color-ocean .components-button.is-default:focus:enabled{color:#7a8b7a;border-color:#9bb09a;box-shadow:0 0 0 1px #9bb09a}body.admin-color-midnight .components-button.is-default:focus:enabled{color:#a93a32;border-color:#d64940;box-shadow:0 0 0 1px #d64940}body.admin-color-ectoplasm .components-button.is-default:focus:enabled{color:#7d8941;border-color:#9fad52;box-shadow:0 0 0 1px #9fad52}body.admin-color-coffee .components-button.is-default:focus:enabled{color:#927d69;border-color:#b89e85;box-shadow:0 0 0 1px #b89e85}body.admin-color-blue .components-button.is-default:focus:enabled{color:#a38043;border-color:#cea255;box-shadow:0 0 0 1px #cea255}body.admin-color-light .components-button.is-default:focus:enabled{color:#00648c;border-color:#007eb1;box-shadow:0 0 0 1px #007eb1}.components-button.is-default:active:enabled{background:#f3f5f6;color:#0076b1;border-color:#7e8993;box-shadow:none}body.admin-color-sunrise .components-button.is-default:active:enabled{color:#c77f46}body.admin-color-ocean .components-button.is-default:active:enabled{color:#9bb09a}body.admin-color-midnight .components-button.is-default:active:enabled{color:#d64940}body.admin-color-ectoplasm .components-button.is-default:active:enabled{color:#9fad52}body.admin-color-coffee .components-button.is-default:active:enabled{color:#b89e85}body.admin-color-blue .components-button.is-default:active:enabled{color:#cea255}body.admin-color-light .components-button.is-default:active:enabled{color:#007eb1}.components-button.is-default:disabled,.components-button.is-default[aria-disabled=true]{color:#a0a5aa;border-color:#ddd;background:#f7f7f7;text-shadow:0 1px 0 #fff;transform:none;opacity:1}.components-button.is-primary{background:#007cba;border-color:#007cba;color:#fff;text-decoration:none;text-shadow:none}body.admin-color-sunrise .components-button.is-primary{background:#d1864a;border-color:#d1864a}body.admin-color-ocean .components-button.is-primary{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-button.is-primary{background:#e14d43;border-color:#e14d43}body.admin-color-ectoplasm .components-button.is-primary{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-button.is-primary{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-button.is-primary{background:#d9ab59;border-color:#d9ab59}body.admin-color-light .components-button.is-primary{background:#0085ba;border-color:#0085ba}.components-button.is-primary:focus:enabled,.components-button.is-primary:hover{background:#0070a7;border-color:#0070a7;color:#fff}body.admin-color-sunrise .components-button.is-primary:focus:enabled,body.admin-color-sunrise .components-button.is-primary:hover{background:#bc7943;border-color:#bc7943}body.admin-color-ocean .components-button.is-primary:focus:enabled,body.admin-color-ocean .components-button.is-primary:hover{background:#93a792;border-color:#93a792}body.admin-color-midnight .components-button.is-primary:focus:enabled,body.admin-color-midnight .components-button.is-primary:hover{background:#cb453c;border-color:#cb453c}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:hover{background:#96a44d;border-color:#96a44d}body.admin-color-coffee .components-button.is-primary:focus:enabled,body.admin-color-coffee .components-button.is-primary:hover{background:#af957e;border-color:#af957e}body.admin-color-blue .components-button.is-primary:focus:enabled,body.admin-color-blue .components-button.is-primary:hover{background:#c39a50;border-color:#c39a50}body.admin-color-light .components-button.is-primary:focus:enabled,body.admin-color-light .components-button.is-primary:hover{background:#0078a7;border-color:#0078a7}.components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}body.admin-color-sunrise .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.components-button.is-primary:active:enabled{background:#006395;border-color:#006395;color:#fff}body.admin-color-sunrise .components-button.is-primary:active:enabled{background:#a76b3b;border-color:#a76b3b}body.admin-color-ocean .components-button.is-primary:active:enabled{background:#829482;border-color:#829482}body.admin-color-midnight .components-button.is-primary:active:enabled{background:#b43e36;border-color:#b43e36}body.admin-color-ectoplasm .components-button.is-primary:active:enabled{background:#869245;border-color:#869245}body.admin-color-coffee .components-button.is-primary:active:enabled{background:#9b8570;border-color:#9b8570}body.admin-color-blue .components-button.is-primary:active:enabled{background:#ae8947;border-color:#ae8947}body.admin-color-light .components-button.is-primary:active:enabled{background:#006a95;border-color:#006a95}.components-button.is-primary:disabled,.components-button.is-primary:disabled:active:enabled,.components-button.is-primary[aria-disabled=true],.components-button.is-primary[aria-disabled=true]:active:enabled,.components-button.is-primary[aria-disabled=true]:enabled{color:#66b0d6;background:#1989c1;border-color:#1989c1;opacity:1}body.admin-color-sunrise .components-button.is-primary:disabled,body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true],body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:enabled{color:#e3b692;background:#d6925c;border-color:#d6925c}body.admin-color-ocean .components-button.is-primary:disabled,body.admin-color-ocean .components-button.is-primary:disabled:active:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true],body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:enabled{color:#c8d5c7;background:#acc0ab;border-color:#acc0ab}body.admin-color-midnight .components-button.is-primary:disabled,body.admin-color-midnight .components-button.is-primary:disabled:active:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true],body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:enabled{color:#ed948e;background:#e45f56;border-color:#e45f56}body.admin-color-ectoplasm .components-button.is-primary:disabled,body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true],body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:enabled{color:#cad39a;background:#b0bd67;border-color:#b0bd67}body.admin-color-coffee .components-button.is-primary:disabled,body.admin-color-coffee .components-button.is-primary:disabled:active:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true],body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:enabled{color:#dacaba;background:#c8af98;border-color:#c8af98}body.admin-color-blue .components-button.is-primary:disabled,body.admin-color-blue .components-button.is-primary:disabled:active:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true],body.admin-color-blue .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:enabled{color:#e8cd9b;background:#ddb36a;border-color:#ddb36a}body.admin-color-light .components-button.is-primary:disabled,body.admin-color-light .components-button.is-primary:disabled:active:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true],body.admin-color-light .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:enabled{color:#66b6d6;background:#1991c1;border-color:#1991c1}.components-button.is-primary:disabled.is-button,.components-button.is-primary:disabled.is-button:hover,.components-button.is-primary:disabled:active:enabled,.components-button.is-primary:disabled:active:enabled.is-button,.components-button.is-primary:disabled:active:enabled.is-button:hover,.components-button.is-primary:disabled:active:enabled:active:enabled,.components-button.is-primary[aria-disabled=true].is-button,.components-button.is-primary[aria-disabled=true].is-button:hover,.components-button.is-primary[aria-disabled=true]:active:enabled,.components-button.is-primary[aria-disabled=true]:active:enabled.is-button,.components-button.is-primary[aria-disabled=true]:active:enabled.is-button:hover,.components-button.is-primary[aria-disabled=true]:active:enabled:active:enabled,.components-button.is-primary[aria-disabled=true]:enabled.is-button,.components-button.is-primary[aria-disabled=true]:enabled.is-button:hover,.components-button.is-primary[aria-disabled=true]:enabled:active:enabled{box-shadow:none;text-shadow:none}.components-button.is-primary:disabled:active:enabled:focus:enabled,.components-button.is-primary:disabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary:disabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary:disabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary:disabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:disabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary:disabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary:disabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-light .components-button.is-primary:disabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.components-button.is-primary.is-busy,.components-button.is-primary.is-busy:disabled,.components-button.is-primary.is-busy[aria-disabled=true]{color:#fff;background-size:100px 100%;background-image:linear-gradient(-45deg,#007cba 28%,#006395 0,#006395 72%,#007cba 0);border-color:#007cba}body.admin-color-sunrise .components-button.is-primary.is-busy,body.admin-color-sunrise .components-button.is-primary.is-busy:disabled,body.admin-color-sunrise .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#d1864a 28%,#a76b3b 0,#a76b3b 72%,#d1864a 0);border-color:#d1864a}body.admin-color-ocean .components-button.is-primary.is-busy,body.admin-color-ocean .components-button.is-primary.is-busy:disabled,body.admin-color-ocean .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#a3b9a2 28%,#829482 0,#829482 72%,#a3b9a2 0);border-color:#a3b9a2}body.admin-color-midnight .components-button.is-primary.is-busy,body.admin-color-midnight .components-button.is-primary.is-busy:disabled,body.admin-color-midnight .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#e14d43 28%,#b43e36 0,#b43e36 72%,#e14d43 0);border-color:#e14d43}body.admin-color-ectoplasm .components-button.is-primary.is-busy,body.admin-color-ectoplasm .components-button.is-primary.is-busy:disabled,body.admin-color-ectoplasm .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#a7b656 28%,#869245 0,#869245 72%,#a7b656 0);border-color:#a7b656}body.admin-color-coffee .components-button.is-primary.is-busy,body.admin-color-coffee .components-button.is-primary.is-busy:disabled,body.admin-color-coffee .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#c2a68c 28%,#9b8570 0,#9b8570 72%,#c2a68c 0);border-color:#c2a68c}body.admin-color-blue .components-button.is-primary.is-busy,body.admin-color-blue .components-button.is-primary.is-busy:disabled,body.admin-color-blue .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#d9ab59 28%,#ae8947 0,#ae8947 72%,#d9ab59 0);border-color:#d9ab59}body.admin-color-light .components-button.is-primary.is-busy,body.admin-color-light .components-button.is-primary.is-busy:disabled,body.admin-color-light .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#0085ba 28%,#006a95 0,#006a95 72%,#0085ba 0);border-color:#0085ba}.components-button.is-link{margin:0;padding:0;box-shadow:none;border:0;border-radius:0;background:none;outline:none;text-align:left;color:#0073aa;text-decoration:underline;transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion:reduce){.components-button.is-link{transition-duration:0s}}.components-button.is-link:active,.components-button.is-link:hover{color:#00a0d2}.components-button.is-link:focus{color:#124964;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.components-button.is-link.is-destructive{color:#d94f4f}.components-button:active{color:inherit}.components-button:disabled,.components-button[aria-disabled=true]{cursor:default;opacity:.3}.components-button:focus:not(:disabled){background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-button.is-busy,.components-button.is-default.is-busy,.components-button.is-default.is-busy:disabled,.components-button.is-default.is-busy[aria-disabled=true]{animation:components-button__busy-animation 2.5s linear infinite;background-size:100px 100%;background-image:repeating-linear-gradient(-45deg,#e2e4e7,#fff 11px,#fff 0,#e2e4e7 20px);opacity:1}.components-button.is-large{height:30px;line-height:28px;padding:0 12px 2px}.components-button.is-small{height:24px;line-height:22px;padding:0 8px 1px;font-size:11px}.components-button.is-tertiary{color:#007cba;padding:0 10px;line-height:26px;height:28px}body.admin-color-sunrise .components-button.is-tertiary{color:#837425}body.admin-color-ocean .components-button.is-tertiary{color:#5e7d5e}body.admin-color-midnight .components-button.is-tertiary{color:#497b8d}body.admin-color-ectoplasm .components-button.is-tertiary{color:#523f6d}body.admin-color-coffee .components-button.is-tertiary{color:#59524c}body.admin-color-blue .components-button.is-tertiary{color:#417e9b}body.admin-color-light .components-button.is-tertiary{color:#007cba}.components-button.is-tertiary .dashicon{display:inline-block;flex:0 0 auto}.components-button.is-tertiary svg{fill:currentColor;outline:none}.components-button.is-tertiary:active:focus:enabled{box-shadow:none}.components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}body.admin-color-sunrise .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#62571c}body.admin-color-ocean .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#475e47}body.admin-color-midnight .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#375c6a}body.admin-color-ectoplasm .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#3e2f52}body.admin-color-coffee .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#433e39}body.admin-color-blue .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#315f74}body.admin-color-light .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}.components-button .screen-reader-text{height:auto}@keyframes components-button__busy-animation{0%{background-position:200px 0}}.components-checkbox-control__input[type=checkbox]{border:1px solid #b4b9be;background:#fff;color:#555;clear:none;cursor:pointer;display:inline-block;line-height:0;margin:0 4px 0 0;outline:0;padding:0!important;text-align:center;vertical-align:top;width:25px;height:25px;-webkit-appearance:none;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);transition:border-color .05s ease-in-out}@media (min-width:600px){.components-checkbox-control__input[type=checkbox]{height:16px;width:16px}}.components-checkbox-control__input[type=checkbox]:focus{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8);outline:2px solid transparent}.components-checkbox-control__input[type=checkbox]:checked{background:#11a0d2;border-color:#11a0d2}.components-checkbox-control__input[type=checkbox]:checked::-ms-check{opacity:0}.components-checkbox-control__input[type=checkbox]:focus:checked{border:none}.components-checkbox-control__input[type=checkbox]:checked:before{content:none}.components-checkbox-control__input-container{position:relative;display:inline-block;margin-right:12px;vertical-align:middle;width:25px;height:25px}@media (min-width:600px){.components-checkbox-control__input-container{width:16px;height:16px}}svg.dashicon.components-checkbox-control__checked{fill:#fff;cursor:pointer;position:absolute;left:-4px;top:-2px;width:31px;height:31px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}@media (min-width:600px){svg.dashicon.components-checkbox-control__checked{width:21px;height:21px;left:-3px}}.component-color-indicator{width:25px;height:16px;margin-left:.8rem;border:1px solid #dadada;display:inline-block}.component-color-indicator+.component-color-indicator{margin-left:.5rem}.components-color-palette{margin-right:-14px;width:calc(100% + 14px)}.components-color-palette .components-color-palette__custom-clear-wrapper{width:calc(100% - 14px);display:flex;justify-content:flex-end}.components-color-palette__item-wrapper{display:inline-block;height:28px;width:28px;margin-right:14px;margin-bottom:14px;vertical-align:top;transform:scale(1);transition:transform .1s ease}@media (prefers-reduced-motion:reduce){.components-color-palette__item-wrapper{transition-duration:0s}}.components-color-palette__item-wrapper:hover{transform:scale(1.2)}.components-color-palette__item-wrapper>div{height:100%;width:100%}.components-color-palette__item{display:inline-block;vertical-align:top;height:100%;width:100%;border:none;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 14px;transition:box-shadow .1s ease;cursor:pointer}@media (prefers-reduced-motion:reduce){.components-color-palette__item{transition-duration:0s}}.components-color-palette__item.is-active{box-shadow:inset 0 0 0 4px;position:relative;z-index:1}.components-color-palette__item.is-active+.dashicons-saved{position:absolute;left:4px;top:4px}.components-color-palette__item:after{content:"";position:absolute;top:-1px;left:-1px;bottom:-1px;right:-1px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);border:1px solid transparent}.components-color-palette__item:focus{outline:none}.components-color-palette__item:focus:after{content:"";border:2px solid #606a73;width:32px;height:32px;position:absolute;top:-2px;left:-2px;border-radius:50%;box-shadow:inset 0 0 0 2px #fff}.components-color-palette__custom-color{margin-right:16px}.components-color-palette__custom-color .components-button{line-height:22px}.components-color-picker{width:100%;overflow:hidden}.components-color-picker__saturation{width:100%;padding-bottom:55%;position:relative}.components-color-picker__body{padding:16px 16px 12px}.components-color-picker__controls{display:flex}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{padding:0;position:absolute;cursor:pointer;box-shadow:none;border:none}.components-color-picker__swatch{margin-right:8px;width:32px;height:32px;border-radius:50%;position:relative;overflow:hidden;background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0}.is-alpha-disabled .components-color-picker__swatch{width:12px;height:12px;margin-top:0}.components-color-picker__active{border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);z-index:2}.components-color-picker__active,.components-color-picker__saturation-black,.components-color-picker__saturation-color,.components-color-picker__saturation-white{position:absolute;top:0;left:0;right:0;bottom:0}.components-color-picker__saturation-color{overflow:hidden}.components-color-picker__saturation-white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.components-color-picker__saturation-black{background:linear-gradient(0deg,#000,transparent)}.components-color-picker__saturation-pointer{width:8px;height:8px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;background-color:transparent;transform:translate(-4px,-4px)}.components-color-picker__toggles{flex:1}.components-color-picker__alpha{background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0}.components-color-picker__alpha-gradient,.components-color-picker__hue-gradient{position:absolute;top:0;left:0;right:0;bottom:0}.components-color-picker__alpha,.components-color-picker__hue{height:12px;position:relative}.is-alpha-enabled .components-color-picker__hue{margin-bottom:8px}.components-color-picker__alpha-bar,.components-color-picker__hue-bar{position:relative;margin:0 3px;height:100%;padding:0 2px}.components-color-picker__hue-gradient{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer{left:0;width:14px;height:14px;border-radius:50%;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);background:#fff;transform:translate(-7px,-1px)}.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{transition-duration:0s}}.components-color-picker__saturation-pointer:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #00a0d2,0 0 5px 0 #00a0d2,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4)}.components-color-picker__alpha-pointer:focus,.components-color-picker__hue-pointer:focus{border-color:#00a0d2;box-shadow:0 0 0 2px #00a0d2,0 0 3px 0 #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-color-picker__inputs-wrapper{margin:0 -4px;padding-top:16px;display:flex;align-items:flex-end}.components-color-picker__inputs-wrapper fieldset{flex:1}.components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type=number]{padding:2px}.components-color-picker__inputs-fields{display:flex;direction:ltr}.components-color-picker__inputs-fields .components-base-control__field{margin:0 4px}svg.dashicon{fill:currentColor;outline:none}.PresetDateRangePicker_panel{padding:0 22px 11px}.PresetDateRangePicker_button{position:relative;height:100%;text-align:center;background:0 0;border:2px solid #00a699;color:#00a699;padding:4px 12px;margin-right:8px;font:inherit;font-weight:700;line-height:normal;overflow:visible;box-sizing:border-box;cursor:pointer}.PresetDateRangePicker_button:active{outline:0}.PresetDateRangePicker_button__selected{color:#fff;background:#00a699}.SingleDatePickerInput{display:inline-block;background-color:#fff}.SingleDatePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.SingleDatePickerInput__rtl{direction:rtl}.SingleDatePickerInput__disabled{background-color:#f2f2f2}.SingleDatePickerInput__block{display:block}.SingleDatePickerInput__showClearDate{padding-right:30px}.SingleDatePickerInput_clearDate{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.SingleDatePickerInput_clearDate__default:focus,.SingleDatePickerInput_clearDate__default:hover{background:#dbdbdb;border-radius:50%}.SingleDatePickerInput_clearDate__small{padding:6px}.SingleDatePickerInput_clearDate__hide{visibility:hidden}.SingleDatePickerInput_clearDate_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.SingleDatePickerInput_clearDate_svg__small{height:9px}.SingleDatePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.SingleDatePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.SingleDatePicker{position:relative;display:inline-block}.SingleDatePicker__block{display:block}.SingleDatePicker_picker{z-index:1;background-color:#fff;position:absolute}.SingleDatePicker_picker__rtl{direction:rtl}.SingleDatePicker_picker__directionLeft{left:0}.SingleDatePicker_picker__directionRight{right:0}.SingleDatePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.SingleDatePicker_picker__fullScreenPortal{background-color:#fff}.SingleDatePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.SingleDatePicker_closeButton:focus,.SingleDatePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.SingleDatePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_buttonReset{background:0 0;border:0;border-radius:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;cursor:pointer;font-size:14px}.DayPickerKeyboardShortcuts_buttonReset:active{outline:0}.DayPickerKeyboardShortcuts_show{width:22px;position:absolute;z-index:2}.DayPickerKeyboardShortcuts_show__bottomRight{border-top:26px solid transparent;border-right:33px solid #00a699;bottom:0;right:0}.DayPickerKeyboardShortcuts_show__bottomRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topRight{border-bottom:26px solid transparent;border-right:33px solid #00a699;top:0;right:0}.DayPickerKeyboardShortcuts_show__topRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topLeft{border-bottom:26px solid transparent;border-left:33px solid #00a699;top:0;left:0}.DayPickerKeyboardShortcuts_show__topLeft:hover{border-left:33px solid #008489}.DayPickerKeyboardShortcuts_showSpan{color:#fff;position:absolute}.DayPickerKeyboardShortcuts_showSpan__bottomRight{bottom:0;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topRight{top:1px;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topLeft{top:1px;left:-28px}.DayPickerKeyboardShortcuts_panel{overflow:auto;background:#fff;border:1px solid #dbdbdb;border-radius:2px;position:absolute;top:0;bottom:0;right:0;left:0;z-index:2;padding:22px;margin:33px}.DayPickerKeyboardShortcuts_title{font-size:16px;font-weight:700;margin:0}.DayPickerKeyboardShortcuts_list{list-style:none;padding:0;font-size:14px}.DayPickerKeyboardShortcuts_close{position:absolute;right:22px;top:22px;z-index:2}.DayPickerKeyboardShortcuts_close:active{outline:0}.DayPickerKeyboardShortcuts_closeSvg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_closeSvg:focus,.DayPickerKeyboardShortcuts_closeSvg:hover{fill:#82888a}.CalendarDay{box-sizing:border-box;cursor:pointer;font-size:14px;text-align:center}.CalendarDay:active{outline:0}.CalendarDay__defaultCursor{cursor:default}.CalendarDay__default{border:1px solid #e4e7e7;color:#484848;background:#fff}.CalendarDay__default:hover{background:#e4e7e7;border:1px double #e4e7e7;color:inherit}.CalendarDay__hovered_offset{background:#f4f5f5;border:1px double #e4e7e7;color:inherit}.CalendarDay__outside{border:0;background:#fff;color:#484848}.CalendarDay__outside:hover{border:0}.CalendarDay__blocked_minimum_nights{background:#fff;border:1px solid #eceeee;color:#cacccd}.CalendarDay__blocked_minimum_nights:active,.CalendarDay__blocked_minimum_nights:hover{background:#fff;color:#cacccd}.CalendarDay__highlighted_calendar{background:#ffe8bc;color:#484848}.CalendarDay__highlighted_calendar:active,.CalendarDay__highlighted_calendar:hover{background:#ffce71;color:#484848}.CalendarDay__selected_span{background:#66e2da;border:1px solid #33dacd;color:#fff}.CalendarDay__selected_span:active,.CalendarDay__selected_span:hover{background:#33dacd;border:1px solid #33dacd;color:#fff}.CalendarDay__last_in_range{border-right:#00a699}.CalendarDay__selected,.CalendarDay__selected:active,.CalendarDay__selected:hover{background:#00a699;border:1px solid #00a699;color:#fff}.CalendarDay__hovered_span,.CalendarDay__hovered_span:hover{background:#b2f1ec;border:1px solid #80e8e0;color:#007a87}.CalendarDay__hovered_span:active{background:#80e8e0;border:1px solid #80e8e0;color:#007a87}.CalendarDay__blocked_calendar,.CalendarDay__blocked_calendar:active,.CalendarDay__blocked_calendar:hover{background:#cacccd;border:1px solid #cacccd;color:#82888a}.CalendarDay__blocked_out_of_range,.CalendarDay__blocked_out_of_range:active,.CalendarDay__blocked_out_of_range:hover{background:#fff;border:1px solid #e4e7e7;color:#cacccd}.CalendarMonth{background:#fff;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.CalendarMonth_table{border-collapse:collapse;border-spacing:0}.CalendarMonth_verticalSpacing{border-collapse:separate}.CalendarMonth_caption{color:#484848;font-size:18px;text-align:center;padding-top:22px;padding-bottom:37px;caption-side:top}.CalendarMonth_caption__verticalScrollable{padding-top:12px;padding-bottom:7px}.CalendarMonthGrid{background:#fff;text-align:left;z-index:0}.CalendarMonthGrid__animating{z-index:1}.CalendarMonthGrid__horizontal{position:absolute;left:9px}.CalendarMonthGrid__vertical{margin:0 auto}.CalendarMonthGrid__vertical_scrollable{margin:0 auto;overflow-y:scroll}.CalendarMonthGrid_month__horizontal{display:inline-block;vertical-align:top;min-height:100%}.CalendarMonthGrid_month__hideForAnimation{position:absolute;z-index:-1;opacity:0;pointer-events:none}.CalendarMonthGrid_month__hidden{visibility:hidden}.DayPickerNavigation{position:relative;z-index:2}.DayPickerNavigation__horizontal{height:0}.DayPickerNavigation__verticalDefault{position:absolute;width:100%;height:52px;bottom:0;left:0}.DayPickerNavigation__verticalScrollableDefault{position:relative}.DayPickerNavigation_button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:0;padding:0;margin:0}.DayPickerNavigation_button__default{border:1px solid #e4e7e7;background-color:#fff;color:#757575}.DayPickerNavigation_button__default:focus,.DayPickerNavigation_button__default:hover{border:1px solid #c4c4c4}.DayPickerNavigation_button__default:active{background:#f2f2f2}.DayPickerNavigation_button__horizontalDefault{position:absolute;top:18px;line-height:.78;border-radius:3px;padding:6px 9px}.DayPickerNavigation_leftButton__horizontalDefault{left:22px}.DayPickerNavigation_rightButton__horizontalDefault{right:22px}.DayPickerNavigation_button__verticalDefault{padding:5px;background:#fff;box-shadow:0 0 5px 2px rgba(0,0,0,.1);position:relative;display:inline-block;height:100%;width:50%}.DayPickerNavigation_nextButton__verticalDefault{border-left:0}.DayPickerNavigation_nextButton__verticalScrollableDefault{width:100%}.DayPickerNavigation_svg__horizontal{height:19px;width:19px;fill:#82888a;display:block}.DayPickerNavigation_svg__vertical{height:42px;width:42px;fill:#484848;display:block}.DayPicker{position:relative;text-align:left}.DayPicker,.DayPicker__horizontal{background:#fff}.DayPicker__verticalScrollable{height:100%}.DayPicker__hidden{visibility:hidden}.DayPicker__withBorder{box-shadow:0 2px 6px rgba(0,0,0,.05),0 0 0 1px rgba(0,0,0,.07);border-radius:3px}.DayPicker_portal__horizontal{box-shadow:none;position:absolute;left:50%;top:50%}.DayPicker_portal__vertical{position:static}.DayPicker_focusRegion{outline:0}.DayPicker_calendarInfo__horizontal,.DayPicker_wrapper__horizontal{display:inline-block;vertical-align:top}.DayPicker_weekHeaders{position:relative}.DayPicker_weekHeaders__horizontal{margin-left:9px}.DayPicker_weekHeader{color:#757575;position:absolute;top:62px;z-index:2;text-align:left}.DayPicker_weekHeader__vertical{left:50%}.DayPicker_weekHeader__verticalScrollable{top:0;display:table-row;border-bottom:1px solid #dbdbdb;background:#fff;margin-left:0;left:0;width:100%;text-align:center}.DayPicker_weekHeader_ul{list-style:none;margin:1px 0;padding-left:0;padding-right:0;font-size:14px}.DayPicker_weekHeader_li{display:inline-block;text-align:center}.DayPicker_transitionContainer{position:relative;overflow:hidden;border-radius:3px}.DayPicker_transitionContainer__horizontal{transition:height .2s ease-in-out}.DayPicker_transitionContainer__vertical{width:100%}.DayPicker_transitionContainer__verticalScrollable{padding-top:20px;height:100%;position:absolute;top:0;bottom:0;right:0;left:0;overflow-y:scroll}.DateInput{margin:0;padding:0;background:#fff;position:relative;display:inline-block;width:130px;vertical-align:middle}.DateInput__small{width:97px}.DateInput__block{width:100%}.DateInput__disabled{background:#f2f2f2;color:#dbdbdb}.DateInput_input{font-weight:200;font-size:19px;line-height:24px;color:#484848;background-color:#fff;width:100%;padding:11px 11px 9px;border:0;border-bottom:2px solid transparent;border-radius:0}.DateInput_input__small{font-size:15px;line-height:18px;letter-spacing:.2px;padding:7px 7px 5px}.DateInput_input__regular{font-weight:auto}.DateInput_input__readOnly{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.DateInput_input__focused{outline:0;background:#fff;border:0;border-bottom:2px solid #008489}.DateInput_input__disabled{background:#f2f2f2;font-style:italic}.DateInput_screenReaderMessage{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.DateInput_fang{position:absolute;width:20px;height:10px;left:22px;z-index:2}.DateInput_fangShape{fill:#fff}.DateInput_fangStroke{stroke:#dbdbdb;fill:transparent}.DateRangePickerInput{background-color:#fff;display:inline-block}.DateRangePickerInput__disabled{background:#f2f2f2}.DateRangePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.DateRangePickerInput__rtl{direction:rtl}.DateRangePickerInput__block{display:block}.DateRangePickerInput__showClearDates{padding-right:30px}.DateRangePickerInput_arrow{display:inline-block;vertical-align:middle;color:#484848}.DateRangePickerInput_arrow_svg{vertical-align:middle;fill:#484848;height:24px;width:24px}.DateRangePickerInput_clearDates{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.DateRangePickerInput_clearDates__small{padding:6px}.DateRangePickerInput_clearDates_default:focus,.DateRangePickerInput_clearDates_default:hover{background:#dbdbdb;border-radius:50%}.DateRangePickerInput_clearDates__hide{visibility:hidden}.DateRangePickerInput_clearDates_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.DateRangePickerInput_clearDates_svg__small{height:9px}.DateRangePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.DateRangePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.DateRangePicker{position:relative;display:inline-block}.DateRangePicker__block{display:block}.DateRangePicker_picker{z-index:1;background-color:#fff;position:absolute}.DateRangePicker_picker__rtl{direction:rtl}.DateRangePicker_picker__directionLeft{left:0}.DateRangePicker_picker__directionRight{right:0}.DateRangePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.DateRangePicker_picker__fullScreenPortal{background-color:#fff}.DateRangePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.DateRangePicker_closeButton:focus,.DateRangePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.DateRangePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.components-datetime .components-datetime__calendar-help{padding:8px}.components-datetime .components-datetime__calendar-help h4{margin:0}.components-datetime .components-datetime__date-help-button{display:block;margin-left:auto;margin-right:8px;margin-top:.5em}.components-datetime fieldset{border:0;padding:0;margin:0}.components-datetime input,.components-datetime select{box-sizing:border-box;height:28px;vertical-align:middle;padding:0;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #7e8993}@media (prefers-reduced-motion:reduce){.components-datetime input,.components-datetime select{transition-duration:0s}}.components-datetime__date{min-height:236px;border-top:1px solid #e2e4e7;margin-left:-8px;margin-right:-8px}.components-datetime__date .CalendarMonth_caption{font-size:13px}.components-datetime__date .CalendarDay{font-size:13px;border:1px solid transparent;border-radius:50%;text-align:center}.components-datetime__date .CalendarDay__selected{background:#0085ba}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected{background:#d1864a}body.admin-color-ocean .components-datetime__date .CalendarDay__selected{background:#a3b9a2}body.admin-color-midnight .components-datetime__date .CalendarDay__selected{background:#e14d43}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected{background:#a7b656}body.admin-color-coffee .components-datetime__date .CalendarDay__selected{background:#c2a68c}body.admin-color-blue .components-datetime__date .CalendarDay__selected{background:#82b4cb}body.admin-color-light .components-datetime__date .CalendarDay__selected{background:#0085ba}.components-datetime__date .CalendarDay__selected:hover{background:#00719e}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected:hover{background:#b2723f}body.admin-color-ocean .components-datetime__date .CalendarDay__selected:hover{background:#8b9d8a}body.admin-color-midnight .components-datetime__date .CalendarDay__selected:hover{background:#bf4139}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected:hover{background:#8e9b49}body.admin-color-coffee .components-datetime__date .CalendarDay__selected:hover{background:#a58d77}body.admin-color-blue .components-datetime__date .CalendarDay__selected:hover{background:#6f99ad}body.admin-color-light .components-datetime__date .CalendarDay__selected:hover{background:#00719e}.components-datetime__date .DayPickerNavigation_button__horizontalDefault{padding:2px 8px;top:20px}.components-datetime__date .DayPickerNavigation_button__horizontalDefault:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-datetime__date .DayPicker_weekHeader{top:50px}.components-datetime__date.is-description-visible .components-datetime__date-help-button,.components-datetime__date.is-description-visible .DayPicker{visibility:hidden}.components-datetime__time{margin-bottom:1em}.components-datetime__time fieldset{margin-top:.5em;position:relative}.components-datetime__time .components-datetime__time-field-am-pm fieldset{margin-top:0}.components-datetime__time .components-datetime__time-wrapper{display:flex}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-separator{display:inline-block;padding:0 3px 0 0;color:#555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button{margin-left:8px;margin-right:-1px;border-radius:3px 0 0 3px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button{margin-left:-1px;border-radius:0 3px 3px 0}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button:focus,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled{background:#edeff0;border-color:#8f98a1;box-shadow:inset 0 2px 5px -3px #555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled:focus,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled:focus{box-shadow:inset 0 2px 5px -3px #555d66,0 0 0 1px #fff,0 0 0 3px #007cba}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field-time{direction:ltr}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field.am-pm button{font-size:11px;font-weight:600}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select{margin-right:4px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]{padding:2px;margin-right:4px;text-align:center;-moz-appearance:textfield}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.components-datetime__time.is-12-hour .components-datetime__time-field-day input{margin:0 -4px 0 0!important;border-radius:4px 0 0 4px!important}.components-datetime__time.is-12-hour .components-datetime__time-field-year input{border-radius:0 4px 4px 0!important}.components-datetime__time-legend{font-weight:600;margin-top:.5em}.components-datetime__time-legend.invisible{position:absolute;top:-999em;left:-999em}.components-datetime__time-field-day-input,.components-datetime__time-field-hours-input,.components-datetime__time-field-minutes-input{width:35px}.components-datetime__time-field-year-input{width:55px}.components-datetime__time-field-month-select{max-width:145px}.components-popover .components-datetime__date{padding-left:4px}.components-popover.edit-post-post-schedule__dialog.is-bottom.is-left{z-index:100000}.components-disabled{position:relative;pointer-events:none}.components-disabled:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.components-disabled *{pointer-events:none}body.is-dragging-components-draggable{cursor:move;cursor:grabbing!important}.components-draggable__invisible-drag-image{position:fixed;left:-1000px;height:50px;width:50px}.components-draggable__clone{position:fixed;padding:20px;background:transparent;pointer-events:none;z-index:1000000000;opacity:.8}.components-drop-zone{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;visibility:hidden;opacity:0;transition:opacity .3s,background-color .3s,visibility 0s .3s;border:2px solid #0071a1;border-radius:2px}@media (prefers-reduced-motion:reduce){.components-drop-zone{transition-duration:0s}}.components-drop-zone.is-active{opacity:1;visibility:visible;transition:opacity .3s,background-color .3s}@media (prefers-reduced-motion:reduce){.components-drop-zone.is-active{transition-duration:0s}}.components-drop-zone.is-dragging-over-element{background-color:rgba(0,113,161,.8)}.components-drop-zone__content{position:absolute;top:50%;left:0;right:0;z-index:50;transform:translateY(-50%);width:100%;text-align:center;color:#fff;transition:transform .2s ease-in-out}@media (prefers-reduced-motion:reduce){.components-drop-zone__content{transition-duration:0s}}.components-drop-zone.is-dragging-over-element .components-drop-zone__content{transform:translateY(-50%) scale(1.05)}.components-drop-zone__content-icon,.components-drop-zone__content-text{display:block}.components-drop-zone__content-icon{margin:0 auto;line-height:0}.components-drop-zone__content-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.components-drop-zone__provider{height:100%}.components-dropdown-menu{padding:3px;display:flex}.components-dropdown-menu .components-dropdown-menu__toggle{width:auto;margin:0;padding:4px;border:1px solid transparent;display:flex;flex-direction:row}.components-dropdown-menu .components-dropdown-menu__toggle.is-active,.components-dropdown-menu .components-dropdown-menu__toggle.is-active:hover{box-shadow:none;background-color:#555d66;color:#fff}.components-dropdown-menu .components-dropdown-menu__toggle:focus:before{top:-3px;right:-3px;bottom:-3px;left:-3px}.components-dropdown-menu .components-dropdown-menu__toggle:focus,.components-dropdown-menu .components-dropdown-menu__toggle:hover,.components-dropdown-menu .components-dropdown-menu__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.components-dropdown-menu .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.components-dropdown-menu__popover .components-popover__content{width:200px}.components-dropdown-menu__menu{width:100%;padding:7px 0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.components-dropdown-menu__menu .components-dropdown-menu__menu-item,.components-dropdown-menu__menu .components-menu-item{width:100%;padding:6px;outline:none;cursor:pointer;margin-bottom:4px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator,.components-dropdown-menu__menu .components-menu-item.has-separator{margin-top:6px;position:relative;overflow:visible}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator:before,.components-dropdown-menu__menu .components-menu-item.has-separator:before{display:block;content:"";box-sizing:content-box;background-color:#e2e4e7;position:absolute;top:-3px;left:0;right:0;height:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-default),.components-dropdown-menu__menu .components-menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-default){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:hover,.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.components-dropdown-menu__menu .components-menu-item:hover,.components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-dropdown-menu__menu .components-dropdown-menu__menu-item>svg,.components-dropdown-menu__menu .components-menu-item>svg{border-radius:4px;padding:2px;width:24px;height:24px;margin:-1px 8px -1px 0}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default).is-active>svg,.components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default).is-active>svg{outline:none;color:#fff;box-shadow:none;background:#555d66}.components-dropdown-menu__menu .components-menu-group:not(:last-child){border-bottom:1px solid #e2e4e7}.components-dropdown-menu__menu .components-menu-item__button,.components-dropdown-menu__menu .components-menu-item__button.components-icon-button{padding-left:2rem}.components-dropdown-menu__menu .components-menu-item__button.components-icon-button.has-icon,.components-dropdown-menu__menu .components-menu-item__button.has-icon{padding-left:.5rem}.components-dropdown-menu__menu .components-menu-item__button.components-icon-button .dashicon,.components-dropdown-menu__menu .components-menu-item__button .dashicon{margin-right:4px}.components-external-link__icon{width:1.4em;height:1.4em;margin:-.2em .1em 0;vertical-align:middle}.components-focal-point-picker-wrapper{background-color:transparent;border:1px solid #e2e4e7;height:200px;width:100%;padding:14px}.components-focal-point-picker{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;position:relative;width:100%}.components-focal-point-picker img{height:auto;max-height:100%;max-width:100%;width:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.components-focal-point-picker__icon_container{background-color:transparent;cursor:grab;height:30px;opacity:.8;position:absolute;will-change:transform;width:30px;z-index:10000}.components-focal-point-picker__icon_container.is-dragging{cursor:grabbing}.components-focal-point-picker__icon{display:block;height:100%;left:-15px;position:absolute;top:-15px;width:100%}.components-focal-point-picker__icon .components-focal-point-picker__icon-outline{fill:#fff}.components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}body.admin-color-sunrise .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#d1864a}body.admin-color-ocean .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a3b9a2}body.admin-color-midnight .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#e14d43}body.admin-color-ectoplasm .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a7b656}body.admin-color-coffee .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#c2a68c}body.admin-color-blue .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#82b4cb}body.admin-color-light .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}.components-focal-point-picker_position-display-container{margin:1em 0;display:flex}.components-focal-point-picker_position-display-container .components-base-control__field{margin:0 1em 0 0}.components-focal-point-picker_position-display-container input[type=number].components-text-control__input{max-width:4em;padding:6px 4px}.components-focal-point-picker_position-display-container span{margin:0 0 0 .2em}.components-font-size-picker__controls{max-width:248px;display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.components-font-size-picker__controls .components-range-control__number{height:30px;margin-left:0}.components-font-size-picker__controls .components-range-control__number[value=""]+.components-button{cursor:default;opacity:.3;pointer-events:none}.components-font-size-picker__select .components-base-control__field,.components-font-size-picker__select.components-font-size-picker__select.components-font-size-picker__select.components-font-size-picker__select{margin-bottom:0}.components-font-size-picker__custom-input .components-range-control__slider+.dashicon{width:30px;height:30px}.components-form-file-upload .components-button.is-large{padding-left:6px}.components-form-toggle{position:relative;display:inline-block}.components-form-toggle .components-form-toggle__off,.components-form-toggle .components-form-toggle__on{position:absolute;top:6px;box-sizing:border-box}.components-form-toggle .components-form-toggle__off{color:#6c7781;fill:currentColor;right:6px}.components-form-toggle .components-form-toggle__on{left:8px}.components-form-toggle .components-form-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:2px solid #6c7781;width:36px;height:18px;border-radius:9px;transition:background .2s ease}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__track{transition-duration:0s}}.components-form-toggle .components-form-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:4px;left:4px;width:10px;height:10px;border-radius:50%;transition:transform .1s ease;background-color:#6c7781;border:5px solid #6c7781}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__thumb{transition-duration:0s}}.components-form-toggle:hover .components-form-toggle__track{border:2px solid #555d66}.components-form-toggle:hover .components-form-toggle__thumb{background-color:#555d66;border:5px solid #6c7781}.components-form-toggle:hover .components-form-toggle__off{color:#555d66}.components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:9px solid transparent}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__track{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__track{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:2px solid #11a0d2}.components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3px #6c7781;outline:2px solid transparent;outline-offset:2px}.components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(18px)}.components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}body.admin-color-sunrise .components-form-toggle.is-checked:before{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked:before{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked:before{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked:before{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked:before{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked:before{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}.components-disabled .components-form-toggle{opacity:.3}.components-form-toggle input.components-form-toggle__input[type=checkbox]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;margin:0;padding:0;z-index:1;border:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:checked{background:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:before{content:""}.components-form-toggle .components-form-toggle__on{outline:1px solid transparent;outline-offset:-1px;border:1px solid #000;filter:invert(100%) contrast(500%)}@supports (-ms-high-contrast-adjust:auto){.components-form-toggle .components-form-toggle__on{filter:none;border:1px solid #fff}}.components-form-token-field__input-container{display:flex;flex-wrap:wrap;align-items:flex-start;width:100%;margin:0 0 8px;padding:4px;background-color:#fff;color:#32373c;cursor:text;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #7e8993}@media (prefers-reduced-motion:reduce){.components-form-token-field__input-container{transition-duration:0s}}.components-form-token-field__input-container.is-disabled{background:#e2e4e7;border-color:#ccd0d4}.components-form-token-field__input-container.is-active{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-form-token-field__input-container input[type=text].components-form-token-field__input{display:inline-block;width:100%;max-width:100%;margin:2px 0 2px 8px;padding:0;min-height:24px;background:inherit;border:0;color:#23282d;box-shadow:none}.components-form-token-field.is-active .components-form-token-field__input-container input[type=text].components-form-token-field__input,.components-form-token-field__input-container input[type=text].components-form-token-field__input:focus{outline:none;box-shadow:none}.components-form-token-field__input-container .components-form-token-field__token+input[type=text].components-form-token-field__input{width:auto}.components-form-token-field__label{display:inline-block;margin-bottom:4px}.components-form-token-field__help{font-style:italic}.components-form-token-field__token{font-size:13px;display:flex;margin:2px 4px 2px 0;color:#32373c;overflow:hidden}.components-form-token-field__token.is-success .components-form-token-field__remove-token,.components-form-token-field__token.is-success .components-form-token-field__token-text{background:#4ab866}.components-form-token-field__token.is-error .components-form-token-field__remove-token,.components-form-token-field__token.is-error .components-form-token-field__token-text{background:#d94f4f}.components-form-token-field__token.is-validating .components-form-token-field__remove-token,.components-form-token-field__token.is-validating .components-form-token-field__token-text{color:#555d66}.components-form-token-field__token.is-borderless{position:relative;padding:0 16px 0 0}.components-form-token-field__token.is-borderless .components-form-token-field__token-text{background:transparent;color:#11a0d2}body.admin-color-sunrise .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c8b03c}body.admin-color-ocean .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#a89d8a}body.admin-color-midnight .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#77a6b9}body.admin-color-ectoplasm .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c77430}body.admin-color-coffee .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#9fa47b}body.admin-color-blue .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#d9ab59}body.admin-color-light .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c75726}.components-form-token-field__token.is-borderless .components-form-token-field__remove-token{background:transparent;color:#555d66;position:absolute;top:1px;right:0}.components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text{color:#4ab866}.components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text{color:#d94f4f;border-radius:4px 0 0 4px;padding:0 4px 0 6px}.components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text{color:#23282d}.components-form-token-field__token.is-disabled .components-form-token-field__remove-token{cursor:default}.components-form-token-field__remove-token.components-icon-button,.components-form-token-field__token-text{display:inline-block;line-height:24px;background:#e2e4e7;transition:all .2s cubic-bezier(.4,1,.4,1)}@media (prefers-reduced-motion:reduce){.components-form-token-field__remove-token.components-icon-button,.components-form-token-field__token-text{transition-duration:0s;animation-duration:1ms}}.components-form-token-field__token-text{border-radius:12px 0 0 12px;padding:0 4px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.components-form-token-field__remove-token.components-icon-button{cursor:pointer;border-radius:0 12px 12px 0;padding:0 2px;color:#555d66;line-height:10px;overflow:initial}.components-form-token-field__remove-token.components-icon-button:hover{color:#32373c}.components-form-token-field__suggestions-list{flex:1 0 100%;min-width:100%;max-height:9em;overflow-y:scroll;transition:all .15s ease-in-out;list-style:none;border-top:1px solid #6c7781;margin:4px -4px -4px;padding-top:3px}@media (prefers-reduced-motion:reduce){.components-form-token-field__suggestions-list{transition-duration:0s}}.components-form-token-field__suggestion{color:#555d66;display:block;font-size:13px;padding:4px 8px;cursor:pointer}.components-form-token-field__suggestion.is-selected{background:#0071a1;color:#fff}.components-form-token-field__suggestion-match{text-decoration:underline}.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none;outline:4px solid transparent;box-shadow:inset 0 0 0 4px #33b3db}@supports (outline-offset:1px){.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:none}.components-navigate-regions.is-focusing-regions [role=region]:focus{outline-style:solid;outline-color:#33b3db;outline-width:4px;outline-offset:-4px}}.components-icon-button{display:flex;align-items:center;padding:8px;margin:0;border:none;background:none;color:#555d66;position:relative;overflow:hidden;border-radius:4px}.components-icon-button .dashicon{display:inline-block;flex:0 0 auto}.components-icon-button svg{fill:currentColor;outline:none}.components-icon-button.has-text svg{margin-right:4px}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):active{outline:none;background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #ccd0d4,inset 0 0 0 2px #fff}.components-icon-button:disabled:focus,.components-icon-button[aria-disabled=true]:focus{box-shadow:none}.components-menu-group{width:100%;padding:7px 0}.components-menu-group__label{margin-bottom:8px;color:#6c7781;padding:0 7px}.components-menu-item__button,.components-menu-item__button.components-icon-button{width:100%;padding:8px 15px;text-align:left;color:#40464d;border:none;box-shadow:none}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button.components-icon-button .dashicon,.components-menu-item__button.components-icon-button>span>svg,.components-menu-item__button .components-menu-items__item-icon,.components-menu-item__button .dashicon,.components-menu-item__button>span>svg{margin-right:5px}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button .components-menu-items__item-icon{display:inline-block;flex:0 0 auto}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut,.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut{color:#40464d}.components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-menu-item__info-wrapper{display:flex;flex-direction:column}.components-menu-item__info{margin-top:4px;font-size:12px;color:#6c7781}.components-menu-item__shortcut{-ms-grid-row-align:center;align-self:center;color:#6c7781;margin-right:0;margin-left:auto;padding-left:8px;display:none}@media (min-width:480px){.components-menu-item__shortcut{display:inline}}.components-modal__screen-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.7);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-modal__screen-overlay{animation-duration:1ms}}.components-modal__frame{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;margin:0;border:1px solid #e2e4e7;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.2);overflow:auto}@media (min-width:600px){.components-modal__frame{top:50%;right:auto;bottom:auto;left:50%;min-width:360px;max-width:calc(100% - 32px);max-height:calc(100% - 112px);transform:translate(-50%,-50%);animation:components-modal__appear-animation .1s ease-out;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.components-modal__frame{animation-duration:1ms}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #e2e4e7;padding:0 24px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:56px;position:-webkit-sticky;position:sticky;top:0;z-index:10;margin:0 -24px 24px}@supports (-ms-ime-align:auto){.components-modal__header{position:fixed;width:100%}}.components-modal__header .components-modal__header-heading{font-size:1rem;font-weight:600}.components-modal__header h1{line-height:1;margin:0}.components-modal__header .components-icon-button{position:relative;left:8px}.components-modal__header-heading-container{align-items:center;flex-grow:1;display:flex;flex-direction:row;justify-content:left}.components-modal__header-icon-container{display:inline-block}.components-modal__header-icon-container svg{max-width:36px;max-height:36px;padding:8px}.components-modal__content{box-sizing:border-box;height:100%;padding:0 24px 24px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:56px}}.components-notice{display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background-color:#e5f5fa;border-left:4px solid #00a0d2;margin:5px 15px 2px;padding:8px 12px;align-items:center}.components-notice.is-dismissible{padding-right:36px;position:relative}.components-notice.is-success{border-left-color:#4ab866;background-color:#eff9f1}.components-notice.is-warning{border-left-color:#f0b849;background-color:#fef8ee}.components-notice.is-error{border-left-color:#d94f4f;background-color:#f9e2e2}.components-notice__content{flex-grow:1;margin:4px 25px 4px 0}.components-notice__action.components-button,.components-notice__action.components-button.is-link{margin-left:4px}.components-notice__action.components-button.is-default{vertical-align:initial}.components-notice__dismiss{color:#6c7781;align-self:flex-start;flex-shrink:0}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#191e23;background-color:transparent}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.components-notice-list{max-width:100vw;box-sizing:border-box;z-index:29}.components-notice-list .components-notice__content{margin-top:12px;margin-bottom:12px;line-height:1.6}.components-notice-list .components-notice__action.components-button{margin-top:-2px;margin-bottom:-2px}.components-panel{background:#fff;border:1px solid #e2e4e7}.components-panel>.components-panel__body:first-child,.components-panel>.components-panel__header:first-child{margin-top:-1px}.components-panel>.components-panel__body:last-child,.components-panel>.components-panel__header:last-child{border-bottom-width:0}.components-panel+.components-panel{margin-top:-1px}.components-panel__body{border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__body h3{margin:0 0 .5em}.components-panel__body.is-opened{padding:16px}.components-panel__body>.components-icon-button{color:#191e23}.components-panel__header{display:flex;justify-content:space-between;align-items:center;padding:0 16px;height:50px;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__header h2{margin:0;font-size:inherit;color:inherit}.components-panel__body+.components-panel__body,.components-panel__body+.components-panel__header,.components-panel__header+.components-panel__body,.components-panel__header+.components-panel__header{margin-top:-1px}.components-panel__body>.components-panel__body-title{display:block;padding:0;font-size:inherit;margin-top:0;margin-bottom:0;transition:background .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body>.components-panel__body-title{transition-duration:0s}}.components-panel__body.is-opened>.components-panel__body-title{margin:-16px -16px 5px}.components-panel__body>.components-panel__body-title:hover,.edit-post-last-revision__panel>.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background:#f3f4f5}.components-panel__body-toggle.components-button{position:relative;padding:15px;outline:none;width:100%;font-weight:600;text-align:left;color:#191e23;border:none;box-shadow:none;transition:background .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button{transition-duration:0s}}.components-panel__body-toggle.components-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-panel__body-toggle.components-button .components-panel__arrow{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#191e23;fill:currentColor;transition:color .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button .components-panel__arrow{transition-duration:0s}}body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right{transform:scaleX(-1);-ms-filter:fliph;filter:FlipH;margin-top:-10px}.components-panel__icon{color:#555d66;margin:-2px 0 -2px 6px}.components-panel__body-toggle-icon{margin-right:-5px}.components-panel__color-title{float:left;height:19px}.components-panel__row{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.components-panel__row select{min-width:0}.components-panel__row label{margin-right:10px;flex-shrink:0;max-width:75%}.components-panel__row:empty,.components-panel__row:first-of-type{margin-top:0}.components-panel .circle-picker{padding-bottom:20px}.components-placeholder{margin-bottom:28px;padding:1em;min-height:200px;width:100%;text-align:center;background:rgba(139,139,150,.1)}@supports ((position:-webkit-sticky) or (position:sticky)){.components-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center}}.is-dark-theme .components-placeholder{background:hsla(0,0%,100%,.15)}.components-placeholder__fieldset,.components-placeholder__instructions,.components-placeholder__label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__label{display:flex;align-items:center;justify-content:center;font-weight:600;margin-bottom:1em}.components-placeholder__label .block-editor-block-icon,.components-placeholder__label .dashicon{fill:currentColor;margin-right:1ch}.components-placeholder__fieldset,.components-placeholder__fieldset form{display:flex;flex-direction:row;justify-content:center;width:100%;max-width:400px;flex-wrap:wrap;z-index:1}.components-placeholder__fieldset form p,.components-placeholder__fieldset p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__fieldset.is-column-layout,.components-placeholder__fieldset.is-column-layout form{flex-direction:column}.components-placeholder__input{margin-top:0;margin-right:8px;flex:1 1 auto}.components-placeholder__instructions{margin-bottom:1em}.components-placeholder__preview img{margin:3%;width:50%} +.components-animate__appear{animation:components-animate__appear-animation .1s cubic-bezier(0,0,.2,1) 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__appear{animation-duration:1ms}}.components-animate__appear.is-from-top,.components-animate__appear.is-from-top.is-from-left{transform-origin:top left}.components-animate__appear.is-from-top.is-from-right{transform-origin:top right}.components-animate__appear.is-from-bottom,.components-animate__appear.is-from-bottom.is-from-left{transform-origin:bottom left}.components-animate__appear.is-from-bottom.is-from-right{transform-origin:bottom right}@keyframes components-animate__appear-animation{0%{transform:translateY(-2em) scaleY(0) scaleX(0)}to{transform:translateY(0) scaleY(1) scaleX(1)}}.components-animate__slide-in{animation:components-animate__slide-in-animation .1s cubic-bezier(0,0,.2,1);animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__slide-in{animation-duration:1ms}}.components-animate__slide-in.is-from-left{transform:translateX(100%)}@keyframes components-animate__slide-in-animation{to{transform:translateX(0)}}.components-animate__loading{animation:components-animate__loading 1.6s ease-in-out infinite}@keyframes components-animate__loading{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.components-autocomplete__popover .components-popover__content{min-width:200px}.components-autocomplete__popover .components-autocomplete__results{padding:3px;display:flex;flex-direction:column;align-items:stretch}.components-autocomplete__popover .components-autocomplete__results:empty{display:none}.components-autocomplete__result.components-button{margin-bottom:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;color:#555d66;display:flex;flex-direction:row;flex-grow:1;flex-shrink:0;align-items:center;padding:6px 8px;margin-left:-3px;margin-right:-3px;text-align:left}.components-autocomplete__result.components-button.is-selected{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-autocomplete__result.components-button:hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-base-control{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-base-control .components-base-control__field{margin-bottom:8px}.components-panel__row .components-base-control .components-base-control__field{margin-bottom:inherit}.components-base-control .components-base-control__label{display:inline-block;margin-bottom:4px}.components-base-control .components-base-control__help{margin-top:-8px;font-style:italic}.components-base-control+.components-base-control{margin-bottom:16px}.components-button-group{display:inline-block}.components-button-group .components-button.is-button{border-radius:0;display:inline-flex}.components-button-group .components-button.is-button+.components-button.is-button{margin-left:-1px}.components-button-group .components-button.is-button:first-child{border-radius:3px 0 0 3px}.components-button-group .components-button.is-button:last-child{border-radius:0 3px 3px 0}.components-button-group .components-button.is-button.is-primary,.components-button-group .components-button.is-button:focus{position:relative;z-index:1}.components-button-group .components-button.is-button.is-primary{box-shadow:none}.components-button{display:inline-flex;text-decoration:none;font-size:13px;margin:0;border:0;cursor:pointer;-webkit-appearance:none;background:none;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.components-button{transition-duration:0s}}.components-button.is-button{padding:0 10px;line-height:2;height:28px;border-radius:3px;white-space:nowrap;border-width:1px;border-style:solid}.components-button.is-default{color:#0075af;border-color:#0075af;background:#f3f5f6}body.admin-color-sunrise .components-button.is-default{color:#c47e46;border-color:#c47e46}body.admin-color-ocean .components-button.is-default{color:#99ae98;border-color:#99ae98}body.admin-color-midnight .components-button.is-default{color:#d4483f;border-color:#d4483f}body.admin-color-ectoplasm .components-button.is-default{color:#9dab51;border-color:#9dab51}body.admin-color-coffee .components-button.is-default{color:#b69c84;border-color:#b69c84}body.admin-color-blue .components-button.is-default{color:#cca154;border-color:#cca154}body.admin-color-light .components-button.is-default{color:#007daf;border-color:#007daf}.components-button.is-default:hover{background:#f1f1f1;border-color:#005d8c;color:#005d8c;text-decoration:none}body.admin-color-sunrise .components-button.is-default:hover{border-color:#9d6538;color:#9d6538}body.admin-color-ocean .components-button.is-default:hover{border-color:#7a8b7a;color:#7a8b7a}body.admin-color-midnight .components-button.is-default:hover{border-color:#a93a32;color:#a93a32}body.admin-color-ectoplasm .components-button.is-default:hover{border-color:#7d8941;color:#7d8941}body.admin-color-coffee .components-button.is-default:hover{border-color:#927d69;color:#927d69}body.admin-color-blue .components-button.is-default:hover{border-color:#a38043;color:#a38043}body.admin-color-light .components-button.is-default:hover{border-color:#00648c;color:#00648c}.components-button.is-default:focus:enabled{background:#f3f5f6;color:#005d8c;border-color:#0076b1;box-shadow:0 0 0 1px #0076b1;text-decoration:none}body.admin-color-sunrise .components-button.is-default:focus:enabled{color:#9d6538;border-color:#c77f46;box-shadow:0 0 0 1px #c77f46}body.admin-color-ocean .components-button.is-default:focus:enabled{color:#7a8b7a;border-color:#9bb09a;box-shadow:0 0 0 1px #9bb09a}body.admin-color-midnight .components-button.is-default:focus:enabled{color:#a93a32;border-color:#d64940;box-shadow:0 0 0 1px #d64940}body.admin-color-ectoplasm .components-button.is-default:focus:enabled{color:#7d8941;border-color:#9fad52;box-shadow:0 0 0 1px #9fad52}body.admin-color-coffee .components-button.is-default:focus:enabled{color:#927d69;border-color:#b89e85;box-shadow:0 0 0 1px #b89e85}body.admin-color-blue .components-button.is-default:focus:enabled{color:#a38043;border-color:#cea255;box-shadow:0 0 0 1px #cea255}body.admin-color-light .components-button.is-default:focus:enabled{color:#00648c;border-color:#007eb1;box-shadow:0 0 0 1px #007eb1}.components-button.is-default:active:enabled{background:#f3f5f6;color:#0076b1;border-color:#7e8993;box-shadow:none}body.admin-color-sunrise .components-button.is-default:active:enabled{color:#c77f46}body.admin-color-ocean .components-button.is-default:active:enabled{color:#9bb09a}body.admin-color-midnight .components-button.is-default:active:enabled{color:#d64940}body.admin-color-ectoplasm .components-button.is-default:active:enabled{color:#9fad52}body.admin-color-coffee .components-button.is-default:active:enabled{color:#b89e85}body.admin-color-blue .components-button.is-default:active:enabled{color:#cea255}body.admin-color-light .components-button.is-default:active:enabled{color:#007eb1}.components-button.is-default:disabled,.components-button.is-default[aria-disabled=true]{color:#a0a5aa;border-color:#ddd;background:#f7f7f7;text-shadow:0 1px 0 #fff;transform:none;opacity:1}.components-button.is-primary{background:#007cba;border-color:#007cba;color:#fff;text-decoration:none;text-shadow:none}body.admin-color-sunrise .components-button.is-primary{background:#d1864a;border-color:#d1864a}body.admin-color-ocean .components-button.is-primary{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-button.is-primary{background:#e14d43;border-color:#e14d43}body.admin-color-ectoplasm .components-button.is-primary{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-button.is-primary{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-button.is-primary{background:#d9ab59;border-color:#d9ab59}body.admin-color-light .components-button.is-primary{background:#0085ba;border-color:#0085ba}.components-button.is-primary:focus:enabled,.components-button.is-primary:hover{background:#0070a7;border-color:#0070a7;color:#fff}body.admin-color-sunrise .components-button.is-primary:focus:enabled,body.admin-color-sunrise .components-button.is-primary:hover{background:#bc7943;border-color:#bc7943}body.admin-color-ocean .components-button.is-primary:focus:enabled,body.admin-color-ocean .components-button.is-primary:hover{background:#93a792;border-color:#93a792}body.admin-color-midnight .components-button.is-primary:focus:enabled,body.admin-color-midnight .components-button.is-primary:hover{background:#cb453c;border-color:#cb453c}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:hover{background:#96a44d;border-color:#96a44d}body.admin-color-coffee .components-button.is-primary:focus:enabled,body.admin-color-coffee .components-button.is-primary:hover{background:#af957e;border-color:#af957e}body.admin-color-blue .components-button.is-primary:focus:enabled,body.admin-color-blue .components-button.is-primary:hover{background:#c39a50;border-color:#c39a50}body.admin-color-light .components-button.is-primary:focus:enabled,body.admin-color-light .components-button.is-primary:hover{background:#0078a7;border-color:#0078a7}.components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}body.admin-color-sunrise .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.components-button.is-primary:active:enabled{background:#006395;border-color:#006395;color:#fff}body.admin-color-sunrise .components-button.is-primary:active:enabled{background:#a76b3b;border-color:#a76b3b}body.admin-color-ocean .components-button.is-primary:active:enabled{background:#829482;border-color:#829482}body.admin-color-midnight .components-button.is-primary:active:enabled{background:#b43e36;border-color:#b43e36}body.admin-color-ectoplasm .components-button.is-primary:active:enabled{background:#869245;border-color:#869245}body.admin-color-coffee .components-button.is-primary:active:enabled{background:#9b8570;border-color:#9b8570}body.admin-color-blue .components-button.is-primary:active:enabled{background:#ae8947;border-color:#ae8947}body.admin-color-light .components-button.is-primary:active:enabled{background:#006a95;border-color:#006a95}.components-button.is-primary:disabled,.components-button.is-primary:disabled:active:enabled,.components-button.is-primary[aria-disabled=true],.components-button.is-primary[aria-disabled=true]:active:enabled,.components-button.is-primary[aria-disabled=true]:enabled{color:#66b0d6;background:#1989c1;border-color:#1989c1;opacity:1}body.admin-color-sunrise .components-button.is-primary:disabled,body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true],body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:enabled{color:#e3b692;background:#d6925c;border-color:#d6925c}body.admin-color-ocean .components-button.is-primary:disabled,body.admin-color-ocean .components-button.is-primary:disabled:active:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true],body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:enabled{color:#c8d5c7;background:#acc0ab;border-color:#acc0ab}body.admin-color-midnight .components-button.is-primary:disabled,body.admin-color-midnight .components-button.is-primary:disabled:active:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true],body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:enabled{color:#ed948e;background:#e45f56;border-color:#e45f56}body.admin-color-ectoplasm .components-button.is-primary:disabled,body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true],body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:enabled{color:#cad39a;background:#b0bd67;border-color:#b0bd67}body.admin-color-coffee .components-button.is-primary:disabled,body.admin-color-coffee .components-button.is-primary:disabled:active:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true],body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:enabled{color:#dacaba;background:#c8af98;border-color:#c8af98}body.admin-color-blue .components-button.is-primary:disabled,body.admin-color-blue .components-button.is-primary:disabled:active:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true],body.admin-color-blue .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:enabled{color:#e8cd9b;background:#ddb36a;border-color:#ddb36a}body.admin-color-light .components-button.is-primary:disabled,body.admin-color-light .components-button.is-primary:disabled:active:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true],body.admin-color-light .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:enabled{color:#66b6d6;background:#1991c1;border-color:#1991c1}.components-button.is-primary:disabled.is-button,.components-button.is-primary:disabled.is-button:hover,.components-button.is-primary:disabled:active:enabled,.components-button.is-primary:disabled:active:enabled.is-button,.components-button.is-primary:disabled:active:enabled.is-button:hover,.components-button.is-primary:disabled:active:enabled:active:enabled,.components-button.is-primary[aria-disabled=true].is-button,.components-button.is-primary[aria-disabled=true].is-button:hover,.components-button.is-primary[aria-disabled=true]:active:enabled,.components-button.is-primary[aria-disabled=true]:active:enabled.is-button,.components-button.is-primary[aria-disabled=true]:active:enabled.is-button:hover,.components-button.is-primary[aria-disabled=true]:active:enabled:active:enabled,.components-button.is-primary[aria-disabled=true]:enabled.is-button,.components-button.is-primary[aria-disabled=true]:enabled.is-button:hover,.components-button.is-primary[aria-disabled=true]:enabled:active:enabled{box-shadow:none;text-shadow:none}.components-button.is-primary:disabled:active:enabled:focus:enabled,.components-button.is-primary:disabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary:disabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary:disabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary:disabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:disabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary:disabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary:disabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-light .components-button.is-primary:disabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.components-button.is-primary.is-busy,.components-button.is-primary.is-busy:disabled,.components-button.is-primary.is-busy[aria-disabled=true]{color:#fff;background-size:100px 100%;background-image:linear-gradient(-45deg,#007cba 28%,#006395 0,#006395 72%,#007cba 0);border-color:#007cba}body.admin-color-sunrise .components-button.is-primary.is-busy,body.admin-color-sunrise .components-button.is-primary.is-busy:disabled,body.admin-color-sunrise .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#d1864a 28%,#a76b3b 0,#a76b3b 72%,#d1864a 0);border-color:#d1864a}body.admin-color-ocean .components-button.is-primary.is-busy,body.admin-color-ocean .components-button.is-primary.is-busy:disabled,body.admin-color-ocean .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#a3b9a2 28%,#829482 0,#829482 72%,#a3b9a2 0);border-color:#a3b9a2}body.admin-color-midnight .components-button.is-primary.is-busy,body.admin-color-midnight .components-button.is-primary.is-busy:disabled,body.admin-color-midnight .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#e14d43 28%,#b43e36 0,#b43e36 72%,#e14d43 0);border-color:#e14d43}body.admin-color-ectoplasm .components-button.is-primary.is-busy,body.admin-color-ectoplasm .components-button.is-primary.is-busy:disabled,body.admin-color-ectoplasm .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#a7b656 28%,#869245 0,#869245 72%,#a7b656 0);border-color:#a7b656}body.admin-color-coffee .components-button.is-primary.is-busy,body.admin-color-coffee .components-button.is-primary.is-busy:disabled,body.admin-color-coffee .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#c2a68c 28%,#9b8570 0,#9b8570 72%,#c2a68c 0);border-color:#c2a68c}body.admin-color-blue .components-button.is-primary.is-busy,body.admin-color-blue .components-button.is-primary.is-busy:disabled,body.admin-color-blue .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#d9ab59 28%,#ae8947 0,#ae8947 72%,#d9ab59 0);border-color:#d9ab59}body.admin-color-light .components-button.is-primary.is-busy,body.admin-color-light .components-button.is-primary.is-busy:disabled,body.admin-color-light .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#0085ba 28%,#006a95 0,#006a95 72%,#0085ba 0);border-color:#0085ba}.components-button.is-link{margin:0;padding:0;box-shadow:none;border:0;border-radius:0;background:none;outline:none;text-align:left;color:#0073aa;text-decoration:underline;transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion:reduce){.components-button.is-link{transition-duration:0s}}.components-button.is-link:active,.components-button.is-link:hover{color:#00a0d2}.components-button.is-link:focus{color:#124964;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.components-button.is-link.is-destructive{color:#d94f4f}.components-button:active{color:inherit}.components-button:disabled,.components-button[aria-disabled=true]{cursor:default;opacity:.3}.components-button:focus:not(:disabled){background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-button.is-busy,.components-button.is-default.is-busy,.components-button.is-default.is-busy:disabled,.components-button.is-default.is-busy[aria-disabled=true]{animation:components-button__busy-animation 2.5s linear infinite;background-size:100px 100%;background-image:repeating-linear-gradient(-45deg,#e2e4e7,#fff 11px,#fff 0,#e2e4e7 20px);opacity:1}.components-button.is-large{height:30px;line-height:28px;padding:0 12px 2px}.components-button.is-small{height:24px;line-height:22px;padding:0 8px 1px;font-size:11px}.components-button.is-tertiary{color:#007cba;padding:0 10px;line-height:26px;height:28px}body.admin-color-sunrise .components-button.is-tertiary{color:#837425}body.admin-color-ocean .components-button.is-tertiary{color:#5e7d5e}body.admin-color-midnight .components-button.is-tertiary{color:#497b8d}body.admin-color-ectoplasm .components-button.is-tertiary{color:#523f6d}body.admin-color-coffee .components-button.is-tertiary{color:#59524c}body.admin-color-blue .components-button.is-tertiary{color:#417e9b}body.admin-color-light .components-button.is-tertiary{color:#007cba}.components-button.is-tertiary .dashicon{display:inline-block;flex:0 0 auto}.components-button.is-tertiary svg{fill:currentColor;outline:none}.components-button.is-tertiary:active:focus:enabled{box-shadow:none}.components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}body.admin-color-sunrise .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#62571c}body.admin-color-ocean .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#475e47}body.admin-color-midnight .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#375c6a}body.admin-color-ectoplasm .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#3e2f52}body.admin-color-coffee .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#433e39}body.admin-color-blue .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#315f74}body.admin-color-light .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}.components-button .screen-reader-text{height:auto}@keyframes components-button__busy-animation{0%{background-position:200px 0}}.components-checkbox-control__input[type=checkbox]{border:1px solid #b4b9be;background:#fff;color:#555;clear:none;cursor:pointer;display:inline-block;line-height:0;margin:0 4px 0 0;outline:0;padding:0!important;text-align:center;vertical-align:top;width:25px;height:25px;-webkit-appearance:none;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);transition:border-color .05s ease-in-out}@media (min-width:600px){.components-checkbox-control__input[type=checkbox]{height:16px;width:16px}}.components-checkbox-control__input[type=checkbox]:focus{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8);outline:2px solid transparent}.components-checkbox-control__input[type=checkbox]:checked{background:#11a0d2;border-color:#11a0d2}.components-checkbox-control__input[type=checkbox]:checked::-ms-check{opacity:0}.components-checkbox-control__input[type=checkbox]:focus:checked{border:none}.components-checkbox-control__input[type=checkbox]:checked:before{content:none}.components-checkbox-control__input-container{position:relative;display:inline-block;margin-right:12px;vertical-align:middle;width:25px;height:25px}@media (min-width:600px){.components-checkbox-control__input-container{width:16px;height:16px}}svg.dashicon.components-checkbox-control__checked{fill:#fff;cursor:pointer;position:absolute;left:-4px;top:-2px;width:31px;height:31px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}@media (min-width:600px){svg.dashicon.components-checkbox-control__checked{width:21px;height:21px;left:-3px}}.components-circular-option-picker{display:inline-block;margin-top:.6rem;width:100%}.components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper{display:flex;justify-content:flex-end}.components-circular-option-picker__option-wrapper{display:inline-block;height:28px;width:28px;margin-right:12px;margin-bottom:12px;vertical-align:top;transform:scale(1);transition:transform .1s ease}@media (prefers-reduced-motion:reduce){.components-circular-option-picker__option-wrapper{transition-duration:0s}}.components-circular-option-picker__option-wrapper:hover{transform:scale(1.2)}.components-circular-option-picker__option-wrapper>div{height:100%;width:100%}.components-circular-option-picker__option-wrapper:nth-child(6n+6){margin-right:0}.components-circular-option-picker__option-wrapper:before{content:"";position:absolute;top:1px;left:1px;bottom:1px;right:1px;border-radius:50%;z-index:-1;background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='28' height='28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8V6H4v2h2zm2 0V6h2v2H8zm2 8H8v-2h2v2zm2 0v-2h2v2h-2zm0 2v-2h-2v2H8v2h2v-2h2zm2 0v2h-2v-2h2zm2 0h-2v-2h2v2z' fill='%23555D65'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M18 18h2v-2h-2v-2h2v-2h-2v-2h2V8h-2v2h-2V8h-2v2h2v2h-2v2h2v2h2v2zm-2-4v-2h2v2h-2z' fill='%23555D65'/%3E%3Cpath d='M18 18v2h-2v-2h2z' fill='%23555D65'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 10V8H6v2H4v2h2v2H4v2h2v2H4v2h2v2H4v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2v2h-2V4h-2v2h-2V4h-2v2h-2V4h-2v2h2v2h-2v2H8zm0 2v-2H6v2h2zm2 0v-2h2v2h-2zm0 2v-2H8v2H6v2h2v2H6v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h-2v2h-2V6h-2v2h-2v2h2v2h-2v2h-2z' fill='%23555D65'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 0H2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2H8V0H6v2H4V0zm0 4V2H2v2h2zm2 0V2h2v2H6zm0 2V4H4v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2H8v2H6z' fill='%23555D65'/%3E%3C/svg%3E")}.components-circular-option-picker__option{display:inline-block;vertical-align:top;height:100%;width:100%;border:none;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 14px;transition:box-shadow .1s ease;cursor:pointer}@media (prefers-reduced-motion:reduce){.components-circular-option-picker__option{transition-duration:0s}}.components-circular-option-picker__option.is-active{box-shadow:inset 0 0 0 4px;position:relative;z-index:1}.components-circular-option-picker__option.is-active+.dashicons-saved{position:absolute;left:4px;top:4px;border-radius:50%;z-index:2;background:#fff;pointer-events:none}.components-circular-option-picker__option:after{content:"";position:absolute;top:-1px;left:-1px;bottom:-1px;right:-1px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);border:1px solid transparent}.components-circular-option-picker__option:focus{outline:none}.components-circular-option-picker__option:focus:after{content:"";border:2px solid #606a73;width:32px;height:32px;position:absolute;top:-2px;left:-2px;border-radius:50%;box-shadow:inset 0 0 0 2px #fff}.components-circular-option-picker__button-action .components-circular-option-picker__option{color:#fff;background:#fff}.components-circular-option-picker__dropdown-link-action{margin-right:16px}.components-circular-option-picker__dropdown-link-action .components-button{line-height:22px}.component-color-indicator{width:25px;height:16px;margin-left:.8rem;border:1px solid #dadada;display:inline-block}.component-color-indicator+.component-color-indicator{margin-left:.5rem}.components-color-picker{width:100%;overflow:hidden}.components-color-picker *{box-sizing:border-box}.components-color-picker .components-icon-button{padding:6px}.components-color-picker__saturation{width:100%;padding-bottom:55%;position:relative}.components-color-picker__body{padding:16px 16px 12px}.components-color-picker__controls{display:flex}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{padding:0;position:absolute;cursor:pointer;box-shadow:none;border:none}.components-color-picker__swatch{margin-right:8px;width:32px;height:32px;border-radius:50%;position:relative;overflow:hidden;background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0}.is-alpha-disabled .components-color-picker__swatch{width:12px;height:12px;margin-top:0}.components-color-picker__active{border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);z-index:2}.components-color-picker__active,.components-color-picker__saturation-black,.components-color-picker__saturation-color,.components-color-picker__saturation-white{position:absolute;top:0;left:0;right:0;bottom:0}.components-color-picker__saturation-color{overflow:hidden}.components-color-picker__saturation-white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.components-color-picker__saturation-black{background:linear-gradient(0deg,#000,transparent)}.components-color-picker__saturation-pointer{width:8px;height:8px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;background-color:transparent;transform:translate(-4px,-4px)}.components-color-picker__toggles{flex:1}.components-color-picker__alpha{background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0}.components-color-picker__alpha-gradient,.components-color-picker__hue-gradient{position:absolute;top:0;left:0;right:0;bottom:0}.components-color-picker__alpha,.components-color-picker__hue{height:12px;position:relative}.is-alpha-enabled .components-color-picker__hue{margin-bottom:8px}.components-color-picker__alpha-bar,.components-color-picker__hue-bar{position:relative;margin:0 3px;height:100%;padding:0 2px}.components-color-picker__hue-gradient{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer{left:0;width:14px;height:14px;border-radius:50%;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);background:#fff;transform:translate(-7px,-1px)}.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{transition-duration:0s}}.components-color-picker__saturation-pointer:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #00a0d2,0 0 5px 0 #00a0d2,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4)}.components-color-picker__alpha-pointer:focus,.components-color-picker__hue-pointer:focus{border-color:#00a0d2;box-shadow:0 0 0 2px #00a0d2,0 0 3px 0 #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-color-picker__inputs-wrapper{margin:0 -4px;padding-top:16px;display:flex;align-items:flex-end}.components-color-picker__inputs-wrapper fieldset{flex:1;border:none;margin:0;padding:0}.components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type=number]{padding:6px 8px}.components-color-picker__inputs-field{width:100%}.components-color-picker__inputs-fields{display:flex;direction:ltr;flex-grow:1}.components-color-picker__inputs-fields .components-base-control+.components-base-control{margin-bottom:0}.components-color-picker__inputs-fields .components-base-control__field{margin:0 4px}.components-custom-gradient-picker:not(.has-gradient){opacity:.4}.components-custom-gradient-picker{width:100%;height:24px;border-radius:24px;margin-bottom:8px;padding-left:3px;padding-right:21px}.components-custom-gradient-picker .components-custom-gradient-picker__markers-container{position:relative}.components-custom-gradient-picker .components-custom-gradient-picker__insert-point{border-radius:50%;background:#fff;padding:2px;width:24px;height:24px;position:relative}.components-custom-gradient-picker .components-custom-gradient-picker__control-point-button{border:2px solid #fff;border-radius:50%;height:18px;position:absolute;width:18px;top:3px}.components-custom-gradient-picker .components-custom-gradient-picker__control-point-button.is-active{background:#fafafa;color:#23282d;border-color:#999;box-shadow:inset 0 -1px 0 #999,0 0 0 1px #fff,0 0 0 3px #007cba}.components-custom-gradient-picker__color-picker-popover .components-custom-gradient-picker__remove-control-point{margin-left:auto;margin-right:auto;display:block;margin-bottom:8px}.components-custom-gradient-picker__inserter{width:100%}.components-custom-select-control{color:#555d66;position:relative}.components-custom-select-control__label{display:block;margin-bottom:5px}.components-custom-select-control__button{border:1px solid #7e8993;border-radius:4px;color:#555d66;display:inline;min-height:30px;min-width:130px;position:relative;text-align:left}.components-custom-select-control__button:focus{border-color:#00a0d2}.components-custom-select-control__button-icon{height:100%;padding:0 4px;position:absolute;right:0;top:0}.components-custom-select-control__menu{background:#fff;padding:0;position:absolute;width:100%;z-index:1000000}.components-custom-select-control__item{align-items:center;display:flex;list-style-type:none;padding:10px 5px 10px 25px}.components-custom-select-control__item.is-highlighted{background:#e2e4e7}.components-custom-select-control__item-icon{margin-left:-20px;margin-right:0}svg.dashicon{fill:currentColor;outline:none}.PresetDateRangePicker_panel{padding:0 22px 11px}.PresetDateRangePicker_button{position:relative;height:100%;text-align:center;background:0 0;border:2px solid #00a699;color:#00a699;padding:4px 12px;margin-right:8px;font:inherit;font-weight:700;line-height:normal;overflow:visible;box-sizing:border-box;cursor:pointer}.PresetDateRangePicker_button:active{outline:0}.PresetDateRangePicker_button__selected{color:#fff;background:#00a699}.SingleDatePickerInput{display:inline-block;background-color:#fff}.SingleDatePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.SingleDatePickerInput__rtl{direction:rtl}.SingleDatePickerInput__disabled{background-color:#f2f2f2}.SingleDatePickerInput__block{display:block}.SingleDatePickerInput__showClearDate{padding-right:30px}.SingleDatePickerInput_clearDate{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.SingleDatePickerInput_clearDate__default:focus,.SingleDatePickerInput_clearDate__default:hover{background:#dbdbdb;border-radius:50%}.SingleDatePickerInput_clearDate__small{padding:6px}.SingleDatePickerInput_clearDate__hide{visibility:hidden}.SingleDatePickerInput_clearDate_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.SingleDatePickerInput_clearDate_svg__small{height:9px}.SingleDatePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.SingleDatePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.SingleDatePicker{position:relative;display:inline-block}.SingleDatePicker__block{display:block}.SingleDatePicker_picker{z-index:1;background-color:#fff;position:absolute}.SingleDatePicker_picker__rtl{direction:rtl}.SingleDatePicker_picker__directionLeft{left:0}.SingleDatePicker_picker__directionRight{right:0}.SingleDatePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.SingleDatePicker_picker__fullScreenPortal{background-color:#fff}.SingleDatePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.SingleDatePicker_closeButton:focus,.SingleDatePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.SingleDatePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_buttonReset{background:0 0;border:0;border-radius:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;cursor:pointer;font-size:14px}.DayPickerKeyboardShortcuts_buttonReset:active{outline:0}.DayPickerKeyboardShortcuts_show{width:22px;position:absolute;z-index:2}.DayPickerKeyboardShortcuts_show__bottomRight{border-top:26px solid transparent;border-right:33px solid #00a699;bottom:0;right:0}.DayPickerKeyboardShortcuts_show__bottomRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topRight{border-bottom:26px solid transparent;border-right:33px solid #00a699;top:0;right:0}.DayPickerKeyboardShortcuts_show__topRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topLeft{border-bottom:26px solid transparent;border-left:33px solid #00a699;top:0;left:0}.DayPickerKeyboardShortcuts_show__topLeft:hover{border-left:33px solid #008489}.DayPickerKeyboardShortcuts_showSpan{color:#fff;position:absolute}.DayPickerKeyboardShortcuts_showSpan__bottomRight{bottom:0;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topRight{top:1px;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topLeft{top:1px;left:-28px}.DayPickerKeyboardShortcuts_panel{overflow:auto;background:#fff;border:1px solid #dbdbdb;border-radius:2px;position:absolute;top:0;bottom:0;right:0;left:0;z-index:2;padding:22px;margin:33px}.DayPickerKeyboardShortcuts_title{font-size:16px;font-weight:700;margin:0}.DayPickerKeyboardShortcuts_list{list-style:none;padding:0;font-size:14px}.DayPickerKeyboardShortcuts_close{position:absolute;right:22px;top:22px;z-index:2}.DayPickerKeyboardShortcuts_close:active{outline:0}.DayPickerKeyboardShortcuts_closeSvg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_closeSvg:focus,.DayPickerKeyboardShortcuts_closeSvg:hover{fill:#82888a}.CalendarDay{box-sizing:border-box;cursor:pointer;font-size:14px;text-align:center}.CalendarDay:active{outline:0}.CalendarDay__defaultCursor{cursor:default}.CalendarDay__default{border:1px solid #e4e7e7;color:#484848;background:#fff}.CalendarDay__default:hover{background:#e4e7e7;border:1px double #e4e7e7;color:inherit}.CalendarDay__hovered_offset{background:#f4f5f5;border:1px double #e4e7e7;color:inherit}.CalendarDay__outside{border:0;background:#fff;color:#484848}.CalendarDay__outside:hover{border:0}.CalendarDay__blocked_minimum_nights{background:#fff;border:1px solid #eceeee;color:#cacccd}.CalendarDay__blocked_minimum_nights:active,.CalendarDay__blocked_minimum_nights:hover{background:#fff;color:#cacccd}.CalendarDay__highlighted_calendar{background:#ffe8bc;color:#484848}.CalendarDay__highlighted_calendar:active,.CalendarDay__highlighted_calendar:hover{background:#ffce71;color:#484848}.CalendarDay__selected_span{background:#66e2da;border:1px solid #33dacd;color:#fff}.CalendarDay__selected_span:active,.CalendarDay__selected_span:hover{background:#33dacd;border:1px solid #33dacd;color:#fff}.CalendarDay__last_in_range{border-right:#00a699}.CalendarDay__selected,.CalendarDay__selected:active,.CalendarDay__selected:hover{background:#00a699;border:1px solid #00a699;color:#fff}.CalendarDay__hovered_span,.CalendarDay__hovered_span:hover{background:#b2f1ec;border:1px solid #80e8e0;color:#007a87}.CalendarDay__hovered_span:active{background:#80e8e0;border:1px solid #80e8e0;color:#007a87}.CalendarDay__blocked_calendar,.CalendarDay__blocked_calendar:active,.CalendarDay__blocked_calendar:hover{background:#cacccd;border:1px solid #cacccd;color:#82888a}.CalendarDay__blocked_out_of_range,.CalendarDay__blocked_out_of_range:active,.CalendarDay__blocked_out_of_range:hover{background:#fff;border:1px solid #e4e7e7;color:#cacccd}.CalendarMonth{background:#fff;text-align:center;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.CalendarMonth_table{border-collapse:collapse;border-spacing:0}.CalendarMonth_verticalSpacing{border-collapse:separate}.CalendarMonth_caption{color:#484848;font-size:18px;text-align:center;padding-top:22px;padding-bottom:37px;caption-side:top}.CalendarMonth_caption__verticalScrollable{padding-top:12px;padding-bottom:7px}.CalendarMonthGrid{background:#fff;text-align:left;z-index:0}.CalendarMonthGrid__animating{z-index:1}.CalendarMonthGrid__horizontal{position:absolute;left:9px}.CalendarMonthGrid__vertical{margin:0 auto}.CalendarMonthGrid__vertical_scrollable{margin:0 auto;overflow-y:scroll}.CalendarMonthGrid_month__horizontal{display:inline-block;vertical-align:top;min-height:100%}.CalendarMonthGrid_month__hideForAnimation{position:absolute;z-index:-1;opacity:0;pointer-events:none}.CalendarMonthGrid_month__hidden{visibility:hidden}.DayPickerNavigation{position:relative;z-index:2}.DayPickerNavigation__horizontal{height:0}.DayPickerNavigation__verticalDefault{position:absolute;width:100%;height:52px;bottom:0;left:0}.DayPickerNavigation__verticalScrollableDefault{position:relative}.DayPickerNavigation_button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:0;padding:0;margin:0}.DayPickerNavigation_button__default{border:1px solid #e4e7e7;background-color:#fff;color:#757575}.DayPickerNavigation_button__default:focus,.DayPickerNavigation_button__default:hover{border:1px solid #c4c4c4}.DayPickerNavigation_button__default:active{background:#f2f2f2}.DayPickerNavigation_button__horizontalDefault{position:absolute;top:18px;line-height:.78;border-radius:3px;padding:6px 9px}.DayPickerNavigation_leftButton__horizontalDefault{left:22px}.DayPickerNavigation_rightButton__horizontalDefault{right:22px}.DayPickerNavigation_button__verticalDefault{padding:5px;background:#fff;box-shadow:0 0 5px 2px rgba(0,0,0,.1);position:relative;display:inline-block;height:100%;width:50%}.DayPickerNavigation_nextButton__verticalDefault{border-left:0}.DayPickerNavigation_nextButton__verticalScrollableDefault{width:100%}.DayPickerNavigation_svg__horizontal{height:19px;width:19px;fill:#82888a;display:block}.DayPickerNavigation_svg__vertical{height:42px;width:42px;fill:#484848;display:block}.DayPicker{position:relative;text-align:left}.DayPicker,.DayPicker__horizontal{background:#fff}.DayPicker__verticalScrollable{height:100%}.DayPicker__hidden{visibility:hidden}.DayPicker__withBorder{box-shadow:0 2px 6px rgba(0,0,0,.05),0 0 0 1px rgba(0,0,0,.07);border-radius:3px}.DayPicker_portal__horizontal{box-shadow:none;position:absolute;left:50%;top:50%}.DayPicker_portal__vertical{position:static}.DayPicker_focusRegion{outline:0}.DayPicker_calendarInfo__horizontal,.DayPicker_wrapper__horizontal{display:inline-block;vertical-align:top}.DayPicker_weekHeaders{position:relative}.DayPicker_weekHeaders__horizontal{margin-left:9px}.DayPicker_weekHeader{color:#757575;position:absolute;top:62px;z-index:2;text-align:left}.DayPicker_weekHeader__vertical{left:50%}.DayPicker_weekHeader__verticalScrollable{top:0;display:table-row;border-bottom:1px solid #dbdbdb;background:#fff;margin-left:0;left:0;width:100%;text-align:center}.DayPicker_weekHeader_ul{list-style:none;margin:1px 0;padding-left:0;padding-right:0;font-size:14px}.DayPicker_weekHeader_li{display:inline-block;text-align:center}.DayPicker_transitionContainer{position:relative;overflow:hidden;border-radius:3px}.DayPicker_transitionContainer__horizontal{transition:height .2s ease-in-out}.DayPicker_transitionContainer__vertical{width:100%}.DayPicker_transitionContainer__verticalScrollable{padding-top:20px;height:100%;position:absolute;top:0;bottom:0;right:0;left:0;overflow-y:scroll}.DateInput{margin:0;padding:0;background:#fff;position:relative;display:inline-block;width:130px;vertical-align:middle}.DateInput__small{width:97px}.DateInput__block{width:100%}.DateInput__disabled{background:#f2f2f2;color:#dbdbdb}.DateInput_input{font-weight:200;font-size:19px;line-height:24px;color:#484848;background-color:#fff;width:100%;padding:11px 11px 9px;border:0;border-bottom:2px solid transparent;border-radius:0}.DateInput_input__small{font-size:15px;line-height:18px;letter-spacing:.2px;padding:7px 7px 5px}.DateInput_input__regular{font-weight:auto}.DateInput_input__readOnly{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.DateInput_input__focused{outline:0;background:#fff;border:0;border-bottom:2px solid #008489}.DateInput_input__disabled{background:#f2f2f2;font-style:italic}.DateInput_screenReaderMessage{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.DateInput_fang{position:absolute;width:20px;height:10px;left:22px;z-index:2}.DateInput_fangShape{fill:#fff}.DateInput_fangStroke{stroke:#dbdbdb;fill:transparent}.DateRangePickerInput{background-color:#fff;display:inline-block}.DateRangePickerInput__disabled{background:#f2f2f2}.DateRangePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.DateRangePickerInput__rtl{direction:rtl}.DateRangePickerInput__block{display:block}.DateRangePickerInput__showClearDates{padding-right:30px}.DateRangePickerInput_arrow{display:inline-block;vertical-align:middle;color:#484848}.DateRangePickerInput_arrow_svg{vertical-align:middle;fill:#484848;height:24px;width:24px}.DateRangePickerInput_clearDates{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.DateRangePickerInput_clearDates__small{padding:6px}.DateRangePickerInput_clearDates_default:focus,.DateRangePickerInput_clearDates_default:hover{background:#dbdbdb;border-radius:50%}.DateRangePickerInput_clearDates__hide{visibility:hidden}.DateRangePickerInput_clearDates_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.DateRangePickerInput_clearDates_svg__small{height:9px}.DateRangePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.DateRangePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.DateRangePicker{position:relative;display:inline-block}.DateRangePicker__block{display:block}.DateRangePicker_picker{z-index:1;background-color:#fff;position:absolute}.DateRangePicker_picker__rtl{direction:rtl}.DateRangePicker_picker__directionLeft{left:0}.DateRangePicker_picker__directionRight{right:0}.DateRangePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.DateRangePicker_picker__fullScreenPortal{background-color:#fff}.DateRangePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.DateRangePicker_closeButton:focus,.DateRangePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.DateRangePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.components-datetime,.components-datetime .components-datetime__calendar-help{padding:16px}.components-datetime .components-datetime__calendar-help h4{margin:0}.components-datetime .components-datetime__date-help-button{display:block;margin-left:auto}.components-datetime fieldset{border:0;padding:0;margin:0}.components-datetime input,.components-datetime select{box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #7e8993}@media (prefers-reduced-motion:reduce){.components-datetime input,.components-datetime select{transition-duration:0s}}.components-datetime .components-button,.components-datetime input[type=number],.components-datetime select{height:30px;margin-top:0;margin-bottom:0}.components-datetime__date{min-height:236px;border-top:1px solid #e2e4e7}.components-datetime__date .CalendarMonthGrid{margin-left:-13px}.components-datetime__date .DayPickerNavigation_leftButton__horizontalDefault{left:0}.components-datetime__date .CalendarMonth_caption{font-size:13px}.components-datetime__date .CalendarDay{font-size:13px;border:1px solid transparent;border-radius:50%;text-align:center}.components-datetime__date .CalendarDay__selected{background:#0085ba}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected{background:#d1864a}body.admin-color-ocean .components-datetime__date .CalendarDay__selected{background:#a3b9a2}body.admin-color-midnight .components-datetime__date .CalendarDay__selected{background:#e14d43}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected{background:#a7b656}body.admin-color-coffee .components-datetime__date .CalendarDay__selected{background:#c2a68c}body.admin-color-blue .components-datetime__date .CalendarDay__selected{background:#82b4cb}body.admin-color-light .components-datetime__date .CalendarDay__selected{background:#0085ba}.components-datetime__date .CalendarDay__selected:hover{background:#00719e}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected:hover{background:#b2723f}body.admin-color-ocean .components-datetime__date .CalendarDay__selected:hover{background:#8b9d8a}body.admin-color-midnight .components-datetime__date .CalendarDay__selected:hover{background:#bf4139}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected:hover{background:#8e9b49}body.admin-color-coffee .components-datetime__date .CalendarDay__selected:hover{background:#a58d77}body.admin-color-blue .components-datetime__date .CalendarDay__selected:hover{background:#6f99ad}body.admin-color-light .components-datetime__date .CalendarDay__selected:hover{background:#00719e}.components-datetime__date .DayPickerNavigation_button__horizontalDefault{padding:2px 8px;top:20px}.components-datetime__date .DayPickerNavigation_button__horizontalDefault:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-datetime__date .DayPicker_weekHeader{top:50px}.components-datetime__date .DayPicker_weekHeader .DayPicker_weekHeader_ul{margin:1px 0;padding-left:0;padding-right:0}.components-datetime__date.is-description-visible .components-datetime__date-help-button,.components-datetime__date.is-description-visible .DayPicker{visibility:hidden}.components-datetime__time{padding-bottom:16px}.components-datetime__time fieldset{position:relative;margin-bottom:.5em}.components-datetime__time fieldset+fieldset{margin-bottom:0}.components-datetime__time .components-datetime__time-field-am-pm fieldset{margin-top:0}.components-datetime__time .components-datetime__time-wrapper{display:flex}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-separator{display:inline-block;padding:0 3px 0 0;color:#555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button{margin-left:8px;margin-right:-1px;border-radius:3px 0 0 3px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button{margin-left:-1px;border-radius:0 3px 3px 0}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button:focus,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled{background:#edeff0;border-color:#8f98a1;box-shadow:inset 0 2px 5px -3px #555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled:focus,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled:focus{box-shadow:inset 0 2px 5px -3px #555d66,0 0 0 1px #fff,0 0 0 3px #007cba}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field-time{direction:ltr}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field.am-pm button{font-size:11px;font-weight:600}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select{margin-right:4px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]{padding:2px;margin-right:4px;text-align:center;-moz-appearance:textfield}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.components-datetime__time.is-12-hour .components-datetime__time-field-day input{margin:0 -4px 0 0!important;border-radius:4px 0 0 4px!important}.components-datetime__time.is-12-hour .components-datetime__time-field-year input{border-radius:0 4px 4px 0!important}.components-datetime__time-legend{font-weight:600;margin-top:.5em}.components-datetime__time-legend.invisible{position:absolute;top:-999em;left:-999em}.components-datetime__time-field-day-input,.components-datetime__time-field-hours-input,.components-datetime__time-field-minutes-input{width:35px}.components-datetime__time-field-year-input{width:55px}.components-datetime__time-field-month-select{max-width:145px}.components-popover .components-datetime__date{padding-left:4px}.block-editor-dimension-control .components-base-control__field{display:flex;align-items:center}.block-editor-dimension-control .components-base-control__label{display:flex;align-items:center;margin-right:1em;margin-bottom:0}.block-editor-dimension-control .components-base-control__label .dashicon{margin-right:.5em}.block-editor-dimension-control.is-manual .components-base-control__label{width:10em}.components-disabled{position:relative;pointer-events:none}.components-disabled:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.components-disabled *{pointer-events:none}body.is-dragging-components-draggable{cursor:move;cursor:grabbing!important}.components-draggable__invisible-drag-image{position:fixed;left:-1000px;height:50px;width:50px}.components-draggable__clone{position:fixed;padding:20px;background:transparent;pointer-events:none;z-index:1000000000;opacity:.8}.components-drop-zone{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;visibility:hidden;opacity:0;transition:opacity .3s,background-color .3s,visibility 0s .3s;border:2px solid #0071a1;border-radius:2px}@media (prefers-reduced-motion:reduce){.components-drop-zone{transition-duration:0s}}.components-drop-zone.is-active{opacity:1;visibility:visible;transition:opacity .3s,background-color .3s}@media (prefers-reduced-motion:reduce){.components-drop-zone.is-active{transition-duration:0s}}.components-drop-zone.is-dragging-over-element{background-color:rgba(0,113,161,.8)}.components-drop-zone__content{position:absolute;top:50%;left:0;right:0;z-index:50;transform:translateY(-50%);width:100%;text-align:center;color:#fff;transition:transform .2s ease-in-out}@media (prefers-reduced-motion:reduce){.components-drop-zone__content{transition-duration:0s}}.components-drop-zone.is-dragging-over-element .components-drop-zone__content{transform:translateY(-50%) scale(1.05)}.components-drop-zone__content-icon,.components-drop-zone__content-text{display:block}.components-drop-zone__content-icon{margin:0 auto;line-height:0}.components-drop-zone__content-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.components-drop-zone__provider{height:100%}.components-dropdown{display:inline-block}.components-dropdown-menu__indicator:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.components-dropdown-menu__popover .components-popover__content{width:200px}.components-dropdown-menu__menu{width:100%;padding:7px 0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.components-dropdown-menu__menu .components-dropdown-menu__menu-item,.components-dropdown-menu__menu .components-menu-item{width:100%;padding:6px;outline:none;cursor:pointer;margin-bottom:4px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator,.components-dropdown-menu__menu .components-menu-item.has-separator{margin-top:6px;position:relative;overflow:visible}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator:before,.components-dropdown-menu__menu .components-menu-item.has-separator:before{display:block;content:"";box-sizing:content-box;background-color:#e2e4e7;position:absolute;top:-3px;left:0;right:0;height:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-default),.components-dropdown-menu__menu .components-menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-default){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:hover,.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.components-dropdown-menu__menu .components-menu-item:hover,.components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-dropdown-menu__menu .components-dropdown-menu__menu-item>svg,.components-dropdown-menu__menu .components-menu-item>svg{border-radius:4px;padding:2px;width:24px;height:24px;margin:-1px 8px -1px 0}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default).is-active>svg,.components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default).is-active>svg{outline:none;color:#fff;box-shadow:none;background:#555d66}.components-dropdown-menu__menu .components-menu-group:not(:last-child){border-bottom:1px solid #e2e4e7}.components-dropdown-menu__menu .components-menu-item__button,.components-dropdown-menu__menu .components-menu-item__button.components-icon-button{padding-left:2rem}.components-dropdown-menu__menu .components-menu-item__button.components-icon-button.has-icon,.components-dropdown-menu__menu .components-menu-item__button.has-icon{padding-left:.5rem}.components-dropdown-menu__menu .components-menu-item__button.components-icon-button .dashicon,.components-dropdown-menu__menu .components-menu-item__button .dashicon{margin-right:4px}.components-external-link__icon{width:1.4em;height:1.4em;margin:-.2em .1em 0;vertical-align:middle}.components-focal-point-picker-wrapper{background-color:transparent;border:1px solid #e2e4e7;height:200px;width:100%;padding:14px}.components-focal-point-picker{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;position:relative;width:100%}.components-focal-point-picker img{height:auto;max-height:100%;max-width:100%;width:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.components-focal-point-picker__icon_container{background-color:transparent;cursor:grab;height:30px;opacity:.8;position:absolute;will-change:transform;width:30px;z-index:10000}.components-focal-point-picker__icon_container.is-dragging{cursor:grabbing}.components-focal-point-picker__icon{display:block;height:100%;left:-15px;position:absolute;top:-15px;width:100%}.components-focal-point-picker__icon .components-focal-point-picker__icon-outline{fill:#fff}.components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}body.admin-color-sunrise .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#d1864a}body.admin-color-ocean .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a3b9a2}body.admin-color-midnight .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#e14d43}body.admin-color-ectoplasm .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a7b656}body.admin-color-coffee .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#c2a68c}body.admin-color-blue .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#82b4cb}body.admin-color-light .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}.components-focal-point-picker_position-display-container{margin:1em 0;display:flex}.components-focal-point-picker_position-display-container .components-base-control__field{margin:0 1em 0 0}.components-focal-point-picker_position-display-container input[type=number].components-text-control__input{max-width:4em;padding:6px 4px}.components-focal-point-picker_position-display-container span{margin:0 0 0 .2em}.components-font-size-picker__controls{max-width:248px;display:flex;align-items:center;margin-bottom:24px}.components-font-size-picker__controls .components-range-control__number{height:30px;margin:5px 8px 0 0}.components-font-size-picker__controls .components-range-control__number[value=""]+.components-button{cursor:default;opacity:.3;pointer-events:none}.components-font-size-picker__controls .components-range-control__number-container{display:flex;flex-direction:column}.components-font-size-picker__controls .components-font-size-picker__select{margin-right:8px;flex-grow:1}.components-font-size-picker__controls .components-color-palette__clear{height:30px;margin-top:23px}.components-font-size-picker__custom-input .components-range-control__slider+.dashicon{width:30px;height:30px}.components-font-size-picker{border:0;padding:0;margin:0}.components-form-file-upload .components-button.is-large{padding-left:6px}.components-form-toggle{position:relative;display:inline-block}.components-form-toggle .components-form-toggle__off,.components-form-toggle .components-form-toggle__on{position:absolute;top:6px;box-sizing:border-box}.components-form-toggle .components-form-toggle__off{color:#6c7781;fill:currentColor;right:6px}.components-form-toggle .components-form-toggle__on{left:8px}.components-form-toggle .components-form-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:2px solid #6c7781;width:36px;height:18px;border-radius:9px;transition:background .2s ease}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__track{transition-duration:0s}}.components-form-toggle .components-form-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:4px;left:4px;width:10px;height:10px;border-radius:50%;transition:transform .1s ease;background-color:#6c7781;border:5px solid #6c7781}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__thumb{transition-duration:0s}}.components-form-toggle:hover .components-form-toggle__track{border:2px solid #555d66}.components-form-toggle:hover .components-form-toggle__thumb{background-color:#555d66;border:5px solid #6c7781}.components-form-toggle:hover .components-form-toggle__off{color:#555d66}.components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:9px solid transparent}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__track{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__track{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:2px solid #11a0d2}.components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3px #6c7781;outline:2px solid transparent;outline-offset:2px}.components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(18px)}.components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}body.admin-color-sunrise .components-form-toggle.is-checked:before{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked:before{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked:before{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked:before{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked:before{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked:before{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}.components-disabled .components-form-toggle{opacity:.3}.components-form-toggle input.components-form-toggle__input[type=checkbox]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;margin:0;padding:0;z-index:1;border:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:checked{background:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:before{content:""}.components-form-toggle .components-form-toggle__on{outline:1px solid transparent;outline-offset:-1px;border:1px solid #000;filter:invert(100%) contrast(500%)}@supports (-ms-high-contrast-adjust:auto){.components-form-toggle .components-form-toggle__on{filter:none;border:1px solid #fff}}.components-form-token-field__input-container{display:flex;flex-wrap:wrap;align-items:flex-start;width:100%;margin:0 0 8px;padding:4px;background-color:#fff;color:#32373c;cursor:text;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #7e8993}@media (prefers-reduced-motion:reduce){.components-form-token-field__input-container{transition-duration:0s}}.components-form-token-field__input-container.is-disabled{background:#e2e4e7;border-color:#ccd0d4}.components-form-token-field__input-container.is-active{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-form-token-field__input-container input[type=text].components-form-token-field__input{display:inline-block;width:100%;max-width:100%;margin:2px 0 2px 8px;padding:0;min-height:24px;background:inherit;border:0;color:#23282d;box-shadow:none}.components-form-token-field.is-active .components-form-token-field__input-container input[type=text].components-form-token-field__input,.components-form-token-field__input-container input[type=text].components-form-token-field__input:focus{outline:none;box-shadow:none}.components-form-token-field__input-container .components-form-token-field__token+input[type=text].components-form-token-field__input{width:auto}.components-form-token-field__label{display:inline-block;margin-bottom:4px}.components-form-token-field__help{font-style:italic}.components-form-token-field__token{font-size:13px;display:flex;margin:2px 4px 2px 0;color:#32373c;overflow:hidden}.components-form-token-field__token.is-success .components-form-token-field__remove-token,.components-form-token-field__token.is-success .components-form-token-field__token-text{background:#4ab866}.components-form-token-field__token.is-error .components-form-token-field__remove-token,.components-form-token-field__token.is-error .components-form-token-field__token-text{background:#d94f4f}.components-form-token-field__token.is-validating .components-form-token-field__remove-token,.components-form-token-field__token.is-validating .components-form-token-field__token-text{color:#555d66}.components-form-token-field__token.is-borderless{position:relative;padding:0 16px 0 0}.components-form-token-field__token.is-borderless .components-form-token-field__token-text{background:transparent;color:#11a0d2}body.admin-color-sunrise .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c8b03c}body.admin-color-ocean .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#a89d8a}body.admin-color-midnight .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#77a6b9}body.admin-color-ectoplasm .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c77430}body.admin-color-coffee .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#9fa47b}body.admin-color-blue .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#d9ab59}body.admin-color-light .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c75726}.components-form-token-field__token.is-borderless .components-form-token-field__remove-token{background:transparent;color:#555d66;position:absolute;top:1px;right:0}.components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text{color:#4ab866}.components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text{color:#d94f4f;border-radius:4px 0 0 4px;padding:0 4px 0 6px}.components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text{color:#23282d}.components-form-token-field__token.is-disabled .components-form-token-field__remove-token{cursor:default}.components-form-token-field__remove-token.components-icon-button,.components-form-token-field__token-text{display:inline-block;line-height:24px;background:#e2e4e7;transition:all .2s cubic-bezier(.4,1,.4,1)}@media (prefers-reduced-motion:reduce){.components-form-token-field__remove-token.components-icon-button,.components-form-token-field__token-text{transition-duration:0s;animation-duration:1ms}}.components-form-token-field__token-text{border-radius:12px 0 0 12px;padding:0 4px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.components-form-token-field__remove-token.components-icon-button{cursor:pointer;border-radius:0 12px 12px 0;padding:0 2px;color:#555d66;line-height:10px;overflow:initial}.components-form-token-field__remove-token.components-icon-button:hover{color:#32373c}.components-form-token-field__suggestions-list{flex:1 0 100%;min-width:100%;max-height:9em;overflow-y:scroll;transition:all .15s ease-in-out;list-style:none;border-top:1px solid #6c7781;margin:4px -4px -4px;padding-top:3px}@media (prefers-reduced-motion:reduce){.components-form-token-field__suggestions-list{transition-duration:0s}}.components-form-token-field__suggestion{color:#555d66;display:block;font-size:13px;padding:4px 8px;cursor:pointer}.components-form-token-field__suggestion.is-selected{background:#0071a1;color:#fff}.components-form-token-field__suggestion-match{text-decoration:underline}.components-guide .components-modal__header{background:none;border-bottom:none}.components-guide .components-modal__header .components-icon-button{align-self:flex-start;margin-top:24px;position:static}.components-guide__container{align-items:center;display:flex;flex-direction:column;margin-top:-56px;min-height:100%}.components-guide__footer{align-content:center;display:flex;height:30px;justify-content:center;margin:auto 0 24px;position:relative;width:100%}@media (min-width:600px){.components-guide__footer{margin:24px 0 0}}.components-guide__page-control{margin:0}.components-guide__page-control li{display:inline-block;margin:0 2px}.components-guide__page-control .components-icon-button{height:30px}@media (max-width:600px){.components-modal__frame.components-guide{bottom:15%;left:24px;right:24px;top:15%}}.components-button.components-guide__back-button,.components-button.components-guide__finish-button,.components-button.components-guide__forward-button{height:30px;position:absolute}.components-button.components-guide__back-button,.components-button.components-guide__forward-button{font-size:0;padding:4px 2px}.components-button.components-guide__back-button.has-text svg,.components-button.components-guide__forward-button.has-text svg{margin:0}@media (min-width:600px){.components-button.components-guide__back-button,.components-button.components-guide__forward-button{font-size:13px}}.components-button.components-guide__back-button{left:0}@media (min-width:600px){.components-button.components-guide__back-button{padding:4px 8px 4px 2px}.components-button.components-guide__back-button.has-text svg{margin-right:4px}}.components-button.components-guide__forward-button{right:0}@media (min-width:600px){.components-button.components-guide__forward-button{padding:4px 2px 4px 8px}.components-button.components-guide__forward-button.has-text svg{margin-left:4px;order:1}}.components-button.components-guide__finish-button{display:none;right:0}@media (min-width:600px){.components-button.components-guide__finish-button{display:unset}}@media (min-width:600px){.components-button.components-guide__inline-finish-button{display:none}}.components-navigate-regions.is-focusing-regions [role=region]{position:relative}.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none;outline:4px solid transparent;box-shadow:inset 0 0 0 4px #33b3db}@supports (outline-offset:1px){.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:none}.components-navigate-regions.is-focusing-regions [role=region]:focus{outline-style:solid;outline-color:#33b3db;outline-width:4px;outline-offset:-4px}}.components-icon-button{display:flex;align-items:center;padding:8px;margin:0;border:none;background:none;color:#555d66;position:relative;overflow:hidden;border-radius:4px}.components-icon-button .dashicon{display:inline-block;flex:0 0 auto}.components-icon-button svg{fill:currentColor;outline:none}.components-icon-button.has-text svg{margin-right:4px}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):active{outline:none;background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #ccd0d4,inset 0 0 0 2px #fff}.components-icon-button:disabled:focus,.components-icon-button[aria-disabled=true]:focus{box-shadow:none}.components-menu-group{width:100%;padding:7px 0}.components-menu-group__label{margin-bottom:8px;color:#6c7781;padding:0 7px}.components-menu-item__button,.components-menu-item__button.components-icon-button{width:100%;padding:8px 15px;text-align:left;color:#40464d;border:none;box-shadow:none}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button.components-icon-button .dashicon,.components-menu-item__button.components-icon-button>span>svg,.components-menu-item__button .components-menu-items__item-icon,.components-menu-item__button .dashicon,.components-menu-item__button>span>svg{margin-right:5px}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button .components-menu-items__item-icon{display:inline-block;flex:0 0 auto}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut,.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut{color:#40464d}.components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-menu-item__info-wrapper{display:flex;flex-direction:column}.components-menu-item__info{margin-top:4px;font-size:12px;color:#6c7781}.components-menu-item__shortcut{-ms-grid-row-align:center;align-self:center;color:#6c7781;margin-right:0;margin-left:auto;padding-left:8px;display:none}@media (min-width:480px){.components-menu-item__shortcut{display:inline}}.components-menu-items-choice,.components-menu-items-choice.components-icon-button{padding-left:2rem}.components-menu-items-choice.components-icon-button.has-icon,.components-menu-items-choice.has-icon{padding-left:.5rem}.components-menu-items-choice.components-icon-button .dashicon,.components-menu-items-choice .dashicon{margin-right:4px}.components-modal__screen-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.7);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-modal__screen-overlay{animation-duration:1ms}}.components-modal__frame{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;margin:0;border:1px solid #e2e4e7;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.2);overflow:auto}@media (min-width:600px){.components-modal__frame{top:50%;right:auto;bottom:auto;left:50%;min-width:360px;max-width:calc(100% - 32px);max-height:calc(100% - 112px);transform:translate(-50%,-50%);animation:components-modal__appear-animation .1s ease-out;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.components-modal__frame{animation-duration:1ms}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #e2e4e7;padding:0 24px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:56px;position:-webkit-sticky;position:sticky;top:0;z-index:10;margin:0 -24px 24px}@supports (-ms-ime-align:auto){.components-modal__header{position:fixed;width:100%}}.components-modal__header .components-modal__header-heading{font-size:1rem;font-weight:600}.components-modal__header h1{line-height:1;margin:0}.components-modal__header .components-icon-button{position:relative;left:8px}.components-modal__header-heading-container{align-items:center;flex-grow:1;display:flex;flex-direction:row;justify-content:left}.components-modal__header-icon-container{display:inline-block}.components-modal__header-icon-container svg{max-width:36px;max-height:36px;padding:8px}.components-modal__content{box-sizing:border-box;height:100%;padding:0 24px 24px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:56px}}.components-notice{display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background-color:#e5f5fa;border-left:4px solid #00a0d2;margin:5px 15px 2px;padding:8px 12px;align-items:center}.components-notice.is-dismissible{padding-right:36px;position:relative}.components-notice.is-success{border-left-color:#4ab866;background-color:#eff9f1}.components-notice.is-warning{border-left-color:#f0b849;background-color:#fef8ee}.components-notice.is-error{border-left-color:#d94f4f;background-color:#f9e2e2}.components-notice__content{flex-grow:1;margin:4px 25px 4px 0}.components-notice__action.components-button,.components-notice__action.components-button.is-link{margin-left:4px}.components-notice__action.components-button.is-default{vertical-align:initial}.components-notice__dismiss{color:#6c7781;align-self:flex-start;flex-shrink:0}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#191e23;background-color:transparent}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.components-notice-list{max-width:100vw;box-sizing:border-box;z-index:29}.components-notice-list .components-notice__content{margin-top:12px;margin-bottom:12px;line-height:1.6}.components-notice-list .components-notice__action.components-button{margin-top:-2px;margin-bottom:-2px}.components-panel{background:#fff;border:1px solid #e2e4e7}.components-panel>.components-panel__body:first-child,.components-panel>.components-panel__header:first-child{margin-top:-1px}.components-panel>.components-panel__body:last-child,.components-panel>.components-panel__header:last-child{border-bottom-width:0}.components-panel+.components-panel{margin-top:-1px}.components-panel__body{border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__body h3{margin:0 0 .5em}.components-panel__body.is-opened{padding:16px}.components-panel__body>.components-icon-button{color:#191e23}.components-panel__header{display:flex;justify-content:space-between;align-items:center;padding:0 16px;height:50px;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__header h2{margin:0;font-size:inherit;color:inherit}.components-panel__body+.components-panel__body,.components-panel__body+.components-panel__header,.components-panel__header+.components-panel__body,.components-panel__header+.components-panel__header{margin-top:-1px}.components-panel__body>.components-panel__body-title{display:block;padding:0;font-size:inherit;margin-top:0;margin-bottom:0;transition:background .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body>.components-panel__body-title{transition-duration:0s}}.components-panel__body.is-opened>.components-panel__body-title{margin:-16px -16px 5px}.components-panel__body>.components-panel__body-title:hover,.edit-post-last-revision__panel>.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background:#f3f4f5}.components-panel__body-toggle.components-button{position:relative;padding:15px;outline:none;width:100%;font-weight:600;text-align:left;color:#191e23;border:none;box-shadow:none;transition:background .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button{transition-duration:0s}}.components-panel__body-toggle.components-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-panel__body-toggle.components-button .components-panel__arrow{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#191e23;fill:currentColor;transition:color .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button .components-panel__arrow{transition-duration:0s}}body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right{transform:scaleX(-1);-ms-filter:fliph;filter:FlipH;margin-top:-10px}.components-panel__icon{color:#555d66;margin:-2px 0 -2px 6px}.components-panel__body-toggle-icon{margin-right:-5px}.components-panel__color-title{float:left;height:19px}.components-panel__row{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.components-panel__row select{min-width:0}.components-panel__row label{margin-right:10px;flex-shrink:0;max-width:75%}.components-panel__row:empty,.components-panel__row:first-of-type{margin-top:0}.components-panel .circle-picker{padding-bottom:20px}.components-placeholder{margin-bottom:28px;padding:1em;min-height:200px;width:100%;text-align:center;background:rgba(139,139,150,.1)}@supports ((position:-webkit-sticky) or (position:sticky)){.components-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center}}.is-dark-theme .components-placeholder{background:hsla(0,0%,100%,.15)}.components-placeholder__fieldset,.components-placeholder__instructions,.components-placeholder__label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__label{display:flex;align-items:center;justify-content:center;font-weight:600;margin-bottom:1em}.components-placeholder__label .block-editor-block-icon,.components-placeholder__label .dashicon{fill:currentColor;margin-right:1ch}.components-placeholder__fieldset,.components-placeholder__fieldset form{display:flex;flex-direction:row;justify-content:center;width:100%;max-width:400px;flex-wrap:wrap;z-index:1}.components-placeholder__fieldset form p,.components-placeholder__fieldset p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__fieldset.is-column-layout,.components-placeholder__fieldset.is-column-layout form{flex-direction:column}.components-placeholder__input{margin-top:0;margin-right:8px;flex:1 1 auto}.components-placeholder__instructions{margin-bottom:1em}.components-placeholder__preview img{margin:3%;width:50%}.components-placeholder__fieldset .components-button{margin-right:4px;margin-bottom:10px}.components-placeholder__fieldset .components-button:last-child{margin-right:0}.components-placeholder__fieldset .components-button:not(.is-link)~.components-button.is-link{margin-left:10px;margin-right:10px}.components-placeholder__fieldset .components-button:not(.is-link)~.components-button.is-link:last-child{margin-right:0} -/*!rtl:begin:ignore*/.components-popover{position:fixed;z-index:1000000;left:50%}.components-popover.is-mobile{top:0;left:0;right:0;bottom:0}.components-popover:not(.is-without-arrow):not(.is-mobile){margin-left:2px}.components-popover:not(.is-without-arrow):not(.is-mobile):before{border:8px solid #e2e4e7}.components-popover:not(.is-without-arrow):not(.is-mobile):after{border:8px solid #fff}.components-popover:not(.is-without-arrow):not(.is-mobile):after,.components-popover:not(.is-without-arrow):not(.is-mobile):before{content:"";position:absolute;height:0;width:0;line-height:0}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top{margin-top:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:before{bottom:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:after{bottom:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-top:before{border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-style:solid;margin-left:-10px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom{margin-top:8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:before{top:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:after{top:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-bottom:before{border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;margin-left:-10px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left{margin-left:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:before{right:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:after{right:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-left:before{border-bottom-color:transparent;border-left-style:solid;border-right:none;border-top-color:transparent}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right{margin-left:8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:before{left:-8px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:after{left:-6px}.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:after,.components-popover:not(.is-without-arrow):not(.is-mobile).is-middle.is-right:before{border-bottom-color:transparent;border-left:none;border-right-style:solid;border-top-color:transparent}.components-popover:not(.is-mobile).is-top{bottom:100%}.components-popover:not(.is-mobile).is-bottom{top:100%}.components-popover:not(.is-mobile).is-middle{align-items:center;display:flex}.components-popover__content{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;height:100%}.components-popover.is-mobile .components-popover__content{height:calc(100% - 50px);border-top:0}.components-popover:not(.is-mobile) .components-popover__content{position:absolute;height:auto;overflow-y:auto;min-width:260px}.components-popover:not(.is-mobile).is-top .components-popover__content{bottom:100%}.components-popover:not(.is-mobile).is-center .components-popover__content{left:50%;transform:translateX(-50%)}.components-popover:not(.is-mobile).is-right .components-popover__content{position:absolute;left:100%}.components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content{margin-left:-24px}.components-popover:not(.is-mobile).is-left .components-popover__content{position:absolute;right:100%}.components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content{margin-right:-24px}.components-popover__content>div{height:100%}.components-popover__header{align-items:center;background:#fff;border:1px solid #e2e4e7;display:flex;height:50px;justify-content:space-between;padding:0 8px 0 16px}.components-popover__header-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.components-popover__close.components-icon-button{z-index:5} +/*!rtl:begin:ignore*/.components-popover{position:fixed;z-index:1000000;left:50%;opacity:0}.components-popover.is-expanded,.components-popover[data-x-axis][data-y-axis]{opacity:1}.components-popover.is-expanded{top:0;left:0;right:0;bottom:0;z-index:1000000!important}.components-popover:not(.is-without-arrow){margin-left:2px}.components-popover:not(.is-without-arrow):before{border:8px solid #e2e4e7}.components-popover:not(.is-without-arrow):after{border:8px solid #fff}.components-popover:not(.is-without-arrow):after,.components-popover:not(.is-without-arrow):before{content:"";position:absolute;height:0;width:0;line-height:0}.components-popover:not(.is-without-arrow)[data-y-axis=top]{margin-top:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=top]:before{bottom:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=top]:after{bottom:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=top]:after,.components-popover:not(.is-without-arrow)[data-y-axis=top]:before{border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-style:solid;margin-left:-10px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]{margin-top:8px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:before{top:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:after{top:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:after,.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:before{border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;margin-left:-10px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]{margin-left:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:before{right:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:after{right:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:after,.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:before{border-bottom-color:transparent;border-left-style:solid;border-right:none;border-top-color:transparent}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]{margin-left:8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:before{left:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:after{left:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:after,.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:before{border-bottom-color:transparent;border-left:none;border-right-style:solid;border-top-color:transparent}.components-popover[data-y-axis=top]{bottom:100%}.components-popover[data-y-axis=bottom]{top:100%}.components-popover[data-y-axis=middle]{align-items:center;display:flex}.components-popover__content{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;height:100%}.components-popover .components-popover__content{position:absolute;height:auto;overflow-y:auto;min-width:260px}.components-popover.is-expanded .components-popover__content{position:static;height:calc(100% - 50px);overflow-y:visible;min-width:auto;border:none;border-top:1px solid #e2e4e7}.components-popover[data-y-axis=top] .components-popover__content{bottom:100%}.components-popover[data-x-axis=center] .components-popover__content{left:50%;transform:translateX(-50%)}.components-popover[data-x-axis=right] .components-popover__content{position:absolute;left:100%}.components-popover:not([data-y-axis=middle])[data-x-axis=right] .components-popover__content{margin-left:-24px}.components-popover[data-x-axis=left] .components-popover__content{position:absolute;right:100%}.components-popover:not([data-y-axis=middle])[data-x-axis=left] .components-popover__content{margin-right:-24px}.components-popover__content>div{height:100%}.components-popover__header{align-items:center;background:#fff;display:flex;height:50px;justify-content:space-between;padding:0 8px 0 16px}.components-popover__header-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.components-popover__close.components-icon-button{z-index:5} -/*!rtl:end:ignore*/.components-radio-control{display:flex;flex-direction:column}.components-radio-control .components-base-control__help{margin-top:0}.components-radio-control__option:not(:last-child){margin-bottom:4px}.components-radio-control__input[type=radio]{margin-top:0;margin-right:6px}.components-range-control .components-base-control__field{display:flex;justify-content:center;flex-wrap:wrap;align-items:center}.components-range-control .dashicon{flex-shrink:0;margin-right:10px}.components-range-control .components-base-control__label{width:100%}.components-range-control .components-range-control__slider{margin-left:0;flex:1}.components-range-control__reset{margin-left:8px}.components-range-control__slider{width:100%;margin-left:8px;padding:0;-webkit-appearance:none;background:transparent}.components-range-control__slider::-webkit-slider-thumb{-webkit-appearance:none;height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box;margin-top:-7px}.components-range-control__slider::-moz-range-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box}.components-range-control__slider::-ms-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;background-clip:padding-box;box-sizing:border-box;margin-top:0;height:14px;width:14px;border:2px solid transparent}.components-range-control__slider:focus{outline:none}.components-range-control__slider:focus::-webkit-slider-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider:focus::-moz-range-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider:focus::-ms-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider::-webkit-slider-runnable-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px;margin-top:-4px}.components-range-control__slider::-moz-range-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__slider::-ms-track{margin-top:-4px;background:transparent;border-color:transparent;color:transparent;height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__number{display:inline-block;margin-left:8px;font-weight:500;width:54px}.components-resizable-box__handle{display:none;width:23px;height:23px}.components-resizable-box__container.is-selected .components-resizable-box__handle{display:block}.components-resizable-box__handle:after{display:block;content:"";width:15px;height:15px;border:2px solid #fff;border-radius:50%;background:#0085ba;cursor:inherit;position:absolute;top:calc(50% - 8px);right:calc(50% - 8px)}body.admin-color-sunrise .components-resizable-box__handle:after{background:#d1864a}body.admin-color-ocean .components-resizable-box__handle:after{background:#a3b9a2}body.admin-color-midnight .components-resizable-box__handle:after{background:#e14d43}body.admin-color-ectoplasm .components-resizable-box__handle:after{background:#a7b656}body.admin-color-coffee .components-resizable-box__handle:after{background:#c2a68c}body.admin-color-blue .components-resizable-box__handle:after{background:#82b4cb}body.admin-color-light .components-resizable-box__handle:after{background:#0085ba}.components-resizable-box__side-handle:before{display:block;content:"";width:7px;height:7px;border:2px solid #fff;background:#0085ba;cursor:inherit;position:absolute;top:calc(50% - 4px);right:calc(50% - 4px);transition:transform .1s ease-in;opacity:0}body.admin-color-sunrise .components-resizable-box__side-handle:before{background:#d1864a}body.admin-color-ocean .components-resizable-box__side-handle:before{background:#a3b9a2}body.admin-color-midnight .components-resizable-box__side-handle:before{background:#e14d43}body.admin-color-ectoplasm .components-resizable-box__side-handle:before{background:#a7b656}body.admin-color-coffee .components-resizable-box__side-handle:before{background:#c2a68c}body.admin-color-blue .components-resizable-box__side-handle:before{background:#82b4cb}body.admin-color-light .components-resizable-box__side-handle:before{background:#0085ba}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle:before{transition-duration:0s}}.is-dark-theme .components-resizable-box__handle:after,.is-dark-theme .components-resizable-box__side-handle:before{border-color:#d7dade}.components-resizable-box__side-handle{z-index:1}.components-resizable-box__corner-handle{z-index:2}.components-resizable-box__side-handle.components-resizable-box__handle-bottom,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:before,.components-resizable-box__side-handle.components-resizable-box__handle-top,.components-resizable-box__side-handle.components-resizable-box__handle-top:before{width:100%;left:0;border-left:0;border-right:0}.components-resizable-box__side-handle.components-resizable-box__handle-left,.components-resizable-box__side-handle.components-resizable-box__handle-left:before,.components-resizable-box__side-handle.components-resizable-box__handle-right,.components-resizable-box__side-handle.components-resizable-box__handle-right:before{height:100%;top:0;border-top:0;border-bottom:0}.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:hover:before{animation:components-resizable-box__top-bottom-animation .1s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:hover:before{animation-duration:1ms}}.components-resizable-box__side-handle.components-resizable-box__handle-left:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-left:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:hover:before{animation:components-resizable-box__left-right-animation .1s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle.components-resizable-box__handle-left:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-left:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:hover:before{animation-duration:1ms}}@keyframes components-resizable-box__top-bottom-animation{0%{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}@keyframes components-resizable-box__left-right-animation{0%{transform:scaleY(0);opacity:0}to{transform:scaleY(1);opacity:1}} +/*!rtl:end:ignore*/.components-radio-control{display:flex;flex-direction:column}.components-radio-control .components-base-control__help{margin-top:0}.components-radio-control__option:not(:last-child){margin-bottom:4px}.components-radio-control__input[type=radio]{margin-top:0;margin-right:6px}.components-range-control .components-base-control__field{display:flex;justify-content:center;flex-wrap:wrap;align-items:center}.components-range-control .dashicon{flex-shrink:0;margin-right:10px}.components-range-control .components-base-control__label{width:100%}.components-range-control .components-range-control__slider{margin-left:0;flex:1}.components-range-control__reset{margin-left:8px}.components-range-control__slider{width:100%;margin-left:8px;padding:0;-webkit-appearance:none;background:transparent}.components-range-control__slider::-webkit-slider-thumb{-webkit-appearance:none;height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box;margin-top:-7px}.components-range-control__slider::-moz-range-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box}.components-range-control__slider::-ms-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;background-clip:padding-box;box-sizing:border-box;margin-top:0;height:14px;width:14px;border:2px solid transparent}.components-range-control__slider:focus{outline:none}.components-range-control__slider:focus::-webkit-slider-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider:focus::-moz-range-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider:focus::-ms-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider::-webkit-slider-runnable-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px;margin-top:-4px}.components-range-control__slider::-moz-range-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__slider::-ms-track{margin-top:-4px;background:transparent;border-color:transparent;color:transparent;height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__number{display:inline-block;margin-left:8px;font-weight:500;width:54px}.components-resizable-box__handle{display:none;width:23px;height:23px}.components-resizable-box__container.has-show-handle .components-resizable-box__handle,.components-resizable-box__container.is-selected .components-resizable-box__handle{display:block}.components-resizable-box__handle:after{display:block;content:"";width:15px;height:15px;border:2px solid #fff;border-radius:50%;background:#0085ba;cursor:inherit;position:absolute;top:calc(50% - 8px);right:calc(50% - 8px)}body.admin-color-sunrise .components-resizable-box__handle:after{background:#d1864a}body.admin-color-ocean .components-resizable-box__handle:after{background:#a3b9a2}body.admin-color-midnight .components-resizable-box__handle:after{background:#e14d43}body.admin-color-ectoplasm .components-resizable-box__handle:after{background:#a7b656}body.admin-color-coffee .components-resizable-box__handle:after{background:#c2a68c}body.admin-color-blue .components-resizable-box__handle:after{background:#82b4cb}body.admin-color-light .components-resizable-box__handle:after{background:#0085ba}.components-resizable-box__side-handle:before{display:block;content:"";width:7px;height:7px;border:2px solid #fff;background:#0085ba;cursor:inherit;position:absolute;top:calc(50% - 4px);right:calc(50% - 4px);transition:transform .1s ease-in;opacity:0}body.admin-color-sunrise .components-resizable-box__side-handle:before{background:#d1864a}body.admin-color-ocean .components-resizable-box__side-handle:before{background:#a3b9a2}body.admin-color-midnight .components-resizable-box__side-handle:before{background:#e14d43}body.admin-color-ectoplasm .components-resizable-box__side-handle:before{background:#a7b656}body.admin-color-coffee .components-resizable-box__side-handle:before{background:#c2a68c}body.admin-color-blue .components-resizable-box__side-handle:before{background:#82b4cb}body.admin-color-light .components-resizable-box__side-handle:before{background:#0085ba}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle:before{transition-duration:0s}}.is-dark-theme .components-resizable-box__handle:after,.is-dark-theme .components-resizable-box__side-handle:before{border-color:#d7dade}.components-resizable-box__side-handle{z-index:1}.components-resizable-box__corner-handle{z-index:2}.components-resizable-box__side-handle.components-resizable-box__handle-bottom,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:before,.components-resizable-box__side-handle.components-resizable-box__handle-top,.components-resizable-box__side-handle.components-resizable-box__handle-top:before{width:100%;left:0;border-left:0;border-right:0}.components-resizable-box__side-handle.components-resizable-box__handle-left,.components-resizable-box__side-handle.components-resizable-box__handle-left:before,.components-resizable-box__side-handle.components-resizable-box__handle-right,.components-resizable-box__side-handle.components-resizable-box__handle-right:before{height:100%;top:0;border-top:0;border-bottom:0}.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:hover:before{animation:components-resizable-box__top-bottom-animation .1s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:hover:before{animation-duration:1ms}}.components-resizable-box__side-handle.components-resizable-box__handle-left:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-left:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:hover:before{animation:components-resizable-box__left-right-animation .1s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle.components-resizable-box__handle-left:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-left:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:hover:before{animation-duration:1ms}}@keyframes components-resizable-box__top-bottom-animation{0%{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}@keyframes components-resizable-box__left-right-animation{0%{transform:scaleY(0);opacity:0}to{transform:scaleY(1);opacity:1}} /*!rtl:begin:ignore*/.components-resizable-box__handle-right{right:-11.5px}.components-resizable-box__handle-left{left:-11.5px}.components-resizable-box__handle-top{top:-11.5px}.components-resizable-box__handle-bottom{bottom:-11.5px} -/*!rtl:end:ignore*/.components-responsive-wrapper{position:relative;max-width:100%}.components-responsive-wrapper,.components-responsive-wrapper>span{display:block}.components-responsive-wrapper__content{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.components-sandbox{overflow:hidden}iframe.components-sandbox{width:100%}body.lockscroll,html.lockscroll{overflow:hidden}.components-select-control__input{background:#fff;height:36px;line-height:36px;margin:1px;outline:0;width:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)!important}@media (min-width:782px){.components-select-control__input{height:28px;line-height:28px}}@media (max-width:782px){.components-base-control .components-base-control__field .components-select-control__input{font-size:16px}}.components-snackbar{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background-color:#32373c;border-radius:4px;box-shadow:0 2px 4px rgba(0,0,0,.3);color:#fff;padding:16px 24px;width:100%;max-width:600px;box-sizing:border-box;cursor:pointer}@media (min-width:600px){.components-snackbar{width:-webkit-fit-content;width:fit-content}}.components-snackbar:hover{background-color:#191e23}.components-snackbar:focus{background-color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}.components-snackbar__action.components-button{margin-left:32px;color:#fff;height:auto;flex-shrink:0;line-height:1.4;padding:0}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default){text-decoration:underline;background-color:transparent}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):focus{color:#fff;box-shadow:none;outline:1px dotted #fff}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#33b3db}.components-snackbar__content{display:flex;align-items:baseline;justify-content:space-between;line-height:1.4}.components-snackbar-list{position:absolute;z-index:100000;width:100%;box-sizing:border-box}.components-snackbar-list__notice-container{position:relative;padding-top:8px}.components-spinner{display:inline-block;background-color:#7e8993;width:18px;height:18px;opacity:.7;float:right;margin:5px 11px 0;border-radius:100%;position:relative}.components-spinner:before{content:"";position:absolute;background-color:#fff;top:3px;left:3px;width:4px;height:4px;border-radius:100%;transform-origin:6px 6px;animation:components-spinner__animation 1s linear infinite}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.components-text-control__input,.components-textarea-control__input{width:100%;padding:6px 8px}.components-tip{display:flex;color:#555d66}.components-tip svg{-ms-grid-row-align:center;align-self:center;fill:#f0b849;flex-shrink:0;margin-right:16px}.components-tip p{margin:0}.components-toggle-control .components-base-control__field{display:flex;margin-bottom:12px}.components-toggle-control .components-base-control__field .components-form-toggle{margin-right:16px}.components-toggle-control .components-base-control__field .components-toggle-control__label{display:block;margin-bottom:4px}.components-toolbar{margin:0;border:1px solid #e2e4e7;background-color:#fff;display:inline-flex;flex-shrink:0}@supports ((position:-webkit-sticky) or (position:sticky)){.components-toolbar{display:flex}}div.components-toolbar>div{display:block;margin:0}@supports ((position:-webkit-sticky) or (position:sticky)){div.components-toolbar>div{display:flex}}div.components-toolbar>div+div{margin-left:-3px}div.components-toolbar>div+div.has-left-divider{margin-left:6px;position:relative;overflow:visible}div.components-toolbar>div+div.has-left-divider:before{display:inline-block;content:"";box-sizing:content-box;background-color:#e2e4e7;position:absolute;top:8px;left:-3px;width:1px;height:20px}.components-toolbar__control.components-button{display:inline-flex;align-items:flex-end;margin:0;padding:3px;outline:none;cursor:pointer;position:relative;width:36px;height:36px}.components-toolbar__control.components-button:not([aria-disabled=true]):focus,.components-toolbar__control.components-button:not([aria-disabled=true]):hover,.components-toolbar__control.components-button:not([aria-disabled=true]):not(.is-default):active{outline:none;box-shadow:none;background:none;border:none}.components-toolbar__control.components-button:disabled{cursor:default}.components-toolbar__control.components-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.components-toolbar__control.components-button[data-subscript] svg{padding:5px 10px 5px 0}.components-toolbar__control.components-button[data-subscript]:after{content:attr(data-subscript);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:600;line-height:12px;position:absolute;right:8px;bottom:10px}.components-toolbar__control.components-button:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.components-toolbar__control.components-button:not(:disabled).is-active>svg,.components-toolbar__control.components-button:not(:disabled):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.components-toolbar__control.components-button:not(:disabled).is-active>svg{outline:none;color:#fff;box-shadow:none;background:#555d66}.components-toolbar__control.components-button:not(:disabled).is-active[data-subscript]:after{color:#fff}.components-toolbar__control.components-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline:0}.components-toolbar__control.components-button:not(:disabled).is-active{outline:1px dotted transparent;outline-offset:-2px}.components-toolbar__control.components-button:not(:disabled):focus{outline:2px solid transparent}.components-toolbar__control .dashicon{display:block}.components-tooltip.components-popover{z-index:1000002}.components-tooltip.components-popover:before{border-color:transparent}.components-tooltip.components-popover.is-top:after{border-top-color:#191e23}.components-tooltip.components-popover.is-bottom:after{border-bottom-color:#191e23}.components-tooltip.components-popover:not(.is-mobile) .components-popover__content{min-width:0}.components-tooltip .components-popover__content{padding:4px 12px;background:#191e23;border-width:0;color:#fff;white-space:nowrap;text-align:center}.components-tooltip__shortcut{display:block;color:#7e8993} \ No newline at end of file +/*!rtl:end:ignore*/.components-responsive-wrapper{position:relative;max-width:100%}.components-responsive-wrapper,.components-responsive-wrapper>span{display:block}.components-responsive-wrapper__content{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.components-sandbox{overflow:hidden}iframe.components-sandbox{width:100%}body.lockscroll,html.lockscroll{overflow:hidden}.components-select-control__input{background:#fff;height:36px;line-height:36px;margin:1px;outline:0;width:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)!important}@media (min-width:782px){.components-select-control__input{height:28px;line-height:28px}}@media (max-width:782px){.components-base-control .components-base-control__field .components-select-control__input{font-size:16px}}.components-snackbar{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background-color:#32373c;border-radius:4px;box-shadow:0 2px 4px rgba(0,0,0,.3);color:#fff;padding:16px 24px;width:100%;max-width:600px;box-sizing:border-box;cursor:pointer}@media (min-width:600px){.components-snackbar{width:-webkit-fit-content;width:fit-content}}.components-snackbar:hover{background-color:#191e23}.components-snackbar:focus{background-color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}.components-snackbar__action.components-button{margin-left:32px;color:#fff;height:auto;flex-shrink:0;line-height:1.4;padding:0}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default){text-decoration:underline;background-color:transparent}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):focus{color:#fff;box-shadow:none;outline:1px dotted #fff}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#33b3db}.components-snackbar__content{display:flex;align-items:baseline;justify-content:space-between;line-height:1.4}.components-snackbar-list{position:absolute;z-index:100000;width:100%;box-sizing:border-box}.components-snackbar-list__notice-container{position:relative;padding-top:8px}.components-spinner{display:inline-block;background-color:#7e8993;width:18px;height:18px;opacity:.7;float:right;margin:5px 11px 0;border-radius:100%;position:relative}.components-spinner:before{content:"";position:absolute;background-color:#fff;top:3px;left:3px;width:4px;height:4px;border-radius:100%;transform-origin:6px 6px;animation:components-spinner__animation 1s linear infinite}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.components-text-control__input,.components-textarea-control__input{width:100%;padding:6px 8px}.components-tip{display:flex;color:#555d66}.components-tip svg{-ms-grid-row-align:center;align-self:center;fill:#f0b849;flex-shrink:0;margin-right:16px}.components-tip p{margin:0}.components-toggle-control .components-base-control__field{display:flex;margin-bottom:12px;line-height:normal;align-items:center}.components-toggle-control .components-base-control__field .components-form-toggle{margin-right:16px}.components-toggle-control .components-base-control__field .components-toggle-control__label{display:block}.components-accessible-toolbar{display:inline-flex;flex-shrink:0}@supports ((position:-webkit-sticky) or (position:sticky)){.components-accessible-toolbar{display:flex}}.components-toolbar__control.components-button{width:36px;height:36px}.components-toolbar__control.components-button[data-subscript] svg{padding:5px 10px 5px 0}.components-toolbar__control.components-button[data-subscript]:after{content:attr(data-subscript);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:600;line-height:12px;position:absolute;right:8px;bottom:10px}.components-toolbar__control.components-button:not(:disabled).is-active[data-subscript]:after{color:#fff}.components-toolbar__control.components-button.is-active{padding:3px;outline:none}.components-toolbar__control.components-button.is-active>svg{padding:5px;border-radius:4px;height:30px;width:30px;box-sizing:border-box;outline:none;color:#fff;box-shadow:none;background:#555d66}.components-toolbar-group{border:1px solid #e2e4e7;background-color:#fff;display:flex;flex-shrink:0;margin-right:-1px;line-height:0}.components-toolbar-group .components-toolbar-group{border-width:0;margin:0}.components-toolbar{margin:0;border:1px solid #e2e4e7;background-color:#fff;display:flex;flex-shrink:0}div.components-toolbar>div{display:block;margin:0}@supports ((position:-webkit-sticky) or (position:sticky)){div.components-toolbar>div{display:flex}}div.components-toolbar>div+div{margin-left:-3px}div.components-toolbar>div+div.has-left-divider{margin-left:6px;position:relative;overflow:visible}div.components-toolbar>div+div.has-left-divider:before{display:inline-block;content:"";box-sizing:content-box;background-color:#e2e4e7;position:absolute;top:8px;left:-3px;width:1px;height:20px}.components-tooltip.components-popover{z-index:1000002}.components-tooltip.components-popover:before{border-color:transparent}.components-tooltip.components-popover[data-y-axis=top]:after{border-top-color:#191e23}.components-tooltip.components-popover[data-y-axis=bottom]:after{border-bottom-color:#191e23}.components-tooltip.components-popover .components-popover__content{min-width:0}.components-tooltip .components-popover__content{padding:4px 12px;background:#191e23;border-width:0;color:#fff;white-space:nowrap;text-align:center}.components-tooltip__shortcut{display:block;color:#7e8993}.components-visually-hidden{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.components-visually-hidden:focus{background-color:#e2e4e7;clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000} \ No newline at end of file diff --git a/wp-includes/css/dist/edit-post/style-rtl.css b/wp-includes/css/dist/edit-post/style-rtl.css index 37c7a515b5..e378b390b9 100644 --- a/wp-includes/css/dist/edit-post/style-rtl.css +++ b/wp-includes/css/dist/edit-post/style-rtl.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -38,6 +35,134 @@ /** * Reset the WP Admin page styles for Gutenberg-like pages. */ +html { + position: fixed; + width: 100%; } + @media (min-width: 782px) { + html { + position: initial; + width: initial; } } + +.edit-post-editor-regions { + display: flex; + flex-direction: column; + height: auto; + max-height: 100%; + position: fixed; + top: 46px; + right: 0; + left: 0; + bottom: 0; } + @media (min-width: 782px) { + .edit-post-editor-regions { + top: 32px; } + .is-fullscreen-mode .edit-post-editor-regions { + top: 0; } } + +.edit-post-editor-regions { + /* Set left position when auto-fold is not on the body element. */ + right: 0; } + @media (min-width: 782px) { + .edit-post-editor-regions { + right: 160px; } } + +.auto-fold .edit-post-editor-regions { + /* Auto fold is when on smaller breakpoints, nav menu auto collapses. */ } + @media (min-width: 782px) { + .auto-fold .edit-post-editor-regions { + right: 36px; } } + @media (min-width: 960px) { + .auto-fold .edit-post-editor-regions { + right: 160px; } } + +/* Sidebar manually collapsed. */ +.folded .edit-post-editor-regions { + right: 0; } + @media (min-width: 782px) { + .folded .edit-post-editor-regions { + right: 36px; } } + +/* Mobile menu opened. */ +@media (max-width: 782px) { + .auto-fold .wp-responsive-open .edit-post-editor-regions { + right: 190px; } } + +/* In small screens with responsive menu expanded there is small white space. */ +@media (max-width: 600px) { + .auto-fold .wp-responsive-open .edit-post-editor-regions { + margin-right: -18px; } } + +body.is-fullscreen-mode .edit-post-editor-regions { + right: 0 !important; } + +.edit-post-editor-regions__body { + flex-grow: 1; + display: flex; + overflow: auto; + overscroll-behavior-y: none; } + +.edit-post-editor-regions__content { + flex-grow: 1; + display: flex; + flex-direction: column; } + @media (min-width: 782px) { + .edit-post-editor-regions__content { + overflow: auto; } } + +.edit-post-editor-regions__sidebar { + width: auto; + flex-shrink: 0; + position: absolute; + z-index: 100000; + top: 0; + left: 0; + bottom: 0; + right: 0; + background: #fff; } + .edit-post-editor-regions__sidebar:empty { + display: none; } + @media (min-width: 782px) { + .edit-post-editor-regions__sidebar { + overflow: auto; + border-right: 1px solid #e2e4e7; + position: relative !important; + z-index: 90; } } + +.edit-post-editor-regions__header { + flex-shrink: 0; + height: auto; + border-bottom: 1px solid #e2e4e7; + z-index: 30; + position: -webkit-sticky; + position: sticky; + top: 0; } + @media (min-width: 600px) { + .edit-post-editor-regions__header { + position: initial; + top: 0; } } + +.edit-post-editor-regions__footer { + height: auto; + flex-shrink: 0; + overflow: auto; + border-top: 1px solid #e2e4e7; + display: none; } + @media (min-width: 782px) { + .edit-post-editor-regions__footer { + display: block; } } + +.edit-post-editor-regions__publish { + z-index: 100000; + position: fixed !important; + top: -9999em; + bottom: auto; + right: auto; + left: 0; + width: 280px; } + .edit-post-editor-regions__publish:focus { + top: auto; + bottom: 0; } + @media (min-width: 782px) { body.js.is-fullscreen-mode { margin-top: -46px; @@ -68,75 +193,24 @@ .edit-post-header { height: 56px; padding: 4px 2px; - border-bottom: 1px solid #e2e4e7; background: #fff; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; - max-width: 100vw; - z-index: 30; - right: 0; - left: 0; } + max-width: 100vw; } @media (min-width: 280px) { .edit-post-header { - height: 56px; - top: 0; - position: -webkit-sticky; - position: sticky; flex-wrap: nowrap; } } @media (min-width: 600px) { .edit-post-header { - position: fixed; - padding: 8px; - top: 46px; } } - @media (min-width: 782px) { - .edit-post-header { - top: 32px; } - body.is-fullscreen-mode .edit-post-header { - top: 0; } } + padding: 8px; } } .edit-post-header > .edit-post-header__settings { order: 1; } @supports ((position: -webkit-sticky) or (position: sticky)) { .edit-post-header > .edit-post-header__settings { order: initial; } } -.edit-post-header { - /* Set left position when auto-fold is not on the body element. */ - right: 0; } - @media (min-width: 782px) { - .edit-post-header { - right: 160px; } } - -.auto-fold .edit-post-header { - /* Auto fold is when on smaller breakpoints, nav menu auto collapses. */ } - @media (min-width: 782px) { - .auto-fold .edit-post-header { - right: 36px; } } - @media (min-width: 960px) { - .auto-fold .edit-post-header { - right: 160px; } } - -/* Sidebar manually collapsed. */ -.folded .edit-post-header { - right: 0; } - @media (min-width: 782px) { - .folded .edit-post-header { - right: 36px; } } - -/* Mobile menu opened. */ -@media (max-width: 782px) { - .auto-fold .wp-responsive-open .edit-post-header { - right: 190px; } } - -/* In small screens with responsive menu expanded there is small white space. */ -@media (max-width: 600px) { - .auto-fold .wp-responsive-open .edit-post-header { - margin-right: -18px; } } - -body.is-fullscreen-mode .edit-post-header { - right: 0 !important; } - .edit-post-header__toolbar { display: flex; } @@ -158,7 +232,7 @@ body.is-fullscreen-mode .edit-post-header { .edit-post-header .components-button.editor-post-save-draft, .edit-post-header .components-button.editor-post-switch-to-draft, .edit-post-header .components-button.editor-post-preview, .edit-post-header .components-button.editor-post-publish-button, .edit-post-header .components-button.editor-post-publish-panel__toggle { margin: 2px; - height: 33px; + height: 34px; line-height: 32px; font-size: 13px; } @@ -169,10 +243,12 @@ body.is-fullscreen-mode .edit-post-header { padding: 0 12px; } } .edit-post-header .components-button.editor-post-preview, .edit-post-header .components-button.editor-post-publish-button, .edit-post-header .components-button.editor-post-publish-panel__toggle { - padding: 0 5px 2px; } + padding-right: 5px; + padding-left: 5px; } @media (min-width: 600px) { .edit-post-header .components-button.editor-post-preview, .edit-post-header .components-button.editor-post-publish-button, .edit-post-header .components-button.editor-post-publish-panel__toggle { - padding: 0 12px 2px; } } + padding-right: 12px; + padding-left: 12px; } } @media (min-width: 782px) { .edit-post-header .components-button.editor-post-preview { @@ -209,12 +285,14 @@ body.is-fullscreen-mode .edit-post-header { .edit-post-header-toolbar__block-toolbar { position: absolute; - top: 56px; + top: 57px; right: 0; left: 0; background: #fff; min-height: 37px; border-bottom: 1px solid #e2e4e7; } + .edit-post-header-toolbar__block-toolbar:empty { + display: none; } .edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar { border-top: none; border-bottom: none; } @@ -274,6 +352,9 @@ body.is-fullscreen-mode .edit-post-header { margin-right: 4px; } .edit-post-pinned-plugins .components-icon-button.is-toggled { margin-right: 5px; } + .edit-post-pinned-plugins .components-icon-button svg { + max-width: 24px; + max-height: 24px; } .edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg, .edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg * { stroke: #555d66; @@ -296,7 +377,7 @@ body.is-fullscreen-mode .edit-post-header { margin: 0 0 2rem 0; } .edit-post-keyboard-shortcut-help__main-shortcuts .edit-post-keyboard-shortcut-help__shortcut-list { - margin-top: -17px; } + margin-top: -25px; } .edit-post-keyboard-shortcut-help__section-title { font-size: 0.9rem; @@ -332,119 +413,59 @@ body.is-fullscreen-mode .edit-post-header { .edit-post-keyboard-shortcut-help__shortcut-key:last-child { margin: 0 0.2rem 0 0; } -.edit-post-layout, -.edit-post-layout__content { - height: 100%; } - -.edit-post-layout { - position: relative; - box-sizing: border-box; } - @media (min-width: 600px) { - .edit-post-layout { - padding-top: 56px; } } +.edit-post-layout__metaboxes { + flex-shrink: 0; } .edit-post-layout__metaboxes:not(:empty) { border-top: 1px solid #e2e4e7; - margin-top: 10px; padding: 10px 0 10px; clear: both; } .edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area { margin: auto 20px; } -.edit-post-layout__content .components-editor-notices__snackbar { +.edit-post-layout .components-editor-notices__snackbar { position: fixed; left: 0; bottom: 20px; padding-right: 16px; padding-left: 16px; } -.edit-post-layout__content .components-editor-notices__snackbar { +.edit-post-layout .components-editor-notices__snackbar { /* Set left position when auto-fold is not on the body element. */ right: 0; } @media (min-width: 782px) { - .edit-post-layout__content .components-editor-notices__snackbar { + .edit-post-layout .components-editor-notices__snackbar { right: 160px; } } -.auto-fold .edit-post-layout__content .components-editor-notices__snackbar { +.auto-fold .edit-post-layout .components-editor-notices__snackbar { /* Auto fold is when on smaller breakpoints, nav menu auto collapses. */ } @media (min-width: 782px) { - .auto-fold .edit-post-layout__content .components-editor-notices__snackbar { + .auto-fold .edit-post-layout .components-editor-notices__snackbar { right: 36px; } } @media (min-width: 960px) { - .auto-fold .edit-post-layout__content .components-editor-notices__snackbar { + .auto-fold .edit-post-layout .components-editor-notices__snackbar { right: 160px; } } /* Sidebar manually collapsed. */ -.folded .edit-post-layout__content .components-editor-notices__snackbar { +.folded .edit-post-layout .components-editor-notices__snackbar { right: 0; } @media (min-width: 782px) { - .folded .edit-post-layout__content .components-editor-notices__snackbar { + .folded .edit-post-layout .components-editor-notices__snackbar { right: 36px; } } /* Mobile menu opened. */ @media (max-width: 782px) { - .auto-fold .wp-responsive-open .edit-post-layout__content .components-editor-notices__snackbar { + .auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar { right: 190px; } } /* In small screens with responsive menu expanded there is small white space. */ @media (max-width: 600px) { - .auto-fold .wp-responsive-open .edit-post-layout__content .components-editor-notices__snackbar { + .auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar { margin-right: -18px; } } -body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__snackbar { +body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { right: 0 !important; } -.edit-post-layout__content { - display: flex; - flex-direction: column; - min-height: 100%; - position: relative; - padding-bottom: 50vh; - -webkit-overflow-scrolling: touch; } - @media (min-width: 782px) { - .edit-post-layout__content { - position: fixed; - bottom: 0; - right: 0; - left: 0; - top: 88px; - min-height: calc(100% - 88px); - height: auto; - margin-right: 160px; } - body.auto-fold .edit-post-layout__content { - margin-right: 36px; } } - @media (min-width: 782px) and (min-width: 960px) { - body.auto-fold .edit-post-layout__content { - margin-right: 160px; } } - @media (min-width: 782px) { - body.folded .edit-post-layout__content { - margin-right: 36px; } - body.is-fullscreen-mode .edit-post-layout__content { - margin-right: 0 !important; - top: 56px; } } - @media (min-width: 782px) { - .has-fixed-toolbar .edit-post-layout__content { - top: 124px; } } - @media (min-width: 1080px) { - .has-fixed-toolbar .edit-post-layout__content { - top: 88px; } } - @media (min-width: 600px) { - .edit-post-layout__content { - padding-bottom: 0; } } - @media (min-width: 600px) { - .edit-post-layout__content { - overflow-y: auto; } } - @media (min-width: 600px) { - .edit-post-layout__content { - overscroll-behavior-y: none; } } - .edit-post-layout__content .edit-post-visual-editor { - flex: 1 1 auto; } - @supports ((position: -webkit-sticky) or (position: sticky)) { - .edit-post-layout__content .edit-post-visual-editor { - flex-basis: 100%; } } - .edit-post-layout__content .edit-post-layout__metaboxes { - flex-shrink: 0; } - .edit-post-layout .editor-post-publish-panel { position: fixed; z-index: 100001; @@ -475,27 +496,15 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s 100% { transform: translateX(0%); } } -.edit-post-layout .editor-post-publish-panel__header-publish-button .components-button.is-large { - height: 33px; - line-height: 32px; } - -.edit-post-layout .editor-post-publish-panel__header-publish-button .editor-post-publish-panel__spacer { - display: inline-flex; - flex: 0 1 52px; } +.edit-post-layout .editor-post-publish-panel__header-publish-button { + justify-content: center; } + .edit-post-layout .editor-post-publish-panel__header-publish-button .components-button { + height: 33px; + line-height: 32px; } .edit-post-toggle-publish-panel { - position: fixed; - top: -9999em; - bottom: auto; - right: auto; - left: 0; - z-index: 100000; - padding: 10px 0 10px 10px; - width: 280px; - background-color: #fff; } - .edit-post-toggle-publish-panel:focus { - top: auto; - bottom: 0; } + background-color: #fff; + padding: 10px 0 10px 10px; } .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button { width: auto; height: auto; @@ -530,6 +539,18 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s bottom: 10px; right: auto; } +.edit-post-layout__footer { + display: none; + z-index: 30; } + @media (min-width: 782px) { + .edit-post-layout__footer { + display: flex; + background: #fff; + height: 24px; + padding: 0 8px; + align-items: center; + font-size: 13px; } } + @media (min-width: 600px) { .edit-post-manage-blocks-modal { height: calc(100% - 56px - 56px); } } @@ -700,29 +721,18 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s clear: both; } .edit-post-sidebar { - position: fixed; - z-index: 100000; - top: 0; - left: 0; - bottom: 0; - width: 280px; - border-right: 1px solid #e2e4e7; background: #fff; color: #555d66; - height: 100vh; - overflow: hidden; } + overflow: visible; } @media (min-width: 600px) { .edit-post-sidebar { - top: 102px; - z-index: 90; - height: auto; - overflow: auto; + z-index: auto; + height: 100%; + overflow: visible; -webkit-overflow-scrolling: touch; } } @media (min-width: 782px) { .edit-post-sidebar { - top: 88px; } - body.is-fullscreen-mode .edit-post-sidebar { - top: 56px; } } + width: 280px; } } .edit-post-sidebar > .components-panel { border-right: none; border-left: none; @@ -732,11 +742,10 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s max-height: calc(100vh - 96px); margin-top: -1px; margin-bottom: -1px; - position: relative; - z-index: -2; } + position: relative; } @media (min-width: 600px) { .edit-post-sidebar > .components-panel { - overflow: hidden; + overflow: visible; height: auto; max-height: none; } } .edit-post-sidebar > .components-panel .components-panel__header { @@ -776,21 +785,6 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s bottom: 10px; right: auto; } -/* Visual and Text editor both */ -@media (min-width: 782px) { - .edit-post-layout.is-sidebar-opened .edit-post-layout__content { - margin-left: 280px; } } - -.edit-post-layout.is-sidebar-opened .edit-post-sidebar, -.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout { - /* Sidebar covers screen on mobile */ - width: 100%; - /* Sidebar sits on the side on larger breakpoints */ } - @media (min-width: 782px) { - .edit-post-layout.is-sidebar-opened .edit-post-sidebar, - .edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout { - width: 280px; } } - /* Text Editor specific */ .components-panel__header.edit-post-sidebar__header { background: #fff; @@ -857,10 +851,11 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s left: 0; right: 0; border-bottom: 3px solid transparent; } - .edit-post-sidebar__panel-tab:focus { + .edit-post-sidebar__panel-tab:focus:not(:disabled) { color: #191e23; outline-offset: -1px; - outline: 1px dotted #555d66; } + outline: 1px dotted #555d66; + box-shadow: none; } .components-panel__body.is-opened.edit-post-last-revision__panel { padding: 0; } @@ -894,11 +889,9 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s .components-button.edit-post-post-schedule__toggle { text-align: left; } -.edit-post-post-schedule__dialog .components-popover__content { - padding: 10px; } - @media (min-width: 782px) { - .edit-post-post-schedule__dialog .components-popover__content { - width: 270px; } } +.editor-post-slug__input { + margin: -5px 0; + padding: 2px; } .edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft { margin-top: 15px; @@ -939,21 +932,18 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s justify-content: flex-start; padding-right: 0; padding-left: 4px; - border-top: 0; - position: -webkit-sticky; - position: sticky; - z-index: -1; - top: 0; } + border-top: 0; } .components-panel__header.edit-post-sidebar__panel-tabs ul { display: flex; } .components-panel__header.edit-post-sidebar__panel-tabs li { margin: 0; } -.edit-post-sidebar__panel-tab { +.components-button.edit-post-sidebar__panel-tab { background: transparent; border: none; box-shadow: none; cursor: pointer; + display: inline-block; padding: 3px 15px; margin-right: 0; font-weight: 400; @@ -961,9 +951,9 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s outline-offset: -1px; transition: box-shadow 0.1s linear; } @media (prefers-reduced-motion: reduce) { - .edit-post-sidebar__panel-tab { + .components-button.edit-post-sidebar__panel-tab { transition-duration: 0s; } } - .edit-post-sidebar__panel-tab::after { + .components-button.edit-post-sidebar__panel-tab::after { content: attr(data-label); display: block; font-weight: 600; @@ -971,25 +961,25 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s overflow: hidden; speak: none; visibility: hidden; } - .edit-post-sidebar__panel-tab.is-active { + .components-button.edit-post-sidebar__panel-tab.is-active { box-shadow: inset 0 -3px #007cba; font-weight: 600; position: relative; } - body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active { + body.admin-color-sunrise .components-button.edit-post-sidebar__panel-tab.is-active { box-shadow: inset 0 -3px #837425; } - body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active { + body.admin-color-ocean .components-button.edit-post-sidebar__panel-tab.is-active { box-shadow: inset 0 -3px #5e7d5e; } - body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active { + body.admin-color-midnight .components-button.edit-post-sidebar__panel-tab.is-active { box-shadow: inset 0 -3px #497b8d; } - body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active { + body.admin-color-ectoplasm .components-button.edit-post-sidebar__panel-tab.is-active { box-shadow: inset 0 -3px #523f6d; } - body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active { + body.admin-color-coffee .components-button.edit-post-sidebar__panel-tab.is-active { box-shadow: inset 0 -3px #59524c; } - body.admin-color-blue .edit-post-sidebar__panel-tab.is-active { + body.admin-color-blue .components-button.edit-post-sidebar__panel-tab.is-active { box-shadow: inset 0 -3px #417e9B; } - body.admin-color-light .edit-post-sidebar__panel-tab.is-active { + body.admin-color-light .components-button.edit-post-sidebar__panel-tab.is-active { box-shadow: inset 0 -3px #007cba; } - .edit-post-sidebar__panel-tab.is-active::before { + .components-button.edit-post-sidebar__panel-tab.is-active::before { content: ""; position: absolute; top: 0; @@ -997,26 +987,12 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s left: 0; right: 0; border-bottom: 3px solid transparent; } - .edit-post-sidebar__panel-tab:focus { + .components-button.edit-post-sidebar__panel-tab:focus { + background-color: transparent; color: #191e23; outline-offset: -1px; outline: 1px dotted #555d66; } -.edit-post-settings-sidebar__panel-block .components-panel__body { - border: none; - border-top: 1px solid #e2e4e7; - margin: 0 -16px; } - .edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control { - margin-bottom: 24px; } - .edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control:last-child { - margin-bottom: 8px; } - .edit-post-settings-sidebar__panel-block .components-panel__body .components-panel__body-toggle { - color: #191e23; } - .edit-post-settings-sidebar__panel-block .components-panel__body:first-child { - margin-top: 16px; } - .edit-post-settings-sidebar__panel-block .components-panel__body:last-child { - margin-bottom: -16px; } - /* Text Editor specific */ .components-panel__header.edit-post-sidebar-header__small { background: #fff; @@ -1042,28 +1018,10 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s .components-panel__header.edit-post-sidebar-header .components-icon-button { display: flex; } } -.edit-post-text-editor__body { - padding-top: 40px; } - @media (min-width: 600px) { - .edit-post-text-editor__body { - padding-top: 86px; } } - @media (min-width: 782px) { - .edit-post-text-editor__body { - padding-top: 40px; } - body.is-fullscreen-mode .edit-post-text-editor__body { - padding-top: 40px; } } - .edit-post-text-editor { + position: relative; width: 100%; - max-width: calc(100% - 32px); - margin-right: 16px; - margin-left: 16px; padding-top: 44px; } - @media (min-width: 600px) { - .edit-post-text-editor { - max-width: 610px; - margin-right: auto; - margin-left: auto; } } .edit-post-text-editor .editor-post-title__block textarea { border: 1px solid #e2e4e7; margin-bottom: 4px; @@ -1086,34 +1044,51 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s .edit-post-text-editor .editor-post-title, .edit-post-text-editor .editor-post-title__block { padding: 0; } } - .edit-post-text-editor .editor-post-text-editor { - padding: 14px; - min-height: 200px; - line-height: 1.8; } - .edit-post-text-editor .edit-post-text-editor__toolbar { - position: absolute; - top: 8px; - right: 0; - left: 0; - height: 36px; - line-height: 36px; - padding: 0 16px 0 8px; - display: flex; } - .edit-post-text-editor .edit-post-text-editor__toolbar h2 { - margin: 0 0 0 auto; - font-size: 13px; - color: #555d66; } - .edit-post-text-editor .edit-post-text-editor__toolbar .components-icon-button svg { - order: 1; } + +.edit-post-text-editor__toolbar { + position: absolute; + top: 8px; + right: 0; + left: 0; + height: 36px; + line-height: 36px; + padding: 0 16px 0 8px; + display: flex; } + .edit-post-text-editor__toolbar h2 { + margin: 0 0 0 auto; + font-size: 13px; + color: #555d66; } + .edit-post-text-editor__toolbar .components-icon-button svg { + order: 1; } + +.edit-post-text-editor__body { + max-width: calc(100% - 32px); + margin-right: 16px; + margin-left: 16px; + padding-top: 40px; } + @media (min-width: 600px) { + .edit-post-text-editor__body { + max-width: 580px; + margin-right: auto; + margin-left: auto; } } .edit-post-visual-editor { position: relative; - padding-top: 50px; } + padding-top: 50px; + flex: 1 1 auto; } .edit-post-visual-editor .components-button { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; } + @supports ((position: -webkit-sticky) or (position: sticky)) { + .edit-post-visual-editor { + flex-basis: 100%; } } + +.edit-post-visual-editor > .block-editor__typewriter, +.edit-post-visual-editor > .block-editor__typewriter > .block-editor-writing-flow, +.edit-post-visual-editor > .block-editor__typewriter > .block-editor-writing-flow > .block-editor-writing-flow__click-redirect { + height: 100%; } .edit-post-visual-editor .block-editor-writing-flow__click-redirect { - height: 50vh; + min-height: 50vh; width: 100%; } .has-metaboxes .edit-post-visual-editor .block-editor-writing-flow__click-redirect { @@ -1123,9 +1098,6 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s margin-right: auto; margin-left: auto; } @media (min-width: 600px) { - .edit-post-visual-editor .block-editor-block-list__block .block-editor-block-list__block-edit { - margin-right: -28px; - margin-left: -28px; } .edit-post-visual-editor .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar, .edit-post-visual-editor .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar { height: 0; @@ -1141,14 +1113,14 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s @media (min-width: 600px) { .edit-post-visual-editor .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar .block-editor-block-toolbar, .edit-post-visual-editor .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar .block-editor-block-toolbar { - max-width: 610px; + max-width: 580px; width: 100%; position: relative; } } @media (min-width: 600px) { .editor-post-title { - padding-right: 46px; - padding-left: 46px; } } + padding-right: 58px; + padding-left: 58px; } } .edit-post-visual-editor .editor-post-title__block { margin-right: auto; @@ -1159,8 +1131,8 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s margin-left: 0; } @media (min-width: 600px) { .edit-post-visual-editor .editor-post-title__block > div { - margin-right: -2px; - margin-left: -2px; } } + margin-right: -16px; + margin-left: -16px; } } .edit-post-visual-editor .block-editor-block-list__layout > .block-editor-block-list__block[data-align="left"]:first-child, .edit-post-visual-editor .block-editor-block-list__layout > .block-editor-block-list__block[data-align="right"]:first-child { @@ -1194,6 +1166,44 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s .edit-post-options-modal__custom-fields-confirmation-message, .edit-post-options-modal__custom-fields-confirmation-button { max-width: 300px; } } +.edit-post-welcome-guide__page { + display: flex; + flex-direction: column; + justify-content: center; + position: relative; } + @media (min-width: 600px) { + .edit-post-welcome-guide__page { + min-height: 300px; + padding-right: 344px; } } + +.edit-post-welcome-guide__heading { + font-family: "Noto Serif", serif; + font-size: 32px; + line-height: 44px; + margin: 8px 0; } + +.edit-post-welcome-guide__image { + background: #66c6e4; + border-radius: 4px; + height: 200px; + margin: 8px 0; } + @media (min-width: 600px) { + .edit-post-welcome-guide__image { + height: 300px; + right: 0; + position: absolute; + width: 320px; } } + +.edit-post-welcome-guide__text { + font-size: 16px; + line-height: 1.5; + margin: 8px 0; } + +.edit-post-welcome-guide__inserter-icon { + margin: 0 4px; + position: relative; + top: 4px; } + /** * Animations */ @@ -2175,7 +2185,7 @@ body.block-editor-page { height: 100%; } .wp-block { - max-width: 610px; } + max-width: 580px; } .wp-block[data-align="wide"] { max-width: 1100px; } .wp-block[data-align="full"] { diff --git a/wp-includes/css/dist/edit-post/style-rtl.min.css b/wp-includes/css/dist/edit-post/style-rtl.min.css index 363be95f1b..d6d9f0ed61 100644 --- a/wp-includes/css/dist/edit-post/style-rtl.min.css +++ b/wp-includes/css/dist/edit-post/style-rtl.min.css @@ -1 +1 @@ -@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-46px;height:calc(100% + 46px)}}@media (min-width:782px) and (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}}@media (min-width:782px){body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-right:0}body.js.is-fullscreen-mode .edit-post-header{transform:translateY(-100%);animation:edit-post-fullscreen-mode__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode .edit-post-header{animation-duration:1ms}}@keyframes edit-post-fullscreen-mode__slide-in-animation{to{transform:translateY(0)}}.edit-post-header{height:56px;padding:4px 2px;border-bottom:1px solid #e2e4e7;background:#fff;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;max-width:100vw;z-index:30;left:0}@media (min-width:280px){.edit-post-header{height:56px;top:0;position:-webkit-sticky;position:sticky;flex-wrap:nowrap}}@media (min-width:600px){.edit-post-header{position:fixed;padding:8px;top:46px}}@media (min-width:782px){.edit-post-header{top:32px}body.is-fullscreen-mode .edit-post-header{top:0}}.edit-post-header>.edit-post-header__settings{order:1}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header{right:0}@media (min-width:782px){.edit-post-header{right:160px}}@media (min-width:782px){.auto-fold .edit-post-header{right:36px}}@media (min-width:960px){.auto-fold .edit-post-header{right:160px}}.folded .edit-post-header{right:0}@media (min-width:782px){.folded .edit-post-header{right:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-header{right:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-header{margin-right:-18px}}body.is-fullscreen-mode .edit-post-header{right:0!important}.edit-post-header__toolbar{display:flex}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap}.edit-post-header .components-button.is-toggled{color:#fff;background:#555d66;margin:1px;padding:7px}.edit-post-header .components-button.is-toggled:focus,.edit-post-header .components-button.is-toggled:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff!important;color:#fff!important;background:#555d66!important}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;height:33px;line-height:32px;font-size:13px}.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px}}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 5px 2px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 12px 2px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 12px 0 3px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 3px 0 12px}}.edit-post-fullscreen-mode-close__toolbar{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close__toolbar{display:flex;border-top:0;border-bottom:0;border-right:0;margin:-9px -10px -8px 10px;padding:9px 10px}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:flex}}.edit-post-header-toolbar__block-toolbar{position:absolute;top:56px;right:0;left:0;background:#fff;min-height:37px;border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{border-top:none;border-bottom:none}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;left:280px}}@media (min-width:1080px){.edit-post-header-toolbar__block-toolbar{padding-right:8px;position:static;right:auto;left:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{left:auto}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar{margin:-9px 0}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{padding:10px 4px 9px}}.edit-post-more-menu{margin-right:-4px}.edit-post-more-menu .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-right:4px}.edit-post-more-menu .components-icon-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(-90deg)}.edit-post-more-menu__content .components-popover__content{min-width:260px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-post-more-menu__content{z-index:99998}.edit-post-pinned-plugins{display:none}@media (min-width:600px){.edit-post-pinned-plugins{display:flex}}.edit-post-pinned-plugins .components-icon-button{margin-right:4px}.edit-post-pinned-plugins .components-icon-button.is-toggled{margin-right:5px}.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg *{stroke:#555d66;fill:#555d66;stroke-width:0}.edit-post-pinned-plugins .components-icon-button.is-toggled:hover svg,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover svg *,.edit-post-pinned-plugins .components-icon-button.is-toggled svg,.edit-post-pinned-plugins .components-icon-button.is-toggled svg *{stroke:#fff!important;fill:#fff!important;stroke-width:0}.edit-post-pinned-plugins .components-icon-button:hover svg,.edit-post-pinned-plugins .components-icon-button:hover svg *{stroke:#191e23!important;fill:#191e23!important;stroke-width:0}.edit-post-keyboard-shortcut-help__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help__main-shortcuts .edit-post-keyboard-shortcut-help__shortcut-list{margin-top:-17px}.edit-post-keyboard-shortcut-help__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help__shortcut{display:flex;align-items:center;padding:.6rem 0;border-top:1px solid #e2e4e7;margin-bottom:0}.edit-post-keyboard-shortcut-help__shortcut:last-child{border-bottom:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut-term{font-weight:600;margin:0 1rem 0 0}.edit-post-keyboard-shortcut-help__shortcut-description{flex:1;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help__shortcut-key-combination{background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help__shortcut-key:last-child{margin:0 .2rem 0 0}.edit-post-layout,.edit-post-layout__content{height:100%}.edit-post-layout{position:relative;box-sizing:border-box}@media (min-width:600px){.edit-post-layout{padding-top:56px}}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #e2e4e7;margin-top:10px;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout__content .components-editor-notices__snackbar{position:fixed;left:0;bottom:20px;padding-right:16px;padding-left:16px;right:0}@media (min-width:782px){.edit-post-layout__content .components-editor-notices__snackbar{right:160px}}@media (min-width:782px){.auto-fold .edit-post-layout__content .components-editor-notices__snackbar{right:36px}}@media (min-width:960px){.auto-fold .edit-post-layout__content .components-editor-notices__snackbar{right:160px}}.folded .edit-post-layout__content .components-editor-notices__snackbar{right:0}@media (min-width:782px){.folded .edit-post-layout__content .components-editor-notices__snackbar{right:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-layout__content .components-editor-notices__snackbar{right:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-layout__content .components-editor-notices__snackbar{margin-right:-18px}}body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__snackbar{right:0!important}.edit-post-layout__content{display:flex;flex-direction:column;min-height:100%;position:relative;padding-bottom:50vh;-webkit-overflow-scrolling:touch}@media (min-width:782px){.edit-post-layout__content{position:fixed;bottom:0;right:0;left:0;top:88px;min-height:calc(100% - 88px);height:auto;margin-right:160px}body.auto-fold .edit-post-layout__content{margin-right:36px}}@media (min-width:782px) and (min-width:960px){body.auto-fold .edit-post-layout__content{margin-right:160px}}@media (min-width:782px){body.folded .edit-post-layout__content{margin-right:36px}body.is-fullscreen-mode .edit-post-layout__content{margin-right:0!important;top:56px}}@media (min-width:782px){.has-fixed-toolbar .edit-post-layout__content{top:124px}}@media (min-width:1080px){.has-fixed-toolbar .edit-post-layout__content{top:88px}}@media (min-width:600px){.edit-post-layout__content{padding-bottom:0;overflow-y:auto;overscroll-behavior-y:none}}.edit-post-layout__content .edit-post-visual-editor{flex:1 1 auto}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-layout__content .edit-post-visual-editor{flex-basis:100%}}.edit-post-layout__content .edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;left:0;right:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{z-index:99998;top:32px;right:auto;width:280px;border-right:1px solid #e2e4e7;transform:translateX(-100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}.is-focusing-regions .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button .components-button.is-large{height:33px;line-height:32px}.edit-post-layout .editor-post-publish-panel__header-publish-button .editor-post-publish-panel__spacer{display:inline-flex;flex:0 1 52px}.edit-post-toggle-publish-panel{position:fixed;top:-9999em;bottom:auto;right:auto;left:0;z-index:100000;padding:10px 0 10px 10px;width:280px;background-color:#fff}.edit-post-toggle-publish-panel:focus{top:auto;bottom:0}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{width:auto;height:auto;display:block;font-size:14px;font-weight:600;margin:0 auto 0 0;padding:15px 23px 14px;line-height:normal;text-decoration:none;outline:none;background:#f1f1f1;color:#11a0d2}body.admin-color-sunrise .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c8b03c}body.admin-color-ocean .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#a89d8a}body.admin-color-midnight .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#77a6b9}body.admin-color-ectoplasm .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c77430}body.admin-color-coffee .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#9fa47b}body.admin-color-blue .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#d9ab59}body.admin-color-light .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c75726}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button:focus{position:fixed;top:auto;left:10px;bottom:10px;right:auto}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 112px)}}.edit-post-manage-blocks-modal .components-modal__content{padding-bottom:0;display:flex;flex-direction:column}.edit-post-manage-blocks-modal .components-modal__header{flex-shrink:0;margin-bottom:0}.edit-post-manage-blocks-modal__content{display:flex;flex-direction:column;flex:0 1 100%;min-height:0}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:12px;border-radius:4px}.edit-post-manage-blocks-modal__disabled-blocks-count{border-top:1px solid #e2e4e7;margin-right:-24px;margin-left:-24px;padding:.6rem 24px;background-color:#f3f4f5}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:-webkit-sticky;position:sticky;top:0;padding:16px 0;background-color:#fff;z-index:1}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-left:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-right:16px;border-top:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item.components-checkbox-control__input-container{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-manage-blocks-modal__checklist-item .editor-block-icon{margin-left:10px;fill:#555d66}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-right:-24px;margin-left:-24px;padding-right:24px;padding-left:24px;border-top:1px solid #e2e4e7}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{border-bottom:1px solid #e2e4e7;box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #e2e4e7;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;right:0;left:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;left:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]{border:1px solid #6c7781}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#6c7781}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:before{margin:-3px -4px}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-sidebar{position:fixed;z-index:100000;top:0;left:0;bottom:0;width:280px;border-right:1px solid #e2e4e7;background:#fff;color:#555d66;height:100vh;overflow:hidden}@media (min-width:600px){.edit-post-sidebar{top:102px;z-index:90;height:auto;overflow:auto;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{top:88px}body.is-fullscreen-mode .edit-post-sidebar{top:56px}}.edit-post-sidebar>.components-panel{border-right:none;border-left:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px;position:relative;z-index:-2}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:hidden;height:auto;max-height:none}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;right:0;left:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;right:auto;left:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar div.components-toolbar:last-child{margin-bottom:0}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .block-editor-skip-to-selected-block:focus{top:auto;left:10px;bottom:10px;right:auto}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-layout__content{margin-left:280px}}.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:100%}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:280px}}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-left:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:none;margin-right:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:flex}}.edit-post-sidebar__panel-tab{height:50px}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{margin:0}.edit-post-post-link__link{text-align:right;word-wrap:break-word;display:block}.edit-post-post-link__preview-link-container{direction:ltr}.edit-post-post-schedule{width:100%;position:relative}.components-button.edit-post-post-schedule__toggle{text-align:left}.edit-post-post-schedule__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-schedule__dialog .components-popover__content{width:270px}}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-right:20px}.edit-post-post-visibility__dialog-info{color:#7e8993;padding-right:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-right:0;padding-left:4px;border-top:0;position:-webkit-sticky;position:sticky;z-index:-1;top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;padding:3px 15px;margin-right:0;font-weight:400;color:#191e23;outline-offset:-1px;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.edit-post-sidebar__panel-tab{transition-duration:0s}}.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:3px solid transparent}.edit-post-sidebar__panel-tab:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66}.edit-post-settings-sidebar__panel-block .components-panel__body{border:none;border-top:1px solid #e2e4e7;margin:0 -16px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control{margin-bottom:24px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control:last-child{margin-bottom:8px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-panel__body-toggle{color:#191e23}.edit-post-settings-sidebar__panel-block .components-panel__body:first-child{margin-top:16px}.edit-post-settings-sidebar__panel-block .components-panel__body:last-child{margin-bottom:-16px}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-left:4px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-left:4px;background:#f3f4f5}.components-panel__header.edit-post-sidebar-header .components-icon-button{display:none;margin-right:auto}.components-panel__header.edit-post-sidebar-header .components-icon-button~.components-icon-button{margin-right:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-icon-button{display:flex}}.edit-post-text-editor__body{padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{padding-top:86px}}@media (min-width:782px){.edit-post-text-editor__body,body.is-fullscreen-mode .edit-post-text-editor__body{padding-top:40px}}.edit-post-text-editor{width:100%;max-width:calc(100% - 32px);margin-right:16px;margin-left:16px;padding-top:44px}@media (min-width:600px){.edit-post-text-editor{max-width:610px;margin-right:auto;margin-left:auto}}.edit-post-text-editor .editor-post-title__block textarea{border:1px solid #e2e4e7;margin-bottom:4px;padding:14px}.edit-post-text-editor .editor-post-title__block textarea:focus{border:1px solid #e2e4e7}.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar).is-selected .editor-post-title__input,.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover{box-shadow:none;border-right-width:1px}.edit-post-text-editor .editor-post-title__block.is-selected textarea,.edit-post-text-editor .editor-post-title__block textarea:hover{box-shadow:0 0 0 1px #e2e4e7}.edit-post-text-editor .editor-post-permalink{margin-top:-6px;box-shadow:none;border:none;outline:1px solid #b5bcc2}@media (min-width:600px){.edit-post-text-editor .editor-post-title,.edit-post-text-editor .editor-post-title__block{padding:0}}.edit-post-text-editor .editor-post-text-editor{padding:14px;min-height:200px;line-height:1.8}.edit-post-text-editor .edit-post-text-editor__toolbar{position:absolute;top:8px;right:0;left:0;height:36px;line-height:36px;padding:0 16px 0 8px;display:flex}.edit-post-text-editor .edit-post-text-editor__toolbar h2{margin:0 0 0 auto;font-size:13px;color:#555d66}.edit-post-text-editor .edit-post-text-editor__toolbar .components-icon-button svg{order:1}.edit-post-visual-editor{position:relative;padding-top:50px}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.edit-post-visual-editor .block-editor-writing-flow__click-redirect{height:50vh;width:100%}.has-metaboxes .edit-post-visual-editor .block-editor-writing-flow__click-redirect{height:0}.edit-post-visual-editor .block-editor-block-list__block{margin-right:auto;margin-left:auto}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block .block-editor-block-list__block-edit{margin-right:-28px;margin-left:-28px}.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{height:0;width:calc(100% - 90px);margin-right:0;margin-left:0;text-align:center;float:right}}@media (min-width:600px) and (min-width:1080px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{width:calc(100% - 26px)}}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar{max-width:610px;width:100%;position:relative}}@media (min-width:600px){.editor-post-title{padding-right:46px;padding-left:46px}}.edit-post-visual-editor .editor-post-title__block{margin-right:auto;margin-left:auto;margin-bottom:32px}.edit-post-visual-editor .editor-post-title__block>div{margin-right:0;margin-left:0}@media (min-width:600px){.edit-post-visual-editor .editor-post-title__block>div{margin-right:-2px;margin-left:-2px}}.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=left]:first-child,.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=right]:first-child{margin-top:34px}.edit-post-options-modal__section{margin:0 0 2rem}.edit-post-options-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-options-modal__option{border-top:1px solid #e2e4e7}.edit-post-options-modal__option:last-child{border-bottom:1px solid #e2e4e7}.edit-post-options-modal__option .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-options-modal__option .components-checkbox-control__label{flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{margin:0 48px .6rem 0}@media (min-width:782px){.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{margin-right:38px}}@media (min-width:600px){.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{max-width:300px}}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-right:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta){display:none}body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{right:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.components-modal__frame,.components-popover,.edit-post-header,.edit-post-sidebar,.edit-post-text-editor,.edit-post-visual-editor,.editor-post-publish-panel{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.components-popover *,.components-popover :after,.components-popover :before,.edit-post-header *,.edit-post-header :after,.edit-post-header :before,.edit-post-sidebar *,.edit-post-sidebar :after,.edit-post-sidebar :before,.edit-post-text-editor *,.edit-post-text-editor :after,.edit-post-text-editor :before,.edit-post-visual-editor *,.edit-post-visual-editor :after,.edit-post-visual-editor :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before{box-sizing:inherit}.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #7e8993;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{transition-duration:0s}}@media (min-width:600px){.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-size:13px;line-height:normal}}.components-modal__frame .input-control:focus,.components-modal__frame input[type=checkbox]:focus,.components-modal__frame input[type=color]:focus,.components-modal__frame input[type=date]:focus,.components-modal__frame input[type=datetime-local]:focus,.components-modal__frame input[type=datetime]:focus,.components-modal__frame input[type=email]:focus,.components-modal__frame input[type=month]:focus,.components-modal__frame input[type=number]:focus,.components-modal__frame input[type=password]:focus,.components-modal__frame input[type=radio]:focus,.components-modal__frame input[type=search]:focus,.components-modal__frame input[type=tel]:focus,.components-modal__frame input[type=text]:focus,.components-modal__frame input[type=time]:focus,.components-modal__frame input[type=url]:focus,.components-modal__frame input[type=week]:focus,.components-modal__frame select:focus,.components-modal__frame textarea:focus,.components-popover .input-control:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=color]:focus,.components-popover input[type=date]:focus,.components-popover input[type=datetime-local]:focus,.components-popover input[type=datetime]:focus,.components-popover input[type=email]:focus,.components-popover input[type=month]:focus,.components-popover input[type=number]:focus,.components-popover input[type=password]:focus,.components-popover input[type=radio]:focus,.components-popover input[type=search]:focus,.components-popover input[type=tel]:focus,.components-popover input[type=text]:focus,.components-popover input[type=time]:focus,.components-popover input[type=url]:focus,.components-popover input[type=week]:focus,.components-popover select:focus,.components-popover textarea:focus,.edit-post-header .input-control:focus,.edit-post-header input[type=checkbox]:focus,.edit-post-header input[type=color]:focus,.edit-post-header input[type=date]:focus,.edit-post-header input[type=datetime-local]:focus,.edit-post-header input[type=datetime]:focus,.edit-post-header input[type=email]:focus,.edit-post-header input[type=month]:focus,.edit-post-header input[type=number]:focus,.edit-post-header input[type=password]:focus,.edit-post-header input[type=radio]:focus,.edit-post-header input[type=search]:focus,.edit-post-header input[type=tel]:focus,.edit-post-header input[type=text]:focus,.edit-post-header input[type=time]:focus,.edit-post-header input[type=url]:focus,.edit-post-header input[type=week]:focus,.edit-post-header select:focus,.edit-post-header textarea:focus,.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.edit-post-text-editor .input-control:focus,.edit-post-text-editor input[type=checkbox]:focus,.edit-post-text-editor input[type=color]:focus,.edit-post-text-editor input[type=date]:focus,.edit-post-text-editor input[type=datetime-local]:focus,.edit-post-text-editor input[type=datetime]:focus,.edit-post-text-editor input[type=email]:focus,.edit-post-text-editor input[type=month]:focus,.edit-post-text-editor input[type=number]:focus,.edit-post-text-editor input[type=password]:focus,.edit-post-text-editor input[type=radio]:focus,.edit-post-text-editor input[type=search]:focus,.edit-post-text-editor input[type=tel]:focus,.edit-post-text-editor input[type=text]:focus,.edit-post-text-editor input[type=time]:focus,.edit-post-text-editor input[type=url]:focus,.edit-post-text-editor input[type=week]:focus,.edit-post-text-editor select:focus,.edit-post-text-editor textarea:focus,.edit-post-visual-editor .input-control:focus,.edit-post-visual-editor input[type=checkbox]:focus,.edit-post-visual-editor input[type=color]:focus,.edit-post-visual-editor input[type=date]:focus,.edit-post-visual-editor input[type=datetime-local]:focus,.edit-post-visual-editor input[type=datetime]:focus,.edit-post-visual-editor input[type=email]:focus,.edit-post-visual-editor input[type=month]:focus,.edit-post-visual-editor input[type=number]:focus,.edit-post-visual-editor input[type=password]:focus,.edit-post-visual-editor input[type=radio]:focus,.edit-post-visual-editor input[type=search]:focus,.edit-post-visual-editor input[type=tel]:focus,.edit-post-visual-editor input[type=text]:focus,.edit-post-visual-editor input[type=time]:focus,.edit-post-visual-editor input[type=url]:focus,.edit-post-visual-editor input[type=week]:focus,.edit-post-visual-editor select:focus,.edit-post-visual-editor textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-modal__frame input[type=number],.components-popover input[type=number],.edit-post-header input[type=number],.edit-post-sidebar input[type=number],.edit-post-text-editor input[type=number],.edit-post-visual-editor input[type=number],.editor-post-publish-panel input[type=number]{padding-right:4px;padding-left:4px}.components-modal__frame select,.components-popover select,.edit-post-header select,.edit-post-sidebar select,.edit-post-text-editor select,.edit-post-visual-editor select,.editor-post-publish-panel select{padding:2px;font-size:13px;color:#555d66}.components-modal__frame select:focus,.components-popover select:focus,.edit-post-header select:focus,.edit-post-sidebar select:focus,.edit-post-text-editor select:focus,.edit-post-visual-editor select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.components-modal__frame input[type=checkbox],.components-modal__frame input[type=radio],.components-popover input[type=checkbox],.components-popover input[type=radio],.edit-post-header input[type=checkbox],.edit-post-header input[type=radio],.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=radio],.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=radio],.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=radio],.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=radio]{border:2px solid #6c7781;margin-left:12px;transition:none}.components-modal__frame input[type=checkbox]:focus,.components-modal__frame input[type=radio]:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=radio]:focus,.edit-post-header input[type=checkbox]:focus,.edit-post-header input[type=radio]:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-text-editor input[type=checkbox]:focus,.edit-post-text-editor input[type=radio]:focus,.edit-post-visual-editor input[type=checkbox]:focus,.edit-post-visual-editor input[type=radio]:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=radio]:focus{border-color:#6c7781;box-shadow:0 0 0 1px #6c7781}.components-modal__frame input[type=checkbox]:checked,.components-modal__frame input[type=radio]:checked,.components-popover input[type=checkbox]:checked,.components-popover input[type=radio]:checked,.edit-post-header input[type=checkbox]:checked,.edit-post-header input[type=radio]:checked,.edit-post-sidebar input[type=checkbox]:checked,.edit-post-sidebar input[type=radio]:checked,.edit-post-text-editor input[type=checkbox]:checked,.edit-post-text-editor input[type=radio]:checked,.edit-post-visual-editor input[type=checkbox]:checked,.edit-post-visual-editor input[type=radio]:checked,.editor-post-publish-panel input[type=checkbox]:checked,.editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .components-modal__frame input[type=checkbox]:checked,body.admin-color-sunrise .components-modal__frame input[type=radio]:checked,body.admin-color-sunrise .components-popover input[type=checkbox]:checked,body.admin-color-sunrise .components-popover input[type=radio]:checked,body.admin-color-sunrise .edit-post-header input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-header input[type=radio]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=radio]:checked,body.admin-color-sunrise .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-text-editor input[type=radio]:checked,body.admin-color-sunrise .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-visual-editor input[type=radio]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=radio]:checked{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .components-modal__frame input[type=checkbox]:checked,body.admin-color-ocean .components-modal__frame input[type=radio]:checked,body.admin-color-ocean .components-popover input[type=checkbox]:checked,body.admin-color-ocean .components-popover input[type=radio]:checked,body.admin-color-ocean .edit-post-header input[type=checkbox]:checked,body.admin-color-ocean .edit-post-header input[type=radio]:checked,body.admin-color-ocean .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ocean .edit-post-sidebar input[type=radio]:checked,body.admin-color-ocean .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-ocean .edit-post-text-editor input[type=radio]:checked,body.admin-color-ocean .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-ocean .edit-post-visual-editor input[type=radio]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=radio]:checked{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-modal__frame input[type=checkbox]:checked,body.admin-color-midnight .components-modal__frame input[type=radio]:checked,body.admin-color-midnight .components-popover input[type=checkbox]:checked,body.admin-color-midnight .components-popover input[type=radio]:checked,body.admin-color-midnight .edit-post-header input[type=checkbox]:checked,body.admin-color-midnight .edit-post-header input[type=radio]:checked,body.admin-color-midnight .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-midnight .edit-post-sidebar input[type=radio]:checked,body.admin-color-midnight .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-midnight .edit-post-text-editor input[type=radio]:checked,body.admin-color-midnight .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-midnight .edit-post-visual-editor input[type=radio]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=radio]:checked{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .components-modal__frame input[type=checkbox]:checked,body.admin-color-ectoplasm .components-modal__frame input[type=radio]:checked,body.admin-color-ectoplasm .components-popover input[type=checkbox]:checked,body.admin-color-ectoplasm .components-popover input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-header input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-header input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-text-editor input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-visual-editor input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=radio]:checked{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-modal__frame input[type=checkbox]:checked,body.admin-color-coffee .components-modal__frame input[type=radio]:checked,body.admin-color-coffee .components-popover input[type=checkbox]:checked,body.admin-color-coffee .components-popover input[type=radio]:checked,body.admin-color-coffee .edit-post-header input[type=checkbox]:checked,body.admin-color-coffee .edit-post-header input[type=radio]:checked,body.admin-color-coffee .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-coffee .edit-post-sidebar input[type=radio]:checked,body.admin-color-coffee .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-coffee .edit-post-text-editor input[type=radio]:checked,body.admin-color-coffee .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-coffee .edit-post-visual-editor input[type=radio]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=radio]:checked{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-modal__frame input[type=checkbox]:checked,body.admin-color-blue .components-modal__frame input[type=radio]:checked,body.admin-color-blue .components-popover input[type=checkbox]:checked,body.admin-color-blue .components-popover input[type=radio]:checked,body.admin-color-blue .edit-post-header input[type=checkbox]:checked,body.admin-color-blue .edit-post-header input[type=radio]:checked,body.admin-color-blue .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-blue .edit-post-sidebar input[type=radio]:checked,body.admin-color-blue .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-blue .edit-post-text-editor input[type=radio]:checked,body.admin-color-blue .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-blue .edit-post-visual-editor input[type=radio]:checked,body.admin-color-blue .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-blue .editor-post-publish-panel input[type=radio]:checked{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .components-modal__frame input[type=checkbox]:checked,body.admin-color-light .components-modal__frame input[type=radio]:checked,body.admin-color-light .components-popover input[type=checkbox]:checked,body.admin-color-light .components-popover input[type=radio]:checked,body.admin-color-light .edit-post-header input[type=checkbox]:checked,body.admin-color-light .edit-post-header input[type=radio]:checked,body.admin-color-light .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-light .edit-post-sidebar input[type=radio]:checked,body.admin-color-light .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-light .edit-post-text-editor input[type=radio]:checked,body.admin-color-light .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-light .edit-post-visual-editor input[type=radio]:checked,body.admin-color-light .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-light .editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}.components-modal__frame input[type=checkbox]:checked:focus,.components-modal__frame input[type=radio]:checked:focus,.components-popover input[type=checkbox]:checked:focus,.components-popover input[type=radio]:checked:focus,.edit-post-header input[type=checkbox]:checked:focus,.edit-post-header input[type=radio]:checked:focus,.edit-post-sidebar input[type=checkbox]:checked:focus,.edit-post-sidebar input[type=radio]:checked:focus,.edit-post-text-editor input[type=checkbox]:checked:focus,.edit-post-text-editor input[type=radio]:checked:focus,.edit-post-visual-editor input[type=checkbox]:checked:focus,.edit-post-visual-editor input[type=radio]:checked:focus,.editor-post-publish-panel input[type=checkbox]:checked:focus,.editor-post-publish-panel input[type=radio]:checked:focus{box-shadow:0 0 0 2px #555d66}.components-modal__frame input[type=checkbox],.components-popover input[type=checkbox],.edit-post-header input[type=checkbox],.edit-post-sidebar input[type=checkbox],.edit-post-text-editor input[type=checkbox],.edit-post-visual-editor input[type=checkbox],.editor-post-publish-panel input[type=checkbox]{border-radius:2px}.components-modal__frame input[type=checkbox]:checked:before,.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox]:checked:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox]:checked:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox]:checked:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-3px -5px;color:#fff}@media (min-width:782px){.components-modal__frame input[type=checkbox]:checked:before,.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox]:checked:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox]:checked:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox]:checked:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-4px -5px 0 0}}.components-modal__frame input[type=checkbox][aria-checked=mixed],.components-popover input[type=checkbox][aria-checked=mixed],.edit-post-header input[type=checkbox][aria-checked=mixed],.edit-post-sidebar input[type=checkbox][aria-checked=mixed],.edit-post-text-editor input[type=checkbox][aria-checked=mixed],.edit-post-visual-editor input[type=checkbox][aria-checked=mixed],.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{content:"\f460";float:right;display:inline-block;vertical-align:middle;width:16px;font:normal 30px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:782px){.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{float:none;font-size:21px}}.components-modal__frame input[type=checkbox][aria-checked=mixed]:focus,.components-popover input[type=checkbox][aria-checked=mixed]:focus,.edit-post-header input[type=checkbox][aria-checked=mixed]:focus,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:focus,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:focus,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:focus,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:focus{box-shadow:0 0 0 2px #555d66}.components-modal__frame input[type=radio],.components-popover input[type=radio],.edit-post-header input[type=radio],.edit-post-sidebar input[type=radio],.edit-post-text-editor input[type=radio],.edit-post-visual-editor input[type=radio],.editor-post-publish-panel input[type=radio]{border-radius:50%}.components-modal__frame input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-header input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.edit-post-text-editor input[type=radio]:checked:before,.edit-post-visual-editor input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{width:6px;height:6px;margin:6px 6px 0 0;background-color:#fff}@media (min-width:782px){.components-modal__frame input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-header input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.edit-post-text-editor input[type=radio]:checked:before,.edit-post-visual-editor input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{margin:3px 3px 0 0}}.components-modal__frame input::-webkit-input-placeholder,.components-modal__frame textarea::-webkit-input-placeholder,.components-popover input::-webkit-input-placeholder,.components-popover textarea::-webkit-input-placeholder,.edit-post-header input::-webkit-input-placeholder,.edit-post-header textarea::-webkit-input-placeholder,.edit-post-sidebar input::-webkit-input-placeholder,.edit-post-sidebar textarea::-webkit-input-placeholder,.edit-post-text-editor input::-webkit-input-placeholder,.edit-post-text-editor textarea::-webkit-input-placeholder,.edit-post-visual-editor input::-webkit-input-placeholder,.edit-post-visual-editor textarea::-webkit-input-placeholder,.editor-post-publish-panel input::-webkit-input-placeholder,.editor-post-publish-panel textarea::-webkit-input-placeholder{color:rgba(14,28,46,.62)}.components-modal__frame input::-moz-placeholder,.components-modal__frame textarea::-moz-placeholder,.components-popover input::-moz-placeholder,.components-popover textarea::-moz-placeholder,.edit-post-header input::-moz-placeholder,.edit-post-header textarea::-moz-placeholder,.edit-post-sidebar input::-moz-placeholder,.edit-post-sidebar textarea::-moz-placeholder,.edit-post-text-editor input::-moz-placeholder,.edit-post-text-editor textarea::-moz-placeholder,.edit-post-visual-editor input::-moz-placeholder,.edit-post-visual-editor textarea::-moz-placeholder,.editor-post-publish-panel input::-moz-placeholder,.editor-post-publish-panel textarea::-moz-placeholder{opacity:1;color:rgba(14,28,46,.62)}.components-modal__frame input:-ms-input-placeholder,.components-modal__frame textarea:-ms-input-placeholder,.components-popover input:-ms-input-placeholder,.components-popover textarea:-ms-input-placeholder,.edit-post-header input:-ms-input-placeholder,.edit-post-header textarea:-ms-input-placeholder,.edit-post-sidebar input:-ms-input-placeholder,.edit-post-sidebar textarea:-ms-input-placeholder,.edit-post-text-editor input:-ms-input-placeholder,.edit-post-text-editor textarea:-ms-input-placeholder,.edit-post-visual-editor input:-ms-input-placeholder,.edit-post-visual-editor textarea:-ms-input-placeholder,.editor-post-publish-panel input:-ms-input-placeholder,.editor-post-publish-panel textarea:-ms-input-placeholder{color:rgba(14,28,46,.62)}.is-dark-theme .components-modal__frame input::-webkit-input-placeholder,.is-dark-theme .components-modal__frame textarea::-webkit-input-placeholder,.is-dark-theme .components-popover input::-webkit-input-placeholder,.is-dark-theme .components-popover textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-header input::-webkit-input-placeholder,.is-dark-theme .edit-post-header textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-sidebar input::-webkit-input-placeholder,.is-dark-theme .edit-post-sidebar textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-text-editor input::-webkit-input-placeholder,.is-dark-theme .edit-post-text-editor textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-visual-editor input::-webkit-input-placeholder,.is-dark-theme .edit-post-visual-editor textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-publish-panel input::-webkit-input-placeholder,.is-dark-theme .editor-post-publish-panel textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-modal__frame input::-moz-placeholder,.is-dark-theme .components-modal__frame textarea::-moz-placeholder,.is-dark-theme .components-popover input::-moz-placeholder,.is-dark-theme .components-popover textarea::-moz-placeholder,.is-dark-theme .edit-post-header input::-moz-placeholder,.is-dark-theme .edit-post-header textarea::-moz-placeholder,.is-dark-theme .edit-post-sidebar input::-moz-placeholder,.is-dark-theme .edit-post-sidebar textarea::-moz-placeholder,.is-dark-theme .edit-post-text-editor input::-moz-placeholder,.is-dark-theme .edit-post-text-editor textarea::-moz-placeholder,.is-dark-theme .edit-post-visual-editor input::-moz-placeholder,.is-dark-theme .edit-post-visual-editor textarea::-moz-placeholder,.is-dark-theme .editor-post-publish-panel input::-moz-placeholder,.is-dark-theme .editor-post-publish-panel textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-modal__frame input:-ms-input-placeholder,.is-dark-theme .components-modal__frame textarea:-ms-input-placeholder,.is-dark-theme .components-popover input:-ms-input-placeholder,.is-dark-theme .components-popover textarea:-ms-input-placeholder,.is-dark-theme .edit-post-header input:-ms-input-placeholder,.is-dark-theme .edit-post-header textarea:-ms-input-placeholder,.is-dark-theme .edit-post-sidebar input:-ms-input-placeholder,.is-dark-theme .edit-post-sidebar textarea:-ms-input-placeholder,.is-dark-theme .edit-post-text-editor input:-ms-input-placeholder,.is-dark-theme .edit-post-text-editor textarea:-ms-input-placeholder,.is-dark-theme .edit-post-visual-editor input:-ms-input-placeholder,.is-dark-theme .edit-post-visual-editor textarea:-ms-input-placeholder,.is-dark-theme .editor-post-publish-panel input:-ms-input-placeholder,.is-dark-theme .editor-post-publish-panel textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@media (min-width:600px){.block-editor__container{position:absolute;top:0;left:0;bottom:0;right:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}.block-editor__container .components-navigate-regions{height:100%}.wp-block{max-width:610px}.wp-block[data-align=wide]{max-width:1100px}.wp-block[data-align=full]{max-width:none} \ No newline at end of file +html{position:fixed;width:100%}@media (min-width:782px){html{position:static;width:auto}}.edit-post-editor-regions{display:flex;flex-direction:column;height:auto;max-height:100%;position:fixed;top:46px;left:0;bottom:0}@media (min-width:782px){.edit-post-editor-regions{top:32px}.is-fullscreen-mode .edit-post-editor-regions{top:0}}.edit-post-editor-regions{right:0}@media (min-width:782px){.edit-post-editor-regions{right:160px}}@media (min-width:782px){.auto-fold .edit-post-editor-regions{right:36px}}@media (min-width:960px){.auto-fold .edit-post-editor-regions{right:160px}}.folded .edit-post-editor-regions{right:0}@media (min-width:782px){.folded .edit-post-editor-regions{right:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-editor-regions{right:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-editor-regions{margin-right:-18px}}body.is-fullscreen-mode .edit-post-editor-regions{right:0!important}.edit-post-editor-regions__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}.edit-post-editor-regions__content{flex-grow:1;display:flex;flex-direction:column}@media (min-width:782px){.edit-post-editor-regions__content{overflow:auto}}.edit-post-editor-regions__sidebar{width:auto;flex-shrink:0;position:absolute;z-index:100000;top:0;left:0;bottom:0;right:0;background:#fff}.edit-post-editor-regions__sidebar:empty{display:none}@media (min-width:782px){.edit-post-editor-regions__sidebar{overflow:auto;border-right:1px solid #e2e4e7;position:relative!important;z-index:90}}.edit-post-editor-regions__header{flex-shrink:0;height:auto;border-bottom:1px solid #e2e4e7;z-index:30;position:-webkit-sticky;position:sticky;top:0}@media (min-width:600px){.edit-post-editor-regions__header{position:static;top:0}}.edit-post-editor-regions__footer{height:auto;flex-shrink:0;overflow:auto;border-top:1px solid #e2e4e7;display:none}@media (min-width:782px){.edit-post-editor-regions__footer{display:block}}.edit-post-editor-regions__publish{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px}.edit-post-editor-regions__publish:focus{top:auto;bottom:0}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-46px;height:calc(100% + 46px)}}@media (min-width:782px) and (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}}@media (min-width:782px){body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-right:0}body.js.is-fullscreen-mode .edit-post-header{transform:translateY(-100%);animation:edit-post-fullscreen-mode__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode .edit-post-header{animation-duration:1ms}}@keyframes edit-post-fullscreen-mode__slide-in-animation{to{transform:translateY(0)}}.edit-post-header{height:56px;padding:4px 2px;background:#fff;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;max-width:100vw}@media (min-width:280px){.edit-post-header{flex-wrap:nowrap}}@media (min-width:600px){.edit-post-header{padding:8px}}.edit-post-header>.edit-post-header__settings{order:1}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header__toolbar{display:flex}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap}.edit-post-header .components-button.is-toggled{color:#fff;background:#555d66;margin:1px;padding:7px}.edit-post-header .components-button.is-toggled:focus,.edit-post-header .components-button.is-toggled:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff!important;color:#fff!important;background:#555d66!important}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;height:34px;line-height:32px;font-size:13px}.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px}}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding-right:5px;padding-left:5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding-right:12px;padding-left:12px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 12px 0 3px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 3px 0 12px}}.edit-post-fullscreen-mode-close__toolbar{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close__toolbar{display:flex;border-top:0;border-bottom:0;border-right:0;margin:-9px -10px -8px 10px;padding:9px 10px}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:flex}}.edit-post-header-toolbar__block-toolbar{position:absolute;top:57px;right:0;left:0;background:#fff;min-height:37px;border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar__block-toolbar:empty{display:none}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{border-top:none;border-bottom:none}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;left:280px}}@media (min-width:1080px){.edit-post-header-toolbar__block-toolbar{padding-right:8px;position:static;right:auto;left:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{left:auto}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar{margin:-9px 0}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{padding:10px 4px 9px}}.edit-post-more-menu{margin-right:-4px}.edit-post-more-menu .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-right:4px}.edit-post-more-menu .components-icon-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(-90deg)}.edit-post-more-menu__content .components-popover__content{min-width:260px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-post-more-menu__content{z-index:99998}.edit-post-pinned-plugins{display:none}@media (min-width:600px){.edit-post-pinned-plugins{display:flex}}.edit-post-pinned-plugins .components-icon-button{margin-right:4px}.edit-post-pinned-plugins .components-icon-button.is-toggled{margin-right:5px}.edit-post-pinned-plugins .components-icon-button svg{max-width:24px;max-height:24px}.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg *{stroke:#555d66;fill:#555d66;stroke-width:0}.edit-post-pinned-plugins .components-icon-button.is-toggled:hover svg,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover svg *,.edit-post-pinned-plugins .components-icon-button.is-toggled svg,.edit-post-pinned-plugins .components-icon-button.is-toggled svg *{stroke:#fff!important;fill:#fff!important;stroke-width:0}.edit-post-pinned-plugins .components-icon-button:hover svg,.edit-post-pinned-plugins .components-icon-button:hover svg *{stroke:#191e23!important;fill:#191e23!important;stroke-width:0}.edit-post-keyboard-shortcut-help__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help__main-shortcuts .edit-post-keyboard-shortcut-help__shortcut-list{margin-top:-25px}.edit-post-keyboard-shortcut-help__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help__shortcut{display:flex;align-items:center;padding:.6rem 0;border-top:1px solid #e2e4e7;margin-bottom:0}.edit-post-keyboard-shortcut-help__shortcut:last-child{border-bottom:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut-term{font-weight:600;margin:0 1rem 0 0}.edit-post-keyboard-shortcut-help__shortcut-description{flex:1;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help__shortcut-key-combination{background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help__shortcut-key:last-child{margin:0 .2rem 0 0}.edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #e2e4e7;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout .components-editor-notices__snackbar{position:fixed;left:0;bottom:20px;padding-right:16px;padding-left:16px;right:0}@media (min-width:782px){.edit-post-layout .components-editor-notices__snackbar{right:160px}}@media (min-width:782px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{right:36px}}@media (min-width:960px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{right:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{right:0}@media (min-width:782px){.folded .edit-post-layout .components-editor-notices__snackbar{right:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar{right:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar{margin-right:-18px}}body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar{right:0!important}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;left:0;right:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{z-index:99998;top:32px;right:auto;width:280px;border-right:1px solid #e2e4e7;transform:translateX(-100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}.is-focusing-regions .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button{justify-content:center}.edit-post-layout .editor-post-publish-panel__header-publish-button .components-button{height:33px;line-height:32px}.edit-post-toggle-publish-panel{background-color:#fff;padding:10px 0 10px 10px}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{width:auto;height:auto;display:block;font-size:14px;font-weight:600;margin:0 auto 0 0;padding:15px 23px 14px;line-height:normal;text-decoration:none;outline:none;background:#f1f1f1;color:#11a0d2}body.admin-color-sunrise .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c8b03c}body.admin-color-ocean .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#a89d8a}body.admin-color-midnight .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#77a6b9}body.admin-color-ectoplasm .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c77430}body.admin-color-coffee .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#9fa47b}body.admin-color-blue .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#d9ab59}body.admin-color-light .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c75726}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button:focus{position:fixed;top:auto;left:10px;bottom:10px;right:auto}.edit-post-layout__footer{display:none;z-index:30}@media (min-width:782px){.edit-post-layout__footer{display:flex;background:#fff;height:24px;padding:0 8px;align-items:center;font-size:13px}}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 112px)}}.edit-post-manage-blocks-modal .components-modal__content{padding-bottom:0;display:flex;flex-direction:column}.edit-post-manage-blocks-modal .components-modal__header{flex-shrink:0;margin-bottom:0}.edit-post-manage-blocks-modal__content{display:flex;flex-direction:column;flex:0 1 100%;min-height:0}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:12px;border-radius:4px}.edit-post-manage-blocks-modal__disabled-blocks-count{border-top:1px solid #e2e4e7;margin-right:-24px;margin-left:-24px;padding:.6rem 24px;background-color:#f3f4f5}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:-webkit-sticky;position:sticky;top:0;padding:16px 0;background-color:#fff;z-index:1}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-left:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-right:16px;border-top:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item.components-checkbox-control__input-container{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-manage-blocks-modal__checklist-item .editor-block-icon{margin-left:10px;fill:#555d66}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-right:-24px;margin-left:-24px;padding-right:24px;padding-left:24px;border-top:1px solid #e2e4e7}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{border-bottom:1px solid #e2e4e7;box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #e2e4e7;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;right:0;left:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;left:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]{border:1px solid #6c7781}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#6c7781}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:before{margin:-3px -4px}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-sidebar{background:#fff;color:#555d66;overflow:visible}@media (min-width:600px){.edit-post-sidebar{z-index:auto;height:100%;overflow:visible;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{width:280px}}.edit-post-sidebar>.components-panel{border-right:none;border-left:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px;position:relative}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:visible;height:auto;max-height:none}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;right:0;left:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;right:auto;left:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar div.components-toolbar:last-child{margin-bottom:0}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .block-editor-skip-to-selected-block:focus{top:auto;left:10px;bottom:10px;right:auto}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-left:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:none;margin-right:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:flex}}.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;height:50px;padding:3px 15px;margin-right:0;font-weight:400;outline-offset:-1px;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.edit-post-sidebar__panel-tab{transition-duration:0s}}.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:3px solid transparent}.edit-post-sidebar__panel-tab:focus:not(:disabled){color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;box-shadow:none}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{margin:0}.edit-post-post-link__link{text-align:right;word-wrap:break-word;display:block}.edit-post-post-link__preview-link-container{direction:ltr}.edit-post-post-schedule{width:100%;position:relative}.components-button.edit-post-post-schedule__toggle{text-align:left}.editor-post-slug__input{margin:-5px 0;padding:2px}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-right:20px}.edit-post-post-visibility__dialog-info{color:#7e8993;padding-right:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-right:0;padding-left:4px;border-top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.components-button.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-right:0;font-weight:400;color:#191e23;outline-offset:-1px;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.components-button.edit-post-sidebar__panel-tab{transition-duration:0s}}.components-button.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.components-button.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:3px solid transparent}.components-button.edit-post-sidebar__panel-tab:focus{background-color:transparent;color:#191e23;outline-offset:-1px;outline:1px dotted #555d66}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-left:4px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-left:4px;background:#f3f4f5}.components-panel__header.edit-post-sidebar-header .components-icon-button{display:none;margin-right:auto}.components-panel__header.edit-post-sidebar-header .components-icon-button~.components-icon-button{margin-right:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-icon-button{display:flex}}.edit-post-text-editor{position:relative;width:100%;padding-top:44px}.edit-post-text-editor .editor-post-title__block textarea{border:1px solid #e2e4e7;margin-bottom:4px;padding:14px}.edit-post-text-editor .editor-post-title__block textarea:focus{border:1px solid #e2e4e7}.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar).is-selected .editor-post-title__input,.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover{box-shadow:none;border-right-width:1px}.edit-post-text-editor .editor-post-title__block.is-selected textarea,.edit-post-text-editor .editor-post-title__block textarea:hover{box-shadow:0 0 0 1px #e2e4e7}.edit-post-text-editor .editor-post-permalink{margin-top:-6px;box-shadow:none;border:none;outline:1px solid #b5bcc2}@media (min-width:600px){.edit-post-text-editor .editor-post-title,.edit-post-text-editor .editor-post-title__block{padding:0}}.edit-post-text-editor__toolbar{position:absolute;top:8px;right:0;left:0;height:36px;line-height:36px;padding:0 16px 0 8px;display:flex}.edit-post-text-editor__toolbar h2{margin:0 0 0 auto;font-size:13px;color:#555d66}.edit-post-text-editor__toolbar .components-icon-button svg{order:1}.edit-post-text-editor__body{max-width:calc(100% - 32px);margin-right:16px;margin-left:16px;padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{max-width:580px;margin-right:auto;margin-left:auto}}.edit-post-visual-editor{position:relative;padding-top:50px;flex:1 1 auto}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-visual-editor{flex-basis:100%}}.edit-post-visual-editor>.block-editor__typewriter,.edit-post-visual-editor>.block-editor__typewriter>.block-editor-writing-flow,.edit-post-visual-editor>.block-editor__typewriter>.block-editor-writing-flow>.block-editor-writing-flow__click-redirect{height:100%}.edit-post-visual-editor .block-editor-writing-flow__click-redirect{min-height:50vh;width:100%}.has-metaboxes .edit-post-visual-editor .block-editor-writing-flow__click-redirect{height:0}.edit-post-visual-editor .block-editor-block-list__block{margin-right:auto;margin-left:auto}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{height:0;width:calc(100% - 90px);margin-right:0;margin-left:0;text-align:center;float:right}}@media (min-width:600px) and (min-width:1080px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{width:calc(100% - 26px)}}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar{max-width:580px;width:100%;position:relative}}@media (min-width:600px){.editor-post-title{padding-right:58px;padding-left:58px}}.edit-post-visual-editor .editor-post-title__block{margin-right:auto;margin-left:auto;margin-bottom:32px}.edit-post-visual-editor .editor-post-title__block>div{margin-right:0;margin-left:0}@media (min-width:600px){.edit-post-visual-editor .editor-post-title__block>div{margin-right:-16px;margin-left:-16px}}.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=left]:first-child,.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=right]:first-child{margin-top:34px}.edit-post-options-modal__section{margin:0 0 2rem}.edit-post-options-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-options-modal__option{border-top:1px solid #e2e4e7}.edit-post-options-modal__option:last-child{border-bottom:1px solid #e2e4e7}.edit-post-options-modal__option .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-options-modal__option .components-checkbox-control__label{flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{margin:0 48px .6rem 0}@media (min-width:782px){.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{margin-right:38px}}@media (min-width:600px){.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{max-width:300px}}.edit-post-welcome-guide__page{display:flex;flex-direction:column;justify-content:center;position:relative}@media (min-width:600px){.edit-post-welcome-guide__page{min-height:300px;padding-right:344px}}.edit-post-welcome-guide__heading{font-family:"Noto Serif",serif;font-size:32px;line-height:44px;margin:8px 0}.edit-post-welcome-guide__image{background:#66c6e4;border-radius:4px;height:200px;margin:8px 0}@media (min-width:600px){.edit-post-welcome-guide__image{height:300px;right:0;position:absolute;width:320px}}.edit-post-welcome-guide__text{font-size:16px;line-height:1.5;margin:8px 0}.edit-post-welcome-guide__inserter-icon{margin:0 4px;position:relative;top:4px}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-right:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta){display:none}body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{right:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.components-modal__frame,.components-popover,.edit-post-header,.edit-post-sidebar,.edit-post-text-editor,.edit-post-visual-editor,.editor-post-publish-panel{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.components-popover *,.components-popover :after,.components-popover :before,.edit-post-header *,.edit-post-header :after,.edit-post-header :before,.edit-post-sidebar *,.edit-post-sidebar :after,.edit-post-sidebar :before,.edit-post-text-editor *,.edit-post-text-editor :after,.edit-post-text-editor :before,.edit-post-visual-editor *,.edit-post-visual-editor :after,.edit-post-visual-editor :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before{box-sizing:inherit}.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #7e8993;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{transition-duration:0s}}@media (min-width:600px){.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-size:13px;line-height:normal}}.components-modal__frame .input-control:focus,.components-modal__frame input[type=checkbox]:focus,.components-modal__frame input[type=color]:focus,.components-modal__frame input[type=date]:focus,.components-modal__frame input[type=datetime-local]:focus,.components-modal__frame input[type=datetime]:focus,.components-modal__frame input[type=email]:focus,.components-modal__frame input[type=month]:focus,.components-modal__frame input[type=number]:focus,.components-modal__frame input[type=password]:focus,.components-modal__frame input[type=radio]:focus,.components-modal__frame input[type=search]:focus,.components-modal__frame input[type=tel]:focus,.components-modal__frame input[type=text]:focus,.components-modal__frame input[type=time]:focus,.components-modal__frame input[type=url]:focus,.components-modal__frame input[type=week]:focus,.components-modal__frame select:focus,.components-modal__frame textarea:focus,.components-popover .input-control:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=color]:focus,.components-popover input[type=date]:focus,.components-popover input[type=datetime-local]:focus,.components-popover input[type=datetime]:focus,.components-popover input[type=email]:focus,.components-popover input[type=month]:focus,.components-popover input[type=number]:focus,.components-popover input[type=password]:focus,.components-popover input[type=radio]:focus,.components-popover input[type=search]:focus,.components-popover input[type=tel]:focus,.components-popover input[type=text]:focus,.components-popover input[type=time]:focus,.components-popover input[type=url]:focus,.components-popover input[type=week]:focus,.components-popover select:focus,.components-popover textarea:focus,.edit-post-header .input-control:focus,.edit-post-header input[type=checkbox]:focus,.edit-post-header input[type=color]:focus,.edit-post-header input[type=date]:focus,.edit-post-header input[type=datetime-local]:focus,.edit-post-header input[type=datetime]:focus,.edit-post-header input[type=email]:focus,.edit-post-header input[type=month]:focus,.edit-post-header input[type=number]:focus,.edit-post-header input[type=password]:focus,.edit-post-header input[type=radio]:focus,.edit-post-header input[type=search]:focus,.edit-post-header input[type=tel]:focus,.edit-post-header input[type=text]:focus,.edit-post-header input[type=time]:focus,.edit-post-header input[type=url]:focus,.edit-post-header input[type=week]:focus,.edit-post-header select:focus,.edit-post-header textarea:focus,.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.edit-post-text-editor .input-control:focus,.edit-post-text-editor input[type=checkbox]:focus,.edit-post-text-editor input[type=color]:focus,.edit-post-text-editor input[type=date]:focus,.edit-post-text-editor input[type=datetime-local]:focus,.edit-post-text-editor input[type=datetime]:focus,.edit-post-text-editor input[type=email]:focus,.edit-post-text-editor input[type=month]:focus,.edit-post-text-editor input[type=number]:focus,.edit-post-text-editor input[type=password]:focus,.edit-post-text-editor input[type=radio]:focus,.edit-post-text-editor input[type=search]:focus,.edit-post-text-editor input[type=tel]:focus,.edit-post-text-editor input[type=text]:focus,.edit-post-text-editor input[type=time]:focus,.edit-post-text-editor input[type=url]:focus,.edit-post-text-editor input[type=week]:focus,.edit-post-text-editor select:focus,.edit-post-text-editor textarea:focus,.edit-post-visual-editor .input-control:focus,.edit-post-visual-editor input[type=checkbox]:focus,.edit-post-visual-editor input[type=color]:focus,.edit-post-visual-editor input[type=date]:focus,.edit-post-visual-editor input[type=datetime-local]:focus,.edit-post-visual-editor input[type=datetime]:focus,.edit-post-visual-editor input[type=email]:focus,.edit-post-visual-editor input[type=month]:focus,.edit-post-visual-editor input[type=number]:focus,.edit-post-visual-editor input[type=password]:focus,.edit-post-visual-editor input[type=radio]:focus,.edit-post-visual-editor input[type=search]:focus,.edit-post-visual-editor input[type=tel]:focus,.edit-post-visual-editor input[type=text]:focus,.edit-post-visual-editor input[type=time]:focus,.edit-post-visual-editor input[type=url]:focus,.edit-post-visual-editor input[type=week]:focus,.edit-post-visual-editor select:focus,.edit-post-visual-editor textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-modal__frame input[type=number],.components-popover input[type=number],.edit-post-header input[type=number],.edit-post-sidebar input[type=number],.edit-post-text-editor input[type=number],.edit-post-visual-editor input[type=number],.editor-post-publish-panel input[type=number]{padding-right:4px;padding-left:4px}.components-modal__frame select,.components-popover select,.edit-post-header select,.edit-post-sidebar select,.edit-post-text-editor select,.edit-post-visual-editor select,.editor-post-publish-panel select{padding:2px;font-size:13px;color:#555d66}.components-modal__frame select:focus,.components-popover select:focus,.edit-post-header select:focus,.edit-post-sidebar select:focus,.edit-post-text-editor select:focus,.edit-post-visual-editor select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.components-modal__frame input[type=checkbox],.components-modal__frame input[type=radio],.components-popover input[type=checkbox],.components-popover input[type=radio],.edit-post-header input[type=checkbox],.edit-post-header input[type=radio],.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=radio],.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=radio],.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=radio],.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=radio]{border:2px solid #6c7781;margin-left:12px;transition:none}.components-modal__frame input[type=checkbox]:focus,.components-modal__frame input[type=radio]:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=radio]:focus,.edit-post-header input[type=checkbox]:focus,.edit-post-header input[type=radio]:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-text-editor input[type=checkbox]:focus,.edit-post-text-editor input[type=radio]:focus,.edit-post-visual-editor input[type=checkbox]:focus,.edit-post-visual-editor input[type=radio]:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=radio]:focus{border-color:#6c7781;box-shadow:0 0 0 1px #6c7781}.components-modal__frame input[type=checkbox]:checked,.components-modal__frame input[type=radio]:checked,.components-popover input[type=checkbox]:checked,.components-popover input[type=radio]:checked,.edit-post-header input[type=checkbox]:checked,.edit-post-header input[type=radio]:checked,.edit-post-sidebar input[type=checkbox]:checked,.edit-post-sidebar input[type=radio]:checked,.edit-post-text-editor input[type=checkbox]:checked,.edit-post-text-editor input[type=radio]:checked,.edit-post-visual-editor input[type=checkbox]:checked,.edit-post-visual-editor input[type=radio]:checked,.editor-post-publish-panel input[type=checkbox]:checked,.editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .components-modal__frame input[type=checkbox]:checked,body.admin-color-sunrise .components-modal__frame input[type=radio]:checked,body.admin-color-sunrise .components-popover input[type=checkbox]:checked,body.admin-color-sunrise .components-popover input[type=radio]:checked,body.admin-color-sunrise .edit-post-header input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-header input[type=radio]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=radio]:checked,body.admin-color-sunrise .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-text-editor input[type=radio]:checked,body.admin-color-sunrise .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-visual-editor input[type=radio]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=radio]:checked{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .components-modal__frame input[type=checkbox]:checked,body.admin-color-ocean .components-modal__frame input[type=radio]:checked,body.admin-color-ocean .components-popover input[type=checkbox]:checked,body.admin-color-ocean .components-popover input[type=radio]:checked,body.admin-color-ocean .edit-post-header input[type=checkbox]:checked,body.admin-color-ocean .edit-post-header input[type=radio]:checked,body.admin-color-ocean .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ocean .edit-post-sidebar input[type=radio]:checked,body.admin-color-ocean .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-ocean .edit-post-text-editor input[type=radio]:checked,body.admin-color-ocean .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-ocean .edit-post-visual-editor input[type=radio]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=radio]:checked{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-modal__frame input[type=checkbox]:checked,body.admin-color-midnight .components-modal__frame input[type=radio]:checked,body.admin-color-midnight .components-popover input[type=checkbox]:checked,body.admin-color-midnight .components-popover input[type=radio]:checked,body.admin-color-midnight .edit-post-header input[type=checkbox]:checked,body.admin-color-midnight .edit-post-header input[type=radio]:checked,body.admin-color-midnight .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-midnight .edit-post-sidebar input[type=radio]:checked,body.admin-color-midnight .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-midnight .edit-post-text-editor input[type=radio]:checked,body.admin-color-midnight .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-midnight .edit-post-visual-editor input[type=radio]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=radio]:checked{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .components-modal__frame input[type=checkbox]:checked,body.admin-color-ectoplasm .components-modal__frame input[type=radio]:checked,body.admin-color-ectoplasm .components-popover input[type=checkbox]:checked,body.admin-color-ectoplasm .components-popover input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-header input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-header input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-text-editor input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-visual-editor input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=radio]:checked{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-modal__frame input[type=checkbox]:checked,body.admin-color-coffee .components-modal__frame input[type=radio]:checked,body.admin-color-coffee .components-popover input[type=checkbox]:checked,body.admin-color-coffee .components-popover input[type=radio]:checked,body.admin-color-coffee .edit-post-header input[type=checkbox]:checked,body.admin-color-coffee .edit-post-header input[type=radio]:checked,body.admin-color-coffee .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-coffee .edit-post-sidebar input[type=radio]:checked,body.admin-color-coffee .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-coffee .edit-post-text-editor input[type=radio]:checked,body.admin-color-coffee .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-coffee .edit-post-visual-editor input[type=radio]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=radio]:checked{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-modal__frame input[type=checkbox]:checked,body.admin-color-blue .components-modal__frame input[type=radio]:checked,body.admin-color-blue .components-popover input[type=checkbox]:checked,body.admin-color-blue .components-popover input[type=radio]:checked,body.admin-color-blue .edit-post-header input[type=checkbox]:checked,body.admin-color-blue .edit-post-header input[type=radio]:checked,body.admin-color-blue .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-blue .edit-post-sidebar input[type=radio]:checked,body.admin-color-blue .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-blue .edit-post-text-editor input[type=radio]:checked,body.admin-color-blue .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-blue .edit-post-visual-editor input[type=radio]:checked,body.admin-color-blue .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-blue .editor-post-publish-panel input[type=radio]:checked{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .components-modal__frame input[type=checkbox]:checked,body.admin-color-light .components-modal__frame input[type=radio]:checked,body.admin-color-light .components-popover input[type=checkbox]:checked,body.admin-color-light .components-popover input[type=radio]:checked,body.admin-color-light .edit-post-header input[type=checkbox]:checked,body.admin-color-light .edit-post-header input[type=radio]:checked,body.admin-color-light .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-light .edit-post-sidebar input[type=radio]:checked,body.admin-color-light .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-light .edit-post-text-editor input[type=radio]:checked,body.admin-color-light .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-light .edit-post-visual-editor input[type=radio]:checked,body.admin-color-light .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-light .editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}.components-modal__frame input[type=checkbox]:checked:focus,.components-modal__frame input[type=radio]:checked:focus,.components-popover input[type=checkbox]:checked:focus,.components-popover input[type=radio]:checked:focus,.edit-post-header input[type=checkbox]:checked:focus,.edit-post-header input[type=radio]:checked:focus,.edit-post-sidebar input[type=checkbox]:checked:focus,.edit-post-sidebar input[type=radio]:checked:focus,.edit-post-text-editor input[type=checkbox]:checked:focus,.edit-post-text-editor input[type=radio]:checked:focus,.edit-post-visual-editor input[type=checkbox]:checked:focus,.edit-post-visual-editor input[type=radio]:checked:focus,.editor-post-publish-panel input[type=checkbox]:checked:focus,.editor-post-publish-panel input[type=radio]:checked:focus{box-shadow:0 0 0 2px #555d66}.components-modal__frame input[type=checkbox],.components-popover input[type=checkbox],.edit-post-header input[type=checkbox],.edit-post-sidebar input[type=checkbox],.edit-post-text-editor input[type=checkbox],.edit-post-visual-editor input[type=checkbox],.editor-post-publish-panel input[type=checkbox]{border-radius:2px}.components-modal__frame input[type=checkbox]:checked:before,.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox]:checked:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox]:checked:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox]:checked:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-3px -5px;color:#fff}@media (min-width:782px){.components-modal__frame input[type=checkbox]:checked:before,.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox]:checked:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox]:checked:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox]:checked:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-4px -5px 0 0}}.components-modal__frame input[type=checkbox][aria-checked=mixed],.components-popover input[type=checkbox][aria-checked=mixed],.edit-post-header input[type=checkbox][aria-checked=mixed],.edit-post-sidebar input[type=checkbox][aria-checked=mixed],.edit-post-text-editor input[type=checkbox][aria-checked=mixed],.edit-post-visual-editor input[type=checkbox][aria-checked=mixed],.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{content:"\f460";float:right;display:inline-block;vertical-align:middle;width:16px;font:normal 30px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:782px){.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{float:none;font-size:21px}}.components-modal__frame input[type=checkbox][aria-checked=mixed]:focus,.components-popover input[type=checkbox][aria-checked=mixed]:focus,.edit-post-header input[type=checkbox][aria-checked=mixed]:focus,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:focus,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:focus,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:focus,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:focus{box-shadow:0 0 0 2px #555d66}.components-modal__frame input[type=radio],.components-popover input[type=radio],.edit-post-header input[type=radio],.edit-post-sidebar input[type=radio],.edit-post-text-editor input[type=radio],.edit-post-visual-editor input[type=radio],.editor-post-publish-panel input[type=radio]{border-radius:50%}.components-modal__frame input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-header input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.edit-post-text-editor input[type=radio]:checked:before,.edit-post-visual-editor input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{width:6px;height:6px;margin:6px 6px 0 0;background-color:#fff}@media (min-width:782px){.components-modal__frame input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-header input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.edit-post-text-editor input[type=radio]:checked:before,.edit-post-visual-editor input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{margin:3px 3px 0 0}}.components-modal__frame input::-webkit-input-placeholder,.components-modal__frame textarea::-webkit-input-placeholder,.components-popover input::-webkit-input-placeholder,.components-popover textarea::-webkit-input-placeholder,.edit-post-header input::-webkit-input-placeholder,.edit-post-header textarea::-webkit-input-placeholder,.edit-post-sidebar input::-webkit-input-placeholder,.edit-post-sidebar textarea::-webkit-input-placeholder,.edit-post-text-editor input::-webkit-input-placeholder,.edit-post-text-editor textarea::-webkit-input-placeholder,.edit-post-visual-editor input::-webkit-input-placeholder,.edit-post-visual-editor textarea::-webkit-input-placeholder,.editor-post-publish-panel input::-webkit-input-placeholder,.editor-post-publish-panel textarea::-webkit-input-placeholder{color:rgba(14,28,46,.62)}.components-modal__frame input::-moz-placeholder,.components-modal__frame textarea::-moz-placeholder,.components-popover input::-moz-placeholder,.components-popover textarea::-moz-placeholder,.edit-post-header input::-moz-placeholder,.edit-post-header textarea::-moz-placeholder,.edit-post-sidebar input::-moz-placeholder,.edit-post-sidebar textarea::-moz-placeholder,.edit-post-text-editor input::-moz-placeholder,.edit-post-text-editor textarea::-moz-placeholder,.edit-post-visual-editor input::-moz-placeholder,.edit-post-visual-editor textarea::-moz-placeholder,.editor-post-publish-panel input::-moz-placeholder,.editor-post-publish-panel textarea::-moz-placeholder{opacity:1;color:rgba(14,28,46,.62)}.components-modal__frame input:-ms-input-placeholder,.components-modal__frame textarea:-ms-input-placeholder,.components-popover input:-ms-input-placeholder,.components-popover textarea:-ms-input-placeholder,.edit-post-header input:-ms-input-placeholder,.edit-post-header textarea:-ms-input-placeholder,.edit-post-sidebar input:-ms-input-placeholder,.edit-post-sidebar textarea:-ms-input-placeholder,.edit-post-text-editor input:-ms-input-placeholder,.edit-post-text-editor textarea:-ms-input-placeholder,.edit-post-visual-editor input:-ms-input-placeholder,.edit-post-visual-editor textarea:-ms-input-placeholder,.editor-post-publish-panel input:-ms-input-placeholder,.editor-post-publish-panel textarea:-ms-input-placeholder{color:rgba(14,28,46,.62)}.is-dark-theme .components-modal__frame input::-webkit-input-placeholder,.is-dark-theme .components-modal__frame textarea::-webkit-input-placeholder,.is-dark-theme .components-popover input::-webkit-input-placeholder,.is-dark-theme .components-popover textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-header input::-webkit-input-placeholder,.is-dark-theme .edit-post-header textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-sidebar input::-webkit-input-placeholder,.is-dark-theme .edit-post-sidebar textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-text-editor input::-webkit-input-placeholder,.is-dark-theme .edit-post-text-editor textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-visual-editor input::-webkit-input-placeholder,.is-dark-theme .edit-post-visual-editor textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-publish-panel input::-webkit-input-placeholder,.is-dark-theme .editor-post-publish-panel textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-modal__frame input::-moz-placeholder,.is-dark-theme .components-modal__frame textarea::-moz-placeholder,.is-dark-theme .components-popover input::-moz-placeholder,.is-dark-theme .components-popover textarea::-moz-placeholder,.is-dark-theme .edit-post-header input::-moz-placeholder,.is-dark-theme .edit-post-header textarea::-moz-placeholder,.is-dark-theme .edit-post-sidebar input::-moz-placeholder,.is-dark-theme .edit-post-sidebar textarea::-moz-placeholder,.is-dark-theme .edit-post-text-editor input::-moz-placeholder,.is-dark-theme .edit-post-text-editor textarea::-moz-placeholder,.is-dark-theme .edit-post-visual-editor input::-moz-placeholder,.is-dark-theme .edit-post-visual-editor textarea::-moz-placeholder,.is-dark-theme .editor-post-publish-panel input::-moz-placeholder,.is-dark-theme .editor-post-publish-panel textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-modal__frame input:-ms-input-placeholder,.is-dark-theme .components-modal__frame textarea:-ms-input-placeholder,.is-dark-theme .components-popover input:-ms-input-placeholder,.is-dark-theme .components-popover textarea:-ms-input-placeholder,.is-dark-theme .edit-post-header input:-ms-input-placeholder,.is-dark-theme .edit-post-header textarea:-ms-input-placeholder,.is-dark-theme .edit-post-sidebar input:-ms-input-placeholder,.is-dark-theme .edit-post-sidebar textarea:-ms-input-placeholder,.is-dark-theme .edit-post-text-editor input:-ms-input-placeholder,.is-dark-theme .edit-post-text-editor textarea:-ms-input-placeholder,.is-dark-theme .edit-post-visual-editor input:-ms-input-placeholder,.is-dark-theme .edit-post-visual-editor textarea:-ms-input-placeholder,.is-dark-theme .editor-post-publish-panel input:-ms-input-placeholder,.is-dark-theme .editor-post-publish-panel textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@media (min-width:600px){.block-editor__container{position:absolute;top:0;left:0;bottom:0;right:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}.block-editor__container .components-navigate-regions{height:100%}.wp-block{max-width:580px}.wp-block[data-align=wide]{max-width:1100px}.wp-block[data-align=full]{max-width:none} \ No newline at end of file diff --git a/wp-includes/css/dist/edit-post/style.css b/wp-includes/css/dist/edit-post/style.css index ac604a79e7..ecc447d967 100644 --- a/wp-includes/css/dist/edit-post/style.css +++ b/wp-includes/css/dist/edit-post/style.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -38,6 +35,134 @@ /** * Reset the WP Admin page styles for Gutenberg-like pages. */ +html { + position: fixed; + width: 100%; } + @media (min-width: 782px) { + html { + position: initial; + width: initial; } } + +.edit-post-editor-regions { + display: flex; + flex-direction: column; + height: auto; + max-height: 100%; + position: fixed; + top: 46px; + left: 0; + right: 0; + bottom: 0; } + @media (min-width: 782px) { + .edit-post-editor-regions { + top: 32px; } + .is-fullscreen-mode .edit-post-editor-regions { + top: 0; } } + +.edit-post-editor-regions { + /* Set left position when auto-fold is not on the body element. */ + left: 0; } + @media (min-width: 782px) { + .edit-post-editor-regions { + left: 160px; } } + +.auto-fold .edit-post-editor-regions { + /* Auto fold is when on smaller breakpoints, nav menu auto collapses. */ } + @media (min-width: 782px) { + .auto-fold .edit-post-editor-regions { + left: 36px; } } + @media (min-width: 960px) { + .auto-fold .edit-post-editor-regions { + left: 160px; } } + +/* Sidebar manually collapsed. */ +.folded .edit-post-editor-regions { + left: 0; } + @media (min-width: 782px) { + .folded .edit-post-editor-regions { + left: 36px; } } + +/* Mobile menu opened. */ +@media (max-width: 782px) { + .auto-fold .wp-responsive-open .edit-post-editor-regions { + left: 190px; } } + +/* In small screens with responsive menu expanded there is small white space. */ +@media (max-width: 600px) { + .auto-fold .wp-responsive-open .edit-post-editor-regions { + margin-left: -18px; } } + +body.is-fullscreen-mode .edit-post-editor-regions { + left: 0 !important; } + +.edit-post-editor-regions__body { + flex-grow: 1; + display: flex; + overflow: auto; + overscroll-behavior-y: none; } + +.edit-post-editor-regions__content { + flex-grow: 1; + display: flex; + flex-direction: column; } + @media (min-width: 782px) { + .edit-post-editor-regions__content { + overflow: auto; } } + +.edit-post-editor-regions__sidebar { + width: auto; + flex-shrink: 0; + position: absolute; + z-index: 100000; + top: 0; + right: 0; + bottom: 0; + left: 0; + background: #fff; } + .edit-post-editor-regions__sidebar:empty { + display: none; } + @media (min-width: 782px) { + .edit-post-editor-regions__sidebar { + overflow: auto; + border-left: 1px solid #e2e4e7; + position: relative !important; + z-index: 90; } } + +.edit-post-editor-regions__header { + flex-shrink: 0; + height: auto; + border-bottom: 1px solid #e2e4e7; + z-index: 30; + position: -webkit-sticky; + position: sticky; + top: 0; } + @media (min-width: 600px) { + .edit-post-editor-regions__header { + position: initial; + top: 0; } } + +.edit-post-editor-regions__footer { + height: auto; + flex-shrink: 0; + overflow: auto; + border-top: 1px solid #e2e4e7; + display: none; } + @media (min-width: 782px) { + .edit-post-editor-regions__footer { + display: block; } } + +.edit-post-editor-regions__publish { + z-index: 100000; + position: fixed !important; + top: -9999em; + bottom: auto; + left: auto; + right: 0; + width: 280px; } + .edit-post-editor-regions__publish:focus { + top: auto; + bottom: 0; } + @media (min-width: 782px) { body.js.is-fullscreen-mode { margin-top: -46px; @@ -68,75 +193,24 @@ .edit-post-header { height: 56px; padding: 4px 2px; - border-bottom: 1px solid #e2e4e7; background: #fff; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; - max-width: 100vw; - z-index: 30; - left: 0; - right: 0; } + max-width: 100vw; } @media (min-width: 280px) { .edit-post-header { - height: 56px; - top: 0; - position: -webkit-sticky; - position: sticky; flex-wrap: nowrap; } } @media (min-width: 600px) { .edit-post-header { - position: fixed; - padding: 8px; - top: 46px; } } - @media (min-width: 782px) { - .edit-post-header { - top: 32px; } - body.is-fullscreen-mode .edit-post-header { - top: 0; } } + padding: 8px; } } .edit-post-header > .edit-post-header__settings { order: 1; } @supports ((position: -webkit-sticky) or (position: sticky)) { .edit-post-header > .edit-post-header__settings { order: initial; } } -.edit-post-header { - /* Set left position when auto-fold is not on the body element. */ - left: 0; } - @media (min-width: 782px) { - .edit-post-header { - left: 160px; } } - -.auto-fold .edit-post-header { - /* Auto fold is when on smaller breakpoints, nav menu auto collapses. */ } - @media (min-width: 782px) { - .auto-fold .edit-post-header { - left: 36px; } } - @media (min-width: 960px) { - .auto-fold .edit-post-header { - left: 160px; } } - -/* Sidebar manually collapsed. */ -.folded .edit-post-header { - left: 0; } - @media (min-width: 782px) { - .folded .edit-post-header { - left: 36px; } } - -/* Mobile menu opened. */ -@media (max-width: 782px) { - .auto-fold .wp-responsive-open .edit-post-header { - left: 190px; } } - -/* In small screens with responsive menu expanded there is small white space. */ -@media (max-width: 600px) { - .auto-fold .wp-responsive-open .edit-post-header { - margin-left: -18px; } } - -body.is-fullscreen-mode .edit-post-header { - left: 0 !important; } - .edit-post-header__toolbar { display: flex; } @@ -158,7 +232,7 @@ body.is-fullscreen-mode .edit-post-header { .edit-post-header .components-button.editor-post-save-draft, .edit-post-header .components-button.editor-post-switch-to-draft, .edit-post-header .components-button.editor-post-preview, .edit-post-header .components-button.editor-post-publish-button, .edit-post-header .components-button.editor-post-publish-panel__toggle { margin: 2px; - height: 33px; + height: 34px; line-height: 32px; font-size: 13px; } @@ -169,10 +243,12 @@ body.is-fullscreen-mode .edit-post-header { padding: 0 12px; } } .edit-post-header .components-button.editor-post-preview, .edit-post-header .components-button.editor-post-publish-button, .edit-post-header .components-button.editor-post-publish-panel__toggle { - padding: 0 5px 2px; } + padding-left: 5px; + padding-right: 5px; } @media (min-width: 600px) { .edit-post-header .components-button.editor-post-preview, .edit-post-header .components-button.editor-post-publish-button, .edit-post-header .components-button.editor-post-publish-panel__toggle { - padding: 0 12px 2px; } } + padding-left: 12px; + padding-right: 12px; } } @media (min-width: 782px) { .edit-post-header .components-button.editor-post-preview { @@ -209,12 +285,14 @@ body.is-fullscreen-mode .edit-post-header { .edit-post-header-toolbar__block-toolbar { position: absolute; - top: 56px; + top: 57px; left: 0; right: 0; background: #fff; min-height: 37px; border-bottom: 1px solid #e2e4e7; } + .edit-post-header-toolbar__block-toolbar:empty { + display: none; } .edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar { border-top: none; border-bottom: none; } @@ -274,6 +352,9 @@ body.is-fullscreen-mode .edit-post-header { margin-left: 4px; } .edit-post-pinned-plugins .components-icon-button.is-toggled { margin-left: 5px; } + .edit-post-pinned-plugins .components-icon-button svg { + max-width: 24px; + max-height: 24px; } .edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg, .edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg * { stroke: #555d66; @@ -296,7 +377,7 @@ body.is-fullscreen-mode .edit-post-header { margin: 0 0 2rem 0; } .edit-post-keyboard-shortcut-help__main-shortcuts .edit-post-keyboard-shortcut-help__shortcut-list { - margin-top: -17px; } + margin-top: -25px; } .edit-post-keyboard-shortcut-help__section-title { font-size: 0.9rem; @@ -332,119 +413,59 @@ body.is-fullscreen-mode .edit-post-header { .edit-post-keyboard-shortcut-help__shortcut-key:last-child { margin: 0 0 0 0.2rem; } -.edit-post-layout, -.edit-post-layout__content { - height: 100%; } - -.edit-post-layout { - position: relative; - box-sizing: border-box; } - @media (min-width: 600px) { - .edit-post-layout { - padding-top: 56px; } } +.edit-post-layout__metaboxes { + flex-shrink: 0; } .edit-post-layout__metaboxes:not(:empty) { border-top: 1px solid #e2e4e7; - margin-top: 10px; padding: 10px 0 10px; clear: both; } .edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area { margin: auto 20px; } -.edit-post-layout__content .components-editor-notices__snackbar { +.edit-post-layout .components-editor-notices__snackbar { position: fixed; right: 0; bottom: 20px; padding-left: 16px; padding-right: 16px; } -.edit-post-layout__content .components-editor-notices__snackbar { +.edit-post-layout .components-editor-notices__snackbar { /* Set left position when auto-fold is not on the body element. */ left: 0; } @media (min-width: 782px) { - .edit-post-layout__content .components-editor-notices__snackbar { + .edit-post-layout .components-editor-notices__snackbar { left: 160px; } } -.auto-fold .edit-post-layout__content .components-editor-notices__snackbar { +.auto-fold .edit-post-layout .components-editor-notices__snackbar { /* Auto fold is when on smaller breakpoints, nav menu auto collapses. */ } @media (min-width: 782px) { - .auto-fold .edit-post-layout__content .components-editor-notices__snackbar { + .auto-fold .edit-post-layout .components-editor-notices__snackbar { left: 36px; } } @media (min-width: 960px) { - .auto-fold .edit-post-layout__content .components-editor-notices__snackbar { + .auto-fold .edit-post-layout .components-editor-notices__snackbar { left: 160px; } } /* Sidebar manually collapsed. */ -.folded .edit-post-layout__content .components-editor-notices__snackbar { +.folded .edit-post-layout .components-editor-notices__snackbar { left: 0; } @media (min-width: 782px) { - .folded .edit-post-layout__content .components-editor-notices__snackbar { + .folded .edit-post-layout .components-editor-notices__snackbar { left: 36px; } } /* Mobile menu opened. */ @media (max-width: 782px) { - .auto-fold .wp-responsive-open .edit-post-layout__content .components-editor-notices__snackbar { + .auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar { left: 190px; } } /* In small screens with responsive menu expanded there is small white space. */ @media (max-width: 600px) { - .auto-fold .wp-responsive-open .edit-post-layout__content .components-editor-notices__snackbar { + .auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar { margin-left: -18px; } } -body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__snackbar { +body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { left: 0 !important; } -.edit-post-layout__content { - display: flex; - flex-direction: column; - min-height: 100%; - position: relative; - padding-bottom: 50vh; - -webkit-overflow-scrolling: touch; } - @media (min-width: 782px) { - .edit-post-layout__content { - position: fixed; - bottom: 0; - left: 0; - right: 0; - top: 88px; - min-height: calc(100% - 88px); - height: auto; - margin-left: 160px; } - body.auto-fold .edit-post-layout__content { - margin-left: 36px; } } - @media (min-width: 782px) and (min-width: 960px) { - body.auto-fold .edit-post-layout__content { - margin-left: 160px; } } - @media (min-width: 782px) { - body.folded .edit-post-layout__content { - margin-left: 36px; } - body.is-fullscreen-mode .edit-post-layout__content { - margin-left: 0 !important; - top: 56px; } } - @media (min-width: 782px) { - .has-fixed-toolbar .edit-post-layout__content { - top: 124px; } } - @media (min-width: 1080px) { - .has-fixed-toolbar .edit-post-layout__content { - top: 88px; } } - @media (min-width: 600px) { - .edit-post-layout__content { - padding-bottom: 0; } } - @media (min-width: 600px) { - .edit-post-layout__content { - overflow-y: auto; } } - @media (min-width: 600px) { - .edit-post-layout__content { - overscroll-behavior-y: none; } } - .edit-post-layout__content .edit-post-visual-editor { - flex: 1 1 auto; } - @supports ((position: -webkit-sticky) or (position: sticky)) { - .edit-post-layout__content .edit-post-visual-editor { - flex-basis: 100%; } } - .edit-post-layout__content .edit-post-layout__metaboxes { - flex-shrink: 0; } - .edit-post-layout .editor-post-publish-panel { position: fixed; z-index: 100001; @@ -475,27 +496,15 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s 100% { transform: translateX(0%); } } -.edit-post-layout .editor-post-publish-panel__header-publish-button .components-button.is-large { - height: 33px; - line-height: 32px; } - -.edit-post-layout .editor-post-publish-panel__header-publish-button .editor-post-publish-panel__spacer { - display: inline-flex; - flex: 0 1 52px; } +.edit-post-layout .editor-post-publish-panel__header-publish-button { + justify-content: center; } + .edit-post-layout .editor-post-publish-panel__header-publish-button .components-button { + height: 33px; + line-height: 32px; } .edit-post-toggle-publish-panel { - position: fixed; - top: -9999em; - bottom: auto; - left: auto; - right: 0; - z-index: 100000; - padding: 10px 10px 10px 0; - width: 280px; - background-color: #fff; } - .edit-post-toggle-publish-panel:focus { - top: auto; - bottom: 0; } + background-color: #fff; + padding: 10px 10px 10px 0; } .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button { width: auto; height: auto; @@ -530,6 +539,18 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s bottom: 10px; left: auto; } +.edit-post-layout__footer { + display: none; + z-index: 30; } + @media (min-width: 782px) { + .edit-post-layout__footer { + display: flex; + background: #fff; + height: 24px; + padding: 0 8px; + align-items: center; + font-size: 13px; } } + @media (min-width: 600px) { .edit-post-manage-blocks-modal { height: calc(100% - 56px - 56px); } } @@ -700,29 +721,18 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s clear: both; } .edit-post-sidebar { - position: fixed; - z-index: 100000; - top: 0; - right: 0; - bottom: 0; - width: 280px; - border-left: 1px solid #e2e4e7; background: #fff; color: #555d66; - height: 100vh; - overflow: hidden; } + overflow: visible; } @media (min-width: 600px) { .edit-post-sidebar { - top: 102px; - z-index: 90; - height: auto; - overflow: auto; + z-index: auto; + height: 100%; + overflow: visible; -webkit-overflow-scrolling: touch; } } @media (min-width: 782px) { .edit-post-sidebar { - top: 88px; } - body.is-fullscreen-mode .edit-post-sidebar { - top: 56px; } } + width: 280px; } } .edit-post-sidebar > .components-panel { border-left: none; border-right: none; @@ -732,11 +742,10 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s max-height: calc(100vh - 96px); margin-top: -1px; margin-bottom: -1px; - position: relative; - z-index: -2; } + position: relative; } @media (min-width: 600px) { .edit-post-sidebar > .components-panel { - overflow: hidden; + overflow: visible; height: auto; max-height: none; } } .edit-post-sidebar > .components-panel .components-panel__header { @@ -776,21 +785,6 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s bottom: 10px; left: auto; } -/* Visual and Text editor both */ -@media (min-width: 782px) { - .edit-post-layout.is-sidebar-opened .edit-post-layout__content { - margin-right: 280px; } } - -.edit-post-layout.is-sidebar-opened .edit-post-sidebar, -.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout { - /* Sidebar covers screen on mobile */ - width: 100%; - /* Sidebar sits on the side on larger breakpoints */ } - @media (min-width: 782px) { - .edit-post-layout.is-sidebar-opened .edit-post-sidebar, - .edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout { - width: 280px; } } - /* Text Editor specific */ .components-panel__header.edit-post-sidebar__header { background: #fff; @@ -857,10 +851,11 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s right: 0; left: 0; border-bottom: 3px solid transparent; } - .edit-post-sidebar__panel-tab:focus { + .edit-post-sidebar__panel-tab:focus:not(:disabled) { color: #191e23; outline-offset: -1px; - outline: 1px dotted #555d66; } + outline: 1px dotted #555d66; + box-shadow: none; } .components-panel__body.is-opened.edit-post-last-revision__panel { padding: 0; } @@ -898,11 +893,9 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s .components-button.edit-post-post-schedule__toggle { text-align: right; } -.edit-post-post-schedule__dialog .components-popover__content { - padding: 10px; } - @media (min-width: 782px) { - .edit-post-post-schedule__dialog .components-popover__content { - width: 270px; } } +.editor-post-slug__input { + margin: -5px 0; + padding: 2px; } .edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft { margin-top: 15px; @@ -943,21 +936,18 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s justify-content: flex-start; padding-left: 0; padding-right: 4px; - border-top: 0; - position: -webkit-sticky; - position: sticky; - z-index: -1; - top: 0; } + border-top: 0; } .components-panel__header.edit-post-sidebar__panel-tabs ul { display: flex; } .components-panel__header.edit-post-sidebar__panel-tabs li { margin: 0; } -.edit-post-sidebar__panel-tab { +.components-button.edit-post-sidebar__panel-tab { background: transparent; border: none; box-shadow: none; cursor: pointer; + display: inline-block; padding: 3px 15px; margin-left: 0; font-weight: 400; @@ -965,9 +955,9 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s outline-offset: -1px; transition: box-shadow 0.1s linear; } @media (prefers-reduced-motion: reduce) { - .edit-post-sidebar__panel-tab { + .components-button.edit-post-sidebar__panel-tab { transition-duration: 0s; } } - .edit-post-sidebar__panel-tab::after { + .components-button.edit-post-sidebar__panel-tab::after { content: attr(data-label); display: block; font-weight: 600; @@ -975,25 +965,25 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s overflow: hidden; speak: none; visibility: hidden; } - .edit-post-sidebar__panel-tab.is-active { + .components-button.edit-post-sidebar__panel-tab.is-active { box-shadow: inset 0 -3px #007cba; font-weight: 600; position: relative; } - body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active { + body.admin-color-sunrise .components-button.edit-post-sidebar__panel-tab.is-active { box-shadow: inset 0 -3px #837425; } - body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active { + body.admin-color-ocean .components-button.edit-post-sidebar__panel-tab.is-active { box-shadow: inset 0 -3px #5e7d5e; } - body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active { + body.admin-color-midnight .components-button.edit-post-sidebar__panel-tab.is-active { box-shadow: inset 0 -3px #497b8d; } - body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active { + body.admin-color-ectoplasm .components-button.edit-post-sidebar__panel-tab.is-active { box-shadow: inset 0 -3px #523f6d; } - body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active { + body.admin-color-coffee .components-button.edit-post-sidebar__panel-tab.is-active { box-shadow: inset 0 -3px #59524c; } - body.admin-color-blue .edit-post-sidebar__panel-tab.is-active { + body.admin-color-blue .components-button.edit-post-sidebar__panel-tab.is-active { box-shadow: inset 0 -3px #417e9B; } - body.admin-color-light .edit-post-sidebar__panel-tab.is-active { + body.admin-color-light .components-button.edit-post-sidebar__panel-tab.is-active { box-shadow: inset 0 -3px #007cba; } - .edit-post-sidebar__panel-tab.is-active::before { + .components-button.edit-post-sidebar__panel-tab.is-active::before { content: ""; position: absolute; top: 0; @@ -1001,26 +991,12 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s right: 0; left: 0; border-bottom: 3px solid transparent; } - .edit-post-sidebar__panel-tab:focus { + .components-button.edit-post-sidebar__panel-tab:focus { + background-color: transparent; color: #191e23; outline-offset: -1px; outline: 1px dotted #555d66; } -.edit-post-settings-sidebar__panel-block .components-panel__body { - border: none; - border-top: 1px solid #e2e4e7; - margin: 0 -16px; } - .edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control { - margin-bottom: 24px; } - .edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control:last-child { - margin-bottom: 8px; } - .edit-post-settings-sidebar__panel-block .components-panel__body .components-panel__body-toggle { - color: #191e23; } - .edit-post-settings-sidebar__panel-block .components-panel__body:first-child { - margin-top: 16px; } - .edit-post-settings-sidebar__panel-block .components-panel__body:last-child { - margin-bottom: -16px; } - /* Text Editor specific */ .components-panel__header.edit-post-sidebar-header__small { background: #fff; @@ -1046,28 +1022,10 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s .components-panel__header.edit-post-sidebar-header .components-icon-button { display: flex; } } -.edit-post-text-editor__body { - padding-top: 40px; } - @media (min-width: 600px) { - .edit-post-text-editor__body { - padding-top: 86px; } } - @media (min-width: 782px) { - .edit-post-text-editor__body { - padding-top: 40px; } - body.is-fullscreen-mode .edit-post-text-editor__body { - padding-top: 40px; } } - .edit-post-text-editor { + position: relative; width: 100%; - max-width: calc(100% - 32px); - margin-left: 16px; - margin-right: 16px; padding-top: 44px; } - @media (min-width: 600px) { - .edit-post-text-editor { - max-width: 610px; - margin-left: auto; - margin-right: auto; } } .edit-post-text-editor .editor-post-title__block textarea { border: 1px solid #e2e4e7; margin-bottom: 4px; @@ -1090,34 +1048,51 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s .edit-post-text-editor .editor-post-title, .edit-post-text-editor .editor-post-title__block { padding: 0; } } - .edit-post-text-editor .editor-post-text-editor { - padding: 14px; - min-height: 200px; - line-height: 1.8; } - .edit-post-text-editor .edit-post-text-editor__toolbar { - position: absolute; - top: 8px; - left: 0; - right: 0; - height: 36px; - line-height: 36px; - padding: 0 8px 0 16px; - display: flex; } - .edit-post-text-editor .edit-post-text-editor__toolbar h2 { - margin: 0 auto 0 0; - font-size: 13px; - color: #555d66; } - .edit-post-text-editor .edit-post-text-editor__toolbar .components-icon-button svg { - order: 1; } + +.edit-post-text-editor__toolbar { + position: absolute; + top: 8px; + left: 0; + right: 0; + height: 36px; + line-height: 36px; + padding: 0 8px 0 16px; + display: flex; } + .edit-post-text-editor__toolbar h2 { + margin: 0 auto 0 0; + font-size: 13px; + color: #555d66; } + .edit-post-text-editor__toolbar .components-icon-button svg { + order: 1; } + +.edit-post-text-editor__body { + max-width: calc(100% - 32px); + margin-left: 16px; + margin-right: 16px; + padding-top: 40px; } + @media (min-width: 600px) { + .edit-post-text-editor__body { + max-width: 580px; + margin-left: auto; + margin-right: auto; } } .edit-post-visual-editor { position: relative; - padding-top: 50px; } + padding-top: 50px; + flex: 1 1 auto; } .edit-post-visual-editor .components-button { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; } + @supports ((position: -webkit-sticky) or (position: sticky)) { + .edit-post-visual-editor { + flex-basis: 100%; } } + +.edit-post-visual-editor > .block-editor__typewriter, +.edit-post-visual-editor > .block-editor__typewriter > .block-editor-writing-flow, +.edit-post-visual-editor > .block-editor__typewriter > .block-editor-writing-flow > .block-editor-writing-flow__click-redirect { + height: 100%; } .edit-post-visual-editor .block-editor-writing-flow__click-redirect { - height: 50vh; + min-height: 50vh; width: 100%; } .has-metaboxes .edit-post-visual-editor .block-editor-writing-flow__click-redirect { @@ -1127,9 +1102,6 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s margin-left: auto; margin-right: auto; } @media (min-width: 600px) { - .edit-post-visual-editor .block-editor-block-list__block .block-editor-block-list__block-edit { - margin-left: -28px; - margin-right: -28px; } .edit-post-visual-editor .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar, .edit-post-visual-editor .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar { height: 0; @@ -1145,14 +1117,14 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s @media (min-width: 600px) { .edit-post-visual-editor .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar .block-editor-block-toolbar, .edit-post-visual-editor .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar .block-editor-block-toolbar { - max-width: 610px; + max-width: 580px; width: 100%; position: relative; } } @media (min-width: 600px) { .editor-post-title { - padding-left: 46px; - padding-right: 46px; } } + padding-left: 58px; + padding-right: 58px; } } .edit-post-visual-editor .editor-post-title__block { margin-left: auto; @@ -1163,8 +1135,8 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s margin-right: 0; } @media (min-width: 600px) { .edit-post-visual-editor .editor-post-title__block > div { - margin-left: -2px; - margin-right: -2px; } } + margin-left: -16px; + margin-right: -16px; } } .edit-post-visual-editor .block-editor-block-list__layout > .block-editor-block-list__block[data-align="left"]:first-child, .edit-post-visual-editor .block-editor-block-list__layout > .block-editor-block-list__block[data-align="right"]:first-child { @@ -1198,6 +1170,44 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s .edit-post-options-modal__custom-fields-confirmation-message, .edit-post-options-modal__custom-fields-confirmation-button { max-width: 300px; } } +.edit-post-welcome-guide__page { + display: flex; + flex-direction: column; + justify-content: center; + position: relative; } + @media (min-width: 600px) { + .edit-post-welcome-guide__page { + min-height: 300px; + padding-left: 344px; } } + +.edit-post-welcome-guide__heading { + font-family: "Noto Serif", serif; + font-size: 32px; + line-height: 44px; + margin: 8px 0; } + +.edit-post-welcome-guide__image { + background: #66c6e4; + border-radius: 4px; + height: 200px; + margin: 8px 0; } + @media (min-width: 600px) { + .edit-post-welcome-guide__image { + height: 300px; + left: 0; + position: absolute; + width: 320px; } } + +.edit-post-welcome-guide__text { + font-size: 16px; + line-height: 1.5; + margin: 8px 0; } + +.edit-post-welcome-guide__inserter-icon { + margin: 0 4px; + position: relative; + top: 4px; } + /** * Animations */ @@ -2179,7 +2189,7 @@ body.block-editor-page { height: 100%; } .wp-block { - max-width: 610px; } + max-width: 580px; } .wp-block[data-align="wide"] { max-width: 1100px; } .wp-block[data-align="full"] { diff --git a/wp-includes/css/dist/edit-post/style.min.css b/wp-includes/css/dist/edit-post/style.min.css index a01bcb3464..64031cfe3a 100644 --- a/wp-includes/css/dist/edit-post/style.min.css +++ b/wp-includes/css/dist/edit-post/style.min.css @@ -1 +1 @@ -@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-46px;height:calc(100% + 46px)}}@media (min-width:782px) and (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}}@media (min-width:782px){body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-left:0}body.js.is-fullscreen-mode .edit-post-header{transform:translateY(-100%);animation:edit-post-fullscreen-mode__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode .edit-post-header{animation-duration:1ms}}@keyframes edit-post-fullscreen-mode__slide-in-animation{to{transform:translateY(0)}}.edit-post-header{height:56px;padding:4px 2px;border-bottom:1px solid #e2e4e7;background:#fff;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;max-width:100vw;z-index:30;right:0}@media (min-width:280px){.edit-post-header{height:56px;top:0;position:-webkit-sticky;position:sticky;flex-wrap:nowrap}}@media (min-width:600px){.edit-post-header{position:fixed;padding:8px;top:46px}}@media (min-width:782px){.edit-post-header{top:32px}body.is-fullscreen-mode .edit-post-header{top:0}}.edit-post-header>.edit-post-header__settings{order:1}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header{left:0}@media (min-width:782px){.edit-post-header{left:160px}}@media (min-width:782px){.auto-fold .edit-post-header{left:36px}}@media (min-width:960px){.auto-fold .edit-post-header{left:160px}}.folded .edit-post-header{left:0}@media (min-width:782px){.folded .edit-post-header{left:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-header{left:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-header{margin-left:-18px}}body.is-fullscreen-mode .edit-post-header{left:0!important}.edit-post-header__toolbar{display:flex}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap}.edit-post-header .components-button.is-toggled{color:#fff;background:#555d66;margin:1px;padding:7px}.edit-post-header .components-button.is-toggled:focus,.edit-post-header .components-button.is-toggled:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff!important;color:#fff!important;background:#555d66!important}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;height:33px;line-height:32px;font-size:13px}.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px}}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 5px 2px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding:0 12px 2px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 3px 0 12px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 12px 0 3px}}.edit-post-fullscreen-mode-close__toolbar{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close__toolbar{display:flex;border-top:0;border-bottom:0;border-left:0;margin:-9px 10px -8px -10px;padding:9px 10px}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:flex}}.edit-post-header-toolbar__block-toolbar{position:absolute;top:56px;left:0;right:0;background:#fff;min-height:37px;border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{border-top:none;border-bottom:none}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;right:280px}}@media (min-width:1080px){.edit-post-header-toolbar__block-toolbar{padding-left:8px;position:static;left:auto;right:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{right:auto}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar{margin:-9px 0}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{padding:10px 4px 9px}}.edit-post-more-menu{margin-left:-4px}.edit-post-more-menu .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-left:4px}.edit-post-more-menu .components-icon-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(90deg)}.edit-post-more-menu__content .components-popover__content{min-width:260px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-post-more-menu__content{z-index:99998}.edit-post-pinned-plugins{display:none}@media (min-width:600px){.edit-post-pinned-plugins{display:flex}}.edit-post-pinned-plugins .components-icon-button{margin-left:4px}.edit-post-pinned-plugins .components-icon-button.is-toggled{margin-left:5px}.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg *{stroke:#555d66;fill:#555d66;stroke-width:0}.edit-post-pinned-plugins .components-icon-button.is-toggled:hover svg,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover svg *,.edit-post-pinned-plugins .components-icon-button.is-toggled svg,.edit-post-pinned-plugins .components-icon-button.is-toggled svg *{stroke:#fff!important;fill:#fff!important;stroke-width:0}.edit-post-pinned-plugins .components-icon-button:hover svg,.edit-post-pinned-plugins .components-icon-button:hover svg *{stroke:#191e23!important;fill:#191e23!important;stroke-width:0}.edit-post-keyboard-shortcut-help__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help__main-shortcuts .edit-post-keyboard-shortcut-help__shortcut-list{margin-top:-17px}.edit-post-keyboard-shortcut-help__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help__shortcut{display:flex;align-items:center;padding:.6rem 0;border-top:1px solid #e2e4e7;margin-bottom:0}.edit-post-keyboard-shortcut-help__shortcut:last-child{border-bottom:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut-term{font-weight:600;margin:0 0 0 1rem}.edit-post-keyboard-shortcut-help__shortcut-description{flex:1;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help__shortcut-key-combination{background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help__shortcut-key:last-child{margin:0 0 0 .2rem}.edit-post-layout,.edit-post-layout__content{height:100%}.edit-post-layout{position:relative;box-sizing:border-box}@media (min-width:600px){.edit-post-layout{padding-top:56px}}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #e2e4e7;margin-top:10px;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout__content .components-editor-notices__snackbar{position:fixed;right:0;bottom:20px;padding-left:16px;padding-right:16px;left:0}@media (min-width:782px){.edit-post-layout__content .components-editor-notices__snackbar{left:160px}}@media (min-width:782px){.auto-fold .edit-post-layout__content .components-editor-notices__snackbar{left:36px}}@media (min-width:960px){.auto-fold .edit-post-layout__content .components-editor-notices__snackbar{left:160px}}.folded .edit-post-layout__content .components-editor-notices__snackbar{left:0}@media (min-width:782px){.folded .edit-post-layout__content .components-editor-notices__snackbar{left:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-layout__content .components-editor-notices__snackbar{left:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-layout__content .components-editor-notices__snackbar{margin-left:-18px}}body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__snackbar{left:0!important}.edit-post-layout__content{display:flex;flex-direction:column;min-height:100%;position:relative;padding-bottom:50vh;-webkit-overflow-scrolling:touch}@media (min-width:782px){.edit-post-layout__content{position:fixed;bottom:0;left:0;right:0;top:88px;min-height:calc(100% - 88px);height:auto;margin-left:160px}body.auto-fold .edit-post-layout__content{margin-left:36px}}@media (min-width:782px) and (min-width:960px){body.auto-fold .edit-post-layout__content{margin-left:160px}}@media (min-width:782px){body.folded .edit-post-layout__content{margin-left:36px}body.is-fullscreen-mode .edit-post-layout__content{margin-left:0!important;top:56px}}@media (min-width:782px){.has-fixed-toolbar .edit-post-layout__content{top:124px}}@media (min-width:1080px){.has-fixed-toolbar .edit-post-layout__content{top:88px}}@media (min-width:600px){.edit-post-layout__content{padding-bottom:0;overflow-y:auto;overscroll-behavior-y:none}}.edit-post-layout__content .edit-post-visual-editor{flex:1 1 auto}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-layout__content .edit-post-visual-editor{flex-basis:100%}}.edit-post-layout__content .edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;right:0;left:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{z-index:99998;top:32px;left:auto;width:280px;border-left:1px solid #e2e4e7;transform:translateX(100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}.is-focusing-regions .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button .components-button.is-large{height:33px;line-height:32px}.edit-post-layout .editor-post-publish-panel__header-publish-button .editor-post-publish-panel__spacer{display:inline-flex;flex:0 1 52px}.edit-post-toggle-publish-panel{position:fixed;top:-9999em;bottom:auto;left:auto;right:0;z-index:100000;padding:10px 10px 10px 0;width:280px;background-color:#fff}.edit-post-toggle-publish-panel:focus{top:auto;bottom:0}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{width:auto;height:auto;display:block;font-size:14px;font-weight:600;margin:0 0 0 auto;padding:15px 23px 14px;line-height:normal;text-decoration:none;outline:none;background:#f1f1f1;color:#11a0d2}body.admin-color-sunrise .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c8b03c}body.admin-color-ocean .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#a89d8a}body.admin-color-midnight .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#77a6b9}body.admin-color-ectoplasm .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c77430}body.admin-color-coffee .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#9fa47b}body.admin-color-blue .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#d9ab59}body.admin-color-light .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c75726}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button:focus{position:fixed;top:auto;right:10px;bottom:10px;left:auto}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 112px)}}.edit-post-manage-blocks-modal .components-modal__content{padding-bottom:0;display:flex;flex-direction:column}.edit-post-manage-blocks-modal .components-modal__header{flex-shrink:0;margin-bottom:0}.edit-post-manage-blocks-modal__content{display:flex;flex-direction:column;flex:0 1 100%;min-height:0}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:12px;border-radius:4px}.edit-post-manage-blocks-modal__disabled-blocks-count{border-top:1px solid #e2e4e7;margin-left:-24px;margin-right:-24px;padding:.6rem 24px;background-color:#f3f4f5}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:-webkit-sticky;position:sticky;top:0;padding:16px 0;background-color:#fff;z-index:1}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-right:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-left:16px;border-top:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item.components-checkbox-control__input-container{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-manage-blocks-modal__checklist-item .editor-block-icon{margin-right:10px;fill:#555d66}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-left:-24px;margin-right:-24px;padding-left:24px;padding-right:24px;border-top:1px solid #e2e4e7}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{border-bottom:1px solid #e2e4e7;box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #e2e4e7;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;left:0;right:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;right:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]{border:1px solid #6c7781}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#6c7781}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:before{margin:-3px -4px}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-sidebar{position:fixed;z-index:100000;top:0;right:0;bottom:0;width:280px;border-left:1px solid #e2e4e7;background:#fff;color:#555d66;height:100vh;overflow:hidden}@media (min-width:600px){.edit-post-sidebar{top:102px;z-index:90;height:auto;overflow:auto;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{top:88px}body.is-fullscreen-mode .edit-post-sidebar{top:56px}}.edit-post-sidebar>.components-panel{border-left:none;border-right:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px;position:relative;z-index:-2}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:hidden;height:auto;max-height:none}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;left:0;right:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;left:auto;right:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar div.components-toolbar:last-child{margin-bottom:0}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .block-editor-skip-to-selected-block:focus{top:auto;right:10px;bottom:10px;left:auto}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-layout__content{margin-right:280px}}.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:100%}@media (min-width:782px){.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,.edit-post-layout.is-sidebar-opened .edit-post-sidebar{width:280px}}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-right:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:none;margin-left:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:flex}}.edit-post-sidebar__panel-tab{height:50px}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{margin:0}.edit-post-post-link__link{text-align:left;word-wrap:break-word;display:block}.edit-post-post-link__preview-link-container{direction:ltr}.edit-post-post-schedule{width:100%;position:relative}.components-button.edit-post-post-schedule__toggle{text-align:right}.edit-post-post-schedule__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-schedule__dialog .components-popover__content{width:270px}}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-left:20px}.edit-post-post-visibility__dialog-info{color:#7e8993;padding-left:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-left:0;padding-right:4px;border-top:0;position:-webkit-sticky;position:sticky;z-index:-1;top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;padding:3px 15px;margin-left:0;font-weight:400;color:#191e23;outline-offset:-1px;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.edit-post-sidebar__panel-tab{transition-duration:0s}}.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:3px solid transparent}.edit-post-sidebar__panel-tab:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66}.edit-post-settings-sidebar__panel-block .components-panel__body{border:none;border-top:1px solid #e2e4e7;margin:0 -16px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control{margin-bottom:24px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control:last-child{margin-bottom:8px}.edit-post-settings-sidebar__panel-block .components-panel__body .components-panel__body-toggle{color:#191e23}.edit-post-settings-sidebar__panel-block .components-panel__body:first-child{margin-top:16px}.edit-post-settings-sidebar__panel-block .components-panel__body:last-child{margin-bottom:-16px}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-right:4px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-right:4px;background:#f3f4f5}.components-panel__header.edit-post-sidebar-header .components-icon-button{display:none;margin-left:auto}.components-panel__header.edit-post-sidebar-header .components-icon-button~.components-icon-button{margin-left:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-icon-button{display:flex}}.edit-post-text-editor__body{padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{padding-top:86px}}@media (min-width:782px){.edit-post-text-editor__body,body.is-fullscreen-mode .edit-post-text-editor__body{padding-top:40px}}.edit-post-text-editor{width:100%;max-width:calc(100% - 32px);margin-left:16px;margin-right:16px;padding-top:44px}@media (min-width:600px){.edit-post-text-editor{max-width:610px;margin-left:auto;margin-right:auto}}.edit-post-text-editor .editor-post-title__block textarea{border:1px solid #e2e4e7;margin-bottom:4px;padding:14px}.edit-post-text-editor .editor-post-title__block textarea:focus{border:1px solid #e2e4e7}.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar).is-selected .editor-post-title__input,.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover{box-shadow:none;border-left-width:1px}.edit-post-text-editor .editor-post-title__block.is-selected textarea,.edit-post-text-editor .editor-post-title__block textarea:hover{box-shadow:0 0 0 1px #e2e4e7}.edit-post-text-editor .editor-post-permalink{margin-top:-6px;box-shadow:none;border:none;outline:1px solid #b5bcc2}@media (min-width:600px){.edit-post-text-editor .editor-post-title,.edit-post-text-editor .editor-post-title__block{padding:0}}.edit-post-text-editor .editor-post-text-editor{padding:14px;min-height:200px;line-height:1.8}.edit-post-text-editor .edit-post-text-editor__toolbar{position:absolute;top:8px;left:0;right:0;height:36px;line-height:36px;padding:0 8px 0 16px;display:flex}.edit-post-text-editor .edit-post-text-editor__toolbar h2{margin:0 auto 0 0;font-size:13px;color:#555d66}.edit-post-text-editor .edit-post-text-editor__toolbar .components-icon-button svg{order:1}.edit-post-visual-editor{position:relative;padding-top:50px}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.edit-post-visual-editor .block-editor-writing-flow__click-redirect{height:50vh;width:100%}.has-metaboxes .edit-post-visual-editor .block-editor-writing-flow__click-redirect{height:0}.edit-post-visual-editor .block-editor-block-list__block{margin-left:auto;margin-right:auto}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block .block-editor-block-list__block-edit{margin-left:-28px;margin-right:-28px}.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{height:0;width:calc(100% - 90px);margin-left:0;margin-right:0;text-align:center;float:left}}@media (min-width:600px) and (min-width:1080px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{width:calc(100% - 26px)}}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar{max-width:610px;width:100%;position:relative}}@media (min-width:600px){.editor-post-title{padding-left:46px;padding-right:46px}}.edit-post-visual-editor .editor-post-title__block{margin-left:auto;margin-right:auto;margin-bottom:32px}.edit-post-visual-editor .editor-post-title__block>div{margin-left:0;margin-right:0}@media (min-width:600px){.edit-post-visual-editor .editor-post-title__block>div{margin-left:-2px;margin-right:-2px}}.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=left]:first-child,.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=right]:first-child{margin-top:34px}.edit-post-options-modal__section{margin:0 0 2rem}.edit-post-options-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-options-modal__option{border-top:1px solid #e2e4e7}.edit-post-options-modal__option:last-child{border-bottom:1px solid #e2e4e7}.edit-post-options-modal__option .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-options-modal__option .components-checkbox-control__label{flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{margin:0 0 .6rem 48px}@media (min-width:782px){.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{margin-left:38px}}@media (min-width:600px){.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{max-width:300px}}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-left:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta){display:none}body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{left:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.components-modal__frame,.components-popover,.edit-post-header,.edit-post-sidebar,.edit-post-text-editor,.edit-post-visual-editor,.editor-post-publish-panel{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.components-popover *,.components-popover :after,.components-popover :before,.edit-post-header *,.edit-post-header :after,.edit-post-header :before,.edit-post-sidebar *,.edit-post-sidebar :after,.edit-post-sidebar :before,.edit-post-text-editor *,.edit-post-text-editor :after,.edit-post-text-editor :before,.edit-post-visual-editor *,.edit-post-visual-editor :after,.edit-post-visual-editor :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before{box-sizing:inherit}.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #7e8993;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{transition-duration:0s}}@media (min-width:600px){.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-size:13px;line-height:normal}}.components-modal__frame .input-control:focus,.components-modal__frame input[type=checkbox]:focus,.components-modal__frame input[type=color]:focus,.components-modal__frame input[type=date]:focus,.components-modal__frame input[type=datetime-local]:focus,.components-modal__frame input[type=datetime]:focus,.components-modal__frame input[type=email]:focus,.components-modal__frame input[type=month]:focus,.components-modal__frame input[type=number]:focus,.components-modal__frame input[type=password]:focus,.components-modal__frame input[type=radio]:focus,.components-modal__frame input[type=search]:focus,.components-modal__frame input[type=tel]:focus,.components-modal__frame input[type=text]:focus,.components-modal__frame input[type=time]:focus,.components-modal__frame input[type=url]:focus,.components-modal__frame input[type=week]:focus,.components-modal__frame select:focus,.components-modal__frame textarea:focus,.components-popover .input-control:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=color]:focus,.components-popover input[type=date]:focus,.components-popover input[type=datetime-local]:focus,.components-popover input[type=datetime]:focus,.components-popover input[type=email]:focus,.components-popover input[type=month]:focus,.components-popover input[type=number]:focus,.components-popover input[type=password]:focus,.components-popover input[type=radio]:focus,.components-popover input[type=search]:focus,.components-popover input[type=tel]:focus,.components-popover input[type=text]:focus,.components-popover input[type=time]:focus,.components-popover input[type=url]:focus,.components-popover input[type=week]:focus,.components-popover select:focus,.components-popover textarea:focus,.edit-post-header .input-control:focus,.edit-post-header input[type=checkbox]:focus,.edit-post-header input[type=color]:focus,.edit-post-header input[type=date]:focus,.edit-post-header input[type=datetime-local]:focus,.edit-post-header input[type=datetime]:focus,.edit-post-header input[type=email]:focus,.edit-post-header input[type=month]:focus,.edit-post-header input[type=number]:focus,.edit-post-header input[type=password]:focus,.edit-post-header input[type=radio]:focus,.edit-post-header input[type=search]:focus,.edit-post-header input[type=tel]:focus,.edit-post-header input[type=text]:focus,.edit-post-header input[type=time]:focus,.edit-post-header input[type=url]:focus,.edit-post-header input[type=week]:focus,.edit-post-header select:focus,.edit-post-header textarea:focus,.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.edit-post-text-editor .input-control:focus,.edit-post-text-editor input[type=checkbox]:focus,.edit-post-text-editor input[type=color]:focus,.edit-post-text-editor input[type=date]:focus,.edit-post-text-editor input[type=datetime-local]:focus,.edit-post-text-editor input[type=datetime]:focus,.edit-post-text-editor input[type=email]:focus,.edit-post-text-editor input[type=month]:focus,.edit-post-text-editor input[type=number]:focus,.edit-post-text-editor input[type=password]:focus,.edit-post-text-editor input[type=radio]:focus,.edit-post-text-editor input[type=search]:focus,.edit-post-text-editor input[type=tel]:focus,.edit-post-text-editor input[type=text]:focus,.edit-post-text-editor input[type=time]:focus,.edit-post-text-editor input[type=url]:focus,.edit-post-text-editor input[type=week]:focus,.edit-post-text-editor select:focus,.edit-post-text-editor textarea:focus,.edit-post-visual-editor .input-control:focus,.edit-post-visual-editor input[type=checkbox]:focus,.edit-post-visual-editor input[type=color]:focus,.edit-post-visual-editor input[type=date]:focus,.edit-post-visual-editor input[type=datetime-local]:focus,.edit-post-visual-editor input[type=datetime]:focus,.edit-post-visual-editor input[type=email]:focus,.edit-post-visual-editor input[type=month]:focus,.edit-post-visual-editor input[type=number]:focus,.edit-post-visual-editor input[type=password]:focus,.edit-post-visual-editor input[type=radio]:focus,.edit-post-visual-editor input[type=search]:focus,.edit-post-visual-editor input[type=tel]:focus,.edit-post-visual-editor input[type=text]:focus,.edit-post-visual-editor input[type=time]:focus,.edit-post-visual-editor input[type=url]:focus,.edit-post-visual-editor input[type=week]:focus,.edit-post-visual-editor select:focus,.edit-post-visual-editor textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-modal__frame input[type=number],.components-popover input[type=number],.edit-post-header input[type=number],.edit-post-sidebar input[type=number],.edit-post-text-editor input[type=number],.edit-post-visual-editor input[type=number],.editor-post-publish-panel input[type=number]{padding-left:4px;padding-right:4px}.components-modal__frame select,.components-popover select,.edit-post-header select,.edit-post-sidebar select,.edit-post-text-editor select,.edit-post-visual-editor select,.editor-post-publish-panel select{padding:2px;font-size:13px;color:#555d66}.components-modal__frame select:focus,.components-popover select:focus,.edit-post-header select:focus,.edit-post-sidebar select:focus,.edit-post-text-editor select:focus,.edit-post-visual-editor select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.components-modal__frame input[type=checkbox],.components-modal__frame input[type=radio],.components-popover input[type=checkbox],.components-popover input[type=radio],.edit-post-header input[type=checkbox],.edit-post-header input[type=radio],.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=radio],.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=radio],.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=radio],.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=radio]{border:2px solid #6c7781;margin-right:12px;transition:none}.components-modal__frame input[type=checkbox]:focus,.components-modal__frame input[type=radio]:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=radio]:focus,.edit-post-header input[type=checkbox]:focus,.edit-post-header input[type=radio]:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-text-editor input[type=checkbox]:focus,.edit-post-text-editor input[type=radio]:focus,.edit-post-visual-editor input[type=checkbox]:focus,.edit-post-visual-editor input[type=radio]:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=radio]:focus{border-color:#6c7781;box-shadow:0 0 0 1px #6c7781}.components-modal__frame input[type=checkbox]:checked,.components-modal__frame input[type=radio]:checked,.components-popover input[type=checkbox]:checked,.components-popover input[type=radio]:checked,.edit-post-header input[type=checkbox]:checked,.edit-post-header input[type=radio]:checked,.edit-post-sidebar input[type=checkbox]:checked,.edit-post-sidebar input[type=radio]:checked,.edit-post-text-editor input[type=checkbox]:checked,.edit-post-text-editor input[type=radio]:checked,.edit-post-visual-editor input[type=checkbox]:checked,.edit-post-visual-editor input[type=radio]:checked,.editor-post-publish-panel input[type=checkbox]:checked,.editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .components-modal__frame input[type=checkbox]:checked,body.admin-color-sunrise .components-modal__frame input[type=radio]:checked,body.admin-color-sunrise .components-popover input[type=checkbox]:checked,body.admin-color-sunrise .components-popover input[type=radio]:checked,body.admin-color-sunrise .edit-post-header input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-header input[type=radio]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=radio]:checked,body.admin-color-sunrise .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-text-editor input[type=radio]:checked,body.admin-color-sunrise .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-visual-editor input[type=radio]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=radio]:checked{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .components-modal__frame input[type=checkbox]:checked,body.admin-color-ocean .components-modal__frame input[type=radio]:checked,body.admin-color-ocean .components-popover input[type=checkbox]:checked,body.admin-color-ocean .components-popover input[type=radio]:checked,body.admin-color-ocean .edit-post-header input[type=checkbox]:checked,body.admin-color-ocean .edit-post-header input[type=radio]:checked,body.admin-color-ocean .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ocean .edit-post-sidebar input[type=radio]:checked,body.admin-color-ocean .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-ocean .edit-post-text-editor input[type=radio]:checked,body.admin-color-ocean .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-ocean .edit-post-visual-editor input[type=radio]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=radio]:checked{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-modal__frame input[type=checkbox]:checked,body.admin-color-midnight .components-modal__frame input[type=radio]:checked,body.admin-color-midnight .components-popover input[type=checkbox]:checked,body.admin-color-midnight .components-popover input[type=radio]:checked,body.admin-color-midnight .edit-post-header input[type=checkbox]:checked,body.admin-color-midnight .edit-post-header input[type=radio]:checked,body.admin-color-midnight .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-midnight .edit-post-sidebar input[type=radio]:checked,body.admin-color-midnight .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-midnight .edit-post-text-editor input[type=radio]:checked,body.admin-color-midnight .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-midnight .edit-post-visual-editor input[type=radio]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=radio]:checked{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .components-modal__frame input[type=checkbox]:checked,body.admin-color-ectoplasm .components-modal__frame input[type=radio]:checked,body.admin-color-ectoplasm .components-popover input[type=checkbox]:checked,body.admin-color-ectoplasm .components-popover input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-header input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-header input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-text-editor input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-visual-editor input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=radio]:checked{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-modal__frame input[type=checkbox]:checked,body.admin-color-coffee .components-modal__frame input[type=radio]:checked,body.admin-color-coffee .components-popover input[type=checkbox]:checked,body.admin-color-coffee .components-popover input[type=radio]:checked,body.admin-color-coffee .edit-post-header input[type=checkbox]:checked,body.admin-color-coffee .edit-post-header input[type=radio]:checked,body.admin-color-coffee .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-coffee .edit-post-sidebar input[type=radio]:checked,body.admin-color-coffee .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-coffee .edit-post-text-editor input[type=radio]:checked,body.admin-color-coffee .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-coffee .edit-post-visual-editor input[type=radio]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=radio]:checked{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-modal__frame input[type=checkbox]:checked,body.admin-color-blue .components-modal__frame input[type=radio]:checked,body.admin-color-blue .components-popover input[type=checkbox]:checked,body.admin-color-blue .components-popover input[type=radio]:checked,body.admin-color-blue .edit-post-header input[type=checkbox]:checked,body.admin-color-blue .edit-post-header input[type=radio]:checked,body.admin-color-blue .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-blue .edit-post-sidebar input[type=radio]:checked,body.admin-color-blue .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-blue .edit-post-text-editor input[type=radio]:checked,body.admin-color-blue .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-blue .edit-post-visual-editor input[type=radio]:checked,body.admin-color-blue .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-blue .editor-post-publish-panel input[type=radio]:checked{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .components-modal__frame input[type=checkbox]:checked,body.admin-color-light .components-modal__frame input[type=radio]:checked,body.admin-color-light .components-popover input[type=checkbox]:checked,body.admin-color-light .components-popover input[type=radio]:checked,body.admin-color-light .edit-post-header input[type=checkbox]:checked,body.admin-color-light .edit-post-header input[type=radio]:checked,body.admin-color-light .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-light .edit-post-sidebar input[type=radio]:checked,body.admin-color-light .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-light .edit-post-text-editor input[type=radio]:checked,body.admin-color-light .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-light .edit-post-visual-editor input[type=radio]:checked,body.admin-color-light .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-light .editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}.components-modal__frame input[type=checkbox]:checked:focus,.components-modal__frame input[type=radio]:checked:focus,.components-popover input[type=checkbox]:checked:focus,.components-popover input[type=radio]:checked:focus,.edit-post-header input[type=checkbox]:checked:focus,.edit-post-header input[type=radio]:checked:focus,.edit-post-sidebar input[type=checkbox]:checked:focus,.edit-post-sidebar input[type=radio]:checked:focus,.edit-post-text-editor input[type=checkbox]:checked:focus,.edit-post-text-editor input[type=radio]:checked:focus,.edit-post-visual-editor input[type=checkbox]:checked:focus,.edit-post-visual-editor input[type=radio]:checked:focus,.editor-post-publish-panel input[type=checkbox]:checked:focus,.editor-post-publish-panel input[type=radio]:checked:focus{box-shadow:0 0 0 2px #555d66}.components-modal__frame input[type=checkbox],.components-popover input[type=checkbox],.edit-post-header input[type=checkbox],.edit-post-sidebar input[type=checkbox],.edit-post-text-editor input[type=checkbox],.edit-post-visual-editor input[type=checkbox],.editor-post-publish-panel input[type=checkbox]{border-radius:2px}.components-modal__frame input[type=checkbox]:checked:before,.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox]:checked:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox]:checked:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox]:checked:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-3px -5px;color:#fff}@media (min-width:782px){.components-modal__frame input[type=checkbox]:checked:before,.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox]:checked:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox]:checked:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox]:checked:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-4px 0 0 -5px}}.components-modal__frame input[type=checkbox][aria-checked=mixed],.components-popover input[type=checkbox][aria-checked=mixed],.edit-post-header input[type=checkbox][aria-checked=mixed],.edit-post-sidebar input[type=checkbox][aria-checked=mixed],.edit-post-text-editor input[type=checkbox][aria-checked=mixed],.edit-post-visual-editor input[type=checkbox][aria-checked=mixed],.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{content:"\f460";float:left;display:inline-block;vertical-align:middle;width:16px;font:normal 30px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:782px){.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{float:none;font-size:21px}}.components-modal__frame input[type=checkbox][aria-checked=mixed]:focus,.components-popover input[type=checkbox][aria-checked=mixed]:focus,.edit-post-header input[type=checkbox][aria-checked=mixed]:focus,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:focus,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:focus,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:focus,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:focus{box-shadow:0 0 0 2px #555d66}.components-modal__frame input[type=radio],.components-popover input[type=radio],.edit-post-header input[type=radio],.edit-post-sidebar input[type=radio],.edit-post-text-editor input[type=radio],.edit-post-visual-editor input[type=radio],.editor-post-publish-panel input[type=radio]{border-radius:50%}.components-modal__frame input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-header input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.edit-post-text-editor input[type=radio]:checked:before,.edit-post-visual-editor input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{width:6px;height:6px;margin:6px 0 0 6px;background-color:#fff}@media (min-width:782px){.components-modal__frame input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-header input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.edit-post-text-editor input[type=radio]:checked:before,.edit-post-visual-editor input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{margin:3px 0 0 3px}}.components-modal__frame input::-webkit-input-placeholder,.components-modal__frame textarea::-webkit-input-placeholder,.components-popover input::-webkit-input-placeholder,.components-popover textarea::-webkit-input-placeholder,.edit-post-header input::-webkit-input-placeholder,.edit-post-header textarea::-webkit-input-placeholder,.edit-post-sidebar input::-webkit-input-placeholder,.edit-post-sidebar textarea::-webkit-input-placeholder,.edit-post-text-editor input::-webkit-input-placeholder,.edit-post-text-editor textarea::-webkit-input-placeholder,.edit-post-visual-editor input::-webkit-input-placeholder,.edit-post-visual-editor textarea::-webkit-input-placeholder,.editor-post-publish-panel input::-webkit-input-placeholder,.editor-post-publish-panel textarea::-webkit-input-placeholder{color:rgba(14,28,46,.62)}.components-modal__frame input::-moz-placeholder,.components-modal__frame textarea::-moz-placeholder,.components-popover input::-moz-placeholder,.components-popover textarea::-moz-placeholder,.edit-post-header input::-moz-placeholder,.edit-post-header textarea::-moz-placeholder,.edit-post-sidebar input::-moz-placeholder,.edit-post-sidebar textarea::-moz-placeholder,.edit-post-text-editor input::-moz-placeholder,.edit-post-text-editor textarea::-moz-placeholder,.edit-post-visual-editor input::-moz-placeholder,.edit-post-visual-editor textarea::-moz-placeholder,.editor-post-publish-panel input::-moz-placeholder,.editor-post-publish-panel textarea::-moz-placeholder{opacity:1;color:rgba(14,28,46,.62)}.components-modal__frame input:-ms-input-placeholder,.components-modal__frame textarea:-ms-input-placeholder,.components-popover input:-ms-input-placeholder,.components-popover textarea:-ms-input-placeholder,.edit-post-header input:-ms-input-placeholder,.edit-post-header textarea:-ms-input-placeholder,.edit-post-sidebar input:-ms-input-placeholder,.edit-post-sidebar textarea:-ms-input-placeholder,.edit-post-text-editor input:-ms-input-placeholder,.edit-post-text-editor textarea:-ms-input-placeholder,.edit-post-visual-editor input:-ms-input-placeholder,.edit-post-visual-editor textarea:-ms-input-placeholder,.editor-post-publish-panel input:-ms-input-placeholder,.editor-post-publish-panel textarea:-ms-input-placeholder{color:rgba(14,28,46,.62)}.is-dark-theme .components-modal__frame input::-webkit-input-placeholder,.is-dark-theme .components-modal__frame textarea::-webkit-input-placeholder,.is-dark-theme .components-popover input::-webkit-input-placeholder,.is-dark-theme .components-popover textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-header input::-webkit-input-placeholder,.is-dark-theme .edit-post-header textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-sidebar input::-webkit-input-placeholder,.is-dark-theme .edit-post-sidebar textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-text-editor input::-webkit-input-placeholder,.is-dark-theme .edit-post-text-editor textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-visual-editor input::-webkit-input-placeholder,.is-dark-theme .edit-post-visual-editor textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-publish-panel input::-webkit-input-placeholder,.is-dark-theme .editor-post-publish-panel textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-modal__frame input::-moz-placeholder,.is-dark-theme .components-modal__frame textarea::-moz-placeholder,.is-dark-theme .components-popover input::-moz-placeholder,.is-dark-theme .components-popover textarea::-moz-placeholder,.is-dark-theme .edit-post-header input::-moz-placeholder,.is-dark-theme .edit-post-header textarea::-moz-placeholder,.is-dark-theme .edit-post-sidebar input::-moz-placeholder,.is-dark-theme .edit-post-sidebar textarea::-moz-placeholder,.is-dark-theme .edit-post-text-editor input::-moz-placeholder,.is-dark-theme .edit-post-text-editor textarea::-moz-placeholder,.is-dark-theme .edit-post-visual-editor input::-moz-placeholder,.is-dark-theme .edit-post-visual-editor textarea::-moz-placeholder,.is-dark-theme .editor-post-publish-panel input::-moz-placeholder,.is-dark-theme .editor-post-publish-panel textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-modal__frame input:-ms-input-placeholder,.is-dark-theme .components-modal__frame textarea:-ms-input-placeholder,.is-dark-theme .components-popover input:-ms-input-placeholder,.is-dark-theme .components-popover textarea:-ms-input-placeholder,.is-dark-theme .edit-post-header input:-ms-input-placeholder,.is-dark-theme .edit-post-header textarea:-ms-input-placeholder,.is-dark-theme .edit-post-sidebar input:-ms-input-placeholder,.is-dark-theme .edit-post-sidebar textarea:-ms-input-placeholder,.is-dark-theme .edit-post-text-editor input:-ms-input-placeholder,.is-dark-theme .edit-post-text-editor textarea:-ms-input-placeholder,.is-dark-theme .edit-post-visual-editor input:-ms-input-placeholder,.is-dark-theme .edit-post-visual-editor textarea:-ms-input-placeholder,.is-dark-theme .editor-post-publish-panel input:-ms-input-placeholder,.is-dark-theme .editor-post-publish-panel textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@media (min-width:600px){.block-editor__container{position:absolute;top:0;right:0;bottom:0;left:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}.block-editor__container .components-navigate-regions{height:100%}.wp-block{max-width:610px}.wp-block[data-align=wide]{max-width:1100px}.wp-block[data-align=full]{max-width:none} \ No newline at end of file +html{position:fixed;width:100%}@media (min-width:782px){html{position:static;width:auto}}.edit-post-editor-regions{display:flex;flex-direction:column;height:auto;max-height:100%;position:fixed;top:46px;right:0;bottom:0}@media (min-width:782px){.edit-post-editor-regions{top:32px}.is-fullscreen-mode .edit-post-editor-regions{top:0}}.edit-post-editor-regions{left:0}@media (min-width:782px){.edit-post-editor-regions{left:160px}}@media (min-width:782px){.auto-fold .edit-post-editor-regions{left:36px}}@media (min-width:960px){.auto-fold .edit-post-editor-regions{left:160px}}.folded .edit-post-editor-regions{left:0}@media (min-width:782px){.folded .edit-post-editor-regions{left:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-editor-regions{left:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-editor-regions{margin-left:-18px}}body.is-fullscreen-mode .edit-post-editor-regions{left:0!important}.edit-post-editor-regions__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}.edit-post-editor-regions__content{flex-grow:1;display:flex;flex-direction:column}@media (min-width:782px){.edit-post-editor-regions__content{overflow:auto}}.edit-post-editor-regions__sidebar{width:auto;flex-shrink:0;position:absolute;z-index:100000;top:0;right:0;bottom:0;left:0;background:#fff}.edit-post-editor-regions__sidebar:empty{display:none}@media (min-width:782px){.edit-post-editor-regions__sidebar{overflow:auto;border-left:1px solid #e2e4e7;position:relative!important;z-index:90}}.edit-post-editor-regions__header{flex-shrink:0;height:auto;border-bottom:1px solid #e2e4e7;z-index:30;position:-webkit-sticky;position:sticky;top:0}@media (min-width:600px){.edit-post-editor-regions__header{position:static;top:0}}.edit-post-editor-regions__footer{height:auto;flex-shrink:0;overflow:auto;border-top:1px solid #e2e4e7;display:none}@media (min-width:782px){.edit-post-editor-regions__footer{display:block}}.edit-post-editor-regions__publish{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px}.edit-post-editor-regions__publish:focus{top:auto;bottom:0}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-46px;height:calc(100% + 46px)}}@media (min-width:782px) and (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}}@media (min-width:782px){body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-left:0}body.js.is-fullscreen-mode .edit-post-header{transform:translateY(-100%);animation:edit-post-fullscreen-mode__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode .edit-post-header{animation-duration:1ms}}@keyframes edit-post-fullscreen-mode__slide-in-animation{to{transform:translateY(0)}}.edit-post-header{height:56px;padding:4px 2px;background:#fff;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;max-width:100vw}@media (min-width:280px){.edit-post-header{flex-wrap:nowrap}}@media (min-width:600px){.edit-post-header{padding:8px}}.edit-post-header>.edit-post-header__settings{order:1}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header__toolbar{display:flex}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap}.edit-post-header .components-button.is-toggled{color:#fff;background:#555d66;margin:1px;padding:7px}.edit-post-header .components-button.is-toggled:focus,.edit-post-header .components-button.is-toggled:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff!important;color:#fff!important;background:#555d66!important}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;height:34px;line-height:32px;font-size:13px}.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px}}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding-left:5px;padding-right:5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding-left:12px;padding-right:12px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 3px 0 12px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 12px 0 3px}}.edit-post-fullscreen-mode-close__toolbar{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close__toolbar{display:flex;border-top:0;border-bottom:0;border-left:0;margin:-9px 10px -8px -10px;padding:9px 10px}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:flex}}.edit-post-header-toolbar__block-toolbar{position:absolute;top:57px;left:0;right:0;background:#fff;min-height:37px;border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar__block-toolbar:empty{display:none}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{border-top:none;border-bottom:none}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;right:280px}}@media (min-width:1080px){.edit-post-header-toolbar__block-toolbar{padding-left:8px;position:static;left:auto;right:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{right:auto}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar{margin:-9px 0}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{padding:10px 4px 9px}}.edit-post-more-menu{margin-left:-4px}.edit-post-more-menu .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-left:4px}.edit-post-more-menu .components-icon-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(90deg)}.edit-post-more-menu__content .components-popover__content{min-width:260px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-post-more-menu__content{z-index:99998}.edit-post-pinned-plugins{display:none}@media (min-width:600px){.edit-post-pinned-plugins{display:flex}}.edit-post-pinned-plugins .components-icon-button{margin-left:4px}.edit-post-pinned-plugins .components-icon-button.is-toggled{margin-left:5px}.edit-post-pinned-plugins .components-icon-button svg{max-width:24px;max-height:24px}.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg *{stroke:#555d66;fill:#555d66;stroke-width:0}.edit-post-pinned-plugins .components-icon-button.is-toggled:hover svg,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover svg *,.edit-post-pinned-plugins .components-icon-button.is-toggled svg,.edit-post-pinned-plugins .components-icon-button.is-toggled svg *{stroke:#fff!important;fill:#fff!important;stroke-width:0}.edit-post-pinned-plugins .components-icon-button:hover svg,.edit-post-pinned-plugins .components-icon-button:hover svg *{stroke:#191e23!important;fill:#191e23!important;stroke-width:0}.edit-post-keyboard-shortcut-help__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help__main-shortcuts .edit-post-keyboard-shortcut-help__shortcut-list{margin-top:-25px}.edit-post-keyboard-shortcut-help__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help__shortcut{display:flex;align-items:center;padding:.6rem 0;border-top:1px solid #e2e4e7;margin-bottom:0}.edit-post-keyboard-shortcut-help__shortcut:last-child{border-bottom:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut-term{font-weight:600;margin:0 0 0 1rem}.edit-post-keyboard-shortcut-help__shortcut-description{flex:1;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help__shortcut-key-combination{background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help__shortcut-key:last-child{margin:0 0 0 .2rem}.edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #e2e4e7;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout .components-editor-notices__snackbar{position:fixed;right:0;bottom:20px;padding-left:16px;padding-right:16px;left:0}@media (min-width:782px){.edit-post-layout .components-editor-notices__snackbar{left:160px}}@media (min-width:782px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{left:36px}}@media (min-width:960px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{left:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{left:0}@media (min-width:782px){.folded .edit-post-layout .components-editor-notices__snackbar{left:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar{left:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar{margin-left:-18px}}body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar{left:0!important}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;right:0;left:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{z-index:99998;top:32px;left:auto;width:280px;border-left:1px solid #e2e4e7;transform:translateX(100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}.is-focusing-regions .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button{justify-content:center}.edit-post-layout .editor-post-publish-panel__header-publish-button .components-button{height:33px;line-height:32px}.edit-post-toggle-publish-panel{background-color:#fff;padding:10px 10px 10px 0}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{width:auto;height:auto;display:block;font-size:14px;font-weight:600;margin:0 0 0 auto;padding:15px 23px 14px;line-height:normal;text-decoration:none;outline:none;background:#f1f1f1;color:#11a0d2}body.admin-color-sunrise .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c8b03c}body.admin-color-ocean .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#a89d8a}body.admin-color-midnight .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#77a6b9}body.admin-color-ectoplasm .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c77430}body.admin-color-coffee .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#9fa47b}body.admin-color-blue .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#d9ab59}body.admin-color-light .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c75726}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button:focus{position:fixed;top:auto;right:10px;bottom:10px;left:auto}.edit-post-layout__footer{display:none;z-index:30}@media (min-width:782px){.edit-post-layout__footer{display:flex;background:#fff;height:24px;padding:0 8px;align-items:center;font-size:13px}}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 112px)}}.edit-post-manage-blocks-modal .components-modal__content{padding-bottom:0;display:flex;flex-direction:column}.edit-post-manage-blocks-modal .components-modal__header{flex-shrink:0;margin-bottom:0}.edit-post-manage-blocks-modal__content{display:flex;flex-direction:column;flex:0 1 100%;min-height:0}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:12px;border-radius:4px}.edit-post-manage-blocks-modal__disabled-blocks-count{border-top:1px solid #e2e4e7;margin-left:-24px;margin-right:-24px;padding:.6rem 24px;background-color:#f3f4f5}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:-webkit-sticky;position:sticky;top:0;padding:16px 0;background-color:#fff;z-index:1}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-right:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-left:16px;border-top:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #e2e4e7}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item.components-checkbox-control__input-container{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-manage-blocks-modal__checklist-item .editor-block-icon{margin-right:10px;fill:#555d66}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-left:-24px;margin-right:-24px;padding-left:24px;padding-right:24px;border-top:1px solid #e2e4e7}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{border-bottom:1px solid #e2e4e7;box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #e2e4e7;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;left:0;right:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;right:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]{border:1px solid #6c7781}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#6c7781}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:before{margin:-3px -4px}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-sidebar{background:#fff;color:#555d66;overflow:visible}@media (min-width:600px){.edit-post-sidebar{z-index:auto;height:100%;overflow:visible;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{width:280px}}.edit-post-sidebar>.components-panel{border-left:none;border-right:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px;position:relative}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:visible;height:auto;max-height:none}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;left:0;right:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;left:auto;right:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar div.components-toolbar:last-child{margin-bottom:0}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .block-editor-skip-to-selected-block:focus{top:auto;right:10px;bottom:10px;left:auto}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-right:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:none;margin-left:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:flex}}.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;height:50px;padding:3px 15px;margin-left:0;font-weight:400;outline-offset:-1px;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.edit-post-sidebar__panel-tab{transition-duration:0s}}.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:3px solid transparent}.edit-post-sidebar__panel-tab:focus:not(:disabled){color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;box-shadow:none}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{margin:0}.edit-post-post-link__link{text-align:left;word-wrap:break-word;display:block}.edit-post-post-link__preview-link-container{direction:ltr}.edit-post-post-schedule{width:100%;position:relative}.components-button.edit-post-post-schedule__toggle{text-align:right}.editor-post-slug__input{margin:-5px 0;padding:2px}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-left:20px}.edit-post-post-visibility__dialog-info{color:#7e8993;padding-left:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-left:0;padding-right:4px;border-top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.components-button.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-left:0;font-weight:400;color:#191e23;outline-offset:-1px;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.components-button.edit-post-sidebar__panel-tab{transition-duration:0s}}.components-button.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.components-button.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:3px solid transparent}.components-button.edit-post-sidebar__panel-tab:focus{background-color:transparent;color:#191e23;outline-offset:-1px;outline:1px dotted #555d66}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-right:4px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-right:4px;background:#f3f4f5}.components-panel__header.edit-post-sidebar-header .components-icon-button{display:none;margin-left:auto}.components-panel__header.edit-post-sidebar-header .components-icon-button~.components-icon-button{margin-left:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-icon-button{display:flex}}.edit-post-text-editor{position:relative;width:100%;padding-top:44px}.edit-post-text-editor .editor-post-title__block textarea{border:1px solid #e2e4e7;margin-bottom:4px;padding:14px}.edit-post-text-editor .editor-post-title__block textarea:focus{border:1px solid #e2e4e7}.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar).is-selected .editor-post-title__input,.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover{box-shadow:none;border-left-width:1px}.edit-post-text-editor .editor-post-title__block.is-selected textarea,.edit-post-text-editor .editor-post-title__block textarea:hover{box-shadow:0 0 0 1px #e2e4e7}.edit-post-text-editor .editor-post-permalink{margin-top:-6px;box-shadow:none;border:none;outline:1px solid #b5bcc2}@media (min-width:600px){.edit-post-text-editor .editor-post-title,.edit-post-text-editor .editor-post-title__block{padding:0}}.edit-post-text-editor__toolbar{position:absolute;top:8px;left:0;right:0;height:36px;line-height:36px;padding:0 8px 0 16px;display:flex}.edit-post-text-editor__toolbar h2{margin:0 auto 0 0;font-size:13px;color:#555d66}.edit-post-text-editor__toolbar .components-icon-button svg{order:1}.edit-post-text-editor__body{max-width:calc(100% - 32px);margin-left:16px;margin-right:16px;padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{max-width:580px;margin-left:auto;margin-right:auto}}.edit-post-visual-editor{position:relative;padding-top:50px;flex:1 1 auto}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-visual-editor{flex-basis:100%}}.edit-post-visual-editor>.block-editor__typewriter,.edit-post-visual-editor>.block-editor__typewriter>.block-editor-writing-flow,.edit-post-visual-editor>.block-editor__typewriter>.block-editor-writing-flow>.block-editor-writing-flow__click-redirect{height:100%}.edit-post-visual-editor .block-editor-writing-flow__click-redirect{min-height:50vh;width:100%}.has-metaboxes .edit-post-visual-editor .block-editor-writing-flow__click-redirect{height:0}.edit-post-visual-editor .block-editor-block-list__block{margin-left:auto;margin-right:auto}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{height:0;width:calc(100% - 90px);margin-left:0;margin-right:0;text-align:center;float:left}}@media (min-width:600px) and (min-width:1080px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{width:calc(100% - 26px)}}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar{max-width:580px;width:100%;position:relative}}@media (min-width:600px){.editor-post-title{padding-left:58px;padding-right:58px}}.edit-post-visual-editor .editor-post-title__block{margin-left:auto;margin-right:auto;margin-bottom:32px}.edit-post-visual-editor .editor-post-title__block>div{margin-left:0;margin-right:0}@media (min-width:600px){.edit-post-visual-editor .editor-post-title__block>div{margin-left:-16px;margin-right:-16px}}.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=left]:first-child,.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=right]:first-child{margin-top:34px}.edit-post-options-modal__section{margin:0 0 2rem}.edit-post-options-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-options-modal__option{border-top:1px solid #e2e4e7}.edit-post-options-modal__option:last-child{border-bottom:1px solid #e2e4e7}.edit-post-options-modal__option .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-options-modal__option .components-checkbox-control__label{flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{margin:0 0 .6rem 48px}@media (min-width:782px){.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{margin-left:38px}}@media (min-width:600px){.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{max-width:300px}}.edit-post-welcome-guide__page{display:flex;flex-direction:column;justify-content:center;position:relative}@media (min-width:600px){.edit-post-welcome-guide__page{min-height:300px;padding-left:344px}}.edit-post-welcome-guide__heading{font-family:"Noto Serif",serif;font-size:32px;line-height:44px;margin:8px 0}.edit-post-welcome-guide__image{background:#66c6e4;border-radius:4px;height:200px;margin:8px 0}@media (min-width:600px){.edit-post-welcome-guide__image{height:300px;left:0;position:absolute;width:320px}}.edit-post-welcome-guide__text{font-size:16px;line-height:1.5;margin:8px 0}.edit-post-welcome-guide__inserter-icon{margin:0 4px;position:relative;top:4px}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-left:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta){display:none}body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{left:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.components-modal__frame,.components-popover,.edit-post-header,.edit-post-sidebar,.edit-post-text-editor,.edit-post-visual-editor,.editor-post-publish-panel{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.components-popover *,.components-popover :after,.components-popover :before,.edit-post-header *,.edit-post-header :after,.edit-post-header :before,.edit-post-sidebar *,.edit-post-sidebar :after,.edit-post-sidebar :before,.edit-post-text-editor *,.edit-post-text-editor :after,.edit-post-text-editor :before,.edit-post-visual-editor *,.edit-post-visual-editor :after,.edit-post-visual-editor :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before{box-sizing:inherit}.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #7e8993;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{transition-duration:0s}}@media (min-width:600px){.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-size:13px;line-height:normal}}.components-modal__frame .input-control:focus,.components-modal__frame input[type=checkbox]:focus,.components-modal__frame input[type=color]:focus,.components-modal__frame input[type=date]:focus,.components-modal__frame input[type=datetime-local]:focus,.components-modal__frame input[type=datetime]:focus,.components-modal__frame input[type=email]:focus,.components-modal__frame input[type=month]:focus,.components-modal__frame input[type=number]:focus,.components-modal__frame input[type=password]:focus,.components-modal__frame input[type=radio]:focus,.components-modal__frame input[type=search]:focus,.components-modal__frame input[type=tel]:focus,.components-modal__frame input[type=text]:focus,.components-modal__frame input[type=time]:focus,.components-modal__frame input[type=url]:focus,.components-modal__frame input[type=week]:focus,.components-modal__frame select:focus,.components-modal__frame textarea:focus,.components-popover .input-control:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=color]:focus,.components-popover input[type=date]:focus,.components-popover input[type=datetime-local]:focus,.components-popover input[type=datetime]:focus,.components-popover input[type=email]:focus,.components-popover input[type=month]:focus,.components-popover input[type=number]:focus,.components-popover input[type=password]:focus,.components-popover input[type=radio]:focus,.components-popover input[type=search]:focus,.components-popover input[type=tel]:focus,.components-popover input[type=text]:focus,.components-popover input[type=time]:focus,.components-popover input[type=url]:focus,.components-popover input[type=week]:focus,.components-popover select:focus,.components-popover textarea:focus,.edit-post-header .input-control:focus,.edit-post-header input[type=checkbox]:focus,.edit-post-header input[type=color]:focus,.edit-post-header input[type=date]:focus,.edit-post-header input[type=datetime-local]:focus,.edit-post-header input[type=datetime]:focus,.edit-post-header input[type=email]:focus,.edit-post-header input[type=month]:focus,.edit-post-header input[type=number]:focus,.edit-post-header input[type=password]:focus,.edit-post-header input[type=radio]:focus,.edit-post-header input[type=search]:focus,.edit-post-header input[type=tel]:focus,.edit-post-header input[type=text]:focus,.edit-post-header input[type=time]:focus,.edit-post-header input[type=url]:focus,.edit-post-header input[type=week]:focus,.edit-post-header select:focus,.edit-post-header textarea:focus,.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.edit-post-text-editor .input-control:focus,.edit-post-text-editor input[type=checkbox]:focus,.edit-post-text-editor input[type=color]:focus,.edit-post-text-editor input[type=date]:focus,.edit-post-text-editor input[type=datetime-local]:focus,.edit-post-text-editor input[type=datetime]:focus,.edit-post-text-editor input[type=email]:focus,.edit-post-text-editor input[type=month]:focus,.edit-post-text-editor input[type=number]:focus,.edit-post-text-editor input[type=password]:focus,.edit-post-text-editor input[type=radio]:focus,.edit-post-text-editor input[type=search]:focus,.edit-post-text-editor input[type=tel]:focus,.edit-post-text-editor input[type=text]:focus,.edit-post-text-editor input[type=time]:focus,.edit-post-text-editor input[type=url]:focus,.edit-post-text-editor input[type=week]:focus,.edit-post-text-editor select:focus,.edit-post-text-editor textarea:focus,.edit-post-visual-editor .input-control:focus,.edit-post-visual-editor input[type=checkbox]:focus,.edit-post-visual-editor input[type=color]:focus,.edit-post-visual-editor input[type=date]:focus,.edit-post-visual-editor input[type=datetime-local]:focus,.edit-post-visual-editor input[type=datetime]:focus,.edit-post-visual-editor input[type=email]:focus,.edit-post-visual-editor input[type=month]:focus,.edit-post-visual-editor input[type=number]:focus,.edit-post-visual-editor input[type=password]:focus,.edit-post-visual-editor input[type=radio]:focus,.edit-post-visual-editor input[type=search]:focus,.edit-post-visual-editor input[type=tel]:focus,.edit-post-visual-editor input[type=text]:focus,.edit-post-visual-editor input[type=time]:focus,.edit-post-visual-editor input[type=url]:focus,.edit-post-visual-editor input[type=week]:focus,.edit-post-visual-editor select:focus,.edit-post-visual-editor textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-modal__frame input[type=number],.components-popover input[type=number],.edit-post-header input[type=number],.edit-post-sidebar input[type=number],.edit-post-text-editor input[type=number],.edit-post-visual-editor input[type=number],.editor-post-publish-panel input[type=number]{padding-left:4px;padding-right:4px}.components-modal__frame select,.components-popover select,.edit-post-header select,.edit-post-sidebar select,.edit-post-text-editor select,.edit-post-visual-editor select,.editor-post-publish-panel select{padding:2px;font-size:13px;color:#555d66}.components-modal__frame select:focus,.components-popover select:focus,.edit-post-header select:focus,.edit-post-sidebar select:focus,.edit-post-text-editor select:focus,.edit-post-visual-editor select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.components-modal__frame input[type=checkbox],.components-modal__frame input[type=radio],.components-popover input[type=checkbox],.components-popover input[type=radio],.edit-post-header input[type=checkbox],.edit-post-header input[type=radio],.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=radio],.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=radio],.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=radio],.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=radio]{border:2px solid #6c7781;margin-right:12px;transition:none}.components-modal__frame input[type=checkbox]:focus,.components-modal__frame input[type=radio]:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=radio]:focus,.edit-post-header input[type=checkbox]:focus,.edit-post-header input[type=radio]:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-text-editor input[type=checkbox]:focus,.edit-post-text-editor input[type=radio]:focus,.edit-post-visual-editor input[type=checkbox]:focus,.edit-post-visual-editor input[type=radio]:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=radio]:focus{border-color:#6c7781;box-shadow:0 0 0 1px #6c7781}.components-modal__frame input[type=checkbox]:checked,.components-modal__frame input[type=radio]:checked,.components-popover input[type=checkbox]:checked,.components-popover input[type=radio]:checked,.edit-post-header input[type=checkbox]:checked,.edit-post-header input[type=radio]:checked,.edit-post-sidebar input[type=checkbox]:checked,.edit-post-sidebar input[type=radio]:checked,.edit-post-text-editor input[type=checkbox]:checked,.edit-post-text-editor input[type=radio]:checked,.edit-post-visual-editor input[type=checkbox]:checked,.edit-post-visual-editor input[type=radio]:checked,.editor-post-publish-panel input[type=checkbox]:checked,.editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .components-modal__frame input[type=checkbox]:checked,body.admin-color-sunrise .components-modal__frame input[type=radio]:checked,body.admin-color-sunrise .components-popover input[type=checkbox]:checked,body.admin-color-sunrise .components-popover input[type=radio]:checked,body.admin-color-sunrise .edit-post-header input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-header input[type=radio]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=radio]:checked,body.admin-color-sunrise .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-text-editor input[type=radio]:checked,body.admin-color-sunrise .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-visual-editor input[type=radio]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=radio]:checked{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .components-modal__frame input[type=checkbox]:checked,body.admin-color-ocean .components-modal__frame input[type=radio]:checked,body.admin-color-ocean .components-popover input[type=checkbox]:checked,body.admin-color-ocean .components-popover input[type=radio]:checked,body.admin-color-ocean .edit-post-header input[type=checkbox]:checked,body.admin-color-ocean .edit-post-header input[type=radio]:checked,body.admin-color-ocean .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ocean .edit-post-sidebar input[type=radio]:checked,body.admin-color-ocean .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-ocean .edit-post-text-editor input[type=radio]:checked,body.admin-color-ocean .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-ocean .edit-post-visual-editor input[type=radio]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=radio]:checked{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-modal__frame input[type=checkbox]:checked,body.admin-color-midnight .components-modal__frame input[type=radio]:checked,body.admin-color-midnight .components-popover input[type=checkbox]:checked,body.admin-color-midnight .components-popover input[type=radio]:checked,body.admin-color-midnight .edit-post-header input[type=checkbox]:checked,body.admin-color-midnight .edit-post-header input[type=radio]:checked,body.admin-color-midnight .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-midnight .edit-post-sidebar input[type=radio]:checked,body.admin-color-midnight .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-midnight .edit-post-text-editor input[type=radio]:checked,body.admin-color-midnight .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-midnight .edit-post-visual-editor input[type=radio]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=radio]:checked{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .components-modal__frame input[type=checkbox]:checked,body.admin-color-ectoplasm .components-modal__frame input[type=radio]:checked,body.admin-color-ectoplasm .components-popover input[type=checkbox]:checked,body.admin-color-ectoplasm .components-popover input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-header input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-header input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-text-editor input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-visual-editor input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=radio]:checked{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-modal__frame input[type=checkbox]:checked,body.admin-color-coffee .components-modal__frame input[type=radio]:checked,body.admin-color-coffee .components-popover input[type=checkbox]:checked,body.admin-color-coffee .components-popover input[type=radio]:checked,body.admin-color-coffee .edit-post-header input[type=checkbox]:checked,body.admin-color-coffee .edit-post-header input[type=radio]:checked,body.admin-color-coffee .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-coffee .edit-post-sidebar input[type=radio]:checked,body.admin-color-coffee .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-coffee .edit-post-text-editor input[type=radio]:checked,body.admin-color-coffee .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-coffee .edit-post-visual-editor input[type=radio]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=radio]:checked{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-modal__frame input[type=checkbox]:checked,body.admin-color-blue .components-modal__frame input[type=radio]:checked,body.admin-color-blue .components-popover input[type=checkbox]:checked,body.admin-color-blue .components-popover input[type=radio]:checked,body.admin-color-blue .edit-post-header input[type=checkbox]:checked,body.admin-color-blue .edit-post-header input[type=radio]:checked,body.admin-color-blue .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-blue .edit-post-sidebar input[type=radio]:checked,body.admin-color-blue .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-blue .edit-post-text-editor input[type=radio]:checked,body.admin-color-blue .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-blue .edit-post-visual-editor input[type=radio]:checked,body.admin-color-blue .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-blue .editor-post-publish-panel input[type=radio]:checked{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .components-modal__frame input[type=checkbox]:checked,body.admin-color-light .components-modal__frame input[type=radio]:checked,body.admin-color-light .components-popover input[type=checkbox]:checked,body.admin-color-light .components-popover input[type=radio]:checked,body.admin-color-light .edit-post-header input[type=checkbox]:checked,body.admin-color-light .edit-post-header input[type=radio]:checked,body.admin-color-light .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-light .edit-post-sidebar input[type=radio]:checked,body.admin-color-light .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-light .edit-post-text-editor input[type=radio]:checked,body.admin-color-light .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-light .edit-post-visual-editor input[type=radio]:checked,body.admin-color-light .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-light .editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}.components-modal__frame input[type=checkbox]:checked:focus,.components-modal__frame input[type=radio]:checked:focus,.components-popover input[type=checkbox]:checked:focus,.components-popover input[type=radio]:checked:focus,.edit-post-header input[type=checkbox]:checked:focus,.edit-post-header input[type=radio]:checked:focus,.edit-post-sidebar input[type=checkbox]:checked:focus,.edit-post-sidebar input[type=radio]:checked:focus,.edit-post-text-editor input[type=checkbox]:checked:focus,.edit-post-text-editor input[type=radio]:checked:focus,.edit-post-visual-editor input[type=checkbox]:checked:focus,.edit-post-visual-editor input[type=radio]:checked:focus,.editor-post-publish-panel input[type=checkbox]:checked:focus,.editor-post-publish-panel input[type=radio]:checked:focus{box-shadow:0 0 0 2px #555d66}.components-modal__frame input[type=checkbox],.components-popover input[type=checkbox],.edit-post-header input[type=checkbox],.edit-post-sidebar input[type=checkbox],.edit-post-text-editor input[type=checkbox],.edit-post-visual-editor input[type=checkbox],.editor-post-publish-panel input[type=checkbox]{border-radius:2px}.components-modal__frame input[type=checkbox]:checked:before,.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox]:checked:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox]:checked:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox]:checked:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-3px -5px;color:#fff}@media (min-width:782px){.components-modal__frame input[type=checkbox]:checked:before,.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox]:checked:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox]:checked:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox]:checked:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-4px 0 0 -5px}}.components-modal__frame input[type=checkbox][aria-checked=mixed],.components-popover input[type=checkbox][aria-checked=mixed],.edit-post-header input[type=checkbox][aria-checked=mixed],.edit-post-sidebar input[type=checkbox][aria-checked=mixed],.edit-post-text-editor input[type=checkbox][aria-checked=mixed],.edit-post-visual-editor input[type=checkbox][aria-checked=mixed],.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{content:"\f460";float:left;display:inline-block;vertical-align:middle;width:16px;font:normal 30px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:782px){.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{float:none;font-size:21px}}.components-modal__frame input[type=checkbox][aria-checked=mixed]:focus,.components-popover input[type=checkbox][aria-checked=mixed]:focus,.edit-post-header input[type=checkbox][aria-checked=mixed]:focus,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:focus,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:focus,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:focus,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:focus{box-shadow:0 0 0 2px #555d66}.components-modal__frame input[type=radio],.components-popover input[type=radio],.edit-post-header input[type=radio],.edit-post-sidebar input[type=radio],.edit-post-text-editor input[type=radio],.edit-post-visual-editor input[type=radio],.editor-post-publish-panel input[type=radio]{border-radius:50%}.components-modal__frame input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-header input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.edit-post-text-editor input[type=radio]:checked:before,.edit-post-visual-editor input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{width:6px;height:6px;margin:6px 0 0 6px;background-color:#fff}@media (min-width:782px){.components-modal__frame input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-header input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.edit-post-text-editor input[type=radio]:checked:before,.edit-post-visual-editor input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{margin:3px 0 0 3px}}.components-modal__frame input::-webkit-input-placeholder,.components-modal__frame textarea::-webkit-input-placeholder,.components-popover input::-webkit-input-placeholder,.components-popover textarea::-webkit-input-placeholder,.edit-post-header input::-webkit-input-placeholder,.edit-post-header textarea::-webkit-input-placeholder,.edit-post-sidebar input::-webkit-input-placeholder,.edit-post-sidebar textarea::-webkit-input-placeholder,.edit-post-text-editor input::-webkit-input-placeholder,.edit-post-text-editor textarea::-webkit-input-placeholder,.edit-post-visual-editor input::-webkit-input-placeholder,.edit-post-visual-editor textarea::-webkit-input-placeholder,.editor-post-publish-panel input::-webkit-input-placeholder,.editor-post-publish-panel textarea::-webkit-input-placeholder{color:rgba(14,28,46,.62)}.components-modal__frame input::-moz-placeholder,.components-modal__frame textarea::-moz-placeholder,.components-popover input::-moz-placeholder,.components-popover textarea::-moz-placeholder,.edit-post-header input::-moz-placeholder,.edit-post-header textarea::-moz-placeholder,.edit-post-sidebar input::-moz-placeholder,.edit-post-sidebar textarea::-moz-placeholder,.edit-post-text-editor input::-moz-placeholder,.edit-post-text-editor textarea::-moz-placeholder,.edit-post-visual-editor input::-moz-placeholder,.edit-post-visual-editor textarea::-moz-placeholder,.editor-post-publish-panel input::-moz-placeholder,.editor-post-publish-panel textarea::-moz-placeholder{opacity:1;color:rgba(14,28,46,.62)}.components-modal__frame input:-ms-input-placeholder,.components-modal__frame textarea:-ms-input-placeholder,.components-popover input:-ms-input-placeholder,.components-popover textarea:-ms-input-placeholder,.edit-post-header input:-ms-input-placeholder,.edit-post-header textarea:-ms-input-placeholder,.edit-post-sidebar input:-ms-input-placeholder,.edit-post-sidebar textarea:-ms-input-placeholder,.edit-post-text-editor input:-ms-input-placeholder,.edit-post-text-editor textarea:-ms-input-placeholder,.edit-post-visual-editor input:-ms-input-placeholder,.edit-post-visual-editor textarea:-ms-input-placeholder,.editor-post-publish-panel input:-ms-input-placeholder,.editor-post-publish-panel textarea:-ms-input-placeholder{color:rgba(14,28,46,.62)}.is-dark-theme .components-modal__frame input::-webkit-input-placeholder,.is-dark-theme .components-modal__frame textarea::-webkit-input-placeholder,.is-dark-theme .components-popover input::-webkit-input-placeholder,.is-dark-theme .components-popover textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-header input::-webkit-input-placeholder,.is-dark-theme .edit-post-header textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-sidebar input::-webkit-input-placeholder,.is-dark-theme .edit-post-sidebar textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-text-editor input::-webkit-input-placeholder,.is-dark-theme .edit-post-text-editor textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-visual-editor input::-webkit-input-placeholder,.is-dark-theme .edit-post-visual-editor textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-publish-panel input::-webkit-input-placeholder,.is-dark-theme .editor-post-publish-panel textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-modal__frame input::-moz-placeholder,.is-dark-theme .components-modal__frame textarea::-moz-placeholder,.is-dark-theme .components-popover input::-moz-placeholder,.is-dark-theme .components-popover textarea::-moz-placeholder,.is-dark-theme .edit-post-header input::-moz-placeholder,.is-dark-theme .edit-post-header textarea::-moz-placeholder,.is-dark-theme .edit-post-sidebar input::-moz-placeholder,.is-dark-theme .edit-post-sidebar textarea::-moz-placeholder,.is-dark-theme .edit-post-text-editor input::-moz-placeholder,.is-dark-theme .edit-post-text-editor textarea::-moz-placeholder,.is-dark-theme .edit-post-visual-editor input::-moz-placeholder,.is-dark-theme .edit-post-visual-editor textarea::-moz-placeholder,.is-dark-theme .editor-post-publish-panel input::-moz-placeholder,.is-dark-theme .editor-post-publish-panel textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-modal__frame input:-ms-input-placeholder,.is-dark-theme .components-modal__frame textarea:-ms-input-placeholder,.is-dark-theme .components-popover input:-ms-input-placeholder,.is-dark-theme .components-popover textarea:-ms-input-placeholder,.is-dark-theme .edit-post-header input:-ms-input-placeholder,.is-dark-theme .edit-post-header textarea:-ms-input-placeholder,.is-dark-theme .edit-post-sidebar input:-ms-input-placeholder,.is-dark-theme .edit-post-sidebar textarea:-ms-input-placeholder,.is-dark-theme .edit-post-text-editor input:-ms-input-placeholder,.is-dark-theme .edit-post-text-editor textarea:-ms-input-placeholder,.is-dark-theme .edit-post-visual-editor input:-ms-input-placeholder,.is-dark-theme .edit-post-visual-editor textarea:-ms-input-placeholder,.is-dark-theme .editor-post-publish-panel input:-ms-input-placeholder,.is-dark-theme .editor-post-publish-panel textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@media (min-width:600px){.block-editor__container{position:absolute;top:0;right:0;bottom:0;left:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}.block-editor__container .components-navigate-regions{height:100%}.wp-block{max-width:580px}.wp-block[data-align=wide]{max-width:1100px}.wp-block[data-align=full]{max-width:none} \ No newline at end of file diff --git a/wp-includes/css/dist/editor/editor-styles-rtl.css b/wp-includes/css/dist/editor/editor-styles-rtl.css index b17b8e4920..c19e8bcba0 100644 --- a/wp-includes/css/dist/editor/editor-styles-rtl.css +++ b/wp-includes/css/dist/editor/editor-styles-rtl.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -121,7 +118,9 @@ p { ul, ol { margin-bottom: 28px; - padding: inherit; } + padding: inherit; + padding-right: 1.3em; + margin-right: 1.3em; } ul ul, ul ol, ol ul, diff --git a/wp-includes/css/dist/editor/editor-styles-rtl.min.css b/wp-includes/css/dist/editor/editor-styles-rtl.min.css index d087eb480c..5d2d764077 100644 --- a/wp-includes/css/dist/editor/editor-styles-rtl.min.css +++ b/wp-includes/css/dist/editor/editor-styles-rtl.min.css @@ -1 +1 @@ -body{font-family:"Noto Serif",serif;font-size:16px;line-height:1.8;color:#191e23}h1{font-size:2.44em}h2{font-size:1.95em}h3{font-size:1.56em}h4{font-size:1.25em}h5{font-size:1em}h6{font-size:.8em}h1,h2,h3{line-height:1.4}h4{line-height:1.5}h1{margin-top:.67em;margin-bottom:.67em}h2{margin-top:.83em;margin-bottom:.83em}h3{margin-top:1em;margin-bottom:1em}h4{margin-top:1.33em;margin-bottom:1.33em}h5{margin-top:1.67em;margin-bottom:1.67em}h6{margin-top:2.33em;margin-bottom:2.33em}h1,h2,h3,h4,h5,h6{color:inherit}p{font-size:inherit;line-height:inherit;margin-top:28px}ol,p,ul{margin-bottom:28px}ol,ul{padding:inherit}ol li,ol ol,ol ul,ul li,ul ol,ul ul{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle} \ No newline at end of file +body{font-family:"Noto Serif",serif;font-size:16px;line-height:1.8;color:#191e23}h1{font-size:2.44em}h2{font-size:1.95em}h3{font-size:1.56em}h4{font-size:1.25em}h5{font-size:1em}h6{font-size:.8em}h1,h2,h3{line-height:1.4}h4{line-height:1.5}h1{margin-top:.67em;margin-bottom:.67em}h2{margin-top:.83em;margin-bottom:.83em}h3{margin-top:1em;margin-bottom:1em}h4{margin-top:1.33em;margin-bottom:1.33em}h5{margin-top:1.67em;margin-bottom:1.67em}h6{margin-top:2.33em;margin-bottom:2.33em}h1,h2,h3,h4,h5,h6{color:inherit}p{font-size:inherit;line-height:inherit;margin-top:28px}ol,p,ul{margin-bottom:28px}ol,ul{padding:inherit;padding-right:1.3em;margin-right:1.3em}ol li,ol ol,ol ul,ul li,ul ol,ul ul{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle} \ No newline at end of file diff --git a/wp-includes/css/dist/editor/editor-styles.css b/wp-includes/css/dist/editor/editor-styles.css index b17b8e4920..6ec1d4dd2f 100644 --- a/wp-includes/css/dist/editor/editor-styles.css +++ b/wp-includes/css/dist/editor/editor-styles.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -121,7 +118,9 @@ p { ul, ol { margin-bottom: 28px; - padding: inherit; } + padding: inherit; + padding-left: 1.3em; + margin-left: 1.3em; } ul ul, ul ol, ol ul, diff --git a/wp-includes/css/dist/editor/editor-styles.min.css b/wp-includes/css/dist/editor/editor-styles.min.css index d087eb480c..2a7e1cb141 100644 --- a/wp-includes/css/dist/editor/editor-styles.min.css +++ b/wp-includes/css/dist/editor/editor-styles.min.css @@ -1 +1 @@ -body{font-family:"Noto Serif",serif;font-size:16px;line-height:1.8;color:#191e23}h1{font-size:2.44em}h2{font-size:1.95em}h3{font-size:1.56em}h4{font-size:1.25em}h5{font-size:1em}h6{font-size:.8em}h1,h2,h3{line-height:1.4}h4{line-height:1.5}h1{margin-top:.67em;margin-bottom:.67em}h2{margin-top:.83em;margin-bottom:.83em}h3{margin-top:1em;margin-bottom:1em}h4{margin-top:1.33em;margin-bottom:1.33em}h5{margin-top:1.67em;margin-bottom:1.67em}h6{margin-top:2.33em;margin-bottom:2.33em}h1,h2,h3,h4,h5,h6{color:inherit}p{font-size:inherit;line-height:inherit;margin-top:28px}ol,p,ul{margin-bottom:28px}ol,ul{padding:inherit}ol li,ol ol,ol ul,ul li,ul ol,ul ul{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle} \ No newline at end of file +body{font-family:"Noto Serif",serif;font-size:16px;line-height:1.8;color:#191e23}h1{font-size:2.44em}h2{font-size:1.95em}h3{font-size:1.56em}h4{font-size:1.25em}h5{font-size:1em}h6{font-size:.8em}h1,h2,h3{line-height:1.4}h4{line-height:1.5}h1{margin-top:.67em;margin-bottom:.67em}h2{margin-top:.83em;margin-bottom:.83em}h3{margin-top:1em;margin-bottom:1em}h4{margin-top:1.33em;margin-bottom:1.33em}h5{margin-top:1.67em;margin-bottom:1.67em}h6{margin-top:2.33em;margin-bottom:2.33em}h1,h2,h3,h4,h5,h6{color:inherit}p{font-size:inherit;line-height:inherit;margin-top:28px}ol,p,ul{margin-bottom:28px}ol,ul{padding:inherit;padding-left:1.3em;margin-left:1.3em}ol li,ol ol,ol ul,ul li,ul ol,ul ul{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle} \ No newline at end of file diff --git a/wp-includes/css/dist/editor/style-rtl.css b/wp-includes/css/dist/editor/style-rtl.css index fa6664b399..b6a143763e 100644 --- a/wp-includes/css/dist/editor/style-rtl.css +++ b/wp-includes/css/dist/editor/style-rtl.css @@ -23,9 +23,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -147,7 +144,8 @@ .components-editor-notices__dismissible .components-notice, .components-editor-notices__pinned .components-notice { box-sizing: border-box; - margin: 0 0 5px; + margin: 0; + border-bottom: 1px solid rgba(0, 0, 0, 0.2); padding: 6px 12px; min-height: 60px; } .components-editor-notices__dismissible .components-notice .components-notice__dismiss, @@ -185,8 +183,15 @@ .editor-post-featured-image { padding: 0; } + .editor-post-featured-image__container { + margin-bottom: 1em; + position: relative; } .editor-post-featured-image .components-spinner { - margin: 0; } + position: absolute; + top: 50%; + right: 50%; + margin-top: -9px; + margin-right: -9px; } .editor-post-featured-image .components-button + .components-button { display: block; margin-top: 1em; } @@ -212,6 +217,7 @@ .editor-post-featured-image__toggle { border: 1px dashed #a2aab2; background-color: #edeff0; + min-height: 90px; line-height: 20px; padding: 8px 0; text-align: center; } @@ -392,8 +398,7 @@ width: 20%; height: auto; } .editor-post-publish-panel { - background: #fff; - color: #555d66; } + background: #fff; } .editor-post-publish-panel__content { min-height: calc(100% - 140px); } @@ -404,12 +409,16 @@ .editor-post-publish-panel__header { background: #fff; - padding-right: 16px; + padding-right: 8px; + padding-left: 8px; height: 56px; border-bottom: 1px solid #e2e4e7; display: flex; align-items: center; align-content: space-between; } + .editor-post-publish-panel__header .components-icon-button { + position: absolute; + left: 8px; } .editor-post-publish-panel__header-publish-button { display: flex; @@ -446,6 +455,8 @@ margin-left: -16px; } .editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend { display: none; } + .editor-post-publish-panel__prepublish .components-datetime { + padding: 0; } .post-publish-panel__postpublish .components-panel__body { border-bottom: 1px solid #e2e4e7; @@ -694,10 +705,6 @@ body.admin-color-light .editor-post-text-editor__link{ box-shadow: 3px 0 0 0 #555d66; } .is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input { box-shadow: 3px 0 0 0 #d7dade; } } - .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover { - box-shadow: 3px 0 0 0 rgba(145, 151, 162, 0.25); } - .is-dark-theme .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover { - box-shadow: 3px 0 0 0 rgba(255, 255, 255, 0.25); } .editor-post-title__block.is-focus-mode .editor-post-title__input { opacity: 0.5; transition: opacity 0.1s linear; } @@ -736,7 +743,7 @@ body.admin-color-light .editor-post-text-editor__link{ color: #a02222; border-color: #a02222; } -.table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content { +.table-of-contents__popover.components-popover .components-popover__content { min-width: 380px; } .components-popover.table-of-contents__popover { diff --git a/wp-includes/css/dist/editor/style-rtl.min.css b/wp-includes/css/dist/editor/style-rtl.min.css index d3f0e3637c..c28d10ad56 100644 --- a/wp-includes/css/dist/editor/style-rtl.min.css +++ b/wp-includes/css/dist/editor/style-rtl.min.css @@ -1 +1 @@ -@charset "UTF-8";.editor-autocompleters__block .editor-block-icon{margin-left:8px}.editor-autocompleters__user .editor-autocompleters__user-avatar{margin-left:8px;flex-grow:0;flex-shrink:0;max-width:none;width:24px;height:24px}.editor-autocompleters__user .editor-autocompleters__user-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:200px;flex-shrink:0;flex-grow:1}.editor-autocompleters__user .editor-autocompleters__user-slug{margin-right:8px;color:#8f98a1;white-space:nowrap;text-overflow:ellipsis;overflow:none;max-width:100px;flex-grow:0;flex-shrink:0}.editor-autocompleters__user:hover .editor-autocompleters__user-slug{color:#66c6e4}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.document-outline__item a{text-decoration:none}.document-outline__item .document-outline__emdash:before{color:#e2e4e7;margin-left:4px}.document-outline__item.is-h2 .document-outline__emdash:before{content:"—"}.document-outline__item.is-h3 .document-outline__emdash:before{content:"——"}.document-outline__item.is-h4 .document-outline__emdash:before{content:"———"}.document-outline__item.is-h5 .document-outline__emdash:before{content:"————"}.document-outline__item.is-h6 .document-outline__emdash:before{content:"—————"}.document-outline__button{cursor:pointer;background:none;border:none;display:flex;align-items:flex-start;margin:0 -1px 0 0;padding:2px 1px 2px 5px;color:#23282d;text-align:right}.document-outline__button:disabled{cursor:default}.document-outline__button:focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.document-outline__level{background:#e2e4e7;color:#23282d;border-radius:3px;font-size:13px;padding:1px 6px;margin-left:4px}.is-invalid .document-outline__level{background:#f0b849}.document-outline__item-content{padding:1px 0}.components-editor-notices__dismissible{position:-webkit-sticky;position:sticky;top:56px;left:0;color:#191e23}@media (min-width:600px){.components-editor-notices__dismissible{top:0}}.components-editor-notices__pinned{position:relative;right:0;top:0;left:0;color:#191e23}.components-editor-notices__dismissible .components-notice,.components-editor-notices__pinned .components-notice{box-sizing:border-box;margin:0 0 5px;padding:6px 12px;min-height:60px}.components-editor-notices__dismissible .components-notice .components-notice__dismiss,.components-editor-notices__pinned .components-notice .components-notice__dismiss{margin:6px 5px 6px -5px}.components-editor-notices__snackbar{width:100%}.editor-error-boundary{max-width:780px;padding:20px;margin:60px auto auto;box-shadow:0 3px 30px rgba(25,30,35,.2)}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__order,.editor-page-attributes__template label,.editor-page-attributes__template select{width:100%}.editor-page-attributes__order .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.editor-page-attributes__order input{width:66px}.editor-post-excerpt__textarea{width:100%;margin-bottom:10px}.editor-post-featured-image{padding:0}.editor-post-featured-image .components-spinner{margin:0}.editor-post-featured-image .components-button+.components-button{display:block;margin-top:1em}.editor-post-featured-image .components-responsive-wrapper__content{max-width:100%;width:auto}.editor-post-featured-image__preview,.editor-post-featured-image__toggle{display:block;width:100%;padding:0;transition:all .1s ease-out;box-shadow:0 0 0 0 #00a0d2}@media (prefers-reduced-motion:reduce){.editor-post-featured-image__preview,.editor-post-featured-image__toggle{transition-duration:0s}}.editor-post-featured-image__preview:not(:disabled):not([aria-disabled=true]):focus{box-shadow:0 0 0 4px #00a0d2}.editor-post-featured-image__toggle{border:1px dashed #a2aab2;background-color:#edeff0;line-height:20px;padding:8px 0;text-align:center}.editor-post-featured-image__toggle:hover{background-color:#f8f9f9}.editor-post-format{flex-direction:column;align-items:stretch;width:100%}.editor-post-format__content{display:inline-flex;justify-content:space-between;align-items:center;width:100%}.editor-post-format__suggestion{text-align:left;font-size:13px}.editor-post-last-revision__title{width:100%;font-weight:600}.editor-post-last-revision__title .dashicon{margin-left:5px}.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:active,.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:hover{border:none;box-shadow:none}.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-post-locked-modal{height:auto;padding-left:10px;padding-right:10px;padding-top:10px;max-width:480px}.editor-post-locked-modal .components-modal__header{height:36px}.editor-post-locked-modal .components-modal__content{height:auto}.editor-post-locked-modal__buttons{margin-top:10px}.editor-post-locked-modal__buttons .components-button{margin-left:5px}.editor-post-locked-modal__avatar{float:right;margin:5px 5px 5px 15px}.editor-post-permalink{display:inline-flex;align-items:center;flex-wrap:wrap;background:#fff;padding:8px 8px 0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;height:40px;white-space:nowrap;border:1px solid #b5bcc2;background-clip:padding-box;border-right:0;box-shadow:3px 0 0 0 #555d66;outline:1px solid transparent;margin-right:-15px;margin-left:-15px}.is-dark-theme .editor-post-permalink{box-shadow:3px 0 0 0 #d7dade}@media (min-width:480px){.editor-post-permalink{padding:4px}}@media (min-width:600px){.editor-post-permalink{margin-right:-1px;margin-left:-1px}}.editor-post-permalink.editor-post-permalink>*{margin-bottom:8px}@media (min-width:480px){.editor-post-permalink.editor-post-permalink>*{margin-bottom:0}}.editor-post-permalink button{flex-shrink:0}.editor-post-permalink__copy{border-radius:4px;padding:6px}.editor-post-permalink__copy.is-copied{opacity:.3}.editor-post-permalink__label{margin:0 5px 0 10px;font-weight:600}.editor-post-permalink__link{color:#7e8993;text-decoration:underline;margin-left:10px;flex-grow:1;overflow:hidden;position:relative;white-space:nowrap;text-align:right}.editor-post-permalink-editor{width:100%;min-width:20%;display:inline-flex;align-items:center}.editor-post-permalink-editor .editor-post-permalink__editor-container{flex:0 1 100%;display:flex;overflow:hidden;padding:1px 0}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 1 auto}@media (min-width:600px){.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 0 auto}}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__edit{flex:1 1 100%}.editor-post-permalink-editor .editor-post-permalink-editor__save{margin-right:auto}.editor-post-permalink-editor__prefix{color:#6c7781;min-width:20%;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis}.editor-post-permalink input[type=text].editor-post-permalink-editor__edit{min-width:10%;width:100%;margin:0 3px;padding:2px 4px}.editor-post-permalink-editor__suffix{color:#6c7781;margin-left:6px;flex:0 0 0%}.editor-post-permalink-editor__prefix{text-align:right}.editor-post-permalink__link{text-align:left}.editor-post-permalink__editor-container,.editor-post-permalink__link{direction:ltr}.editor-post-permalink__link:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);top:0;bottom:0;right:0;left:auto;width:20%;height:auto}.editor-post-publish-panel{background:#fff;color:#555d66}.editor-post-publish-panel__content{min-height:calc(100% - 140px)}.editor-post-publish-panel__content .components-spinner{display:block;float:none;margin:100px auto 0}.editor-post-publish-panel__header{background:#fff;padding-right:16px;height:56px;border-bottom:1px solid #e2e4e7;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header-publish-button{display:flex;justify-content:flex-end;flex-grow:1;text-align:left;flex-wrap:nowrap}.editor-post-publish-panel__header-published{flex-grow:1}.editor-post-publish-panel__footer{padding:16px}.components-button.editor-post-publish-panel__toggle.is-primary{display:inline-flex;align-items:center}.components-button.editor-post-publish-panel__toggle.is-primary.is-busy .dashicon{display:none}.components-button.editor-post-publish-panel__toggle.is-primary .dashicon{margin-left:-4px}.editor-post-publish-panel__link{font-weight:400;padding-right:4px}.editor-post-publish-panel__prepublish{padding:16px}.editor-post-publish-panel__prepublish strong{color:#191e23}.editor-post-publish-panel__prepublish .components-panel__body{background:#fff;margin-right:-16px;margin-left:-16px}.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend{display:none}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e2e4e7;border-top:none}.post-publish-panel__postpublish-buttons{display:flex;align-content:space-between;flex-wrap:wrap;margin:-5px}.post-publish-panel__postpublish-buttons>*{flex-grow:1;margin:5px}.post-publish-panel__postpublish-buttons .components-button{height:auto;justify-content:center;padding:3px 10px 4px;line-height:1.6;text-align:center;white-space:normal}.post-publish-panel__postpublish-buttons .components-clipboard-button{width:100%}.post-publish-panel__postpublish-post-address{margin-bottom:16px}.post-publish-panel__postpublish-post-address input[readonly]{padding:10px;background:#e8eaeb;overflow:hidden;text-overflow:ellipsis}.post-publish-panel__postpublish-header{font-weight:500}.post-publish-panel__postpublish-subheader{margin:0 0 8px}.post-publish-panel__tip{color:#f0b849}.editor-post-saved-state{display:flex;align-items:center;width:28px;padding:12px 4px;color:#555d66;overflow:hidden;white-space:nowrap}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto;margin-left:8px}@media (min-width:600px){.editor-post-saved-state{width:auto;padding:8px 12px;text-indent:inherit}.editor-post-saved-state .dashicon{margin-left:4px}}.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft{margin:0}.editor-post-taxonomies__hierarchical-terms-list{max-height:14em;overflow:auto;padding-right:2px}.editor-post-taxonomies__hierarchical-terms-choice{margin-bottom:8px}.editor-post-taxonomies__hierarchical-terms-subchoices{margin-top:8px;margin-right:16px}.components-button.editor-post-taxonomies__hierarchical-terms-add,.components-button.editor-post-taxonomies__hierarchical-terms-submit{margin-top:12px}.editor-post-taxonomies__hierarchical-terms-label{display:inline-block;margin-top:12px}.editor-post-taxonomies__hierarchical-terms-input{margin-top:8px;width:100%}.editor-post-taxonomies__hierarchical-terms-filter{margin-bottom:8px;width:100%}.editor-post-text-editor{border:1px solid #e2e4e7!important;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace!important;line-height:150%;border-radius:0!important;font-size:16px!important}@media (min-width:600px){.editor-post-text-editor{font-size:14px!important}}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #b5bcc2!important;box-shadow:none!important;outline-offset:-2px!important}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:none;padding:0 8px;margin:3px 4px;text-align:center;cursor:pointer;font-family:Menlo,Consolas,monaco,monospace;color:#555d66;border:1px solid transparent}.editor-post-text-editor__toolbar button:first-child{margin-right:0}.editor-post-text-editor__toolbar button:focus,.editor-post-text-editor__toolbar button:hover{outline:none;border:1px solid #555d66}.editor-post-text-editor__bold{font-weight:600}.editor-post-text-editor__italic{font-style:italic}.editor-post-text-editor__link{text-decoration:underline;color:#0085ba}body.admin-color-sunrise .editor-post-text-editor__link{color:#d1864a}body.admin-color-ocean .editor-post-text-editor__link{color:#a3b9a2}body.admin-color-midnight .editor-post-text-editor__link{color:#e14d43}body.admin-color-ectoplasm .editor-post-text-editor__link{color:#a7b656}body.admin-color-coffee .editor-post-text-editor__link{color:#c2a68c}body.admin-color-blue .editor-post-text-editor__link{color:#82b4cb}body.admin-color-light .editor-post-text-editor__link{color:#0085ba}.editor-post-text-editor__del{text-decoration:line-through}.edit-post-post-visibility__dialog,.editor-post-visibility__dialog-fieldset{padding:0 4px 4px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-legend,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-legend{font-weight:600;margin-bottom:1em;margin-top:.5em;padding:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio{margin-top:2px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-label{font-weight:600}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-info,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-info{margin-top:0;margin-right:28px}.edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info,.editor-post-visibility__dialog-fieldset .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info{margin-bottom:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input{margin-right:28px}.editor-post-title__block{position:relative;padding:5px 0;font-size:16px}@media (min-width:600px){.editor-post-title__block{padding:5px 2px}}.editor-post-title__block .editor-post-title__input{display:block;width:100%;margin:0;box-shadow:none;background:transparent;font-family:"Noto Serif",serif;line-height:1.4;color:#191e23;transition:border .1s ease-out,box-shadow .1s linear;padding:19px 14px;word-break:keep-all;border-color:transparent;border-style:solid;border-width:1px 0;border-radius:0;outline:1px solid transparent;font-size:2.44em;font-weight:600}@media (prefers-reduced-motion:reduce){.editor-post-title__block .editor-post-title__input{transition-duration:0s}}@media (min-width:600px){.editor-post-title__block .editor-post-title__input{border-width:1px 0 1px 1px}}.editor-post-title__block .editor-post-title__input::-webkit-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input::-moz-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:-ms-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:focus{border:1px solid transparent;border-right-width:0;outline:1px solid transparent;box-shadow:none}.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(66,88,99,.4);box-shadow:inset -3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:hsla(0,0%,100%,.45);box-shadow:inset -3px 0 0 0 #d7dade}@media (min-width:600px){.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:3px 0 0 0 #d7dade}}.editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover{box-shadow:3px 0 0 0 rgba(145,151,162,.25)}.is-dark-theme .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover{box-shadow:3px 0 0 0 hsla(0,0%,100%,.25)}.editor-post-title__block.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.editor-post-title__block.is-focus-mode .editor-post-title__input{transition-duration:0s}}.editor-post-title__block.is-focus-mode .editor-post-title__input:focus{opacity:1}.editor-post-title .editor-post-permalink{font-size:13px;color:#191e23;height:auto;position:relative;right:3px;top:-2px;width:calc(100% - 3px)}@media (min-width:480px){.editor-post-title .editor-post-permalink{position:absolute;top:-34px;left:0;flex-wrap:nowrap;width:auto}}@media (min-width:600px){.editor-post-title .editor-post-permalink{right:2px;left:2px}}.editor-post-trash.components-button{width:100%;color:#b52727;border-color:#b52727;justify-content:center}.editor-post-trash.components-button:focus,.editor-post-trash.components-button:hover{color:#a02222;border-color:#a02222}.table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content{min-width:380px}.components-popover.table-of-contents__popover{z-index:99998}.table-of-contents__popover .components-popover__content{padding:16px}@media (min-width:600px){.table-of-contents__popover .components-popover__content{max-height:calc(100vh - 120px);overflow-y:auto}}.table-of-contents__popover hr{margin:10px -16px 0}.table-of-contents__wrapper:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;outline-offset:8px}.table-of-contents__counts{display:flex;flex-wrap:wrap;margin:0}.table-of-contents__count{flex-basis:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781;padding-left:8px;margin-bottom:0}.table-of-contents__count:last-child{padding-left:0}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#555d66}.table-of-contents__title{display:block;margin-top:20px;font-size:15px;font-weight:600}.editor-template-validation-notice{display:flex;justify-content:space-between;align-items:center}.editor-template-validation-notice .components-button{margin-right:5px} \ No newline at end of file +@charset "UTF-8";.editor-autocompleters__block .editor-block-icon{margin-left:8px}.editor-autocompleters__user .editor-autocompleters__user-avatar{margin-left:8px;flex-grow:0;flex-shrink:0;max-width:none;width:24px;height:24px}.editor-autocompleters__user .editor-autocompleters__user-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:200px;flex-shrink:0;flex-grow:1}.editor-autocompleters__user .editor-autocompleters__user-slug{margin-right:8px;color:#8f98a1;white-space:nowrap;text-overflow:ellipsis;overflow:none;max-width:100px;flex-grow:0;flex-shrink:0}.editor-autocompleters__user:hover .editor-autocompleters__user-slug{color:#66c6e4}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.document-outline__item a{text-decoration:none}.document-outline__item .document-outline__emdash:before{color:#e2e4e7;margin-left:4px}.document-outline__item.is-h2 .document-outline__emdash:before{content:"—"}.document-outline__item.is-h3 .document-outline__emdash:before{content:"——"}.document-outline__item.is-h4 .document-outline__emdash:before{content:"———"}.document-outline__item.is-h5 .document-outline__emdash:before{content:"————"}.document-outline__item.is-h6 .document-outline__emdash:before{content:"—————"}.document-outline__button{cursor:pointer;background:none;border:none;display:flex;align-items:flex-start;margin:0 -1px 0 0;padding:2px 1px 2px 5px;color:#23282d;text-align:right}.document-outline__button:disabled{cursor:default}.document-outline__button:focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.document-outline__level{background:#e2e4e7;color:#23282d;border-radius:3px;font-size:13px;padding:1px 6px;margin-left:4px}.is-invalid .document-outline__level{background:#f0b849}.document-outline__item-content{padding:1px 0}.components-editor-notices__dismissible{position:-webkit-sticky;position:sticky;top:56px;left:0;color:#191e23}@media (min-width:600px){.components-editor-notices__dismissible{top:0}}.components-editor-notices__pinned{position:relative;right:0;top:0;left:0;color:#191e23}.components-editor-notices__dismissible .components-notice,.components-editor-notices__pinned .components-notice{box-sizing:border-box;margin:0;border-bottom:1px solid rgba(0,0,0,.2);padding:6px 12px;min-height:60px}.components-editor-notices__dismissible .components-notice .components-notice__dismiss,.components-editor-notices__pinned .components-notice .components-notice__dismiss{margin:6px 5px 6px -5px}.components-editor-notices__snackbar{width:100%}.editor-error-boundary{max-width:780px;padding:20px;margin:60px auto auto;box-shadow:0 3px 30px rgba(25,30,35,.2)}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__order,.editor-page-attributes__template label,.editor-page-attributes__template select{width:100%}.editor-page-attributes__order .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.editor-page-attributes__order input{width:66px}.editor-post-excerpt__textarea{width:100%;margin-bottom:10px}.editor-post-featured-image{padding:0}.editor-post-featured-image__container{margin-bottom:1em;position:relative}.editor-post-featured-image .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.editor-post-featured-image .components-button+.components-button{display:block;margin-top:1em}.editor-post-featured-image .components-responsive-wrapper__content{max-width:100%;width:auto}.editor-post-featured-image__preview,.editor-post-featured-image__toggle{display:block;width:100%;padding:0;transition:all .1s ease-out;box-shadow:0 0 0 0 #00a0d2}@media (prefers-reduced-motion:reduce){.editor-post-featured-image__preview,.editor-post-featured-image__toggle{transition-duration:0s}}.editor-post-featured-image__preview:not(:disabled):not([aria-disabled=true]):focus{box-shadow:0 0 0 4px #00a0d2}.editor-post-featured-image__toggle{border:1px dashed #a2aab2;background-color:#edeff0;min-height:90px;line-height:20px;padding:8px 0;text-align:center}.editor-post-featured-image__toggle:hover{background-color:#f8f9f9}.editor-post-format{flex-direction:column;align-items:stretch;width:100%}.editor-post-format__content{display:inline-flex;justify-content:space-between;align-items:center;width:100%}.editor-post-format__suggestion{text-align:left;font-size:13px}.editor-post-last-revision__title{width:100%;font-weight:600}.editor-post-last-revision__title .dashicon{margin-left:5px}.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:active,.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:hover{border:none;box-shadow:none}.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-post-locked-modal{height:auto;padding-left:10px;padding-right:10px;padding-top:10px;max-width:480px}.editor-post-locked-modal .components-modal__header{height:36px}.editor-post-locked-modal .components-modal__content{height:auto}.editor-post-locked-modal__buttons{margin-top:10px}.editor-post-locked-modal__buttons .components-button{margin-left:5px}.editor-post-locked-modal__avatar{float:right;margin:5px 5px 5px 15px}.editor-post-permalink{display:inline-flex;align-items:center;flex-wrap:wrap;background:#fff;padding:8px 8px 0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;height:40px;white-space:nowrap;border:1px solid #b5bcc2;background-clip:padding-box;border-right:0;box-shadow:3px 0 0 0 #555d66;outline:1px solid transparent;margin-right:-15px;margin-left:-15px}.is-dark-theme .editor-post-permalink{box-shadow:3px 0 0 0 #d7dade}@media (min-width:480px){.editor-post-permalink{padding:4px}}@media (min-width:600px){.editor-post-permalink{margin-right:-1px;margin-left:-1px}}.editor-post-permalink.editor-post-permalink>*{margin-bottom:8px}@media (min-width:480px){.editor-post-permalink.editor-post-permalink>*{margin-bottom:0}}.editor-post-permalink button{flex-shrink:0}.editor-post-permalink__copy{border-radius:4px;padding:6px}.editor-post-permalink__copy.is-copied{opacity:.3}.editor-post-permalink__label{margin:0 5px 0 10px;font-weight:600}.editor-post-permalink__link{color:#7e8993;text-decoration:underline;margin-left:10px;flex-grow:1;overflow:hidden;position:relative;white-space:nowrap;text-align:right}.editor-post-permalink-editor{width:100%;min-width:20%;display:inline-flex;align-items:center}.editor-post-permalink-editor .editor-post-permalink__editor-container{flex:0 1 100%;display:flex;overflow:hidden;padding:1px 0}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 1 auto}@media (min-width:600px){.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 0 auto}}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__edit{flex:1 1 100%}.editor-post-permalink-editor .editor-post-permalink-editor__save{margin-right:auto}.editor-post-permalink-editor__prefix{color:#6c7781;min-width:20%;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis}.editor-post-permalink input[type=text].editor-post-permalink-editor__edit{min-width:10%;width:100%;margin:0 3px;padding:2px 4px}.editor-post-permalink-editor__suffix{color:#6c7781;margin-left:6px;flex:0 0 0%}.editor-post-permalink-editor__prefix{text-align:right}.editor-post-permalink__link{text-align:left}.editor-post-permalink__editor-container,.editor-post-permalink__link{direction:ltr}.editor-post-permalink__link:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);top:0;bottom:0;right:0;left:auto;width:20%;height:auto}.editor-post-publish-panel{background:#fff}.editor-post-publish-panel__content{min-height:calc(100% - 140px)}.editor-post-publish-panel__content .components-spinner{display:block;float:none;margin:100px auto 0}.editor-post-publish-panel__header{background:#fff;padding-right:8px;padding-left:8px;height:56px;border-bottom:1px solid #e2e4e7;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header .components-icon-button{position:absolute;left:8px}.editor-post-publish-panel__header-publish-button{display:flex;justify-content:flex-end;flex-grow:1;text-align:left;flex-wrap:nowrap}.editor-post-publish-panel__header-published{flex-grow:1}.editor-post-publish-panel__footer{padding:16px}.components-button.editor-post-publish-panel__toggle.is-primary{display:inline-flex;align-items:center}.components-button.editor-post-publish-panel__toggle.is-primary.is-busy .dashicon{display:none}.components-button.editor-post-publish-panel__toggle.is-primary .dashicon{margin-left:-4px}.editor-post-publish-panel__link{font-weight:400;padding-right:4px}.editor-post-publish-panel__prepublish{padding:16px}.editor-post-publish-panel__prepublish strong{color:#191e23}.editor-post-publish-panel__prepublish .components-panel__body{background:#fff;margin-right:-16px;margin-left:-16px}.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend{display:none}.editor-post-publish-panel__prepublish .components-datetime{padding:0}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e2e4e7;border-top:none}.post-publish-panel__postpublish-buttons{display:flex;align-content:space-between;flex-wrap:wrap;margin:-5px}.post-publish-panel__postpublish-buttons>*{flex-grow:1;margin:5px}.post-publish-panel__postpublish-buttons .components-button{height:auto;justify-content:center;padding:3px 10px 4px;line-height:1.6;text-align:center;white-space:normal}.post-publish-panel__postpublish-buttons .components-clipboard-button{width:100%}.post-publish-panel__postpublish-post-address{margin-bottom:16px}.post-publish-panel__postpublish-post-address input[readonly]{padding:10px;background:#e8eaeb;overflow:hidden;text-overflow:ellipsis}.post-publish-panel__postpublish-header{font-weight:500}.post-publish-panel__postpublish-subheader{margin:0 0 8px}.post-publish-panel__tip{color:#f0b849}.editor-post-saved-state{display:flex;align-items:center;width:28px;padding:12px 4px;color:#555d66;overflow:hidden;white-space:nowrap}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto;margin-left:8px}@media (min-width:600px){.editor-post-saved-state{width:auto;padding:8px 12px;text-indent:inherit}.editor-post-saved-state .dashicon{margin-left:4px}}.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft{margin:0}.editor-post-taxonomies__hierarchical-terms-list{max-height:14em;overflow:auto;padding-right:2px}.editor-post-taxonomies__hierarchical-terms-choice{margin-bottom:8px}.editor-post-taxonomies__hierarchical-terms-subchoices{margin-top:8px;margin-right:16px}.components-button.editor-post-taxonomies__hierarchical-terms-add,.components-button.editor-post-taxonomies__hierarchical-terms-submit{margin-top:12px}.editor-post-taxonomies__hierarchical-terms-label{display:inline-block;margin-top:12px}.editor-post-taxonomies__hierarchical-terms-input{margin-top:8px;width:100%}.editor-post-taxonomies__hierarchical-terms-filter{margin-bottom:8px;width:100%}.editor-post-text-editor{border:1px solid #e2e4e7!important;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace!important;line-height:150%;border-radius:0!important;font-size:16px!important}@media (min-width:600px){.editor-post-text-editor{font-size:14px!important}}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #b5bcc2!important;box-shadow:none!important;outline-offset:-2px!important}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:none;padding:0 8px;margin:3px 4px;text-align:center;cursor:pointer;font-family:Menlo,Consolas,monaco,monospace;color:#555d66;border:1px solid transparent}.editor-post-text-editor__toolbar button:first-child{margin-right:0}.editor-post-text-editor__toolbar button:focus,.editor-post-text-editor__toolbar button:hover{outline:none;border:1px solid #555d66}.editor-post-text-editor__bold{font-weight:600}.editor-post-text-editor__italic{font-style:italic}.editor-post-text-editor__link{text-decoration:underline;color:#0085ba}body.admin-color-sunrise .editor-post-text-editor__link{color:#d1864a}body.admin-color-ocean .editor-post-text-editor__link{color:#a3b9a2}body.admin-color-midnight .editor-post-text-editor__link{color:#e14d43}body.admin-color-ectoplasm .editor-post-text-editor__link{color:#a7b656}body.admin-color-coffee .editor-post-text-editor__link{color:#c2a68c}body.admin-color-blue .editor-post-text-editor__link{color:#82b4cb}body.admin-color-light .editor-post-text-editor__link{color:#0085ba}.editor-post-text-editor__del{text-decoration:line-through}.edit-post-post-visibility__dialog,.editor-post-visibility__dialog-fieldset{padding:0 4px 4px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-legend,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-legend{font-weight:600;margin-bottom:1em;margin-top:.5em;padding:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio{margin-top:2px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-label{font-weight:600}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-info,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-info{margin-top:0;margin-right:28px}.edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info,.editor-post-visibility__dialog-fieldset .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info{margin-bottom:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input{margin-right:28px}.editor-post-title__block{position:relative;padding:5px 0;font-size:16px}@media (min-width:600px){.editor-post-title__block{padding:5px 2px}}.editor-post-title__block .editor-post-title__input{display:block;width:100%;margin:0;box-shadow:none;background:transparent;font-family:"Noto Serif",serif;line-height:1.4;color:#191e23;transition:border .1s ease-out,box-shadow .1s linear;padding:19px 14px;word-break:keep-all;border-color:transparent;border-style:solid;border-width:1px 0;border-radius:0;outline:1px solid transparent;font-size:2.44em;font-weight:600}@media (prefers-reduced-motion:reduce){.editor-post-title__block .editor-post-title__input{transition-duration:0s}}@media (min-width:600px){.editor-post-title__block .editor-post-title__input{border-width:1px 0 1px 1px}}.editor-post-title__block .editor-post-title__input::-webkit-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input::-moz-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:-ms-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:focus{border:1px solid transparent;border-right-width:0;outline:1px solid transparent;box-shadow:none}.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(66,88,99,.4);box-shadow:inset -3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:hsla(0,0%,100%,.45);box-shadow:inset -3px 0 0 0 #d7dade}@media (min-width:600px){.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:3px 0 0 0 #d7dade}}.editor-post-title__block.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.editor-post-title__block.is-focus-mode .editor-post-title__input{transition-duration:0s}}.editor-post-title__block.is-focus-mode .editor-post-title__input:focus{opacity:1}.editor-post-title .editor-post-permalink{font-size:13px;color:#191e23;height:auto;position:relative;right:3px;top:-2px;width:calc(100% - 3px)}@media (min-width:480px){.editor-post-title .editor-post-permalink{position:absolute;top:-34px;left:0;flex-wrap:nowrap;width:auto}}@media (min-width:600px){.editor-post-title .editor-post-permalink{right:2px;left:2px}}.editor-post-trash.components-button{width:100%;color:#b52727;border-color:#b52727;justify-content:center}.editor-post-trash.components-button:focus,.editor-post-trash.components-button:hover{color:#a02222;border-color:#a02222}.table-of-contents__popover.components-popover .components-popover__content{min-width:380px}.components-popover.table-of-contents__popover{z-index:99998}.table-of-contents__popover .components-popover__content{padding:16px}@media (min-width:600px){.table-of-contents__popover .components-popover__content{max-height:calc(100vh - 120px);overflow-y:auto}}.table-of-contents__popover hr{margin:10px -16px 0}.table-of-contents__wrapper:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;outline-offset:8px}.table-of-contents__counts{display:flex;flex-wrap:wrap;margin:0}.table-of-contents__count{flex-basis:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781;padding-left:8px;margin-bottom:0}.table-of-contents__count:last-child{padding-left:0}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#555d66}.table-of-contents__title{display:block;margin-top:20px;font-size:15px;font-weight:600}.editor-template-validation-notice{display:flex;justify-content:space-between;align-items:center}.editor-template-validation-notice .components-button{margin-right:5px} \ No newline at end of file diff --git a/wp-includes/css/dist/editor/style.css b/wp-includes/css/dist/editor/style.css index 11cf4ce8ef..6f8a738fc7 100644 --- a/wp-includes/css/dist/editor/style.css +++ b/wp-includes/css/dist/editor/style.css @@ -23,9 +23,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -147,7 +144,8 @@ .components-editor-notices__dismissible .components-notice, .components-editor-notices__pinned .components-notice { box-sizing: border-box; - margin: 0 0 5px; + margin: 0; + border-bottom: 1px solid rgba(0, 0, 0, 0.2); padding: 6px 12px; min-height: 60px; } .components-editor-notices__dismissible .components-notice .components-notice__dismiss, @@ -185,8 +183,15 @@ .editor-post-featured-image { padding: 0; } + .editor-post-featured-image__container { + margin-bottom: 1em; + position: relative; } .editor-post-featured-image .components-spinner { - margin: 0; } + position: absolute; + top: 50%; + left: 50%; + margin-top: -9px; + margin-left: -9px; } .editor-post-featured-image .components-button + .components-button { display: block; margin-top: 1em; } @@ -212,6 +217,7 @@ .editor-post-featured-image__toggle { border: 1px dashed #a2aab2; background-color: #edeff0; + min-height: 90px; line-height: 20px; padding: 8px 0; text-align: center; } @@ -396,8 +402,7 @@ /* rtl:end:ignore */ .editor-post-publish-panel { - background: #fff; - color: #555d66; } + background: #fff; } .editor-post-publish-panel__content { min-height: calc(100% - 140px); } @@ -408,12 +413,16 @@ .editor-post-publish-panel__header { background: #fff; - padding-left: 16px; + padding-left: 8px; + padding-right: 8px; height: 56px; border-bottom: 1px solid #e2e4e7; display: flex; align-items: center; align-content: space-between; } + .editor-post-publish-panel__header .components-icon-button { + position: absolute; + right: 8px; } .editor-post-publish-panel__header-publish-button { display: flex; @@ -450,6 +459,8 @@ margin-right: -16px; } .editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend { display: none; } + .editor-post-publish-panel__prepublish .components-datetime { + padding: 0; } .post-publish-panel__postpublish .components-panel__body { border-bottom: 1px solid #e2e4e7; @@ -698,10 +709,6 @@ body.admin-color-light .editor-post-text-editor__link{ box-shadow: -3px 0 0 0 #555d66; } .is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input { box-shadow: -3px 0 0 0 #d7dade; } } - .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover { - box-shadow: -3px 0 0 0 rgba(145, 151, 162, 0.25); } - .is-dark-theme .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover { - box-shadow: -3px 0 0 0 rgba(255, 255, 255, 0.25); } .editor-post-title__block.is-focus-mode .editor-post-title__input { opacity: 0.5; transition: opacity 0.1s linear; } @@ -740,7 +747,7 @@ body.admin-color-light .editor-post-text-editor__link{ color: #a02222; border-color: #a02222; } -.table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content { +.table-of-contents__popover.components-popover .components-popover__content { min-width: 380px; } .components-popover.table-of-contents__popover { diff --git a/wp-includes/css/dist/editor/style.min.css b/wp-includes/css/dist/editor/style.min.css index 4a5e76f0ab..c865e5c4a9 100644 --- a/wp-includes/css/dist/editor/style.min.css +++ b/wp-includes/css/dist/editor/style.min.css @@ -1 +1 @@ -@charset "UTF-8";.editor-autocompleters__block .editor-block-icon{margin-right:8px}.editor-autocompleters__user .editor-autocompleters__user-avatar{margin-right:8px;flex-grow:0;flex-shrink:0;max-width:none;width:24px;height:24px}.editor-autocompleters__user .editor-autocompleters__user-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:200px;flex-shrink:0;flex-grow:1}.editor-autocompleters__user .editor-autocompleters__user-slug{margin-left:8px;color:#8f98a1;white-space:nowrap;text-overflow:ellipsis;overflow:none;max-width:100px;flex-grow:0;flex-shrink:0}.editor-autocompleters__user:hover .editor-autocompleters__user-slug{color:#66c6e4}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.document-outline__item a{text-decoration:none}.document-outline__item .document-outline__emdash:before{color:#e2e4e7;margin-right:4px}.document-outline__item.is-h2 .document-outline__emdash:before{content:"—"}.document-outline__item.is-h3 .document-outline__emdash:before{content:"——"}.document-outline__item.is-h4 .document-outline__emdash:before{content:"———"}.document-outline__item.is-h5 .document-outline__emdash:before{content:"————"}.document-outline__item.is-h6 .document-outline__emdash:before{content:"—————"}.document-outline__button{cursor:pointer;background:none;border:none;display:flex;align-items:flex-start;margin:0 0 0 -1px;padding:2px 5px 2px 1px;color:#23282d;text-align:left}.document-outline__button:disabled{cursor:default}.document-outline__button:focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.document-outline__level{background:#e2e4e7;color:#23282d;border-radius:3px;font-size:13px;padding:1px 6px;margin-right:4px}.is-invalid .document-outline__level{background:#f0b849}.document-outline__item-content{padding:1px 0}.components-editor-notices__dismissible{position:-webkit-sticky;position:sticky;top:56px;right:0;color:#191e23}@media (min-width:600px){.components-editor-notices__dismissible{top:0}}.components-editor-notices__pinned{position:relative;left:0;top:0;right:0;color:#191e23}.components-editor-notices__dismissible .components-notice,.components-editor-notices__pinned .components-notice{box-sizing:border-box;margin:0 0 5px;padding:6px 12px;min-height:60px}.components-editor-notices__dismissible .components-notice .components-notice__dismiss,.components-editor-notices__pinned .components-notice .components-notice__dismiss{margin:6px -5px 6px 5px}.components-editor-notices__snackbar{width:100%}.editor-error-boundary{max-width:780px;padding:20px;margin:60px auto auto;box-shadow:0 3px 30px rgba(25,30,35,.2)}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__order,.editor-page-attributes__template label,.editor-page-attributes__template select{width:100%}.editor-page-attributes__order .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.editor-page-attributes__order input{width:66px}.editor-post-excerpt__textarea{width:100%;margin-bottom:10px}.editor-post-featured-image{padding:0}.editor-post-featured-image .components-spinner{margin:0}.editor-post-featured-image .components-button+.components-button{display:block;margin-top:1em}.editor-post-featured-image .components-responsive-wrapper__content{max-width:100%;width:auto}.editor-post-featured-image__preview,.editor-post-featured-image__toggle{display:block;width:100%;padding:0;transition:all .1s ease-out;box-shadow:0 0 0 0 #00a0d2}@media (prefers-reduced-motion:reduce){.editor-post-featured-image__preview,.editor-post-featured-image__toggle{transition-duration:0s}}.editor-post-featured-image__preview:not(:disabled):not([aria-disabled=true]):focus{box-shadow:0 0 0 4px #00a0d2}.editor-post-featured-image__toggle{border:1px dashed #a2aab2;background-color:#edeff0;line-height:20px;padding:8px 0;text-align:center}.editor-post-featured-image__toggle:hover{background-color:#f8f9f9}.editor-post-format{flex-direction:column;align-items:stretch;width:100%}.editor-post-format__content{display:inline-flex;justify-content:space-between;align-items:center;width:100%}.editor-post-format__suggestion{text-align:right;font-size:13px}.editor-post-last-revision__title{width:100%;font-weight:600}.editor-post-last-revision__title .dashicon{margin-right:5px}.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:active,.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:hover{border:none;box-shadow:none}.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-post-locked-modal{height:auto;padding-right:10px;padding-left:10px;padding-top:10px;max-width:480px}.editor-post-locked-modal .components-modal__header{height:36px}.editor-post-locked-modal .components-modal__content{height:auto}.editor-post-locked-modal__buttons{margin-top:10px}.editor-post-locked-modal__buttons .components-button{margin-right:5px}.editor-post-locked-modal__avatar{float:left;margin:5px 15px 5px 5px}.editor-post-permalink{display:inline-flex;align-items:center;flex-wrap:wrap;background:#fff;padding:8px 8px 0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;height:40px;white-space:nowrap;border:1px solid #b5bcc2;background-clip:padding-box;border-left:0;box-shadow:-3px 0 0 0 #555d66;outline:1px solid transparent;margin-left:-15px;margin-right:-15px}.is-dark-theme .editor-post-permalink{box-shadow:-3px 0 0 0 #d7dade}@media (min-width:480px){.editor-post-permalink{padding:4px}}@media (min-width:600px){.editor-post-permalink{margin-left:-1px;margin-right:-1px}}.editor-post-permalink.editor-post-permalink>*{margin-bottom:8px}@media (min-width:480px){.editor-post-permalink.editor-post-permalink>*{margin-bottom:0}}.editor-post-permalink button{flex-shrink:0}.editor-post-permalink__copy{border-radius:4px;padding:6px}.editor-post-permalink__copy.is-copied{opacity:.3}.editor-post-permalink__label{margin:0 10px 0 5px;font-weight:600}.editor-post-permalink__link{color:#7e8993;text-decoration:underline;margin-right:10px;flex-grow:1;overflow:hidden;position:relative;white-space:nowrap}.editor-post-permalink-editor{width:100%;min-width:20%;display:inline-flex;align-items:center}.editor-post-permalink-editor .editor-post-permalink__editor-container{flex:0 1 100%;display:flex;overflow:hidden;padding:1px 0}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 1 auto}@media (min-width:600px){.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 0 auto}}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__edit{flex:1 1 100%}.editor-post-permalink-editor .editor-post-permalink-editor__save{margin-left:auto}.editor-post-permalink-editor__prefix{color:#6c7781;min-width:20%;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis}.editor-post-permalink input[type=text].editor-post-permalink-editor__edit{min-width:10%;width:100%;margin:0 3px;padding:2px 4px}.editor-post-permalink-editor__suffix{color:#6c7781;margin-right:6px;flex:0 0 0%}.editor-post-permalink-editor__prefix,.editor-post-permalink__link{text-align:left}.editor-post-permalink__editor-container,.editor-post-permalink__link{direction:ltr}.editor-post-permalink__link:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);top:0;bottom:0;right:0;left:auto;width:20%;height:auto}.editor-post-publish-panel{background:#fff;color:#555d66}.editor-post-publish-panel__content{min-height:calc(100% - 140px)}.editor-post-publish-panel__content .components-spinner{display:block;float:none;margin:100px auto 0}.editor-post-publish-panel__header{background:#fff;padding-left:16px;height:56px;border-bottom:1px solid #e2e4e7;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header-publish-button{display:flex;justify-content:flex-end;flex-grow:1;text-align:right;flex-wrap:nowrap}.editor-post-publish-panel__header-published{flex-grow:1}.editor-post-publish-panel__footer{padding:16px}.components-button.editor-post-publish-panel__toggle.is-primary{display:inline-flex;align-items:center}.components-button.editor-post-publish-panel__toggle.is-primary.is-busy .dashicon{display:none}.components-button.editor-post-publish-panel__toggle.is-primary .dashicon{margin-right:-4px}.editor-post-publish-panel__link{font-weight:400;padding-left:4px}.editor-post-publish-panel__prepublish{padding:16px}.editor-post-publish-panel__prepublish strong{color:#191e23}.editor-post-publish-panel__prepublish .components-panel__body{background:#fff;margin-left:-16px;margin-right:-16px}.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend{display:none}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e2e4e7;border-top:none}.post-publish-panel__postpublish-buttons{display:flex;align-content:space-between;flex-wrap:wrap;margin:-5px}.post-publish-panel__postpublish-buttons>*{flex-grow:1;margin:5px}.post-publish-panel__postpublish-buttons .components-button{height:auto;justify-content:center;padding:3px 10px 4px;line-height:1.6;text-align:center;white-space:normal}.post-publish-panel__postpublish-buttons .components-clipboard-button{width:100%}.post-publish-panel__postpublish-post-address{margin-bottom:16px}.post-publish-panel__postpublish-post-address input[readonly]{padding:10px;background:#e8eaeb;overflow:hidden;text-overflow:ellipsis}.post-publish-panel__postpublish-header{font-weight:500}.post-publish-panel__postpublish-subheader{margin:0 0 8px}.post-publish-panel__tip{color:#f0b849}.editor-post-saved-state{display:flex;align-items:center;width:28px;padding:12px 4px;color:#555d66;overflow:hidden;white-space:nowrap}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto;margin-right:8px}@media (min-width:600px){.editor-post-saved-state{width:auto;padding:8px 12px;text-indent:inherit}.editor-post-saved-state .dashicon{margin-right:4px}}.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft{margin:0}.editor-post-taxonomies__hierarchical-terms-list{max-height:14em;overflow:auto;padding-left:2px}.editor-post-taxonomies__hierarchical-terms-choice{margin-bottom:8px}.editor-post-taxonomies__hierarchical-terms-subchoices{margin-top:8px;margin-left:16px}.components-button.editor-post-taxonomies__hierarchical-terms-add,.components-button.editor-post-taxonomies__hierarchical-terms-submit{margin-top:12px}.editor-post-taxonomies__hierarchical-terms-label{display:inline-block;margin-top:12px}.editor-post-taxonomies__hierarchical-terms-input{margin-top:8px;width:100%}.editor-post-taxonomies__hierarchical-terms-filter{margin-bottom:8px;width:100%}.editor-post-text-editor{border:1px solid #e2e4e7!important;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace!important;line-height:150%;border-radius:0!important;font-size:16px!important}@media (min-width:600px){.editor-post-text-editor{font-size:14px!important}}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #b5bcc2!important;box-shadow:none!important;outline-offset:-2px!important}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:none;padding:0 8px;margin:3px 4px;text-align:center;cursor:pointer;font-family:Menlo,Consolas,monaco,monospace;color:#555d66;border:1px solid transparent}.editor-post-text-editor__toolbar button:first-child{margin-left:0}.editor-post-text-editor__toolbar button:focus,.editor-post-text-editor__toolbar button:hover{outline:none;border:1px solid #555d66}.editor-post-text-editor__bold{font-weight:600}.editor-post-text-editor__italic{font-style:italic}.editor-post-text-editor__link{text-decoration:underline;color:#0085ba}body.admin-color-sunrise .editor-post-text-editor__link{color:#d1864a}body.admin-color-ocean .editor-post-text-editor__link{color:#a3b9a2}body.admin-color-midnight .editor-post-text-editor__link{color:#e14d43}body.admin-color-ectoplasm .editor-post-text-editor__link{color:#a7b656}body.admin-color-coffee .editor-post-text-editor__link{color:#c2a68c}body.admin-color-blue .editor-post-text-editor__link{color:#82b4cb}body.admin-color-light .editor-post-text-editor__link{color:#0085ba}.editor-post-text-editor__del{text-decoration:line-through}.edit-post-post-visibility__dialog,.editor-post-visibility__dialog-fieldset{padding:0 4px 4px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-legend,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-legend{font-weight:600;margin-bottom:1em;margin-top:.5em;padding:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio{margin-top:2px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-label{font-weight:600}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-info,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-info{margin-top:0;margin-left:28px}.edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info,.editor-post-visibility__dialog-fieldset .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info{margin-bottom:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input{margin-left:28px}.editor-post-title__block{position:relative;padding:5px 0;font-size:16px}@media (min-width:600px){.editor-post-title__block{padding:5px 2px}}.editor-post-title__block .editor-post-title__input{display:block;width:100%;margin:0;box-shadow:none;background:transparent;font-family:"Noto Serif",serif;line-height:1.4;color:#191e23;transition:border .1s ease-out,box-shadow .1s linear;padding:19px 14px;word-break:keep-all;border-color:transparent;border-style:solid;border-width:1px 0;border-radius:0;outline:1px solid transparent;font-size:2.44em;font-weight:600}@media (prefers-reduced-motion:reduce){.editor-post-title__block .editor-post-title__input{transition-duration:0s}}@media (min-width:600px){.editor-post-title__block .editor-post-title__input{border-width:1px 1px 1px 0}}.editor-post-title__block .editor-post-title__input::-webkit-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input::-moz-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:-ms-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:focus{border:1px solid transparent;border-left-width:0;outline:1px solid transparent;box-shadow:none}.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(66,88,99,.4);box-shadow:inset 3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:hsla(0,0%,100%,.45);box-shadow:inset 3px 0 0 0 #d7dade}@media (min-width:600px){.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:-3px 0 0 0 #d7dade}}.editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover{box-shadow:-3px 0 0 0 rgba(145,151,162,.25)}.is-dark-theme .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover{box-shadow:-3px 0 0 0 hsla(0,0%,100%,.25)}.editor-post-title__block.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.editor-post-title__block.is-focus-mode .editor-post-title__input{transition-duration:0s}}.editor-post-title__block.is-focus-mode .editor-post-title__input:focus{opacity:1}.editor-post-title .editor-post-permalink{font-size:13px;color:#191e23;height:auto;position:relative;left:3px;top:-2px;width:calc(100% - 3px)}@media (min-width:480px){.editor-post-title .editor-post-permalink{position:absolute;top:-34px;right:0;flex-wrap:nowrap;width:auto}}@media (min-width:600px){.editor-post-title .editor-post-permalink{left:2px;right:2px}}.editor-post-trash.components-button{width:100%;color:#b52727;border-color:#b52727;justify-content:center}.editor-post-trash.components-button:focus,.editor-post-trash.components-button:hover{color:#a02222;border-color:#a02222}.table-of-contents__popover.components-popover:not(.is-mobile) .components-popover__content{min-width:380px}.components-popover.table-of-contents__popover{z-index:99998}.table-of-contents__popover .components-popover__content{padding:16px}@media (min-width:600px){.table-of-contents__popover .components-popover__content{max-height:calc(100vh - 120px);overflow-y:auto}}.table-of-contents__popover hr{margin:10px -16px 0}.table-of-contents__wrapper:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;outline-offset:8px}.table-of-contents__counts{display:flex;flex-wrap:wrap;margin:0}.table-of-contents__count{flex-basis:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781;padding-right:8px;margin-bottom:0}.table-of-contents__count:last-child{padding-right:0}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#555d66}.table-of-contents__title{display:block;margin-top:20px;font-size:15px;font-weight:600}.editor-template-validation-notice{display:flex;justify-content:space-between;align-items:center}.editor-template-validation-notice .components-button{margin-left:5px} \ No newline at end of file +@charset "UTF-8";.editor-autocompleters__block .editor-block-icon{margin-right:8px}.editor-autocompleters__user .editor-autocompleters__user-avatar{margin-right:8px;flex-grow:0;flex-shrink:0;max-width:none;width:24px;height:24px}.editor-autocompleters__user .editor-autocompleters__user-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:200px;flex-shrink:0;flex-grow:1}.editor-autocompleters__user .editor-autocompleters__user-slug{margin-left:8px;color:#8f98a1;white-space:nowrap;text-overflow:ellipsis;overflow:none;max-width:100px;flex-grow:0;flex-shrink:0}.editor-autocompleters__user:hover .editor-autocompleters__user-slug{color:#66c6e4}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.document-outline__item a{text-decoration:none}.document-outline__item .document-outline__emdash:before{color:#e2e4e7;margin-right:4px}.document-outline__item.is-h2 .document-outline__emdash:before{content:"—"}.document-outline__item.is-h3 .document-outline__emdash:before{content:"——"}.document-outline__item.is-h4 .document-outline__emdash:before{content:"———"}.document-outline__item.is-h5 .document-outline__emdash:before{content:"————"}.document-outline__item.is-h6 .document-outline__emdash:before{content:"—————"}.document-outline__button{cursor:pointer;background:none;border:none;display:flex;align-items:flex-start;margin:0 0 0 -1px;padding:2px 5px 2px 1px;color:#23282d;text-align:left}.document-outline__button:disabled{cursor:default}.document-outline__button:focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.document-outline__level{background:#e2e4e7;color:#23282d;border-radius:3px;font-size:13px;padding:1px 6px;margin-right:4px}.is-invalid .document-outline__level{background:#f0b849}.document-outline__item-content{padding:1px 0}.components-editor-notices__dismissible{position:-webkit-sticky;position:sticky;top:56px;right:0;color:#191e23}@media (min-width:600px){.components-editor-notices__dismissible{top:0}}.components-editor-notices__pinned{position:relative;left:0;top:0;right:0;color:#191e23}.components-editor-notices__dismissible .components-notice,.components-editor-notices__pinned .components-notice{box-sizing:border-box;margin:0;border-bottom:1px solid rgba(0,0,0,.2);padding:6px 12px;min-height:60px}.components-editor-notices__dismissible .components-notice .components-notice__dismiss,.components-editor-notices__pinned .components-notice .components-notice__dismiss{margin:6px -5px 6px 5px}.components-editor-notices__snackbar{width:100%}.editor-error-boundary{max-width:780px;padding:20px;margin:60px auto auto;box-shadow:0 3px 30px rgba(25,30,35,.2)}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__order,.editor-page-attributes__template label,.editor-page-attributes__template select{width:100%}.editor-page-attributes__order .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.editor-page-attributes__order input{width:66px}.editor-post-excerpt__textarea{width:100%;margin-bottom:10px}.editor-post-featured-image{padding:0}.editor-post-featured-image__container{margin-bottom:1em;position:relative}.editor-post-featured-image .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.editor-post-featured-image .components-button+.components-button{display:block;margin-top:1em}.editor-post-featured-image .components-responsive-wrapper__content{max-width:100%;width:auto}.editor-post-featured-image__preview,.editor-post-featured-image__toggle{display:block;width:100%;padding:0;transition:all .1s ease-out;box-shadow:0 0 0 0 #00a0d2}@media (prefers-reduced-motion:reduce){.editor-post-featured-image__preview,.editor-post-featured-image__toggle{transition-duration:0s}}.editor-post-featured-image__preview:not(:disabled):not([aria-disabled=true]):focus{box-shadow:0 0 0 4px #00a0d2}.editor-post-featured-image__toggle{border:1px dashed #a2aab2;background-color:#edeff0;min-height:90px;line-height:20px;padding:8px 0;text-align:center}.editor-post-featured-image__toggle:hover{background-color:#f8f9f9}.editor-post-format{flex-direction:column;align-items:stretch;width:100%}.editor-post-format__content{display:inline-flex;justify-content:space-between;align-items:center;width:100%}.editor-post-format__suggestion{text-align:right;font-size:13px}.editor-post-last-revision__title{width:100%;font-weight:600}.editor-post-last-revision__title .dashicon{margin-right:5px}.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:active,.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:hover{border:none;box-shadow:none}.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.editor-post-locked-modal{height:auto;padding-right:10px;padding-left:10px;padding-top:10px;max-width:480px}.editor-post-locked-modal .components-modal__header{height:36px}.editor-post-locked-modal .components-modal__content{height:auto}.editor-post-locked-modal__buttons{margin-top:10px}.editor-post-locked-modal__buttons .components-button{margin-right:5px}.editor-post-locked-modal__avatar{float:left;margin:5px 15px 5px 5px}.editor-post-permalink{display:inline-flex;align-items:center;flex-wrap:wrap;background:#fff;padding:8px 8px 0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;height:40px;white-space:nowrap;border:1px solid #b5bcc2;background-clip:padding-box;border-left:0;box-shadow:-3px 0 0 0 #555d66;outline:1px solid transparent;margin-left:-15px;margin-right:-15px}.is-dark-theme .editor-post-permalink{box-shadow:-3px 0 0 0 #d7dade}@media (min-width:480px){.editor-post-permalink{padding:4px}}@media (min-width:600px){.editor-post-permalink{margin-left:-1px;margin-right:-1px}}.editor-post-permalink.editor-post-permalink>*{margin-bottom:8px}@media (min-width:480px){.editor-post-permalink.editor-post-permalink>*{margin-bottom:0}}.editor-post-permalink button{flex-shrink:0}.editor-post-permalink__copy{border-radius:4px;padding:6px}.editor-post-permalink__copy.is-copied{opacity:.3}.editor-post-permalink__label{margin:0 10px 0 5px;font-weight:600}.editor-post-permalink__link{color:#7e8993;text-decoration:underline;margin-right:10px;flex-grow:1;overflow:hidden;position:relative;white-space:nowrap}.editor-post-permalink-editor{width:100%;min-width:20%;display:inline-flex;align-items:center}.editor-post-permalink-editor .editor-post-permalink__editor-container{flex:0 1 100%;display:flex;overflow:hidden;padding:1px 0}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 1 auto}@media (min-width:600px){.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 0 auto}}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__edit{flex:1 1 100%}.editor-post-permalink-editor .editor-post-permalink-editor__save{margin-left:auto}.editor-post-permalink-editor__prefix{color:#6c7781;min-width:20%;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis}.editor-post-permalink input[type=text].editor-post-permalink-editor__edit{min-width:10%;width:100%;margin:0 3px;padding:2px 4px}.editor-post-permalink-editor__suffix{color:#6c7781;margin-right:6px;flex:0 0 0%}.editor-post-permalink-editor__prefix,.editor-post-permalink__link{text-align:left}.editor-post-permalink__editor-container,.editor-post-permalink__link{direction:ltr}.editor-post-permalink__link:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);top:0;bottom:0;right:0;left:auto;width:20%;height:auto}.editor-post-publish-panel{background:#fff}.editor-post-publish-panel__content{min-height:calc(100% - 140px)}.editor-post-publish-panel__content .components-spinner{display:block;float:none;margin:100px auto 0}.editor-post-publish-panel__header{background:#fff;padding-left:8px;padding-right:8px;height:56px;border-bottom:1px solid #e2e4e7;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header .components-icon-button{position:absolute;right:8px}.editor-post-publish-panel__header-publish-button{display:flex;justify-content:flex-end;flex-grow:1;text-align:right;flex-wrap:nowrap}.editor-post-publish-panel__header-published{flex-grow:1}.editor-post-publish-panel__footer{padding:16px}.components-button.editor-post-publish-panel__toggle.is-primary{display:inline-flex;align-items:center}.components-button.editor-post-publish-panel__toggle.is-primary.is-busy .dashicon{display:none}.components-button.editor-post-publish-panel__toggle.is-primary .dashicon{margin-right:-4px}.editor-post-publish-panel__link{font-weight:400;padding-left:4px}.editor-post-publish-panel__prepublish{padding:16px}.editor-post-publish-panel__prepublish strong{color:#191e23}.editor-post-publish-panel__prepublish .components-panel__body{background:#fff;margin-left:-16px;margin-right:-16px}.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend{display:none}.editor-post-publish-panel__prepublish .components-datetime{padding:0}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e2e4e7;border-top:none}.post-publish-panel__postpublish-buttons{display:flex;align-content:space-between;flex-wrap:wrap;margin:-5px}.post-publish-panel__postpublish-buttons>*{flex-grow:1;margin:5px}.post-publish-panel__postpublish-buttons .components-button{height:auto;justify-content:center;padding:3px 10px 4px;line-height:1.6;text-align:center;white-space:normal}.post-publish-panel__postpublish-buttons .components-clipboard-button{width:100%}.post-publish-panel__postpublish-post-address{margin-bottom:16px}.post-publish-panel__postpublish-post-address input[readonly]{padding:10px;background:#e8eaeb;overflow:hidden;text-overflow:ellipsis}.post-publish-panel__postpublish-header{font-weight:500}.post-publish-panel__postpublish-subheader{margin:0 0 8px}.post-publish-panel__tip{color:#f0b849}.editor-post-saved-state{display:flex;align-items:center;width:28px;padding:12px 4px;color:#555d66;overflow:hidden;white-space:nowrap}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto;margin-right:8px}@media (min-width:600px){.editor-post-saved-state{width:auto;padding:8px 12px;text-indent:inherit}.editor-post-saved-state .dashicon{margin-right:4px}}.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft{margin:0}.editor-post-taxonomies__hierarchical-terms-list{max-height:14em;overflow:auto;padding-left:2px}.editor-post-taxonomies__hierarchical-terms-choice{margin-bottom:8px}.editor-post-taxonomies__hierarchical-terms-subchoices{margin-top:8px;margin-left:16px}.components-button.editor-post-taxonomies__hierarchical-terms-add,.components-button.editor-post-taxonomies__hierarchical-terms-submit{margin-top:12px}.editor-post-taxonomies__hierarchical-terms-label{display:inline-block;margin-top:12px}.editor-post-taxonomies__hierarchical-terms-input{margin-top:8px;width:100%}.editor-post-taxonomies__hierarchical-terms-filter{margin-bottom:8px;width:100%}.editor-post-text-editor{border:1px solid #e2e4e7!important;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace!important;line-height:150%;border-radius:0!important;font-size:16px!important}@media (min-width:600px){.editor-post-text-editor{font-size:14px!important}}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #b5bcc2!important;box-shadow:none!important;outline-offset:-2px!important}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:none;padding:0 8px;margin:3px 4px;text-align:center;cursor:pointer;font-family:Menlo,Consolas,monaco,monospace;color:#555d66;border:1px solid transparent}.editor-post-text-editor__toolbar button:first-child{margin-left:0}.editor-post-text-editor__toolbar button:focus,.editor-post-text-editor__toolbar button:hover{outline:none;border:1px solid #555d66}.editor-post-text-editor__bold{font-weight:600}.editor-post-text-editor__italic{font-style:italic}.editor-post-text-editor__link{text-decoration:underline;color:#0085ba}body.admin-color-sunrise .editor-post-text-editor__link{color:#d1864a}body.admin-color-ocean .editor-post-text-editor__link{color:#a3b9a2}body.admin-color-midnight .editor-post-text-editor__link{color:#e14d43}body.admin-color-ectoplasm .editor-post-text-editor__link{color:#a7b656}body.admin-color-coffee .editor-post-text-editor__link{color:#c2a68c}body.admin-color-blue .editor-post-text-editor__link{color:#82b4cb}body.admin-color-light .editor-post-text-editor__link{color:#0085ba}.editor-post-text-editor__del{text-decoration:line-through}.edit-post-post-visibility__dialog,.editor-post-visibility__dialog-fieldset{padding:0 4px 4px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-legend,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-legend{font-weight:600;margin-bottom:1em;margin-top:.5em;padding:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio{margin-top:2px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-label{font-weight:600}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-info,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-info{margin-top:0;margin-left:28px}.edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info,.editor-post-visibility__dialog-fieldset .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info{margin-bottom:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input{margin-left:28px}.editor-post-title__block{position:relative;padding:5px 0;font-size:16px}@media (min-width:600px){.editor-post-title__block{padding:5px 2px}}.editor-post-title__block .editor-post-title__input{display:block;width:100%;margin:0;box-shadow:none;background:transparent;font-family:"Noto Serif",serif;line-height:1.4;color:#191e23;transition:border .1s ease-out,box-shadow .1s linear;padding:19px 14px;word-break:keep-all;border-color:transparent;border-style:solid;border-width:1px 0;border-radius:0;outline:1px solid transparent;font-size:2.44em;font-weight:600}@media (prefers-reduced-motion:reduce){.editor-post-title__block .editor-post-title__input{transition-duration:0s}}@media (min-width:600px){.editor-post-title__block .editor-post-title__input{border-width:1px 1px 1px 0}}.editor-post-title__block .editor-post-title__input::-webkit-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input::-moz-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:-ms-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:focus{border:1px solid transparent;border-left-width:0;outline:1px solid transparent;box-shadow:none}.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(66,88,99,.4);box-shadow:inset 3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:hsla(0,0%,100%,.45);box-shadow:inset 3px 0 0 0 #d7dade}@media (min-width:600px){.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:-3px 0 0 0 #d7dade}}.editor-post-title__block.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.editor-post-title__block.is-focus-mode .editor-post-title__input{transition-duration:0s}}.editor-post-title__block.is-focus-mode .editor-post-title__input:focus{opacity:1}.editor-post-title .editor-post-permalink{font-size:13px;color:#191e23;height:auto;position:relative;left:3px;top:-2px;width:calc(100% - 3px)}@media (min-width:480px){.editor-post-title .editor-post-permalink{position:absolute;top:-34px;right:0;flex-wrap:nowrap;width:auto}}@media (min-width:600px){.editor-post-title .editor-post-permalink{left:2px;right:2px}}.editor-post-trash.components-button{width:100%;color:#b52727;border-color:#b52727;justify-content:center}.editor-post-trash.components-button:focus,.editor-post-trash.components-button:hover{color:#a02222;border-color:#a02222}.table-of-contents__popover.components-popover .components-popover__content{min-width:380px}.components-popover.table-of-contents__popover{z-index:99998}.table-of-contents__popover .components-popover__content{padding:16px}@media (min-width:600px){.table-of-contents__popover .components-popover__content{max-height:calc(100vh - 120px);overflow-y:auto}}.table-of-contents__popover hr{margin:10px -16px 0}.table-of-contents__wrapper:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;outline-offset:8px}.table-of-contents__counts{display:flex;flex-wrap:wrap;margin:0}.table-of-contents__count{flex-basis:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781;padding-right:8px;margin-bottom:0}.table-of-contents__count:last-child{padding-right:0}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#555d66}.table-of-contents__title{display:block;margin-top:20px;font-size:15px;font-weight:600}.editor-template-validation-notice{display:flex;justify-content:space-between;align-items:center}.editor-template-validation-notice .components-button{margin-left:5px} \ No newline at end of file diff --git a/wp-includes/css/dist/format-library/style-rtl.css b/wp-includes/css/dist/format-library/style-rtl.css index 0f018f323a..014b7a5908 100644 --- a/wp-includes/css/dist/format-library/style-rtl.css +++ b/wp-includes/css/dist/format-library/style-rtl.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -41,8 +38,11 @@ .block-editor-format-toolbar__image-container-content { display: flex; } .block-editor-format-toolbar__image-container-content .components-icon-button { - height: 52px; - align-self: flex-end; } + align-self: flex-end; + height: 30px; + margin-bottom: 8px; + margin-left: 8px; + padding: 0 6px; } .block-editor-format-toolbar__image-container-value { margin: 7px; @@ -53,6 +53,8 @@ max-width: 500px; } .block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field { margin-bottom: 0; } + .block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label { + display: block; } .block-editor-format-toolbar__link-container-content { display: flex; } diff --git a/wp-includes/css/dist/format-library/style-rtl.min.css b/wp-includes/css/dist/format-library/style-rtl.min.css index adda229d43..e33829640b 100644 --- a/wp-includes/css/dist/format-library/style-rtl.min.css +++ b/wp-includes/css/dist/format-library/style-rtl.min.css @@ -1 +1 @@ -.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-icon-button{height:52px;align-self:flex-end}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#d94f4f} \ No newline at end of file +.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-icon-button{align-self:flex-end;height:30px;margin-bottom:8px;margin-left:8px;padding:0 6px}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label{display:block}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#d94f4f} \ No newline at end of file diff --git a/wp-includes/css/dist/format-library/style.css b/wp-includes/css/dist/format-library/style.css index 0f018f323a..835a5b5977 100644 --- a/wp-includes/css/dist/format-library/style.css +++ b/wp-includes/css/dist/format-library/style.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -41,8 +38,11 @@ .block-editor-format-toolbar__image-container-content { display: flex; } .block-editor-format-toolbar__image-container-content .components-icon-button { - height: 52px; - align-self: flex-end; } + align-self: flex-end; + height: 30px; + margin-bottom: 8px; + margin-right: 8px; + padding: 0 6px; } .block-editor-format-toolbar__image-container-value { margin: 7px; @@ -53,6 +53,8 @@ max-width: 500px; } .block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field { margin-bottom: 0; } + .block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label { + display: block; } .block-editor-format-toolbar__link-container-content { display: flex; } diff --git a/wp-includes/css/dist/format-library/style.min.css b/wp-includes/css/dist/format-library/style.min.css index adda229d43..3ea395aa3a 100644 --- a/wp-includes/css/dist/format-library/style.min.css +++ b/wp-includes/css/dist/format-library/style.min.css @@ -1 +1 @@ -.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-icon-button{height:52px;align-self:flex-end}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#d94f4f} \ No newline at end of file +.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-icon-button{align-self:flex-end;height:30px;margin-bottom:8px;margin-right:8px;padding:0 6px}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label{display:block}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#d94f4f} \ No newline at end of file diff --git a/wp-includes/css/dist/list-reusable-blocks/style-rtl.css b/wp-includes/css/dist/list-reusable-blocks/style-rtl.css index 38b7013a6e..cba878db82 100644 --- a/wp-includes/css/dist/list-reusable-blocks/style-rtl.css +++ b/wp-includes/css/dist/list-reusable-blocks/style-rtl.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ diff --git a/wp-includes/css/dist/list-reusable-blocks/style.css b/wp-includes/css/dist/list-reusable-blocks/style.css index 800e7f4bfb..7e53071c6b 100644 --- a/wp-includes/css/dist/list-reusable-blocks/style.css +++ b/wp-includes/css/dist/list-reusable-blocks/style.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ diff --git a/wp-includes/css/dist/nux/style-rtl.css b/wp-includes/css/dist/nux/style-rtl.css index ec489b5831..9034301bd7 100644 --- a/wp-includes/css/dist/nux/style-rtl.css +++ b/wp-includes/css/dist/nux/style-rtl.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -76,34 +73,34 @@ left: 0; top: 0; } -.nux-dot-tip.is-top { +.nux-dot-tip[data-y-axis="top"] { margin-top: -4px; } -.nux-dot-tip.is-bottom { +.nux-dot-tip[data-y-axis="bottom"] { margin-top: 4px; } -.nux-dot-tip.is-middle.is-left { +.nux-dot-tip[data-y-axis="middle"][data-y-axis="left"] { margin-right: -4px; } -.nux-dot-tip.is-middle.is-right { +.nux-dot-tip[data-y-axis="middle"][data-y-axis="right"] { margin-right: 4px; } -.nux-dot-tip.is-top .components-popover__content { +.nux-dot-tip[data-y-axis="top"] .components-popover__content { margin-bottom: 20px; } -.nux-dot-tip.is-bottom .components-popover__content { +.nux-dot-tip[data-y-axis="bottom"] .components-popover__content { margin-top: 20px; } -.nux-dot-tip.is-middle.is-left .components-popover__content { +.nux-dot-tip[data-y-axis="middle"][data-y-axis="left"] .components-popover__content { margin-left: 20px; } -.nux-dot-tip.is-middle.is-right .components-popover__content { +.nux-dot-tip[data-y-axis="middle"][data-y-axis="right"] .components-popover__content { margin-right: 20px; } -.nux-dot-tip:not(.is-mobile).is-left, .nux-dot-tip:not(.is-mobile).is-center, .nux-dot-tip:not(.is-mobile).is-right { +.nux-dot-tip[data-y-axis="left"], .nux-dot-tip[data-y-axis="center"], .nux-dot-tip[data-y-axis="right"] { z-index: 1000001; } @media (max-width: 600px) { - .nux-dot-tip:not(.is-mobile).is-left .components-popover__content, .nux-dot-tip:not(.is-mobile).is-center .components-popover__content, .nux-dot-tip:not(.is-mobile).is-right .components-popover__content { + .nux-dot-tip[data-y-axis="left"] .components-popover__content, .nux-dot-tip[data-y-axis="center"] .components-popover__content, .nux-dot-tip[data-y-axis="right"] .components-popover__content { -ms-grid-row-align: end; align-self: end; right: 5px; @@ -113,14 +110,14 @@ left: 5px; width: auto; } } -.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content { +.nux-dot-tip.components-popover:not([data-y-axis="middle"])[data-y-axis="right"] .components-popover__content { margin-left: 0; } -.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content { +.nux-dot-tip.components-popover:not([data-y-axis="middle"])[data-y-axis="left"] .components-popover__content { margin-right: 0; } -.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-right .components-popover__content { +.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis="middle"])[data-y-axis="right"] .components-popover__content { margin-left: -12px; } -.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-left .components-popover__content { +.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis="middle"])[data-y-axis="left"] .components-popover__content { margin-right: -12px; } diff --git a/wp-includes/css/dist/nux/style-rtl.min.css b/wp-includes/css/dist/nux/style-rtl.min.css index ec4b2cdc0a..1814f2778a 100644 --- a/wp-includes/css/dist/nux/style-rtl.min.css +++ b/wp-includes/css/dist/nux/style-rtl.min.css @@ -1 +1 @@ -.nux-dot-tip:after,.nux-dot-tip:before{border-radius:100%;content:" ";pointer-events:none;position:absolute}.nux-dot-tip:before{animation:nux-pulse 1.6s cubic-bezier(.17,.67,.92,.62) infinite;background:rgba(0,115,156,.9);height:24px;right:-12px;top:-12px;transform:scale(.33333);width:24px}.nux-dot-tip:after{background:#00739c;height:8px;right:-4px;top:-4px;width:8px}@keyframes nux-pulse{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{padding:5px 20px 5px 41px;width:350px}@media (min-width:600px){.nux-dot-tip .components-popover__content{width:450px}}.nux-dot-tip .components-popover__content .nux-dot-tip__disable{position:absolute;left:0;top:0}.nux-dot-tip.is-top{margin-top:-4px}.nux-dot-tip.is-bottom{margin-top:4px}.nux-dot-tip.is-middle.is-left{margin-right:-4px}.nux-dot-tip.is-middle.is-right{margin-right:4px}.nux-dot-tip.is-top .components-popover__content{margin-bottom:20px}.nux-dot-tip.is-bottom .components-popover__content{margin-top:20px}.nux-dot-tip.is-middle.is-left .components-popover__content{margin-left:20px}.nux-dot-tip.is-middle.is-right .components-popover__content{margin-right:20px}.nux-dot-tip:not(.is-mobile).is-center,.nux-dot-tip:not(.is-mobile).is-left,.nux-dot-tip:not(.is-mobile).is-right{z-index:1000001}@media (max-width:600px){.nux-dot-tip:not(.is-mobile).is-center .components-popover__content,.nux-dot-tip:not(.is-mobile).is-left .components-popover__content,.nux-dot-tip:not(.is-mobile).is-right .components-popover__content{-ms-grid-row-align:end;align-self:end;right:5px;margin:20px 0 0;max-width:none!important;position:fixed;left:5px;width:auto}}.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content{margin-left:0}.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content{margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-right .components-popover__content{margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-left .components-popover__content{margin-right:-12px} \ No newline at end of file +.nux-dot-tip:after,.nux-dot-tip:before{border-radius:100%;content:" ";pointer-events:none;position:absolute}.nux-dot-tip:before{animation:nux-pulse 1.6s cubic-bezier(.17,.67,.92,.62) infinite;background:rgba(0,115,156,.9);height:24px;right:-12px;top:-12px;transform:scale(.33333);width:24px}.nux-dot-tip:after{background:#00739c;height:8px;right:-4px;top:-4px;width:8px}@keyframes nux-pulse{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{padding:5px 20px 5px 41px;width:350px}@media (min-width:600px){.nux-dot-tip .components-popover__content{width:450px}}.nux-dot-tip .components-popover__content .nux-dot-tip__disable{position:absolute;left:0;top:0}.nux-dot-tip[data-y-axis=top]{margin-top:-4px}.nux-dot-tip[data-y-axis=bottom]{margin-top:4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left]{margin-right:-4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right]{margin-right:4px}.nux-dot-tip[data-y-axis=top] .components-popover__content{margin-bottom:20px}.nux-dot-tip[data-y-axis=bottom] .components-popover__content{margin-top:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left] .components-popover__content{margin-left:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right] .components-popover__content{margin-right:20px}.nux-dot-tip[data-y-axis=center],.nux-dot-tip[data-y-axis=left],.nux-dot-tip[data-y-axis=right]{z-index:1000001}@media (max-width:600px){.nux-dot-tip[data-y-axis=center] .components-popover__content,.nux-dot-tip[data-y-axis=left] .components-popover__content,.nux-dot-tip[data-y-axis=right] .components-popover__content{-ms-grid-row-align:end;align-self:end;right:5px;margin:20px 0 0;max-width:none!important;position:fixed;left:5px;width:auto}}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{margin-left:0}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{margin-right:-12px} \ No newline at end of file diff --git a/wp-includes/css/dist/nux/style.css b/wp-includes/css/dist/nux/style.css index 33eaaa6669..4e7c9587c0 100644 --- a/wp-includes/css/dist/nux/style.css +++ b/wp-includes/css/dist/nux/style.css @@ -22,9 +22,6 @@ /** * Applies editor left position to the selector passed as argument */ -/** - * Applies editor right position to the selector passed as argument - */ /** * Styles that are reused verbatim in a few places */ @@ -76,34 +73,34 @@ right: 0; top: 0; } -.nux-dot-tip.is-top { +.nux-dot-tip[data-y-axis="top"] { margin-top: -4px; } -.nux-dot-tip.is-bottom { +.nux-dot-tip[data-y-axis="bottom"] { margin-top: 4px; } -.nux-dot-tip.is-middle.is-left { +.nux-dot-tip[data-y-axis="middle"][data-y-axis="left"] { margin-left: -4px; } -.nux-dot-tip.is-middle.is-right { +.nux-dot-tip[data-y-axis="middle"][data-y-axis="right"] { margin-left: 4px; } -.nux-dot-tip.is-top .components-popover__content { +.nux-dot-tip[data-y-axis="top"] .components-popover__content { margin-bottom: 20px; } -.nux-dot-tip.is-bottom .components-popover__content { +.nux-dot-tip[data-y-axis="bottom"] .components-popover__content { margin-top: 20px; } -.nux-dot-tip.is-middle.is-left .components-popover__content { +.nux-dot-tip[data-y-axis="middle"][data-y-axis="left"] .components-popover__content { margin-right: 20px; } -.nux-dot-tip.is-middle.is-right .components-popover__content { +.nux-dot-tip[data-y-axis="middle"][data-y-axis="right"] .components-popover__content { margin-left: 20px; } -.nux-dot-tip:not(.is-mobile).is-left, .nux-dot-tip:not(.is-mobile).is-center, .nux-dot-tip:not(.is-mobile).is-right { +.nux-dot-tip[data-y-axis="left"], .nux-dot-tip[data-y-axis="center"], .nux-dot-tip[data-y-axis="right"] { z-index: 1000001; } @media (max-width: 600px) { - .nux-dot-tip:not(.is-mobile).is-left .components-popover__content, .nux-dot-tip:not(.is-mobile).is-center .components-popover__content, .nux-dot-tip:not(.is-mobile).is-right .components-popover__content { + .nux-dot-tip[data-y-axis="left"] .components-popover__content, .nux-dot-tip[data-y-axis="center"] .components-popover__content, .nux-dot-tip[data-y-axis="right"] .components-popover__content { -ms-grid-row-align: end; align-self: end; left: 5px; @@ -113,18 +110,18 @@ right: 5px; width: auto; } } -.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content { +.nux-dot-tip.components-popover:not([data-y-axis="middle"])[data-y-axis="right"] .components-popover__content { /*!rtl:ignore*/ margin-left: 0; } -.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content { +.nux-dot-tip.components-popover:not([data-y-axis="middle"])[data-y-axis="left"] .components-popover__content { /*!rtl:ignore*/ margin-right: 0; } -.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-right .components-popover__content { +.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis="middle"])[data-y-axis="right"] .components-popover__content { /*!rtl:ignore*/ margin-left: -12px; } -.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-left .components-popover__content { +.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis="middle"])[data-y-axis="left"] .components-popover__content { /*!rtl:ignore*/ margin-right: -12px; } diff --git a/wp-includes/css/dist/nux/style.min.css b/wp-includes/css/dist/nux/style.min.css index 84851e94d9..6d80289a2d 100644 --- a/wp-includes/css/dist/nux/style.min.css +++ b/wp-includes/css/dist/nux/style.min.css @@ -1,5 +1,5 @@ -.nux-dot-tip:after,.nux-dot-tip:before{border-radius:100%;content:" ";pointer-events:none;position:absolute}.nux-dot-tip:before{animation:nux-pulse 1.6s cubic-bezier(.17,.67,.92,.62) infinite;background:rgba(0,115,156,.9);height:24px;left:-12px;top:-12px;transform:scale(.33333);width:24px}.nux-dot-tip:after{background:#00739c;height:8px;left:-4px;top:-4px;width:8px}@keyframes nux-pulse{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{padding:5px 41px 5px 20px;width:350px}@media (min-width:600px){.nux-dot-tip .components-popover__content{width:450px}}.nux-dot-tip .components-popover__content .nux-dot-tip__disable{position:absolute;right:0;top:0}.nux-dot-tip.is-top{margin-top:-4px}.nux-dot-tip.is-bottom{margin-top:4px}.nux-dot-tip.is-middle.is-left{margin-left:-4px}.nux-dot-tip.is-middle.is-right{margin-left:4px}.nux-dot-tip.is-top .components-popover__content{margin-bottom:20px}.nux-dot-tip.is-bottom .components-popover__content{margin-top:20px}.nux-dot-tip.is-middle.is-left .components-popover__content{margin-right:20px}.nux-dot-tip.is-middle.is-right .components-popover__content{margin-left:20px}.nux-dot-tip:not(.is-mobile).is-center,.nux-dot-tip:not(.is-mobile).is-left,.nux-dot-tip:not(.is-mobile).is-right{z-index:1000001}@media (max-width:600px){.nux-dot-tip:not(.is-mobile).is-center .components-popover__content,.nux-dot-tip:not(.is-mobile).is-left .components-popover__content,.nux-dot-tip:not(.is-mobile).is-right .components-popover__content{-ms-grid-row-align:end;align-self:end;left:5px;margin:20px 0 0;max-width:none!important;position:fixed;right:5px;width:auto}}.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content{ - /*!rtl:ignore*/margin-left:0}.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content{ - /*!rtl:ignore*/margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-right .components-popover__content{ - /*!rtl:ignore*/margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-left .components-popover__content{ +.nux-dot-tip:after,.nux-dot-tip:before{border-radius:100%;content:" ";pointer-events:none;position:absolute}.nux-dot-tip:before{animation:nux-pulse 1.6s cubic-bezier(.17,.67,.92,.62) infinite;background:rgba(0,115,156,.9);height:24px;left:-12px;top:-12px;transform:scale(.33333);width:24px}.nux-dot-tip:after{background:#00739c;height:8px;left:-4px;top:-4px;width:8px}@keyframes nux-pulse{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{padding:5px 41px 5px 20px;width:350px}@media (min-width:600px){.nux-dot-tip .components-popover__content{width:450px}}.nux-dot-tip .components-popover__content .nux-dot-tip__disable{position:absolute;right:0;top:0}.nux-dot-tip[data-y-axis=top]{margin-top:-4px}.nux-dot-tip[data-y-axis=bottom]{margin-top:4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left]{margin-left:-4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right]{margin-left:4px}.nux-dot-tip[data-y-axis=top] .components-popover__content{margin-bottom:20px}.nux-dot-tip[data-y-axis=bottom] .components-popover__content{margin-top:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left] .components-popover__content{margin-right:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right] .components-popover__content{margin-left:20px}.nux-dot-tip[data-y-axis=center],.nux-dot-tip[data-y-axis=left],.nux-dot-tip[data-y-axis=right]{z-index:1000001}@media (max-width:600px){.nux-dot-tip[data-y-axis=center] .components-popover__content,.nux-dot-tip[data-y-axis=left] .components-popover__content,.nux-dot-tip[data-y-axis=right] .components-popover__content{-ms-grid-row-align:end;align-self:end;left:5px;margin:20px 0 0;max-width:none!important;position:fixed;right:5px;width:auto}}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{ + /*!rtl:ignore*/margin-left:0}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{ + /*!rtl:ignore*/margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{ + /*!rtl:ignore*/margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{ /*!rtl:ignore*/margin-right:-12px} \ No newline at end of file diff --git a/wp-includes/js/dist/a11y.js b/wp-includes/js/dist/a11y.js index 2c844cbbd5..60c7748ff1 100644 --- a/wp-includes/js/dist/a11y.js +++ b/wp-includes/js/dist/a11y.js @@ -82,26 +82,26 @@ this["wp"] = this["wp"] || {}; this["wp"]["a11y"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 367); +/******/ return __webpack_require__(__webpack_require__.s = 387); /******/ }) /************************************************************************/ /******/ ({ -/***/ 216: +/***/ 215: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["domReady"]; }()); /***/ }), -/***/ 367: +/***/ 387: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: external {"this":["wp","domReady"]} -var external_this_wp_domReady_ = __webpack_require__(216); +var external_this_wp_domReady_ = __webpack_require__(215); var external_this_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_domReady_); // CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/addContainer.js diff --git a/wp-includes/js/dist/a11y.min.js b/wp-includes/js/dist/a11y.min.js index 6271e63f51..9825c748af 100644 --- a/wp-includes/js/dist/a11y.min.js +++ b/wp-includes/js/dist/a11y.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.a11y=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=367)}({216:function(e,t){!function(){e.exports=this.wp.domReady}()},367:function(e,t,n){"use strict";n.r(t);var r=n(216),o=n.n(r),i=function(e){e=e||"polite";var t=document.createElement("div");return t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t},a=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t]+>/g," "),u===e&&(e+=" "),u=e,e};n.d(t,"setup",(function(){return p})),n.d(t,"speak",(function(){return c}));var p=function(){var e=document.getElementById("a11y-speak-polite"),t=document.getElementById("a11y-speak-assertive");null===e&&(e=i("polite")),null===t&&(t=i("assertive"))};o()(p);var c=function(e,t){a(),e=l(e);var n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.a11y=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=387)}({215:function(e,t){!function(){e.exports=this.wp.domReady}()},387:function(e,t,n){"use strict";n.r(t);var r=n(215),o=n.n(r),i=function(e){e=e||"polite";var t=document.createElement("div");return t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t},a=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t]+>/g," "),u===e&&(e+=" "),u=e,e};n.d(t,"setup",(function(){return p})),n.d(t,"speak",(function(){return c}));var p=function(){var e=document.getElementById("a11y-speak-polite"),t=document.getElementById("a11y-speak-assertive");null===e&&(e=i("polite")),null===t&&(t=i("assertive"))};o()(p);var c=function(e,t){a(),e=l(e);var n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}}}); \ No newline at end of file diff --git a/wp-includes/js/dist/annotations.js b/wp-includes/js/dist/annotations.js index b4bd1cd077..1f3f6d90e8 100644 --- a/wp-includes/js/dist/annotations.js +++ b/wp-includes/js/dist/annotations.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["annotations"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 357); +/******/ return __webpack_require__(__webpack_require__.s = 379); /******/ }) /************************************************************************/ /******/ ({ @@ -94,29 +94,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["annotations"] = /***/ }), -/***/ 10: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -/***/ }), - -/***/ 17: +/***/ 18: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -132,7 +110,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(30); +var iterableToArray = __webpack_require__(32); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -160,28 +138,12 @@ function _toConsumableArray(arr) { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; }); +/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40); function _objectWithoutProperties(source, excluded) { if (source == null) return {}; - var target = _objectWithoutPropertiesLoose(source, excluded); + var target = Object(_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { @@ -200,7 +162,7 @@ function _objectWithoutProperties(source, excluded) { /***/ }), -/***/ 22: +/***/ 24: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["richText"]; }()); @@ -214,7 +176,7 @@ function _objectWithoutProperties(source, excluded) { /***/ }), -/***/ 30: +/***/ 32: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -225,7 +187,7 @@ function _iterableToArray(iter) { /***/ }), -/***/ 357: +/***/ 379: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -247,10 +209,10 @@ __webpack_require__.d(actions_namespaceObject, "__experimentalRemoveAnnotationsB var external_this_wp_data_ = __webpack_require__(4); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(10); +var defineProperty = __webpack_require__(9); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(17); +var toConsumableArray = __webpack_require__(18); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js var objectSpread = __webpack_require__(7); @@ -363,11 +325,11 @@ function reducer_annotations() { } /* harmony default export */ var reducer = (reducer_annotations); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js var objectWithoutProperties = __webpack_require__(21); // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(36); +var rememo = __webpack_require__(38); // CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/selectors.js @@ -577,7 +539,7 @@ var store = Object(external_this_wp_data_["registerStore"])(MODULE_KEY, { /* harmony default export */ var build_module_store = (store); // EXTERNAL MODULE: external {"this":["wp","richText"]} -var external_this_wp_richText_ = __webpack_require__(22); +var external_this_wp_richText_ = __webpack_require__(24); // EXTERNAL MODULE: external {"this":["wp","i18n"]} var external_this_wp_i18n_ = __webpack_require__(1); @@ -815,7 +777,7 @@ Object(external_this_wp_hooks_["addFilter"])('editor.BlockListBlock', 'core/anno /***/ }), -/***/ 36: +/***/ 38: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1104,11 +1066,33 @@ function isShallowEqual( a, b, fromIndex ) { /***/ }), +/***/ 40: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + +/***/ }), + /***/ 66: /***/ (function(module, exports, __webpack_require__) { -var rng = __webpack_require__(84); -var bytesToUuid = __webpack_require__(85); +var rng = __webpack_require__(86); +var bytesToUuid = __webpack_require__(87); function v4(options, buf, offset) { var i = buf && offset || 0; @@ -1145,12 +1129,12 @@ module.exports = v4; "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(source); + var ownKeys = Object.keys(Object(source)); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -1168,7 +1152,7 @@ function _objectSpread(target) { /***/ }), -/***/ 84: +/***/ 86: /***/ (function(module, exports) { // Unique ID creation requires a high quality random # generator. In the @@ -1209,7 +1193,7 @@ if (getRandomValues) { /***/ }), -/***/ 85: +/***/ 87: /***/ (function(module, exports) { /** @@ -1238,6 +1222,28 @@ function bytesToUuid(buf, offset) { module.exports = bytesToUuid; +/***/ }), + +/***/ 9: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/annotations.min.js b/wp-includes/js/dist/annotations.min.js index 29d31d5254..1e669755b1 100644 --- a/wp-includes/js/dist/annotations.min.js +++ b/wp-includes/js/dist/annotations.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.annotations=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=357)}({1:function(t,n){!function(){t.exports=this.wp.i18n}()},10:function(t,n,e){"use strict";function r(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}e.d(n,"a",(function(){return r}))},17:function(t,n,e){"use strict";var r=e(30);function o(t){return function(t){if(Array.isArray(t)){for(var n=0,e=new Array(t.length);n=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}e.d(n,"a",(function(){return r}))},22:function(t,n){!function(){t.exports=this.wp.richText}()},27:function(t,n){!function(){t.exports=this.wp.hooks}()},30:function(t,n,e){"use strict";function r(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}e.d(n,"a",(function(){return r}))},357:function(t,n,e){"use strict";e.r(n);var r={};e.r(r),e.d(r,"__experimentalGetAnnotationsForBlock",(function(){return v})),e.d(r,"__experimentalGetAllAnnotationsForBlock",(function(){return O})),e.d(r,"__experimentalGetAnnotationsForRichText",(function(){return g})),e.d(r,"__experimentalGetAnnotations",(function(){return m}));var o={};e.r(o),e.d(o,"__experimentalAddAnnotation",(function(){return x})),e.d(o,"__experimentalRemoveAnnotation",(function(){return A})),e.d(o,"__experimentalUpdateAnnotationRange",(function(){return _})),e.d(o,"__experimentalRemoveAnnotationsBySource",(function(){return j}));var a=e(4),i=e(10),u=e(17),c=e(7),f=e(2);function l(t,n){var e=t.filter(n);return t.length===e.length?t:e}var s=function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"ANNOTATION_ADD":var r=e.blockClientId,o={id:e.id,blockClientId:r,richTextIdentifier:e.richTextIdentifier,source:e.source,selector:e.selector,range:e.range};if("range"===o.selector&&(t=o.range,!(Object(f.isNumber)(t.start)&&Object(f.isNumber)(t.end)&&t.start<=t.end)))return n;var a=Object(f.get)(n,r,[]);return Object(c.a)({},n,Object(i.a)({},r,[].concat(Object(u.a)(a),[o])));case"ANNOTATION_REMOVE":return Object(f.mapValues)(n,(function(t){return l(t,(function(t){return t.id!==e.annotationId}))}));case"ANNOTATION_UPDATE_RANGE":return Object(f.mapValues)(n,(function(t){var n=!1,r=t.map((function(t){return t.id===e.annotationId?(n=!0,Object(c.a)({},t,{range:{start:e.start,end:e.end}})):t}));return n?r:t}));case"ANNOTATION_REMOVE_SOURCE":return Object(f.mapValues)(n,(function(t){return l(t,(function(t){return t.source!==e.source}))}))}return n},d=e(21),p=e(36),b=[],v=Object(p.a)((function(t,n){return Object(f.get)(t,n,[]).filter((function(t){return"block"===t.selector}))}),(function(t,n){return[Object(f.get)(t,n,b)]})),O=function(t,n){return Object(f.get)(t,n,b)},g=Object(p.a)((function(t,n,e){return Object(f.get)(t,n,[]).filter((function(t){return"range"===t.selector&&e===t.richTextIdentifier})).map((function(t){var n=t.range,e=Object(d.a)(t,["range"]);return Object(c.a)({},n,e)}))}),(function(t,n){return[Object(f.get)(t,n,b)]}));function m(t){return Object(f.flatMap)(t,(function(t){return t}))}var y=e(66),h=e.n(y);function x(t){var n=t.blockClientId,e=t.richTextIdentifier,r=void 0===e?null:e,o=t.range,a=void 0===o?null:o,i=t.selector,u=void 0===i?"range":i,c=t.source,f=void 0===c?"default":c,l=t.id,s={type:"ANNOTATION_ADD",id:void 0===l?h()():l,blockClientId:n,richTextIdentifier:r,source:f,selector:u};return"range"===u&&(s.range=a),s}function A(t){return{type:"ANNOTATION_REMOVE",annotationId:t}}function _(t,n,e){return{type:"ANNOTATION_UPDATE_RANGE",annotationId:t,start:n,end:e}}function j(t){return{type:"ANNOTATION_REMOVE_SOURCE",source:t}}Object(a.registerStore)("core/annotations",{reducer:s,selectors:r,actions:o});var T=e(22),N=e(1),w="core/annotation",I="annotation-text-";var E={name:w,title:Object(N.__)("Annotation"),tagName:"mark",className:"annotation-text",attributes:{className:"class",id:"id"},edit:function(){return null},__experimentalGetPropsForEditableTreePreparation:function(t,n){var e=n.richTextIdentifier,r=n.blockClientId;return{annotations:t("core/annotations").__experimentalGetAnnotationsForRichText(r,e)}},__experimentalCreatePrepareEditableTree:function(t){var n=t.annotations;return function(t,e){if(0===n.length)return t;var r={formats:t,text:e};return(r=function(t){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).forEach((function(n){var e=n.start,r=n.end;e>t.text.length&&(e=t.text.length),r>t.text.length&&(r=t.text.length);var o=I+n.source,a=I+n.id;t=Object(T.applyFormat)(t,{type:w,attributes:{className:o,id:a}},e,r)})),t}(r,n)).formats}},__experimentalGetPropsForEditableTreeChangeHandler:function(t){return{removeAnnotation:t("core/annotations").__experimentalRemoveAnnotation,updateAnnotationRange:t("core/annotations").__experimentalUpdateAnnotationRange}},__experimentalCreateOnChangeEditableValue:function(t){return function(n){var e=function(t){var n={};return t.forEach((function(t,e){(t=(t=t||[]).filter((function(t){return t.type===w}))).forEach((function(t){var r=t.attributes.id;r=r.replace(I,""),n.hasOwnProperty(r)||(n[r]={start:e}),n[r].end=e+1}))})),n}(n),r=t.removeAnnotation,o=t.updateAnnotationRange;!function(t,n,e){var r=e.removeAnnotation,o=e.updateAnnotationRange;t.forEach((function(t){var e=n[t.id];if(e){var a=t.start,i=t.end;a===e.start&&i===e.end||o(t.id,e.start,e.end)}else r(t.id)}))}(t.annotations,e,{removeAnnotation:r,updateAnnotationRange:o})}}},R=E.name,k=Object(d.a)(E,["name"]);Object(T.registerFormatType)(R,k);var P=e(27);Object(P.addFilter)("editor.BlockListBlock","core/annotations",(function(t){return Object(a.withSelect)((function(t,n){var e=n.clientId;return{className:t("core/annotations").__experimentalGetAnnotationsForBlock(e).map((function(t){return"is-annotated-by-"+t.source})).join(" ")}}))(t)}))},36:function(t,n,e){"use strict";var r,o;function a(t){return[t]}function i(){var t={clear:function(){t.head=null}};return t}function u(t,n,e){var r;if(t.length!==n.length)return!1;for(r=e;r>>((3&n)<<3)&255;return o}}},85:function(t,n){for(var e=[],r=0;r<256;++r)e[r]=(r+256).toString(16).substr(1);t.exports=function(t,n){var r=n||0,o=e;return[o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]]].join("")}}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.annotations=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=379)}({1:function(t,n){!function(){t.exports=this.wp.i18n}()},18:function(t,n,e){"use strict";var r=e(32);function o(t){return function(t){if(Array.isArray(t)){for(var n=0,e=new Array(t.length);n=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(a[e]=t[e])}return a}},24:function(t,n){!function(){t.exports=this.wp.richText}()},27:function(t,n){!function(){t.exports=this.wp.hooks}()},32:function(t,n,e){"use strict";function r(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}e.d(n,"a",(function(){return r}))},379:function(t,n,e){"use strict";e.r(n);var r={};e.r(r),e.d(r,"__experimentalGetAnnotationsForBlock",(function(){return v})),e.d(r,"__experimentalGetAllAnnotationsForBlock",(function(){return O})),e.d(r,"__experimentalGetAnnotationsForRichText",(function(){return g})),e.d(r,"__experimentalGetAnnotations",(function(){return m}));var o={};e.r(o),e.d(o,"__experimentalAddAnnotation",(function(){return x})),e.d(o,"__experimentalRemoveAnnotation",(function(){return A})),e.d(o,"__experimentalUpdateAnnotationRange",(function(){return j})),e.d(o,"__experimentalRemoveAnnotationsBySource",(function(){return _}));var a=e(4),i=e(9),u=e(18),c=e(7),f=e(2);function l(t,n){var e=t.filter(n);return t.length===e.length?t:e}var s=function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"ANNOTATION_ADD":var r=e.blockClientId,o={id:e.id,blockClientId:r,richTextIdentifier:e.richTextIdentifier,source:e.source,selector:e.selector,range:e.range};if("range"===o.selector&&(t=o.range,!(Object(f.isNumber)(t.start)&&Object(f.isNumber)(t.end)&&t.start<=t.end)))return n;var a=Object(f.get)(n,r,[]);return Object(c.a)({},n,Object(i.a)({},r,[].concat(Object(u.a)(a),[o])));case"ANNOTATION_REMOVE":return Object(f.mapValues)(n,(function(t){return l(t,(function(t){return t.id!==e.annotationId}))}));case"ANNOTATION_UPDATE_RANGE":return Object(f.mapValues)(n,(function(t){var n=!1,r=t.map((function(t){return t.id===e.annotationId?(n=!0,Object(c.a)({},t,{range:{start:e.start,end:e.end}})):t}));return n?r:t}));case"ANNOTATION_REMOVE_SOURCE":return Object(f.mapValues)(n,(function(t){return l(t,(function(t){return t.source!==e.source}))}))}return n},d=e(21),p=e(38),b=[],v=Object(p.a)((function(t,n){return Object(f.get)(t,n,[]).filter((function(t){return"block"===t.selector}))}),(function(t,n){return[Object(f.get)(t,n,b)]})),O=function(t,n){return Object(f.get)(t,n,b)},g=Object(p.a)((function(t,n,e){return Object(f.get)(t,n,[]).filter((function(t){return"range"===t.selector&&e===t.richTextIdentifier})).map((function(t){var n=t.range,e=Object(d.a)(t,["range"]);return Object(c.a)({},n,e)}))}),(function(t,n){return[Object(f.get)(t,n,b)]}));function m(t){return Object(f.flatMap)(t,(function(t){return t}))}var y=e(66),h=e.n(y);function x(t){var n=t.blockClientId,e=t.richTextIdentifier,r=void 0===e?null:e,o=t.range,a=void 0===o?null:o,i=t.selector,u=void 0===i?"range":i,c=t.source,f=void 0===c?"default":c,l=t.id,s={type:"ANNOTATION_ADD",id:void 0===l?h()():l,blockClientId:n,richTextIdentifier:r,source:f,selector:u};return"range"===u&&(s.range=a),s}function A(t){return{type:"ANNOTATION_REMOVE",annotationId:t}}function j(t,n,e){return{type:"ANNOTATION_UPDATE_RANGE",annotationId:t,start:n,end:e}}function _(t){return{type:"ANNOTATION_REMOVE_SOURCE",source:t}}Object(a.registerStore)("core/annotations",{reducer:s,selectors:r,actions:o});var T=e(24),N=e(1),w="core/annotation",I="annotation-text-";var E={name:w,title:Object(N.__)("Annotation"),tagName:"mark",className:"annotation-text",attributes:{className:"class",id:"id"},edit:function(){return null},__experimentalGetPropsForEditableTreePreparation:function(t,n){var e=n.richTextIdentifier,r=n.blockClientId;return{annotations:t("core/annotations").__experimentalGetAnnotationsForRichText(r,e)}},__experimentalCreatePrepareEditableTree:function(t){var n=t.annotations;return function(t,e){if(0===n.length)return t;var r={formats:t,text:e};return(r=function(t){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).forEach((function(n){var e=n.start,r=n.end;e>t.text.length&&(e=t.text.length),r>t.text.length&&(r=t.text.length);var o=I+n.source,a=I+n.id;t=Object(T.applyFormat)(t,{type:w,attributes:{className:o,id:a}},e,r)})),t}(r,n)).formats}},__experimentalGetPropsForEditableTreeChangeHandler:function(t){return{removeAnnotation:t("core/annotations").__experimentalRemoveAnnotation,updateAnnotationRange:t("core/annotations").__experimentalUpdateAnnotationRange}},__experimentalCreateOnChangeEditableValue:function(t){return function(n){var e=function(t){var n={};return t.forEach((function(t,e){(t=(t=t||[]).filter((function(t){return t.type===w}))).forEach((function(t){var r=t.attributes.id;r=r.replace(I,""),n.hasOwnProperty(r)||(n[r]={start:e}),n[r].end=e+1}))})),n}(n),r=t.removeAnnotation,o=t.updateAnnotationRange;!function(t,n,e){var r=e.removeAnnotation,o=e.updateAnnotationRange;t.forEach((function(t){var e=n[t.id];if(e){var a=t.start,i=t.end;a===e.start&&i===e.end||o(t.id,e.start,e.end)}else r(t.id)}))}(t.annotations,e,{removeAnnotation:r,updateAnnotationRange:o})}}},R=E.name,k=Object(d.a)(E,["name"]);Object(T.registerFormatType)(R,k);var P=e(27);Object(P.addFilter)("editor.BlockListBlock","core/annotations",(function(t){return Object(a.withSelect)((function(t,n){var e=n.clientId;return{className:t("core/annotations").__experimentalGetAnnotationsForBlock(e).map((function(t){return"is-annotated-by-"+t.source})).join(" ")}}))(t)}))},38:function(t,n,e){"use strict";var r,o;function a(t){return[t]}function i(){var t={clear:function(){t.head=null}};return t}function u(t,n,e){var r;if(t.length!==n.length)return!1;for(r=e;r=0||(o[e]=t[e]);return o}e.d(n,"a",(function(){return r}))},66:function(t,n,e){var r=e(86),o=e(87);t.exports=function(t,n,e){var a=n&&e||0;"string"==typeof t&&(n="binary"===t?new Array(16):null,t=null);var i=(t=t||{}).random||(t.rng||r)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,n)for(var u=0;u<16;++u)n[a+u]=i[u];return n||o(i)}},7:function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=e(9);function o(t){for(var n=1;n>>((3&n)<<3)&255;return o}}},87:function(t,n){for(var e=[],r=0;r<256;++r)e[r]=(r+256).toString(16).substr(1);t.exports=function(t,n){var r=n||0,o=e;return[o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]]].join("")}},9:function(t,n,e){"use strict";function r(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}e.d(n,"a",(function(){return r}))}}); \ No newline at end of file diff --git a/wp-includes/js/dist/api-fetch.js b/wp-includes/js/dist/api-fetch.js index 5968ecbc77..d287536508 100644 --- a/wp-includes/js/dist/api-fetch.js +++ b/wp-includes/js/dist/api-fetch.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["apiFetch"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 354); +/******/ return __webpack_require__(__webpack_require__.s = 375); /******/ }) /************************************************************************/ /******/ ({ @@ -94,61 +94,16 @@ this["wp"] = this["wp"] || {}; this["wp"]["apiFetch"] = /***/ }), -/***/ 10: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -/***/ }), - -/***/ 20: -/***/ (function(module, exports) { - -(function() { module.exports = this["regeneratorRuntime"]; }()); - -/***/ }), - /***/ 21: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; }); +/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40); function _objectWithoutProperties(source, excluded) { if (source == null) return {}; - var target = _objectWithoutPropertiesLoose(source, excluded); + var target = Object(_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { @@ -167,14 +122,21 @@ function _objectWithoutProperties(source, excluded) { /***/ }), -/***/ 26: +/***/ 23: +/***/ (function(module, exports) { + +(function() { module.exports = this["regeneratorRuntime"]; }()); + +/***/ }), + +/***/ 25: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["url"]; }()); /***/ }), -/***/ 354: +/***/ 375: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -183,9 +145,12 @@ __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js var objectSpread = __webpack_require__(7); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js var objectWithoutProperties = __webpack_require__(21); +// EXTERNAL MODULE: external {"this":["wp","i18n"]} +var external_this_wp_i18n_ = __webpack_require__(1); + // CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/nonce.js @@ -283,32 +248,45 @@ var root_url_createRootURLMiddleware = function createRootURLMiddleware(rootURL) /* harmony default export */ var root_url = (root_url_createRootURLMiddleware); // CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/preloading.js -var createPreloadingMiddleware = function createPreloadingMiddleware(preloadedData) { +/** + * Given a path, returns a normalized path where equal query parameter values + * will be treated as identical, regardless of order they appear in the original + * text. + * + * @param {string} path Original path. + * + * @return {string} Normalized path. + */ +function getStablePath(path) { + var splitted = path.split('?'); + var query = splitted[1]; + var base = splitted[0]; + + if (!query) { + return base; + } // 'b=1&c=2&a=5' + + + return base + '?' + query // [ 'b=1', 'c=2', 'a=5' ] + .split('&') // [ [ 'b, '1' ], [ 'c', '2' ], [ 'a', '5' ] ] + .map(function (entry) { + return entry.split('='); + }) // [ [ 'a', '5' ], [ 'b, '1' ], [ 'c', '2' ] ] + .sort(function (a, b) { + return a[0].localeCompare(b[0]); + }) // [ 'a=5', 'b=1', 'c=2' ] + .map(function (pair) { + return pair.join('='); + }) // 'a=5&b=1&c=2' + .join('&'); +} + +function createPreloadingMiddleware(preloadedData) { + var cache = Object.keys(preloadedData).reduce(function (result, path) { + result[getStablePath(path)] = preloadedData[path]; + return result; + }, {}); return function (options, next) { - function getStablePath(path) { - var splitted = path.split('?'); - var query = splitted[1]; - var base = splitted[0]; - - if (!query) { - return base; - } // 'b=1&c=2&a=5' - - - return base + '?' + query // [ 'b=1', 'c=2', 'a=5' ] - .split('&') // [ [ 'b, '1' ], [ 'c', '2' ], [ 'a', '5' ] ] - .map(function (entry) { - return entry.split('='); - }) // [ [ 'a', '5' ], [ 'b, '1' ], [ 'c', '2' ] ] - .sort(function (a, b) { - return a[0].localeCompare(b[0]); - }) // [ 'a=5', 'b=1', 'c=2' ] - .map(function (pair) { - return pair.join('='); - }) // 'a=5&b=1&c=2' - .join('&'); - } - var _options$parse = options.parse, parse = _options$parse === void 0 ? true : _options$parse; @@ -316,28 +294,28 @@ var createPreloadingMiddleware = function createPreloadingMiddleware(preloadedDa var method = options.method || 'GET'; var path = getStablePath(options.path); - if (parse && 'GET' === method && preloadedData[path]) { - return Promise.resolve(preloadedData[path].body); - } else if ('OPTIONS' === method && preloadedData[method] && preloadedData[method][path]) { - return Promise.resolve(preloadedData[method][path]); + if (parse && 'GET' === method && cache[path]) { + return Promise.resolve(cache[path].body); + } else if ('OPTIONS' === method && cache[method] && cache[method][path]) { + return Promise.resolve(cache[method][path]); } } return next(options); }; -}; +} /* harmony default export */ var preloading = (createPreloadingMiddleware); // EXTERNAL MODULE: external {"this":"regeneratorRuntime"} -var external_this_regeneratorRuntime_ = __webpack_require__(20); +var external_this_regeneratorRuntime_ = __webpack_require__(23); var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js var asyncToGenerator = __webpack_require__(43); // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(26); +var external_this_wp_url_ = __webpack_require__(25); // CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js @@ -577,9 +555,6 @@ function userLocaleMiddleware(options, next) { /* harmony default export */ var user_locale = (userLocaleMiddleware); -// EXTERNAL MODULE: external {"this":["wp","i18n"]} -var external_this_wp_i18n_ = __webpack_require__(1); - // CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/utils/response.js /** * WordPress dependencies @@ -737,6 +712,10 @@ function mediaUploadMiddleware(options, next) { +/** + * WordPress dependencies + */ + /** * Internal dependencies */ @@ -749,6 +728,7 @@ function mediaUploadMiddleware(options, next) { + /** * Default set of header values which should be sent with every request unless * explicitly provided through apiFetch options. @@ -809,10 +789,20 @@ var build_module_defaultFetchHandler = function defaultFetchHandler(nextOptions) body: body, headers: headers })); - return responsePromise.then(checkStatus).catch(function (response) { - return parseAndThrowError(response, parse); - }).then(function (response) { - return parseResponseAndNormalizeError(response, parse); + return responsePromise // Return early if fetch errors. If fetch error, there is most likely no + // network connection. Unfortunately fetch just throws a TypeError and + // the message might depend on the browser. + .then(function (value) { + return Promise.resolve(value).then(checkStatus).catch(function (response) { + return parseAndThrowError(response, parse); + }).then(function (response) { + return parseResponseAndNormalizeError(response, parse); + }); + }, function () { + throw { + code: 'fetch_error', + message: Object(external_this_wp_i18n_["__"])('You are probably offline.') + }; }); }; @@ -871,6 +861,28 @@ apiFetch.mediaUploadMiddleware = media_upload; /* harmony default export */ var build_module = __webpack_exports__["default"] = (apiFetch); +/***/ }), + +/***/ 40: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + /***/ }), /***/ 43: @@ -921,12 +933,12 @@ function _asyncToGenerator(fn) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(source); + var ownKeys = Object.keys(Object(source)); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -942,6 +954,28 @@ function _objectSpread(target) { return target; } +/***/ }), + +/***/ 9: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + /***/ }) /******/ })["default"]; \ No newline at end of file diff --git a/wp-includes/js/dist/api-fetch.min.js b/wp-includes/js/dist/api-fetch.min.js index 5d47c80165..141708600c 100644 --- a/wp-includes/js/dist/api-fetch.min.js +++ b/wp-includes/js/dist/api-fetch.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.apiFetch=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=354)}({1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},20:function(e,t){!function(){e.exports=this.regeneratorRuntime}()},21:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}n.d(t,"a",(function(){return r}))},26:function(e,t){!function(){e.exports=this.wp.url}()},354:function(e,t,n){"use strict";n.r(t);var r=n(7),a=n(21);var o=function(e){function t(e,n){var a=e.headers,o=void 0===a?{}:a;for(var u in o)if("x-wp-nonce"===u.toLowerCase())return n(e);return n(Object(r.a)({},e,{headers:Object(r.a)({},o,{"X-WP-Nonce":t.nonce})}))}return t.nonce=e,t},u=function(e,t){var n,a,o=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(n=e.namespace.replace(/^\/|\/$/g,""),o=(a=e.endpoint.replace(/^\//,""))?n+"/"+a:n),delete e.namespace,delete e.endpoint,t(Object(r.a)({},e,{path:o}))},c=function(e){return function(t,n){return u(t,(function(t){var a,o=t.url,u=t.path;return"string"==typeof u&&(a=e,-1!==e.indexOf("?")&&(u=u.replace("?","&")),u=u.replace(/^\//,""),"string"==typeof a&&-1!==a.indexOf("?")&&(u=u.replace("?","&")),o=a+u),n(Object(r.a)({},t,{url:o}))}))}},i=function(e){return function(t,n){var r=t.parse,a=void 0===r||r;if("string"==typeof t.path){var o=t.method||"GET",u=function(e){var t=e.split("?"),n=t[1],r=t[0];return n?r+"?"+n.split("&").map((function(e){return e.split("=")})).sort((function(e,t){return e[0].localeCompare(t[0])})).map((function(e){return e.join("=")})).join("&"):r}(t.path);if(a&&"GET"===o&&e[u])return Promise.resolve(e[u].body);if("OPTIONS"===o&&e[o]&&e[o][u])return Promise.resolve(e[o][u])}return n(t)}},s=n(20),f=n.n(s),p=n(43),l=n(26),d=function(e,t){var n=e.path,o=e.url,u=Object(a.a)(e,["path","url"]);return Object(r.a)({},u,{url:o&&Object(l.addQueryArgs)(o,t),path:n&&Object(l.addQueryArgs)(n,t)})},h=function(e){return e.json?e.json():Promise.reject(e)},b=function(e){return function(e){if(!e)return{};var t=e.match(/<([^>]+)>; rel="next"/);return t?{next:t[1]}:{}}(e.headers.get("link")).next},v=function(e){var t=e.path&&-1!==e.path.indexOf("per_page=-1"),n=e.url&&-1!==e.url.indexOf("per_page=-1");return t||n},O=function(){var e=Object(p.a)(f.a.mark((function e(t,n){var a,o,u,c,i,s;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==t.parse){e.next=2;break}return e.abrupt("return",n(t));case 2:if(v(t)){e.next=4;break}return e.abrupt("return",n(t));case 4:return e.next=6,n(Object(r.a)({},d(t,{per_page:100}),{parse:!1}));case 6:return a=e.sent,e.next=9,h(a);case 9:if(o=e.sent,Array.isArray(o)){e.next=12;break}return e.abrupt("return",o);case 12:if(u=b(a)){e.next=15;break}return e.abrupt("return",o);case 15:c=[].concat(o);case 16:if(!u){e.next=27;break}return e.next=19,n(Object(r.a)({},t,{path:void 0,url:u,parse:!1}));case 19:return i=e.sent,e.next=22,h(i);case 22:s=e.sent,c=c.concat(s),u=b(i),e.next=16;break;case 27:return e.abrupt("return",c);case 28:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),j=new Set(["PATCH","PUT","DELETE"]),y="GET";var m=function(e,t){var n=e.method,a=void 0===n?y:n;return j.has(a.toUpperCase())&&(e=Object(r.a)({},e,{headers:Object(r.a)({},e.headers,{"X-HTTP-Method-Override":a,"Content-Type":"application/json"}),method:"POST"})),t(e,t)};var g=function(e,t){return"string"!=typeof e.url||Object(l.hasQueryArg)(e.url,"_locale")||(e.url=Object(l.addQueryArgs)(e.url,{_locale:"user"})),"string"!=typeof e.path||Object(l.hasQueryArg)(e.path,"_locale")||(e.path=Object(l.addQueryArgs)(e.path,{_locale:"user"})),t(e,t)},w=n(1),x=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t?204===e.status?null:e.json?e.json():Promise.reject(e):e},P=function(e){var t={code:"invalid_json",message:Object(w.__)("The response is not a valid JSON response.")};if(!e||!e.json)throw t;return e.json().catch((function(){throw t}))},_=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Promise.resolve(x(e,t)).catch((function(e){return T(e,t)}))};function T(e){if(!(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]))throw e;return P(e).then((function(e){var t={code:"unknown_error",message:Object(w.__)("An unknown error occurred.")};throw e||t}))}var S=function(e,t){if(!(e.path&&-1!==e.path.indexOf("/wp/v2/media")||e.url&&-1!==e.url.indexOf("/wp/v2/media")))return t(e,t);var n=0;return t(Object(r.a)({},e,{parse:!1})).catch((function(r){var a=r.headers.get("x-wp-upload-attachment-id");return r.status>=500&&r.status<600&&a?function e(r){return n++,t({path:"/wp/v2/media/".concat(r,"/post-process"),method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch((function(){return n<5?e(r):(t({path:"/wp/v2/media/".concat(r,"?force=true"),method:"DELETE"}),Promise.reject())}))}(a).catch((function(){return!1!==e.parse?Promise.reject({code:"post_process",message:Object(w.__)("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(r)})):T(r,e.parse)})).then((function(t){return _(t,e.parse)}))},k={Accept:"application/json, */*;q=0.1"},A={credentials:"include"},E=[g,u,m,O];var M=function(e){if(e.status>=200&&e.status<300)return e;throw e},C=function(e){var t=e.url,n=e.path,o=e.data,u=e.parse,c=void 0===u||u,i=Object(a.a)(e,["url","path","data","parse"]),s=e.body,f=e.headers;return f=Object(r.a)({},k,f),o&&(s=JSON.stringify(o),f["Content-Type"]="application/json"),window.fetch(t||n,Object(r.a)({},A,i,{body:s,headers:f})).then(M).catch((function(e){return T(e,c)})).then((function(e){return _(e,c)}))};function Q(e){var t=[].concat(E,[C]);return new Promise((function(n,r){(function e(n){return function(r){var a=t[n];return n===t.length-1?a(r):a(r,e(n+1))}})(0)(e).then(n).catch((function(t){if("rest_cookie_invalid_nonce"!==t.code)return r(t);window.fetch(Q.nonceEndpoint).then(M).then((function(e){return e.text()})).then((function(t){Q.nonceMiddleware.nonce=t,Q(e).then(n).catch(r)})).catch(r)}))}))}Q.use=function(e){E.unshift(e)},Q.setFetchHandler=function(e){C=e},Q.createNonceMiddleware=o,Q.createPreloadingMiddleware=i,Q.createRootURLMiddleware=c,Q.fetchAllMiddleware=O,Q.mediaUploadMiddleware=S;t.default=Q},43:function(e,t,n){"use strict";function r(e,t,n,r,a,o,u){try{var c=e[o](u),i=c.value}catch(e){return void n(e)}c.done?t(i):Promise.resolve(i).then(r,a)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var u=e.apply(t,n);function c(e){r(u,a,o,c,i,"next",e)}function i(e){r(u,a,o,c,i,"throw",e)}c(void 0)}))}}n.d(t,"a",(function(){return a}))},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(10);function a(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}},23:function(e,t){!function(){e.exports=this.regeneratorRuntime}()},25:function(e,t){!function(){e.exports=this.wp.url}()},375:function(e,t,r){"use strict";r.r(t);var n=r(7),o=r(21),a=r(1);var u=function(e){function t(e,r){var o=e.headers,a=void 0===o?{}:o;for(var u in a)if("x-wp-nonce"===u.toLowerCase())return r(e);return r(Object(n.a)({},e,{headers:Object(n.a)({},a,{"X-WP-Nonce":t.nonce})}))}return t.nonce=e,t},c=function(e,t){var r,o,a=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(r=e.namespace.replace(/^\/|\/$/g,""),a=(o=e.endpoint.replace(/^\//,""))?r+"/"+o:r),delete e.namespace,delete e.endpoint,t(Object(n.a)({},e,{path:a}))},i=function(e){return function(t,r){return c(t,(function(t){var o,a=t.url,u=t.path;return"string"==typeof u&&(o=e,-1!==e.indexOf("?")&&(u=u.replace("?","&")),u=u.replace(/^\//,""),"string"==typeof o&&-1!==o.indexOf("?")&&(u=u.replace("?","&")),a=o+u),r(Object(n.a)({},t,{url:a}))}))}};function s(e){var t=e.split("?"),r=t[1],n=t[0];return r?n+"?"+r.split("&").map((function(e){return e.split("=")})).sort((function(e,t){return e[0].localeCompare(t[0])})).map((function(e){return e.join("=")})).join("&"):n}var f=function(e){var t=Object.keys(e).reduce((function(t,r){return t[s(r)]=e[r],t}),{});return function(e,r){var n=e.parse,o=void 0===n||n;if("string"==typeof e.path){var a=e.method||"GET",u=s(e.path);if(o&&"GET"===a&&t[u])return Promise.resolve(t[u].body);if("OPTIONS"===a&&t[a]&&t[a][u])return Promise.resolve(t[a][u])}return r(e)}},p=r(23),l=r.n(p),d=r(43),h=r(25),b=function(e,t){var r=e.path,a=e.url,u=Object(o.a)(e,["path","url"]);return Object(n.a)({},u,{url:a&&Object(h.addQueryArgs)(a,t),path:r&&Object(h.addQueryArgs)(r,t)})},v=function(e){return e.json?e.json():Promise.reject(e)},O=function(e){return function(e){if(!e)return{};var t=e.match(/<([^>]+)>; rel="next"/);return t?{next:t[1]}:{}}(e.headers.get("link")).next},j=function(e){var t=e.path&&-1!==e.path.indexOf("per_page=-1"),r=e.url&&-1!==e.url.indexOf("per_page=-1");return t||r},y=function(){var e=Object(d.a)(l.a.mark((function e(t,r){var o,a,u,c,i,s;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==t.parse){e.next=2;break}return e.abrupt("return",r(t));case 2:if(j(t)){e.next=4;break}return e.abrupt("return",r(t));case 4:return e.next=6,r(Object(n.a)({},b(t,{per_page:100}),{parse:!1}));case 6:return o=e.sent,e.next=9,v(o);case 9:if(a=e.sent,Array.isArray(a)){e.next=12;break}return e.abrupt("return",a);case 12:if(u=O(o)){e.next=15;break}return e.abrupt("return",a);case 15:c=[].concat(a);case 16:if(!u){e.next=27;break}return e.next=19,r(Object(n.a)({},t,{path:void 0,url:u,parse:!1}));case 19:return i=e.sent,e.next=22,v(i);case 22:s=e.sent,c=c.concat(s),u=O(i),e.next=16;break;case 27:return e.abrupt("return",c);case 28:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),m=new Set(["PATCH","PUT","DELETE"]),g="GET";var w=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t?204===e.status?null:e.json?e.json():Promise.reject(e):e},x=function(e){var t={code:"invalid_json",message:Object(a.__)("The response is not a valid JSON response.")};if(!e||!e.json)throw t;return e.json().catch((function(){throw t}))},P=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Promise.resolve(w(e,t)).catch((function(e){return _(e,t)}))};function _(e){if(!(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]))throw e;return x(e).then((function(e){var t={code:"unknown_error",message:Object(a.__)("An unknown error occurred.")};throw e||t}))}var T=function(e,t){if(!(e.path&&-1!==e.path.indexOf("/wp/v2/media")||e.url&&-1!==e.url.indexOf("/wp/v2/media")))return t(e,t);var r=0;return t(Object(n.a)({},e,{parse:!1})).catch((function(n){var o=n.headers.get("x-wp-upload-attachment-id");return n.status>=500&&n.status<600&&o?function e(n){return r++,t({path:"/wp/v2/media/".concat(n,"/post-process"),method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch((function(){return r<5?e(n):(t({path:"/wp/v2/media/".concat(n,"?force=true"),method:"DELETE"}),Promise.reject())}))}(o).catch((function(){return!1!==e.parse?Promise.reject({code:"post_process",message:Object(a.__)("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(n)})):_(n,e.parse)})).then((function(t){return P(t,e.parse)}))},S={Accept:"application/json, */*;q=0.1"},k={credentials:"include"},A=[function(e,t){return"string"!=typeof e.url||Object(h.hasQueryArg)(e.url,"_locale")||(e.url=Object(h.addQueryArgs)(e.url,{_locale:"user"})),"string"!=typeof e.path||Object(h.hasQueryArg)(e.path,"_locale")||(e.path=Object(h.addQueryArgs)(e.path,{_locale:"user"})),t(e,t)},c,function(e,t){var r=e.method,o=void 0===r?g:r;return m.has(o.toUpperCase())&&(e=Object(n.a)({},e,{headers:Object(n.a)({},e.headers,{"X-HTTP-Method-Override":o,"Content-Type":"application/json"}),method:"POST"})),t(e,t)},y];var E=function(e){if(e.status>=200&&e.status<300)return e;throw e},M=function(e){var t=e.url,r=e.path,u=e.data,c=e.parse,i=void 0===c||c,s=Object(o.a)(e,["url","path","data","parse"]),f=e.body,p=e.headers;return p=Object(n.a)({},S,p),u&&(f=JSON.stringify(u),p["Content-Type"]="application/json"),window.fetch(t||r,Object(n.a)({},k,s,{body:f,headers:p})).then((function(e){return Promise.resolve(e).then(E).catch((function(e){return _(e,i)})).then((function(e){return P(e,i)}))}),(function(){throw{code:"fetch_error",message:Object(a.__)("You are probably offline.")}}))};function C(e){var t=[].concat(A,[M]);return new Promise((function(r,n){(function e(r){return function(n){var o=t[r];return r===t.length-1?o(n):o(n,e(r+1))}})(0)(e).then(r).catch((function(t){if("rest_cookie_invalid_nonce"!==t.code)return n(t);window.fetch(C.nonceEndpoint).then(E).then((function(e){return e.text()})).then((function(t){C.nonceMiddleware.nonce=t,C(e).then(r).catch(n)})).catch(n)}))}))}C.use=function(e){A.unshift(e)},C.setFetchHandler=function(e){M=e},C.createNonceMiddleware=u,C.createPreloadingMiddleware=f,C.createRootURLMiddleware=i,C.fetchAllMiddleware=y,C.mediaUploadMiddleware=T;t.default=C},40:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}r.d(t,"a",(function(){return n}))},43:function(e,t,r){"use strict";function n(e,t,r,n,o,a,u){try{var c=e[a](u),i=c.value}catch(e){return void r(e)}c.done?t(i):Promise.resolve(i).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var u=e.apply(t,r);function c(e){n(u,o,a,c,i,"next",e)}function i(e){n(u,o,a,c,i,"throw",e)}c(void 0)}))}}r.d(t,"a",(function(){return o}))},7:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(9);function o(e){for(var t=1;t)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function c(e,r){for(var n=function(e){for(var r,n=[],t=e;r=t.match(p);)n.push(t.slice(0,r.index)),n.push(r[0]),t=t.slice(r.index+r[0].length);return t.length&&n.push(t),n}(e),t=!1,c=Object.keys(r),a=1;a1&&void 0!==arguments[1])||arguments[1],n=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf(""),a=p.pop();e="";for(var i=0;i";n.push([s,o.substr(l)+""]),e+=o.substr(0,l)+s}else e+=o}e+=a}var u="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=c(e=(e=(e=(e=e.replace(/\s*/g,"\n\n")).replace(new RegExp("(<"+u+"[\\s/>])","g"),"\n\n$1")).replace(new RegExp("()","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("\s*/g,"")),-1!==e.indexOf("")&&(e=(e=(e=e.replace(/(]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("]*>)/,"$1")).replace(/<\/figcaption>\s*/,""));var g=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",g.forEach((function(r){e+="

"+r.replace(/^\n*|\n*$/g,"")+"

\n"})),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/

\s*<\/p>/g,"")).replace(/

([^<]+)<\/(div|address|form)>/g,"

$1

")).replace(new RegExp("

\\s*(]*>)\\s*

","g"),"$1")).replace(/

(/g,"$1")).replace(/

]*)>/gi,"

")).replace(/<\/blockquote><\/p>/g,"

")).replace(new RegExp("

\\s*(]*>)","g"),"$1")).replace(new RegExp("(]*>)\\s*

","g"),"$1"),r&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,(function(e){return e[0].replace(/\n/g,"")}))).replace(/
|/g,"
")).replace(/(
)?\s*\n/g,(function(e,r){return r?e:"
\n"}))).replace(//g,"\n")),e=(e=(e=e.replace(new RegExp("(]*>)\\s*
","g"),"$1")).replace(/
(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"

"),n.forEach((function(r){var n=Object(t.a)(r,2),p=n[0],c=n[1];e=e.replace(p,c)})),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?\s?/g,"\n")),e}function i(e){var r="blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure",n=r+"|div|p",t=r+"|pre",p=[],c=!1,a=!1;return e?(-1===e.indexOf("]*>[\s\S]*?<\/\1>/g,(function(e){return p.push(e),""}))),-1!==e.indexOf("]*>[\s\S]+?<\/pre>/g,(function(e){return(e=(e=e.replace(/
(\r\n|\n)?/g,"")).replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g,"")).replace(/\r?\n/g,"")}))),-1!==e.indexOf("[caption")&&(a=!0,e=e.replace(/\[caption[\s\S]+?\[\/caption\]/g,(function(e){return e.replace(/]*)>/g,"").replace(/[\r\n\t]+/,"")}))),-1!==(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(new RegExp("\\s*\\s*","g"),"\n")).replace(new RegExp("\\s*<((?:"+n+")(?: [^>]*)?)>","g"),"\n<$1>")).replace(/(

]+>[\s\S]*?)<\/p>/g,"$1")).replace(/]*)?>\s*

/gi,"\n\n")).replace(/\s*

/gi,"")).replace(/\s*<\/p>\s*/gi,"\n\n")).replace(/\n[\s\u00a0]+\n/g,"\n\n")).replace(/(\s*)
\s*/gi,(function(e,r){return r&&-1!==r.indexOf("\n")?"\n\n":"\n"}))).replace(/\s*

\s*/g,"
\n")).replace(/\s*\[caption([^\[]+)\[\/caption\]\s*/gi,"\n\n[caption$1[/caption]\n\n")).replace(/caption\]\n\n+\[caption/g,"caption]\n\n[caption")).replace(new RegExp("\\s*<((?:"+t+")(?: [^>]*)?)\\s*>","g"),"\n<$1>")).replace(new RegExp("\\s*\\s*","g"),"\n")).replace(/<((li|dt|dd)[^>]*)>/g," \t<$1>")).indexOf("/g,"\n")),-1!==e.indexOf("]*)?>\s*/g,"\n\n\n\n")),-1!==e.indexOf("/g,(function(e){return e.replace(/[\r\n]+/g,"")}))),e=(e=(e=(e=e.replace(/<\/p#>/g,"

\n")).replace(/\s*(

]+>[\s\S]*?<\/p>)/g,"\n$1")).replace(/^\s+/,"")).replace(/[\s\u00a0]+$/,""),c&&(e=e.replace(//g,"\n")),a&&(e=e.replace(/]*)>/g,"")),p.length&&(e=e.replace(//g,(function(){return p.shift()}))),e):""}},38:function(e,r,n){"use strict";function t(e){if(Array.isArray(e))return e}n.d(r,"a",(function(){return t}))},39:function(e,r,n){"use strict";function t(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(r,"a",(function(){return t}))}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.autop=function(e){var r={};function n(t){if(r[t])return r[t].exports;var p=r[t]={i:t,l:!1,exports:{}};return e[t].call(p.exports,p,p.exports,n),p.l=!0,p.exports}return n.m=e,n.c=r,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,r){if(1&r&&(e=n(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var p in e)n.d(t,p,function(r){return e[r]}.bind(null,p));return t},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},n.p="",n(n.s=232)}({22:function(e,r,n){"use strict";var t=n(33);var p=n(34);function c(e,r){return Object(t.a)(e)||function(e,r){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],t=!0,p=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(t=(a=i.next()).done)&&(n.push(a.value),!r||n.length!==r);t=!0);}catch(e){p=!0,c=e}finally{try{t||null==i.return||i.return()}finally{if(p)throw c}}return n}}(e,r)||Object(p.a)()}n.d(r,"a",(function(){return c}))},232:function(e,r,n){"use strict";n.r(r),n.d(r,"autop",(function(){return a})),n.d(r,"removep",(function(){return i}));var t=n(22),p=new RegExp("(<((?=!--|!\\[CDATA\\[)((?=!-)!(?:-(?!->)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function c(e,r){for(var n=function(e){for(var r,n=[],t=e;r=t.match(p);)n.push(t.slice(0,r.index)),n.push(r[0]),t=t.slice(r.index+r[0].length);return t.length&&n.push(t),n}(e),t=!1,c=Object.keys(r),a=1;a1&&void 0!==arguments[1])||arguments[1],n=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf(""),a=p.pop();e="";for(var i=0;i";n.push([s,o.substr(l)+""]),e+=o.substr(0,l)+s}else e+=o}e+=a}var u="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=c(e=(e=(e=(e=e.replace(/\s*/g,"\n\n")).replace(new RegExp("(<"+u+"[\\s/>])","g"),"\n\n$1")).replace(new RegExp("()","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("\s*/g,"")),-1!==e.indexOf("")&&(e=(e=(e=e.replace(/(]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("]*>)/,"$1")).replace(/<\/figcaption>\s*/,""));var g=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",g.forEach((function(r){e+="

"+r.replace(/^\n*|\n*$/g,"")+"

\n"})),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/

\s*<\/p>/g,"")).replace(/

([^<]+)<\/(div|address|form)>/g,"

$1

")).replace(new RegExp("

\\s*(]*>)\\s*

","g"),"$1")).replace(/

(/g,"$1")).replace(/

]*)>/gi,"

")).replace(/<\/blockquote><\/p>/g,"

")).replace(new RegExp("

\\s*(]*>)","g"),"$1")).replace(new RegExp("(]*>)\\s*

","g"),"$1"),r&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,(function(e){return e[0].replace(/\n/g,"")}))).replace(/
|/g,"
")).replace(/(
)?\s*\n/g,(function(e,r){return r?e:"
\n"}))).replace(//g,"\n")),e=(e=(e=e.replace(new RegExp("(]*>)\\s*
","g"),"$1")).replace(/
(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"

"),n.forEach((function(r){var n=Object(t.a)(r,2),p=n[0],c=n[1];e=e.replace(p,c)})),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?\s?/g,"\n")),e}function i(e){var r="blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure",n=r+"|div|p",t=r+"|pre",p=[],c=!1,a=!1;return e?(-1===e.indexOf("]*>[\s\S]*?<\/\1>/g,(function(e){return p.push(e),""}))),-1!==e.indexOf("]*>[\s\S]+?<\/pre>/g,(function(e){return(e=(e=e.replace(/
(\r\n|\n)?/g,"")).replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g,"")).replace(/\r?\n/g,"")}))),-1!==e.indexOf("[caption")&&(a=!0,e=e.replace(/\[caption[\s\S]+?\[\/caption\]/g,(function(e){return e.replace(/]*)>/g,"").replace(/[\r\n\t]+/,"")}))),-1!==(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(new RegExp("\\s*\\s*","g"),"\n")).replace(new RegExp("\\s*<((?:"+n+")(?: [^>]*)?)>","g"),"\n<$1>")).replace(/(

]+>[\s\S]*?)<\/p>/g,"$1")).replace(/]*)?>\s*

/gi,"\n\n")).replace(/\s*

/gi,"")).replace(/\s*<\/p>\s*/gi,"\n\n")).replace(/\n[\s\u00a0]+\n/g,"\n\n")).replace(/(\s*)
\s*/gi,(function(e,r){return r&&-1!==r.indexOf("\n")?"\n\n":"\n"}))).replace(/\s*

\s*/g,"
\n")).replace(/\s*\[caption([^\[]+)\[\/caption\]\s*/gi,"\n\n[caption$1[/caption]\n\n")).replace(/caption\]\n\n+\[caption/g,"caption]\n\n[caption")).replace(new RegExp("\\s*<((?:"+t+")(?: [^>]*)?)\\s*>","g"),"\n<$1>")).replace(new RegExp("\\s*\\s*","g"),"\n")).replace(/<((li|dt|dd)[^>]*)>/g," \t<$1>")).indexOf("/g,"\n")),-1!==e.indexOf("]*)?>\s*/g,"\n\n\n\n")),-1!==e.indexOf("/g,(function(e){return e.replace(/[\r\n]+/g,"")}))),e=(e=(e=(e=e.replace(/<\/p#>/g,"

\n")).replace(/\s*(

]+>[\s\S]*?<\/p>)/g,"\n$1")).replace(/^\s+/,"")).replace(/[\s\u00a0]+$/,""),c&&(e=e.replace(//g,"\n")),a&&(e=e.replace(/]*)>/g,"")),p.length&&(e=e.replace(//g,(function(){return p.shift()}))),e):""}},33:function(e,r,n){"use strict";function t(e){if(Array.isArray(e))return e}n.d(r,"a",(function(){return t}))},34:function(e,r,n){"use strict";function t(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(r,"a",(function(){return t}))}}); \ No newline at end of file diff --git a/wp-includes/js/dist/blob.js b/wp-includes/js/dist/blob.js index 876d3fa351..f692e46343 100644 --- a/wp-includes/js/dist/blob.js +++ b/wp-includes/js/dist/blob.js @@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["blob"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 234); +/******/ return __webpack_require__(__webpack_require__.s = 233); /******/ }) /************************************************************************/ /******/ ({ -/***/ 234: +/***/ 233: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; diff --git a/wp-includes/js/dist/blob.min.js b/wp-includes/js/dist/blob.min.js index 5b75e8b049..c1197aa035 100644 --- a/wp-includes/js/dist/blob.min.js +++ b/wp-includes/js/dist/blob.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.blob=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=234)}({234:function(e,t,n){"use strict";n.r(t),n.d(t,"createBlobURL",(function(){return f})),n.d(t,"getBlobByURL",(function(){return c})),n.d(t,"revokeBlobURL",(function(){return l})),n.d(t,"isBlobURL",(function(){return d}));var r=window.URL,o=r.createObjectURL,u=r.revokeObjectURL,i={};function f(e){var t=o(e);return i[t]=e,t}function c(e){return i[e]}function l(e){i[e]&&u(e),delete i[e]}function d(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.blob=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=233)}({233:function(e,t,n){"use strict";n.r(t),n.d(t,"createBlobURL",(function(){return f})),n.d(t,"getBlobByURL",(function(){return c})),n.d(t,"revokeBlobURL",(function(){return l})),n.d(t,"isBlobURL",(function(){return d}));var r=window.URL,o=r.createObjectURL,u=r.revokeObjectURL,i={};function f(e){var t=o(e);return i[t]=e,t}function c(e){return i[e]}function l(e){i[e]&&u(e),delete i[e]}function d(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}}); \ No newline at end of file diff --git a/wp-includes/js/dist/block-directory.js b/wp-includes/js/dist/block-directory.js index 1aaef5abd1..64d1b8c6a4 100644 --- a/wp-includes/js/dist/block-directory.js +++ b/wp-includes/js/dist/block-directory.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockDirectory"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 350); +/******/ return __webpack_require__(__webpack_require__.s = 370); /******/ }) /************************************************************************/ /******/ ({ @@ -102,28 +102,13 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockDirectory"] = /***/ }), /***/ 10: -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ (function(module, exports) { -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} +(function() { module.exports = this["wp"]["blocks"]; }()); /***/ }), -/***/ 17: +/***/ 18: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -139,7 +124,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(30); +var iterableToArray = __webpack_require__(32); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -163,7 +148,59 @@ function _toConsumableArray(arr) { /***/ }), -/***/ 20: +/***/ 22: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +var arrayWithHoles = __webpack_require__(33); + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +function _iterableToArrayLimit(arr, i) { + if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { + return; + } + + var _arr = []; + var _n = true; + var _d = false; + var _e = undefined; + + try { + for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { + _arr.push(_s.value); + + if (i && _arr.length === i) break; + } + } catch (err) { + _d = true; + _e = err; + } finally { + try { + if (!_n && _i["return"] != null) _i["return"](); + } finally { + if (_d) throw _e; + } + } + + return _arr; +} +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +var nonIterableRest = __webpack_require__(34); + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); + + + +function _slicedToArray(arr, i) { + return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(nonIterableRest["a" /* default */])(); +} + +/***/ }), + +/***/ 23: /***/ (function(module, exports) { (function() { module.exports = this["regeneratorRuntime"]; }()); @@ -177,7 +214,7 @@ function _toConsumableArray(arr) { /***/ }), -/***/ 30: +/***/ 32: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -188,14 +225,36 @@ function _iterableToArray(iter) { /***/ }), +/***/ 33: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); +function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; +} + +/***/ }), + /***/ 34: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); +function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance"); +} + +/***/ }), + +/***/ 37: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["apiFetch"]; }()); /***/ }), -/***/ 350: +/***/ 370: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -221,10 +280,10 @@ __webpack_require__.d(actions_namespaceObject, "removeInstalledBlockType", funct var external_this_wp_data_ = __webpack_require__(4); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(17); +var toConsumableArray = __webpack_require__(18); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(10); +var defineProperty = __webpack_require__(9); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js var objectSpread = __webpack_require__(7); @@ -354,14 +413,14 @@ function getInstalledBlockTypes(state) { } // EXTERNAL MODULE: external {"this":"regeneratorRuntime"} -var external_this_regeneratorRuntime_ = __webpack_require__(20); +var external_this_regeneratorRuntime_ = __webpack_require__(23); var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_); // EXTERNAL MODULE: external {"this":["wp","blocks"]} -var external_this_wp_blocks_ = __webpack_require__(9); +var external_this_wp_blocks_ = __webpack_require__(10); // EXTERNAL MODULE: external {"this":["wp","apiFetch"]} -var external_this_wp_apiFetch_ = __webpack_require__(34); +var external_this_wp_apiFetch_ = __webpack_require__(37); var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_); // CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/controls.js @@ -990,6 +1049,15 @@ var store = Object(external_this_wp_data_["registerStore"])(MODULE_KEY, storeCon // EXTERNAL MODULE: external {"this":["wp","element"]} var external_this_wp_element_ = __webpack_require__(0); +// EXTERNAL MODULE: external {"this":["wp","plugins"]} +var external_this_wp_plugins_ = __webpack_require__(49); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(22); + +// EXTERNAL MODULE: external {"this":["wp","blockEditor"]} +var external_this_wp_blockEditor_ = __webpack_require__(5); + // EXTERNAL MODULE: external {"this":["wp","compose"]} var external_this_wp_compose_ = __webpack_require__(8); @@ -999,9 +1067,6 @@ var external_this_wp_i18n_ = __webpack_require__(1); // EXTERNAL MODULE: external {"this":["wp","components"]} var external_this_wp_components_ = __webpack_require__(3); -// EXTERNAL MODULE: external {"this":["wp","blockEditor"]} -var external_this_wp_blockEditor_ = __webpack_require__(6); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/block-ratings/stars.js @@ -1431,8 +1496,77 @@ function DownloadableBlocksPanel(_ref) { }; })])(DownloadableBlocksPanel)); +// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/plugins/inserter-menu-downloadable-blocks-panel/index.js + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + + +function InserterMenuDownloadableBlocksPanel() { + var _useState = Object(external_this_wp_element_["useState"])(''), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + debouncedFilterValue = _useState2[0], + setFilterValue = _useState2[1]; + + var debouncedSetFilterValue = Object(external_this_lodash_["debounce"])(setFilterValue, 400); + return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalInserterMenuExtension"], null, function (_ref) { + var onSelect = _ref.onSelect, + onHover = _ref.onHover, + filterValue = _ref.filterValue, + hasItems = _ref.hasItems; + + if (hasItems || !filterValue) { + return null; + } + + if (debouncedFilterValue !== filterValue) { + debouncedSetFilterValue(filterValue); + } + + return Object(external_this_wp_element_["createElement"])(downloadable_blocks_panel, { + onSelect: onSelect, + onHover: onHover, + filterValue: debouncedFilterValue, + isWaiting: filterValue !== debouncedFilterValue + }); + }); +} + +/* harmony default export */ var inserter_menu_downloadable_blocks_panel = (InserterMenuDownloadableBlocksPanel); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/plugins/index.js + + +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + +Object(external_this_wp_plugins_["registerPlugin"])('block-directory', { + render: function render() { + return Object(external_this_wp_element_["createElement"])(inserter_menu_downloadable_blocks_panel, null); + } +}); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/index.js -/* concated harmony reexport DownloadableBlocksPanel */__webpack_require__.d(__webpack_exports__, "DownloadableBlocksPanel", function() { return downloadable_blocks_panel; }); /** * Internal dependencies */ @@ -1449,7 +1583,14 @@ function DownloadableBlocksPanel(_ref) { /***/ }), -/***/ 6: +/***/ 49: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["plugins"]; }()); + +/***/ }), + +/***/ 5: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["blockEditor"]; }()); @@ -1461,12 +1602,12 @@ function DownloadableBlocksPanel(_ref) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(source); + var ownKeys = Object.keys(Object(source)); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -1492,9 +1633,24 @@ function _objectSpread(target) { /***/ }), /***/ 9: -/***/ (function(module, exports) { +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["wp"]["blocks"]; }()); +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} /***/ }) diff --git a/wp-includes/js/dist/block-directory.min.js b/wp-includes/js/dist/block-directory.min.js index 73d284def9..ae722f6b97 100644 --- a/wp-includes/js/dist/block-directory.min.js +++ b/wp-includes/js/dist/block-directory.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.blockDirectory=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=350)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},17:function(e,t,n){"use strict";var r=n(30);function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{results:{},hasPermission:!0,filterValue:void 0,isRequestingDownloadableBlocks:!0,installedBlockTypes:[]},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_DOWNLOADABLE_BLOCKS":return Object(i.a)({},e,{isRequestingDownloadableBlocks:!0});case"RECEIVE_DOWNLOADABLE_BLOCKS":return Object(i.a)({},e,{results:Object.assign({},e.results,Object(l.a)({},t.filterValue,t.downloadableBlocks)),hasPermission:!0,isRequestingDownloadableBlocks:!1});case"SET_INSTALL_BLOCKS_PERMISSION":return Object(i.a)({},e,{items:t.hasPermission?e.items:[],hasPermission:t.hasPermission});case"ADD_INSTALLED_BLOCK_TYPE":return Object(i.a)({},e,{installedBlockTypes:[].concat(Object(a.a)(e.installedBlockTypes),[t.item])});case"REMOVE_INSTALLED_BLOCK_TYPE":return Object(i.a)({},e,{installedBlockTypes:e.installedBlockTypes.filter((function(e){return e.name!==t.item.name}))})}return e}}),u=n(2);function d(e){return e.downloadableBlocks.isRequestingDownloadableBlocks}function b(e,t){return e.downloadableBlocks.results[t]?e.downloadableBlocks.results[t]:[]}function f(e){return e.downloadableBlocks.hasPermission}function p(e){return Object(u.get)(e,["downloadableBlocks","installedBlockTypes"],[])}var m=n(20),k=n.n(m),O=n(9),_=n(34),h=n.n(_),j=k.a.mark(E);function y(e){return{type:"API_FETCH",request:e}}var v=function(e,t,n){if(e){var r=document.querySelector('script[src="'.concat(e.src,'"]'));r&&r.parentNode.removeChild(r);var o=document.createElement("script");o.src="string"==typeof e?e:e.src,o.onload=t,o.onerror=n,document.body.appendChild(o)}},w=function(e){if(e){var t=document.createElement("link");t.rel="stylesheet",t.href="string"==typeof e?e:e.src,document.body.appendChild(t)}};function E(e){return k.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{type:"LOAD_ASSETS",assets:e});case 1:case"end":return t.stop()}}),j)}var g={SELECT:Object(c.createRegistryControl)((function(e){return function(t){var n,r=t.storeName,o=t.selectorName,c=t.args;return(n=e.select(r))[o].apply(n,Object(a.a)(c))}})),DISPATCH:Object(c.createRegistryControl)((function(e){return function(t){var n,r=t.storeName,o=t.dispatcherName,c=t.args;return(n=e.dispatch(r))[o].apply(n,Object(a.a)(c))}})),API_FETCH:function(e){var t=e.request;return h()(Object(i.a)({},t))},LOAD_ASSETS:function(e){var t=e.assets;return new Promise((function(e,n){if(Array.isArray(t)){var r=0;Object(u.forEach)(t,(function(t){null!==t.match(/\.js$/)?(r++,v(t,(function(){if(0===--r)return e(r)}),n)):w(t)}))}else v(t.editor_script,(function(){return e(0)}),n),w(t.style)}))}},B=k.a.mark(L),x=k.a.mark(T),N=k.a.mark(I);function S(){return{type:"FETCH_DOWNLOADABLE_BLOCKS"}}function C(e,t){return{type:"RECEIVE_DOWNLOADABLE_BLOCKS",downloadableBlocks:e,filterValue:t}}function D(e){return{type:"SET_INSTALL_BLOCKS_PERMISSION",hasPermission:e}}function L(e,t,n){return k.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(r.prev=0,e.assets.length){r.next=3;break}throw new Error("Block has no assets");case 3:return r.next=5,E(e.assets);case 5:if(!Object(O.getBlockTypes)().length){r.next=10;break}t(e),r.next=11;break;case 10:throw new Error("Unable to get block types");case 11:r.next=17;break;case 13:return r.prev=13,r.t0=r.catch(0),r.next=17,n(r.t0);case 17:case"end":return r.stop()}}),B,null,[[0,13]])}function T(e,t,n){var r,o,c;return k.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r=e.id,o=e.name,a.prev=1,a.next=4,y({path:"__experimental/block-directory/install",data:{slug:r},method:"POST"});case 4:if(!1!==(c=a.sent).success){a.next=7;break}throw new Error(c.errorMessage);case 7:return a.next=9,A({id:r,name:o});case 9:t(),a.next=15;break;case 12:a.prev=12,a.t0=a.catch(1),n(a.t0);case 15:case"end":return a.stop()}}),x,null,[[1,12]])}function I(e,t,n){var r,o,c;return k.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r=e.id,o=e.name,a.prev=1,a.next=4,y({path:"__experimental/block-directory/uninstall",data:{slug:r},method:"DELETE"});case 4:if(!1!==(c=a.sent).success){a.next=7;break}throw new Error(c.errorMessage);case 7:return a.next=9,P({id:r,name:o});case 9:t(),a.next=15;break;case 12:a.prev=12,a.t0=a.catch(1),n(a.t0);case 15:case"end":return a.stop()}}),N,null,[[1,12]])}function A(e){return{type:"ADD_INSTALLED_BLOCK_TYPE",item:e}}function P(e){return{type:"REMOVE_INSTALLED_BLOCK_TYPE",item:e}}var R={reducer:s,selectors:r,actions:o,controls:g,resolvers:{getDownloadableBlocks:k.a.mark((function e(t){var n,r;return k.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,e.next=5,{type:"FETCH_DOWNLOADABLE_BLOCKS"};case 5:return e.next=7,y({path:"__experimental/block-directory/search?term=".concat(t)});case 7:return n=e.sent,r=n.map((function(e){return Object(u.mapKeys)(e,(function(e,t){return Object(u.camelCase)(t)}))})),e.next=11,C(r,t);case 11:e.next=18;break;case 13:if(e.prev=13,e.t0=e.catch(2),"rest_user_cannot_view"!==e.t0.code){e.next=18;break}return e.next=18,D(!1);case 18:case"end":return e.stop()}}),e,null,[[2,13]])})),hasInstallBlocksPermission:k.a.mark((function e(){return k.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,y({path:"__experimental/block-directory/search?term="});case 3:return e.next=5,D(!0);case 5:e.next=12;break;case 7:if(e.prev=7,e.t0=e.catch(0),"rest_user_cannot_view"!==e.t0.code){e.next=12;break}return e.next=12,D(!1);case 12:case"end":return e.stop()}}),e,null,[[0,7]])}))}},M=(Object(c.registerStore)("core/block-directory",R),n(0)),K=n(8),F=n(1),q=n(3),H=n(6);var V=function(e){var t=e.rating,n=.5*Math.round(t/.5),r=Math.floor(t),o=Math.ceil(t-r),c=5-(r+o);return Object(M.createElement)("div",{"aria-label":Object(F.sprintf)(Object(F.__)("%s out of 5 stars"),n)},Object(u.times)(r,(function(e){return Object(M.createElement)(q.Icon,{key:"full_stars_".concat(e),icon:"star-filled",size:16})})),Object(u.times)(o,(function(e){return Object(M.createElement)(q.Icon,{key:"half_stars_".concat(e),icon:"star-half",size:16})})),Object(u.times)(c,(function(e){return Object(M.createElement)(q.Icon,{key:"empty_stars_".concat(e),icon:"star-empty",size:16})})))},W=function(e){var t=e.rating,n=e.ratingCount;return Object(M.createElement)("div",{className:"block-directory-block-ratings"},Object(M.createElement)(V,{rating:t}),Object(M.createElement)("span",{className:"block-directory-block-ratings__rating-count","aria-label":Object(F.sprintf)(Object(F._n)("%d total rating","%d total ratings",n),n)},"(",n,")"))};var z=function(e){var t=e.icon,n=e.title,r=e.rating,o=e.ratingCount,c=e.onClick;return Object(M.createElement)("div",{className:"block-directory-downloadable-block-header__row"},null!==t.match(/\.(jpeg|jpg|gif|png)$/)?Object(M.createElement)("img",{src:t,alt:"block icon"}):Object(M.createElement)("span",null,Object(M.createElement)(H.BlockIcon,{icon:t,showColors:!0})),Object(M.createElement)("div",{className:"block-directory-downloadable-block-header__column"},Object(M.createElement)("span",{role:"heading",className:"block-directory-downloadable-block-header__title"},n),Object(M.createElement)(W,{rating:r,ratingCount:o})),Object(M.createElement)(q.Button,{isDefault:!0,onClick:function(e){e.preventDefault(),c()}},Object(F.__)("Add")))};var U=function(e){var t=e.author,n=e.authorBlockCount,r=e.authorBlockRating;return Object(M.createElement)(M.Fragment,null,Object(M.createElement)("span",{className:"block-directory-downloadable-block-author-info__content-author"},Object(F.sprintf)(Object(F.__)("Authored by %s"),t)),Object(M.createElement)("span",{className:"block-directory-downloadable-block-author-info__content"},Object(F.sprintf)(Object(F._n)("This author has %d block, with an average rating of %d.","This author has %d blocks, with an average rating of %d.",n),n,r)))};var Y=function(e){var t=e.description,n=e.activeInstalls,r=e.humanizedUpdated;return Object(M.createElement)(M.Fragment,null,Object(M.createElement)("p",{className:"block-directory-downloadable-block-info__content"},t),Object(M.createElement)("div",{className:"block-directory-downloadable-block-info__row"},Object(M.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(M.createElement)(q.Icon,{icon:"chart-line"}),Object(F.sprintf)(Object(F._n)("%d active installation","%d active installations",n),n)),Object(M.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(M.createElement)(q.Icon,{icon:"update"}),Object(M.createElement)("span",{"aria-label":Object(F.sprintf)(Object(F.__)("Updated %s"),r)},r))))};var $=function(e){var t=e.item,n=e.onClick,r=t.icon,o=t.title,c=t.description,a=t.rating,l=t.activeInstalls,i=t.ratingCount,s=t.author,u=t.humanizedUpdated,d=t.authorBlockCount,b=t.authorBlockRating;return Object(M.createElement)("li",{className:"block-directory-downloadable-block-list-item"},Object(M.createElement)("article",{className:"block-directory-downloadable-block-list-item__panel"},Object(M.createElement)("header",{className:"block-directory-downloadable-block-list-item__header"},Object(M.createElement)(z,{icon:r,onClick:n,title:o,rating:a,ratingCount:i})),Object(M.createElement)("section",{className:"block-directory-downloadable-block-list-item__body"},Object(M.createElement)(Y,{activeInstalls:l,description:c,humanizedUpdated:u})),Object(M.createElement)("footer",{className:"block-directory-downloadable-block-list-item__footer"},Object(M.createElement)(U,{author:s,authorBlockCount:d,authorBlockRating:b}))))};var G=Object(K.compose)(Object(c.withDispatch)((function(e,t){var n=e("core/block-directory"),r=n.installBlock,o=n.downloadBlock,c=e("core/notices"),a=c.createErrorNotice,l=c.removeNotice,i=e("core/block-editor").removeBlocks,s=t.onSelect;return{downloadAndInstallBlock:function(e){var t=function(){var t=s(e);r(e,u.noop,(function n(){a(Object(F.__)("Block previews can't install."),{id:"block-install-error",actions:[{label:Object(F.__)("Retry"),onClick:function(){l("block-install-error"),r(e,u.noop,n)}},{label:Object(F.__)("Remove"),onClick:function(){l("block-install-error"),i(t.clientId),Object(O.unregisterBlockType)(e.name)}}]})}))};o(e,t,(function n(){a(Object(F.__)("Block previews can’t load."),{id:"block-download-error",actions:[{label:Object(F.__)("Retry"),onClick:function(){l("block-download-error"),o(e,t,n)}}]})}))}}})))((function(e){var t=e.items,n=e.onHover,r=void 0===n?u.noop:n,o=e.children,c=e.downloadAndInstallBlock;return(Object(M.createElement)("ul",{role:"list",className:"block-directory-downloadable-blocks-list"},t&&t.map((function(e){return Object(M.createElement)($,{key:e.id,className:Object(O.getBlockMenuDefaultClassName)(e.id),icons:e.icons,onClick:function(){c(e),r(null)},onFocus:function(){return r(e)},onMouseEnter:function(){return r(e)},onMouseLeave:function(){return r(null)},onBlur:function(){return r(null)},item:e})})),o))}));var J=Object(K.compose)([q.withSpokenMessages,Object(c.withSelect)((function(e,t){var n=t.filterValue,r=e("core/block-directory"),o=r.getDownloadableBlocks,c=r.hasInstallBlocksPermission,a=r.isRequestingDownloadableBlocks,l=c();return{downloadableItems:l?o(n):[],hasPermission:l,isLoading:a()}}))])((function(e){var t=e.downloadableItems,n=e.onSelect,r=e.onHover,o=e.hasPermission,c=e.isLoading,a=e.isWaiting,l=e.debouncedSpeak;return o?c||a?Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(M.createElement)(q.Spinner,null)):t.length?(l(Object(F.sprintf)(Object(F._n)("No blocks found in your library. We did find %d block available for download.","No blocks found in your library. We did find %d blocks available for download.",t.length),t.length)),Object(M.createElement)(M.Fragment,null,Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description"},Object(F.__)("No blocks found in your library. These blocks can be downloaded and installed:")),Object(M.createElement)(G,{items:t,onSelect:n,onHover:r}))):Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(F.__)("No blocks found in your library.")):(l(Object(F.__)("No blocks found in your library. Please contact your site administrator to install new blocks.")),Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(F.__)("No blocks found in your library."),Object(M.createElement)("br",null),Object(F.__)("Please contact your site administrator to install new blocks.")))}));n.d(t,"DownloadableBlocksPanel",(function(){return J}))},4:function(e,t){!function(){e.exports=this.wp.data}()},6:function(e,t){!function(){e.exports=this.wp.blockEditor}()},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(10);function o(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{results:{},hasPermission:!0,filterValue:void 0,isRequestingDownloadableBlocks:!0,installedBlockTypes:[]},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_DOWNLOADABLE_BLOCKS":return Object(i.a)({},e,{isRequestingDownloadableBlocks:!0});case"RECEIVE_DOWNLOADABLE_BLOCKS":return Object(i.a)({},e,{results:Object.assign({},e.results,Object(l.a)({},t.filterValue,t.downloadableBlocks)),hasPermission:!0,isRequestingDownloadableBlocks:!1});case"SET_INSTALL_BLOCKS_PERMISSION":return Object(i.a)({},e,{items:t.hasPermission?e.items:[],hasPermission:t.hasPermission});case"ADD_INSTALLED_BLOCK_TYPE":return Object(i.a)({},e,{installedBlockTypes:[].concat(Object(a.a)(e.installedBlockTypes),[t.item])});case"REMOVE_INSTALLED_BLOCK_TYPE":return Object(i.a)({},e,{installedBlockTypes:e.installedBlockTypes.filter((function(e){return e.name!==t.item.name}))})}return e}}),u=n(2);function b(e){return e.downloadableBlocks.isRequestingDownloadableBlocks}function d(e,t){return e.downloadableBlocks.results[t]?e.downloadableBlocks.results[t]:[]}function f(e){return e.downloadableBlocks.hasPermission}function p(e){return Object(u.get)(e,["downloadableBlocks","installedBlockTypes"],[])}var m=n(23),k=n.n(m),O=n(10),j=n(37),h=n.n(j),_=k.a.mark(E);function y(e){return{type:"API_FETCH",request:e}}var v=function(e,t,n){if(e){var r=document.querySelector('script[src="'.concat(e.src,'"]'));r&&r.parentNode.removeChild(r);var o=document.createElement("script");o.src="string"==typeof e?e:e.src,o.onload=t,o.onerror=n,document.body.appendChild(o)}},w=function(e){if(e){var t=document.createElement("link");t.rel="stylesheet",t.href="string"==typeof e?e:e.src,document.body.appendChild(t)}};function E(e){return k.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{type:"LOAD_ASSETS",assets:e});case 1:case"end":return t.stop()}}),_)}var g={SELECT:Object(c.createRegistryControl)((function(e){return function(t){var n,r=t.storeName,o=t.selectorName,c=t.args;return(n=e.select(r))[o].apply(n,Object(a.a)(c))}})),DISPATCH:Object(c.createRegistryControl)((function(e){return function(t){var n,r=t.storeName,o=t.dispatcherName,c=t.args;return(n=e.dispatch(r))[o].apply(n,Object(a.a)(c))}})),API_FETCH:function(e){var t=e.request;return h()(Object(i.a)({},t))},LOAD_ASSETS:function(e){var t=e.assets;return new Promise((function(e,n){if(Array.isArray(t)){var r=0;Object(u.forEach)(t,(function(t){null!==t.match(/\.js$/)?(r++,v(t,(function(){if(0===--r)return e(r)}),n)):w(t)}))}else v(t.editor_script,(function(){return e(0)}),n),w(t.style)}))}},B=k.a.mark(I),x=k.a.mark(L),S=k.a.mark(A);function N(){return{type:"FETCH_DOWNLOADABLE_BLOCKS"}}function C(e,t){return{type:"RECEIVE_DOWNLOADABLE_BLOCKS",downloadableBlocks:e,filterValue:t}}function T(e){return{type:"SET_INSTALL_BLOCKS_PERMISSION",hasPermission:e}}function I(e,t,n){return k.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(r.prev=0,e.assets.length){r.next=3;break}throw new Error("Block has no assets");case 3:return r.next=5,E(e.assets);case 5:if(!Object(O.getBlockTypes)().length){r.next=10;break}t(e),r.next=11;break;case 10:throw new Error("Unable to get block types");case 11:r.next=17;break;case 13:return r.prev=13,r.t0=r.catch(0),r.next=17,n(r.t0);case 17:case"end":return r.stop()}}),B,null,[[0,13]])}function L(e,t,n){var r,o,c;return k.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r=e.id,o=e.name,a.prev=1,a.next=4,y({path:"__experimental/block-directory/install",data:{slug:r},method:"POST"});case 4:if(!1!==(c=a.sent).success){a.next=7;break}throw new Error(c.errorMessage);case 7:return a.next=9,D({id:r,name:o});case 9:t(),a.next=15;break;case 12:a.prev=12,a.t0=a.catch(1),n(a.t0);case 15:case"end":return a.stop()}}),x,null,[[1,12]])}function A(e,t,n){var r,o,c;return k.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r=e.id,o=e.name,a.prev=1,a.next=4,y({path:"__experimental/block-directory/uninstall",data:{slug:r},method:"DELETE"});case 4:if(!1!==(c=a.sent).success){a.next=7;break}throw new Error(c.errorMessage);case 7:return a.next=9,P({id:r,name:o});case 9:t(),a.next=15;break;case 12:a.prev=12,a.t0=a.catch(1),n(a.t0);case 15:case"end":return a.stop()}}),S,null,[[1,12]])}function D(e){return{type:"ADD_INSTALLED_BLOCK_TYPE",item:e}}function P(e){return{type:"REMOVE_INSTALLED_BLOCK_TYPE",item:e}}var R={reducer:s,selectors:r,actions:o,controls:g,resolvers:{getDownloadableBlocks:k.a.mark((function e(t){var n,r;return k.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,e.next=5,{type:"FETCH_DOWNLOADABLE_BLOCKS"};case 5:return e.next=7,y({path:"__experimental/block-directory/search?term=".concat(t)});case 7:return n=e.sent,r=n.map((function(e){return Object(u.mapKeys)(e,(function(e,t){return Object(u.camelCase)(t)}))})),e.next=11,C(r,t);case 11:e.next=18;break;case 13:if(e.prev=13,e.t0=e.catch(2),"rest_user_cannot_view"!==e.t0.code){e.next=18;break}return e.next=18,T(!1);case 18:case"end":return e.stop()}}),e,null,[[2,13]])})),hasInstallBlocksPermission:k.a.mark((function e(){return k.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,y({path:"__experimental/block-directory/search?term="});case 3:return e.next=5,T(!0);case 5:e.next=12;break;case 7:if(e.prev=7,e.t0=e.catch(0),"rest_user_cannot_view"!==e.t0.code){e.next=12;break}return e.next=12,T(!1);case 12:case"end":return e.stop()}}),e,null,[[0,7]])}))}},M=(Object(c.registerStore)("core/block-directory",R),n(0)),K=n(49),H=n(22),F=n(5),V=n(8),q=n(1),W=n(3);var z=function(e){var t=e.rating,n=.5*Math.round(t/.5),r=Math.floor(t),o=Math.ceil(t-r),c=5-(r+o);return Object(M.createElement)("div",{"aria-label":Object(q.sprintf)(Object(q.__)("%s out of 5 stars"),n)},Object(u.times)(r,(function(e){return Object(M.createElement)(W.Icon,{key:"full_stars_".concat(e),icon:"star-filled",size:16})})),Object(u.times)(o,(function(e){return Object(M.createElement)(W.Icon,{key:"half_stars_".concat(e),icon:"star-half",size:16})})),Object(u.times)(c,(function(e){return Object(M.createElement)(W.Icon,{key:"empty_stars_".concat(e),icon:"star-empty",size:16})})))},U=function(e){var t=e.rating,n=e.ratingCount;return Object(M.createElement)("div",{className:"block-directory-block-ratings"},Object(M.createElement)(z,{rating:t}),Object(M.createElement)("span",{className:"block-directory-block-ratings__rating-count","aria-label":Object(q.sprintf)(Object(q._n)("%d total rating","%d total ratings",n),n)},"(",n,")"))};var Y=function(e){var t=e.icon,n=e.title,r=e.rating,o=e.ratingCount,c=e.onClick;return Object(M.createElement)("div",{className:"block-directory-downloadable-block-header__row"},null!==t.match(/\.(jpeg|jpg|gif|png)$/)?Object(M.createElement)("img",{src:t,alt:"block icon"}):Object(M.createElement)("span",null,Object(M.createElement)(F.BlockIcon,{icon:t,showColors:!0})),Object(M.createElement)("div",{className:"block-directory-downloadable-block-header__column"},Object(M.createElement)("span",{role:"heading",className:"block-directory-downloadable-block-header__title"},n),Object(M.createElement)(U,{rating:r,ratingCount:o})),Object(M.createElement)(W.Button,{isDefault:!0,onClick:function(e){e.preventDefault(),c()}},Object(q.__)("Add")))};var $=function(e){var t=e.author,n=e.authorBlockCount,r=e.authorBlockRating;return Object(M.createElement)(M.Fragment,null,Object(M.createElement)("span",{className:"block-directory-downloadable-block-author-info__content-author"},Object(q.sprintf)(Object(q.__)("Authored by %s"),t)),Object(M.createElement)("span",{className:"block-directory-downloadable-block-author-info__content"},Object(q.sprintf)(Object(q._n)("This author has %d block, with an average rating of %d.","This author has %d blocks, with an average rating of %d.",n),n,r)))};var G=function(e){var t=e.description,n=e.activeInstalls,r=e.humanizedUpdated;return Object(M.createElement)(M.Fragment,null,Object(M.createElement)("p",{className:"block-directory-downloadable-block-info__content"},t),Object(M.createElement)("div",{className:"block-directory-downloadable-block-info__row"},Object(M.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(M.createElement)(W.Icon,{icon:"chart-line"}),Object(q.sprintf)(Object(q._n)("%d active installation","%d active installations",n),n)),Object(M.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(M.createElement)(W.Icon,{icon:"update"}),Object(M.createElement)("span",{"aria-label":Object(q.sprintf)(Object(q.__)("Updated %s"),r)},r))))};var J=function(e){var t=e.item,n=e.onClick,r=t.icon,o=t.title,c=t.description,a=t.rating,l=t.activeInstalls,i=t.ratingCount,s=t.author,u=t.humanizedUpdated,b=t.authorBlockCount,d=t.authorBlockRating;return Object(M.createElement)("li",{className:"block-directory-downloadable-block-list-item"},Object(M.createElement)("article",{className:"block-directory-downloadable-block-list-item__panel"},Object(M.createElement)("header",{className:"block-directory-downloadable-block-list-item__header"},Object(M.createElement)(Y,{icon:r,onClick:n,title:o,rating:a,ratingCount:i})),Object(M.createElement)("section",{className:"block-directory-downloadable-block-list-item__body"},Object(M.createElement)(G,{activeInstalls:l,description:c,humanizedUpdated:u})),Object(M.createElement)("footer",{className:"block-directory-downloadable-block-list-item__footer"},Object(M.createElement)($,{author:s,authorBlockCount:b,authorBlockRating:d}))))};var Q=Object(V.compose)(Object(c.withDispatch)((function(e,t){var n=e("core/block-directory"),r=n.installBlock,o=n.downloadBlock,c=e("core/notices"),a=c.createErrorNotice,l=c.removeNotice,i=e("core/block-editor").removeBlocks,s=t.onSelect;return{downloadAndInstallBlock:function(e){var t=function(){var t=s(e);r(e,u.noop,(function n(){a(Object(q.__)("Block previews can't install."),{id:"block-install-error",actions:[{label:Object(q.__)("Retry"),onClick:function(){l("block-install-error"),r(e,u.noop,n)}},{label:Object(q.__)("Remove"),onClick:function(){l("block-install-error"),i(t.clientId),Object(O.unregisterBlockType)(e.name)}}]})}))};o(e,t,(function n(){a(Object(q.__)("Block previews can’t load."),{id:"block-download-error",actions:[{label:Object(q.__)("Retry"),onClick:function(){l("block-download-error"),o(e,t,n)}}]})}))}}})))((function(e){var t=e.items,n=e.onHover,r=void 0===n?u.noop:n,o=e.children,c=e.downloadAndInstallBlock;return(Object(M.createElement)("ul",{role:"list",className:"block-directory-downloadable-blocks-list"},t&&t.map((function(e){return Object(M.createElement)(J,{key:e.id,className:Object(O.getBlockMenuDefaultClassName)(e.id),icons:e.icons,onClick:function(){c(e),r(null)},onFocus:function(){return r(e)},onMouseEnter:function(){return r(e)},onMouseLeave:function(){return r(null)},onBlur:function(){return r(null)},item:e})})),o))}));var X=Object(V.compose)([W.withSpokenMessages,Object(c.withSelect)((function(e,t){var n=t.filterValue,r=e("core/block-directory"),o=r.getDownloadableBlocks,c=r.hasInstallBlocksPermission,a=r.isRequestingDownloadableBlocks,l=c();return{downloadableItems:l?o(n):[],hasPermission:l,isLoading:a()}}))])((function(e){var t=e.downloadableItems,n=e.onSelect,r=e.onHover,o=e.hasPermission,c=e.isLoading,a=e.isWaiting,l=e.debouncedSpeak;return o?c||a?Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(M.createElement)(W.Spinner,null)):t.length?(l(Object(q.sprintf)(Object(q._n)("No blocks found in your library. We did find %d block available for download.","No blocks found in your library. We did find %d blocks available for download.",t.length),t.length)),Object(M.createElement)(M.Fragment,null,Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description"},Object(q.__)("No blocks found in your library. These blocks can be downloaded and installed:")),Object(M.createElement)(Q,{items:t,onSelect:n,onHover:r}))):Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(q.__)("No blocks found in your library.")):(l(Object(q.__)("No blocks found in your library. Please contact your site administrator to install new blocks.")),Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(q.__)("No blocks found in your library."),Object(M.createElement)("br",null),Object(q.__)("Please contact your site administrator to install new blocks.")))}));var Z=function(){var e=Object(M.useState)(""),t=Object(H.a)(e,2),n=t[0],r=t[1],o=Object(u.debounce)(r,400);return Object(M.createElement)(F.__experimentalInserterMenuExtension,null,(function(e){var t=e.onSelect,r=e.onHover,c=e.filterValue;return e.hasItems||!c?null:(n!==c&&o(c),Object(M.createElement)(X,{onSelect:t,onHover:r,filterValue:n,isWaiting:c!==n}))}))};Object(K.registerPlugin)("block-directory",{render:function(){return Object(M.createElement)(Z,null)}})},4:function(e,t){!function(){e.exports=this.wp.data}()},49:function(e,t){!function(){e.exports=this.wp.plugins}()},5:function(e,t){!function(){e.exports=this.wp.blockEditor}()},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9);function o(e){for(var t=1;t= 0) continue; - target[key] = source[key]; - } - - return target; -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; }); +/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40); function _objectWithoutProperties(source, excluded) { if (source == null) return {}; - var target = _objectWithoutPropertiesLoose(source, excluded); + var target = Object(_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { @@ -2438,7 +2394,7 @@ function _objectWithoutProperties(source, excluded) { /***/ }), -/***/ 217: +/***/ 216: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -2469,7 +2425,7 @@ exports.default = multi; /***/ }), -/***/ 218: +/***/ 217: /***/ (function(module, exports, __webpack_require__) { /*! @@ -4312,7 +4268,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/***/ 219: +/***/ 218: /***/ (function(module, exports) { var traverse = module.exports = function (obj) { @@ -4634,22 +4590,19 @@ var hasOwnProperty = Object.hasOwnProperty || function (obj, key) { /***/ }), /***/ 22: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["richText"]; }()); - -/***/ }), - -/***/ 23: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(38); +var arrayWithHoles = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { + if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { + return; + } + var _arr = []; var _n = true; var _d = false; @@ -4675,7 +4628,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(39); +var nonIterableRest = __webpack_require__(34); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -4688,14 +4641,21 @@ function _slicedToArray(arr, i) { /***/ }), -/***/ 25: +/***/ 23: /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["dom"]; }()); +(function() { module.exports = this["regeneratorRuntime"]; }()); /***/ }), -/***/ 26: +/***/ 24: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["richText"]; }()); + +/***/ }), + +/***/ 25: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["url"]; }()); @@ -4710,54 +4670,6 @@ function _slicedToArray(arr, i) { /***/ }), /***/ 28: -/***/ (function(module, exports) { - -(function() { module.exports = this["React"]; }()); - -/***/ }), - -/***/ 3: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["components"]; }()); - -/***/ }), - -/***/ 30: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; }); -function _iterableToArray(iter) { - if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); -} - -/***/ }), - -/***/ 31: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); -function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); } - -function _typeof(obj) { - if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") { - _typeof = function _typeof(obj) { - return _typeof2(obj); - }; - } else { - _typeof = function _typeof(obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj); - }; - } - - return _typeof(obj); -} - -/***/ }), - -/***/ 33: /***/ (function(module, exports, __webpack_require__) { /** @@ -4770,30 +4682,113 @@ function _typeof(obj) { if (false) { var throwOnDirectAccess, ReactIs; } else { // By explicitly using `prop-types` you are opting into new production behavior. // http://fb.me/prop-types-in-prod - module.exports = __webpack_require__(86)(); + module.exports = __webpack_require__(88)(); } /***/ }), -/***/ 342: +/***/ 29: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["dom"]; }()); + +/***/ }), + +/***/ 3: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["components"]; }()); + +/***/ }), + +/***/ 31: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); +function _typeof(obj) { + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + _typeof = function _typeof(obj) { + return typeof obj; + }; + } else { + _typeof = function _typeof(obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + } + + return _typeof(obj); +} + +/***/ }), + +/***/ 32: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; }); +function _iterableToArray(iter) { + if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); +} + +/***/ }), + +/***/ 33: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); +function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; +} + +/***/ }), + +/***/ 34: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); +function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance"); +} + +/***/ }), + +/***/ 35: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["deprecated"]; }()); + +/***/ }), + +/***/ 36: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["blob"]; }()); + +/***/ }), + +/***/ 362: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var actions_namespaceObject = {}; __webpack_require__.r(actions_namespaceObject); -__webpack_require__.d(actions_namespaceObject, "resetBlocks", function() { return resetBlocks; }); +__webpack_require__.d(actions_namespaceObject, "resetBlocks", function() { return actions_resetBlocks; }); +__webpack_require__.d(actions_namespaceObject, "resetSelection", function() { return actions_resetSelection; }); __webpack_require__.d(actions_namespaceObject, "receiveBlocks", function() { return receiveBlocks; }); __webpack_require__.d(actions_namespaceObject, "updateBlockAttributes", function() { return actions_updateBlockAttributes; }); -__webpack_require__.d(actions_namespaceObject, "updateBlock", function() { return updateBlock; }); +__webpack_require__.d(actions_namespaceObject, "updateBlock", function() { return actions_updateBlock; }); __webpack_require__.d(actions_namespaceObject, "selectBlock", function() { return actions_selectBlock; }); __webpack_require__.d(actions_namespaceObject, "selectPreviousBlock", function() { return selectPreviousBlock; }); __webpack_require__.d(actions_namespaceObject, "selectNextBlock", function() { return selectNextBlock; }); -__webpack_require__.d(actions_namespaceObject, "startMultiSelect", function() { return startMultiSelect; }); -__webpack_require__.d(actions_namespaceObject, "stopMultiSelect", function() { return stopMultiSelect; }); +__webpack_require__.d(actions_namespaceObject, "startMultiSelect", function() { return actions_startMultiSelect; }); +__webpack_require__.d(actions_namespaceObject, "stopMultiSelect", function() { return actions_stopMultiSelect; }); __webpack_require__.d(actions_namespaceObject, "multiSelect", function() { return actions_multiSelect; }); -__webpack_require__.d(actions_namespaceObject, "clearSelectedBlock", function() { return clearSelectedBlock; }); +__webpack_require__.d(actions_namespaceObject, "clearSelectedBlock", function() { return actions_clearSelectedBlock; }); __webpack_require__.d(actions_namespaceObject, "toggleSelection", function() { return actions_toggleSelection; }); __webpack_require__.d(actions_namespaceObject, "replaceBlocks", function() { return actions_replaceBlocks; }); __webpack_require__.d(actions_namespaceObject, "replaceBlock", function() { return replaceBlock; }); @@ -4813,12 +4808,14 @@ __webpack_require__.d(actions_namespaceObject, "replaceInnerBlocks", function() __webpack_require__.d(actions_namespaceObject, "toggleBlockMode", function() { return toggleBlockMode; }); __webpack_require__.d(actions_namespaceObject, "startTyping", function() { return startTyping; }); __webpack_require__.d(actions_namespaceObject, "stopTyping", function() { return stopTyping; }); +__webpack_require__.d(actions_namespaceObject, "startDraggingBlocks", function() { return actions_startDraggingBlocks; }); +__webpack_require__.d(actions_namespaceObject, "stopDraggingBlocks", function() { return actions_stopDraggingBlocks; }); __webpack_require__.d(actions_namespaceObject, "enterFormattedText", function() { return enterFormattedText; }); __webpack_require__.d(actions_namespaceObject, "exitFormattedText", function() { return exitFormattedText; }); __webpack_require__.d(actions_namespaceObject, "selectionChange", function() { return selectionChange; }); __webpack_require__.d(actions_namespaceObject, "insertDefaultBlock", function() { return actions_insertDefaultBlock; }); __webpack_require__.d(actions_namespaceObject, "updateBlockListSettings", function() { return updateBlockListSettings; }); -__webpack_require__.d(actions_namespaceObject, "updateSettings", function() { return updateSettings; }); +__webpack_require__.d(actions_namespaceObject, "updateSettings", function() { return actions_updateSettings; }); __webpack_require__.d(actions_namespaceObject, "__unstableSaveReusableBlock", function() { return __unstableSaveReusableBlock; }); __webpack_require__.d(actions_namespaceObject, "__unstableMarkLastChangeAsPersistent", function() { return actions_unstableMarkLastChangeAsPersistent; }); __webpack_require__.d(actions_namespaceObject, "__unstableMarkAutomaticChange", function() { return __unstableMarkAutomaticChange; }); @@ -4840,8 +4837,8 @@ __webpack_require__.d(selectors_namespaceObject, "getClientIdsWithDescendants", __webpack_require__.d(selectors_namespaceObject, "getGlobalBlockCount", function() { return getGlobalBlockCount; }); __webpack_require__.d(selectors_namespaceObject, "getBlocksByClientId", function() { return selectors_getBlocksByClientId; }); __webpack_require__.d(selectors_namespaceObject, "getBlockCount", function() { return selectors_getBlockCount; }); -__webpack_require__.d(selectors_namespaceObject, "getSelectionStart", function() { return getSelectionStart; }); -__webpack_require__.d(selectors_namespaceObject, "getSelectionEnd", function() { return getSelectionEnd; }); +__webpack_require__.d(selectors_namespaceObject, "getSelectionStart", function() { return selectors_getSelectionStart; }); +__webpack_require__.d(selectors_namespaceObject, "getSelectionEnd", function() { return selectors_getSelectionEnd; }); __webpack_require__.d(selectors_namespaceObject, "getBlockSelectionStart", function() { return getBlockSelectionStart; }); __webpack_require__.d(selectors_namespaceObject, "getBlockSelectionEnd", function() { return getBlockSelectionEnd; }); __webpack_require__.d(selectors_namespaceObject, "getSelectedBlockCount", function() { return selectors_getSelectedBlockCount; }); @@ -4849,6 +4846,7 @@ __webpack_require__.d(selectors_namespaceObject, "hasSelectedBlock", function() __webpack_require__.d(selectors_namespaceObject, "getSelectedBlockClientId", function() { return selectors_getSelectedBlockClientId; }); __webpack_require__.d(selectors_namespaceObject, "getSelectedBlock", function() { return selectors_getSelectedBlock; }); __webpack_require__.d(selectors_namespaceObject, "getBlockRootClientId", function() { return selectors_getBlockRootClientId; }); +__webpack_require__.d(selectors_namespaceObject, "getBlockParents", function() { return selectors_getBlockParents; }); __webpack_require__.d(selectors_namespaceObject, "getBlockHierarchyRootClientId", function() { return getBlockHierarchyRootClientId; }); __webpack_require__.d(selectors_namespaceObject, "getAdjacentBlockClientId", function() { return getAdjacentBlockClientId; }); __webpack_require__.d(selectors_namespaceObject, "getPreviousBlockClientId", function() { return getPreviousBlockClientId; }); @@ -4870,10 +4868,11 @@ __webpack_require__.d(selectors_namespaceObject, "isBlockSelected", function() { __webpack_require__.d(selectors_namespaceObject, "hasSelectedInnerBlock", function() { return selectors_hasSelectedInnerBlock; }); __webpack_require__.d(selectors_namespaceObject, "isBlockWithinSelection", function() { return isBlockWithinSelection; }); __webpack_require__.d(selectors_namespaceObject, "hasMultiSelection", function() { return selectors_hasMultiSelection; }); -__webpack_require__.d(selectors_namespaceObject, "isMultiSelecting", function() { return isMultiSelecting; }); +__webpack_require__.d(selectors_namespaceObject, "isMultiSelecting", function() { return selectors_isMultiSelecting; }); __webpack_require__.d(selectors_namespaceObject, "isSelectionEnabled", function() { return selectors_isSelectionEnabled; }); __webpack_require__.d(selectors_namespaceObject, "getBlockMode", function() { return selectors_getBlockMode; }); __webpack_require__.d(selectors_namespaceObject, "isTyping", function() { return selectors_isTyping; }); +__webpack_require__.d(selectors_namespaceObject, "isDraggingBlocks", function() { return selectors_isDraggingBlocks; }); __webpack_require__.d(selectors_namespaceObject, "isCaretWithinFormattedText", function() { return selectors_isCaretWithinFormattedText; }); __webpack_require__.d(selectors_namespaceObject, "getBlockInsertionPoint", function() { return getBlockInsertionPoint; }); __webpack_require__.d(selectors_namespaceObject, "isBlockInsertionPointVisible", function() { return isBlockInsertionPointVisible; }); @@ -4882,7 +4881,8 @@ __webpack_require__.d(selectors_namespaceObject, "getTemplate", function() { ret __webpack_require__.d(selectors_namespaceObject, "getTemplateLock", function() { return selectors_getTemplateLock; }); __webpack_require__.d(selectors_namespaceObject, "canInsertBlockType", function() { return selectors_canInsertBlockType; }); __webpack_require__.d(selectors_namespaceObject, "getInserterItems", function() { return selectors_getInserterItems; }); -__webpack_require__.d(selectors_namespaceObject, "hasInserterItems", function() { return hasInserterItems; }); +__webpack_require__.d(selectors_namespaceObject, "hasInserterItems", function() { return selectors_hasInserterItems; }); +__webpack_require__.d(selectors_namespaceObject, "__experimentalGetAllowedBlocks", function() { return selectors_experimentalGetAllowedBlocks; }); __webpack_require__.d(selectors_namespaceObject, "getBlockListSettings", function() { return getBlockListSettings; }); __webpack_require__.d(selectors_namespaceObject, "getSettings", function() { return selectors_getSettings; }); __webpack_require__.d(selectors_namespaceObject, "isLastBlockChangePersistent", function() { return selectors_isLastBlockChangePersistent; }); @@ -4893,25 +4893,25 @@ __webpack_require__.d(selectors_namespaceObject, "isNavigationMode", function() __webpack_require__.d(selectors_namespaceObject, "didAutomaticChange", function() { return selectors_didAutomaticChange; }); // EXTERNAL MODULE: external {"this":["wp","blocks"]} -var external_this_wp_blocks_ = __webpack_require__(9); +var external_this_wp_blocks_ = __webpack_require__(10); // EXTERNAL MODULE: external {"this":["wp","richText"]} -var external_this_wp_richText_ = __webpack_require__(22); +var external_this_wp_richText_ = __webpack_require__(24); // EXTERNAL MODULE: external {"this":["wp","viewport"]} -var external_this_wp_viewport_ = __webpack_require__(42); +var external_this_wp_viewport_ = __webpack_require__(50); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js var objectSpread = __webpack_require__(7); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(18); +var esm_extends = __webpack_require__(14); // EXTERNAL MODULE: external {"this":["wp","element"]} var external_this_wp_element_ = __webpack_require__(0); // EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(16); +var classnames = __webpack_require__(11); var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); // EXTERNAL MODULE: external {"this":"lodash"} @@ -4927,7 +4927,7 @@ var external_this_wp_hooks_ = __webpack_require__(27); var external_this_wp_data_ = __webpack_require__(4); // EXTERNAL MODULE: ./node_modules/tinycolor2/tinycolor.js -var tinycolor = __webpack_require__(47); +var tinycolor = __webpack_require__(48); var tinycolor_default = /*#__PURE__*/__webpack_require__.n(tinycolor); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/utils.js @@ -5010,25 +5010,25 @@ function utils_getMostReadableColor(colors, colorValue) { } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(12); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(11); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(13); +var possibleConstructorReturn = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(14); +var getPrototypeOf = __webpack_require__(16); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js -var assertThisInitialized = __webpack_require__(5); +var assertThisInitialized = __webpack_require__(6); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(15); +var inherits = __webpack_require__(17); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(10); +var defineProperty = __webpack_require__(9); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/with-colors.js @@ -5100,7 +5100,7 @@ var with_colors_withEditorColorPalette = function withEditorColorPalette() { * @param {Array} colorTypes An array of color types (e.g. 'backgroundColor, borderColor). * @param {Function} withColorPalette A HOC for injecting the 'colors' prop into the WrappedComponent. * - * @return {Component} The component that can be used as a HOC. + * @return {WPComponent} The component that can be used as a HOC. */ @@ -5271,10 +5271,918 @@ function withColors() { return Object(external_this_wp_compose_["createHigherOrderComponent"])(createColorHOC(colorTypes, withColorPalette), 'withColors'); } +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(18); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(21); + +// EXTERNAL MODULE: ./node_modules/memize/index.js +var memize = __webpack_require__(42); +var memize_default = /*#__PURE__*/__webpack_require__.n(memize); + +// EXTERNAL MODULE: external {"this":["wp","i18n"]} +var external_this_wp_i18n_ = __webpack_require__(1); + +// EXTERNAL MODULE: external {"this":["wp","components"]} +var external_this_wp_components_ = __webpack_require__(3); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/color-palette/with-color-context.js +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/* harmony default export */ var with_color_context = (Object(external_this_wp_compose_["createHigherOrderComponent"])(Object(external_this_wp_data_["withSelect"])(function (select, ownProps) { + var settings = select('core/block-editor').getSettings(); + var colors = ownProps.colors === undefined ? settings.colors : ownProps.colors; + var disableCustomColors = ownProps.disableCustomColors === undefined ? settings.disableCustomColors : ownProps.disableCustomColors; + return { + colors: colors, + disableCustomColors: disableCustomColors, + hasColorsToChoose: !Object(external_this_lodash_["isEmpty"])(colors) || !disableCustomColors + }; +}), 'withColorContext')); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/color-palette/index.js +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + +/* harmony default export */ var color_palette = (with_color_context(external_this_wp_components_["ColorPalette"])); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/color-palette/control.js + + + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + + + // translators: first %s: The type of color (e.g. background color), second %s: the color name or value (e.g. red or #ff0000) + +var colorIndicatorAriaLabel = Object(external_this_wp_i18n_["__"])('(current %s: %s)'); + +function ColorPaletteControl(_ref) { + var colors = _ref.colors, + disableCustomColors = _ref.disableCustomColors, + label = _ref.label, + onChange = _ref.onChange, + value = _ref.value; + var colorObject = utils_getColorObjectByColorValue(colors, value); + var colorName = colorObject && colorObject.name; + var ariaLabel = Object(external_this_wp_i18n_["sprintf"])(colorIndicatorAriaLabel, label.toLowerCase(), colorName || value); + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], { + className: "editor-color-palette-control block-editor-color-palette-control" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"].VisualLabel, null, label, value && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ColorIndicator"], { + colorValue: value, + "aria-label": ariaLabel + })), Object(external_this_wp_element_["createElement"])(color_palette, Object(esm_extends["a" /* default */])({ + className: "editor-color-palette-control__color-palette block-editor-color-palette-control__color-palette", + value: value, + onChange: onChange + }, { + colors: colors, + disableCustomColors: disableCustomColors + }))); +} +/* harmony default export */ var color_palette_control = (Object(external_this_wp_compose_["compose"])([with_color_context, Object(external_this_wp_compose_["ifCondition"])(function (_ref2) { + var hasColorsToChoose = _ref2.hasColorsToChoose; + return hasColorsToChoose; +})])(ColorPaletteControl)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/panel-color-settings/index.js + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + +/** + * Internal dependencies + */ + + + + + +var hasCustomColorsDisabledForSetting = function hasCustomColorsDisabledForSetting(disableCustomColors, colorSetting) { + if (colorSetting.disableCustomColors !== undefined) { + return colorSetting.disableCustomColors; + } + + return disableCustomColors; +}; + +var hasColorsToChooseInSetting = function hasColorsToChooseInSetting() { + var colors = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + var disableCustomColors = arguments.length > 1 ? arguments[1] : undefined; + var colorSetting = arguments.length > 2 ? arguments[2] : undefined; + + if (!hasCustomColorsDisabledForSetting(disableCustomColors, colorSetting)) { + return true; + } + + return (colorSetting.colors || colors).length > 0; +}; + +var panel_color_settings_hasColorsToChoose = function hasColorsToChoose(_ref) { + var colors = _ref.colors, + disableCustomColors = _ref.disableCustomColors, + colorSettings = _ref.colorSettings; + return Object(external_this_lodash_["some"])(colorSettings, function (colorSetting) { + return hasColorsToChooseInSetting(colors, disableCustomColors, colorSetting); + }); +}; // translators: first %s: The type of color (e.g. background color), second %s: the color name or value (e.g. red or #ff0000) + + +var panel_color_settings_colorIndicatorAriaLabel = Object(external_this_wp_i18n_["__"])('(%s: %s)'); + +var panel_color_settings_renderColorIndicators = function renderColorIndicators(colorSettings, colors) { + return colorSettings.map(function (_ref2, index) { + var value = _ref2.value, + label = _ref2.label, + availableColors = _ref2.colors; + + if (!value) { + return null; + } + + var colorObject = utils_getColorObjectByColorValue(availableColors || colors, value); + var colorName = colorObject && colorObject.name; + var ariaLabel = Object(external_this_wp_i18n_["sprintf"])(panel_color_settings_colorIndicatorAriaLabel, label.toLowerCase(), colorName || value); + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ColorIndicator"], { + key: index, + colorValue: value, + "aria-label": ariaLabel + }); + }); +}; // colorSettings is passed as an array of props so that it can be used for +// mapping both ColorIndicator and ColorPaletteControl components. Passing +// an array of components/nodes here wouldn't be feasible. + + +var PanelColorSettings = Object(external_this_wp_compose_["ifCondition"])(panel_color_settings_hasColorsToChoose)(function (_ref3) { + var children = _ref3.children, + colors = _ref3.colors, + colorSettings = _ref3.colorSettings, + disableCustomColors = _ref3.disableCustomColors, + title = _ref3.title, + props = Object(objectWithoutProperties["a" /* default */])(_ref3, ["children", "colors", "colorSettings", "disableCustomColors", "title"]); + + var titleElement = Object(external_this_wp_element_["createElement"])("span", { + className: "editor-panel-color-settings__panel-title block-editor-panel-color-settings__panel-title" + }, title, panel_color_settings_renderColorIndicators(colorSettings, colors)); + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], Object(esm_extends["a" /* default */])({ + className: "editor-panel-color-settings block-editor-panel-color-settings", + title: titleElement + }, props), colorSettings.map(function (settings, index) { + return Object(external_this_wp_element_["createElement"])(color_palette_control, Object(esm_extends["a" /* default */])({ + key: index + }, Object(objectSpread["a" /* default */])({ + colors: colors, + disableCustomColors: disableCustomColors + }, settings))); + }), children); +}); +/* harmony default export */ var panel_color_settings = (with_color_context(PanelColorSettings)); + +// EXTERNAL MODULE: external {"this":["wp","a11y"]} +var external_this_wp_a11y_ = __webpack_require__(44); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/contrast-checker/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + + +function ContrastCheckerMessage(_ref) { + var tinyBackgroundColor = _ref.tinyBackgroundColor, + tinyTextColor = _ref.tinyTextColor, + backgroundColor = _ref.backgroundColor, + textColor = _ref.textColor; + var msg = tinyBackgroundColor.getBrightness() < tinyTextColor.getBrightness() ? Object(external_this_wp_i18n_["__"])('This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color.') : Object(external_this_wp_i18n_["__"])('This color combination may be hard for people to read. Try using a brighter background color and/or a darker text color.'); + Object(external_this_wp_element_["useEffect"])(function () { + Object(external_this_wp_a11y_["speak"])(Object(external_this_wp_i18n_["__"])('This color combination may be hard for people to read.')); + }, [backgroundColor, textColor]); + return Object(external_this_wp_element_["createElement"])("div", { + className: "editor-contrast-checker block-editor-contrast-checker" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Notice"], { + status: "warning", + isDismissible: false + }, msg)); +} + +function ContrastChecker(_ref2) { + var backgroundColor = _ref2.backgroundColor, + fallbackBackgroundColor = _ref2.fallbackBackgroundColor, + fallbackTextColor = _ref2.fallbackTextColor, + fontSize = _ref2.fontSize, + isLargeText = _ref2.isLargeText, + textColor = _ref2.textColor; + + if (!(backgroundColor || fallbackBackgroundColor) || !(textColor || fallbackTextColor)) { + return null; + } + + var tinyBackgroundColor = tinycolor_default()(backgroundColor || fallbackBackgroundColor); + var tinyTextColor = tinycolor_default()(textColor || fallbackTextColor); + var hasTransparency = tinyBackgroundColor.getAlpha() !== 1 || tinyTextColor.getAlpha() !== 1; + + if (hasTransparency || tinycolor_default.a.isReadable(tinyBackgroundColor, tinyTextColor, { + level: 'AA', + size: isLargeText || isLargeText !== false && fontSize >= 24 ? 'large' : 'small' + })) { + return null; + } + + return Object(external_this_wp_element_["createElement"])(ContrastCheckerMessage, { + backgroundColor: backgroundColor, + textColor: textColor, + tinyBackgroundColor: tinyBackgroundColor, + tinyTextColor: tinyTextColor + }); +} + +/* harmony default export */ var contrast_checker = (ContrastChecker); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/context.js + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +var Context = Object(external_this_wp_element_["createContext"])({ + name: '', + isSelected: false, + focusedElement: null, + setFocusedElement: external_this_lodash_["noop"], + clientId: null +}); +var Provider = Context.Provider, + Consumer = Context.Consumer; + +/** + * A hook that returns the block edit context. + * + * @return {Object} Block edit context + */ + +function useBlockEditContext() { + return Object(external_this_wp_element_["useContext"])(Context); +} +/** + * A Higher Order Component used to inject BlockEdit context to the + * wrapped component. + * + * @param {Function} mapContextToProps Function called on every context change, + * expected to return object of props to + * merge with the component's own props. + * + * @return {WPComponent} Enhanced component with injected context as props. + */ + +var context_withBlockEditContext = function withBlockEditContext(mapContextToProps) { + return Object(external_this_wp_compose_["createHigherOrderComponent"])(function (OriginalComponent) { + return function (props) { + return Object(external_this_wp_element_["createElement"])(Consumer, null, function (context) { + return Object(external_this_wp_element_["createElement"])(OriginalComponent, Object(esm_extends["a" /* default */])({}, props, mapContextToProps(context, props))); + }); + }; + }, 'withBlockEditContext'); +}; +/** + * A Higher Order Component used to render conditionally the wrapped + * component only when the BlockEdit has selected state set. + * + * @param {WPComponent} OriginalComponent Component to wrap. + * + * @return {WPComponent} Component which renders only when the BlockEdit is selected. + */ + +var ifBlockEditSelected = Object(external_this_wp_compose_["createHigherOrderComponent"])(function (OriginalComponent) { + return function (props) { + return Object(external_this_wp_element_["createElement"])(Consumer, null, function (_ref) { + var isSelected = _ref.isSelected; + return isSelected && Object(external_this_wp_element_["createElement"])(OriginalComponent, props); + }); + }; +}, 'ifBlockEditSelected'); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inspector-controls/index.js +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + + +var _createSlotFill = Object(external_this_wp_components_["createSlotFill"])('InspectorControls'), + Fill = _createSlotFill.Fill, + Slot = _createSlotFill.Slot; + +var InspectorControls = ifBlockEditSelected(Fill); +InspectorControls.Slot = Slot; +/** + * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/inspector-controls/README.md + */ + +/* harmony default export */ var inspector_controls = (InspectorControls); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/edit.js + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +var edit_Edit = function Edit(props) { + var _props$attributes = props.attributes, + attributes = _props$attributes === void 0 ? {} : _props$attributes, + name = props.name; + var blockType = Object(external_this_wp_blocks_["getBlockType"])(name); + + if (!blockType) { + return null; + } // Generate a class name for the block's editable form + + + var generatedClassName = Object(external_this_wp_blocks_["hasBlockSupport"])(blockType, 'className', true) ? Object(external_this_wp_blocks_["getBlockDefaultClassName"])(name) : null; + var className = classnames_default()(generatedClassName, attributes.className); // `edit` and `save` are functions or components describing the markup + // with which a block is displayed. If `blockType` is valid, assign + // them preferentially as the render value for the block. + + var Component = blockType.edit || blockType.save; + return Object(external_this_wp_element_["createElement"])(Component, Object(esm_extends["a" /* default */])({}, props, { + className: className + })); +}; +/* harmony default export */ var edit = (Object(external_this_wp_components_["withFilters"])('editor.BlockEdit')(edit_Edit)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/index.js + + + + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + + + +var block_edit_BlockEdit = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(BlockEdit, _Component); + + function BlockEdit() { + var _this; + + Object(classCallCheck["a" /* default */])(this, BlockEdit); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(BlockEdit).apply(this, arguments)); // It is important to return the same object if props haven't changed + // to avoid unnecessary rerenders. + // See https://reactjs.org/docs/context.html#caveats. + + _this.propsToContext = memize_default()(_this.propsToContext.bind(Object(assertThisInitialized["a" /* default */])(_this)), { + maxSize: 1 + }); + return _this; + } + + Object(createClass["a" /* default */])(BlockEdit, [{ + key: "propsToContext", + value: function propsToContext(name, isSelected, clientId, onFocus, onCaretVerticalPositionChange) { + return { + name: name, + isSelected: isSelected, + clientId: clientId, + onFocus: onFocus, + onCaretVerticalPositionChange: onCaretVerticalPositionChange + }; + } + }, { + key: "render", + value: function render() { + var _this$props = this.props, + name = _this$props.name, + isSelected = _this$props.isSelected, + clientId = _this$props.clientId, + onFocus = _this$props.onFocus, + onCaretVerticalPositionChange = _this$props.onCaretVerticalPositionChange; + var value = this.propsToContext(name, isSelected, clientId, onFocus, onCaretVerticalPositionChange); + return Object(external_this_wp_element_["createElement"])(Provider, { + value: value + }, Object(external_this_wp_element_["createElement"])(edit, this.props)); + } + }]); + + return BlockEdit; +}(external_this_wp_element_["Component"]); + +/* harmony default export */ var block_edit = (block_edit_BlockEdit); + + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/use-colors.js + + + + + + + +/** + * External dependencies + */ + + + +/** + * WordPress dependencies + */ + + + + + +/** + * Internal dependencies + */ + + + + + +/** + * Browser dependencies + */ + +var _window = window, + getComputedStyle = _window.getComputedStyle, + Node = _window.Node; +var use_colors_DEFAULT_COLORS = []; + +var resolveContrastCheckerColor = function resolveContrastCheckerColor(color, colorSettings, detectedColor) { + if (typeof color === 'function') { + return color(colorSettings); + } else if (color === true) { + return detectedColor; + } + + return color; +}; + +var use_colors_ColorPanel = function ColorPanel(_ref) { + var title = _ref.title, + colorSettings = _ref.colorSettings, + colorPanelProps = _ref.colorPanelProps, + contrastCheckers = _ref.contrastCheckers, + detectedBackgroundColorRef = _ref.detectedBackgroundColorRef, + detectedColorRef = _ref.detectedColorRef, + panelChildren = _ref.panelChildren; + return Object(external_this_wp_element_["createElement"])(panel_color_settings, Object(esm_extends["a" /* default */])({ + title: title, + initialOpen: false, + colorSettings: Object.values(colorSettings) + }, colorPanelProps), contrastCheckers && (Array.isArray(contrastCheckers) ? contrastCheckers.map(function (_ref2) { + var backgroundColor = _ref2.backgroundColor, + textColor = _ref2.textColor, + rest = Object(objectWithoutProperties["a" /* default */])(_ref2, ["backgroundColor", "textColor"]); + + backgroundColor = resolveContrastCheckerColor(backgroundColor, colorSettings, detectedBackgroundColorRef.current); + textColor = resolveContrastCheckerColor(textColor, colorSettings, detectedColorRef.current); + return Object(external_this_wp_element_["createElement"])(contrast_checker, Object(esm_extends["a" /* default */])({ + key: "".concat(backgroundColor, "-").concat(textColor), + backgroundColor: backgroundColor, + textColor: textColor + }, rest)); + }) : Object(external_this_lodash_["map"])(colorSettings, function (_ref3) { + var value = _ref3.value; + var backgroundColor = contrastCheckers.backgroundColor, + textColor = contrastCheckers.textColor; + backgroundColor = resolveContrastCheckerColor(backgroundColor || value, colorSettings, detectedBackgroundColorRef.current); + textColor = resolveContrastCheckerColor(textColor || value, colorSettings, detectedColorRef.current); + return Object(external_this_wp_element_["createElement"])(contrast_checker, Object(esm_extends["a" /* default */])({}, contrastCheckers, { + key: "".concat(backgroundColor, "-").concat(textColor), + backgroundColor: backgroundColor, + textColor: textColor + })); + })), typeof panelChildren === 'function' ? panelChildren(colorSettings) : panelChildren); +}; + +var use_colors_InspectorControlsColorPanel = function InspectorControlsColorPanel(props) { + return Object(external_this_wp_element_["createElement"])(inspector_controls, null, Object(external_this_wp_element_["createElement"])(use_colors_ColorPanel, props)); +}; + +function __experimentalUseColors(colorConfigs) { + var _ref4 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { + panelTitle: Object(external_this_wp_i18n_["__"])('Color Settings') + }, + _ref4$panelTitle = _ref4.panelTitle, + panelTitle = _ref4$panelTitle === void 0 ? Object(external_this_wp_i18n_["__"])('Color Settings') : _ref4$panelTitle, + colorPanelProps = _ref4.colorPanelProps, + contrastCheckers = _ref4.contrastCheckers, + panelChildren = _ref4.panelChildren; + + var deps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; + + var _useBlockEditContext = useBlockEditContext(), + clientId = _useBlockEditContext.clientId; + + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + var _select = select('core/block-editor'), + getBlockAttributes = _select.getBlockAttributes, + getSettings = _select.getSettings; + + var colors = getSettings().colors; + return { + attributes: getBlockAttributes(clientId), + settingsColors: !colors || colors === true ? use_colors_DEFAULT_COLORS : colors + }; + }, [clientId]), + attributes = _useSelect.attributes, + settingsColors = _useSelect.settingsColors; + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + updateBlockAttributes = _useDispatch.updateBlockAttributes; + + var setAttributes = Object(external_this_wp_element_["useCallback"])(function (newAttributes) { + return updateBlockAttributes(clientId, newAttributes); + }, [updateBlockAttributes, clientId]); + var createComponent = Object(external_this_wp_element_["useMemo"])(function () { + return memize_default()(function (name, property, className, color, colorValue, customColor) { + return function (_ref5) { + var children = _ref5.children, + _ref5$className = _ref5.className, + componentClassName = _ref5$className === void 0 ? '' : _ref5$className, + _ref5$style = _ref5.style, + componentStyle = _ref5$style === void 0 ? {} : _ref5$style; + return (// Clone children, setting the style property from the color configuration, + // if not already set explicitly through props. + external_this_wp_element_["Children"].map(children, function (child) { + var _classnames; + + var colorStyle = {}; + + if (color) { + colorStyle = Object(defineProperty["a" /* default */])({}, property, colorValue); + } else if (customColor) { + colorStyle = Object(defineProperty["a" /* default */])({}, property, customColor); + } + + return Object(external_this_wp_element_["cloneElement"])(child, { + className: classnames_default()(componentClassName, child.props.className, (_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, "has-".concat(Object(external_this_lodash_["kebabCase"])(color), "-").concat(Object(external_this_lodash_["kebabCase"])(property)), color), Object(defineProperty["a" /* default */])(_classnames, className || "has-".concat(Object(external_this_lodash_["kebabCase"])(name)), color || customColor), _classnames)), + style: Object(objectSpread["a" /* default */])({}, colorStyle, componentStyle, child.props.style || {}) + }); + }) + ); + }; + }, { + maxSize: colorConfigs.length + }); + }, [colorConfigs.length]); + var createSetColor = Object(external_this_wp_element_["useMemo"])(function () { + return memize_default()(function (name, colors) { + return function (newColor) { + var color = colors.find(function (_color) { + return _color.color === newColor; + }); + setAttributes(Object(defineProperty["a" /* default */])({}, color ? Object(external_this_lodash_["camelCase"])("custom ".concat(name)) : name, undefined)); + setAttributes(Object(defineProperty["a" /* default */])({}, color ? name : Object(external_this_lodash_["camelCase"])("custom ".concat(name)), color ? color.slug : newColor)); + }; + }, { + maxSize: colorConfigs.length + }); + }, [setAttributes, colorConfigs.length]); + var detectedBackgroundColorRef = Object(external_this_wp_element_["useRef"])(); + var detectedColorRef = Object(external_this_wp_element_["useRef"])(); + var ColorDetector = Object(external_this_wp_element_["useMemo"])(function () { + if (!contrastCheckers) { + return undefined; + } + + var needsBackgroundColor = false; + var needsColor = false; + var _iteratorNormalCompletion = true; + var _didIteratorError = false; + var _iteratorError = undefined; + + try { + for (var _iterator = Object(external_this_lodash_["castArray"])(contrastCheckers)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { + var _ref8 = _step.value; + var backgroundColor = _ref8.backgroundColor, + textColor = _ref8.textColor; + + if (!needsBackgroundColor) { + needsBackgroundColor = backgroundColor === true; + } + + if (!needsColor) { + needsColor = textColor === true; + } + + if (needsBackgroundColor && needsColor) { + break; + } + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally { + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally { + if (_didIteratorError) { + throw _iteratorError; + } + } + } + + return (needsBackgroundColor || needsColor) && Object(external_this_wp_components_["withFallbackStyles"])(function (node, _ref7) { + var querySelector = _ref7.querySelector, + _ref7$backgroundColor = _ref7.backgroundColorSelector, + backgroundColorSelector = _ref7$backgroundColor === void 0 ? querySelector : _ref7$backgroundColor, + _ref7$textColorSelect = _ref7.textColorSelector, + textColorSelector = _ref7$textColorSelect === void 0 ? querySelector : _ref7$textColorSelect; + var backgroundColorNode = node; + var textColorNode = node; + + if (backgroundColorSelector) { + backgroundColorNode = node.parentNode.querySelector(backgroundColorSelector); + } + + if (textColorSelector) { + textColorNode = node.parentNode.querySelector(textColorSelector); + } + + var backgroundColor; + var color = getComputedStyle(textColorNode).color; + + if (needsBackgroundColor) { + backgroundColor = getComputedStyle(backgroundColorNode).backgroundColor; + + while (backgroundColor === 'rgba(0, 0, 0, 0)' && backgroundColorNode.parentNode && backgroundColorNode.parentNode === Node.ELEMENT_NODE) { + backgroundColorNode = backgroundColorNode.parentNode; + backgroundColor = getComputedStyle(backgroundColorNode).backgroundColor; + } + } + + detectedBackgroundColorRef.current = backgroundColor; + detectedColorRef.current = color; + return { + backgroundColor: backgroundColor, + color: color + }; + })(function () { + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null); + }); + }, [colorConfigs.reduce(function (acc, colorConfig) { + return "".concat(acc, " | ").concat(attributes[colorConfig.name], " | ").concat(attributes[Object(external_this_lodash_["camelCase"])("custom ".concat(colorConfig.name))]); + }, '')].concat(Object(toConsumableArray["a" /* default */])(deps))); + return Object(external_this_wp_element_["useMemo"])(function () { + var colorSettings = {}; + var components = colorConfigs.reduce(function (acc, colorConfig) { + if (typeof colorConfig === 'string') { + colorConfig = { + name: colorConfig + }; + } + + var _colorConfig$color = Object(objectSpread["a" /* default */])({}, colorConfig, { + color: attributes[colorConfig.name] + }), + name = _colorConfig$color.name, + _colorConfig$color$pr = _colorConfig$color.property, + property = _colorConfig$color$pr === void 0 ? name : _colorConfig$color$pr, + className = _colorConfig$color.className, + _colorConfig$color$pa = _colorConfig$color.panelLabel, + panelLabel = _colorConfig$color$pa === void 0 ? Object(external_this_lodash_["startCase"])(name) : _colorConfig$color$pa, + _colorConfig$color$co = _colorConfig$color.componentName, + componentName = _colorConfig$color$co === void 0 ? panelLabel.replace(/\s/g, '') : _colorConfig$color$co, + _colorConfig$color$co2 = _colorConfig$color.color, + color = _colorConfig$color$co2 === void 0 ? colorConfig.color : _colorConfig$color$co2, + _colorConfig$color$co3 = _colorConfig$color.colors, + colors = _colorConfig$color$co3 === void 0 ? settingsColors : _colorConfig$color$co3; + + var customColor = attributes[Object(external_this_lodash_["camelCase"])("custom ".concat(name))]; // We memoize the non-primitives to avoid unnecessary updates + // when they are used as props for other components. + + var _color = customColor ? undefined : colors.find(function (__color) { + return __color.slug === color; + }); + + acc[componentName] = createComponent(name, property, className, color, _color && _color.color, customColor); + acc[componentName].displayName = componentName; + acc[componentName].color = customColor ? customColor : _color && _color.color; + acc[componentName].slug = color; + acc[componentName].setColor = createSetColor(name, colors); + colorSettings[componentName] = { + value: _color ? _color.color : attributes[Object(external_this_lodash_["camelCase"])("custom ".concat(name))], + onChange: acc[componentName].setColor, + label: panelLabel, + colors: colors + }; // These settings will be spread over the `colors` in + // `colorPanelProps`, so we need to unset the key here, + // if not set to an actual value, to avoid overwriting + // an actual value in `colorPanelProps`. + + if (!colors) { + delete colorSettings[componentName].colors; + } + + return acc; + }, {}); + var wrappedColorPanelProps = { + title: panelTitle, + colorSettings: colorSettings, + colorPanelProps: colorPanelProps, + contrastCheckers: contrastCheckers, + detectedBackgroundColorRef: detectedBackgroundColorRef, + detectedColorRef: detectedColorRef, + panelChildren: panelChildren + }; + return Object(objectSpread["a" /* default */])({}, components, { + ColorPanel: Object(external_this_wp_element_["createElement"])(use_colors_ColorPanel, wrappedColorPanelProps), + InspectorControlsColorPanel: Object(external_this_wp_element_["createElement"])(use_colors_InspectorControlsColorPanel, wrappedColorPanelProps), + ColorDetector: ColorDetector + }); + }, [attributes, setAttributes].concat(Object(toConsumableArray["a" /* default */])(deps))); +} + // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/index.js + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/gradients/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + +function __experimentalGetGradientClass(gradientSlug) { + if (!gradientSlug) { + return undefined; + } + + return "has-".concat(gradientSlug, "-gradient-background"); +} + +function getGradientValueBySlug(gradients, slug) { + var gradient = Object(external_this_lodash_["find"])(gradients, ['slug', slug]); + return gradient && gradient.gradient; +} + +function getGradientSlugByValue(gradients, value) { + var gradient = Object(external_this_lodash_["find"])(gradients, ['gradient', value]); + return gradient && gradient.slug; +} + +function __experimentalUseGradient() { + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + _ref$gradientAttribut = _ref.gradientAttribute, + gradientAttribute = _ref$gradientAttribut === void 0 ? 'gradient' : _ref$gradientAttribut, + _ref$customGradientAt = _ref.customGradientAttribute, + customGradientAttribute = _ref$customGradientAt === void 0 ? 'customGradient' : _ref$customGradientAt; + + var _useBlockEditContext = useBlockEditContext(), + clientId = _useBlockEditContext.clientId; + + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + var _select = select('core/block-editor'), + getBlockAttributes = _select.getBlockAttributes, + getSettings = _select.getSettings; + + var attributes = getBlockAttributes(clientId); + return { + gradient: attributes[gradientAttribute], + customGradient: attributes[customGradientAttribute], + gradients: getSettings().gradients + }; + }, [clientId]), + gradients = _useSelect.gradients, + gradient = _useSelect.gradient, + customGradient = _useSelect.customGradient; + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + updateBlockAttributes = _useDispatch.updateBlockAttributes; + + var setGradient = Object(external_this_wp_element_["useCallback"])(function (newGradientValue) { + var _updateBlockAttribute2; + + var slug = getGradientSlugByValue(gradients, newGradientValue); + + if (slug) { + var _updateBlockAttribute; + + updateBlockAttributes(clientId, (_updateBlockAttribute = {}, Object(defineProperty["a" /* default */])(_updateBlockAttribute, gradientAttribute, slug), Object(defineProperty["a" /* default */])(_updateBlockAttribute, customGradientAttribute, undefined), _updateBlockAttribute)); + return; + } + + updateBlockAttributes(clientId, (_updateBlockAttribute2 = {}, Object(defineProperty["a" /* default */])(_updateBlockAttribute2, gradientAttribute, undefined), Object(defineProperty["a" /* default */])(_updateBlockAttribute2, customGradientAttribute, newGradientValue), _updateBlockAttribute2)); + }, [gradients, clientId, updateBlockAttributes]); + + var gradientClass = __experimentalGetGradientClass(gradient); + + var gradientValue; + + if (gradient) { + gradientValue = getGradientValueBySlug(gradients, gradient); + } else { + gradientValue = customGradient; + } + + return { + gradientClass: gradientClass, + gradientValue: gradientValue, + setGradient: setGradient + }; +} + // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-sizes/utils.js /** * External dependencies @@ -5324,9 +6232,6 @@ function getFontSizeClass(fontSizeSlug) { return "has-".concat(Object(external_this_lodash_["kebabCase"])(fontSizeSlug), "-font-size"); } -// EXTERNAL MODULE: external {"this":["wp","components"]} -var external_this_wp_components_ = __webpack_require__(3); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-sizes/font-size-picker.js /** * WordPress dependencies @@ -5500,9 +6405,6 @@ var external_this_wp_components_ = __webpack_require__(3); -// EXTERNAL MODULE: external {"this":["wp","i18n"]} -var external_this_wp_i18n_ = __webpack_require__(1); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/alignment-toolbar/index.js @@ -5565,70 +6467,6 @@ function AlignmentToolbar(props) { } /* harmony default export */ var alignment_toolbar = (AlignmentToolbar); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/context.js - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - -var _createContext = Object(external_this_wp_element_["createContext"])({ - name: '', - isSelected: false, - focusedElement: null, - setFocusedElement: external_this_lodash_["noop"], - clientId: null -}), - Consumer = _createContext.Consumer, - Provider = _createContext.Provider; - - -/** - * A Higher Order Component used to inject BlockEdit context to the - * wrapped component. - * - * @param {Function} mapContextToProps Function called on every context change, - * expected to return object of props to - * merge with the component's own props. - * - * @return {Component} Enhanced component with injected context as props. - */ - -var context_withBlockEditContext = function withBlockEditContext(mapContextToProps) { - return Object(external_this_wp_compose_["createHigherOrderComponent"])(function (OriginalComponent) { - return function (props) { - return Object(external_this_wp_element_["createElement"])(Consumer, null, function (context) { - return Object(external_this_wp_element_["createElement"])(OriginalComponent, Object(esm_extends["a" /* default */])({}, props, mapContextToProps(context, props))); - }); - }; - }, 'withBlockEditContext'); -}; -/** - * A Higher Order Component used to render conditionally the wrapped - * component only when the BlockEdit has selected state set. - * - * @param {Component} OriginalComponent Component to wrap. - * - * @return {Component} Component which renders only when the BlockEdit is selected. - */ - -var ifBlockEditSelected = Object(external_this_wp_compose_["createHigherOrderComponent"])(function (OriginalComponent) { - return function (props) { - return Object(external_this_wp_element_["createElement"])(Consumer, null, function (_ref) { - var isSelected = _ref.isSelected; - return isSelected && Object(external_this_wp_element_["createElement"])(OriginalComponent, props); - }); - }; -}, 'ifBlockEditSelected'); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/autocomplete/index.js @@ -5774,6 +6612,137 @@ function BlockAlignmentToolbar(_ref) { }; }))(BlockAlignmentToolbar)); +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-title/index.js +/** + * WordPress dependencies + */ + + +/** + * Renders the block's configured title as a string, or empty if the title + * cannot be determined. + * + * @example + * + * ```jsx + * + * ``` + * + * @param {Object} props + * @param {?string} props.name Block name. + * + * @return {?string} Block title. + */ + +function BlockTitle(_ref) { + var name = _ref.name; + + if (!name) { + return null; + } + + var blockType = Object(external_this_wp_blocks_["getBlockType"])(name); + + if (!blockType) { + return null; + } + + return blockType.title; +} +/* harmony default export */ var block_title = (Object(external_this_wp_data_["withSelect"])(function (select, ownProps) { + var _select = select('core/block-editor'), + getBlockName = _select.getBlockName; + + var clientId = ownProps.clientId; + return { + name: getBlockName(clientId) + }; +})(BlockTitle)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-breadcrumb/index.js + + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + +/** + * Block breadcrumb component, displaying the hierarchy of the current block selection as a breadcrumb. + * + * @return {WPElement} Block Breadcrumb. + */ + +var block_breadcrumb_BlockBreadcrumb = function BlockBreadcrumb() { + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + selectBlock = _useDispatch.selectBlock, + clearSelectedBlock = _useDispatch.clearSelectedBlock; + + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + var _select = select('core/block-editor'), + getSelectionStart = _select.getSelectionStart, + getSelectedBlockClientId = _select.getSelectedBlockClientId, + getBlockParents = _select.getBlockParents; + + var selectedBlockClientId = getSelectedBlockClientId(); + return { + parents: getBlockParents(selectedBlockClientId), + clientId: selectedBlockClientId, + hasSelection: !!getSelectionStart().clientId + }; + }, []), + clientId = _useSelect.clientId, + parents = _useSelect.parents, + hasSelection = _useSelect.hasSelection; + /* + * Disable reason: The `list` ARIA role is redundant but + * Safari+VoiceOver won't announce the list otherwise. + */ + + /* eslint-disable jsx-a11y/no-redundant-roles */ + + + return Object(external_this_wp_element_["createElement"])("ul", { + className: "block-editor-block-breadcrumb", + role: "list", + "aria-label": Object(external_this_wp_i18n_["__"])('Block breadcrumb') + }, Object(external_this_wp_element_["createElement"])("li", { + className: !hasSelection ? 'block-editor-block-breadcrumb__current' : undefined, + "aria-current": !hasSelection ? 'true' : undefined + }, hasSelection && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + className: "block-editor-block-breadcrumb__button", + isTertiary: true, + onClick: clearSelectedBlock + }, Object(external_this_wp_i18n_["__"])('Document')), !hasSelection && Object(external_this_wp_i18n_["__"])('Document')), parents.map(function (parentClientId) { + return Object(external_this_wp_element_["createElement"])("li", { + key: parentClientId + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + className: "block-editor-block-breadcrumb__button", + isTertiary: true, + onClick: function onClick() { + return selectBlock(parentClientId); + } + }, Object(external_this_wp_element_["createElement"])(block_title, { + clientId: parentClientId + }))); + }), !!clientId && Object(external_this_wp_element_["createElement"])("li", { + className: "block-editor-block-breadcrumb__current", + "aria-current": "true" + }, Object(external_this_wp_element_["createElement"])(block_title, { + clientId: clientId + }))) + /* eslint-enable jsx-a11y/no-redundant-roles */ + ; +}; + +/* harmony default export */ var block_breadcrumb = (block_breadcrumb_BlockBreadcrumb); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-controls/index.js @@ -5787,140 +6756,22 @@ function BlockAlignmentToolbar(_ref) { -var _createSlotFill = Object(external_this_wp_components_["createSlotFill"])('BlockControls'), - Fill = _createSlotFill.Fill, - Slot = _createSlotFill.Slot; +var block_controls_createSlotFill = Object(external_this_wp_components_["createSlotFill"])('BlockControls'), + block_controls_Fill = block_controls_createSlotFill.Fill, + block_controls_Slot = block_controls_createSlotFill.Slot; var block_controls_BlockControlsFill = function BlockControlsFill(_ref) { var controls = _ref.controls, children = _ref.children; - return Object(external_this_wp_element_["createElement"])(Fill, null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], { + return Object(external_this_wp_element_["createElement"])(block_controls_Fill, null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], { controls: controls }), children); }; var BlockControls = ifBlockEditSelected(block_controls_BlockControlsFill); -BlockControls.Slot = Slot; +BlockControls.Slot = block_controls_Slot; /* harmony default export */ var block_controls = (BlockControls); -// EXTERNAL MODULE: ./node_modules/memize/index.js -var memize = __webpack_require__(44); -var memize_default = /*#__PURE__*/__webpack_require__.n(memize); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/edit.js - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - -var edit_Edit = function Edit(props) { - var _props$attributes = props.attributes, - attributes = _props$attributes === void 0 ? {} : _props$attributes, - name = props.name; - var blockType = Object(external_this_wp_blocks_["getBlockType"])(name); - - if (!blockType) { - return null; - } // Generate a class name for the block's editable form - - - var generatedClassName = Object(external_this_wp_blocks_["hasBlockSupport"])(blockType, 'className', true) ? Object(external_this_wp_blocks_["getBlockDefaultClassName"])(name) : null; - var className = classnames_default()(generatedClassName, attributes.className); // `edit` and `save` are functions or components describing the markup - // with which a block is displayed. If `blockType` is valid, assign - // them preferentially as the render value for the block. - - var Component = blockType.edit || blockType.save; - return Object(external_this_wp_element_["createElement"])(Component, Object(esm_extends["a" /* default */])({}, props, { - className: className - })); -}; -/* harmony default export */ var edit = (Object(external_this_wp_components_["withFilters"])('editor.BlockEdit')(edit_Edit)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/index.js - - - - - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - -/** - * Internal dependencies - */ - - - - -var block_edit_BlockEdit = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(BlockEdit, _Component); - - function BlockEdit() { - var _this; - - Object(classCallCheck["a" /* default */])(this, BlockEdit); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(BlockEdit).apply(this, arguments)); // It is important to return the same object if props haven't changed - // to avoid unnecessary rerenders. - // See https://reactjs.org/docs/context.html#caveats. - - _this.propsToContext = memize_default()(_this.propsToContext.bind(Object(assertThisInitialized["a" /* default */])(_this)), { - maxSize: 1 - }); - return _this; - } - - Object(createClass["a" /* default */])(BlockEdit, [{ - key: "propsToContext", - value: function propsToContext(name, isSelected, clientId, onFocus, onCaretVerticalPositionChange) { - return { - name: name, - isSelected: isSelected, - clientId: clientId, - onFocus: onFocus, - onCaretVerticalPositionChange: onCaretVerticalPositionChange - }; - } - }, { - key: "render", - value: function render() { - var _this$props = this.props, - name = _this$props.name, - isSelected = _this$props.isSelected, - clientId = _this$props.clientId, - onFocus = _this$props.onFocus, - onCaretVerticalPositionChange = _this$props.onCaretVerticalPositionChange; - var value = this.propsToContext(name, isSelected, clientId, onFocus, onCaretVerticalPositionChange); - return Object(external_this_wp_element_["createElement"])(Provider, { - value: value - }, Object(external_this_wp_element_["createElement"])(edit, this.props)); - } - }]); - - return BlockEdit; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var block_edit = (block_edit_BlockEdit); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-format-controls/index.js /** * WordPress dependencies @@ -5988,337 +6839,6 @@ function BlockIcon(_ref) { // EXTERNAL MODULE: external {"this":["wp","keycodes"]} var external_this_wp_keycodes_ = __webpack_require__(19); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-navigation/list.js - - -/** - * External dependencies - */ - - -/** - * WordPress dependencies - */ - - - - -/** - * Internal dependencies - */ - - -function BlockNavigationList(_ref) { - var blocks = _ref.blocks, - selectedBlockClientId = _ref.selectedBlockClientId, - selectBlock = _ref.selectBlock, - showNestedBlocks = _ref.showNestedBlocks; - return ( - /* - * Disable reason: The `list` ARIA role is redundant but - * Safari+VoiceOver won't announce the list otherwise. - */ - - /* eslint-disable jsx-a11y/no-redundant-roles */ - Object(external_this_wp_element_["createElement"])("ul", { - className: "editor-block-navigation__list block-editor-block-navigation__list", - role: "list" - }, Object(external_this_lodash_["map"])(blocks, function (block) { - var blockType = Object(external_this_wp_blocks_["getBlockType"])(block.name); - var isSelected = block.clientId === selectedBlockClientId; - return Object(external_this_wp_element_["createElement"])("li", { - key: block.clientId - }, Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-navigation__item block-editor-block-navigation__item" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - className: classnames_default()('editor-block-navigation__item-button block-editor-block-navigation__item-button', { - 'is-selected': isSelected - }), - onClick: function onClick() { - return selectBlock(block.clientId); - } - }, Object(external_this_wp_element_["createElement"])(BlockIcon, { - icon: blockType.icon, - showColors: true - }), blockType.title, isSelected && Object(external_this_wp_element_["createElement"])("span", { - className: "screen-reader-text" - }, Object(external_this_wp_i18n_["__"])('(selected block)')))), showNestedBlocks && !!block.innerBlocks && !!block.innerBlocks.length && Object(external_this_wp_element_["createElement"])(BlockNavigationList, { - blocks: block.innerBlocks, - selectedBlockClientId: selectedBlockClientId, - selectBlock: selectBlock, - showNestedBlocks: true - })); - })) - /* eslint-enable jsx-a11y/no-redundant-roles */ - - ); -} - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-navigation/index.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - - -/** - * Internal dependencies - */ - - - -function BlockNavigation(_ref) { - var rootBlock = _ref.rootBlock, - rootBlocks = _ref.rootBlocks, - selectedBlockClientId = _ref.selectedBlockClientId, - selectBlock = _ref.selectBlock; - - if (!rootBlocks || rootBlocks.length === 0) { - return null; - } - - var hasHierarchy = rootBlock && (rootBlock.clientId !== selectedBlockClientId || rootBlock.innerBlocks && rootBlock.innerBlocks.length !== 0); - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["NavigableMenu"], { - role: "presentation", - className: "editor-block-navigation__container block-editor-block-navigation__container" - }, Object(external_this_wp_element_["createElement"])("p", { - className: "editor-block-navigation__label block-editor-block-navigation__label" - }, Object(external_this_wp_i18n_["__"])('Block navigation')), hasHierarchy && Object(external_this_wp_element_["createElement"])(BlockNavigationList, { - blocks: [rootBlock], - selectedBlockClientId: selectedBlockClientId, - selectBlock: selectBlock, - showNestedBlocks: true - }), !hasHierarchy && Object(external_this_wp_element_["createElement"])(BlockNavigationList, { - blocks: rootBlocks, - selectedBlockClientId: selectedBlockClientId, - selectBlock: selectBlock - })); -} - -/* harmony default export */ var block_navigation = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select) { - var _select = select('core/block-editor'), - getSelectedBlockClientId = _select.getSelectedBlockClientId, - getBlockHierarchyRootClientId = _select.getBlockHierarchyRootClientId, - getBlock = _select.getBlock, - getBlocks = _select.getBlocks; - - var selectedBlockClientId = getSelectedBlockClientId(); - return { - rootBlocks: getBlocks(), - rootBlock: selectedBlockClientId ? getBlock(getBlockHierarchyRootClientId(selectedBlockClientId)) : null, - selectedBlockClientId: selectedBlockClientId - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref2) { - var _ref2$onSelect = _ref2.onSelect, - onSelect = _ref2$onSelect === void 0 ? external_this_lodash_["noop"] : _ref2$onSelect; - return { - selectBlock: function selectBlock(clientId) { - dispatch('core/block-editor').selectBlock(clientId); - onSelect(clientId); - } - }; -}))(BlockNavigation)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-navigation/dropdown.js - - - -/** - * WordPress dependencies - */ - - - - -/** - * Internal dependencies - */ - - -var MenuIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - xmlns: "http://www.w3.org/2000/svg", - viewBox: "0 0 24 24", - width: "20", - height: "20" -}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z" -})); - -function BlockNavigationDropdown(_ref) { - var hasBlocks = _ref.hasBlocks, - isDisabled = _ref.isDisabled; - var isEnabled = hasBlocks && !isDisabled; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], { - contentClassName: "editor-block-navigation__popover block-editor-block-navigation__popover", - renderToggle: function renderToggle(_ref2) { - var isOpen = _ref2.isOpen, - onToggle = _ref2.onToggle; - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, isEnabled && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["KeyboardShortcuts"], { - bindGlobal: true, - shortcuts: Object(defineProperty["a" /* default */])({}, external_this_wp_keycodes_["rawShortcut"].access('o'), onToggle) - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - icon: MenuIcon, - "aria-expanded": isOpen, - onClick: isEnabled ? onToggle : undefined, - label: Object(external_this_wp_i18n_["__"])('Block navigation'), - className: "editor-block-navigation block-editor-block-navigation", - shortcut: external_this_wp_keycodes_["displayShortcut"].access('o'), - "aria-disabled": !isEnabled - })); - }, - renderContent: function renderContent(_ref4) { - var onClose = _ref4.onClose; - return Object(external_this_wp_element_["createElement"])(block_navigation, { - onSelect: onClose - }); - } - }); -} - -/* harmony default export */ var dropdown = (Object(external_this_wp_data_["withSelect"])(function (select) { - return { - hasBlocks: !!select('core/block-editor').getBlockCount() - }; -})(BlockNavigationDropdown)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-toolbar/icons.js - - -/** - * WordPress dependencies - */ - -var alignBottom = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - xmlns: "http://www.w3.org/2000/svg", - width: "20", - height: "20", - viewBox: "0 0 24 24" -}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - fill: "none", - d: "M0 0h24v24H0V0z" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z" -})); -var alignCenter = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - xmlns: "http://www.w3.org/2000/svg", - width: "20", - height: "20", - viewBox: "0 0 24 24" -}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - fill: "none", - d: "M0 0h24v24H0V0z" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z" -})); -var alignTop = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - xmlns: "http://www.w3.org/2000/svg", - width: "20", - height: "20", - viewBox: "0 0 24 24" -}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - fill: "none", - d: "M0 0h24v24H0V0z" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z" -})); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-toolbar/index.js - - - -/** - * WordPress dependencies - */ - - -/** - * Internal dependencies - */ - - -var block_vertical_alignment_toolbar_BLOCK_ALIGNMENTS_CONTROLS = { - top: { - icon: alignTop, - title: Object(external_this_wp_i18n_["_x"])('Vertically Align Top', 'Block vertical alignment setting') - }, - center: { - icon: alignCenter, - title: Object(external_this_wp_i18n_["_x"])('Vertically Align Middle', 'Block vertical alignment setting') - }, - bottom: { - icon: alignBottom, - title: Object(external_this_wp_i18n_["_x"])('Vertically Align Bottom', 'Block vertical alignment setting') - } -}; -var block_vertical_alignment_toolbar_DEFAULT_CONTROLS = ['top', 'center', 'bottom']; -var block_vertical_alignment_toolbar_DEFAULT_CONTROL = 'top'; -function BlockVerticalAlignmentToolbar(_ref) { - var value = _ref.value, - onChange = _ref.onChange, - _ref$controls = _ref.controls, - controls = _ref$controls === void 0 ? block_vertical_alignment_toolbar_DEFAULT_CONTROLS : _ref$controls, - _ref$isCollapsed = _ref.isCollapsed, - isCollapsed = _ref$isCollapsed === void 0 ? true : _ref$isCollapsed; - - function applyOrUnset(align) { - return function () { - return onChange(value === align ? undefined : align); - }; - } - - var activeAlignment = block_vertical_alignment_toolbar_BLOCK_ALIGNMENTS_CONTROLS[value]; - var defaultAlignmentControl = block_vertical_alignment_toolbar_BLOCK_ALIGNMENTS_CONTROLS[block_vertical_alignment_toolbar_DEFAULT_CONTROL]; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], { - isCollapsed: isCollapsed, - icon: activeAlignment ? activeAlignment.icon : defaultAlignmentControl.icon, - label: Object(external_this_wp_i18n_["_x"])('Change vertical alignment', 'Block vertical alignment setting label'), - controls: controls.map(function (control) { - return Object(objectSpread["a" /* default */])({}, block_vertical_alignment_toolbar_BLOCK_ALIGNMENTS_CONTROLS[control], { - isActive: value === control, - onClick: applyOrUnset(control) - }); - }) - }); -} -/** - * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/block-vertical-alignment-toolbar/README.md - */ - -/* harmony default export */ var block_vertical_alignment_toolbar = (BlockVerticalAlignmentToolbar); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-upload/check.js -/** - * WordPress dependencies - */ - -function MediaUploadCheck(_ref) { - var hasUploadPermissions = _ref.hasUploadPermissions, - _ref$fallback = _ref.fallback, - fallback = _ref$fallback === void 0 ? null : _ref$fallback, - children = _ref.children; - return hasUploadPermissions ? children : fallback; -} -/** - * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/media-upload/README.md - */ - -/* harmony default export */ var check = (Object(external_this_wp_data_["withSelect"])(function (select) { - var _select = select('core/block-editor'), - getSettings = _select.getSettings; - - return { - hasUploadPermissions: !!getSettings().__experimentalMediaUpload - }; -})(MediaUploadCheck)); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-drop-zone/index.js @@ -6341,11 +6861,6 @@ function MediaUploadCheck(_ref) { -/** - * Internal dependencies - */ - - var parseDropEvent = function parseDropEvent(event) { var result = { @@ -6401,6 +6916,10 @@ function (_Component) { }, { key: "onFilesDrop", value: function onFilesDrop(files, position) { + if (!this.props.hasUploadPermissions) { + return; + } + var transformation = Object(external_this_wp_blocks_["findTransform"])(Object(external_this_wp_blocks_["getBlockTransforms"])('from'), function (transform) { return transform.type === 'files' && transform.isMatch(files); }); @@ -6472,7 +6991,9 @@ function (_Component) { }, { key: "render", value: function render() { - var isLockedAll = this.props.isLockedAll; + var _this$props3 = this.props, + hasUploadPermissions = _this$props3.hasUploadPermissions, + isLockedAll = _this$props3.isLockedAll; if (isLockedAll) { return null; @@ -6480,14 +7001,14 @@ function (_Component) { var index = this.getInsertIndex(); var isAppender = index === undefined; - return Object(external_this_wp_element_["createElement"])(check, null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropZone"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropZone"], { className: classnames_default()('editor-block-drop-zone block-editor-block-drop-zone', { 'is-appender': isAppender }), - onFilesDrop: this.onFilesDrop, onHTMLDrop: this.onHTMLDrop, - onDrop: this.onDrop - })); + onDrop: this.onDrop, + onFilesDrop: hasUploadPermissions ? this.onFilesDrop : undefined + }); } }]); @@ -6519,32 +7040,28 @@ function (_Component) { var rootClientId = _ref.rootClientId; var _select = select('core/block-editor'), + getBlockIndex = _select.getBlockIndex, getClientIdsOfDescendants = _select.getClientIdsOfDescendants, - getTemplateLock = _select.getTemplateLock, - getBlockIndex = _select.getBlockIndex; + getSettings = _select.getSettings, + getTemplateLock = _select.getTemplateLock; return { - isLockedAll: getTemplateLock(rootClientId) === 'all', + getBlockIndex: getBlockIndex, getClientIdsOfDescendants: getClientIdsOfDescendants, - getBlockIndex: getBlockIndex + hasUploadPermissions: !!getSettings().mediaUpload, + isLockedAll: getTemplateLock(rootClientId) === 'all' }; }), Object(external_this_wp_components_["withFilters"])('editor.BlockDropZone'))(block_drop_zone_BlockDropZone)); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(17); - // EXTERNAL MODULE: ./node_modules/dom-scroll-into-view/lib/index.js var lib = __webpack_require__(67); var lib_default = /*#__PURE__*/__webpack_require__.n(lib); // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(26); +var external_this_wp_url_ = __webpack_require__(25); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(23); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules -var objectWithoutProperties = __webpack_require__(21); +var slicedToArray = __webpack_require__(22); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/defaults.js /** @@ -6557,28 +7074,31 @@ var PREFERENCES_DEFAULTS = { /** * The default editor settings * - * alignWide boolean Enable/Disable Wide/Full Alignments - * availableLegacyWidgets Array Array of objects representing the legacy widgets available. - * colors Array Palette colors - * disableCustomColors boolean Whether or not the custom colors are disabled - * fontSizes Array Available font sizes - * disableCustomFontSizes boolean Whether or not the custom font sizes are disabled - * imageSizes Array Available image sizes - * maxWidth number Max width to constraint resizing - * allowedBlockTypes boolean|Array Allowed block types - * hasFixedToolbar boolean Whether or not the editor toolbar is fixed - * hasPermissionsToManageWidgets boolean Whether or not the user is able to manage widgets. - * focusMode boolean Whether the focus mode is enabled or not - * styles Array Editor Styles - * isRTL boolean Whether the editor is in RTL mode - * bodyPlaceholder string Empty post placeholder - * titlePlaceholder string Empty title placeholder - * codeEditingEnabled string Whether or not the user can switch to the code editor - * showInserterHelpPanel boolean Whether or not the inserter help panel is shown - * __experimentalCanUserUseUnfilteredHTML string Whether the user should be able to use unfiltered HTML or the HTML should be filtered e.g., to remove elements considered insecure like iframes. - * __experimentalEnableLegacyWidgetBlock boolean Whether the user has enabled the Legacy Widget Block - * __experimentalEnableMenuBlock boolean Whether the user has enabled the Menu Block - * __experimentalBlockDirectory boolean Whether the user has enabled the Block Directory + * @typedef {Object} SETTINGS_DEFAULT + * @property {boolean} alignWide Enable/Disable Wide/Full Alignments + * @property {Array} availableLegacyWidgets Array of objects representing the legacy widgets available. + * @property {Array} colors Palette colors + * @property {boolean} disableCustomColors Whether or not the custom colors are disabled + * @property {Array} fontSizes Available font sizes + * @property {boolean} disableCustomFontSizes Whether or not the custom font sizes are disabled + * @property {Array} imageSizes Available image sizes + * @property {number} maxWidth Max width to constraint resizing + * @property {boolean|Array} allowedBlockTypes Allowed block types + * @property {boolean} hasFixedToolbar Whether or not the editor toolbar is fixed + * @property {boolean} hasPermissionsToManageWidgets Whether or not the user is able to manage widgets. + * @property {boolean} focusMode Whether the focus mode is enabled or not + * @property {Array} styles Editor Styles + * @property {boolean} isRTL Whether the editor is in RTL mode + * @property {string} bodyPlaceholder Empty post placeholder + * @property {string} titlePlaceholder Empty title placeholder + * @property {boolean} codeEditingEnabled Whether or not the user can switch to the code editor + * @property {boolean} showInserterHelpPanel Whether or not the inserter help panel is shown + * @property {boolean} __experimentalCanUserUseUnfilteredHTML Whether the user should be able to use unfiltered HTML or the HTML should be filtered e.g., to remove elements considered insecure like iframes. + * @property {boolean} __experimentalEnableLegacyWidgetBlock Whether the user has enabled the Legacy Widget Block + * @property {boolean} __experimentalBlockDirectory Whether the user has enabled the Block Directory + * @property {boolean} __experimentalEnableFullSiteEditing Whether the user has enabled Full Site Editing + * @property {boolean} __experimentalEnableFullSiteEditingDemo Whether the user has enabled Full Site Editing Demo Templates + * @property {boolean} __experimentalEnablePageTemplates Whether the user has enabled the Page Templates */ var SETTINGS_DEFAULTS = { @@ -6680,8 +7200,59 @@ var SETTINGS_DEFAULTS = { showInserterHelpPanel: true, __experimentalCanUserUseUnfilteredHTML: false, __experimentalEnableLegacyWidgetBlock: false, - __experimentalEnableMenuBlock: false, - __experimentalBlockDirectory: false + __experimentalBlockDirectory: false, + __experimentalEnableFullSiteEditing: false, + __experimentalEnableFullSiteEditingDemo: false, + __experimentalEnablePageTemplates: false, + gradients: [{ + name: Object(external_this_wp_i18n_["__"])('Vivid cyan blue to vivid purple'), + gradient: 'linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)', + slug: 'vivid-cyan-blue-to-vivid-purple' + }, { + name: Object(external_this_wp_i18n_["__"])('Light green cyan to vivid green cyan'), + gradient: 'linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)', + slug: 'light-green-cyan-to-vivid-green-cyan' + }, { + name: Object(external_this_wp_i18n_["__"])('Luminous vivid amber to luminous vivid orange'), + gradient: 'linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)', + slug: 'luminous-vivid-amber-to-luminous-vivid-orange' + }, { + name: Object(external_this_wp_i18n_["__"])('Luminous vivid orange to vivid red'), + gradient: 'linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)', + slug: 'luminous-vivid-orange-to-vivid-red' + }, { + name: Object(external_this_wp_i18n_["__"])('Very light gray to cyan bluish gray'), + gradient: 'linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%)', + slug: 'very-light-gray-to-cyan-bluish-gray' + }, { + name: Object(external_this_wp_i18n_["__"])('Cool to warm spectrum'), + gradient: 'linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)', + slug: 'cool-to-warm-spectrum' + }, { + name: Object(external_this_wp_i18n_["__"])('Blush light purple'), + gradient: 'linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)', + slug: 'blush-light-purple' + }, { + name: Object(external_this_wp_i18n_["__"])('Blush bordeaux'), + gradient: 'linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)', + slug: 'blush-bordeaux' + }, { + name: Object(external_this_wp_i18n_["__"])('Luminous dusk'), + gradient: 'linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)', + slug: 'luminous-dusk' + }, { + name: Object(external_this_wp_i18n_["__"])('Pale ocean'), + gradient: 'linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%)', + slug: 'pale-ocean' + }, { + name: Object(external_this_wp_i18n_["__"])('Electric grass'), + gradient: 'linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)', + slug: 'electric-grass' + }, { + name: Object(external_this_wp_i18n_["__"])('Midnight'), + gradient: 'linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)', + slug: 'midnight' + }] }; // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/array.js @@ -7579,6 +8150,29 @@ function reducer_isTyping() { return state; } +/** + * Reducer returning dragging state. + * + * @param {boolean} state Current state. + * @param {Object} action Dispatched action. + * + * @return {boolean} Updated state. + */ + +function reducer_isDraggingBlocks() { + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + var action = arguments.length > 1 ? arguments[1] : undefined; + + switch (action.type) { + case 'START_DRAGGING_BLOCKS': + return true; + + case 'STOP_DRAGGING_BLOCKS': + return false; + } + + return state; +} /** * Reducer returning whether the caret is within formatted text. * @@ -7602,16 +8196,9 @@ function reducer_isCaretWithinFormattedText() { return state; } -var BLOCK_SELECTION_EMPTY_OBJECT = {}; -var BLOCK_SELECTION_INITIAL_STATE = { - start: BLOCK_SELECTION_EMPTY_OBJECT, - end: BLOCK_SELECTION_EMPTY_OBJECT, - isMultiSelecting: false, - isEnabled: true, - initialPosition: null -}; /** - * Reducer returning the block selection's state. + * Internal helper reducer for selectionStart and selectionEnd. Can hold a block + * selection, represented by an object with property clientId. * * @param {Object} state Current state. * @param {Object} action Dispatched action. @@ -7619,102 +8206,52 @@ var BLOCK_SELECTION_INITIAL_STATE = { * @return {Object} Updated state. */ -function blockSelection() { - var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : BLOCK_SELECTION_INITIAL_STATE; +function reducer_selection() { + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var action = arguments.length > 1 ? arguments[1] : undefined; switch (action.type) { case 'CLEAR_SELECTED_BLOCK': - if (!state.start || !state.start.clientId) { - return state; - } - - return Object(objectSpread["a" /* default */])({}, state, { - start: BLOCK_SELECTION_EMPTY_OBJECT, - end: BLOCK_SELECTION_EMPTY_OBJECT, - isMultiSelecting: false, - initialPosition: null - }); - - case 'START_MULTI_SELECT': - if (state.isMultiSelecting) { - return state; - } - - return Object(objectSpread["a" /* default */])({}, state, { - isMultiSelecting: true, - initialPosition: null - }); - - case 'STOP_MULTI_SELECT': - if (!state.isMultiSelecting) { - return state; - } - - return Object(objectSpread["a" /* default */])({}, state, { - isMultiSelecting: false, - initialPosition: null - }); - - case 'MULTI_SELECT': - return Object(objectSpread["a" /* default */])({}, state, { - isMultiSelecting: state.isMultiSelecting, - start: { - clientId: action.start - }, - end: { - clientId: action.end + { + if (state.clientId) { + return {}; } - }); + + return state; + } case 'SELECT_BLOCK': - if (action.clientId === state.start.clientId && action.clientId === state.end.clientId) { + if (action.clientId === state.clientId) { return state; } - return Object(objectSpread["a" /* default */])({}, state, { - initialPosition: action.initialPosition, - start: { - clientId: action.clientId - }, - end: { - clientId: action.clientId - } - }); + return { + clientId: action.clientId + }; case 'REPLACE_INNER_BLOCKS': // REPLACE_INNER_BLOCKS and INSERT_BLOCKS should follow the same logic. case 'INSERT_BLOCKS': { - if (action.updateSelection) { - return Object(objectSpread["a" /* default */])({}, state, { - start: { - clientId: action.blocks[0].clientId - }, - end: { - clientId: action.blocks[0].clientId - } - }); + if (!action.updateSelection) { + return state; } - return state; + return { + clientId: action.blocks[0].clientId + }; } case 'REMOVE_BLOCKS': - if (!action.clientIds || !action.clientIds.length || action.clientIds.indexOf(state.start.clientId) === -1) { + if (!action.clientIds || !action.clientIds.length || action.clientIds.indexOf(state.clientId) === -1) { return state; } - return Object(objectSpread["a" /* default */])({}, state, { - start: BLOCK_SELECTION_EMPTY_OBJECT, - end: BLOCK_SELECTION_EMPTY_OBJECT, - isMultiSelecting: false, - initialPosition: null - }); + return {}; case 'REPLACE_BLOCKS': { - if (action.clientIds.indexOf(state.start.clientId) === -1) { + if (action.clientIds.indexOf(state.clientId) === -1) { return state; } @@ -7722,50 +8259,150 @@ function blockSelection() { var blockToSelect = action.blocks[indexToSelect]; if (!blockToSelect) { - return Object(objectSpread["a" /* default */])({}, state, { - start: BLOCK_SELECTION_EMPTY_OBJECT, - end: BLOCK_SELECTION_EMPTY_OBJECT, - isMultiSelecting: false, - initialPosition: null - }); + return {}; } - if (blockToSelect.clientId === state.start.clientId && blockToSelect.clientId === state.end.clientId) { + if (blockToSelect.clientId === state.clientId) { return state; } - return Object(objectSpread["a" /* default */])({}, state, { - start: { - clientId: blockToSelect.clientId - }, - end: { - clientId: blockToSelect.clientId - } - }); + return { + clientId: blockToSelect.clientId + }; } - - case 'TOGGLE_SELECTION': - return Object(objectSpread["a" /* default */])({}, state, { - isEnabled: action.isSelectionEnabled - }); - - case 'SELECTION_CHANGE': - return Object(objectSpread["a" /* default */])({}, state, { - start: { - clientId: action.clientId, - attributeKey: action.attributeKey, - offset: action.startOffset - }, - end: { - clientId: action.clientId, - attributeKey: action.attributeKey, - offset: action.endOffset - } - }); } return state; } +/** + * Reducer returning the block selection's start. + * + * @param {Object} state Current state. + * @param {Object} action Dispatched action. + * + * @return {Object} Updated state. + */ + + +function reducer_selectionStart() { + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var action = arguments.length > 1 ? arguments[1] : undefined; + + switch (action.type) { + case 'SELECTION_CHANGE': + return { + clientId: action.clientId, + attributeKey: action.attributeKey, + offset: action.startOffset + }; + + case 'RESET_SELECTION': + return action.selectionStart; + + case 'MULTI_SELECT': + return { + clientId: action.start + }; + } + + return reducer_selection(state, action); +} +/** + * Reducer returning the block selection's end. + * + * @param {Object} state Current state. + * @param {Object} action Dispatched action. + * + * @return {Object} Updated state. + */ + +function reducer_selectionEnd() { + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var action = arguments.length > 1 ? arguments[1] : undefined; + + switch (action.type) { + case 'SELECTION_CHANGE': + return { + clientId: action.clientId, + attributeKey: action.attributeKey, + offset: action.endOffset + }; + + case 'RESET_SELECTION': + return action.selectionEnd; + + case 'MULTI_SELECT': + return { + clientId: action.end + }; + } + + return reducer_selection(state, action); +} +/** + * Reducer returning whether the user is multi-selecting. + * + * @param {boolean} state Current state. + * @param {Object} action Dispatched action. + * + * @return {boolean} Updated state. + */ + +function reducer_isMultiSelecting() { + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + var action = arguments.length > 1 ? arguments[1] : undefined; + + switch (action.type) { + case 'START_MULTI_SELECT': + return true; + + case 'STOP_MULTI_SELECT': + return false; + } + + return state; +} +/** + * Reducer returning whether selection is enabled. + * + * @param {boolean} state Current state. + * @param {Object} action Dispatched action. + * + * @return {boolean} Updated state. + */ + +function reducer_isSelectionEnabled() { + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + var action = arguments.length > 1 ? arguments[1] : undefined; + + switch (action.type) { + case 'TOGGLE_SELECTION': + return action.isSelectionEnabled; + } + + return state; +} +/** + * Reducer returning the intial block selection. + * + * Currently this in only used to restore the selection after block deletion. + * This reducer should eventually be removed in favour of setting selection + * directly. + * + * @param {boolean} state Current state. + * @param {Object} action Dispatched action. + * + * @return {?number} Initial position: -1 or undefined. + */ + +function reducer_initialPosition(state, action) { + if (action.type === 'SELECT_BLOCK') { + return action.initialPosition; + } else if (action.type === 'REMOVE_BLOCKS') { + return state; + } // Reset the state by default (for any action not handled). + +} function blocksMode() { var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var action = arguments.length > 1 ? arguments[1] : undefined; @@ -7945,7 +8582,7 @@ var reducer_blockListSettings = function blockListSettings() { */ function reducer_isNavigationMode() { - var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; var action = arguments.length > 1 ? arguments[1] : undefined; if (action.type === 'SET_NAVIGATION_MODE') { @@ -7988,17 +8625,46 @@ function lastBlockAttributesChange(state, action) { * @param {boolean} state Current state. * @param {Object} action Dispatched action. * - * @return {boolean} Updated state. + * @return {string} Updated state. */ -function reducer_didAutomaticChange(state, action) { - return action.type === 'MARK_AUTOMATIC_CHANGE'; +function automaticChangeStatus(state, action) { + switch (action.type) { + case 'MARK_AUTOMATIC_CHANGE': + return 'pending'; + + case 'MARK_AUTOMATIC_CHANGE_FINAL': + if (state === 'pending') { + return 'final'; + } + + return; + + case 'SELECTION_CHANGE': + // As long as the state is not final, ignore any selection changes. + if (state !== 'final') { + return state; + } + + return; + // Undoing an automatic change should still be possible after mouse + // move. + + case 'STOP_TYPING': + return state; + } // Reset the state by default (for any action not handled). + } /* harmony default export */ var store_reducer = (Object(external_this_wp_data_["combineReducers"])({ blocks: reducer_blocks, isTyping: reducer_isTyping, + isDraggingBlocks: reducer_isDraggingBlocks, isCaretWithinFormattedText: reducer_isCaretWithinFormattedText, - blockSelection: blockSelection, + selectionStart: reducer_selectionStart, + selectionEnd: reducer_selectionEnd, + isMultiSelecting: reducer_isMultiSelecting, + isSelectionEnabled: reducer_isSelectionEnabled, + initialPosition: reducer_initialPosition, blocksMode: blocksMode, blockListSettings: reducer_blockListSettings, insertionPoint: insertionPoint, @@ -8007,22 +8673,22 @@ function reducer_didAutomaticChange(state, action) { preferences: preferences, lastBlockAttributesChange: lastBlockAttributesChange, isNavigationMode: reducer_isNavigationMode, - didAutomaticChange: reducer_didAutomaticChange + automaticChangeStatus: automaticChangeStatus })); // EXTERNAL MODULE: ./node_modules/refx/refx.js -var refx = __webpack_require__(71); +var refx = __webpack_require__(70); var refx_default = /*#__PURE__*/__webpack_require__.n(refx); // EXTERNAL MODULE: ./node_modules/redux-multi/lib/index.js -var redux_multi_lib = __webpack_require__(217); +var redux_multi_lib = __webpack_require__(216); var redux_multi_lib_default = /*#__PURE__*/__webpack_require__.n(redux_multi_lib); -// EXTERNAL MODULE: external {"this":["wp","a11y"]} -var external_this_wp_a11y_ = __webpack_require__(45); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js +var esm_typeof = __webpack_require__(31); // EXTERNAL MODULE: external {"this":"regeneratorRuntime"} -var external_this_regeneratorRuntime_ = __webpack_require__(20); +var external_this_regeneratorRuntime_ = __webpack_require__(23); var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/controls.js @@ -8092,7 +8758,10 @@ external_this_regeneratorRuntime_default.a.mark(moveBlockToPosition), external_this_regeneratorRuntime_default.a.mark(actions_insertBlocks), _marked7 = /*#__PURE__*/ -external_this_regeneratorRuntime_default.a.mark(actions_removeBlocks); +external_this_regeneratorRuntime_default.a.mark(actions_removeBlocks), + _marked8 = +/*#__PURE__*/ +external_this_regeneratorRuntime_default.a.mark(actions_setNavigationMode); /** * External dependencies @@ -8103,6 +8772,8 @@ external_this_regeneratorRuntime_default.a.mark(actions_removeBlocks); */ + + /** * Internal dependencies */ @@ -8153,12 +8824,40 @@ function ensureDefaultBlock() { */ -function resetBlocks(blocks) { +function actions_resetBlocks(blocks) { return { type: 'RESET_BLOCKS', blocks: blocks }; } +/** + * A block selection object. + * + * @typedef {Object} WPBlockSelection + * + * @property {string} clientId A block client ID. + * @property {string} attributeKey A block attribute key. + * @property {number} offset An attribute value offset, based on the rich + * text value. See `wp.richText.create`. + */ + +/** + * Returns an action object used in signalling that selection state should be + * reset to the specified selection. + * + * @param {WPBlockSelection} selectionStart The selection start. + * @param {WPBlockSelection} selectionEnd The selection end. + * + * @return {Object} Action object. + */ + +function actions_resetSelection(selectionStart, selectionEnd) { + return { + type: 'RESET_SELECTION', + selectionStart: selectionStart, + selectionEnd: selectionEnd + }; +} /** * Returns an action object used in signalling that blocks have been received. * Unlike resetBlocks, these should be appended to the existing known set, not @@ -8202,7 +8901,7 @@ function actions_updateBlockAttributes(clientId, attributes) { * @return {Object} Action object. */ -function updateBlock(clientId, updates) { +function actions_updateBlock(clientId, updates) { return { type: 'UPDATE_BLOCK', clientId: clientId, @@ -8304,7 +9003,7 @@ function selectNextBlock(clientId) { * @return {Object} Action object. */ -function startMultiSelect() { +function actions_startMultiSelect() { return { type: 'START_MULTI_SELECT' }; @@ -8315,7 +9014,7 @@ function startMultiSelect() { * @return {Object} Action object. */ -function stopMultiSelect() { +function actions_stopMultiSelect() { return { type: 'STOP_MULTI_SELECT' }; @@ -8342,7 +9041,7 @@ function actions_multiSelect(start, end) { * @return {Object} Action object. */ -function clearSelectedBlock() { +function actions_clearSelectedBlock() { return { type: 'CLEAR_SELECTED_BLOCK' }; @@ -8922,6 +9621,28 @@ function stopTyping() { type: 'STOP_TYPING' }; } +/** + * Returns an action object used in signalling that the user has begun to drag blocks. + * + * @return {Object} Action object. + */ + +function actions_startDraggingBlocks() { + return { + type: 'START_DRAGGING_BLOCKS' + }; +} +/** + * Returns an action object used in signalling that the user has stopped dragging blocks. + * + * @return {Object} Action object. + */ + +function actions_stopDraggingBlocks() { + return { + type: 'STOP_DRAGGING_BLOCKS' + }; +} /** * Returns an action object used in signalling that the caret has entered formatted text. * @@ -9013,7 +9734,7 @@ function updateBlockListSettings(clientId, settings) { * @return {Object} Action object */ -function updateSettings(settings) { +function actions_updateSettings(settings) { return { type: 'UPDATE_SETTINGS', settings: settings @@ -9064,23 +9785,42 @@ function __unstableMarkAutomaticChange() { }; } /** - * Returns an action object used to enable or disable the navigation mode. + * Generators that triggers an action used to enable or disable the navigation mode. * * @param {string} isNavigationMode Enable/Disable navigation mode. - * - * @return {Object} Action object */ function actions_setNavigationMode() { - var isNavigationMode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; - return { - type: 'SET_NAVIGATION_MODE', - isNavigationMode: isNavigationMode - }; + var isNavigationMode, + _args8 = arguments; + return external_this_regeneratorRuntime_default.a.wrap(function setNavigationMode$(_context8) { + while (1) { + switch (_context8.prev = _context8.next) { + case 0: + isNavigationMode = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : true; + _context8.next = 3; + return { + type: 'SET_NAVIGATION_MODE', + isNavigationMode: isNavigationMode + }; + + case 3: + if (isNavigationMode) { + Object(external_this_wp_a11y_["speak"])(Object(external_this_wp_i18n_["__"])('You are currently in navigation mode. Navigate blocks using the Tab key. To exit navigation mode and edit the selected block, press Enter.')); + } else { + Object(external_this_wp_a11y_["speak"])(Object(external_this_wp_i18n_["__"])('You are currently in edit mode. To return to the navigation mode, press Escape.')); + } + + case 4: + case "end": + return _context8.stop(); + } + } + }, _marked8); } // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(36); +var rememo = __webpack_require__(38); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/selectors.js @@ -9097,7 +9837,18 @@ var rememo = __webpack_require__(36); */ - // Module constants + +/** + * A block selection object. + * + * @typedef {Object} WPBlockSelection + * + * @property {string} clientId A block client ID. + * @property {string} attributeKey A block attribute key. + * @property {number} offset An attribute value offset, based on the rich + * text value. See `wp.richText.create`. + */ +// Module constants /** * @private @@ -9302,9 +10053,9 @@ var getGlobalBlockCount = Object(rememo["a" /* default */])(function (state, blo return clientIds.length; } - return Object(external_this_lodash_["reduce"])(clientIds, function (count, clientId) { + return Object(external_this_lodash_["reduce"])(clientIds, function (accumulator, clientId) { var block = state.blocks.byClientId[clientId]; - return block.name === blockName ? count + 1 : count; + return block.name === blockName ? accumulator + 1 : accumulator; }, 0); }, function (state) { return [state.blocks.order, state.blocks.byClientId]; @@ -9338,14 +10089,6 @@ var selectors_getBlocksByClientId = Object(rememo["a" /* default */])(function ( function selectors_getBlockCount(state, rootClientId) { return selectors_getBlockOrder(state, rootClientId).length; } -/** - * @typedef {WPBlockSelection} A block selection object. - * - * @property {string} clientId The selected block client ID. - * @property {string} attributeKey The selected block attribute key. - * @property {number} offset The selected block attribute offset. - */ - /** * Returns the current selection start block client ID, attribute key and text * offset. @@ -9355,8 +10098,8 @@ function selectors_getBlockCount(state, rootClientId) { * @return {WPBlockSelection} Selection start information. */ -function getSelectionStart(state) { - return state.blockSelection.start; +function selectors_getSelectionStart(state) { + return state.selectionStart; } /** * Returns the current selection end block client ID, attribute key and text @@ -9367,8 +10110,8 @@ function getSelectionStart(state) { * @return {WPBlockSelection} Selection end information. */ -function getSelectionEnd(state) { - return state.blockSelection.end; +function selectors_getSelectionEnd(state) { + return state.selectionEnd; } /** * Returns the current block selection start. This value may be null, and it @@ -9381,7 +10124,7 @@ function getSelectionEnd(state) { */ function getBlockSelectionStart(state) { - return state.blockSelection.start.clientId; + return state.selectionStart.clientId; } /** * Returns the current block selection end. This value may be null, and it @@ -9394,7 +10137,7 @@ function getBlockSelectionStart(state) { */ function getBlockSelectionEnd(state) { - return state.blockSelection.end.clientId; + return state.selectionEnd.clientId; } /** * Returns the number of blocks currently selected in the post. @@ -9411,7 +10154,7 @@ function selectors_getSelectedBlockCount(state) { return multiSelectedBlockCount; } - return state.blockSelection.start.clientId ? 1 : 0; + return state.selectionStart.clientId ? 1 : 0; } /** * Returns true if there is a single selected block, or false otherwise. @@ -9422,10 +10165,9 @@ function selectors_getSelectedBlockCount(state) { */ function hasSelectedBlock(state) { - var _state$blockSelection = state.blockSelection, - start = _state$blockSelection.start, - end = _state$blockSelection.end; - return !!start.clientId && start.clientId === end.clientId; + var selectionStart = state.selectionStart, + selectionEnd = state.selectionEnd; + return !!selectionStart.clientId && selectionStart.clientId === selectionEnd.clientId; } /** * Returns the currently selected block client ID, or null if there is no @@ -9437,13 +10179,15 @@ function hasSelectedBlock(state) { */ function selectors_getSelectedBlockClientId(state) { - var _state$blockSelection2 = state.blockSelection, - start = _state$blockSelection2.start, - end = _state$blockSelection2.end; // We need to check the block exists because the current blockSelection - // reducer doesn't take into account when blocks are reset via undo. To be - // removed when that's fixed. + var selectionStart = state.selectionStart, + selectionEnd = state.selectionEnd; + var clientId = selectionStart.clientId; - return start.clientId && start.clientId === end.clientId && !!state.blocks.byClientId[start.clientId] ? start.clientId : null; + if (!clientId || clientId !== selectionEnd.clientId) { + return null; + } + + return clientId; } /** * Returns the currently selected block, or null if there is no selected block. @@ -9471,6 +10215,28 @@ function selectors_getSelectedBlock(state) { function selectors_getBlockRootClientId(state, clientId) { return state.blocks.parents[clientId] !== undefined ? state.blocks.parents[clientId] : null; } +/** + * Given a block client ID, returns the list of all its parents from top to bottom. + * + * @param {Object} state Editor state. + * @param {string} clientId Block from which to find root client ID. + * + * @return {Array} ClientIDs of the parent blocks. + */ + +var selectors_getBlockParents = Object(rememo["a" /* default */])(function (state, clientId) { + var parents = []; + var current = clientId; + + while (!!state.blocks.parents[current]) { + current = state.blocks.parents[current]; + parents.push(current); + } + + return parents.reverse(); +}, function (state) { + return [state.blocks.parents]; +}); /** * Given a block client ID, returns the root of the hierarchy from which the block is nested, return the block itself for root level blocks. * @@ -9593,15 +10359,7 @@ function getNextBlockClientId(state, startClientId) { */ function selectors_getSelectedBlocksInitialCaretPosition(state) { - var _state$blockSelection3 = state.blockSelection, - start = _state$blockSelection3.start, - end = _state$blockSelection3.end; - - if (start.clientId !== end.clientId || !start.clientId) { - return null; - } - - return state.blockSelection.initialPosition; + return state.initialPosition; } /** * Returns the current selection set of block client IDs (multiselection or single selection). @@ -9612,30 +10370,29 @@ function selectors_getSelectedBlocksInitialCaretPosition(state) { */ var selectors_getSelectedBlockClientIds = Object(rememo["a" /* default */])(function (state) { - var _state$blockSelection4 = state.blockSelection, - start = _state$blockSelection4.start, - end = _state$blockSelection4.end; + var selectionStart = state.selectionStart, + selectionEnd = state.selectionEnd; - if (start.clientId === undefined || end.clientId === undefined) { + if (selectionStart.clientId === undefined || selectionEnd.clientId === undefined) { return EMPTY_ARRAY; } - if (start.clientId === end.clientId) { - return [start.clientId]; + if (selectionStart.clientId === selectionEnd.clientId) { + return [selectionStart.clientId]; } // Retrieve root client ID to aid in retrieving relevant nested block // order, being careful to allow the falsey empty string top-level root // by explicitly testing against null. - var rootClientId = selectors_getBlockRootClientId(state, start.clientId); + var rootClientId = selectors_getBlockRootClientId(state, selectionStart.clientId); if (rootClientId === null) { return EMPTY_ARRAY; } var blockOrder = selectors_getBlockOrder(state, rootClientId); - var startIndex = blockOrder.indexOf(start.clientId); - var endIndex = blockOrder.indexOf(end.clientId); + var startIndex = blockOrder.indexOf(selectionStart.clientId); + var endIndex = blockOrder.indexOf(selectionEnd.clientId); if (startIndex > endIndex) { return blockOrder.slice(endIndex, startIndex + 1); @@ -9643,7 +10400,7 @@ var selectors_getSelectedBlockClientIds = Object(rememo["a" /* default */])(func return blockOrder.slice(startIndex, endIndex + 1); }, function (state) { - return [state.blocks.order, state.blockSelection.start.clientId, state.blockSelection.end.clientId]; + return [state.blocks.order, state.selectionStart.clientId, state.selectionEnd.clientId]; }); /** * Returns the current multi-selection set of block client IDs, or an empty @@ -9655,11 +10412,10 @@ var selectors_getSelectedBlockClientIds = Object(rememo["a" /* default */])(func */ function getMultiSelectedBlockClientIds(state) { - var _state$blockSelection5 = state.blockSelection, - start = _state$blockSelection5.start, - end = _state$blockSelection5.end; + var selectionStart = state.selectionStart, + selectionEnd = state.selectionEnd; - if (start.clientId === end.clientId) { + if (selectionStart.clientId === selectionEnd.clientId) { return EMPTY_ARRAY; } @@ -9760,7 +10516,7 @@ var selectors_isAncestorMultiSelected = Object(rememo["a" /* default */])(functi return isMultiSelected; }, function (state) { - return [state.blocks.order, state.blockSelection.start.clientId, state.blockSelection.end.clientId]; + return [state.blocks.order, state.selectionStart.clientId, state.selectionEnd.clientId]; }); /** * Returns the client ID of the block which begins the multi-selection set, or @@ -9776,15 +10532,14 @@ var selectors_isAncestorMultiSelected = Object(rememo["a" /* default */])(functi */ function getMultiSelectedBlocksStartClientId(state) { - var _state$blockSelection6 = state.blockSelection, - start = _state$blockSelection6.start, - end = _state$blockSelection6.end; + var selectionStart = state.selectionStart, + selectionEnd = state.selectionEnd; - if (start.clientId === end.clientId) { + if (selectionStart.clientId === selectionEnd.clientId) { return null; } - return start.clientId || null; + return selectionStart.clientId || null; } /** * Returns the client ID of the block which ends the multi-selection set, or @@ -9800,15 +10555,14 @@ function getMultiSelectedBlocksStartClientId(state) { */ function getMultiSelectedBlocksEndClientId(state) { - var _state$blockSelection7 = state.blockSelection, - start = _state$blockSelection7.start, - end = _state$blockSelection7.end; + var selectionStart = state.selectionStart, + selectionEnd = state.selectionEnd; - if (start.clientId === end.clientId) { + if (selectionStart.clientId === selectionEnd.clientId) { return null; } - return end.clientId || null; + return selectionEnd.clientId || null; } /** * Returns an array containing all block client IDs in the editor in the order @@ -9849,15 +10603,14 @@ function selectors_getBlockIndex(state, clientId, rootClientId) { */ function selectors_isBlockSelected(state, clientId) { - var _state$blockSelection8 = state.blockSelection, - start = _state$blockSelection8.start, - end = _state$blockSelection8.end; + var selectionStart = state.selectionStart, + selectionEnd = state.selectionEnd; - if (start.clientId !== end.clientId) { + if (selectionStart.clientId !== selectionEnd.clientId) { return false; } - return start.clientId === clientId; + return selectionStart.clientId === clientId; } /** * Returns true if one of the block's inner blocks is selected. @@ -9879,7 +10632,7 @@ function selectors_hasSelectedInnerBlock(state, clientId) { * Returns true if the block corresponding to the specified client ID is * currently selected but isn't the last of the selected blocks. Here "last" * refers to the block sequence in the document, _not_ the sequence of - * multi-selection, which is why `state.blockSelection.end` isn't used. + * multi-selection, which is why `state.selectionEnd` isn't used. * * @param {Object} state Editor state. * @param {string} clientId Block client ID. @@ -9906,10 +10659,9 @@ function isBlockWithinSelection(state, clientId) { */ function selectors_hasMultiSelection(state) { - var _state$blockSelection9 = state.blockSelection, - start = _state$blockSelection9.start, - end = _state$blockSelection9.end; - return start.clientId !== end.clientId; + var selectionStart = state.selectionStart, + selectionEnd = state.selectionEnd; + return selectionStart.clientId !== selectionEnd.clientId; } /** * Whether in the process of multi-selecting or not. This flag is only true @@ -9923,8 +10675,8 @@ function selectors_hasMultiSelection(state) { * @return {boolean} True if multi-selecting, false if not. */ -function isMultiSelecting(state) { - return state.blockSelection.isMultiSelecting; +function selectors_isMultiSelecting(state) { + return state.isMultiSelecting; } /** * Selector that returns if multi-selection is enabled or not. @@ -9935,7 +10687,7 @@ function isMultiSelecting(state) { */ function selectors_isSelectionEnabled(state) { - return state.blockSelection.isEnabled; + return state.isSelectionEnabled; } /** * Returns the block's editing mode, defaulting to "visual" if not explicitly @@ -9961,6 +10713,17 @@ function selectors_getBlockMode(state, clientId) { function selectors_isTyping(state) { return state.isTyping; } +/** + * Returns true if the user is dragging blocks, or false otherwise. + * + * @param {Object} state Global application state. + * + * @return {boolean} Whether user is dragging blocks. + */ + +function selectors_isDraggingBlocks(state) { + return state.isDraggingBlocks; +} /** * Returns true if the caret is within formatted text, or false otherwise. * @@ -9984,17 +10747,17 @@ function selectors_isCaretWithinFormattedText(state) { function getBlockInsertionPoint(state) { var rootClientId, index; var insertionPoint = state.insertionPoint, - blockSelection = state.blockSelection; + selectionEnd = state.selectionEnd; if (insertionPoint !== null) { return insertionPoint; } - var end = blockSelection.end; + var clientId = selectionEnd.clientId; - if (end.clientId) { - rootClientId = selectors_getBlockRootClientId(state, end.clientId) || undefined; - index = selectors_getBlockIndex(state, end.clientId, rootClientId) + 1; + if (clientId) { + rootClientId = selectors_getBlockRootClientId(state, clientId) || undefined; + index = selectors_getBlockIndex(state, selectionEnd.clientId, rootClientId) + 1; } else { index = selectors_getBlockOrder(state).length; } @@ -10194,9 +10957,9 @@ var selectors_canIncludeBlockTypeInInserter = function canIncludeBlockTypeInInse * @param {Object} state Editor state. * @param {?string} rootClientId Optional root client ID of block list. * - * @return {Editor.InserterItem[]} Items that appear in inserter. + * @return {WPEditorInserterItem[]} Items that appear in inserter. * - * @typedef {Object} Editor.InserterItem + * @typedef {Object} WPEditorInserterItem * @property {string} id Unique identifier for the item. * @property {string} name The type of block to create. * @property {Object} initialAttributes Attributes to pass to the newly created block. @@ -10332,7 +11095,7 @@ var selectors_getInserterItems = Object(rememo["a" /* default */])(function (sta * @return {boolean} Items that appear in inserter. */ -var hasInserterItems = Object(rememo["a" /* default */])(function (state) { +var selectors_hasInserterItems = Object(rememo["a" /* default */])(function (state) { var rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; var hasBlockType = Object(external_this_lodash_["some"])(Object(external_this_wp_blocks_["getBlockTypes"])(), function (blockType) { return selectors_canIncludeBlockTypeInInserter(state, blockType, rootClientId); @@ -10347,6 +11110,28 @@ var hasInserterItems = Object(rememo["a" /* default */])(function (state) { }, function (state, rootClientId) { return [state.blockListSettings[rootClientId], state.blocks.byClientId, state.settings.allowedBlockTypes, state.settings.templateLock, getReusableBlocks(state), Object(external_this_wp_blocks_["getBlockTypes"])()]; }); +/** + * Returns the list of allowed inserter blocks for inner blocks children + * + * @param {Object} state Editor state. + * @param {?string} rootClientId Optional root client ID of block list. + * + * @return {Array?} The list of allowed block types. + */ + +var selectors_experimentalGetAllowedBlocks = Object(rememo["a" /* default */])(function (state) { + var rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; + + if (!rootClientId) { + return; + } + + return Object(external_this_lodash_["filter"])(Object(external_this_wp_blocks_["getBlockTypes"])(), function (blockType) { + return selectors_canIncludeBlockTypeInInserter(state, blockType, rootClientId); + }); +}, function (state, rootClientId) { + return [state.blockListSettings[rootClientId], state.blocks.byClientId, state.settings.allowedBlockTypes, state.settings.templateLock, Object(external_this_wp_blocks_["getBlockTypes"])()]; +}); /** * Returns the Block List settings of a block, if any exist. * @@ -10468,7 +11253,7 @@ function selectors_isNavigationMode(state) { */ function selectors_didAutomaticChange(state) { - return state.didAutomaticChange; + return !!state.automaticChangeStatus; } // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/effects.js @@ -10476,6 +11261,7 @@ function selectors_didAutomaticChange(state) { + /** * External dependencies */ @@ -10538,34 +11324,50 @@ function validateBlocksToTemplate(action, store) { var blockB = selectors_getBlock(state, clientIdB); var blockBType = Object(external_this_wp_blocks_["getBlockType"])(blockB.name); - var _getSelectionStart = getSelectionStart(state), + var _getSelectionStart = selectors_getSelectionStart(state), clientId = _getSelectionStart.clientId, attributeKey = _getSelectionStart.attributeKey, offset = _getSelectionStart.offset; - var hasTextSelection = (clientId === clientIdA || clientId === clientIdB) && attributeKey !== undefined && offset !== undefined; // A robust way to retain selection position through various transforms + var selectedBlockType = clientId === clientIdA ? blockAType : blockBType; + var attributeDefinition = selectedBlockType.attributes[attributeKey]; + var canRestoreTextSelection = (clientId === clientIdA || clientId === clientIdB) && attributeKey !== undefined && offset !== undefined && // We cannot restore text selection if the RichText identifier + // is not a defined block attribute key. This can be the case if the + // fallback intance ID is used to store selection (and no RichText + // identifier is set), or when the identifier is wrong. + !!attributeDefinition; + + if (!attributeDefinition) { + if (typeof attributeKey === 'number') { + window.console.error("RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was ".concat(Object(esm_typeof["a" /* default */])(attributeKey))); + } else { + window.console.error('The RichText identifier prop does not match any attributes defined by the block.'); + } + } // A robust way to retain selection position through various transforms // is to insert a special character at the position and then recover it. + var START_OF_SELECTED_AREA = "\x86"; // Clone the blocks so we don't insert the character in a "live" block. var cloneA = Object(external_this_wp_blocks_["cloneBlock"])(blockA); var cloneB = Object(external_this_wp_blocks_["cloneBlock"])(blockB); - if (hasTextSelection) { + if (canRestoreTextSelection) { var selectedBlock = clientId === clientIdA ? cloneA : cloneB; var html = selectedBlock.attributes[attributeKey]; - var selectedBlockType = clientId === clientIdA ? blockAType : blockBType; - var _selectedBlockType$at = selectedBlockType.attributes[attributeKey], - multilineTag = _selectedBlockType$at.multiline, - multilineWrapperTags = _selectedBlockType$at.__unstableMultilineWrapperTags; + var multilineTag = attributeDefinition.multiline, + multilineWrapperTags = attributeDefinition.__unstableMultilineWrapperTags, + preserveWhiteSpace = attributeDefinition.__unstablePreserveWhiteSpace; var value = Object(external_this_wp_richText_["insert"])(Object(external_this_wp_richText_["create"])({ html: html, multilineTag: multilineTag, - multilineWrapperTags: multilineWrapperTags + multilineWrapperTags: multilineWrapperTags, + preserveWhiteSpace: preserveWhiteSpace }), START_OF_SELECTED_AREA, offset, offset); selectedBlock.attributes[attributeKey] = Object(external_this_wp_richText_["toHTMLString"])({ value: value, - multilineTag: multilineTag + multilineTag: multilineTag, + preserveWhiteSpace: preserveWhiteSpace }); } // We can only merge blocks with similar types // thus, we transform the block to merge first @@ -10580,24 +11382,27 @@ function validateBlocksToTemplate(action, store) { var updatedAttributes = blockAType.merge(cloneA.attributes, blocksWithTheSameType[0].attributes); - if (hasTextSelection) { + if (canRestoreTextSelection) { var newAttributeKey = Object(external_this_lodash_["findKey"])(updatedAttributes, function (v) { return typeof v === 'string' && v.indexOf(START_OF_SELECTED_AREA) !== -1; }); var convertedHtml = updatedAttributes[newAttributeKey]; var _blockAType$attribute = blockAType.attributes[newAttributeKey], _multilineTag = _blockAType$attribute.multiline, - _multilineWrapperTags = _blockAType$attribute.__unstableMultilineWrapperTags; + _multilineWrapperTags = _blockAType$attribute.__unstableMultilineWrapperTags, + _preserveWhiteSpace = _blockAType$attribute.__unstablePreserveWhiteSpace; var convertedValue = Object(external_this_wp_richText_["create"])({ html: convertedHtml, multilineTag: _multilineTag, - multilineWrapperTags: _multilineWrapperTags + multilineWrapperTags: _multilineWrapperTags, + preserveWhiteSpace: _preserveWhiteSpace }); var newOffset = convertedValue.text.indexOf(START_OF_SELECTED_AREA); var newValue = Object(external_this_wp_richText_["remove"])(convertedValue, newOffset, newOffset + 1); var newHtml = Object(external_this_wp_richText_["toHTMLString"])({ value: newValue, - multilineTag: _multilineTag + multilineTag: _multilineTag, + preserveWhiteSpace: _preserveWhiteSpace }); updatedAttributes[newAttributeKey] = newHtml; dispatch(selectionChange(blockA.clientId, newAttributeKey, newOffset, newOffset)); @@ -10621,7 +11426,20 @@ function validateBlocksToTemplate(action, store) { var blocks = selectors_getBlocks(state); var template = getTemplate(state); var updatedBlockList = Object(external_this_wp_blocks_["synchronizeBlocksWithTemplate"])(blocks, template); - return resetBlocks(updatedBlockList); + return actions_resetBlocks(updatedBlockList); + }, + MARK_AUTOMATIC_CHANGE: function MARK_AUTOMATIC_CHANGE(action, store) { + var _window = window, + setTimeout = _window.setTimeout, + _window$requestIdleCa = _window.requestIdleCallback, + requestIdleCallback = _window$requestIdleCa === void 0 ? function (callback) { + return setTimeout(callback, 100); + } : _window$requestIdleCa; + requestIdleCallback(function () { + store.dispatch({ + type: 'MARK_AUTOMATIC_CHANGE_FINAL' + }); + }); } }); @@ -10792,6 +11610,7 @@ var withRegistryProvider = Object(external_this_wp_compose_["createHigherOrderCo */ +/** @typedef {import('@wordpress/data').WPDataRegistry} WPDataRegistry */ var provider_BlockEditorProvider = /*#__PURE__*/ @@ -10810,6 +11629,7 @@ function (_Component) { this.props.updateSettings(this.props.settings); this.props.resetBlocks(this.props.value); this.attachChangeObserver(this.props.registry); + this.isSyncingOutcomingValue = []; } }, { key: "componentDidUpdate", @@ -10819,6 +11639,9 @@ function (_Component) { updateSettings = _this$props.updateSettings, value = _this$props.value, resetBlocks = _this$props.resetBlocks, + selectionStart = _this$props.selectionStart, + selectionEnd = _this$props.selectionEnd, + resetSelection = _this$props.resetSelection, registry = _this$props.registry; if (settings !== prevProps.settings) { @@ -10829,22 +11652,28 @@ function (_Component) { this.attachChangeObserver(registry); } - if (this.isSyncingOutcomingValue !== null && this.isSyncingOutcomingValue === value) { + if (this.isSyncingOutcomingValue.includes(value)) { // Skip block reset if the value matches expected outbound sync // triggered by this component by a preceding change detection. // Only skip if the value matches expectation, since a reset should // still occur if the value is modified (not equal by reference), // to allow that the consumer may apply modifications to reflect // back on the editor. - this.isSyncingOutcomingValue = null; + if (Object(external_this_lodash_["last"])(this.isSyncingOutcomingValue) === value) { + this.isSyncingOutcomingValue = []; + } } else if (value !== prevProps.value) { // Reset changing value in all other cases than the sync described // above. Since this can be reached in an update following an out- // bound sync, unset the outbound value to avoid considering it in // subsequent renders. - this.isSyncingOutcomingValue = null; + this.isSyncingOutcomingValue = []; this.isSyncingIncomingValue = value; resetBlocks(value); + + if (selectionStart && selectionEnd) { + resetSelection(selectionStart, selectionEnd); + } } } }, { @@ -10863,8 +11692,8 @@ function (_Component) { * This needs to be done synchronously after state changes (instead of using * `componentDidUpdate`) in order to avoid batching these changes. * - * @param {WPDataRegistry} registry Registry from which block editor - * dispatch is to be overriden. + * @param {WPDataRegistry} registry Registry from which block editor + * dispatch is to be overridden. */ }, { @@ -10878,6 +11707,8 @@ function (_Component) { var _registry$select = registry.select('core/block-editor'), getBlocks = _registry$select.getBlocks, + getSelectionStart = _registry$select.getSelectionStart, + getSelectionEnd = _registry$select.getSelectionEnd, isLastBlockChangePersistent = _registry$select.isLastBlockChangePersistent, __unstableIsLastBlockChangeIgnored = _registry$select.__unstableIsLastBlockChangeIgnored; @@ -10904,16 +11735,24 @@ function (_Component) { // When knowing the blocks value is changing, assign instance // value to skip reset in subsequent `componentDidUpdate`. if (newBlocks !== blocks) { - _this.isSyncingOutcomingValue = newBlocks; + _this.isSyncingOutcomingValue.push(newBlocks); } blocks = newBlocks; isPersistent = newIsPersistent; + var selectionStart = getSelectionStart(); + var selectionEnd = getSelectionEnd(); if (isPersistent) { - onChange(blocks); + onChange(blocks, { + selectionStart: selectionStart, + selectionEnd: selectionEnd + }); } else { - onInput(blocks); + onInput(blocks, { + selectionStart: selectionStart, + selectionEnd: selectionEnd + }); } } }); @@ -10932,11 +11771,13 @@ function (_Component) { /* harmony default export */ var provider = (Object(external_this_wp_compose_["compose"])([with_registry_provider, Object(external_this_wp_data_["withDispatch"])(function (dispatch) { var _dispatch = dispatch('core/block-editor'), updateSettings = _dispatch.updateSettings, - resetBlocks = _dispatch.resetBlocks; + resetBlocks = _dispatch.resetBlocks, + resetSelection = _dispatch.resetSelection; return { updateSettings: updateSettings, - resetBlocks: resetBlocks + resetBlocks: resetBlocks, + resetSelection: resetSelection }; })])(provider_BlockEditorProvider)); @@ -10956,7 +11797,7 @@ var block_async_mode_provider_BlockAsyncModeProvider = function BlockAsyncModePr return select('core/block-editor').hasSelectedInnerBlock(clientId, true); }); var isSyncModeForced = isBlockInSelection || isParentOfSelectedBlock; - return Object(external_this_wp_element_["createElement"])(external_this_wp_data_["__experimentalAsyncModeProvider"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_data_["AsyncModeProvider"], { value: !isSyncModeForced }, children); }; @@ -10967,7 +11808,7 @@ var block_async_mode_provider_BlockAsyncModeProvider = function BlockAsyncModePr var web_cjs = __webpack_require__(63); // EXTERNAL MODULE: external {"this":["wp","dom"]} -var external_this_wp_dom_ = __webpack_require__(25); +var external_this_wp_dom_ = __webpack_require__(29); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-mover/mover-description.js /** @@ -10985,13 +11826,34 @@ var external_this_wp_dom_ = __webpack_require__(25); * @param {boolean} isLast This is the last block. * @param {number} dir Direction of movement (> 0 is considered to be going * down, < 0 is up). + * @param {string} orientation The orientation of the block movers, vertical or + * horizontal. + * @param {boolean} isRTL True if current writing system is right to left. * * @return {string} Label for the block movement controls. */ -function getBlockMoverDescription(selectedCount, type, firstIndex, isFirst, isLast, dir) { +function getBlockMoverDescription(selectedCount, type, firstIndex, isFirst, isLast, dir, orientation, isRTL) { var position = firstIndex + 1; + var getMovementDirection = function getMovementDirection(moveDirection) { + if (moveDirection === 'up') { + if (orientation === 'horizontal') { + return isRTL ? 'right' : 'left'; + } + + return 'up'; + } else if (moveDirection === 'down') { + if (orientation === 'horizontal') { + return isRTL ? 'left' : 'right'; + } + + return 'down'; + } + + return null; + }; + if (selectedCount > 1) { return getMultiBlockMoverDescription(selectedCount, firstIndex, isFirst, isLast, dir); } @@ -11003,26 +11865,26 @@ function getBlockMoverDescription(selectedCount, type, firstIndex, isFirst, isLa if (dir > 0 && !isLast) { // moving down - return Object(external_this_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position - Object(external_this_wp_i18n_["__"])('Move %1$s block from position %2$d down to position %3$d'), type, position, position + 1); + return Object(external_this_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: Direction of movement ( up, down, left, right ), 4: New position + Object(external_this_wp_i18n_["__"])('Move %1$s block from position %2$d %3$s to position %4$d'), type, position, getMovementDirection('down'), position + 1); } if (dir > 0 && isLast) { // moving down, and is the last item - // translators: %s: Type of block (i.e. Text, Image etc) - return Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Block %s is at the end of the content and can’t be moved down'), type); + // translators: 1: Type of block (i.e. Text, Image etc), 2: Direction of movement ( up, down, left, right ) + return Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Block %1$s is at the end of the content and can’t be moved %2$s'), type, getMovementDirection('down')); } if (dir < 0 && !isFirst) { // moving up - return Object(external_this_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position - Object(external_this_wp_i18n_["__"])('Move %1$s block from position %2$d up to position %3$d'), type, position, position - 1); + return Object(external_this_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: Direction of movement ( up, down, left, right ), 4: New position + Object(external_this_wp_i18n_["__"])('Move %1$s block from position %2$d %3$s to position %4$d'), type, position, getMovementDirection('up'), position - 1); } if (dir < 0 && isFirst) { // moving up, and is the first item - // translators: %s: Type of block (i.e. Text, Image etc) - return Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Block %s is at the beginning of the content and can’t be moved up'), type); + // translators: 1: Type of block (i.e. Text, Image etc), 2: Direction of movement ( up, down, left, right ) + return Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Block %1$s is at the beginning of the content and can’t be moved %2$s'), type, getMovementDirection('up')); } } /** @@ -11075,6 +11937,14 @@ var upArrow = Object(external_this_wp_element_["createElement"])(external_this_w }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Polygon"], { points: "9,4.5 3.3,10.1 4.8,11.5 9,7.3 13.2,11.5 14.7,10.1 " })); +var leftArrow = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + width: "18", + height: "18", + viewBox: "0 0 18 18", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M4.5 9l5.6-5.7 1.4 1.5L7.3 9l4.2 4.2-1.4 1.5L4.5 9z" +})); var downArrow = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { width: "18", height: "18", @@ -11083,6 +11953,14 @@ var downArrow = Object(external_this_wp_element_["createElement"])(external_this }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Polygon"], { points: "9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 " })); +var rightArrow = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + width: "18", + height: "18", + viewBox: "0 0 18 18", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M13.5 9L7.9 3.3 6.5 4.8 10.7 9l-4.2 4.2 1.4 1.5L13.5 9z" +})); var dragHandle = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { width: "18", height: "18", @@ -11095,31 +11973,79 @@ var dragHandle = Object(external_this_wp_element_["createElement"])(external_thi // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-draggable/index.js +/** + * External dependencies + */ + /** * WordPress dependencies */ + + var block_draggable_BlockDraggable = function BlockDraggable(_ref) { var children = _ref.children, - clientId = _ref.clientId, - rootClientId = _ref.rootClientId, - blockElementId = _ref.blockElementId, - index = _ref.index, - onDragStart = _ref.onDragStart, - onDragEnd = _ref.onDragEnd; + clientIds = _ref.clientIds; + + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + var _select = select('core/block-editor'), + getBlockIndex = _select.getBlockIndex, + getBlockRootClientId = _select.getBlockRootClientId, + getTemplateLock = _select.getTemplateLock; + + var normalizedClientIds = Object(external_this_lodash_["castArray"])(clientIds); + var rootClientId = normalizedClientIds.length === 1 ? getBlockRootClientId(normalizedClientIds[0]) : null; + var templateLock = rootClientId ? getTemplateLock(rootClientId) : null; + return { + index: getBlockIndex(normalizedClientIds[0], rootClientId), + srcRootClientId: rootClientId, + isDraggable: normalizedClientIds.length === 1 && 'all' !== templateLock + }; + }, [clientIds]), + srcRootClientId = _useSelect.srcRootClientId, + index = _useSelect.index, + isDraggable = _useSelect.isDraggable; + + var isDragging = Object(external_this_wp_element_["useRef"])(false); + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + startDraggingBlocks = _useDispatch.startDraggingBlocks, + stopDraggingBlocks = _useDispatch.stopDraggingBlocks; // Stop dragging blocks if the block draggable is unmounted + + + Object(external_this_wp_element_["useEffect"])(function () { + return function () { + if (isDragging.current) { + stopDraggingBlocks(); + } + }; + }, []); + + if (!isDraggable) { + return null; + } + + var normalizedClientIds = Object(external_this_lodash_["castArray"])(clientIds); + var blockElementId = "block-".concat(normalizedClientIds[0]); var transferData = { type: 'block', srcIndex: index, - srcRootClientId: rootClientId, - srcClientId: clientId + srcClientId: normalizedClientIds[0], + srcRootClientId: srcRootClientId }; return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Draggable"], { elementId: blockElementId, transferData: transferData, - onDragStart: onDragStart, - onDragEnd: onDragEnd + onDragStart: function onDragStart() { + startDraggingBlocks(); + isDragging.current = true; + }, + onDragEnd: function onDragEnd() { + stopDraggingBlocks(); + isDragging.current = false; + } }, function (_ref2) { var onDraggableStart = _ref2.onDraggableStart, onDraggableEnd = _ref2.onDraggableEnd; @@ -11130,63 +12056,7 @@ var block_draggable_BlockDraggable = function BlockDraggable(_ref) { }); }; -/* harmony default export */ var block_draggable = (Object(external_this_wp_data_["withSelect"])(function (select, _ref3) { - var clientId = _ref3.clientId; - - var _select = select('core/block-editor'), - getBlockIndex = _select.getBlockIndex, - getBlockRootClientId = _select.getBlockRootClientId; - - var rootClientId = getBlockRootClientId(clientId); - return { - index: getBlockIndex(clientId, rootClientId), - rootClientId: rootClientId - }; -})(block_draggable_BlockDraggable)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-mover/drag-handle.js - - -/** - * External dependencies - */ - -/** - * Internal dependencies - */ - - -var drag_handle_IconDragHandle = function IconDragHandle(_ref) { - var isVisible = _ref.isVisible, - className = _ref.className, - icon = _ref.icon, - onDragStart = _ref.onDragStart, - onDragEnd = _ref.onDragEnd, - blockElementId = _ref.blockElementId, - clientId = _ref.clientId; - - if (!isVisible) { - return null; - } - - var dragHandleClassNames = classnames_default()('editor-block-mover__control-drag-handle block-editor-block-mover__control-drag-handle', className); - return Object(external_this_wp_element_["createElement"])(block_draggable, { - clientId: clientId, - blockElementId: blockElementId, - onDragStart: onDragStart, - onDragEnd: onDragEnd - }, function (_ref2) { - var onDraggableStart = _ref2.onDraggableStart, - onDraggableEnd = _ref2.onDraggableEnd; - return Object(external_this_wp_element_["createElement"])("div", { - className: dragHandleClassNames, - "aria-hidden": "true", - onDragStart: onDraggableStart, - onDragEnd: onDraggableEnd, - draggable: true - }, icon); - }); -}; +/* harmony default export */ var block_draggable = (block_draggable_BlockDraggable); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-mover/index.js @@ -11258,13 +12128,11 @@ function (_Component) { var _this$props = this.props, onMoveUp = _this$props.onMoveUp, onMoveDown = _this$props.onMoveDown, + orientation = _this$props.__experimentalOrientation, + isRTL = _this$props.isRTL, isFirst = _this$props.isFirst, isLast = _this$props.isLast, - isDraggable = _this$props.isDraggable, - onDragStart = _this$props.onDragStart, - onDragEnd = _this$props.onDragEnd, clientIds = _this$props.clientIds, - blockElementId = _this$props.blockElementId, blockType = _this$props.blockType, firstIndex = _this$props.firstIndex, isLocked = _this$props.isLocked, @@ -11276,7 +12144,43 @@ function (_Component) { if (isLocked || isFirst && isLast && !rootClientId) { return null; - } // We emulate a disabled state because forcefully applying the `disabled` + } + + var getArrowIcon = function getArrowIcon(moveDirection) { + if (moveDirection === 'up') { + if (orientation === 'horizontal') { + return isRTL ? rightArrow : leftArrow; + } + + return upArrow; + } else if (moveDirection === 'down') { + if (orientation === 'horizontal') { + return isRTL ? leftArrow : rightArrow; + } + + return downArrow; + } + + return null; + }; + + var getMovementDirection = function getMovementDirection(moveDirection) { + if (moveDirection === 'up') { + if (orientation === 'horizontal') { + return isRTL ? 'right' : 'left'; + } + + return 'up'; + } else if (moveDirection === 'down') { + if (orientation === 'horizontal') { + return isRTL ? 'left' : 'right'; + } + + return 'down'; + } + + return null; + }; // We emulate a disabled state because forcefully applying the `disabled` // attribute on the button while it has focus causes the screen to change // to an unfocused state (body as active element) without firing blur on, // the rendering parent, leaving it unable to react to focus out. @@ -11284,30 +12188,38 @@ function (_Component) { return Object(external_this_wp_element_["createElement"])("div", { className: classnames_default()('editor-block-mover block-editor-block-mover', { - 'is-visible': isFocused || !isHidden + 'is-visible': isFocused || !isHidden, + 'is-horizontal': orientation === 'horizontal' }) }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { className: "editor-block-mover__control block-editor-block-mover__control", onClick: isFirst ? null : onMoveUp, - icon: upArrow, - label: Object(external_this_wp_i18n_["__"])('Move up'), + icon: getArrowIcon('up') // translators: %s: Horizontal direction of block movement ( left, right ) + , + label: Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Move %s'), getMovementDirection('up')), "aria-describedby": "block-editor-block-mover__up-description-".concat(instanceId), "aria-disabled": isFirst, onFocus: this.onFocus, onBlur: this.onBlur - }), Object(external_this_wp_element_["createElement"])(drag_handle_IconDragHandle, { - className: "editor-block-mover__control block-editor-block-mover__control", - icon: dragHandle, - clientId: clientIds, - blockElementId: blockElementId, - isVisible: isDraggable, - onDragStart: onDragStart, - onDragEnd: onDragEnd + }), Object(external_this_wp_element_["createElement"])(block_draggable, { + clientIds: clientIds + }, function (_ref) { + var onDraggableStart = _ref.onDraggableStart, + onDraggableEnd = _ref.onDraggableEnd; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + icon: dragHandle, + className: "block-editor-block-mover__control-drag-handle editor-block-mover__control block-editor-block-mover__control", + "aria-hidden": "true", + onDragStart: onDraggableStart, + onDragEnd: onDraggableEnd, + draggable: true + }); }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { className: "editor-block-mover__control block-editor-block-mover__control", onClick: isLast ? null : onMoveDown, - icon: downArrow, - label: Object(external_this_wp_i18n_["__"])('Move down'), + icon: getArrowIcon('down') // translators: %s: Horizontal direction of block movement ( left, right ) + , + label: Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Move %s'), getMovementDirection('down')), "aria-describedby": "block-editor-block-mover__down-description-".concat(instanceId), "aria-disabled": isLast, onFocus: this.onFocus, @@ -11315,17 +12227,17 @@ function (_Component) { }), Object(external_this_wp_element_["createElement"])("span", { id: "block-editor-block-mover__up-description-".concat(instanceId), className: "editor-block-mover__description block-editor-block-mover__description" - }, getBlockMoverDescription(blocksCount, blockType && blockType.title, firstIndex, isFirst, isLast, -1)), Object(external_this_wp_element_["createElement"])("span", { + }, getBlockMoverDescription(blocksCount, blockType && blockType.title, firstIndex, isFirst, isLast, -1, orientation, isRTL)), Object(external_this_wp_element_["createElement"])("span", { id: "block-editor-block-mover__down-description-".concat(instanceId), className: "editor-block-mover__description block-editor-block-mover__description" - }, getBlockMoverDescription(blocksCount, blockType && blockType.title, firstIndex, isFirst, isLast, 1))); + }, getBlockMoverDescription(blocksCount, blockType && blockType.title, firstIndex, isFirst, isLast, 1, orientation, isRTL))); } }]); return BlockMover; }(external_this_wp_element_["Component"]); -/* harmony default export */ var block_mover = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select, _ref) { - var clientIds = _ref.clientIds; +/* harmony default export */ var block_mover = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { + var clientIds = _ref2.clientIds; var _select = select('core/block-editor'), getBlock = _select.getBlock, @@ -11341,17 +12253,25 @@ function (_Component) { var blockOrder = getBlockOrder(rootClientId); var firstIndex = getBlockIndex(firstClientId, rootClientId); var lastIndex = getBlockIndex(Object(external_this_lodash_["last"])(normalizedClientIds), rootClientId); + + var _select2 = select('core/block-editor'), + getSettings = _select2.getSettings; + + var _getSettings = getSettings(), + isRTL = _getSettings.isRTL; + return { blockType: block ? Object(external_this_wp_blocks_["getBlockType"])(block.name) : null, isLocked: getTemplateLock(rootClientId) === 'all', rootClientId: rootClientId, firstIndex: firstIndex, + isRTL: isRTL, isFirst: firstIndex === 0, isLast: lastIndex === blockOrder.length - 1 }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref2) { - var clientIds = _ref2.clientIds, - rootClientId = _ref2.rootClientId; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref3) { + var clientIds = _ref3.clientIds, + rootClientId = _ref3.rootClientId; var _dispatch = dispatch('core/block-editor'), moveBlocksDown = _dispatch.moveBlocksDown, @@ -11423,7 +12343,7 @@ function Warning(_ref) { /* harmony default export */ var warning = (Warning); // EXTERNAL MODULE: ./node_modules/diff/dist/diff.js -var dist_diff = __webpack_require__(218); +var dist_diff = __webpack_require__(217); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-compare/block-view.js @@ -11808,23 +12728,17 @@ function (_Component) { /* harmony default export */ var block_crash_boundary = (block_crash_boundary_BlockCrashBoundary); // EXTERNAL MODULE: ./node_modules/react-autosize-textarea/lib/index.js -var react_autosize_textarea_lib = __webpack_require__(61); +var react_autosize_textarea_lib = __webpack_require__(60); var react_autosize_textarea_lib_default = /*#__PURE__*/__webpack_require__.n(react_autosize_textarea_lib); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-html.js - - - - - /** * External dependencies */ - /** * WordPress dependencies */ @@ -11833,135 +12747,57 @@ var react_autosize_textarea_lib_default = /*#__PURE__*/__webpack_require__.n(rea -var block_html_BlockHTML = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(BlockHTML, _Component); +function BlockHTML(_ref) { + var clientId = _ref.clientId; - function BlockHTML(props) { - var _this; + var _useState = Object(external_this_wp_element_["useState"])(''), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + html = _useState2[0], + setHtml = _useState2[1]; - Object(classCallCheck["a" /* default */])(this, BlockHTML); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(BlockHTML).apply(this, arguments)); - _this.onChange = _this.onChange.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onBlur = _this.onBlur.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.state = { - html: props.block.isValid ? Object(external_this_wp_blocks_["getBlockContent"])(props.block) : props.block.originalContent + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + return { + block: select('core/block-editor').getBlock(clientId) }; - return _this; - } + }, [clientId]), + block = _useSelect.block; - Object(createClass["a" /* default */])(BlockHTML, [{ - key: "componentDidUpdate", - value: function componentDidUpdate(prevProps) { - if (!Object(external_this_lodash_["isEqual"])(this.props.block.attributes, prevProps.block.attributes)) { - this.setState({ - html: Object(external_this_wp_blocks_["getBlockContent"])(this.props.block) - }); - } - } - }, { - key: "onBlur", - value: function onBlur() { - var html = this.state.html; - var blockType = Object(external_this_wp_blocks_["getBlockType"])(this.props.block.name); - var attributes = Object(external_this_wp_blocks_["getBlockAttributes"])(blockType, html, this.props.block.attributes); // If html is empty we reset the block to the default HTML and mark it as valid to avoid triggering an error + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + updateBlock = _useDispatch.updateBlock; - var content = html ? html : Object(external_this_wp_blocks_["getSaveContent"])(blockType, attributes); - var isValid = html ? Object(external_this_wp_blocks_["isValidBlockContent"])(blockType, attributes, content) : true; - this.props.onChange(this.props.clientId, attributes, content, isValid); // Ensure the state is updated if we reset so it displays the default content + var onChange = function onChange() { + var blockType = Object(external_this_wp_blocks_["getBlockType"])(block.name); + var attributes = Object(external_this_wp_blocks_["getBlockAttributes"])(blockType, html, block.attributes); // If html is empty we reset the block to the default HTML and mark it as valid to avoid triggering an error - if (!html) { - this.setState({ - html: content - }); - } - } - }, { - key: "onChange", - value: function onChange(event) { - this.setState({ - html: event.target.value - }); - } - }, { - key: "render", - value: function render() { - var html = this.state.html; - return Object(external_this_wp_element_["createElement"])(react_autosize_textarea_lib_default.a, { - className: "editor-block-list__block-html-textarea block-editor-block-list__block-html-textarea", - value: html, - onBlur: this.onBlur, - onChange: this.onChange - }); - } - }]); + var content = html ? html : Object(external_this_wp_blocks_["getSaveContent"])(blockType, attributes); + var isValid = html ? Object(external_this_wp_blocks_["isValidBlockContent"])(blockType, attributes, content) : true; + updateBlock(clientId, { + attributes: attributes, + originalContent: content, + isValid: isValid + }); // Ensure the state is updated if we reset so it displays the default content - return BlockHTML; -}(external_this_wp_element_["Component"]); -/* harmony default export */ var block_html = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, ownProps) { - return { - block: select('core/block-editor').getBlock(ownProps.clientId) - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch) { - return { - onChange: function onChange(clientId, attributes, originalContent, isValid) { - dispatch('core/block-editor').updateBlock(clientId, { - attributes: attributes, - originalContent: originalContent, - isValid: isValid + if (!html) { + setHtml({ + content: content }); } }; -})])(block_html_BlockHTML)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-title/index.js -/** - * WordPress dependencies - */ - - -/** - * Renders the block's configured title as a string, or empty if the title - * cannot be determined. - * - * @example - * - * ```jsx - * - * ``` - * - * @param {Object} props - * @param {?string} props.name Block name. - * - * @return {?string} Block title. - */ - -function BlockTitle(_ref) { - var name = _ref.name; - - if (!name) { - return null; - } - - var blockType = Object(external_this_wp_blocks_["getBlockType"])(name); - - if (!blockType) { - return null; - } - - return blockType.title; + Object(external_this_wp_element_["useEffect"])(function () { + setHtml(Object(external_this_wp_blocks_["getBlockContent"])(block)); + }, [block]); + return Object(external_this_wp_element_["createElement"])(react_autosize_textarea_lib_default.a, { + className: "editor-block-list__block-html-textarea block-editor-block-list__block-html-textarea", + value: html, + onBlur: onChange, + onChange: function onChange(event) { + return setHtml(event.target.value); + } + }); } -/* harmony default export */ var block_title = (Object(external_this_wp_data_["withSelect"])(function (select, ownProps) { - var _select = select('core/block-editor'), - getBlockName = _select.getBlockName; - var clientId = ownProps.clientId; - return { - name: getBlockName(clientId) - }; -})(BlockTitle)); +/* harmony default export */ var block_html = (BlockHTML); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/breadcrumb.js @@ -11983,29 +12819,18 @@ function BlockTitle(_ref) { * the root block. * * @param {string} props.clientId Client ID of block. - * @return {WPElement} Block Breadcrumb. + * @return {WPComponent} The component to be rendered. */ -var BlockBreadcrumb = Object(external_this_wp_element_["forwardRef"])(function (_ref, ref) { +var breadcrumb_BlockBreadcrumb = Object(external_this_wp_element_["forwardRef"])(function (_ref, ref) { var clientId = _ref.clientId; var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), setNavigationMode = _useDispatch.setNavigationMode; - var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { - return { - rootClientId: select('core/block-editor').getBlockRootClientId(clientId) - }; - }), - rootClientId = _useSelect.rootClientId; - return Object(external_this_wp_element_["createElement"])("div", { className: "editor-block-list__breadcrumb block-editor-block-list__breadcrumb" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, rootClientId && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(block_title, { - clientId: rootClientId - }), Object(external_this_wp_element_["createElement"])("span", { - className: "editor-block-list__descendant-arrow block-editor-block-list__descendant-arrow" - })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { ref: ref, onClick: function onClick() { return setNavigationMode(false); @@ -12014,7 +12839,7 @@ var BlockBreadcrumb = Object(external_this_wp_element_["forwardRef"])(function ( clientId: clientId })))); }); -/* harmony default export */ var block_list_breadcrumb = (BlockBreadcrumb); +/* harmony default export */ var block_list_breadcrumb = (breadcrumb_BlockBreadcrumb); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/navigable-toolbar/index.js @@ -12132,7 +12957,7 @@ function BlockContextualToolbar(_ref) { /* translators: accessibility text for the block toolbar */ , "aria-label": Object(external_this_wp_i18n_["__"])('Block tools') - }, Object(external_this_wp_element_["createElement"])(block_toolbar, null)); + }, Object(external_this_wp_element_["createElement"])(BlockToolbar, null)); } /* harmony default export */ var block_contextual_toolbar = (BlockContextualToolbar); @@ -12152,14 +12977,16 @@ function BlockContextualToolbar(_ref) { function BlockListMultiControls(_ref) { var multiSelectedBlockClientIds = _ref.multiSelectedBlockClientIds, - isSelecting = _ref.isSelecting; + isSelecting = _ref.isSelecting, + moverDirection = _ref.moverDirection; if (isSelecting) { return null; } return Object(external_this_wp_element_["createElement"])(block_mover, { - clientIds: multiSelectedBlockClientIds + clientIds: multiSelectedBlockClientIds, + __experimentalOrientation: moverDirection }); } @@ -12175,40 +13002,10 @@ function BlockListMultiControls(_ref) { }; })(BlockListMultiControls)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-mobile-toolbar.js - - -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - - - -function BlockMobileToolbar(_ref) { - var clientId = _ref.clientId; - return Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-list__block-mobile-toolbar block-editor-block-list__block-mobile-toolbar" - }, Object(external_this_wp_element_["createElement"])(inserter, null), Object(external_this_wp_element_["createElement"])(block_mover, { - clientIds: [clientId] - })); -} - -/* harmony default export */ var block_mobile_toolbar = (Object(external_this_wp_viewport_["ifViewportMatches"])('< small')(BlockMobileToolbar)); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/insertion-point.js - - - - - /** * External dependencies */ @@ -12224,95 +13021,60 @@ function BlockMobileToolbar(_ref) { */ +function BlockInsertionPoint(_ref) { + var rootClientId = _ref.rootClientId, + clientId = _ref.clientId; -var insertion_point_BlockInsertionPoint = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(BlockInsertionPoint, _Component); + var _useState = Object(external_this_wp_element_["useState"])(false), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + isInserterFocused = _useState2[0], + setInserterFocused = _useState2[1]; - function BlockInsertionPoint() { - var _this; + var showInsertionPoint = Object(external_this_wp_data_["useSelect"])(function (select) { + var _select = select('core/block-editor'), + getBlockIndex = _select.getBlockIndex, + getBlockInsertionPoint = _select.getBlockInsertionPoint, + isBlockInsertionPointVisible = _select.isBlockInsertionPointVisible; - Object(classCallCheck["a" /* default */])(this, BlockInsertionPoint); + var blockIndex = getBlockIndex(clientId, rootClientId); + var insertionPoint = getBlockInsertionPoint(); + return isBlockInsertionPointVisible() && insertionPoint.index === blockIndex && insertionPoint.rootClientId === rootClientId; + }); - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(BlockInsertionPoint).apply(this, arguments)); - _this.state = { - isInserterFocused: false - }; - _this.onBlurInserter = _this.onBlurInserter.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onFocusInserter = _this.onFocusInserter.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; + function onFocus(event) { + // Stop propagation of the focus event to avoid selecting the current + // block while inserting a new block, as it is not relevant to sibling + // insertion and conflicts with contextual toolbar placement. + event.stopPropagation(); + setInserterFocused(true); } - Object(createClass["a" /* default */])(BlockInsertionPoint, [{ - key: "onFocusInserter", - value: function onFocusInserter(event) { - // Stop propagation of the focus event to avoid selecting the current - // block while inserting a new block, as it is not relevant to sibling - // insertion and conflicts with contextual toolbar placement. - event.stopPropagation(); - this.setState({ - isInserterFocused: true - }); - } - }, { - key: "onBlurInserter", - value: function onBlurInserter() { - this.setState({ - isInserterFocused: false - }); - } - }, { - key: "render", - value: function render() { - var isInserterFocused = this.state.isInserterFocused; - var _this$props = this.props, - showInsertionPoint = _this$props.showInsertionPoint, - rootClientId = _this$props.rootClientId, - clientId = _this$props.clientId; - return Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-list__insertion-point block-editor-block-list__insertion-point" - }, showInsertionPoint && Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-list__insertion-point-indicator block-editor-block-list__insertion-point-indicator" - }), Object(external_this_wp_element_["createElement"])("div", { - onFocus: this.onFocusInserter, - onBlur: this.onBlurInserter // While ideally it would be enough to capture the - // bubbling focus event from the Inserter, due to the - // characteristics of click focusing of `button`s in - // Firefox and Safari, it is not reliable. - // - // See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus - , - tabIndex: -1, - className: classnames_default()('editor-block-list__insertion-point-inserter block-editor-block-list__insertion-point-inserter', { - 'is-visible': isInserterFocused - }) - }, Object(external_this_wp_element_["createElement"])(inserter, { - rootClientId: rootClientId, - clientId: clientId - }))); - } - }]); + function onBlur() { + setInserterFocused(false); + } - return BlockInsertionPoint; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var insertion_point = (Object(external_this_wp_data_["withSelect"])(function (select, _ref) { - var clientId = _ref.clientId, - rootClientId = _ref.rootClientId; - - var _select = select('core/block-editor'), - getBlockIndex = _select.getBlockIndex, - getBlockInsertionPoint = _select.getBlockInsertionPoint, - isBlockInsertionPointVisible = _select.isBlockInsertionPointVisible; - - var blockIndex = getBlockIndex(clientId, rootClientId); - var insertionPoint = getBlockInsertionPoint(); - var showInsertionPoint = isBlockInsertionPointVisible() && insertionPoint.index === blockIndex && insertionPoint.rootClientId === rootClientId; - return { - showInsertionPoint: showInsertionPoint - }; -})(insertion_point_BlockInsertionPoint)); + return Object(external_this_wp_element_["createElement"])("div", { + className: "editor-block-list__insertion-point block-editor-block-list__insertion-point" + }, showInsertionPoint && Object(external_this_wp_element_["createElement"])("div", { + className: "editor-block-list__insertion-point-indicator block-editor-block-list__insertion-point-indicator" + }), Object(external_this_wp_element_["createElement"])("div", { + onFocus: onFocus, + onBlur: onBlur // While ideally it would be enough to capture the + // bubbling focus event from the Inserter, due to the + // characteristics of click focusing of `button`s in + // Firefox and Safari, it is not reliable. + // + // See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus + , + tabIndex: -1, + className: classnames_default()('editor-block-list__insertion-point-inserter block-editor-block-list__insertion-point-inserter', { + 'is-visible': isInserterFocused + }) + }, Object(external_this_wp_element_["createElement"])(inserter, { + rootClientId: rootClientId, + clientId: clientId + }))); +} // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/ignore-nested-events/index.js @@ -12347,7 +13109,7 @@ function (_Component) { * element should stop propagation but not invoke a callback handler, since it * would be assumed these are invoked by the child element. * - * @type {Component} + * @type {WPComponent} */ var ignore_nested_events_IgnoreNestedEvents = @@ -12816,7 +13578,6 @@ function useMovingAnimation(ref, isSelected, adjustScrolling, enableAnimation, t - /** * Prevents default dragging behavior within a block to allow for multi- * selection to take effect unhampered. @@ -12829,22 +13590,21 @@ var preventDrag = function preventDrag(event) { }; function block_BlockListBlock(_ref) { - var blockRef = _ref.blockRef, - mode = _ref.mode, + var mode = _ref.mode, isFocusMode = _ref.isFocusMode, hasFixedToolbar = _ref.hasFixedToolbar, + moverDirection = _ref.moverDirection, isLocked = _ref.isLocked, clientId = _ref.clientId, rootClientId = _ref.rootClientId, isSelected = _ref.isSelected, + isMultiSelected = _ref.isMultiSelected, isPartOfMultiSelection = _ref.isPartOfMultiSelection, isFirstMultiSelected = _ref.isFirstMultiSelected, isTypingWithinBlock = _ref.isTypingWithinBlock, isCaretWithinFormattedText = _ref.isCaretWithinFormattedText, isEmptyDefaultBlock = _ref.isEmptyDefaultBlock, - isMovable = _ref.isMovable, isParentOfSelectedBlock = _ref.isParentOfSelectedBlock, - isDraggable = _ref.isDraggable, isSelectionEnabled = _ref.isSelectionEnabled, className = _ref.className, name = _ref.name, @@ -12866,9 +13626,20 @@ function block_BlockListBlock(_ref) { animateOnChange = _ref.animateOnChange, enableAnimation = _ref.enableAnimation, isNavigationMode = _ref.isNavigationMode, - enableNavigationMode = _ref.enableNavigationMode; + setNavigationMode = _ref.setNavigationMode, + isMultiSelecting = _ref.isMultiSelecting, + isLargeViewport = _ref.isLargeViewport; + + // In addition to withSelect, we should favor using useSelect in this component going forward + // to avoid leaking new props to the public API (editor.BlockListBlock filter) + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + return { + isDraggingBlocks: select('core/block-editor').isDraggingBlocks() + }; + }), + isDraggingBlocks = _useSelect.isDraggingBlocks; // Random state used to rerender the component if needed, ideally we don't need this + - // Random state used to rerender the component if needed, ideally we don't need this var _useState = Object(external_this_wp_element_["useState"])({}), _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), updateRerenderState = _useState2[1]; @@ -12878,10 +13649,7 @@ function block_BlockListBlock(_ref) { }; // Reference of the wrapper - var wrapper = Object(external_this_wp_element_["useRef"])(null); - Object(external_this_wp_element_["useEffect"])(function () { - blockRef(wrapper.current, clientId); - }, []); // Reference to the block edit node + var wrapper = Object(external_this_wp_element_["useRef"])(null); // Reference to the block edit node var blockNodeRef = Object(external_this_wp_element_["useRef"])(); var breadcrumb = Object(external_this_wp_element_["useRef"])(); // Keep track of touchstart to disable hover on iOS @@ -12940,26 +13708,12 @@ function block_BlockListBlock(_ref) { if (isTypingWithinBlock || isSelected) { hideHoverEffects(); } - }); // Handling the dragging state + }); // Handling the error state var _useState5 = Object(external_this_wp_element_["useState"])(false), _useState6 = Object(slicedToArray["a" /* default */])(_useState5, 2), - isDragging = _useState6[0], - setBlockDraggingState = _useState6[1]; - - var onDragStart = function onDragStart() { - setBlockDraggingState(true); - }; - - var onDragEnd = function onDragEnd() { - setBlockDraggingState(false); - }; // Handling the error state - - - var _useState7 = Object(external_this_wp_element_["useState"])(false), - _useState8 = Object(slicedToArray["a" /* default */])(_useState7, 2), - hasError = _useState8[0], - setErrorState = _useState8[1]; + hasError = _useState6[0], + setErrorState = _useState6[1]; var onBlockError = function onBlockError() { return setErrorState(true); @@ -12989,10 +13743,22 @@ function block_BlockListBlock(_ref) { var focusTabbable = function focusTabbable(ignoreInnerBlocks) { - // Focus is captured by the wrapper node, so while focus transition + var selection = window.getSelection(); + + if (selection.rangeCount && !selection.isCollapsed) { + var _selection$getRangeAt = selection.getRangeAt(0), + startContainer = _selection$getRangeAt.startContainer, + endContainer = _selection$getRangeAt.endContainer; + + if (!blockNodeRef.current.contains(startContainer) || !blockNodeRef.current.contains(endContainer)) { + selection.removeAllRanges(); + } + } // Focus is captured by the wrapper node, so while focus transition // should only consider tabbables within editable display, since it // may be the wrapper itself or a side control which triggered the // focus event, don't unnecessary transition to an inner tabbable. + + if (wrapper.current.contains(document.activeElement)) { return; } @@ -13023,12 +13789,12 @@ function block_BlockListBlock(_ref) { var isMounting = Object(external_this_wp_element_["useRef"])(true); Object(external_this_wp_element_["useEffect"])(function () { - if (isSelected) { + if (isSelected && !isMultiSelecting) { focusTabbable(!isMounting.current); } isMounting.current = false; - }, [isSelected]); // Focus the first multi selected block + }, [isSelected, isMultiSelecting]); // Focus the first multi selected block Object(external_this_wp_element_["useEffect"])(function () { if (isFirstMultiSelected) { @@ -13056,7 +13822,7 @@ function block_BlockListBlock(_ref) { */ var onFocus = function onFocus() { - if (!isSelected && !isPartOfMultiSelection) { + if (!isSelected && !isParentOfSelectedBlock && !isPartOfMultiSelection) { onSelect(); } }; @@ -13101,7 +13867,7 @@ function block_BlockListBlock(_ref) { case external_this_wp_keycodes_["ESCAPE"]: if (isSelected && isEditMode) { - enableNavigationMode(); + setNavigationMode(true); wrapper.current.focus(); } @@ -13115,33 +13881,48 @@ function block_BlockListBlock(_ref) { */ - var onPointerDown = function onPointerDown(event) { + var onMouseDown = function onMouseDown(event) { // Not the main button. // https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button if (event.button !== 0) { return; } + if (isNavigationMode && isSelected && isInsideRootBlock(blockNodeRef.current, event.target)) { + setNavigationMode(false); + } + if (event.shiftKey) { if (!isSelected) { onShiftSelection(); event.preventDefault(); - } // Avoid triggering multi-selection if we click toolbars/inspectors - // and all elements that are outside the Block Edit DOM tree. - - } else if (blockNodeRef.current.contains(event.target)) { - onSelectionStart(clientId); // Allow user to escape out of a multi-selection to a singular + } // Allow user to escape out of a multi-selection to a singular // selection of a block via click. This is handled here since // onFocus excludes blocks involved in a multiselection, as // focus can be incurred by starting a multiselection (focus // moved to first block's multi-controls). - if (isPartOfMultiSelection) { - onSelect(); - } + } else if (isPartOfMultiSelection) { + onSelect(); } }; + var onMouseLeave = function onMouseLeave(_ref2) { + var which = _ref2.which, + buttons = _ref2.buttons; + + // The primary button must be pressed to initiate selection. Fall back + // to `which` if the standard `buttons` property is falsy. There are + // cases where Firefox might always set `buttons` to `0`. + // See https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons + // See https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/which + if (isSelected && (buttons || which) === 1) { + onSelectionStart(clientId); + } + + hideHoverEffects(); + }; + var selectOnOpen = function selectOnOpen(open) { if (open && !isSelected) { onSelect(); @@ -13164,19 +13945,20 @@ function block_BlockListBlock(_ref) { var shouldAppearHovered = !isFocusMode && !hasFixedToolbar && isHovered && !isEmptyDefaultBlock; // We render block movers and block settings to keep them tabbale even if hidden var shouldRenderMovers = !isNavigationMode && isSelected && !showEmptyBlockSideInserter && !isPartOfMultiSelection && !isTypingWithinBlock; - var shouldShowBreadcrumb = isSelected && isNavigationMode || !isNavigationMode && !isFocusMode && isHovered && !isEmptyDefaultBlock; - var shouldShowContextualToolbar = !isNavigationMode && !hasFixedToolbar && !showEmptyBlockSideInserter && (isSelected && (!isTypingWithinBlock || isCaretWithinFormattedText) || isFirstMultiSelected); - var shouldShowMobileToolbar = !isNavigationMode && shouldAppearSelected; // Insertion point can only be made visible if the block is at the + var shouldShowBreadcrumb = isNavigationMode && isSelected; + var shouldShowContextualToolbar = !isNavigationMode && !hasFixedToolbar && isLargeViewport && !showEmptyBlockSideInserter && !isMultiSelecting && (isSelected && (!isTypingWithinBlock || isCaretWithinFormattedText) || isFirstMultiSelected); // Insertion point can only be made visible if the block is at the // the extent of a multi-selection, or not in a multi-selection. - var shouldShowInsertionPoint = isPartOfMultiSelection && isFirstMultiSelected || !isPartOfMultiSelection; // The wp-block className is important for editor styles. + var shouldShowInsertionPoint = !isMultiSelecting && (isPartOfMultiSelection && isFirstMultiSelected || !isPartOfMultiSelection); + var shouldRenderDropzone = shouldShowInsertionPoint; + var isDragging = isDraggingBlocks && (isSelected || isPartOfMultiSelection); // The wp-block className is important for editor styles. // Generate the wrapper class names handling the different states of the block. var wrapperClassName = classnames_default()('wp-block editor-block-list__block block-editor-block-list__block', { 'has-warning': !isValid || !!hasError || isUnregisteredBlock, 'is-selected': shouldAppearSelected, 'is-navigate-mode': isNavigationMode, - 'is-multi-selected': isPartOfMultiSelection, + 'is-multi-selected': isMultiSelected, 'is-hovered': shouldAppearHovered, 'is-reusable': Object(external_this_wp_blocks_["isReusableBlock"])(blockType), 'is-dragging': isDragging, @@ -13190,7 +13972,12 @@ function block_BlockListBlock(_ref) { wrapperProps = Object(objectSpread["a" /* default */])({}, wrapperProps, blockType.getEditWrapperProps(attributes)); } - var blockElementId = "block-".concat(clientId); // We wrap the BlockEdit component in a div that hides it when editing in + var blockElementId = "block-".concat(clientId); + var blockMover = Object(external_this_wp_element_["createElement"])(block_mover, { + clientIds: clientId, + isHidden: !isSelected, + __experimentalOrientation: moverDirection + }); // We wrap the BlockEdit component in a div that hides it when editing in // HTML mode. This allows us to render all of the ancillary pieces // (InspectorControls, etc.) which are inside `BlockEdit` but not // `BlockHTML`, even in HTML mode. @@ -13234,24 +14021,20 @@ function block_BlockListBlock(_ref) { tagName: web_cjs["animated"].div }, wrapperProps, { style: wrapperProps && wrapperProps.style ? Object(objectSpread["a" /* default */])({}, wrapperProps.style, animationStyle) : animationStyle - }), shouldShowInsertionPoint && Object(external_this_wp_element_["createElement"])(insertion_point, { + }), shouldShowInsertionPoint && Object(external_this_wp_element_["createElement"])(BlockInsertionPoint, { clientId: clientId, rootClientId: rootClientId - }), Object(external_this_wp_element_["createElement"])(block_drop_zone, { + }), shouldRenderDropzone && Object(external_this_wp_element_["createElement"])(block_drop_zone, { clientId: clientId, rootClientId: rootClientId - }), isFirstMultiSelected && Object(external_this_wp_element_["createElement"])(multi_controls, { - rootClientId: rootClientId }), Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-list__block-edit block-editor-block-list__block-edit" - }, shouldRenderMovers && Object(external_this_wp_element_["createElement"])(block_mover, { - clientIds: clientId, - blockElementId: blockElementId, - isHidden: !isSelected, - isDraggable: isDraggable !== false && !isPartOfMultiSelection && isMovable, - onDragStart: onDragStart, - onDragEnd: onDragEnd - }), shouldShowBreadcrumb && Object(external_this_wp_element_["createElement"])(block_list_breadcrumb, { + className: classnames_default()('editor-block-list__block-edit block-editor-block-list__block-edit', { + 'has-mover-inside': moverDirection === 'horizontal' + }) + }, isFirstMultiSelected && Object(external_this_wp_element_["createElement"])(multi_controls, { + rootClientId: rootClientId, + moverDirection: moverDirection + }), shouldRenderMovers && moverDirection === 'vertical' && blockMover, shouldShowBreadcrumb && Object(external_this_wp_element_["createElement"])(block_list_breadcrumb, { clientId: clientId, ref: breadcrumb }), (shouldShowContextualToolbar || isForcingContextualToolbar.current) && Object(external_this_wp_element_["createElement"])(block_contextual_toolbar // If the toolbar is being shown because of being forced @@ -13267,20 +14050,19 @@ function block_BlockListBlock(_ref) { }), Object(external_this_wp_element_["createElement"])(ignore_nested_events, { ref: blockNodeRef, onDragStart: preventDrag, - onMouseDown: onPointerDown, + onMouseDown: onMouseDown, + onMouseLeave: onMouseLeave, "data-block": clientId }, Object(external_this_wp_element_["createElement"])(block_crash_boundary, { onError: onBlockError }, isValid && blockEdit, isValid && mode === 'html' && Object(external_this_wp_element_["createElement"])(block_html, { clientId: clientId - }), !isValid && [Object(external_this_wp_element_["createElement"])(block_invalid_warning, { + }), shouldRenderMovers && moverDirection === 'horizontal' && blockMover, !isValid && [Object(external_this_wp_element_["createElement"])(block_invalid_warning, { key: "invalid-warning", clientId: clientId }), Object(external_this_wp_element_["createElement"])("div", { key: "invalid-preview" - }, Object(external_this_wp_blocks_["getSaveElement"])(blockType, attributes))]), !!hasError && Object(external_this_wp_element_["createElement"])(block_crash_warning, null), shouldShowMobileToolbar && Object(external_this_wp_element_["createElement"])(block_mobile_toolbar, { - clientId: clientId - }))), showInserterShortcuts && Object(external_this_wp_element_["createElement"])("div", { + }, Object(external_this_wp_blocks_["getSaveElement"])(blockType, attributes))]), !!hasError && Object(external_this_wp_element_["createElement"])(block_crash_warning, null))), showInserterShortcuts && Object(external_this_wp_element_["createElement"])("div", { className: "editor-block-list__side-inserter block-editor-block-list__side-inserter" }, Object(external_this_wp_element_["createElement"])(inserter_with_shortcuts, { clientId: clientId, @@ -13296,10 +14078,10 @@ function block_BlockListBlock(_ref) { }))); } -var applyWithSelect = Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { - var clientId = _ref2.clientId, - rootClientId = _ref2.rootClientId, - isLargeViewport = _ref2.isLargeViewport; +var applyWithSelect = Object(external_this_wp_data_["withSelect"])(function (select, _ref3) { + var clientId = _ref3.clientId, + rootClientId = _ref3.rootClientId, + isLargeViewport = _ref3.isLargeViewport; var _select = select('core/block-editor'), isBlockSelected = _select.isBlockSelected, @@ -13335,12 +14117,13 @@ var applyWithSelect = Object(external_this_wp_data_["withSelect"])(function (sel // This function should never be called when a block is not present in the state. // It happens now because the order in withSelect rendering is not correct. - var _ref3 = block || {}, - name = _ref3.name, - attributes = _ref3.attributes, - isValid = _ref3.isValid; + var _ref4 = block || {}, + name = _ref4.name, + attributes = _ref4.attributes, + isValid = _ref4.isValid; return { + isMultiSelected: isBlockMultiSelected(clientId), isPartOfMultiSelection: isBlockMultiSelected(clientId) || isAncestorMultiSelected(clientId), isFirstMultiSelected: isFirstMultiSelectedBlock(clientId), // We only care about this prop when the block is selected @@ -13354,7 +14137,6 @@ var applyWithSelect = Object(external_this_wp_data_["withSelect"])(function (sel name: name, attributes: attributes }), - isMovable: 'all' !== templateLock, isLocked: !!templateLock, isFocusMode: focusMode && isLargeViewport, hasFixedToolbar: hasFixedToolbar && isLargeViewport, @@ -13372,8 +14154,8 @@ var applyWithSelect = Object(external_this_wp_data_["withSelect"])(function (sel isParentOfSelectedBlock: isParentOfSelectedBlock }; }); -var applyWithDispatch = Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, _ref4) { - var select = _ref4.select; +var applyWithDispatch = Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, _ref5) { + var select = _ref5.select; var _dispatch = dispatch('core/block-editor'), updateBlockAttributes = _dispatch.updateBlockAttributes, @@ -13470,22 +14252,20 @@ var applyWithDispatch = Object(external_this_wp_data_["withDispatch"])(function toggleSelection: function toggleSelection(selectionEnabled) { _toggleSelection(selectionEnabled); }, - enableNavigationMode: function enableNavigationMode() { - setNavigationMode(true); - } + setNavigationMode: setNavigationMode }; }); /* harmony default export */ var block_list_block = (Object(external_this_wp_compose_["compose"])(external_this_wp_compose_["pure"], Object(external_this_wp_viewport_["withViewportMatch"])({ isLargeViewport: 'medium' }), applyWithSelect, applyWithDispatch, // block is sometimes not mounted at the right time, causing it be undefined // see issue for more info https://github.com/WordPress/gutenberg/issues/17013 -Object(external_this_wp_compose_["ifCondition"])(function (_ref5) { - var block = _ref5.block; +Object(external_this_wp_compose_["ifCondition"])(function (_ref6) { + var block = _ref6.block; return !!block; }), Object(external_this_wp_components_["withFilters"])('editor.BlockListBlock'))(block_BlockListBlock)); // EXTERNAL MODULE: external {"this":["wp","htmlEntities"]} -var external_this_wp_htmlEntities_ = __webpack_require__(51); +var external_this_wp_htmlEntities_ = __webpack_require__(53); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/default-block-appender/index.js @@ -13689,27 +14469,210 @@ function BlockListAppender(_ref) { }; })(BlockListAppender)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/index.js - - - - - - - - - - +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list-footer/index.js /** - * External dependencies + * WordPress dependencies */ +var block_list_footer_createSlotFill = Object(external_this_wp_components_["createSlotFill"])('__experimentalBlockListFooter'), + __experimentalBlockListFooter = block_list_footer_createSlotFill.Fill, + block_list_footer_Slot = block_list_footer_createSlotFill.Slot; + +__experimentalBlockListFooter.Slot = block_list_footer_Slot; +/* harmony default export */ var block_list_footer = (__experimentalBlockListFooter); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-multi-selection.js + + /** * WordPress dependencies */ +/** + * Returns for the deepest node at the start or end of a container node. Ignores + * any text nodes that only contain HTML formatting whitespace. + * + * @param {Element} node Container to search. + * @param {string} type 'start' or 'end'. + */ + +function getDeepestNode(node, type) { + var child = type === 'start' ? 'firstChild' : 'lastChild'; + var sibling = type === 'start' ? 'nextSibling' : 'previousSibling'; + + while (node[child]) { + node = node[child]; + + while (node.nodeType === node.TEXT_NODE && /^[ \t\n]*$/.test(node.data) && node[sibling]) { + node = node[sibling]; + } + } + + return node; +} + +function useMultiSelection(_ref) { + var ref = _ref.ref, + rootClientId = _ref.rootClientId; + + function selector(select) { + var _select = select('core/block-editor'), + getBlockOrder = _select.getBlockOrder, + isSelectionEnabled = _select.isSelectionEnabled, + isMultiSelecting = _select.isMultiSelecting, + getMultiSelectedBlockClientIds = _select.getMultiSelectedBlockClientIds, + hasMultiSelection = _select.hasMultiSelection, + getBlockParents = _select.getBlockParents; + + return { + blockClientIds: getBlockOrder(rootClientId), + isSelectionEnabled: isSelectionEnabled(), + isMultiSelecting: isMultiSelecting(), + multiSelectedBlockClientIds: getMultiSelectedBlockClientIds(), + hasMultiSelection: hasMultiSelection(), + getBlockParents: getBlockParents + }; + } + + var _useSelect = Object(external_this_wp_data_["useSelect"])(selector), + blockClientIds = _useSelect.blockClientIds, + isSelectionEnabled = _useSelect.isSelectionEnabled, + isMultiSelecting = _useSelect.isMultiSelecting, + multiSelectedBlockClientIds = _useSelect.multiSelectedBlockClientIds, + hasMultiSelection = _useSelect.hasMultiSelection, + getBlockParents = _useSelect.getBlockParents; + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + startMultiSelect = _useDispatch.startMultiSelect, + stopMultiSelect = _useDispatch.stopMultiSelect, + multiSelect = _useDispatch.multiSelect, + selectBlock = _useDispatch.selectBlock; + + var rafId = Object(external_this_wp_element_["useRef"])(); + var startClientId = Object(external_this_wp_element_["useRef"])(); + /** + * When the component updates, and there is multi selection, we need to + * select the entire block contents. + */ + + Object(external_this_wp_element_["useEffect"])(function () { + if (!hasMultiSelection || isMultiSelecting) { + return; + } + + var length = multiSelectedBlockClientIds.length; // These must be in the right DOM order. + + var start = multiSelectedBlockClientIds[0]; + var end = multiSelectedBlockClientIds[length - 1]; + var startIndex = blockClientIds.indexOf(start); // The selected block is not in this block list. + + if (startIndex === -1) { + return; + } + + var startNode = ref.current.querySelector("[data-block=\"".concat(start, "\"]")); + var endNode = ref.current.querySelector("[data-block=\"".concat(end, "\"]")); + var selection = window.getSelection(); + var range = document.createRange(); // The most stable way to select the whole block contents is to start + // and end at the deepest points. + + startNode = getDeepestNode(startNode, 'start'); + endNode = getDeepestNode(endNode, 'end'); + range.setStartBefore(startNode); + range.setEndAfter(endNode); + selection.removeAllRanges(); + selection.addRange(range); + }, [hasMultiSelection, isMultiSelecting, multiSelectedBlockClientIds, blockClientIds, selectBlock]); + var onSelectionChange = Object(external_this_wp_element_["useCallback"])(function () { + var selection = window.getSelection(); // If no selection is found, end multi selection. + + if (!selection.rangeCount || selection.isCollapsed) { + return; + } + + var focusNode = selection.focusNode; + var clientId; // Find the client ID of the block where the selection ends. + + do { + focusNode = focusNode.parentElement; + } while (focusNode && !(clientId = focusNode.getAttribute('data-block'))); + + if (startClientId.current === clientId) { + selectBlock(clientId); + } else { + var startPath = [].concat(Object(toConsumableArray["a" /* default */])(getBlockParents(startClientId.current)), [startClientId.current]); + var endPath = [].concat(Object(toConsumableArray["a" /* default */])(getBlockParents(clientId)), [clientId]); + var depth = Math.min(startPath.length, endPath.length) - 1; + multiSelect(startPath[depth], endPath[depth]); + } + }, [selectBlock, getBlockParents, multiSelect]); + /** + * Handles a mouseup event to end the current mouse multi-selection. + */ + + var onSelectionEnd = Object(external_this_wp_element_["useCallback"])(function () { + document.removeEventListener('selectionchange', onSelectionChange); // Equivalent to attaching the listener once. + + window.removeEventListener('mouseup', onSelectionEnd); // The browser selection won't have updated yet at this point, so wait + // until the next animation frame to get the browser selection. + + rafId.current = window.requestAnimationFrame(function () { + onSelectionChange(); + stopMultiSelect(); + }); + }, [onSelectionChange, stopMultiSelect]); // Only clean up when unmounting, these are added and cleaned up elsewhere. + + Object(external_this_wp_element_["useEffect"])(function () { + return function () { + document.removeEventListener('selectionchange', onSelectionChange); + window.removeEventListener('mouseup', onSelectionEnd); + window.cancelAnimationFrame(rafId.current); + }; + }, [onSelectionChange, onSelectionEnd]); + /** + * Binds event handlers to the document for tracking a pending multi-select + * in response to a mousedown event occurring in a rendered block. + */ + + return Object(external_this_wp_element_["useCallback"])(function (clientId) { + if (!isSelectionEnabled) { + return; + } + + startClientId.current = clientId; + startMultiSelect(); // `onSelectionStart` is called after `mousedown` and `mouseleave` + // (from a block). The selection ends when `mouseup` happens anywhere + // in the window. + + document.addEventListener('selectionchange', onSelectionChange); + window.addEventListener('mouseup', onSelectionEnd); // Removing the contenteditable attributes within the block editor is + // essential for selection to work across editable areas. The edible + // hosts are removed, allowing selection to be extended outside the + // DOM element. `startMultiSelect` sets a flag in the store so the rich + // text components are updated, but the rerender may happen very slowly, + // especially in Safari for the blocks that are asynchonously rendered. + // To ensure the browser instantly removes the selection boundaries, we + // remove the contenteditable attributes manually. + + Array.from(ref.current.querySelectorAll('.rich-text')).forEach(function (node) { + return node.removeAttribute('contenteditable'); + }); + }, [isSelectionEnabled, startMultiSelect, onSelectionEnd]); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + /** @@ -13720,6 +14683,7 @@ function BlockListAppender(_ref) { + /** * If the block count exceeds the threshold, we disable the reordering animation * to avoid laginess. @@ -13729,266 +14693,85 @@ var BLOCK_ANIMATION_THRESHOLD = 200; var block_list_forceSyncUpdates = function forceSyncUpdates(WrappedComponent) { return function (props) { - return Object(external_this_wp_element_["createElement"])(external_this_wp_data_["__experimentalAsyncModeProvider"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_data_["AsyncModeProvider"], { value: false }, Object(external_this_wp_element_["createElement"])(WrappedComponent, props)); }; }; -var block_list_BlockList = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(BlockList, _Component); +function BlockList(_ref) { + var className = _ref.className, + rootClientId = _ref.rootClientId, + _ref$__experimentalMo = _ref.__experimentalMoverDirection, + moverDirection = _ref$__experimentalMo === void 0 ? 'vertical' : _ref$__experimentalMo, + isDraggable = _ref.isDraggable, + renderAppender = _ref.renderAppender; - function BlockList(props) { - var _this; + function selector(select) { + var _select = select('core/block-editor'), + getBlockOrder = _select.getBlockOrder, + isMultiSelecting = _select.isMultiSelecting, + getSelectedBlockClientId = _select.getSelectedBlockClientId, + getMultiSelectedBlockClientIds = _select.getMultiSelectedBlockClientIds, + hasMultiSelection = _select.hasMultiSelection, + getGlobalBlockCount = _select.getGlobalBlockCount, + isTyping = _select.isTyping; - Object(classCallCheck["a" /* default */])(this, BlockList); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(BlockList).call(this, props)); - _this.onSelectionStart = _this.onSelectionStart.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onSelectionEnd = _this.onSelectionEnd.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.setBlockRef = _this.setBlockRef.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.setLastClientY = _this.setLastClientY.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onPointerMove = Object(external_this_lodash_["throttle"])(_this.onPointerMove.bind(Object(assertThisInitialized["a" /* default */])(_this)), 100); // Browser does not fire `*move` event when the pointer position changes - // relative to the document, so fire it with the last known position. - - _this.onScroll = function () { - return _this.onPointerMove({ - clientY: _this.lastClientY - }); + return { + blockClientIds: getBlockOrder(rootClientId), + isMultiSelecting: isMultiSelecting(), + selectedBlockClientId: getSelectedBlockClientId(), + multiSelectedBlockClientIds: getMultiSelectedBlockClientIds(), + hasMultiSelection: hasMultiSelection(), + enableAnimation: !isTyping() && getGlobalBlockCount() <= BLOCK_ANIMATION_THRESHOLD }; - - _this.lastClientY = 0; - _this.nodes = {}; - return _this; } - Object(createClass["a" /* default */])(BlockList, [{ - key: "componentDidMount", - value: function componentDidMount() { - window.addEventListener('mousemove', this.setLastClientY); - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - window.removeEventListener('mousemove', this.setLastClientY); - } - }, { - key: "setLastClientY", - value: function setLastClientY(_ref) { - var clientY = _ref.clientY; - this.lastClientY = clientY; - } - }, { - key: "setBlockRef", - value: function setBlockRef(node, clientId) { - if (node === null) { - delete this.nodes[clientId]; - } else { - this.nodes = Object(objectSpread["a" /* default */])({}, this.nodes, Object(defineProperty["a" /* default */])({}, clientId, node)); - } - } - /** - * Handles a pointer move event to update the extent of the current cursor - * multi-selection. - * - * @param {MouseEvent} event A mousemove event object. - */ + var _useSelect = Object(external_this_wp_data_["useSelect"])(selector), + blockClientIds = _useSelect.blockClientIds, + isMultiSelecting = _useSelect.isMultiSelecting, + selectedBlockClientId = _useSelect.selectedBlockClientId, + multiSelectedBlockClientIds = _useSelect.multiSelectedBlockClientIds, + hasMultiSelection = _useSelect.hasMultiSelection, + enableAnimation = _useSelect.enableAnimation; - }, { - key: "onPointerMove", - value: function onPointerMove(_ref2) { - var clientY = _ref2.clientY; - - // We don't start multi-selection until the mouse starts moving, so as - // to avoid dispatching multi-selection actions on an in-place click. - if (!this.props.isMultiSelecting) { - this.props.onStartMultiSelect(); - } - - var blockContentBoundaries = getBlockDOMNode(this.selectionAtStart).getBoundingClientRect(); // prevent multi-selection from triggering when the selected block is a float - // and the cursor is still between the top and the bottom of the block. - - if (clientY >= blockContentBoundaries.top && clientY <= blockContentBoundaries.bottom) { - return; - } - - var y = clientY - blockContentBoundaries.top; - var key = Object(external_this_lodash_["findLast"])(this.coordMapKeys, function (coordY) { - return coordY < y; - }); - this.onSelectionChange(this.coordMap[key]); - } - /** - * Binds event handlers to the document for tracking a pending multi-select - * in response to a mousedown event occurring in a rendered block. - * - * @param {string} clientId Client ID of block where mousedown occurred. - */ - - }, { - key: "onSelectionStart", - value: function onSelectionStart(clientId) { - if (!this.props.isSelectionEnabled) { - return; - } - - var boundaries = this.nodes[clientId].getBoundingClientRect(); // Create a clientId to Y coördinate map. - - var clientIdToCoordMap = Object(external_this_lodash_["mapValues"])(this.nodes, function (node) { - return node.getBoundingClientRect().top - boundaries.top; - }); // Cache a Y coördinate to clientId map for use in `onPointerMove`. - - this.coordMap = Object(external_this_lodash_["invert"])(clientIdToCoordMap); // Cache an array of the Y coördinates for use in `onPointerMove`. - // Sort the coördinates, as `this.nodes` will not necessarily reflect - // the current block sequence. - - this.coordMapKeys = Object(external_this_lodash_["sortBy"])(Object.values(clientIdToCoordMap)); - this.selectionAtStart = clientId; - window.addEventListener('mousemove', this.onPointerMove); // Capture scroll on all elements. - - window.addEventListener('scroll', this.onScroll, true); - window.addEventListener('mouseup', this.onSelectionEnd); - } - /** - * Handles multi-selection changes in response to pointer move. - * - * @param {string} clientId Client ID of block under cursor in multi-select - * drag. - */ - - }, { - key: "onSelectionChange", - value: function onSelectionChange(clientId) { - var _this$props = this.props, - onMultiSelect = _this$props.onMultiSelect, - selectionStart = _this$props.selectionStart, - selectionEnd = _this$props.selectionEnd; - var selectionAtStart = this.selectionAtStart; - var isAtStart = selectionAtStart === clientId; - - if (!selectionAtStart || !this.props.isSelectionEnabled) { - return; - } // If multi-selecting and cursor extent returns to the start of - // selection, cancel multi-select. - - - if (isAtStart && selectionStart) { - onMultiSelect(null, null); - } // Expand multi-selection to block under cursor. - - - if (!isAtStart && selectionEnd !== clientId) { - onMultiSelect(selectionAtStart, clientId); - } - } - /** - * Handles a mouseup event to end the current cursor multi-selection. - */ - - }, { - key: "onSelectionEnd", - value: function onSelectionEnd() { - // Cancel throttled calls. - this.onPointerMove.cancel(); - delete this.coordMap; - delete this.coordMapKeys; - delete this.selectionAtStart; - window.removeEventListener('mousemove', this.onPointerMove); - window.removeEventListener('scroll', this.onScroll, true); - window.removeEventListener('mouseup', this.onSelectionEnd); // We may or may not be in a multi-selection when mouseup occurs (e.g. - // an in-place mouse click), so only trigger stop if multi-selecting. - - if (this.props.isMultiSelecting) { - this.props.onStopMultiSelect(); - } - } - }, { - key: "render", - value: function render() { - var _this2 = this; - - var _this$props2 = this.props, - className = _this$props2.className, - blockClientIds = _this$props2.blockClientIds, - rootClientId = _this$props2.rootClientId, - isDraggable = _this$props2.isDraggable, - selectedBlockClientId = _this$props2.selectedBlockClientId, - multiSelectedBlockClientIds = _this$props2.multiSelectedBlockClientIds, - hasMultiSelection = _this$props2.hasMultiSelection, - renderAppender = _this$props2.renderAppender, - enableAnimation = _this$props2.enableAnimation; - return Object(external_this_wp_element_["createElement"])("div", { - className: classnames_default()('editor-block-list__layout block-editor-block-list__layout', className) - }, blockClientIds.map(function (clientId, index) { - var isBlockInSelection = hasMultiSelection ? multiSelectedBlockClientIds.includes(clientId) : selectedBlockClientId === clientId; - return Object(external_this_wp_element_["createElement"])(block_async_mode_provider, { - key: 'block-' + clientId, - clientId: clientId, - isBlockInSelection: isBlockInSelection - }, Object(external_this_wp_element_["createElement"])(block_list_block, { - rootClientId: rootClientId, - clientId: clientId, - blockRef: _this2.setBlockRef, - onSelectionStart: _this2.onSelectionStart, - isDraggable: isDraggable // This prop is explicitely computed and passed down - // to avoid being impacted by the async mode - // otherwise there might be a small delay to trigger the animation. - , - animateOnChange: index, - enableAnimation: enableAnimation - })); - }), Object(external_this_wp_element_["createElement"])(block_list_appender, { - rootClientId: rootClientId, - renderAppender: renderAppender - })); - } - }]); - - return BlockList; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var block_list = (Object(external_this_wp_compose_["compose"])([// This component needs to always be synchronous + var ref = Object(external_this_wp_element_["useRef"])(); + var onSelectionStart = useMultiSelection({ + ref: ref, + rootClientId: rootClientId + }); + return Object(external_this_wp_element_["createElement"])("div", { + ref: ref, + className: classnames_default()('editor-block-list__layout block-editor-block-list__layout', className) + }, blockClientIds.map(function (clientId, index) { + var isBlockInSelection = hasMultiSelection ? multiSelectedBlockClientIds.includes(clientId) : selectedBlockClientId === clientId; + return Object(external_this_wp_element_["createElement"])(block_async_mode_provider, { + key: 'block-' + clientId, + clientId: clientId, + isBlockInSelection: isBlockInSelection + }, Object(external_this_wp_element_["createElement"])(block_list_block, { + rootClientId: rootClientId, + clientId: clientId, + onSelectionStart: onSelectionStart, + isDraggable: isDraggable, + moverDirection: moverDirection, + isMultiSelecting: isMultiSelecting // This prop is explicitely computed and passed down + // to avoid being impacted by the async mode + // otherwise there might be a small delay to trigger the animation. + , + animateOnChange: index, + enableAnimation: enableAnimation + })); + }), Object(external_this_wp_element_["createElement"])(block_list_appender, { + rootClientId: rootClientId, + renderAppender: renderAppender + }), Object(external_this_wp_element_["createElement"])(block_list_footer.Slot, null)); +} // This component needs to always be synchronous // as it's the one changing the async mode // depending on the block selection. -block_list_forceSyncUpdates, Object(external_this_wp_data_["withSelect"])(function (select, ownProps) { - var _select = select('core/block-editor'), - getBlockOrder = _select.getBlockOrder, - isSelectionEnabled = _select.isSelectionEnabled, - isMultiSelecting = _select.isMultiSelecting, - getMultiSelectedBlocksStartClientId = _select.getMultiSelectedBlocksStartClientId, - getMultiSelectedBlocksEndClientId = _select.getMultiSelectedBlocksEndClientId, - getSelectedBlockClientId = _select.getSelectedBlockClientId, - getMultiSelectedBlockClientIds = _select.getMultiSelectedBlockClientIds, - hasMultiSelection = _select.hasMultiSelection, - getGlobalBlockCount = _select.getGlobalBlockCount, - isTyping = _select.isTyping; - var rootClientId = ownProps.rootClientId; - return { - blockClientIds: getBlockOrder(rootClientId), - selectionStart: getMultiSelectedBlocksStartClientId(), - selectionEnd: getMultiSelectedBlocksEndClientId(), - isSelectionEnabled: isSelectionEnabled(), - isMultiSelecting: isMultiSelecting(), - selectedBlockClientId: getSelectedBlockClientId(), - multiSelectedBlockClientIds: getMultiSelectedBlockClientIds(), - hasMultiSelection: hasMultiSelection(), - enableAnimation: !isTyping() && getGlobalBlockCount() <= BLOCK_ANIMATION_THRESHOLD - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch) { - var _dispatch = dispatch('core/block-editor'), - startMultiSelect = _dispatch.startMultiSelect, - stopMultiSelect = _dispatch.stopMultiSelect, - multiSelect = _dispatch.multiSelect; - return { - onStartMultiSelect: startMultiSelect, - onStopMultiSelect: stopMultiSelect, - onMultiSelect: multiSelect - }; -})])(block_list_BlockList)); +/* harmony default export */ var block_list = (block_list_forceSyncUpdates(BlockList)); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-preview/index.js @@ -14152,7 +14935,7 @@ function BlockPreview(_ref2) { * * @param {Array|Object} blocks A block instance (object) or an array of blocks to be previewed. * @param {number} viewportWidth Width of the preview container in pixels. Controls at what size the blocks will be rendered inside the preview. Default: 700. - * @return {WPElement} Rendered element. + * @return {WPComponent} The component to be rendered. */ /* harmony default export */ var block_preview = (Object(external_this_wp_data_["withSelect"])(function (select) { @@ -14170,6 +14953,11 @@ function BlockPreview(_ref2) { * External dependencies */ +/** + * WordPress dependencies + */ + + /** * Internal dependencies */ @@ -14190,7 +14978,7 @@ function InserterListItem(_ref) { } : {}; return Object(external_this_wp_element_["createElement"])("li", { className: "editor-block-types-list__list-item block-editor-block-types-list__list-item" - }, Object(external_this_wp_element_["createElement"])("button", Object(esm_extends["a" /* default */])({ + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], Object(esm_extends["a" /* default */])({ className: classnames_default()('editor-block-types-list__item block-editor-block-types-list__item', className), onClick: function onClick(event) { event.preventDefault(); @@ -14394,6 +15182,7 @@ __experimentalInserterMenuExtension.Slot = inserter_menu_extension_Slot; + /** * Internal dependencies */ @@ -14486,8 +15275,10 @@ function (_Component) { Object(createClass["a" /* default */])(InserterMenu, [{ key: "componentDidMount", value: function componentDidMount() { - // This could be replaced by a resolver. - this.props.fetchReusableBlocks(); + if (this.props.fetchReusableBlocks) { + this.props.fetchReusableBlocks(); + } + this.filter(); } }, { @@ -14787,7 +15578,9 @@ function (_Component) { className: "block-editor-inserter__menu-help-panel-no-block-text" }, Object(external_this_wp_element_["createElement"])("div", { className: "block-editor-inserter__menu-help-panel-title" - }, Object(external_this_wp_i18n_["__"])('Content Blocks')), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('Welcome to the wonderful world of blocks! Blocks are the basis of all content within the editor.')), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('There are blocks available for all kinds of content: insert text, headings, images, lists, videos, tables, and lots more.')), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('Browse through the library to learn more about what each block does.'))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Tip"], null, Object(external_this_wp_i18n_["__"])('While writing, you can press "/" to quickly insert new blocks.'))))); + }, Object(external_this_wp_i18n_["__"])('Content Blocks')), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('Welcome to the wonderful world of blocks! Blocks are the basis of all content within the editor.')), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('There are blocks available for all kinds of content: insert text, headings, images, lists, videos, tables, and lots more.')), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('Browse through the library to learn more about what each block does.'))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Tip"], null, Object(external_this_wp_element_["__experimentalCreateInterpolateElement"])(Object(external_this_wp_i18n_["__"])('While writing, you can press / to quickly insert new blocks.'), { + kbd: Object(external_this_wp_element_["createElement"])("kbd", null) + }))))); /* eslint-enable jsx-a11y/no-autofocus, jsx-a11y/no-static-element-interactions */ } }]); @@ -14821,22 +15614,24 @@ function (_Component) { } var destinationRootBlockName = getBlockName(destinationRootClientId); + + var _getSettings = getSettings(), + showInserterHelpPanelSetting = _getSettings.showInserterHelpPanel, + fetchReusableBlocks = _getSettings.__experimentalFetchReusableBlocks; + return { rootChildBlocks: getChildBlockNames(destinationRootBlockName), items: getInserterItems(destinationRootClientId), - showInserterHelpPanel: showInserterHelpPanel && getSettings().showInserterHelpPanel, - destinationRootClientId: destinationRootClientId + showInserterHelpPanel: showInserterHelpPanel && showInserterHelpPanelSetting, + destinationRootClientId: destinationRootClientId, + fetchReusableBlocks: fetchReusableBlocks }; }), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, _ref3) { var select = _ref3.select; var _dispatch = dispatch('core/block-editor'), _showInsertionPoint = _dispatch.showInsertionPoint, - hideInsertionPoint = _dispatch.hideInsertionPoint; // This should be an external action provided in the editor settings. - - - var _dispatch2 = dispatch('core/editor'), - fetchReusableBlocks = _dispatch2.__experimentalFetchReusableBlocks; // To avoid duplication, getInsertionIndex is extracted and used in two event handlers + hideInsertionPoint = _dispatch.hideInsertionPoint; // To avoid duplication, getInsertionIndex is extracted and used in two event handlers // This breaks the withDispatch not containing any logic rule. // Since it's a function only called when the event handlers are called, // it's fine to extract it. @@ -14869,7 +15664,6 @@ function (_Component) { } return { - fetchReusableBlocks: fetchReusableBlocks, showInsertionPoint: function showInsertionPoint() { var index = getInsertionIndex(); @@ -14877,15 +15671,18 @@ function (_Component) { }, hideInsertionPoint: hideInsertionPoint, onSelect: function onSelect(item) { - var _dispatch3 = dispatch('core/block-editor'), - replaceBlocks = _dispatch3.replaceBlocks, - insertBlock = _dispatch3.insertBlock; + var _dispatch2 = dispatch('core/block-editor'), + replaceBlocks = _dispatch2.replaceBlocks, + insertBlock = _dispatch2.insertBlock; var _select4 = select('core/block-editor'), getSelectedBlock = _select4.getSelectedBlock; - var isAppender = ownProps.isAppender; + var isAppender = ownProps.isAppender, + onSelect = ownProps.onSelect, + selectBlockOnInsert = ownProps.__experimentalSelectBlockOnInsert; var name = item.name, + title = item.title, initialAttributes = item.initialAttributes; var selectedBlock = getSelectedBlock(); var insertedBlock = Object(external_this_wp_blocks_["createBlock"])(name, initialAttributes); @@ -14893,10 +15690,16 @@ function (_Component) { if (!isAppender && selectedBlock && Object(external_this_wp_blocks_["isUnmodifiedDefaultBlock"])(selectedBlock)) { replaceBlocks(selectedBlock.clientId, insertedBlock); } else { - insertBlock(insertedBlock, getInsertionIndex(), ownProps.destinationRootClientId); + insertBlock(insertedBlock, getInsertionIndex(), ownProps.destinationRootClientId, selectBlockOnInsert); + + if (!selectBlockOnInsert) { + // translators: %s: the name of the block that has been added + var message = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('%s block added'), title); + Object(external_this_wp_a11y_["speak"])(message); + } } - ownProps.onSelect(); + onSelect(); return insertedBlock; } }; @@ -14911,6 +15714,10 @@ function (_Component) { +/** + * External dependencies + */ + /** * WordPress dependencies */ @@ -14919,6 +15726,9 @@ function (_Component) { + + + /** * Internal dependencies */ @@ -14928,15 +15738,30 @@ function (_Component) { var inserter_defaultRenderToggle = function defaultRenderToggle(_ref) { var onToggle = _ref.onToggle, disabled = _ref.disabled, - isOpen = _ref.isOpen; + isOpen = _ref.isOpen, + blockTitle = _ref.blockTitle, + hasSingleBlockType = _ref.hasSingleBlockType; + var label; + + if (hasSingleBlockType) { + // translators: %s: the name of the block when there is only one + label = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_x"])('Add %s', 'directly add the only allowed block'), blockTitle); + } else { + label = Object(external_this_wp_i18n_["_x"])('Add block', 'Generic label for block inserter button'); + } + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { icon: "insert", - label: Object(external_this_wp_i18n_["__"])('Add block'), + label: label, labelPosition: "bottom", + onMouseDown: function onMouseDown(event) { + event.preventDefault(); + event.currentTarget.focus(); + }, onClick: onToggle, className: "editor-inserter__toggle block-editor-inserter__toggle", - "aria-haspopup": "true", - "aria-expanded": isOpen, + "aria-haspopup": !hasSingleBlockType ? 'true' : false, + "aria-expanded": !hasSingleBlockType ? isOpen : false, disabled: disabled }); }; @@ -14985,12 +15810,16 @@ function (_Component) { isOpen = _ref2.isOpen; var _this$props = this.props, disabled = _this$props.disabled, + blockTitle = _this$props.blockTitle, + hasSingleBlockType = _this$props.hasSingleBlockType, _this$props$renderTog = _this$props.renderToggle, renderToggle = _this$props$renderTog === void 0 ? inserter_defaultRenderToggle : _this$props$renderTog; return renderToggle({ onToggle: onToggle, isOpen: isOpen, - disabled: disabled + disabled: disabled, + blockTitle: blockTitle, + hasSingleBlockType: hasSingleBlockType }); } /** @@ -15011,19 +15840,31 @@ function (_Component) { rootClientId = _this$props2.rootClientId, clientId = _this$props2.clientId, isAppender = _this$props2.isAppender, - showInserterHelpPanel = _this$props2.showInserterHelpPanel; + showInserterHelpPanel = _this$props2.showInserterHelpPanel, + selectBlockOnInsert = _this$props2.__experimentalSelectBlockOnInsert; return Object(external_this_wp_element_["createElement"])(menu, { onSelect: onClose, rootClientId: rootClientId, clientId: clientId, isAppender: isAppender, - showInserterHelpPanel: showInserterHelpPanel + showInserterHelpPanel: showInserterHelpPanel, + __experimentalSelectBlockOnInsert: selectBlockOnInsert }); } }, { key: "render", value: function render() { - var position = this.props.position; + var _this$props3 = this.props, + position = _this$props3.position, + hasSingleBlockType = _this$props3.hasSingleBlockType, + insertOnlyAllowedBlock = _this$props3.insertOnlyAllowedBlock; + + if (hasSingleBlockType) { + return this.renderToggle({ + onToggle: insertOnlyAllowedBlock + }); + } + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], { className: "editor-inserter block-editor-inserter", contentClassName: "editor-inserter__popover block-editor-inserter__popover", @@ -15044,13 +15885,76 @@ function (_Component) { var rootClientId = _ref4.rootClientId; var _select = select('core/block-editor'), - hasInserterItems = _select.hasInserterItems; + hasInserterItems = _select.hasInserterItems, + __experimentalGetAllowedBlocks = _select.__experimentalGetAllowedBlocks; + + var allowedBlocks = __experimentalGetAllowedBlocks(rootClientId); + + var hasSingleBlockType = allowedBlocks && Object(external_this_lodash_["get"])(allowedBlocks, ['length'], 0) === 1; + var allowedBlockType = false; + + if (hasSingleBlockType) { + allowedBlockType = allowedBlocks[0]; + } return { - hasItems: hasInserterItems(rootClientId) + hasItems: hasInserterItems(rootClientId), + hasSingleBlockType: hasSingleBlockType, + blockTitle: allowedBlockType ? allowedBlockType.title : '', + allowedBlockType: allowedBlockType }; -}), Object(external_this_wp_compose_["ifCondition"])(function (_ref5) { - var hasItems = _ref5.hasItems; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, _ref5) { + var select = _ref5.select; + return { + insertOnlyAllowedBlock: function insertOnlyAllowedBlock() { + var rootClientId = ownProps.rootClientId, + clientId = ownProps.clientId, + isAppender = ownProps.isAppender; + var hasSingleBlockType = ownProps.hasSingleBlockType, + allowedBlockType = ownProps.allowedBlockType, + selectBlockOnInsert = ownProps.__experimentalSelectBlockOnInsert; + + if (!hasSingleBlockType) { + return; + } + + function getInsertionIndex() { + var _select2 = select('core/block-editor'), + getBlockIndex = _select2.getBlockIndex, + getBlockSelectionEnd = _select2.getBlockSelectionEnd, + getBlockOrder = _select2.getBlockOrder; // If the clientId is defined, we insert at the position of the block. + + + if (clientId) { + return getBlockIndex(clientId, rootClientId); + } // If there a selected block, we insert after the selected block. + + + var end = getBlockSelectionEnd(); + + if (!isAppender && end) { + return getBlockIndex(end, rootClientId) + 1; + } // Otherwise, we insert at the end of the current rootClientId + + + return getBlockOrder(rootClientId).length; + } + + var _dispatch = dispatch('core/block-editor'), + insertBlock = _dispatch.insertBlock; + + var blockToInsert = Object(external_this_wp_blocks_["createBlock"])(allowedBlockType.name); + insertBlock(blockToInsert, getInsertionIndex(), rootClientId, selectBlockOnInsert); + + if (!selectBlockOnInsert) { + // translators: %s: the name of the block that has been added + var message = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('%s block added'), allowedBlockType.title); + Object(external_this_wp_a11y_["speak"])(message); + } + } + }; +}), Object(external_this_wp_compose_["ifCondition"])(function (_ref6) { + var hasItems = _ref6.hasItems; return hasItems; })])(inserter_Inserter)); @@ -15076,25 +15980,43 @@ function (_Component) { function button_block_appender_ButtonBlockAppender(_ref) { var rootClientId = _ref.rootClientId, - className = _ref.className; + className = _ref.className, + selectBlockOnInsert = _ref.__experimentalSelectBlockOnInsert; return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(block_drop_zone, { rootClientId: rootClientId }), Object(external_this_wp_element_["createElement"])(inserter, { rootClientId: rootClientId, + __experimentalSelectBlockOnInsert: selectBlockOnInsert, renderToggle: function renderToggle(_ref2) { var onToggle = _ref2.onToggle, disabled = _ref2.disabled, - isOpen = _ref2.isOpen; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + isOpen = _ref2.isOpen, + blockTitle = _ref2.blockTitle, + hasSingleBlockType = _ref2.hasSingleBlockType; + var label; + + if (hasSingleBlockType) { + // translators: %s: the name of the block when there is only one + label = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_x"])('Add %s', 'directly add the only allowed block'), blockTitle); + } else { + label = Object(external_this_wp_i18n_["_x"])('Add block', 'Generic label for block inserter button'); + } + + var isToggleButton = !hasSingleBlockType; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Tooltip"], { + text: label + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { className: classnames_default()(className, 'block-editor-button-block-appender'), onClick: onToggle, - "aria-expanded": isOpen, - disabled: disabled + "aria-haspopup": isToggleButton ? 'true' : undefined, + "aria-expanded": isToggleButton ? isOpen : undefined, + disabled: disabled, + label: label }, Object(external_this_wp_element_["createElement"])("span", { className: "screen-reader-text" - }, Object(external_this_wp_i18n_["__"])('Add Block')), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Icon"], { + }, label), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Icon"], { icon: "insert" - })); + }))); }, isAppender: true })); @@ -15106,41 +16028,109 @@ function button_block_appender_ButtonBlockAppender(_ref) { /* harmony default export */ var button_block_appender = (button_block_appender_ButtonBlockAppender); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/color-palette/with-color-context.js +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-navigation/list.js + + /** * External dependencies */ + /** * WordPress dependencies */ -/* harmony default export */ var with_color_context = (Object(external_this_wp_compose_["createHigherOrderComponent"])(Object(external_this_wp_data_["withSelect"])(function (select, ownProps) { - var settings = select('core/block-editor').getSettings(); - var colors = ownProps.colors === undefined ? settings.colors : ownProps.colors; - var disableCustomColors = ownProps.disableCustomColors === undefined ? settings.disableCustomColors : ownProps.disableCustomColors; - return { - colors: colors, - disableCustomColors: disableCustomColors, - hasColorsToChoose: !Object(external_this_lodash_["isEmpty"])(colors) || !disableCustomColors - }; -}), 'withColorContext')); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/color-palette/index.js -/** - * WordPress dependencies - */ /** * Internal dependencies */ -/* harmony default export */ var color_palette = (with_color_context(external_this_wp_components_["ColorPalette"])); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/contrast-checker/index.js +/** + * Get the block display name, if it has one, or the block title if it doesn't. + * + * @param {Object} blockType The block type. + * @param {Object} attributes The values of the block's attributes + * + * @return {string} The display name value. + */ + +function getBlockDisplayName(blockType, attributes) { + var displayNameAttribute = blockType.__experimentalDisplayName; + + if (!displayNameAttribute || !attributes[displayNameAttribute]) { + return blockType.title; + } // Strip any formatting. + + + var richTextValue = Object(external_this_wp_richText_["create"])({ + html: attributes[displayNameAttribute] + }); + var formatlessDisplayName = Object(external_this_wp_richText_["getTextContent"])(richTextValue); + return formatlessDisplayName; +} + +function BlockNavigationList(_ref) { + var blocks = _ref.blocks, + selectedBlockClientId = _ref.selectedBlockClientId, + selectBlock = _ref.selectBlock, + showAppender = _ref.showAppender, + showNestedBlocks = _ref.showNestedBlocks, + parentBlockClientId = _ref.parentBlockClientId; + var shouldShowAppender = showAppender && !!parentBlockClientId; + return ( + /* + * Disable reason: The `list` ARIA role is redundant but + * Safari+VoiceOver won't announce the list otherwise. + */ + + /* eslint-disable jsx-a11y/no-redundant-roles */ + Object(external_this_wp_element_["createElement"])("ul", { + className: "editor-block-navigation__list block-editor-block-navigation__list", + role: "list" + }, Object(external_this_lodash_["map"])(Object(external_this_lodash_["omitBy"])(blocks, external_this_lodash_["isNil"]), function (block) { + var blockType = Object(external_this_wp_blocks_["getBlockType"])(block.name); + var isSelected = block.clientId === selectedBlockClientId; + return Object(external_this_wp_element_["createElement"])("li", { + key: block.clientId + }, Object(external_this_wp_element_["createElement"])("div", { + className: "editor-block-navigation__item block-editor-block-navigation__item" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + className: classnames_default()('editor-block-navigation__item-button block-editor-block-navigation__item-button', { + 'is-selected': isSelected + }), + onClick: function onClick() { + return selectBlock(block.clientId); + } + }, Object(external_this_wp_element_["createElement"])(BlockIcon, { + icon: blockType.icon, + showColors: true + }), getBlockDisplayName(blockType, block.attributes), isSelected && Object(external_this_wp_element_["createElement"])("span", { + className: "screen-reader-text" + }, Object(external_this_wp_i18n_["__"])('(selected block)')))), showNestedBlocks && !!block.innerBlocks && !!block.innerBlocks.length && Object(external_this_wp_element_["createElement"])(BlockNavigationList, { + blocks: block.innerBlocks, + selectedBlockClientId: selectedBlockClientId, + selectBlock: selectBlock, + parentBlockClientId: block.clientId, + showAppender: showAppender, + showNestedBlocks: true + })); + }), shouldShowAppender && Object(external_this_wp_element_["createElement"])("li", null, Object(external_this_wp_element_["createElement"])("div", { + className: "editor-block-navigation__item block-editor-block-navigation__item" + }, Object(external_this_wp_element_["createElement"])(button_block_appender, { + rootClientId: parentBlockClientId, + __experimentalSelectBlockOnInsert: false + })))) + /* eslint-enable jsx-a11y/no-redundant-roles */ + + ); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-navigation/index.js /** @@ -15155,59 +16145,411 @@ function button_block_appender_ButtonBlockAppender(_ref) { +/** + * Internal dependencies + */ -function ContrastCheckerMessage(_ref) { - var tinyBackgroundColor = _ref.tinyBackgroundColor, - tinyTextColor = _ref.tinyTextColor, - backgroundColor = _ref.backgroundColor, - textColor = _ref.textColor; - var msg = tinyBackgroundColor.getBrightness() < tinyTextColor.getBrightness() ? Object(external_this_wp_i18n_["__"])('This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color.') : Object(external_this_wp_i18n_["__"])('This color combination may be hard for people to read. Try using a brighter background color and/or a darker text color.'); - Object(external_this_wp_element_["useEffect"])(function () { - Object(external_this_wp_a11y_["speak"])(Object(external_this_wp_i18n_["__"])('This color combination may be hard for people to read.')); - }, [backgroundColor, textColor]); - return Object(external_this_wp_element_["createElement"])("div", { - className: "editor-contrast-checker block-editor-contrast-checker" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Notice"], { - status: "warning", - isDismissible: false - }, msg)); + + +function BlockNavigation(_ref) { + var rootBlock = _ref.rootBlock, + rootBlocks = _ref.rootBlocks, + selectedBlockClientId = _ref.selectedBlockClientId, + selectBlock = _ref.selectBlock; + + if (!rootBlocks || rootBlocks.length === 0) { + return null; + } + + var hasHierarchy = rootBlock && (rootBlock.clientId !== selectedBlockClientId || rootBlock.innerBlocks && rootBlock.innerBlocks.length !== 0); + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["NavigableMenu"], { + role: "presentation", + className: "editor-block-navigation__container block-editor-block-navigation__container" + }, Object(external_this_wp_element_["createElement"])("p", { + className: "editor-block-navigation__label block-editor-block-navigation__label" + }, Object(external_this_wp_i18n_["__"])('Block navigation')), hasHierarchy && Object(external_this_wp_element_["createElement"])(BlockNavigationList, { + blocks: [rootBlock], + selectedBlockClientId: selectedBlockClientId, + selectBlock: selectBlock, + showNestedBlocks: true + }), !hasHierarchy && Object(external_this_wp_element_["createElement"])(BlockNavigationList, { + blocks: rootBlocks, + selectedBlockClientId: selectedBlockClientId, + selectBlock: selectBlock + })); } -function ContrastChecker(_ref2) { - var backgroundColor = _ref2.backgroundColor, - fallbackBackgroundColor = _ref2.fallbackBackgroundColor, - fallbackTextColor = _ref2.fallbackTextColor, - fontSize = _ref2.fontSize, - isLargeText = _ref2.isLargeText, - textColor = _ref2.textColor; +/* harmony default export */ var block_navigation = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select) { + var _select = select('core/block-editor'), + getSelectedBlockClientId = _select.getSelectedBlockClientId, + getBlockHierarchyRootClientId = _select.getBlockHierarchyRootClientId, + getBlock = _select.getBlock, + getBlocks = _select.getBlocks; - if (!(backgroundColor || fallbackBackgroundColor) || !(textColor || fallbackTextColor)) { - return null; - } + var selectedBlockClientId = getSelectedBlockClientId(); + return { + rootBlocks: getBlocks(), + rootBlock: selectedBlockClientId ? getBlock(getBlockHierarchyRootClientId(selectedBlockClientId)) : null, + selectedBlockClientId: selectedBlockClientId + }; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref2) { + var _ref2$onSelect = _ref2.onSelect, + onSelect = _ref2$onSelect === void 0 ? external_this_lodash_["noop"] : _ref2$onSelect; + return { + selectBlock: function selectBlock(clientId) { + dispatch('core/block-editor').selectBlock(clientId); + onSelect(clientId); + } + }; +}))(BlockNavigation)); - var tinyBackgroundColor = tinycolor_default()(backgroundColor || fallbackBackgroundColor); - var tinyTextColor = tinycolor_default()(textColor || fallbackTextColor); - var hasTransparency = tinyBackgroundColor.getAlpha() !== 1 || tinyTextColor.getAlpha() !== 1; +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-navigation/dropdown.js - if (hasTransparency || tinycolor_default.a.isReadable(tinyBackgroundColor, tinyTextColor, { - level: 'AA', - size: isLargeText || isLargeText !== false && fontSize >= 24 ? 'large' : 'small' - })) { - return null; - } - return Object(external_this_wp_element_["createElement"])(ContrastCheckerMessage, { - backgroundColor: backgroundColor, - textColor: textColor, - tinyBackgroundColor: tinyBackgroundColor, - tinyTextColor: tinyTextColor + +/** + * WordPress dependencies + */ + + + + +/** + * Internal dependencies + */ + + +var MenuIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + width: "20", + height: "20" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z" +})); + +function BlockNavigationDropdown(_ref) { + var hasBlocks = _ref.hasBlocks, + isDisabled = _ref.isDisabled; + var isEnabled = hasBlocks && !isDisabled; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], { + contentClassName: "editor-block-navigation__popover block-editor-block-navigation__popover", + renderToggle: function renderToggle(_ref2) { + var isOpen = _ref2.isOpen, + onToggle = _ref2.onToggle; + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, isEnabled && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["KeyboardShortcuts"], { + bindGlobal: true, + shortcuts: Object(defineProperty["a" /* default */])({}, external_this_wp_keycodes_["rawShortcut"].access('o'), onToggle) + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + icon: MenuIcon, + "aria-expanded": isOpen, + onClick: isEnabled ? onToggle : undefined, + label: Object(external_this_wp_i18n_["__"])('Block navigation'), + className: "editor-block-navigation block-editor-block-navigation", + shortcut: external_this_wp_keycodes_["displayShortcut"].access('o'), + "aria-disabled": !isEnabled + })); + }, + renderContent: function renderContent(_ref4) { + var onClose = _ref4.onClose; + return Object(external_this_wp_element_["createElement"])(block_navigation, { + onSelect: onClose + }); + } }); } -/* harmony default export */ var contrast_checker = (ContrastChecker); +/* harmony default export */ var dropdown = (Object(external_this_wp_data_["withSelect"])(function (select) { + return { + hasBlocks: !!select('core/block-editor').getBlockCount() + }; +})(BlockNavigationDropdown)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-pattern-picker/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + +function BlockPatternPicker(_ref) { + var _ref$icon = _ref.icon, + icon = _ref$icon === void 0 ? 'layout' : _ref$icon, + _ref$label = _ref.label, + label = _ref$label === void 0 ? Object(external_this_wp_i18n_["__"])('Choose pattern') : _ref$label, + _ref$instructions = _ref.instructions, + instructions = _ref$instructions === void 0 ? Object(external_this_wp_i18n_["__"])('Select a pattern to start with.') : _ref$instructions, + patterns = _ref.patterns, + onSelect = _ref.onSelect, + allowSkip = _ref.allowSkip; + var classes = classnames_default()('block-editor-block-pattern-picker', { + 'has-many-patterns': patterns.length > 4 + }); + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], { + icon: icon, + label: label, + instructions: instructions, + className: classes + }, Object(external_this_wp_element_["createElement"])("ul", { + className: "block-editor-block-pattern-picker__patterns", + role: "list" + }, patterns.map(function (pattern) { + return Object(external_this_wp_element_["createElement"])("li", { + key: pattern.name + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + isLarge: true, + icon: pattern.icon, + size: 48, + onClick: function onClick() { + return onSelect(pattern); + }, + className: "block-editor-block-pattern-picker__pattern", + label: pattern.label + })); + })), allowSkip && Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-pattern-picker__skip" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + isLink: true, + onClick: function onClick() { + return onSelect(); + } + }, Object(external_this_wp_i18n_["__"])('Skip')))); +} + +/* harmony default export */ var block_pattern_picker = (BlockPatternPicker); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-toolbar/icons.js + + +/** + * WordPress dependencies + */ + +var alignBottom = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + width: "20", + height: "20", + viewBox: "0 0 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fill: "none", + d: "M0 0h24v24H0V0z" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z" +})); +var alignCenter = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + width: "20", + height: "20", + viewBox: "0 0 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fill: "none", + d: "M0 0h24v24H0V0z" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z" +})); +var alignTop = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + width: "20", + height: "20", + viewBox: "0 0 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fill: "none", + d: "M0 0h24v24H0V0z" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z" +})); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-toolbar/index.js + + + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + +var block_vertical_alignment_toolbar_BLOCK_ALIGNMENTS_CONTROLS = { + top: { + icon: alignTop, + title: Object(external_this_wp_i18n_["_x"])('Vertically Align Top', 'Block vertical alignment setting') + }, + center: { + icon: alignCenter, + title: Object(external_this_wp_i18n_["_x"])('Vertically Align Middle', 'Block vertical alignment setting') + }, + bottom: { + icon: alignBottom, + title: Object(external_this_wp_i18n_["_x"])('Vertically Align Bottom', 'Block vertical alignment setting') + } +}; +var block_vertical_alignment_toolbar_DEFAULT_CONTROLS = ['top', 'center', 'bottom']; +var block_vertical_alignment_toolbar_DEFAULT_CONTROL = 'top'; +function BlockVerticalAlignmentToolbar(_ref) { + var value = _ref.value, + onChange = _ref.onChange, + _ref$controls = _ref.controls, + controls = _ref$controls === void 0 ? block_vertical_alignment_toolbar_DEFAULT_CONTROLS : _ref$controls, + _ref$isCollapsed = _ref.isCollapsed, + isCollapsed = _ref$isCollapsed === void 0 ? true : _ref$isCollapsed; + + function applyOrUnset(align) { + return function () { + return onChange(value === align ? undefined : align); + }; + } + + var activeAlignment = block_vertical_alignment_toolbar_BLOCK_ALIGNMENTS_CONTROLS[value]; + var defaultAlignmentControl = block_vertical_alignment_toolbar_BLOCK_ALIGNMENTS_CONTROLS[block_vertical_alignment_toolbar_DEFAULT_CONTROL]; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], { + isCollapsed: isCollapsed, + icon: activeAlignment ? activeAlignment.icon : defaultAlignmentControl.icon, + label: Object(external_this_wp_i18n_["_x"])('Change vertical alignment', 'Block vertical alignment setting label'), + controls: controls.map(function (control) { + return Object(objectSpread["a" /* default */])({}, block_vertical_alignment_toolbar_BLOCK_ALIGNMENTS_CONTROLS[control], { + isActive: value === control, + onClick: applyOrUnset(control) + }); + }) + }); +} +/** + * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/block-vertical-alignment-toolbar/README.md + */ + +/* harmony default export */ var block_vertical_alignment_toolbar = (BlockVerticalAlignmentToolbar); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/gradient-picker/index.js + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + +function GradientPickerWithGradients(props) { + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + return Object(external_this_lodash_["pick"])(select('core/block-editor').getSettings(), ['gradients', 'disableCustomGradients']); + }), + gradients = _useSelect.gradients, + disableCustomGradients = _useSelect.disableCustomGradients; + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["__experimentalGradientPicker"], Object(esm_extends["a" /* default */])({ + gradients: props.gradients !== undefined ? props.gradient : gradients, + disableCustomGradients: props.disableCustomGradients !== undefined ? props.disableCustomGradients : disableCustomGradients + }, props)); +} + +/* harmony default export */ var gradient_picker = (function (props) { + var ComponentToUse = props.gradients !== undefined && props.disableCustomGradients !== undefined ? external_this_wp_components_["__experimentalGradientPicker"] : GradientPickerWithGradients; + return Object(external_this_wp_element_["createElement"])(ComponentToUse, props); +}); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/gradient-picker/control.js + + + + +/** + * External dependencies + */ + + +/** + * WordPress dependencies + */ + + + + +/** + * Internal dependencies + */ + + +/* harmony default export */ var gradient_picker_control = (function (_ref) { + var className = _ref.className, + value = _ref.value, + onChange = _ref.onChange, + _ref$label = _ref.label, + label = _ref$label === void 0 ? Object(external_this_wp_i18n_["__"])('Gradient Presets') : _ref$label, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["className", "value", "onChange", "label"]); + + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + return Object(external_this_lodash_["pick"])(select('core/block-editor').getSettings(), ['gradients', 'disableCustomGradients']); + }), + _useSelect$gradients = _useSelect.gradients, + gradients = _useSelect$gradients === void 0 ? [] : _useSelect$gradients, + disableCustomGradients = _useSelect.disableCustomGradients; + + if (Object(external_this_lodash_["isEmpty"])(gradients) && disableCustomGradients) { + return null; + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], { + className: classnames_default()('block-editor-gradient-picker-control', className) + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"].VisualLabel, null, label), Object(external_this_wp_element_["createElement"])(gradient_picker, Object(esm_extends["a" /* default */])({ + value: value, + onChange: onChange, + className: "block-editor-gradient-picker-control__gradient-picker-presets", + gradients: gradients, + disableCustomGradients: disableCustomGradients + }, props))); +}); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/gradient-picker/panel.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + +/** + * Internal dependencies + */ + + +function GradientPanel(props) { + var gradients = Object(external_this_wp_data_["useSelect"])(function (select) { + return select('core/block-editor').getSettings().gradients; + }); + + if (Object(external_this_lodash_["isEmpty"])(gradients)) { + return null; + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + title: Object(external_this_wp_i18n_["__"])('Gradient') + }, Object(external_this_wp_element_["createElement"])(gradient_picker_control, props)); +} // EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} -var external_this_wp_isShallowEqual_ = __webpack_require__(41); +var external_this_wp_isShallowEqual_ = __webpack_require__(45); var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/with-client-id.js @@ -15290,60 +16632,6 @@ var inner_blocks_default_block_appender_DefaultBlockAppender = function DefaultB }; })])(inner_blocks_default_block_appender_DefaultBlockAppender)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/template-picker.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - -function InnerBlocksTemplatePicker(_ref) { - var options = _ref.options, - onSelect = _ref.onSelect, - allowSkip = _ref.allowSkip; - var classes = classnames_default()('block-editor-inner-blocks__template-picker', { - 'has-many-options': options.length > 4 - }); - var instructions = allowSkip ? Object(external_this_wp_i18n_["__"])('Select a layout to start with, or make one yourself.') : Object(external_this_wp_i18n_["__"])('Select a layout to start with.'); - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], { - icon: "layout", - label: Object(external_this_wp_i18n_["__"])('Choose Layout'), - instructions: instructions, - className: classes - }, Object(external_this_wp_element_["createElement"])("ul", { - className: "block-editor-inner-blocks__template-picker-options", - role: "list" - }, options.map(function (templateOption, index) { - return Object(external_this_wp_element_["createElement"])("li", { - key: index - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - isLarge: true, - icon: templateOption.icon, - onClick: function onClick() { - return onSelect(templateOption.template); - }, - className: "block-editor-inner-blocks__template-picker-option", - label: templateOption.title - })); - })), allowSkip && Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-inner-blocks__template-picker-skip" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - isLink: true, - onClick: function onClick() { - return onSelect(undefined); - } - }, Object(external_this_wp_i18n_["__"])('Skip')))); -} - -/* harmony default export */ var template_picker = (InnerBlocksTemplatePicker); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/index.js @@ -15361,7 +16649,6 @@ function InnerBlocksTemplatePicker(_ref) { * WordPress dependencies */ - // Temporary click-through disable on desktop. @@ -15381,7 +16668,6 @@ function InnerBlocksTemplatePicker(_ref) { - var inner_blocks_InnerBlocks = /*#__PURE__*/ function (_Component) { @@ -15481,30 +16767,22 @@ function (_Component) { key: "render", value: function render() { var _this$props5 = this.props, - isSmallScreen = _this$props5.isSmallScreen, + enableClickThrough = _this$props5.enableClickThrough, clientId = _this$props5.clientId, hasOverlay = _this$props5.hasOverlay, renderAppender = _this$props5.renderAppender, - template = _this$props5.template, - templateOptions = _this$props5.__experimentalTemplateOptions, - onSelectTemplateOption = _this$props5.__experimentalOnSelectTemplateOption, - allowTemplateOptionSkip = _this$props5.__experimentalAllowTemplateOptionSkip; + moverDirection = _this$props5.__experimentalMoverDirection; var templateInProcess = this.state.templateInProcess; - var isPlaceholder = template === null && !!templateOptions; var classes = classnames_default()('editor-inner-blocks block-editor-inner-blocks', { - 'has-overlay': isSmallScreen && hasOverlay && !isPlaceholder // Temporary click-through disable on desktop. - + 'has-overlay': enableClickThrough && hasOverlay }); return Object(external_this_wp_element_["createElement"])("div", { className: classes - }, !templateInProcess && (isPlaceholder ? Object(external_this_wp_element_["createElement"])(template_picker, { - options: templateOptions, - onSelect: onSelectTemplateOption, - allowSkip: allowTemplateOptionSkip - }) : Object(external_this_wp_element_["createElement"])(block_list, { + }, !templateInProcess && Object(external_this_wp_element_["createElement"])(block_list, { rootClientId: clientId, - renderAppender: renderAppender - }))); + renderAppender: renderAppender, + __experimentalMoverDirection: moverDirection + })); } }]); @@ -15513,8 +16791,7 @@ function (_Component) { inner_blocks_InnerBlocks = Object(external_this_wp_compose_["compose"])([Object(external_this_wp_viewport_["withViewportMatch"])({ isSmallScreen: '< medium' -}), // Temporary click-through disable on desktop. -context_withBlockEditContext(function (context) { +}), context_withBlockEditContext(function (context) { return Object(external_this_lodash_["pick"])(context, ['clientId']); }), Object(external_this_wp_data_["withSelect"])(function (select, ownProps) { var _select = select('core/block-editor'), @@ -15523,16 +16800,19 @@ context_withBlockEditContext(function (context) { getBlock = _select.getBlock, getBlockListSettings = _select.getBlockListSettings, getBlockRootClientId = _select.getBlockRootClientId, - getTemplateLock = _select.getTemplateLock; + getTemplateLock = _select.getTemplateLock, + isNavigationMode = _select.isNavigationMode; - var clientId = ownProps.clientId; + var clientId = ownProps.clientId, + isSmallScreen = ownProps.isSmallScreen; var block = getBlock(clientId); var rootClientId = getBlockRootClientId(clientId); return { block: block, blockListSettings: getBlockListSettings(clientId), hasOverlay: block.name !== 'core/template' && !isBlockSelected(clientId) && !hasSelectedInnerBlock(clientId, true), - parentLock: getTemplateLock(rootClientId) + parentLock: getTemplateLock(rootClientId), + enableClickThrough: isNavigationMode() || isSmallScreen }; }), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps) { var _dispatch = dispatch('core/block-editor'), @@ -15575,37 +16855,464 @@ inner_blocks_InnerBlocks.Content = Object(external_this_wp_blocks_["withBlockCon */ +var inspector_advanced_controls_name = 'InspectorAdvancedControls'; -var inspector_advanced_controls_createSlotFill = Object(external_this_wp_components_["createSlotFill"])('InspectorAdvancedControls'), +var inspector_advanced_controls_createSlotFill = Object(external_this_wp_components_["createSlotFill"])(inspector_advanced_controls_name), inspector_advanced_controls_Fill = inspector_advanced_controls_createSlotFill.Fill, inspector_advanced_controls_Slot = inspector_advanced_controls_createSlotFill.Slot; var InspectorAdvancedControls = ifBlockEditSelected(inspector_advanced_controls_Fill); +InspectorAdvancedControls.slotName = inspector_advanced_controls_name; InspectorAdvancedControls.Slot = inspector_advanced_controls_Slot; /* harmony default export */ var inspector_advanced_controls = (InspectorAdvancedControls); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inspector-controls/index.js +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +var asyncToGenerator = __webpack_require__(43); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/settings-drawer.js + + +/** + * External dependencies + */ + /** * WordPress dependencies */ + + +var defaultSettings = [{ + id: 'newTab', + title: Object(external_this_wp_i18n_["__"])('Open in New Tab'), + checked: false +}]; + +var settings_drawer_LinkControlSettingsDrawer = function LinkControlSettingsDrawer(_ref) { + var _ref$settings = _ref.settings, + settings = _ref$settings === void 0 ? defaultSettings : _ref$settings, + _ref$onSettingChange = _ref.onSettingChange, + onSettingChange = _ref$onSettingChange === void 0 ? external_this_lodash_["noop"] : _ref$onSettingChange; + + if (!settings || !settings.length) { + return null; + } + + var handleSettingChange = function handleSettingChange(setting) { + return function (value) { + onSettingChange(setting.id, value, settings); + }; + }; + + var theSettings = settings.map(function (setting) { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { + className: "block-editor-link-control__setting", + key: setting.id, + label: setting.title, + onChange: handleSettingChange(setting), + checked: setting.checked + }); + }); + return Object(external_this_wp_element_["createElement"])("fieldset", { + className: "block-editor-link-control__settings" + }, Object(external_this_wp_element_["createElement"])("legend", { + className: "screen-reader-text" + }, Object(external_this_wp_i18n_["__"])('Currently selected link settings')), theSettings); +}; + +/* harmony default export */ var settings_drawer = (settings_drawer_LinkControlSettingsDrawer); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/search-item.js + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + +var search_item_LinkControlSearchItem = function LinkControlSearchItem(_ref) { + var itemProps = _ref.itemProps, + suggestion = _ref.suggestion, + _ref$isSelected = _ref.isSelected, + isSelected = _ref$isSelected === void 0 ? false : _ref$isSelected, + onClick = _ref.onClick, + _ref$isURL = _ref.isURL, + isURL = _ref$isURL === void 0 ? false : _ref$isURL, + _ref$searchTerm = _ref.searchTerm, + searchTerm = _ref$searchTerm === void 0 ? '' : _ref$searchTerm; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], Object(esm_extends["a" /* default */])({ + type: "submit" + }, itemProps, { + onClick: onClick, + className: classnames_default()('block-editor-link-control__search-item', { + 'is-selected': isSelected, + 'is-url': isURL, + 'is-entity': !isURL + }) + }), isURL && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Icon"], { + className: "block-editor-link-control__search-item-icon", + icon: "admin-site-alt3" + }), Object(external_this_wp_element_["createElement"])("span", { + className: "block-editor-link-control__search-item-header" + }, Object(external_this_wp_element_["createElement"])("span", { + className: "block-editor-link-control__search-item-title" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextHighlight"], { + text: suggestion.title, + highlight: searchTerm + })), Object(external_this_wp_element_["createElement"])("span", { + "aria-hidden": !isURL, + className: "block-editor-link-control__search-item-info" + }, !isURL && (Object(external_this_wp_url_["safeDecodeURI"])(suggestion.url) || ''), isURL && Object(external_this_wp_i18n_["__"])('Press ENTER to add this link'))), suggestion.type && Object(external_this_wp_element_["createElement"])("span", { + className: "block-editor-link-control__search-item-type" + }, suggestion.type)); +}; +/* harmony default export */ var search_item = (search_item_LinkControlSearchItem); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/search-input.js + + +/** + * WordPress dependencies + */ + + + /** * Internal dependencies */ -var inspector_controls_createSlotFill = Object(external_this_wp_components_["createSlotFill"])('InspectorControls'), - inspector_controls_Fill = inspector_controls_createSlotFill.Fill, - inspector_controls_Slot = inspector_controls_createSlotFill.Slot; +var search_input_LinkControlSearchInput = function LinkControlSearchInput(_ref) { + var value = _ref.value, + onChange = _ref.onChange, + onSelect = _ref.onSelect, + renderSuggestions = _ref.renderSuggestions, + fetchSuggestions = _ref.fetchSuggestions, + onReset = _ref.onReset, + _onKeyDown = _ref.onKeyDown, + onKeyPress = _ref.onKeyPress; + + var selectItemHandler = function selectItemHandler(selection, suggestion) { + onChange(selection); + + if (suggestion) { + onSelect(suggestion); + } + }; + + var stopFormEventsPropagation = function stopFormEventsPropagation(event) { + event.preventDefault(); + event.stopPropagation(); + }; + + return Object(external_this_wp_element_["createElement"])("form", { + onSubmit: stopFormEventsPropagation + }, Object(external_this_wp_element_["createElement"])(url_input, { + className: "block-editor-link-control__search-input", + value: value, + onChange: selectItemHandler, + onKeyDown: function onKeyDown(event) { + if (event.keyCode === external_this_wp_keycodes_["ENTER"]) { + return; + } + + _onKeyDown(event); + }, + onKeyPress: onKeyPress, + placeholder: Object(external_this_wp_i18n_["__"])('Search or type url'), + __experimentalRenderSuggestions: renderSuggestions, + __experimentalFetchLinkSuggestions: fetchSuggestions, + __experimentalHandleURLSuggestions: true + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + disabled: !value.length, + type: "reset", + label: Object(external_this_wp_i18n_["__"])('Reset'), + icon: "no-alt", + className: "block-editor-link-control__search-reset", + onClick: onReset + })); +}; + +/* harmony default export */ var search_input = (search_input_LinkControlSearchInput); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/index.js + + + + + -var InspectorControls = ifBlockEditSelected(inspector_controls_Fill); -InspectorControls.Slot = inspector_controls_Slot; /** - * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/inspector-controls/README.md + * External dependencies */ -/* harmony default export */ var inspector_controls = (InspectorControls); + +/** + * WordPress dependencies + */ + + + + + + + +/** + * Internal dependencies + */ + + + + +var MODE_EDIT = 'edit'; // const MODE_SHOW = 'show'; + +function LinkControl(_ref) { + var className = _ref.className, + currentLink = _ref.currentLink, + currentSettings = _ref.currentSettings, + fetchSearchSuggestions = _ref.fetchSearchSuggestions, + instanceId = _ref.instanceId, + _ref$onClose = _ref.onClose, + onClose = _ref$onClose === void 0 ? external_this_lodash_["noop"] : _ref$onClose, + _ref$onChangeMode = _ref.onChangeMode, + onChangeMode = _ref$onChangeMode === void 0 ? external_this_lodash_["noop"] : _ref$onChangeMode, + _ref$onKeyDown = _ref.onKeyDown, + onKeyDown = _ref$onKeyDown === void 0 ? external_this_lodash_["noop"] : _ref$onKeyDown, + _ref$onKeyPress = _ref.onKeyPress, + onKeyPress = _ref$onKeyPress === void 0 ? external_this_lodash_["noop"] : _ref$onKeyPress, + _ref$onLinkChange = _ref.onLinkChange, + onLinkChange = _ref$onLinkChange === void 0 ? external_this_lodash_["noop"] : _ref$onLinkChange, + _ref$onSettingsChange = _ref.onSettingsChange, + onSettingsChange = _ref$onSettingsChange === void 0 ? external_this_lodash_["noop"] : _ref$onSettingsChange; + + // State + var _useState = Object(external_this_wp_element_["useState"])(''), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + inputValue = _useState2[0], + setInputValue = _useState2[1]; + + var _useState3 = Object(external_this_wp_element_["useState"])(false), + _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2), + isEditingLink = _useState4[0], + setIsEditingLink = _useState4[1]; // Effects + + + Object(external_this_wp_element_["useEffect"])(function () { + // If we have a link then stop editing mode + if (currentLink) { + setIsEditingLink(false); + } else { + setIsEditingLink(true); + } + }, [currentLink]); // Handlers + + /** + * onChange LinkControlSearchInput event handler + * + * @param {string} value Current value returned by the search. + */ + + var onInputChange = function onInputChange() { + var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; + setInputValue(value); + }; // Utils + + /** + * Handler function which switches the mode of the component, + * between `edit` and `show` mode. + * Also, it calls `onChangeMode` callback function. + * + * @param {string} mode Component mode: `show` or `edit`. + */ + + + var setMode = function setMode() { + var mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'show'; + return function () { + setIsEditingLink(MODE_EDIT === mode); // Populate input searcher whether + // the current link has a title. + + if (currentLink && currentLink.title) { + setInputValue(currentLink.title); + } + + if (Object(external_this_lodash_["isFunction"])(onChangeMode)) { + onChangeMode(mode); + } + }; + }; + + var closeLinkUI = function closeLinkUI() { + resetInput(); + onClose(); + }; + + var resetInput = function resetInput() { + setInputValue(''); + }; + + var handleDirectEntry = function handleDirectEntry(value) { + var type = 'URL'; + var protocol = Object(external_this_wp_url_["getProtocol"])(value) || ''; + + if (protocol.includes('mailto')) { + type = 'mailto'; + } + + if (protocol.includes('tel')) { + type = 'tel'; + } + + if (Object(external_this_lodash_["startsWith"])(value, '#')) { + type = 'internal'; + } + + return Promise.resolve([{ + id: '-1', + title: value, + url: type === 'URL' ? Object(external_this_wp_url_["prependHTTP"])(value) : value, + type: type + }]); + }; + + var handleEntitySearch = + /*#__PURE__*/ + function () { + var _ref2 = Object(asyncToGenerator["a" /* default */])( + /*#__PURE__*/ + external_this_regeneratorRuntime_default.a.mark(function _callee(value) { + var results, couldBeURL; + return external_this_regeneratorRuntime_default.a.wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return Promise.all([fetchSearchSuggestions(value), handleDirectEntry(value)]); + + case 2: + results = _context.sent; + couldBeURL = !value.includes(' '); // If it's potentially a URL search then concat on a URL search suggestion + // just for good measure. That way once the actual results run out we always + // have a URL option to fallback on. + + return _context.abrupt("return", couldBeURL ? results[0].concat(results[1]) : results[0]); + + case 5: + case "end": + return _context.stop(); + } + } + }, _callee); + })); + + return function handleEntitySearch(_x) { + return _ref2.apply(this, arguments); + }; + }(); // Effects + + + var getSearchHandler = Object(external_this_wp_element_["useCallback"])(function (value) { + var protocol = Object(external_this_wp_url_["getProtocol"])(value) || ''; + var isMailto = protocol.includes('mailto'); + var isInternal = Object(external_this_lodash_["startsWith"])(value, '#'); + var isTel = protocol.includes('tel'); + var handleManualEntry = isInternal || isMailto || isTel || Object(external_this_wp_url_["isURL"])(value) || value && value.includes('www.'); + return handleManualEntry ? handleDirectEntry(value) : handleEntitySearch(value); + }, [handleDirectEntry, fetchSearchSuggestions]); // Render Components + + var renderSearchResults = function renderSearchResults(_ref3) { + var suggestionsListProps = _ref3.suggestionsListProps, + buildSuggestionItemProps = _ref3.buildSuggestionItemProps, + suggestions = _ref3.suggestions, + selectedSuggestion = _ref3.selectedSuggestion, + isLoading = _ref3.isLoading; + var resultsListClasses = classnames_default()('block-editor-link-control__search-results', { + 'is-loading': isLoading + }); + var manualLinkEntryTypes = ['url', 'mailto', 'tel', 'internal']; + return Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-link-control__search-results-wrapper" + }, Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, suggestionsListProps, { + className: resultsListClasses + }), suggestions.map(function (suggestion, index) { + return Object(external_this_wp_element_["createElement"])(search_item, { + key: "".concat(suggestion.id, "-").concat(suggestion.type), + itemProps: buildSuggestionItemProps(suggestion, index), + suggestion: suggestion, + onClick: function onClick() { + return onLinkChange(suggestion); + }, + isSelected: index === selectedSuggestion, + isURL: manualLinkEntryTypes.includes(suggestion.type.toLowerCase()), + searchTerm: inputValue + }); + }))); + }; + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { + className: classnames_default()('block-editor-link-control', className), + onClose: closeLinkUI, + position: "bottom center", + focusOnMount: "firstElement" + }, Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-link-control__popover-inner" + }, Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-link-control__search" + }, !isEditingLink && currentLink && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("p", { + className: "screen-reader-text", + id: "current-link-label-".concat(instanceId) + }, Object(external_this_wp_i18n_["__"])('Currently selected'), ":"), Object(external_this_wp_element_["createElement"])("div", { + "aria-labelledby": "current-link-label-".concat(instanceId), + "aria-selected": "true", + className: classnames_default()('block-editor-link-control__search-item', { + 'is-current': true + }) + }, Object(external_this_wp_element_["createElement"])("span", { + className: "block-editor-link-control__search-item-header" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], { + className: "block-editor-link-control__search-item-title", + href: currentLink.url + }, currentLink.title), Object(external_this_wp_element_["createElement"])("span", { + className: "block-editor-link-control__search-item-info" + }, Object(external_this_wp_url_["filterURLForDisplay"])(Object(external_this_wp_url_["safeDecodeURI"])(currentLink.url)) || '')), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + isDefault: true, + onClick: setMode(MODE_EDIT), + className: "block-editor-link-control__search-item-action block-editor-link-control__search-item-action--edit" + }, Object(external_this_wp_i18n_["__"])('Change')))), isEditingLink && Object(external_this_wp_element_["createElement"])(search_input, { + value: inputValue, + onChange: onInputChange, + onSelect: onLinkChange, + renderSuggestions: renderSearchResults, + fetchSuggestions: getSearchHandler, + onReset: resetInput, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress + }), !isEditingLink && Object(external_this_wp_element_["createElement"])(settings_drawer, { + settings: currentSettings, + onSettingChange: onSettingsChange + })))); +} + +/* harmony default export */ var link_control = (Object(external_this_wp_compose_["compose"])(external_this_wp_compose_["withInstanceId"], Object(external_this_wp_data_["withSelect"])(function (select, ownProps) { + if (ownProps.fetchSearchSuggestions && Object(external_this_lodash_["isFunction"])(ownProps.fetchSearchSuggestions)) { + return; + } + + var _select = select('core/block-editor'), + getSettings = _select.getSettings; + + return { + fetchSearchSuggestions: getSettings().__experimentalFetchLinkSuggestions + }; +}))(LinkControl)); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-upload/index.js /** @@ -15617,7 +17324,7 @@ InspectorControls.Slot = inspector_controls_Slot; * an integration with the core blocks that handle media files. By default it renders nothing but * it provides a way to have it overridden with the `editor.MediaUpload` filter. * - * @return {WPElement} Media upload element. + * @return {WPComponent} The component to be rendered. */ var MediaUpload = function MediaUpload() { @@ -15630,61 +17337,30 @@ var MediaUpload = function MediaUpload() { /* harmony default export */ var media_upload = (Object(external_this_wp_components_["withFilters"])('editor.MediaUpload')(MediaUpload)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/link-viewer.js - - - - -/** - * External dependencies - */ - +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-upload/check.js /** * WordPress dependencies */ - - - - -function LinkViewerUrl(_ref) { - var url = _ref.url, - urlLabel = _ref.urlLabel, - className = _ref.className; - var linkClassName = classnames_default()(className, 'block-editor-url-popover__link-viewer-url'); - - if (!url) { - return Object(external_this_wp_element_["createElement"])("span", { - className: linkClassName - }); - } - - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], { - className: linkClassName, - href: url - }, urlLabel || Object(external_this_wp_url_["filterURLForDisplay"])(Object(external_this_wp_url_["safeDecodeURI"])(url))); +function MediaUploadCheck(_ref) { + var hasUploadPermissions = _ref.hasUploadPermissions, + _ref$fallback = _ref.fallback, + fallback = _ref$fallback === void 0 ? null : _ref$fallback, + children = _ref.children; + return hasUploadPermissions ? children : fallback; } +/** + * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/media-upload/README.md + */ -function LinkViewer(_ref2) { - var className = _ref2.className, - linkClassName = _ref2.linkClassName, - onEditLinkClick = _ref2.onEditLinkClick, - url = _ref2.url, - urlLabel = _ref2.urlLabel, - props = Object(objectWithoutProperties["a" /* default */])(_ref2, ["className", "linkClassName", "onEditLinkClick", "url", "urlLabel"]); +/* harmony default export */ var check = (Object(external_this_wp_data_["withSelect"])(function (select) { + var _select = select('core/block-editor'), + getSettings = _select.getSettings; - return Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({ - className: classnames_default()('block-editor-url-popover__link-viewer', className) - }, props), Object(external_this_wp_element_["createElement"])(LinkViewerUrl, { - url: url, - urlLabel: urlLabel, - className: linkClassName - }), onEditLinkClick && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - icon: "edit", - label: Object(external_this_wp_i18n_["__"])('Edit'), - onClick: onEditLinkClick - })); -} + return { + hasUploadPermissions: !!getSettings().mediaUpload + }; +})(MediaUploadCheck)); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-input/index.js @@ -15695,6 +17371,7 @@ function LinkViewer(_ref2) { + /** * External dependencies */ @@ -15710,6 +17387,7 @@ function LinkViewer(_ref2) { + // Since URLInput is rendered in the context of other inputs, but should be // considered a separate modal node, prevent keyboard events from propagating // as being considered from the input. @@ -15723,17 +17401,18 @@ var url_input_URLInput = function (_Component) { Object(inherits["a" /* default */])(URLInput, _Component); - function URLInput(_ref) { + function URLInput(props) { var _this; - var autocompleteRef = _ref.autocompleteRef; - Object(classCallCheck["a" /* default */])(this, URLInput); - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(URLInput).apply(this, arguments)); + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(URLInput).call(this, props)); _this.onChange = _this.onChange.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onKeyDown = _this.onKeyDown.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.autocompleteRef = autocompleteRef || Object(external_this_wp_element_["createRef"])(); + _this.selectLink = _this.selectLink.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.handleOnClick = _this.handleOnClick.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.bindSuggestionNode = _this.bindSuggestionNode.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.autocompleteRef = props.autocompleteRef || Object(external_this_wp_element_["createRef"])(); _this.inputRef = Object(external_this_wp_element_["createRef"])(); _this.updateSuggestions = Object(external_this_lodash_["throttle"])(_this.updateSuggestions.bind(Object(assertThisInitialized["a" /* default */])(_this)), 200); _this.suggestionNodes = []; @@ -15784,7 +17463,9 @@ function (_Component) { value: function updateSuggestions(value) { var _this4 = this; - var fetchLinkSuggestions = this.props.fetchLinkSuggestions; + var _this$props = this.props, + fetchLinkSuggestions = _this$props.__experimentalFetchLinkSuggestions, + handleURLSuggestions = _this$props.__experimentalHandleURLSuggestions; if (!fetchLinkSuggestions) { return; @@ -15792,7 +17473,7 @@ function (_Component) { // and also for URLs - if (value.length < 2 || /^https?:/.test(value)) { + if (value.length < 2 || !handleURLSuggestions && Object(external_this_wp_url_["isURL"])(value)) { this.setState({ showSuggestions: false, selectedSuggestion: null, @@ -15851,7 +17532,7 @@ function (_Component) { loading = _this$state2.loading; // If the suggestions are not shown or loading, we shouldn't handle the arrow keys // We shouldn't preventDefault to allow block arrow keys navigation - if (!showSuggestions || !suggestions.length || loading) { + if ((!showSuggestions || !suggestions.length || loading) && this.props.value) { // In the Windows version of Firefox the up and down arrows don't move the caret // within an input field like they do for Mac Firefox/Chrome/Safari. This causes // a form of focus trapping that is disruptive to the user experience. This disruption @@ -15958,32 +17639,53 @@ function (_Component) { value: function render() { var _this5 = this; - var _this$props = this.props, - _this$props$value = _this$props.value, - value = _this$props$value === void 0 ? '' : _this$props$value, - _this$props$autoFocus = _this$props.autoFocus, - autoFocus = _this$props$autoFocus === void 0 ? true : _this$props$autoFocus, - instanceId = _this$props.instanceId, - className = _this$props.className, - id = _this$props.id, - isFullWidth = _this$props.isFullWidth, - hasBorder = _this$props.hasBorder; + var _this$props2 = this.props, + label = _this$props2.label, + instanceId = _this$props2.instanceId, + className = _this$props2.className, + isFullWidth = _this$props2.isFullWidth, + hasBorder = _this$props2.hasBorder, + renderSuggestions = _this$props2.__experimentalRenderSuggestions, + _this$props2$placehol = _this$props2.placeholder, + placeholder = _this$props2$placehol === void 0 ? Object(external_this_wp_i18n_["__"])('Paste URL or type to search') : _this$props2$placehol, + _this$props2$value = _this$props2.value, + value = _this$props2$value === void 0 ? '' : _this$props2$value, + _this$props2$autoFocu = _this$props2.autoFocus, + autoFocus = _this$props2$autoFocu === void 0 ? true : _this$props2$autoFocu; var _this$state3 = this.state, showSuggestions = _this$state3.showSuggestions, suggestions = _this$state3.suggestions, selectedSuggestion = _this$state3.selectedSuggestion, loading = _this$state3.loading; + var id = "url-input-control-".concat(instanceId); var suggestionsListboxId = "block-editor-url-input-suggestions-".concat(instanceId); var suggestionOptionIdPrefix = "block-editor-url-input-suggestion-".concat(instanceId); + var suggestionsListProps = { + id: suggestionsListboxId, + ref: this.autocompleteRef, + role: 'listbox' + }; + + var buildSuggestionItemProps = function buildSuggestionItemProps(suggestion, index) { + return { + role: 'option', + tabIndex: '-1', + id: "".concat(suggestionOptionIdPrefix, "-").concat(index), + ref: _this5.bindSuggestionNode(index), + 'aria-selected': index === selectedSuggestion + }; + }; /* eslint-disable jsx-a11y/no-autofocus */ - return Object(external_this_wp_element_["createElement"])("div", { + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], { + label: label, + id: id, className: classnames_default()('editor-url-input block-editor-url-input', className, { 'is-full-width': isFullWidth, 'has-border': hasBorder }) }, Object(external_this_wp_element_["createElement"])("input", { - id: id, autoFocus: autoFocus, type: "text", "aria-label": Object(external_this_wp_i18n_["__"])('URL'), @@ -15991,7 +17693,7 @@ function (_Component) { value: value, onChange: this.onChange, onInput: stopEventPropagation, - placeholder: Object(external_this_wp_i18n_["__"])('Paste URL or type to search'), + placeholder: placeholder, onKeyDown: this.onKeyDown, role: "combobox", "aria-expanded": showSuggestions, @@ -15999,40 +17701,53 @@ function (_Component) { "aria-owns": suggestionsListboxId, "aria-activedescendant": selectedSuggestion !== null ? "".concat(suggestionOptionIdPrefix, "-").concat(selectedSuggestion) : undefined, ref: this.inputRef - }), loading && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null), showSuggestions && !!suggestions.length && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { + }), loading && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null), Object(external_this_lodash_["isFunction"])(renderSuggestions) && showSuggestions && !!suggestions.length && renderSuggestions({ + suggestions: suggestions, + selectedSuggestion: selectedSuggestion, + suggestionsListProps: suggestionsListProps, + buildSuggestionItemProps: buildSuggestionItemProps, + isLoading: loading, + handleSuggestionClick: this.handleOnClick + }), !Object(external_this_lodash_["isFunction"])(renderSuggestions) && showSuggestions && !!suggestions.length && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { position: "bottom", noArrow: true, focusOnMount: false - }, Object(external_this_wp_element_["createElement"])("div", { - className: classnames_default()('editor-url-input__suggestions', 'block-editor-url-input__suggestions', "".concat(className, "__suggestions")), - id: suggestionsListboxId, - ref: this.autocompleteRef, - role: "listbox" - }, suggestions.map(function (suggestion, index) { - return Object(external_this_wp_element_["createElement"])("button", { + }, Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, suggestionsListProps, { + className: classnames_default()('editor-url-input__suggestions', 'block-editor-url-input__suggestions', "".concat(className, "__suggestions")) + }), suggestions.map(function (suggestion, index) { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], Object(esm_extends["a" /* default */])({}, buildSuggestionItemProps(suggestion, index), { key: suggestion.id, - role: "option", - tabIndex: "-1", - id: "".concat(suggestionOptionIdPrefix, "-").concat(index), - ref: _this5.bindSuggestionNode(index), className: classnames_default()('editor-url-input__suggestion block-editor-url-input__suggestion', { 'is-selected': index === selectedSuggestion }), onClick: function onClick() { return _this5.handleOnClick(suggestion); - }, - "aria-selected": index === selectedSuggestion - }, suggestion.title); + } + }), suggestion.title); })))); /* eslint-enable jsx-a11y/no-autofocus */ } }], [{ key: "getDerivedStateFromProps", - value: function getDerivedStateFromProps(_ref2, _ref3) { - var disableSuggestions = _ref2.disableSuggestions; - var showSuggestions = _ref3.showSuggestions; + value: function getDerivedStateFromProps(_ref, _ref2) { + var value = _ref.value, + disableSuggestions = _ref.disableSuggestions; + var showSuggestions = _ref2.showSuggestions, + selectedSuggestion = _ref2.selectedSuggestion; + var shouldShowSuggestions = showSuggestions; + var hasValue = value && value.length; + + if (!hasValue) { + shouldShowSuggestions = false; + } + + if (disableSuggestions === true) { + shouldShowSuggestions = false; + } + return { - showSuggestions: disableSuggestions === true ? false : showSuggestions + selectedSuggestion: hasValue ? selectedSuggestion : null, + showSuggestions: shouldShowSuggestions }; } }]); @@ -16044,12 +17759,18 @@ function (_Component) { */ -/* harmony default export */ var url_input = (Object(external_this_wp_compose_["compose"])(external_this_wp_compose_["withSafeTimeout"], external_this_wp_components_["withSpokenMessages"], external_this_wp_compose_["withInstanceId"], Object(external_this_wp_data_["withSelect"])(function (select) { +/* harmony default export */ var url_input = (Object(external_this_wp_compose_["compose"])(external_this_wp_compose_["withSafeTimeout"], external_this_wp_components_["withSpokenMessages"], external_this_wp_compose_["withInstanceId"], Object(external_this_wp_data_["withSelect"])(function (select, props) { + // If a link suggestions handler is already provided then + // bail + if (Object(external_this_lodash_["isFunction"])(props.__experimentalFetchLinkSuggestions)) { + return; + } + var _select = select('core/block-editor'), getSettings = _select.getSettings; return { - fetchLinkSuggestions: getSettings().__experimentalFetchLinkSuggestions + __experimentalFetchLinkSuggestions: getSettings().__experimentalFetchLinkSuggestions }; }))(url_input_URLInput)); @@ -16093,6 +17814,267 @@ function LinkEditor(_ref) { })); } +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/link-viewer.js + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + +function LinkViewerUrl(_ref) { + var url = _ref.url, + urlLabel = _ref.urlLabel, + className = _ref.className; + var linkClassName = classnames_default()(className, 'block-editor-url-popover__link-viewer-url'); + + if (!url) { + return Object(external_this_wp_element_["createElement"])("span", { + className: linkClassName + }); + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], { + className: linkClassName, + href: url + }, urlLabel || Object(external_this_wp_url_["filterURLForDisplay"])(Object(external_this_wp_url_["safeDecodeURI"])(url))); +} + +function LinkViewer(_ref2) { + var className = _ref2.className, + linkClassName = _ref2.linkClassName, + onEditLinkClick = _ref2.onEditLinkClick, + url = _ref2.url, + urlLabel = _ref2.urlLabel, + props = Object(objectWithoutProperties["a" /* default */])(_ref2, ["className", "linkClassName", "onEditLinkClick", "url", "urlLabel"]); + + return Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({ + className: classnames_default()('block-editor-url-popover__link-viewer', className) + }, props), Object(external_this_wp_element_["createElement"])(LinkViewerUrl, { + url: url, + urlLabel: urlLabel, + className: linkClassName + }), onEditLinkClick && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + icon: "edit", + label: Object(external_this_wp_i18n_["__"])('Edit'), + onClick: onEditLinkClick + })); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-replace-flow/index.js + + + +/** + * WordPress dependencies + */ + + + + + + + +/** + * Internal dependencies + */ + + + + + + +var media_replace_flow_MediaReplaceFlow = function MediaReplaceFlow(_ref) { + var mediaURL = _ref.mediaURL, + allowedTypes = _ref.allowedTypes, + accept = _ref.accept, + onSelect = _ref.onSelect, + onSelectURL = _ref.onSelectURL, + onError = _ref.onError, + _ref$name = _ref.name, + name = _ref$name === void 0 ? Object(external_this_wp_i18n_["__"])('Replace') : _ref$name; + + var _useState = Object(external_this_wp_element_["useState"])(false), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + showURLInput = _useState2[0], + setShowURLInput = _useState2[1]; + + var _useState3 = Object(external_this_wp_element_["useState"])(false), + _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2), + showEditURLInput = _useState4[0], + setShowEditURLInput = _useState4[1]; + + var _useState5 = Object(external_this_wp_element_["useState"])(mediaURL), + _useState6 = Object(slicedToArray["a" /* default */])(_useState5, 2), + mediaURLValue = _useState6[0], + setMediaURLValue = _useState6[1]; + + var _useState7 = Object(external_this_wp_element_["useState"])(false), + _useState8 = Object(slicedToArray["a" /* default */])(_useState7, 2), + showMediaReplaceOptions = _useState8[0], + setShowMediaReplaceOptions = _useState8[1]; + + var mediaUpload = Object(external_this_wp_data_["useSelect"])(function (select) { + return select('core/block-editor').getSettings().mediaUpload; + }); + var editMediaButtonRef = Object(external_this_wp_element_["createRef"])(); + + var stopPropagation = function stopPropagation(event) { + event.stopPropagation(); + }; + + var stopPropagationRelevantKeys = function stopPropagationRelevantKeys(event) { + if ([external_this_wp_keycodes_["LEFT"], external_this_wp_keycodes_["DOWN"], external_this_wp_keycodes_["RIGHT"], external_this_wp_keycodes_["UP"], external_this_wp_keycodes_["BACKSPACE"], external_this_wp_keycodes_["ENTER"]].indexOf(event.keyCode) > -1) { + // Stop the key event from propagating up to ObserveTyping.startTypingInTextField. + event.stopPropagation(); + } + }; + + var selectMedia = function selectMedia(media) { + onSelect(media); + setMediaURLValue(media.url); + Object(external_this_wp_a11y_["speak"])(Object(external_this_wp_i18n_["__"])('The media file has been replaced')); + }; + + var selectURL = function selectURL(newURL) { + onSelectURL(newURL); + setShowEditURLInput(false); + }; + + var uploadFiles = function uploadFiles(event) { + var files = event.target.files; + + var setMedia = function setMedia(_ref2) { + var _ref3 = Object(slicedToArray["a" /* default */])(_ref2, 1), + media = _ref3[0]; + + setShowMediaReplaceOptions(false); + selectMedia(media); + }; + + mediaUpload({ + allowedTypes: allowedTypes, + filesList: files, + onFileChange: setMedia, + onError: onError + }); + }; + + var onClose = function onClose() { + editMediaButtonRef.current.focus(); + }; + + var onClickOutside = function onClickOutside() { + return setShowMediaReplaceOptions(false); + }; + + var openOnArrowDown = function openOnArrowDown(event) { + if (event.keyCode === external_this_wp_keycodes_["DOWN"]) { + event.preventDefault(); + event.stopPropagation(); + event.target.click(); + } + }; + + var urlInputUIContent; + + if (showEditURLInput) { + urlInputUIContent = Object(external_this_wp_element_["createElement"])(LinkEditor, { + onKeyDown: stopPropagationRelevantKeys, + onKeyPress: stopPropagation, + value: mediaURLValue, + isFullWidthInput: true, + hasInputBorder: true, + onChangeInputValue: function onChangeInputValue(url) { + return setMediaURLValue(url); + }, + onSubmit: function onSubmit(event) { + event.preventDefault(); + selectURL(mediaURLValue); + editMediaButtonRef.current.focus(); + } + }); + } else { + urlInputUIContent = Object(external_this_wp_element_["createElement"])(LinkViewer, { + isFullWidth: true, + className: "editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content", + url: mediaURLValue, + onEditLinkClick: function onEditLinkClick() { + return setShowEditURLInput(!showEditURLInput); + } + }); + } + + return Object(external_this_wp_element_["createElement"])(media_upload, { + onSelect: function onSelect(media) { + return selectMedia(media); + }, + onClose: function onClose() { + return setShowMediaReplaceOptions(true); + }, + allowedTypes: allowedTypes, + render: function render(_ref4) { + var open = _ref4.open; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], { + className: 'media-replace-flow components-dropdown-menu' + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + ref: editMediaButtonRef, + className: 'components-icon-button components-dropdown-menu__toggle', + onClick: function onClick() { + setShowMediaReplaceOptions(!showMediaReplaceOptions); + }, + onKeyDown: openOnArrowDown + }, Object(external_this_wp_element_["createElement"])("span", { + className: "components-dropdown-menu__label" + }, " ", name, " "), Object(external_this_wp_element_["createElement"])("span", { + className: "components-dropdown-menu__indicator" + })), showMediaReplaceOptions && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { + onClickOutside: onClickOutside, + onClose: onClose, + className: 'media-replace-flow__options' + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["NavigableMenu"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { + icon: "admin-media", + onClick: open + }, Object(external_this_wp_i18n_["__"])('Open Media Library')), Object(external_this_wp_element_["createElement"])(check, null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FormFileUpload"], { + onChange: uploadFiles, + accept: accept, + render: function render(_ref5) { + var openFileDialog = _ref5.openFileDialog; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { + icon: "upload", + onClick: function onClick() { + openFileDialog(); + } + }, Object(external_this_wp_i18n_["__"])('Upload')); + } + })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { + icon: "admin-links", + onClick: function onClick() { + return setShowURLInput(!showURLInput); + }, + "aria-expanded": showURLInput + }, Object(external_this_wp_element_["createElement"])("div", null, " ", Object(external_this_wp_i18n_["__"])('Insert from URL'), " "))), showURLInput && Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-media-flow__url-input" + }, urlInputUIContent))); + } + }); +}; + +/* harmony default export */ var media_replace_flow = (Object(external_this_wp_compose_["compose"])(external_this_wp_components_["withNotices"])(media_replace_flow_MediaReplaceFlow)); + +// EXTERNAL MODULE: external {"this":["wp","deprecated"]} +var external_this_wp_deprecated_ = __webpack_require__(35); +var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_deprecated_); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/index.js @@ -16214,6 +18196,7 @@ url_popover_URLPopover.LinkViewer = LinkViewer; + /** * Internal dependencies */ @@ -16572,9 +18555,17 @@ function (_Component) { }, { key: "render", value: function render() { - var dropZoneUIOnly = this.props.dropZoneUIOnly; + var _this$props5 = this.props, + disableMediaButtons = _this$props5.disableMediaButtons, + dropZoneUIOnly = _this$props5.dropZoneUIOnly; + + if (dropZoneUIOnly || disableMediaButtons) { + if (dropZoneUIOnly) { + external_this_wp_deprecated_default()('wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop', { + alternative: 'disableMediaButtons' + }); + } - if (dropZoneUIOnly) { return Object(external_this_wp_element_["createElement"])(check, null, this.renderDropZone()); } @@ -16591,7 +18582,7 @@ var media_placeholder_applyWithSelect = Object(external_this_wp_data_["withSelec getSettings = _select.getSettings; return { - mediaUpload: getSettings().__experimentalMediaUpload + mediaUpload: getSettings().mediaUpload }; }); /** @@ -16600,160 +18591,6 @@ var media_placeholder_applyWithSelect = Object(external_this_wp_data_["withSelec /* harmony default export */ var media_placeholder = (Object(external_this_wp_compose_["compose"])(media_placeholder_applyWithSelect, Object(external_this_wp_components_["withFilters"])('editor.MediaPlaceholder'))(media_placeholder_MediaPlaceholder)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/color-palette/control.js - - - -/** - * WordPress dependencies - */ - - - -/** - * Internal dependencies - */ - - - - // translators: first %s: The type of color (e.g. background color), second %s: the color name or value (e.g. red or #ff0000) - -var colorIndicatorAriaLabel = Object(external_this_wp_i18n_["__"])('(current %s: %s)'); - -function ColorPaletteControl(_ref) { - var colors = _ref.colors, - disableCustomColors = _ref.disableCustomColors, - label = _ref.label, - onChange = _ref.onChange, - value = _ref.value; - var colorObject = utils_getColorObjectByColorValue(colors, value); - var colorName = colorObject && colorObject.name; - var ariaLabel = Object(external_this_wp_i18n_["sprintf"])(colorIndicatorAriaLabel, label.toLowerCase(), colorName || value); - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], { - className: "editor-color-palette-control block-editor-color-palette-control" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"].VisualLabel, null, label, value && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ColorIndicator"], { - colorValue: value, - "aria-label": ariaLabel - })), Object(external_this_wp_element_["createElement"])(color_palette, Object(esm_extends["a" /* default */])({ - className: "editor-color-palette-control__color-palette block-editor-color-palette-control__color-palette", - value: value, - onChange: onChange - }, { - colors: colors, - disableCustomColors: disableCustomColors - }))); -} -/* harmony default export */ var color_palette_control = (Object(external_this_wp_compose_["compose"])([with_color_context, Object(external_this_wp_compose_["ifCondition"])(function (_ref2) { - var hasColorsToChoose = _ref2.hasColorsToChoose; - return hasColorsToChoose; -})])(ColorPaletteControl)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/panel-color-settings/index.js - - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - -/** - * Internal dependencies - */ - - - - - -var hasCustomColorsDisabledForSetting = function hasCustomColorsDisabledForSetting(disableCustomColors, colorSetting) { - if (colorSetting.disableCustomColors !== undefined) { - return colorSetting.disableCustomColors; - } - - return disableCustomColors; -}; - -var hasColorsToChooseInSetting = function hasColorsToChooseInSetting() { - var colors = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - var disableCustomColors = arguments.length > 1 ? arguments[1] : undefined; - var colorSetting = arguments.length > 2 ? arguments[2] : undefined; - - if (!hasCustomColorsDisabledForSetting(disableCustomColors, colorSetting)) { - return true; - } - - return (colorSetting.colors || colors).length > 0; -}; - -var panel_color_settings_hasColorsToChoose = function hasColorsToChoose(_ref) { - var colors = _ref.colors, - disableCustomColors = _ref.disableCustomColors, - colorSettings = _ref.colorSettings; - return Object(external_this_lodash_["some"])(colorSettings, function (colorSetting) { - return hasColorsToChooseInSetting(colors, disableCustomColors, colorSetting); - }); -}; // translators: first %s: The type of color (e.g. background color), second %s: the color name or value (e.g. red or #ff0000) - - -var panel_color_settings_colorIndicatorAriaLabel = Object(external_this_wp_i18n_["__"])('(%s: %s)'); - -var panel_color_settings_renderColorIndicators = function renderColorIndicators(colorSettings, colors) { - return colorSettings.map(function (_ref2, index) { - var value = _ref2.value, - label = _ref2.label, - availableColors = _ref2.colors; - - if (!value) { - return null; - } - - var colorObject = utils_getColorObjectByColorValue(availableColors || colors, value); - var colorName = colorObject && colorObject.name; - var ariaLabel = Object(external_this_wp_i18n_["sprintf"])(panel_color_settings_colorIndicatorAriaLabel, label.toLowerCase(), colorName || value); - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ColorIndicator"], { - key: index, - colorValue: value, - "aria-label": ariaLabel - }); - }); -}; // colorSettings is passed as an array of props so that it can be used for -// mapping both ColorIndicator and ColorPaletteControl components. Passing -// an array of components/nodes here wouldn't be feasible. - - -var PanelColorSettings = Object(external_this_wp_compose_["ifCondition"])(panel_color_settings_hasColorsToChoose)(function (_ref3) { - var children = _ref3.children, - colors = _ref3.colors, - colorSettings = _ref3.colorSettings, - disableCustomColors = _ref3.disableCustomColors, - title = _ref3.title, - props = Object(objectWithoutProperties["a" /* default */])(_ref3, ["children", "colors", "colorSettings", "disableCustomColors", "title"]); - - var titleElement = Object(external_this_wp_element_["createElement"])("span", { - className: "editor-panel-color-settings__panel-title block-editor-panel-color-settings__panel-title" - }, title, panel_color_settings_renderColorIndicators(colorSettings, colors)); - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], Object(esm_extends["a" /* default */])({ - className: "editor-panel-color-settings block-editor-panel-color-settings", - title: titleElement - }, props), colorSettings.map(function (settings, index) { - return Object(external_this_wp_element_["createElement"])(color_palette_control, Object(esm_extends["a" /* default */])({ - key: index - }, Object(objectSpread["a" /* default */])({ - colors: colors, - disableCustomColors: disableCustomColors - }, settings))); - }), children); -}); -/* harmony default export */ var panel_color_settings = (with_color_context(PanelColorSettings)); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/plain-text/index.js @@ -16788,12 +18625,187 @@ var PlainText = Object(external_this_wp_element_["forwardRef"])(function (_ref, }); /* harmony default export */ var plain_text = (PlainText); -// EXTERNAL MODULE: external {"this":["wp","blob"]} -var external_this_wp_blob_ = __webpack_require__(35); +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/responsive-block-control/label.js -// EXTERNAL MODULE: external {"this":["wp","deprecated"]} -var external_this_wp_deprecated_ = __webpack_require__(37); -var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_deprecated_); + +/** + * WordPress dependencies + */ + + + + +var label_ResponsiveBlockControlLabel = function ResponsiveBlockControlLabel(_ref) { + var instanceId = _ref.instanceId, + property = _ref.property, + viewport = _ref.viewport, + desc = _ref.desc; + var accessibleLabel = desc || Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_x"])('Controls the %1$s property for %2$s viewports.', 'Text labelling a interface as controlling a given layout property (eg: margin) for a given screen size.'), property, viewport.label); + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("span", { + "aria-describedby": "rbc-desc-".concat(instanceId) + }, viewport.label), Object(external_this_wp_element_["createElement"])("span", { + className: "screen-reader-text", + id: "rbc-desc-".concat(instanceId) + }, accessibleLabel)); +}; + +/* harmony default export */ var responsive_block_control_label = (Object(external_this_wp_compose_["withInstanceId"])(label_ResponsiveBlockControlLabel)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/responsive-block-control/index.js + + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + + +function ResponsiveBlockControl(props) { + var title = props.title, + property = props.property, + toggleLabel = props.toggleLabel, + onIsResponsiveChange = props.onIsResponsiveChange, + renderDefaultControl = props.renderDefaultControl, + renderResponsiveControls = props.renderResponsiveControls, + _props$isResponsive = props.isResponsive, + isResponsive = _props$isResponsive === void 0 ? false : _props$isResponsive, + _props$defaultLabel = props.defaultLabel, + defaultLabel = _props$defaultLabel === void 0 ? { + id: 'all', + label: Object(external_this_wp_i18n_["__"])('All') + /* translators: 'Label. Used to signify a layout property (eg: margin, padding) will apply uniformly to all screensizes.' */ + + } : _props$defaultLabel, + _props$viewports = props.viewports, + viewports = _props$viewports === void 0 ? [{ + id: 'small', + label: Object(external_this_wp_i18n_["__"])('Small screens') + }, { + id: 'medium', + label: Object(external_this_wp_i18n_["__"])('Medium screens') + }, { + id: 'large', + label: Object(external_this_wp_i18n_["__"])('Large screens') + }] : _props$viewports; + + if (!title || !property || !renderDefaultControl) { + return null; + } + /* translators: 'Toggle control label. Should the property be the same across all screen sizes or unique per screen size.'. %s property value for the control (eg: margin, padding...etc) */ + + + var toggleControlLabel = toggleLabel || Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Use the same %s on all screensizes.'), property); + /* translators: 'Help text for the responsive mode toggle control.' */ + + var toggleHelpText = Object(external_this_wp_i18n_["__"])('Toggle between using the same value for all screen sizes or using a unique value per screen size.'); + + var defaultControl = renderDefaultControl(Object(external_this_wp_element_["createElement"])(responsive_block_control_label, { + property: property, + viewport: defaultLabel + }), defaultLabel); + + var defaultResponsiveControls = function defaultResponsiveControls() { + return viewports.map(function (viewport) { + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], { + key: viewport.id + }, renderDefaultControl(Object(external_this_wp_element_["createElement"])(responsive_block_control_label, { + property: property, + viewport: viewport + }), viewport)); + }); + }; + + return Object(external_this_wp_element_["createElement"])("fieldset", { + className: "block-editor-responsive-block-control" + }, Object(external_this_wp_element_["createElement"])("legend", { + className: "block-editor-responsive-block-control__title" + }, title), Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-responsive-block-control__inner" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { + className: "block-editor-responsive-block-control__toggle", + label: toggleControlLabel, + checked: !isResponsive, + onChange: onIsResponsiveChange, + help: toggleHelpText + }), !isResponsive && Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-responsive-block-control__group block-editor-responsive-block-control__group--default" + }, defaultControl), isResponsive && Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-responsive-block-control__group block-editor-responsive-block-control__group--responsive", + hidden: !isResponsive + }, renderResponsiveControls ? renderResponsiveControls(viewports) : defaultResponsiveControls()))); +} + +/* harmony default export */ var responsive_block_control = (ResponsiveBlockControl); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/remove-browser-shortcuts.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/** + * Set of keyboard shortcuts handled internally by RichText. + * + * @type {Array} + */ + +var HANDLED_SHORTCUTS = [external_this_wp_keycodes_["rawShortcut"].primary('z'), external_this_wp_keycodes_["rawShortcut"].primaryShift('z'), external_this_wp_keycodes_["rawShortcut"].primary('y')]; +/** + * An instance of a KeyboardShortcuts element pre-bound for the handled + * shortcuts. Since shortcuts never change, the element can be considered + * static, and can be skipped in reconciliation. + * + * @type {WPElement} + */ + +var SHORTCUTS_ELEMENT = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["KeyboardShortcuts"], { + bindGlobal: true, + shortcuts: Object(external_this_lodash_["fromPairs"])(HANDLED_SHORTCUTS.map(function (shortcut) { + return [shortcut, function (event) { + return event.preventDefault(); + }]; + })) +}); +/** + * Component which registered keyboard event handlers to prevent default + * behaviors for key combinations otherwise handled internally by RichText. + * + * @return {WPComponent} The component to be rendered. + */ + +var RemoveBrowserShortcuts = function RemoveBrowserShortcuts() { + return SHORTCUTS_ELEMENT; +}; + +// EXTERNAL MODULE: external {"this":["wp","blob"]} +var external_this_wp_blob_ = __webpack_require__(36); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/file-paste-handler.js +/** + * WordPress dependencies + */ + +function filePasteHandler(files) { + return files.filter(function (_ref) { + var type = _ref.type; + return /^image\/(?:jpe?g|png|gif)$/.test(type); + }).map(function (file) { + return ""); + }).join(''); +} // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/format-toolbar/index.js @@ -16840,53 +18852,42 @@ var format_toolbar_FormatToolbar = function FormatToolbar() { /* harmony default export */ var format_toolbar = (format_toolbar_FormatToolbar); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/remove-browser-shortcuts.js +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/format-toolbar-container.js -/** - * External dependencies - */ - /** * WordPress dependencies */ - - /** - * Set of keyboard shortcuts handled internally by RichText. - * - * @type {Array} + * Internal dependencies */ -var HANDLED_SHORTCUTS = [external_this_wp_keycodes_["rawShortcut"].primary('z'), external_this_wp_keycodes_["rawShortcut"].primaryShift('z'), external_this_wp_keycodes_["rawShortcut"].primary('y')]; -/** - * An instance of a KeyboardShortcuts element pre-bound for the handled - * shortcuts. Since shortcuts never change, the element can be considered - * static, and can be skipped in reconciliation. - * - * @type {WPElement} - */ -var SHORTCUTS_ELEMENT = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["KeyboardShortcuts"], { - bindGlobal: true, - shortcuts: Object(external_this_lodash_["fromPairs"])(HANDLED_SHORTCUTS.map(function (shortcut) { - return [shortcut, function (event) { - return event.preventDefault(); - }]; - })) -}); -/** - * Component which registered keyboard event handlers to prevent default - * behaviors for key combinations otherwise handled internally by RichText. - * - * @return {WPElement} WordPress element. - */ -var RemoveBrowserShortcuts = function RemoveBrowserShortcuts() { - return SHORTCUTS_ELEMENT; + +var format_toolbar_container_FormatToolbarContainer = function FormatToolbarContainer(_ref) { + var inline = _ref.inline, + anchorRef = _ref.anchorRef; + + if (inline) { + // Render in popover + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { + noArrow: true, + position: "top center", + focusOnMount: false, + anchorVerticalBuffer: 6, + anchorRef: anchorRef, + className: "block-editor-rich-text__inline-format-toolbar" + }, Object(external_this_wp_element_["createElement"])(format_toolbar, null)); + } // Render regular toolbar + + + return Object(external_this_wp_element_["createElement"])(block_format_controls, null, Object(external_this_wp_element_["createElement"])(format_toolbar, null)); }; +/* harmony default export */ var format_toolbar_container = (format_toolbar_container_FormatToolbarContainer); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/shortcut.js @@ -17041,6 +19042,7 @@ function (_Component) { + /** * External dependencies */ @@ -17058,7 +19060,6 @@ function (_Component) { - /** * Internal dependencies */ @@ -17068,11 +19069,6 @@ function (_Component) { - -var requestIdleCallback = window.requestIdleCallback || function fallbackRequestIdleCallback(fn) { - window.setTimeout(fn, 100); -}; - var wrapperClasses = 'editor-rich-text block-editor-rich-text'; var rich_text_classes = 'editor-rich-text__editable block-editor-rich-text__editable'; /** @@ -17102,12 +19098,12 @@ function (_Component) { Object(classCallCheck["a" /* default */])(this, RichTextWrapper); _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(RichTextWrapper).apply(this, arguments)); + _this.ref = Object(external_this_wp_element_["createRef"])(); _this.onEnter = _this.onEnter.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onSplit = _this.onSplit.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onPaste = _this.onPaste.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onDelete = _this.onDelete.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.inputRule = _this.inputRule.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.markAutomaticChange = _this.markAutomaticChange.bind(Object(assertThisInitialized["a" /* default */])(_this)); return _this; } @@ -17120,7 +19116,8 @@ function (_Component) { var _this$props = this.props, onReplace = _this$props.onReplace, onSplit = _this$props.onSplit, - multiline = _this$props.multiline; + multiline = _this$props.multiline, + markAutomaticChange = _this$props.markAutomaticChange; var canSplit = onReplace && onSplit; if (onReplace) { @@ -17136,7 +19133,7 @@ function (_Component) { onReplace([transformation.transform({ content: value.text })]); - this.markAutomaticChange(); + markAutomaticChange(); } } @@ -17182,26 +19179,26 @@ function (_Component) { onChange = _ref4.onChange, html = _ref4.html, plainText = _ref4.plainText, - image = _ref4.image; + files = _ref4.files; var _this$props3 = this.props, onReplace = _this$props3.onReplace, onSplit = _this$props3.onSplit, tagName = _this$props3.tagName, canUserUseUnfilteredHTML = _this$props3.canUserUseUnfilteredHTML, multiline = _this$props3.multiline, - __unstableEmbedURLOnPaste = _this$props3.__unstableEmbedURLOnPaste; - - if (image && !html) { - var file = image.getAsFile ? image.getAsFile() : image; + __unstableEmbedURLOnPaste = _this$props3.__unstableEmbedURLOnPaste; // Only process file if no HTML is present. + // Note: a pasted file may have the URL as plain text. + if (files && files.length && !html) { var _content = Object(external_this_wp_blocks_["pasteHandler"])({ - HTML: ""), + HTML: filePasteHandler(files), mode: 'BLOCKS', tagName: tagName }); // Allows us to ask for this information when we get a report. + // eslint-disable-next-line no-console - window.console.log('Received item:\n\n', file); + window.console.log('Received items:\n\n', files); if (onReplace && Object(external_this_wp_richText_["isEmpty"])(value)) { onReplace(_content); @@ -17314,7 +19311,9 @@ function (_Component) { }, { key: "inputRule", value: function inputRule(value, valueToFormat) { - var onReplace = this.props.onReplace; + var _this$props5 = this.props, + onReplace = _this$props5.onReplace, + markAutomaticChange = _this$props5.markAutomaticChange; if (!onReplace) { return; @@ -17345,14 +19344,14 @@ function (_Component) { var content = valueToFormat(Object(external_this_wp_richText_["slice"])(value, start, text.length)); var block = transformation.transform(content); onReplace([block]); - this.markAutomaticChange(); + markAutomaticChange(); } }, { key: "getAllowedFormats", value: function getAllowedFormats() { - var _this$props5 = this.props, - allowedFormats = _this$props5.allowedFormats, - formattingControls = _this$props5.formattingControls; + var _this$props6 = this.props, + allowedFormats = _this$props6.allowedFormats, + formattingControls = _this$props6.formattingControls; if (!allowedFormats && !formattingControls) { return; @@ -17369,59 +19368,50 @@ function (_Component) { return "core/".concat(name); }); } - /** - * Marks the last change as an automatic change at the next idle period to - * ensure all selection changes have been recorded. - */ - - }, { - key: "markAutomaticChange", - value: function markAutomaticChange() { - var _this2 = this; - - requestIdleCallback(function () { - _this2.props.markAutomaticChange(); - }); - } }, { key: "render", value: function render() { - var _this$props6 = this.props, - children = _this$props6.children, - tagName = _this$props6.tagName, - originalValue = _this$props6.value, - originalOnChange = _this$props6.onChange, - selectionStart = _this$props6.selectionStart, - selectionEnd = _this$props6.selectionEnd, - onSelectionChange = _this$props6.onSelectionChange, - multiline = _this$props6.multiline, - inlineToolbar = _this$props6.inlineToolbar, - wrapperClassName = _this$props6.wrapperClassName, - className = _this$props6.className, - autocompleters = _this$props6.autocompleters, - onReplace = _this$props6.onReplace, - isCaretWithinFormattedText = _this$props6.isCaretWithinFormattedText, - onEnterFormattedText = _this$props6.onEnterFormattedText, - onExitFormattedText = _this$props6.onExitFormattedText, - originalIsSelected = _this$props6.isSelected, - onCreateUndoLevel = _this$props6.onCreateUndoLevel, - markAutomaticChange = _this$props6.markAutomaticChange, - didAutomaticChange = _this$props6.didAutomaticChange, - undo = _this$props6.undo, - placeholder = _this$props6.placeholder, - keepPlaceholderOnFocus = _this$props6.keepPlaceholderOnFocus, - allowedFormats = _this$props6.allowedFormats, - withoutInteractiveFormatting = _this$props6.withoutInteractiveFormatting, - onRemove = _this$props6.onRemove, - onMerge = _this$props6.onMerge, - onSplit = _this$props6.onSplit, - canUserUseUnfilteredHTML = _this$props6.canUserUseUnfilteredHTML, - clientId = _this$props6.clientId, - identifier = _this$props6.identifier, - instanceId = _this$props6.instanceId, - start = _this$props6.start, - reversed = _this$props6.reversed, - experimentalProps = Object(objectWithoutProperties["a" /* default */])(_this$props6, ["children", "tagName", "value", "onChange", "selectionStart", "selectionEnd", "onSelectionChange", "multiline", "inlineToolbar", "wrapperClassName", "className", "autocompleters", "onReplace", "isCaretWithinFormattedText", "onEnterFormattedText", "onExitFormattedText", "isSelected", "onCreateUndoLevel", "markAutomaticChange", "didAutomaticChange", "undo", "placeholder", "keepPlaceholderOnFocus", "allowedFormats", "withoutInteractiveFormatting", "onRemove", "onMerge", "onSplit", "canUserUseUnfilteredHTML", "clientId", "identifier", "instanceId", "start", "reversed"]); + var _this2 = this; + + var _this$props7 = this.props, + children = _this$props7.children, + tagName = _this$props7.tagName, + originalValue = _this$props7.value, + originalOnChange = _this$props7.onChange, + selectionStart = _this$props7.selectionStart, + selectionEnd = _this$props7.selectionEnd, + onSelectionChange = _this$props7.onSelectionChange, + multiline = _this$props7.multiline, + inlineToolbar = _this$props7.inlineToolbar, + wrapperClassName = _this$props7.wrapperClassName, + className = _this$props7.className, + autocompleters = _this$props7.autocompleters, + onReplace = _this$props7.onReplace, + isCaretWithinFormattedText = _this$props7.isCaretWithinFormattedText, + onEnterFormattedText = _this$props7.onEnterFormattedText, + onExitFormattedText = _this$props7.onExitFormattedText, + originalIsSelected = _this$props7.isSelected, + onCreateUndoLevel = _this$props7.onCreateUndoLevel, + markAutomaticChange = _this$props7.markAutomaticChange, + didAutomaticChange = _this$props7.didAutomaticChange, + undo = _this$props7.undo, + placeholder = _this$props7.placeholder, + keepPlaceholderOnFocus = _this$props7.keepPlaceholderOnFocus, + allowedFormats = _this$props7.allowedFormats, + withoutInteractiveFormatting = _this$props7.withoutInteractiveFormatting, + onRemove = _this$props7.onRemove, + onMerge = _this$props7.onMerge, + onSplit = _this$props7.onSplit, + canUserUseUnfilteredHTML = _this$props7.canUserUseUnfilteredHTML, + clientId = _this$props7.clientId, + identifier = _this$props7.identifier, + instanceId = _this$props7.instanceId, + start = _this$props7.start, + reversed = _this$props7.reversed, + style = _this$props7.style, + preserveWhiteSpace = _this$props7.preserveWhiteSpace, + disabled = _this$props7.disabled, + experimentalProps = Object(objectWithoutProperties["a" /* default */])(_this$props7, ["children", "tagName", "value", "onChange", "selectionStart", "selectionEnd", "onSelectionChange", "multiline", "inlineToolbar", "wrapperClassName", "className", "autocompleters", "onReplace", "isCaretWithinFormattedText", "onEnterFormattedText", "onExitFormattedText", "isSelected", "onCreateUndoLevel", "markAutomaticChange", "didAutomaticChange", "undo", "placeholder", "keepPlaceholderOnFocus", "allowedFormats", "withoutInteractiveFormatting", "onRemove", "onMerge", "onSplit", "canUserUseUnfilteredHTML", "clientId", "identifier", "instanceId", "start", "reversed", "style", "preserveWhiteSpace", "disabled"]); var multilineTag = getMultilineTag(multiline); var adjustedAllowedFormats = this.getAllowedFormats(); @@ -17438,6 +19428,7 @@ function (_Component) { } var content = Object(external_this_wp_element_["createElement"])(external_this_wp_richText_["__experimentalRichText"], Object(esm_extends["a" /* default */])({}, experimentalProps, { + ref: this.ref, value: adjustedValue, onChange: adjustedOnChange, selectionStart: selectionStart, @@ -17461,9 +19452,14 @@ function (_Component) { __unstableOnEnterFormattedText: onEnterFormattedText, __unstableOnExitFormattedText: onExitFormattedText, __unstableOnCreateUndoLevel: onCreateUndoLevel, - __unstableMarkAutomaticChange: this.markAutomaticChange, + __unstableMarkAutomaticChange: markAutomaticChange, __unstableDidAutomaticChange: didAutomaticChange, - __unstableUndo: undo + __unstableUndo: undo, + style: style, + preserveWhiteSpace: preserveWhiteSpace, + disabled: disabled, + start: start, + reversed: reversed }), function (_ref7) { var isSelected = _ref7.isSelected, value = _ref7.value, @@ -17472,9 +19468,10 @@ function (_Component) { return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, children && children({ value: value, onChange: onChange - }), isSelected && !inlineToolbar && hasFormats && Object(external_this_wp_element_["createElement"])(block_format_controls, null, Object(external_this_wp_element_["createElement"])(format_toolbar, null)), isSelected && inlineToolbar && hasFormats && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IsolatedEventContainer"], { - className: "editor-rich-text__inline-toolbar block-editor-rich-text__inline-toolbar" - }, Object(external_this_wp_element_["createElement"])(format_toolbar, null)), isSelected && Object(external_this_wp_element_["createElement"])(RemoveBrowserShortcuts, null), Object(external_this_wp_element_["createElement"])(autocomplete, { + }), isSelected && hasFormats && Object(external_this_wp_element_["createElement"])(format_toolbar_container, { + inline: inlineToolbar, + anchorRef: _this2.ref.current + }), isSelected && Object(external_this_wp_element_["createElement"])(RemoveBrowserShortcuts, null), Object(external_this_wp_element_["createElement"])(autocomplete, { onReplace: onReplace, completers: autocompleters, record: value, @@ -17494,6 +19491,14 @@ function (_Component) { }); })); }); + + if (!wrapperClassName) { + return content; + } + + external_this_wp_deprecated_default()('wp.blockEditor.RichText wrapperClassName prop', { + alternative: 'className prop or create your own wrapper div' + }); return Object(external_this_wp_element_["createElement"])("div", { className: classnames_default()(wrapperClasses, wrapperClassName) }, content); @@ -17503,10 +19508,21 @@ function (_Component) { return RichTextWrapper; }(external_this_wp_element_["Component"]); -var RichTextContainer = Object(external_this_wp_compose_["compose"])([external_this_wp_compose_["withInstanceId"], context_withBlockEditContext(function (_ref9) { - var clientId = _ref9.clientId; +var RichTextContainer = Object(external_this_wp_compose_["compose"])([external_this_wp_compose_["withInstanceId"], context_withBlockEditContext(function (_ref9, ownProps) { + var clientId = _ref9.clientId, + onCaretVerticalPositionChange = _ref9.onCaretVerticalPositionChange, + isSelected = _ref9.isSelected; + + if (external_this_wp_element_["Platform"].OS === 'web') { + return { + clientId: clientId + }; + } + return { - clientId: clientId + clientId: clientId, + blockIsSelected: ownProps.isSelected !== undefined ? ownProps.isSelected : isSelected, + onCaretVerticalPositionChange: onCaretVerticalPositionChange }; }), Object(external_this_wp_data_["withSelect"])(function (select, _ref10) { var clientId = _ref10.clientId, @@ -17520,7 +19536,10 @@ var RichTextContainer = Object(external_this_wp_compose_["compose"])([external_t getSelectionStart = _select.getSelectionStart, getSelectionEnd = _select.getSelectionEnd, getSettings = _select.getSettings, - didAutomaticChange = _select.didAutomaticChange; + didAutomaticChange = _select.didAutomaticChange, + __unstableGetBlockWithoutInnerBlocks = _select.__unstableGetBlockWithoutInnerBlocks, + isMultiSelecting = _select.isMultiSelecting, + hasMultiSelection = _select.hasMultiSelection; var selectionStart = getSelectionStart(); var selectionEnd = getSelectionEnd(); @@ -17534,14 +19553,29 @@ var RichTextContainer = Object(external_this_wp_compose_["compose"])([external_t isSelected = selectionStart.clientId === clientId; } - return { + var extraProps = {}; + + if (external_this_wp_element_["Platform"].OS === 'native') { + // If the block of this RichText is unmodified then it's a candidate for replacing when adding a new block. + // In order to fix https://github.com/wordpress-mobile/gutenberg-mobile/issues/1126, let's blur on unmount in that case. + // This apparently assumes functionality the BlockHlder actually + var block = clientId && __unstableGetBlockWithoutInnerBlocks(clientId); + + var shouldBlurOnUnmount = block && isSelected && Object(external_this_wp_blocks_["isUnmodifiedDefaultBlock"])(block); + extraProps = { + shouldBlurOnUnmount: shouldBlurOnUnmount + }; + } + + return Object(objectSpread["a" /* default */])({ canUserUseUnfilteredHTML: __experimentalCanUserUseUnfilteredHTML, isCaretWithinFormattedText: isCaretWithinFormattedText(), selectionStart: isSelected ? selectionStart.offset : undefined, selectionEnd: isSelected ? selectionEnd.offset : undefined, isSelected: isSelected, - didAutomaticChange: didAutomaticChange() - }; + didAutomaticChange: didAutomaticChange(), + disabled: isMultiSelecting() || hasMultiSelection() + }, extraProps); }), Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref11) { var clientId = _ref11.clientId, instanceId = _ref11.instanceId, @@ -17613,6 +19647,88 @@ RichTextContainer.Content.defaultProps = { +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/tool-selector/index.js + + +/** + * WordPress dependencies + */ + + + + +var editIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + width: "20", + height: "20", + viewBox: "0 0 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fill: "none", + d: "M0 0h24v24H0V0z" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z" +})); +var selectIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + width: "20", + height: "20", + viewBox: "0 0 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M6.5 1v21.5l6-6.5H21L6.5 1zm5.1 13l-3.1 3.4V5.9l7.8 8.1h-4.7z" +})); + +function ToolSelector() { + var isNavigationTool = Object(external_this_wp_data_["useSelect"])(function (select) { + return select('core/block-editor').isNavigationMode(); + }); + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + setNavigationMode = _useDispatch.setNavigationMode; + + var isMediumViewport = Object(external_this_wp_compose_["useViewportMatch"])('medium'); + + if (!isMediumViewport) { + return null; + } + + var onSwitchMode = function onSwitchMode(mode) { + setNavigationMode(mode === 'edit' ? false : true); + }; + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], { + renderToggle: function renderToggle(_ref) { + var isOpen = _ref.isOpen, + onToggle = _ref.onToggle; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + icon: isNavigationTool ? selectIcon : editIcon, + "aria-expanded": isOpen, + onClick: onToggle, + label: Object(external_this_wp_i18n_["__"])('Tools') + }); + }, + renderContent: function renderContent() { + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["NavigableMenu"], { + role: "menu", + "aria-label": Object(external_this_wp_i18n_["__"])('Tools') + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItemsChoice"], { + value: isNavigationTool ? 'select' : 'edit', + onSelect: onSwitchMode, + choices: [{ + value: 'edit', + label: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, editIcon, Object(external_this_wp_i18n_["__"])('Edit')) + }, { + value: 'select', + label: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, selectIcon, Object(external_this_wp_i18n_["__"])('Select')) + }] + })), Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-tool-selector__help" + }, Object(external_this_wp_i18n_["__"])('Tools offer different interactions for block selection & editing. To select, press Escape, to go back to editing, press Enter.'))); + } + }); +} + +/* harmony default export */ var tool_selector = (ToolSelector); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-input/button.js @@ -17744,6 +19860,162 @@ var block_settings_menu_plugins_extension_createSlotFill = Object(external_this_ __experimentalBlockSettingsMenuPluginsExtension.Slot = block_settings_menu_plugins_extension_Slot; /* harmony default export */ var block_settings_menu_plugins_extension = (__experimentalBlockSettingsMenuPluginsExtension); +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/button.js + + +/** + * WordPress dependencies + */ + + +var button_PickerButton = function PickerButton(props) { + var label = props.label, + onPress = props.onPress; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + onClick: onPress + }, label); +}; + +/* harmony default export */ var page_template_picker_button = (button_PickerButton); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/container.js + + +var container_Container = function Container(_ref) { + var children = _ref.children; + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, children); +}; + +/* harmony default export */ var container = (container_Container); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/default-templates.js +var defaultTemplates = [{ + name: 'About', + content: '

Visitors will want to know who is on the other side of the page. Use this space to write about yourself, your site, your business, or anything you want. Use the testimonials below to quote others, talking about the same thing – in their own words.

' +}, { + name: 'Contact', + content: '

Let\'s talk 👋 Don\'t hesitate to reach out with the contact information below, or send a message using the form.

' +}]; +/* harmony default export */ var default_templates = (defaultTemplates); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/picker.js + + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + + + + + +var picker_experimentalPageTemplatePicker = function __experimentalPageTemplatePicker(_ref) { + var _ref$templates = _ref.templates, + templates = _ref$templates === void 0 ? default_templates : _ref$templates, + resetContent = _ref.resetContent; + return Object(external_this_wp_element_["createElement"])(block_list_footer, null, Object(external_this_wp_element_["createElement"])(container, { + style: { + flexDirection: 'row' + } + }, templates.map(function (_ref2) { + var name = _ref2.name, + content = _ref2.content; + return Object(external_this_wp_element_["createElement"])(page_template_picker_button, { + key: name, + onPress: function onPress() { + return resetContent(content); + }, + label: name + }); + }))); +}; + +/* harmony default export */ var picker = (Object(external_this_wp_data_["withDispatch"])(function (dispatch) { + var _dispatch = dispatch('core/editor'), + resetEditorBlocks = _dispatch.resetEditorBlocks; + + return { + resetContent: function resetContent(html) { + var blocks = Object(external_this_wp_blocks_["parse"])(html); + return resetEditorBlocks(blocks); + } + }; +})(picker_experimentalPageTemplatePicker)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/use-page-template-picker-visible.js +/** + * WordPress dependencies + */ + + + +var use_page_template_picker_visible_experimentalUsePageTemplatePickerVisible = function __experimentalUsePageTemplatePickerVisible() { + return Object(external_this_wp_data_["useSelect"])(function (select) { + var _select = select('core/editor'), + getCurrentPostType = _select.getCurrentPostType; + + var _select2 = select('core/block-editor'), + getBlockOrder = _select2.getBlockOrder, + getBlock = _select2.getBlock, + getSettings = _select2.getSettings; + + var isPageTemplatesEnabled = getSettings().__experimentalEnablePageTemplates; + + var blocks = getBlockOrder(); + var isEmptyBlockList = blocks.length === 0; + var firstBlock = !isEmptyBlockList && getBlock(blocks[0]); + var isOnlyUnmodifiedDefault = blocks.length === 1 && Object(external_this_wp_blocks_["isUnmodifiedDefaultBlock"])(firstBlock); + var isEmptyContent = isEmptyBlockList || isOnlyUnmodifiedDefault; + var isPage = getCurrentPostType() === 'page'; + return isPageTemplatesEnabled && isEmptyContent && isPage; + }); +}; + +/* harmony default export */ var use_page_template_picker_visible = (use_page_template_picker_visible_experimentalUsePageTemplatePickerVisible); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/with-page-template-picker-visible.js + + + +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + + +var __experimentalWithPageTemplatePickerVisible = Object(external_this_wp_compose_["createHigherOrderComponent"])(function (WrappedComponent) { + return function (props) { + var showPageTemplatePicker = use_page_template_picker_visible(); + + return Object(external_this_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({}, props, { + showPageTemplatePicker: showPageTemplatePicker + })); + }; +}, '__experimentalWithPageTemplatePickerVisible'); + +/* harmony default export */ var with_page_template_picker_visible = (__experimentalWithPageTemplatePickerVisible); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/index.js +/** + * Internal dependencies + */ + + + + + + + // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-actions/index.js /** * External dependencies @@ -18091,7 +20363,6 @@ var skip_to_selected_block_SkipToSelectedBlock = function SkipToSelectedBlock(_r return selectedBlockClientId && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { isDefault: true, - type: "button", className: "editor-skip-to-selected-block block-editor-skip-to-selected-block", onClick: onClick }, Object(external_this_wp_i18n_["__"])('Skip to the selected block')); @@ -18104,7 +20375,7 @@ var skip_to_selected_block_SkipToSelectedBlock = function SkipToSelectedBlock(_r })(skip_to_selected_block_SkipToSelectedBlock)); // EXTERNAL MODULE: external {"this":["wp","tokenList"]} -var external_this_wp_tokenList_ = __webpack_require__(142); +var external_this_wp_tokenList_ = __webpack_require__(144); var external_this_wp_tokenList_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_tokenList_); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-styles/index.js @@ -18420,10 +20691,6 @@ function DefaultStylePicker(_ref) { // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-inspector/index.js -/** - * External dependencies - */ - /** * WordPress dependencies */ @@ -18431,7 +20698,6 @@ function DefaultStylePicker(_ref) { - /** * Internal dependencies */ @@ -18473,7 +20739,9 @@ var block_inspector_BlockInspector = function BlockInspector(_ref) { return null; } - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(block_card, { + return Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-inspector" + }, Object(external_this_wp_element_["createElement"])(block_card, { blockType: blockType }), hasBlockStyles && Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { title: Object(external_this_wp_i18n_["__"])('Styles'), @@ -18482,12 +20750,17 @@ var block_inspector_BlockInspector = function BlockInspector(_ref) { clientId: selectedBlockClientId }), Object(external_this_wp_element_["createElement"])(DefaultStylePicker, { blockName: blockType.name - }))), Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(inspector_controls.Slot, null)), Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(inspector_advanced_controls.Slot, null, function (fills) { - return !Object(external_this_lodash_["isEmpty"])(fills) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + }))), Object(external_this_wp_element_["createElement"])(inspector_controls.Slot, { + bubblesVirtually: true + }), Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["__experimentalSlotFillConsumer"], null, function (_ref2) { + var hasFills = _ref2.hasFills; + return hasFills(inspector_advanced_controls.slotName) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { className: "editor-block-inspector__advanced block-editor-block-inspector__advanced", title: Object(external_this_wp_i18n_["__"])('Advanced'), initialOpen: false - }, fills); + }, Object(external_this_wp_element_["createElement"])(inspector_advanced_controls.Slot, { + bubblesVirtually: true + })); })), Object(external_this_wp_element_["createElement"])(skip_to_selected_block, { key: "back" })); @@ -18852,6 +21125,38 @@ function BlockSettingsMenu(_ref) { } /* harmony default export */ var block_settings_menu = (BlockSettingsMenu); +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-mobile-toolbar/index.js + + +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + + +function BlockMobileToolbar(_ref) { + var clientId = _ref.clientId, + moverDirection = _ref.moverDirection; + var isMobile = Object(external_this_wp_compose_["useViewportMatch"])('small', '<'); + + if (!isMobile) { + return null; + } + + return Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-mobile-toolbar" + }, Object(external_this_wp_element_["createElement"])(block_mover, { + clientIds: [clientId], + __experimentalOrientation: moverDirection + })); +} + +/* harmony default export */ var block_mobile_toolbar = (BlockMobileToolbar); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-switcher/index.js @@ -19125,10 +21430,23 @@ function MultiBlocksSwitcher(_ref) { -function BlockToolbar(_ref) { - var blockClientIds = _ref.blockClientIds, - isValid = _ref.isValid, - mode = _ref.mode; +function BlockToolbar() { + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + var _select = select('core/block-editor'), + getBlockMode = _select.getBlockMode, + getSelectedBlockClientIds = _select.getSelectedBlockClientIds, + isBlockValid = _select.isBlockValid; + + var selectedBlockClientIds = getSelectedBlockClientIds(); + return { + blockClientIds: selectedBlockClientIds, + isValid: selectedBlockClientIds.length === 1 ? isBlockValid(selectedBlockClientIds[0]) : null, + mode: selectedBlockClientIds.length === 1 ? getBlockMode(selectedBlockClientIds[0]) : null + }; + }), + blockClientIds = _useSelect.blockClientIds, + isValid = _useSelect.isValid, + mode = _useSelect.mode; if (blockClientIds.length === 0) { return null; @@ -19144,7 +21462,9 @@ function BlockToolbar(_ref) { return Object(external_this_wp_element_["createElement"])("div", { className: "editor-block-toolbar block-editor-block-toolbar" - }, mode === 'visual' && isValid && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(block_switcher, { + }, mode === 'visual' && isValid && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, blockClientIds.length === 1 && Object(external_this_wp_element_["createElement"])(block_mobile_toolbar, { + clientId: blockClientIds[0] + }), Object(external_this_wp_element_["createElement"])(block_switcher, { clientIds: blockClientIds }), Object(external_this_wp_element_["createElement"])(block_controls.Slot, { bubblesVirtually: true, @@ -19157,19 +21477,85 @@ function BlockToolbar(_ref) { })); } -/* harmony default export */ var block_toolbar = (Object(external_this_wp_data_["withSelect"])(function (select) { - var _select = select('core/block-editor'), - getBlockMode = _select.getBlockMode, - getSelectedBlockClientIds = _select.getSelectedBlockClientIds, - isBlockValid = _select.isBlockValid; +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/get-paste-event-data.js +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +function getPasteEventData(_ref) { + var clipboardData = _ref.clipboardData; + var items = clipboardData.items, + files = clipboardData.files; // In Edge these properties can be null instead of undefined, so a more + // rigorous test is required over using default values. + + items = Object(external_this_lodash_["isNil"])(items) ? [] : items; + files = Object(external_this_lodash_["isNil"])(files) ? [] : files; + var plainText = ''; + var html = ''; // IE11 only supports `Text` as an argument for `getData` and will + // otherwise throw an invalid argument error, so we try the standard + // arguments first, then fallback to `Text` if they fail. + + try { + plainText = clipboardData.getData('text/plain'); + html = clipboardData.getData('text/html'); + } catch (error1) { + try { + html = clipboardData.getData('Text'); + } catch (error2) { + // Some browsers like UC Browser paste plain text by default and + // don't support clipboardData at all, so allow default + // behaviour. + return; + } + } + + files = Array.from(files); + Array.from(items).forEach(function (item) { + if (!item.getAsFile) { + return; + } + + var file = item.getAsFile(); + + if (!file) { + return; + } + + var name = file.name, + type = file.type, + size = file.size; + + if (!Object(external_this_lodash_["find"])(files, { + name: name, + type: type, + size: size + })) { + files.push(file); + } + }); + files = files.filter(function (_ref2) { + var type = _ref2.type; + return /^image\/(?:jpe?g|png|gif)$/.test(type); + }); // Only process files if no HTML is present. + // A pasted file may have the URL as plain text. + + if (files.length && !html) { + html = files.map(function (file) { + return ""); + }).join(''); + plainText = ''; + } - var blockClientIds = getSelectedBlockClientIds(); return { - blockClientIds: blockClientIds, - isValid: blockClientIds.length === 1 ? isBlockValid(blockClientIds[0]) : null, - mode: blockClientIds.length === 1 ? getBlockMode(blockClientIds[0]) : null + html: html, + plainText: plainText }; -})(BlockToolbar)); +} // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/copy-handler/index.js @@ -19181,14 +21567,19 @@ function BlockToolbar(_ref) { +/** + * Internal dependencies + */ + + function CopyHandler(_ref) { var children = _ref.children, - onCopy = _ref.onCopy, - onCut = _ref.onCut; + handler = _ref.handler; return Object(external_this_wp_element_["createElement"])("div", { - onCopy: onCopy, - onCut: onCut + onCopy: handler, + onCut: handler, + onPaste: handler }, children); } @@ -19198,49 +21589,60 @@ function CopyHandler(_ref) { var _select = select('core/block-editor'), getBlocksByClientId = _select.getBlocksByClientId, getSelectedBlockClientIds = _select.getSelectedBlockClientIds, - hasMultiSelection = _select.hasMultiSelection; + hasMultiSelection = _select.hasMultiSelection, + getSettings = _select.getSettings; var _dispatch = dispatch('core/block-editor'), - removeBlocks = _dispatch.removeBlocks; + removeBlocks = _dispatch.removeBlocks, + replaceBlocks = _dispatch.replaceBlocks; - var onCopy = function onCopy(event) { - var selectedBlockClientIds = getSelectedBlockClientIds(); - - if (selectedBlockClientIds.length === 0) { - return; - } // Let native copy behaviour take over in input fields. - - - if (!hasMultiSelection() && Object(external_this_wp_dom_["documentHasSelection"])()) { - return; - } - - var serialized = Object(external_this_wp_blocks_["serialize"])(getBlocksByClientId(selectedBlockClientIds)); - event.clipboardData.setData('text/plain', serialized); - event.clipboardData.setData('text/html', serialized); - event.preventDefault(); - }; + var _getSettings = getSettings(), + canUserUseUnfilteredHTML = _getSettings.__experimentalCanUserUseUnfilteredHTML; return { - onCopy: onCopy, - onCut: function onCut(event) { - onCopy(event); + handler: function handler(event) { + var selectedBlockClientIds = getSelectedBlockClientIds(); - if (hasMultiSelection()) { - var selectedBlockClientIds = getSelectedBlockClientIds(); + if (selectedBlockClientIds.length === 0) { + return; + } // Always handle multiple selected blocks. + // Let native copy behaviour take over in input fields. + + + if (!hasMultiSelection() && Object(external_this_wp_dom_["documentHasSelection"])()) { + return; + } + + event.preventDefault(); + + if (event.type === 'copy' || event.type === 'cut') { + var blocks = getBlocksByClientId(selectedBlockClientIds); + var serialized = Object(external_this_wp_blocks_["serialize"])(blocks); + event.clipboardData.setData('text/plain', serialized); + event.clipboardData.setData('text/html', serialized); + } + + if (event.type === 'cut') { removeBlocks(selectedBlockClientIds); + } else if (event.type === 'paste') { + var _getPasteEventData = getPasteEventData(event), + plainText = _getPasteEventData.plainText, + html = _getPasteEventData.html; + + var _blocks = Object(external_this_wp_blocks_["pasteHandler"])({ + HTML: html, + plainText: plainText, + mode: 'BLOCKS', + canUserUseUnfilteredHTML: canUserUseUnfilteredHTML + }); + + replaceBlocks(selectedBlockClientIds, _blocks); } } }; })])(CopyHandler)); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/multi-select-scroll-into-view/index.js - - - - - - /** * External dependencies */ @@ -19257,74 +21659,51 @@ function CopyHandler(_ref) { */ +/** + * Scrolls the multi block selection end into view if not in view already. This + * is important to do after selection by keyboard. + */ -var multi_select_scroll_into_view_MultiSelectScrollIntoView = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(MultiSelectScrollIntoView, _Component); +function MultiSelectScrollIntoView() { + var selector = function selector(select) { + var _select = select('core/block-editor'), + getBlockSelectionEnd = _select.getBlockSelectionEnd, + isMultiSelecting = _select.isMultiSelecting; - function MultiSelectScrollIntoView() { - Object(classCallCheck["a" /* default */])(this, MultiSelectScrollIntoView); - - return Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(MultiSelectScrollIntoView).apply(this, arguments)); - } - - Object(createClass["a" /* default */])(MultiSelectScrollIntoView, [{ - key: "componentDidUpdate", - value: function componentDidUpdate() { - // Relies on expectation that `componentDidUpdate` will only be called - // if value of `extentClientId` changes. - this.scrollIntoView(); - } - /** - * Ensures that if a multi-selection exists, the extent of the selection is - * visible within the nearest scrollable container. - */ - - }, { - key: "scrollIntoView", - value: function scrollIntoView() { - var extentClientId = this.props.extentClientId; - - if (!extentClientId) { - return; - } - - var extentNode = getBlockDOMNode(extentClientId); - - if (!extentNode) { - return; - } - - var scrollContainer = Object(external_this_wp_dom_["getScrollContainer"])(extentNode); // If there's no scroll container, it follows that there's no scrollbar - // and thus there's no need to try to scroll into view. - - if (!scrollContainer) { - return; - } - - lib_default()(extentNode, scrollContainer, { - onlyScrollIfNeeded: true - }); - } - }, { - key: "render", - value: function render() { - return null; - } - }]); - - return MultiSelectScrollIntoView; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var multi_select_scroll_into_view = (Object(external_this_wp_data_["withSelect"])(function (select) { - var _select = select('core/block-editor'), - getLastMultiSelectedBlockClientId = _select.getLastMultiSelectedBlockClientId; - - return { - extentClientId: getLastMultiSelectedBlockClientId() + return { + selectionEnd: getBlockSelectionEnd(), + isMultiSelecting: isMultiSelecting() + }; }; -})(multi_select_scroll_into_view_MultiSelectScrollIntoView)); + + var _useSelect = Object(external_this_wp_data_["useSelect"])(selector), + selectionEnd = _useSelect.selectionEnd, + isMultiSelecting = _useSelect.isMultiSelecting; + + Object(external_this_wp_element_["useEffect"])(function () { + if (!selectionEnd || isMultiSelecting) { + return; + } + + var extentNode = getBlockDOMNode(selectionEnd); + + if (!extentNode) { + return; + } + + var scrollContainer = Object(external_this_wp_dom_["getScrollContainer"])(extentNode); // If there's no scroll container, it follows that there's no scrollbar + // and thus there's no need to try to scroll into view. + + if (!scrollContainer) { + return; + } + + lib_default()(extentNode, scrollContainer, { + onlyScrollIfNeeded: true + }); + }, [selectionEnd, isMultiSelecting]); + return null; +} // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/observe-typing/index.js @@ -19605,6 +21984,8 @@ function PreserveScrollInReorder() { +/** @typedef {import('@wordpress/element').WPSyntheticEvent} WPSyntheticEvent */ + var isIE = window.navigator.userAgent.indexOf('Trident') !== -1; var arrowKeyCodes = new Set([external_this_wp_keycodes_["UP"], external_this_wp_keycodes_["DOWN"], external_this_wp_keycodes_["LEFT"], external_this_wp_keycodes_["RIGHT"]]); var initialTriggerPercentage = 0.75; @@ -19714,7 +22095,7 @@ function (_Component) { * Maintains the scroll position after a selection change caused by a * keyboard event. * - * @param {SyntheticEvent} event Synthetic keyboard event. + * @param {WPSyntheticEvent} event Synthetic keyboard event. */ }, { @@ -19839,7 +22220,8 @@ function (_Component) { onKeyDown: this.onKeyDown, onKeyUp: this.maintainCaretPosition, onMouseDown: this.addSelectionChangeListener, - onTouchStart: this.addSelectionChangeListener + onTouchStart: this.addSelectionChangeListener, + className: "block-editor__typewriter" }, this.props.children); /* eslint-enable jsx-a11y/no-static-element-interactions */ } @@ -19894,9 +22276,9 @@ function (_Component) { * Browser constants */ -var _window = window, - getSelection = _window.getSelection, - getComputedStyle = _window.getComputedStyle; +var writing_flow_window = window, + getSelection = writing_flow_window.getSelection, + writing_flow_getComputedStyle = writing_flow_window.getComputedStyle; /** * Given an element, returns true if the element is a tabbable text field, or * false otherwise. @@ -19973,14 +22355,6 @@ function (_Component) { key: "onMouseDown", value: function onMouseDown() { this.verticalRect = null; - this.disableNavigationMode(); - } - }, { - key: "disableNavigationMode", - value: function disableNavigationMode() { - if (this.props.isNavigationMode) { - this.props.disableNavigationMode(); - } } /** * Returns the optimal tab target from the given focused element in the @@ -20201,7 +22575,7 @@ function (_Component) { // which is the exact reverse of LTR. - var _getComputedStyle = getComputedStyle(target), + var _getComputedStyle = writing_flow_getComputedStyle(target), direction = _getComputedStyle.direction; var isReverseDir = direction === 'rtl' ? !isReverse : isReverse; @@ -20239,7 +22613,6 @@ function (_Component) { }, { key: "focusLastTextField", value: function focusLastTextField() { - this.disableNavigationMode(); var focusableNodes = external_this_wp_dom_["focus"].focusable.find(this.container); var target = Object(external_this_lodash_["findLast"])(focusableNodes, isTabbableTextField); @@ -20306,15 +22679,11 @@ function (_Component) { var _dispatch = dispatch('core/block-editor'), multiSelect = _dispatch.multiSelect, selectBlock = _dispatch.selectBlock, - setNavigationMode = _dispatch.setNavigationMode, clearSelectedBlock = _dispatch.clearSelectedBlock; return { onMultiSelect: multiSelect, onSelectBlock: selectBlock, - disableNavigationMode: function disableNavigationMode() { - return setNavigationMode(false); - }, clearSelectedBlock: clearSelectedBlock }; })])(writing_flow_WritingFlow)); @@ -20341,6 +22710,17 @@ function (_Component) { + + + + + + + + + + + @@ -20376,6 +22756,8 @@ function (_Component) { + + @@ -20524,14 +22906,28 @@ var withToolbarControls = Object(external_this_wp_compose_["createHigherOrderCom key: "edit" }, props))]; }; -}, 'withToolbarControls'); // Exported just for testing purposes, not exported outside the module. +}, 'withToolbarControls'); +/** + * Override the default block element to add alignment wrapper props. + * + * @param {Function} BlockListBlock Original component + * @return {Function} Wrapped component + */ -var align_insideSelectWithDataAlign = function insideSelectWithDataAlign(BlockListBlock) { +var withDataAlign = Object(external_this_wp_compose_["createHigherOrderComponent"])(function (BlockListBlock) { return function (props) { var name = props.name, - attributes = props.attributes, - hasWideEnabled = props.hasWideEnabled; + attributes = props.attributes; var align = attributes.align; + var hasWideEnabled = Object(external_this_wp_data_["useSelect"])(function (select) { + return !!select('core/block-editor').getSettings().alignWide; + }, []); // If an alignment is not assigned, there's no need to go through the + // effort to validate or assign its value. + + if (align === undefined) { + return Object(external_this_wp_element_["createElement"])(BlockListBlock, props); + } + var validAlignments = getValidAlignments(Object(external_this_wp_blocks_["getBlockSupport"])(name, 'align'), Object(external_this_wp_blocks_["hasBlockSupport"])(name, 'alignWide', true), hasWideEnabled); var wrapperProps = props.wrapperProps; @@ -20545,22 +22941,7 @@ var align_insideSelectWithDataAlign = function insideSelectWithDataAlign(BlockLi wrapperProps: wrapperProps })); }; -}; -/** - * Override the default block element to add alignment wrapper props. - * - * @param {Function} BlockListBlock Original component - * @return {Function} Wrapped component - */ - -var withDataAlign = Object(external_this_wp_compose_["createHigherOrderComponent"])(Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select) { - var _select = select('core/block-editor'), - getSettings = _select.getSettings; - - return { - hasWideEnabled: !!getSettings().alignWide - }; -}), align_insideSelectWithDataAlign])); +}); /** * Override props assigned to save component to inject alignment class name if * block supports it. @@ -20652,9 +23033,9 @@ function anchor_addAttribute(settings) { * Override the default edit UI to include a new block inspector control for * assigning the anchor ID, if block supports anchor. * - * @param {Function|Component} BlockEdit Original component. + * @param {WPComponent} BlockEdit Original component. * - * @return {string} Wrapped component. + * @return {WPComponent} Wrapped component. */ var withInspectorControl = Object(external_this_wp_compose_["createHigherOrderComponent"])(function (BlockEdit) { @@ -20751,9 +23132,9 @@ function custom_class_name_addAttribute(settings) { * Override the default edit UI to include a new block inspector control for * assigning the custom class name, if block supports custom class name. * - * @param {Function|Component} BlockEdit Original component. + * @param {WPComponent} BlockEdit Original component. * - * @return {string} Wrapped component. + * @return {WPComponent} Wrapped component. */ var custom_class_name_withInspectorControl = Object(external_this_wp_compose_["createHigherOrderComponent"])(function (BlockEdit) { @@ -20905,12 +23286,9 @@ Object(external_this_wp_hooks_["addFilter"])('blocks.getSaveContent.extraProps', // EXTERNAL MODULE: ./node_modules/traverse/index.js -var traverse = __webpack_require__(219); +var traverse = __webpack_require__(218); var traverse_default = /*#__PURE__*/__webpack_require__.n(traverse); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js -var esm_typeof = __webpack_require__(31); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/ast/parse.js @@ -21608,7 +23986,7 @@ function addParent(obj, parent) { /* eslint-enable @wordpress/no-unused-vars-before-return */ // EXTERNAL MODULE: ./node_modules/inherits/inherits_browser.js -var inherits_browser = __webpack_require__(111); +var inherits_browser = __webpack_require__(109); var inherits_browser_default = /*#__PURE__*/__webpack_require__.n(inherits_browser); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/ast/stringify/compiler.js @@ -22096,7 +24474,7 @@ function traverseCSS(css, callback) { /* harmony default export */ var transform_styles_traverse = (traverseCSS); // EXTERNAL MODULE: ./node_modules/url/url.js -var url_url = __webpack_require__(81); +var url_url = __webpack_require__(84); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/transforms/url-rewrite.js @@ -22347,35 +24725,50 @@ var transform_styles_transformStyles = function transformStyles(styles) { /* concated harmony reexport AlignmentToolbar */__webpack_require__.d(__webpack_exports__, "AlignmentToolbar", function() { return alignment_toolbar; }); /* concated harmony reexport Autocomplete */__webpack_require__.d(__webpack_exports__, "Autocomplete", function() { return autocomplete; }); /* concated harmony reexport BlockAlignmentToolbar */__webpack_require__.d(__webpack_exports__, "BlockAlignmentToolbar", function() { return block_alignment_toolbar; }); +/* concated harmony reexport BlockBreadcrumb */__webpack_require__.d(__webpack_exports__, "BlockBreadcrumb", function() { return block_breadcrumb; }); /* concated harmony reexport BlockControls */__webpack_require__.d(__webpack_exports__, "BlockControls", function() { return block_controls; }); /* concated harmony reexport BlockEdit */__webpack_require__.d(__webpack_exports__, "BlockEdit", function() { return block_edit; }); +/* concated harmony reexport useBlockEditContext */__webpack_require__.d(__webpack_exports__, "useBlockEditContext", function() { return useBlockEditContext; }); /* concated harmony reexport BlockFormatControls */__webpack_require__.d(__webpack_exports__, "BlockFormatControls", function() { return block_format_controls; }); /* concated harmony reexport BlockIcon */__webpack_require__.d(__webpack_exports__, "BlockIcon", function() { return BlockIcon; }); /* concated harmony reexport BlockNavigationDropdown */__webpack_require__.d(__webpack_exports__, "BlockNavigationDropdown", function() { return dropdown; }); /* concated harmony reexport __experimentalBlockNavigationList */__webpack_require__.d(__webpack_exports__, "__experimentalBlockNavigationList", function() { return BlockNavigationList; }); +/* concated harmony reexport __experimentalBlockPatternPicker */__webpack_require__.d(__webpack_exports__, "__experimentalBlockPatternPicker", function() { return block_pattern_picker; }); /* concated harmony reexport BlockVerticalAlignmentToolbar */__webpack_require__.d(__webpack_exports__, "BlockVerticalAlignmentToolbar", function() { return block_vertical_alignment_toolbar; }); /* concated harmony reexport ButtonBlockerAppender */__webpack_require__.d(__webpack_exports__, "ButtonBlockerAppender", function() { return button_block_appender; }); /* concated harmony reexport ColorPalette */__webpack_require__.d(__webpack_exports__, "ColorPalette", function() { return color_palette; }); +/* concated harmony reexport ColorPaletteControl */__webpack_require__.d(__webpack_exports__, "ColorPaletteControl", function() { return color_palette_control; }); /* concated harmony reexport ContrastChecker */__webpack_require__.d(__webpack_exports__, "ContrastChecker", function() { return contrast_checker; }); +/* concated harmony reexport __experimentalGradientPicker */__webpack_require__.d(__webpack_exports__, "__experimentalGradientPicker", function() { return gradient_picker; }); +/* concated harmony reexport __experimentalGradientPickerControl */__webpack_require__.d(__webpack_exports__, "__experimentalGradientPickerControl", function() { return gradient_picker_control; }); +/* concated harmony reexport __experimentalGradientPickerPanel */__webpack_require__.d(__webpack_exports__, "__experimentalGradientPickerPanel", function() { return GradientPanel; }); /* concated harmony reexport InnerBlocks */__webpack_require__.d(__webpack_exports__, "InnerBlocks", function() { return inner_blocks; }); /* concated harmony reexport InspectorAdvancedControls */__webpack_require__.d(__webpack_exports__, "InspectorAdvancedControls", function() { return inspector_advanced_controls; }); /* concated harmony reexport InspectorControls */__webpack_require__.d(__webpack_exports__, "InspectorControls", function() { return inspector_controls; }); +/* concated harmony reexport __experimentalLinkControl */__webpack_require__.d(__webpack_exports__, "__experimentalLinkControl", function() { return link_control; }); +/* concated harmony reexport MediaReplaceFlow */__webpack_require__.d(__webpack_exports__, "MediaReplaceFlow", function() { return media_replace_flow; }); /* concated harmony reexport MediaPlaceholder */__webpack_require__.d(__webpack_exports__, "MediaPlaceholder", function() { return media_placeholder; }); /* concated harmony reexport MediaUpload */__webpack_require__.d(__webpack_exports__, "MediaUpload", function() { return media_upload; }); /* concated harmony reexport MediaUploadCheck */__webpack_require__.d(__webpack_exports__, "MediaUploadCheck", function() { return check; }); /* concated harmony reexport PanelColorSettings */__webpack_require__.d(__webpack_exports__, "PanelColorSettings", function() { return panel_color_settings; }); /* concated harmony reexport PlainText */__webpack_require__.d(__webpack_exports__, "PlainText", function() { return plain_text; }); +/* concated harmony reexport __experimentalResponsiveBlockControl */__webpack_require__.d(__webpack_exports__, "__experimentalResponsiveBlockControl", function() { return responsive_block_control; }); /* concated harmony reexport RichText */__webpack_require__.d(__webpack_exports__, "RichText", function() { return rich_text; }); /* concated harmony reexport RichTextShortcut */__webpack_require__.d(__webpack_exports__, "RichTextShortcut", function() { return shortcut_RichTextShortcut; }); /* concated harmony reexport RichTextToolbarButton */__webpack_require__.d(__webpack_exports__, "RichTextToolbarButton", function() { return RichTextToolbarButton; }); /* concated harmony reexport __unstableRichTextInputEvent */__webpack_require__.d(__webpack_exports__, "__unstableRichTextInputEvent", function() { return input_event_unstableRichTextInputEvent; }); +/* concated harmony reexport ToolSelector */__webpack_require__.d(__webpack_exports__, "ToolSelector", function() { return tool_selector; }); /* concated harmony reexport URLInput */__webpack_require__.d(__webpack_exports__, "URLInput", function() { return url_input; }); /* concated harmony reexport URLInputButton */__webpack_require__.d(__webpack_exports__, "URLInputButton", function() { return url_input_button; }); /* concated harmony reexport URLPopover */__webpack_require__.d(__webpack_exports__, "URLPopover", function() { return url_popover; }); /* concated harmony reexport withColorContext */__webpack_require__.d(__webpack_exports__, "withColorContext", function() { return with_color_context; }); +/* concated harmony reexport __experimentalBlockListFooter */__webpack_require__.d(__webpack_exports__, "__experimentalBlockListFooter", function() { return block_list_footer; }); /* concated harmony reexport __experimentalBlockSettingsMenuFirstItem */__webpack_require__.d(__webpack_exports__, "__experimentalBlockSettingsMenuFirstItem", function() { return block_settings_menu_first_item; }); /* concated harmony reexport __experimentalBlockSettingsMenuPluginsExtension */__webpack_require__.d(__webpack_exports__, "__experimentalBlockSettingsMenuPluginsExtension", function() { return block_settings_menu_plugins_extension; }); /* concated harmony reexport __experimentalInserterMenuExtension */__webpack_require__.d(__webpack_exports__, "__experimentalInserterMenuExtension", function() { return inserter_menu_extension; }); +/* concated harmony reexport __experimentalPageTemplatePicker */__webpack_require__.d(__webpack_exports__, "__experimentalPageTemplatePicker", function() { return picker; }); +/* concated harmony reexport __experimentalWithPageTemplatePickerVisible */__webpack_require__.d(__webpack_exports__, "__experimentalWithPageTemplatePickerVisible", function() { return with_page_template_picker_visible; }); +/* concated harmony reexport __experimentalUsePageTemplatePickerVisible */__webpack_require__.d(__webpack_exports__, "__experimentalUsePageTemplatePickerVisible", function() { return use_page_template_picker_visible; }); /* concated harmony reexport BlockEditorKeyboardShortcuts */__webpack_require__.d(__webpack_exports__, "BlockEditorKeyboardShortcuts", function() { return block_editor_keyboard_shortcuts; }); /* concated harmony reexport BlockInspector */__webpack_require__.d(__webpack_exports__, "BlockInspector", function() { return block_inspector; }); /* concated harmony reexport BlockList */__webpack_require__.d(__webpack_exports__, "BlockList", function() { return block_list; }); @@ -22384,12 +24777,12 @@ var transform_styles_transformStyles = function transformStyles(styles) { /* concated harmony reexport BlockSelectionClearer */__webpack_require__.d(__webpack_exports__, "BlockSelectionClearer", function() { return block_selection_clearer; }); /* concated harmony reexport BlockSettingsMenu */__webpack_require__.d(__webpack_exports__, "BlockSettingsMenu", function() { return block_settings_menu; }); /* concated harmony reexport BlockTitle */__webpack_require__.d(__webpack_exports__, "BlockTitle", function() { return block_title; }); -/* concated harmony reexport BlockToolbar */__webpack_require__.d(__webpack_exports__, "BlockToolbar", function() { return block_toolbar; }); +/* concated harmony reexport BlockToolbar */__webpack_require__.d(__webpack_exports__, "BlockToolbar", function() { return BlockToolbar; }); /* concated harmony reexport CopyHandler */__webpack_require__.d(__webpack_exports__, "CopyHandler", function() { return copy_handler; }); /* concated harmony reexport DefaultBlockAppender */__webpack_require__.d(__webpack_exports__, "DefaultBlockAppender", function() { return default_block_appender; }); /* concated harmony reexport Inserter */__webpack_require__.d(__webpack_exports__, "Inserter", function() { return inserter; }); /* concated harmony reexport MultiBlocksSwitcher */__webpack_require__.d(__webpack_exports__, "MultiBlocksSwitcher", function() { return multi_blocks_switcher; }); -/* concated harmony reexport MultiSelectScrollIntoView */__webpack_require__.d(__webpack_exports__, "MultiSelectScrollIntoView", function() { return multi_select_scroll_into_view; }); +/* concated harmony reexport MultiSelectScrollIntoView */__webpack_require__.d(__webpack_exports__, "MultiSelectScrollIntoView", function() { return MultiSelectScrollIntoView; }); /* concated harmony reexport NavigableToolbar */__webpack_require__.d(__webpack_exports__, "NavigableToolbar", function() { return navigable_toolbar; }); /* concated harmony reexport ObserveTyping */__webpack_require__.d(__webpack_exports__, "ObserveTyping", function() { return observe_typing; }); /* concated harmony reexport PreserveScrollInReorder */__webpack_require__.d(__webpack_exports__, "PreserveScrollInReorder", function() { return PreserveScrollInReorder; }); @@ -22403,6 +24796,9 @@ var transform_styles_transformStyles = function transformStyles(styles) { /* concated harmony reexport getColorObjectByColorValue */__webpack_require__.d(__webpack_exports__, "getColorObjectByColorValue", function() { return utils_getColorObjectByColorValue; }); /* concated harmony reexport createCustomColorsHOC */__webpack_require__.d(__webpack_exports__, "createCustomColorsHOC", function() { return createCustomColorsHOC; }); /* concated harmony reexport withColors */__webpack_require__.d(__webpack_exports__, "withColors", function() { return withColors; }); +/* concated harmony reexport __experimentalUseColors */__webpack_require__.d(__webpack_exports__, "__experimentalUseColors", function() { return __experimentalUseColors; }); +/* concated harmony reexport __experimentalGetGradientClass */__webpack_require__.d(__webpack_exports__, "__experimentalGetGradientClass", function() { return __experimentalGetGradientClass; }); +/* concated harmony reexport __experimentalUseGradient */__webpack_require__.d(__webpack_exports__, "__experimentalUseGradient", function() { return __experimentalUseGradient; }); /* concated harmony reexport getFontSize */__webpack_require__.d(__webpack_exports__, "getFontSize", function() { return utils_getFontSize; }); /* concated harmony reexport getFontSizeClass */__webpack_require__.d(__webpack_exports__, "getFontSizeClass", function() { return getFontSizeClass; }); /* concated harmony reexport FontSizePicker */__webpack_require__.d(__webpack_exports__, "FontSizePicker", function() { return font_size_picker; }); @@ -22429,14 +24825,7 @@ var transform_styles_transformStyles = function transformStyles(styles) { /***/ }), -/***/ 35: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["blob"]; }()); - -/***/ }), - -/***/ 36: +/***/ 38: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -22716,35 +25105,6 @@ function isShallowEqual( a, b, fromIndex ) { }); -/***/ }), - -/***/ 37: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["deprecated"]; }()); - -/***/ }), - -/***/ 38: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); -function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; -} - -/***/ }), - -/***/ 39: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); -function _nonIterableRest() { - throw new TypeError("Invalid attempt to destructure non-iterable instance"); -} - /***/ }), /***/ 4: @@ -22754,21 +25114,29 @@ function _nonIterableRest() { /***/ }), -/***/ 41: -/***/ (function(module, exports) { +/***/ 40: +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["wp"]["isShallowEqual"]; }()); +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} /***/ }), /***/ 42: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["viewport"]; }()); - -/***/ }), - -/***/ 44: /***/ (function(module, exports, __webpack_require__) { module.exports = function memize( fn, options ) { @@ -22886,14 +25254,64 @@ module.exports = function memize( fn, options ) { /***/ }), -/***/ 45: +/***/ 43: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _asyncToGenerator; }); +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { + try { + var info = gen[key](arg); + var value = info.value; + } catch (error) { + reject(error); + return; + } + + if (info.done) { + resolve(value); + } else { + Promise.resolve(value).then(_next, _throw); + } +} + +function _asyncToGenerator(fn) { + return function () { + var self = this, + args = arguments; + return new Promise(function (resolve, reject) { + var gen = fn.apply(self, args); + + function _next(value) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); + } + + function _throw(err) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); + } + + _next(undefined); + }); + }; +} + +/***/ }), + +/***/ 44: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["a11y"]; }()); /***/ }), -/***/ 47: +/***/ 45: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["isShallowEqual"]; }()); + +/***/ }), + +/***/ 48: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.1 @@ -24094,7 +26512,21 @@ else {} /***/ }), -/***/ 5: +/***/ 50: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["viewport"]; }()); + +/***/ }), + +/***/ 53: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["htmlEntities"]; }()); + +/***/ }), + +/***/ 6: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -24109,23 +26541,43 @@ function _assertThisInitialized(self) { /***/ }), -/***/ 51: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["htmlEntities"]; }()); - -/***/ }), - -/***/ 61: +/***/ 60: /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; -var TextareaAutosize_1 = __webpack_require__(114); +var TextareaAutosize_1 = __webpack_require__(113); exports["default"] = TextareaAutosize_1["default"]; +/***/ }), + +/***/ 61: +/***/ (function(module, exports) { + +var g; + +// This works in non-strict mode +g = (function() { + return this; +})(); + +try { + // This works if eval is allowed (see CSP) + g = g || new Function("return this")(); +} catch (e) { + // This works if the window reference is available + if (typeof window === "object") g = window; +} + +// g can still be undefined, but nothing to do about it... +// We return undefined, instead of nothing here, so it's +// easier to handle this case. if(!global) { ...} + +module.exports = g; + + /***/ }), /***/ 63: @@ -24138,12 +26590,12 @@ Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } -var _extends = _interopDefault(__webpack_require__(118)); -var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(119)); -var React = __webpack_require__(28); +var _extends = _interopDefault(__webpack_require__(117)); +var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(118)); +var React = __webpack_require__(20); var React__default = _interopDefault(React); -var _inheritsLoose = _interopDefault(__webpack_require__(120)); -var _assertThisInitialized = _interopDefault(__webpack_require__(121)); +var _inheritsLoose = _interopDefault(__webpack_require__(95)); +var _assertThisInitialized = _interopDefault(__webpack_require__(119)); var is = { arr: Array.isArray, @@ -26457,33 +28909,6 @@ exports.useChain = useChain; exports.useSprings = useSprings; -/***/ }), - -/***/ 64: -/***/ (function(module, exports) { - -var g; - -// This works in non-strict mode -g = (function() { - return this; -})(); - -try { - // This works if eval is allowed (see CSP) - g = g || new Function("return this")(); -} catch (e) { - // This works if the window reference is available - if (typeof window === "object") g = window; -} - -// g can still be undefined, but nothing to do about it... -// We return undefined, instead of nothing here, so it's -// easier to handle this case. if(!global) { ...} - -module.exports = g; - - /***/ }), /***/ 67: @@ -26492,7 +28917,7 @@ module.exports = g; "use strict"; -module.exports = __webpack_require__(112); +module.exports = __webpack_require__(111); /***/ }), @@ -26501,12 +28926,12 @@ module.exports = __webpack_require__(112); "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(source); + var ownKeys = Object.keys(Object(source)); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -26524,7 +28949,7 @@ function _objectSpread(target) { /***/ }), -/***/ 71: +/***/ 70: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -26587,7 +29012,7 @@ module.exports = refx; /***/ }), -/***/ 81: +/***/ 84: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -26614,8 +29039,8 @@ module.exports = refx; -var punycode = __webpack_require__(122); -var util = __webpack_require__(124); +var punycode = __webpack_require__(120); +var util = __webpack_require__(122); exports.parse = urlParse; exports.resolve = urlResolve; @@ -26690,7 +29115,7 @@ var protocolPattern = /^([a-z0-9.+-]+:)/i, 'gopher:': true, 'file:': true }, - querystring = __webpack_require__(125); + querystring = __webpack_require__(123); function urlParse(url, parseQueryString, slashesDenoteHost) { if (url && util.isObject(url) && url instanceof Url) return url; @@ -27327,7 +29752,7 @@ Url.prototype.parseHost = function() { /***/ }), -/***/ 86: +/***/ 88: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -27340,7 +29765,7 @@ Url.prototype.parseHost = function() { -var ReactPropTypesSecret = __webpack_require__(87); +var ReactPropTypesSecret = __webpack_require__(89); function emptyFunction() {} function emptyFunctionWithReset() {} @@ -27399,7 +29824,7 @@ module.exports = function() { /***/ }), -/***/ 87: +/***/ 89: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -27420,9 +29845,37 @@ module.exports = ReactPropTypesSecret; /***/ }), /***/ 9: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + +/***/ }), + +/***/ 95: /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["blocks"]; }()); +function _inheritsLoose(subClass, superClass) { + subClass.prototype = Object.create(superClass.prototype); + subClass.prototype.constructor = subClass; + subClass.__proto__ = superClass; +} + +module.exports = _inheritsLoose; /***/ }), diff --git a/wp-includes/js/dist/block-editor.min.js b/wp-includes/js/dist/block-editor.min.js index 1552d19320..202a1893a7 100644 --- a/wp-includes/js/dist/block-editor.min.js +++ b/wp-includes/js/dist/block-editor.min.js @@ -1,15 +1,15 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.blockEditor=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=342)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},11:function(e,t,n){"use strict";function r(e,t){for(var n=0;n0?!0===c?r.scrollTop(t,O.top+k.top):!1===c?r.scrollTop(t,O.top+j.top):k.top<0?r.scrollTop(t,O.top+k.top):r.scrollTop(t,O.top+j.top):i||((c=void 0===c||!!c)?r.scrollTop(t,O.top+k.top):r.scrollTop(t,O.top+j.top)),o&&(k.left<0||j.left>0?!0===a?r.scrollLeft(t,O.left+k.left):!1===a?r.scrollLeft(t,O.left+j.left):k.left<0?r.scrollLeft(t,O.left+k.left):r.scrollLeft(t,O.left+j.left):i||((a=void 0===a||!!a)?r.scrollLeft(t,O.left+k.left):r.scrollLeft(t,O.left+j.left)))}},113:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),i=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){i=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function c(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t,n=null,r=null,c=null,a=function(){e.clientWidth!==r&&d()},l=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",l,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",l,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:l,update:d}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),d()}function s(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r=0||(o[n]=e[n]);return o}},12:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},120:function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},121:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},122:function(e,t,n){(function(e,r){var o;/*! https://mths.be/punycode v1.3.2 by @mathias */!function(i){t&&t.nodeType,e&&e.nodeType;var c="object"==typeof r&&r;c.global!==c&&c.window!==c&&c.self;var a,l=2147483647,s=36,u=1,d=26,f=38,p=700,b=72,h=128,m="-",v=/^xn--/,g=/[^\x20-\x7E]/,O=/[\x2E\u3002\uFF0E\uFF61]/g,k={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=s-u,y=Math.floor,_=String.fromCharCode;function S(e){throw RangeError(k[e])}function C(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+C((e=e.replace(O,".")).split("."),t).join(".")}function w(e){for(var t,n,r=[],o=0,i=e.length;o=55296&&t<=56319&&o65535&&(t+=_((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=_(e)})).join("")}function B(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function T(e,t,n){var r=0;for(e=n?y(e/p):e>>1,e+=y(e/t);e>j*d>>1;r+=s)e=y(e/j);return y(r+(j+1)*e/(e+f))}function x(e){var t,n,r,o,i,c,a,f,p,v,g,O=[],k=e.length,j=0,_=h,C=b;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r=128&&S("not-basic"),O.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=k&&S("invalid-input"),((f=(g=e.charCodeAt(o++))-48<10?g-22:g-65<26?g-65:g-97<26?g-97:s)>=s||f>y((l-j)/c))&&S("overflow"),j+=f*c,!(f<(p=a<=C?u:a>=C+d?d:a-C));a+=s)c>y(l/(v=s-p))&&S("overflow"),c*=v;C=T(j-i,t=O.length+1,0==i),y(j/t)>l-_&&S("overflow"),_+=y(j/t),j%=t,O.splice(j++,0,_)}return I(O)}function L(e){var t,n,r,o,i,c,a,f,p,v,g,O,k,j,C,E=[];for(O=(e=w(e)).length,t=h,n=0,i=b,c=0;c=t&&gy((l-n)/(k=r+1))&&S("overflow"),n+=(a-t)*k,t=a,c=0;cl&&S("overflow"),g==t){for(f=n,p=s;!(f<(v=p<=i?u:p>=i+d?d:p-i));p+=s)C=f-v,j=s-v,E.push(_(B(v+C%j,0))),f=y(C/j);E.push(_(B(f,0))),i=T(n,k,r==o),n=0,++r}++n,++t}return E.join("")}a={version:"1.3.2",ucs2:{decode:w,encode:I},decode:x,encode:L,toASCII:function(e){return E(e,(function(e){return g.test(e)?"xn--"+L(e):e}))},toUnicode:function(e){return E(e,(function(e){return v.test(e)?x(e.slice(4).toLowerCase()):e}))}},void 0===(o=function(){return a}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(123)(e),n(64))},123:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},124:function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},125:function(e,t,n){"use strict";t.decode=t.parse=n(126),t.encode=t.stringify=n(127)},126:function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var c={};if("string"!=typeof e||0===e.length)return c;var a=/\+/g;e=e.split(t);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var u=0;u=0?(d=h.substr(0,m),f=h.substr(m+1)):(d=h,f=""),p=decodeURIComponent(d),b=decodeURIComponent(f),r(c,p)?o(c[p])?c[p].push(b):c[p]=[c[p],b]:c[p]=b}return c};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},127:function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?i(c(e),(function(c){var a=encodeURIComponent(r(c))+n;return o(e[c])?i(e[c],(function(e){return a+encodeURIComponent(r(e))})).join(t):a+encodeURIComponent(r(e[c]))})).join(t):a?encodeURIComponent(r(a))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},217:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.dispatch;return function(e){return function(n){return Array.isArray(n)?n.filter(Boolean).map(t):e(n)}}}},218:function(e,t,n){ +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t0?!0===c?r.scrollTop(t,O.top+k.top):!1===c?r.scrollTop(t,O.top+j.top):k.top<0?r.scrollTop(t,O.top+k.top):r.scrollTop(t,O.top+j.top):i||((c=void 0===c||!!c)?r.scrollTop(t,O.top+k.top):r.scrollTop(t,O.top+j.top)),o&&(k.left<0||j.left>0?!0===a?r.scrollLeft(t,O.left+k.left):!1===a?r.scrollLeft(t,O.left+j.left):k.left<0?r.scrollLeft(t,O.left+k.left):r.scrollLeft(t,O.left+j.left):i||((a=void 0===a||!!a)?r.scrollLeft(t,O.left+k.left):r.scrollLeft(t,O.left+j.left)))}},112:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),i=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){i=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function c(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t,n=null,r=null,c=null,a=function(){e.clientWidth!==r&&d()},l=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",l,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",l,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:l,update:d}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),d()}function s(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r=0||(o[n]=e[n]);return o}},119:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},12:function(e,t,n){"use strict";function r(e,t){for(var n=0;n= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=s-u,y=Math.floor,_=String.fromCharCode;function S(e){throw RangeError(k[e])}function C(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+C((e=e.replace(O,".")).split("."),t).join(".")}function w(e){for(var t,n,r=[],o=0,i=e.length;o=55296&&t<=56319&&o65535&&(t+=_((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=_(e)})).join("")}function B(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function T(e,t,n){var r=0;for(e=n?y(e/b):e>>1,e+=y(e/t);e>j*d>>1;r+=s)e=y(e/j);return y(r+(j+1)*e/(e+f))}function x(e){var t,n,r,o,i,c,a,f,b,g,v,O=[],k=e.length,j=0,_=h,C=p;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r=128&&S("not-basic"),O.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=k&&S("invalid-input"),((f=(v=e.charCodeAt(o++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:s)>=s||f>y((l-j)/c))&&S("overflow"),j+=f*c,!(f<(b=a<=C?u:a>=C+d?d:a-C));a+=s)c>y(l/(g=s-b))&&S("overflow"),c*=g;C=T(j-i,t=O.length+1,0==i),y(j/t)>l-_&&S("overflow"),_+=y(j/t),j%=t,O.splice(j++,0,_)}return I(O)}function N(e){var t,n,r,o,i,c,a,f,b,g,v,O,k,j,C,E=[];for(O=(e=w(e)).length,t=h,n=0,i=p,c=0;c=t&&vy((l-n)/(k=r+1))&&S("overflow"),n+=(a-t)*k,t=a,c=0;cl&&S("overflow"),v==t){for(f=n,b=s;!(f<(g=b<=i?u:b>=i+d?d:b-i));b+=s)C=f-g,j=s-g,E.push(_(B(g+C%j,0))),f=y(C/j);E.push(_(B(f,0))),i=T(n,k,r==o),n=0,++r}++n,++t}return E.join("")}a={version:"1.3.2",ucs2:{decode:w,encode:I},decode:x,encode:N,toASCII:function(e){return E(e,(function(e){return v.test(e)?"xn--"+N(e):e}))},toUnicode:function(e){return E(e,(function(e){return g.test(e)?x(e.slice(4).toLowerCase()):e}))}},void 0===(o=function(){return a}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(121)(e),n(61))},121:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},122:function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},123:function(e,t,n){"use strict";t.decode=t.parse=n(124),t.encode=t.stringify=n(125)},124:function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var c={};if("string"!=typeof e||0===e.length)return c;var a=/\+/g;e=e.split(t);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var u=0;u=0?(d=h.substr(0,m),f=h.substr(m+1)):(d=h,f=""),b=decodeURIComponent(d),p=decodeURIComponent(f),r(c,b)?o(c[b])?c[b].push(p):c[b]=[c[b],p]:c[b]=p}return c};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},125:function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?i(c(e),(function(c){var a=encodeURIComponent(r(c))+n;return o(e[c])?i(e[c],(function(e){return a+encodeURIComponent(r(e))})).join(t):a+encodeURIComponent(r(e[c]))})).join(t):a?encodeURIComponent(r(a))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},216:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.dispatch;return function(e){return function(n){return Array.isArray(n)?n.filter(Boolean).map(t):e(n)}}}},217:function(e,t,n){ /*! diff v3.5.0 @@ -47,4 +47,4 @@ IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISI OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. @license */ -var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";t.__esModule=!0,t.canonicalize=t.convertChangesToXML=t.convertChangesToDMP=t.merge=t.parsePatch=t.applyPatches=t.applyPatch=t.createPatch=t.createTwoFilesPatch=t.structuredPatch=t.diffArrays=t.diffJson=t.diffCss=t.diffSentences=t.diffTrimmedLines=t.diffLines=t.diffWordsWithSpace=t.diffWords=t.diffChars=t.Diff=void 0;var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},c=n(2),a=n(3),l=n(5),s=n(6),u=n(7),d=n(8),f=n(9),p=n(10),b=n(11),h=n(13),m=n(14),v=n(16),g=n(17);t.Diff=i.default,t.diffChars=c.diffChars,t.diffWords=a.diffWords,t.diffWordsWithSpace=a.diffWordsWithSpace,t.diffLines=l.diffLines,t.diffTrimmedLines=l.diffTrimmedLines,t.diffSentences=s.diffSentences,t.diffCss=u.diffCss,t.diffJson=d.diffJson,t.diffArrays=f.diffArrays,t.structuredPatch=m.structuredPatch,t.createTwoFilesPatch=m.createTwoFilesPatch,t.createPatch=m.createPatch,t.applyPatch=p.applyPatch,t.applyPatches=p.applyPatches,t.parsePatch=b.parsePatch,t.merge=h.merge,t.convertChangesToDMP=v.convertChangesToDMP,t.convertChangesToXML=g.convertChangesToXML,t.canonicalize=d.canonicalize},function(e,t){"use strict";function n(){}function r(e,t,n,r,o){for(var i=0,c=t.length,a=0,l=0;ie.length?n:e})),s.value=e.join(d)}else s.value=e.join(n.slice(a,a+s.count));a+=s.count,s.added||(l+=s.count)}}var f=t[c-1];return c>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[c-2].value+=f.value,t.pop()),t}function o(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"==typeof n&&(i=n,n={}),this.options=n;var c=this;function a(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var l=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,u=1,d=l+s,f=[{newPos:-1,components:[]}],p=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=l&&p+1>=s)return a([{value:this.join(t),count:t.length}]);function b(){for(var n=-1*u;n<=u;n+=2){var i=void 0,d=f[n-1],p=f[n+1],b=(p?p.newPos:0)-n;d&&(f[n-1]=void 0);var h=d&&d.newPos+1=l&&b+1>=s)return a(r(c,i.components,t,e,c.useLongestToken));f[n]=i}else f[n]=void 0}u++}if(i)!function e(){setTimeout((function(){if(u>d)return i();b()||e()}),0)}();else for(;u<=d;){var h=b();if(h)return h}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,i=n.length,c=e.newPos,a=c-r,l=0;c+12&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,o.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],a=t.hunks,l=n.compareLine||function(e,t,n,r){return t===r},s=0,u=n.fuzzFactor||0,d=0,f=0,p=void 0,b=void 0;function h(e,t){for(var n=0;n0?o[0]:" ",c=o.length>0?o.substr(1):o;if(" "===i||"-"===i){if(!l(t+1,r[t],i,c)&&++s>u)return!1;t++}}return!0}for(var m=0;m0?w[0]:" ",B=w.length>0?w.substr(1):w,T=S.linedelimiters[E];if(" "===I)C++;else if("-"===I)r.splice(C,1),i.splice(C,1);else if("+"===I)r.splice(C,0,B),i.splice(C,0,T),C++;else if("\\"===I){var x=S.lines[E-1]?S.lines[E-1][0]:null;"+"===x?p=!0:"-"===x&&(b=!0)}}}if(p)for(;!r[r.length-1];)r.pop(),i.pop();else b&&(r.push(""),i.push("\n"));for(var L=0;L1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function c(){var e={};for(o.push(e);i0?u(a.lines.slice(-l.context)):[],f-=b.length,p-=b.length)}(c=b).push.apply(c,o(r.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=r.length:h+=r.length}else{if(f)if(r.length<=2*l.context&&e=s.length-2&&r.length<=l.context){var j=/\n$/.test(n),y=/\n$/.test(i);0!=r.length||j?j&&y||b.push("\\ No newline at end of file"):b.splice(k.oldLines,0,"\\ No newline at end of file")}d.push(k),f=0,p=0,b=[]}h+=r.length,m+=r.length}},g=0;ge.length)return!1;for(var n=0;n"):r.removed&&t.push(""),t.push((o=r.value,void 0,o.replace(/&/g,"&").replace(//g,">").replace(/"/g,"""))),r.added?t.push(""):r.removed&&t.push("")}var o;return t.join("")}}])},e.exports=r()},219:function(e,t){var n=e.exports=function(e){return new r(e)};function r(e){this.value=e}function o(e,t,n){var r=[],o=[],a=!0;return function e(d){var f=n?i(d):d,p={},b=!0,h={node:f,node_:d,path:[].concat(r),parent:o[o.length-1],parents:o,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(e,t){h.isRoot||(h.parent.node[h.key]=e),h.node=e,t&&(b=!1)},delete:function(e){delete h.parent.node[h.key],e&&(b=!1)},remove:function(e){l(h.parent.node)?h.parent.node.splice(h.key,1):delete h.parent.node[h.key],e&&(b=!1)},keys:null,before:function(e){p.before=e},after:function(e){p.after=e},pre:function(e){p.pre=e},post:function(e){p.post=e},stop:function(){a=!1},block:function(){b=!1}};if(!a)return h;function m(){if("object"==typeof h.node&&null!==h.node){h.keys&&h.node_===h.node||(h.keys=c(h.node)),h.isLeaf=0==h.keys.length;for(var e=0;e3&&void 0!==arguments[3]?arguments[3]:1,o=Object(Be.a)(e);return o.splice(t,r),Pe(o,e.slice(t,t+r),n)}function Fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(I.a)({},t,[]);return e.forEach((function(e){var r=e.clientId,o=e.innerBlocks;n[t].push(r),Object.assign(n,Fe(o,r))})),n}function He(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.reduce((function(e,n){return Object.assign(e,Object(I.a)({},n.clientId,t),He(n.innerBlocks,n.clientId))}),{})}function Ue(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.identity,n={},r=Object(Be.a)(e);r.length;){var o=r.shift(),i=o.innerBlocks,c=Object(Ae.a)(o,["innerBlocks"]);r.push.apply(r,Object(Be.a)(i)),n[c.clientId]=t(c)}return n}function Ve(e){return Ue(e,(function(e){return Object(p.omit)(e,"attributes")}))}function ze(e){return Ue(e,(function(e){return e.attributes}))}function Ke(e,t){return e===t?Object(l.a)({},e):t}function We(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&e.clientId===t.clientId&&(n=e.attributes,r=t.attributes,Object(p.isEqual)(Object(p.keys)(n),Object(p.keys)(r)));var n,r}var qe=function(e){return e.reduce((function(e,t){return e[t]={},e}),{})};var Ge=Object(p.flow)(m.combineReducers,(function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var r=n.id,o=n.updatedId;if(r===o)return t;(t=Object(l.a)({},t)).attributes=Object(p.mapValues)(t.attributes,(function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===r?Object(l.a)({},e,{ref:o}):e}))}return e(t,n)}}),(function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=e(t,n);if(r===t)return t;r.cache=t.cache?t.cache:{};var o=function(e){return e.reduce((function(e,n){var r=n;do{e.push(r),r=t.parents[r]}while(r);return e}),[])};switch(n.type){case"RESET_BLOCKS":r.cache=Object(p.mapValues)(Ue(n.blocks),(function(){return{}}));break;case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":var i=Object(p.keys)(Ue(n.blocks));n.rootClientId&&i.push(n.rootClientId),r.cache=Object(l.a)({},r.cache,qe(o(i)));break;case"UPDATE_BLOCK":case"UPDATE_BLOCK_ATTRIBUTES":r.cache=Object(l.a)({},r.cache,qe(o([n.clientId])));break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var c=qe(o(n.replacedClientIds));r.cache=Object(l.a)({},Object(p.omit)(r.cache,n.replacedClientIds),Object(p.omit)(c,n.replacedClientIds),qe(Object(p.keys)(Ue(n.blocks))));break;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":r.cache=Object(l.a)({},Object(p.omit)(r.cache,n.removedClientIds),qe(Object(p.difference)(o(n.clientIds),n.clientIds)));break;case"MOVE_BLOCK_TO_POSITION":var a=[n.clientId];n.fromRootClientId&&a.push(n.fromRootClientId),n.toRootClientId&&a.push(n.toRootClientId),r.cache=Object(l.a)({},r.cache,qe(o(a)));break;case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":var s=[];n.rootClientId&&s.push(n.rootClientId),r.cache=Object(l.a)({},r.cache,qe(o(s)));break;case"SAVE_REUSABLE_BLOCK_SUCCESS":var u=Object(p.keys)(Object(p.omitBy)(r.attributes,(function(e,t){return"core/block"!==r.byClientId[t].name||e.ref!==n.updatedId})));r.cache=Object(l.a)({},r.cache,qe(o(u)))}return r}}),(function(e){return function(t,n){var r=function(e){for(var n=e,r=0;r1&&void 0!==arguments[1]?arguments[1]:"";return Object(p.reduce)(t[n],(function(n,r){return[].concat(Object(Be.a)(n),[r],Object(Be.a)(e(t,r)))}),[])}(t.order);return Object(l.a)({},t,{byClientId:Object(l.a)({},Object(p.omit)(t.byClientId,r),Ve(n.blocks)),attributes:Object(l.a)({},Object(p.omit)(t.attributes,r),ze(n.blocks)),order:Object(l.a)({},Object(p.omit)(t.order,r),Fe(n.blocks)),parents:Object(l.a)({},Object(p.omit)(t.parents,r),He(n.blocks)),cache:Object(l.a)({},Object(p.omit)(t.cache,r),Object(p.mapValues)(Ue(n.blocks),(function(){return{}})))})}return e(t,n)}}),(function(e){var t;return function(n,r){var o=e(n,r),i="MARK_LAST_CHANGE_AS_PERSISTENT"===r.type;if(n===o&&!i){var c=Object(p.get)(n,["isPersistentChange"],!0);return n.isPersistentChange===c?n:Object(l.a)({},o,{isPersistentChange:c})}return o=Object(l.a)({},o,{isPersistentChange:i||!We(r,t)}),t=r,o}}),(function(e){var t=new Set(["RECEIVE_BLOCKS"]);return function(n,r){var o=e(n,r);return o!==n&&(o.isIgnoredChange=t.has(r.type)),o}}))({byClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return Ve(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Object(l.a)({},e,Ve(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(p.omit)(t.updates,"attributes");return Object(p.isEmpty)(n)?e:Object(l.a)({},e,Object(I.a)({},t.clientId,Object(l.a)({},e[t.clientId],n)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Object(l.a)({},Object(p.omit)(e,t.replacedClientIds),Ve(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e},attributes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return ze(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Object(l.a)({},e,ze(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?Object(l.a)({},e,Object(I.a)({},t.clientId,Object(l.a)({},e[t.clientId],t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.clientId])return e;var n=Object(p.reduce)(t.attributes,(function(n,r,o){return r!==n[o]&&((n=Ke(e[t.clientId],n))[o]=r),n}),e[t.clientId]);return n===e[t.clientId]?e:Object(l.a)({},e,Object(I.a)({},t.clientId,n));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Object(l.a)({},Object(p.omit)(e,t.replacedClientIds),ze(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e},order:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return Fe(t.blocks);case"RECEIVE_BLOCKS":return Object(l.a)({},e,Object(p.omit)(Fe(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],i=Fe(t.blocks,r),c=t.index,a=void 0===c?o.length:c;return Object(l.a)({},e,i,Object(I.a)({},r,Pe(o,i[r],a)));case"MOVE_BLOCK_TO_POSITION":var s,u=t.fromRootClientId,d=void 0===u?"":u,f=t.toRootClientId,b=void 0===f?"":f,h=t.clientId,m=t.index,v=void 0===m?e[b].length:m;if(d===b){var g=e[b],O=g.indexOf(h);return Object(l.a)({},e,Object(I.a)({},b,De(e[b],O,v)))}return Object(l.a)({},e,(s={},Object(I.a)(s,d,Object(p.without)(e[d],h)),Object(I.a)(s,b,Pe(e[b],h,v)),s));case"MOVE_BLOCKS_UP":var k=t.clientIds,j=t.rootClientId,y=void 0===j?"":j,_=Object(p.first)(k),S=e[y];if(!S.length||_===Object(p.first)(S))return e;var C=S.indexOf(_);return Object(l.a)({},e,Object(I.a)({},y,De(S,C,C-1,k.length)));case"MOVE_BLOCKS_DOWN":var E=t.clientIds,w=t.rootClientId,B=void 0===w?"":w,T=Object(p.first)(E),x=Object(p.last)(E),L=e[B];if(!L.length||x===Object(p.last)(L))return e;var N=L.indexOf(T);return Object(l.a)({},e,Object(I.a)({},B,De(L,N,N+1,E.length)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var A=t.clientIds;if(!t.blocks)return e;var M=Fe(t.blocks);return Object(p.flow)([function(e){return Object(p.omit)(e,t.replacedClientIds)},function(e){return Object(l.a)({},e,Object(p.omit)(M,""))},function(e){return Object(p.mapValues)(e,(function(e){return Object(p.reduce)(e,(function(e,t){return t===A[0]?[].concat(Object(Be.a)(e),Object(Be.a)(M[""])):(-1===A.indexOf(t)&&e.push(t),e)}),[])}))}])(e);case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.flow)([function(e){return Object(p.omit)(e,t.removedClientIds)},function(e){return Object(p.mapValues)(e,(function(e){return p.without.apply(void 0,[e].concat(Object(Be.a)(t.removedClientIds)))}))}])(e)}return e},parents:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return He(t.blocks);case"RECEIVE_BLOCKS":return Object(l.a)({},e,He(t.blocks));case"INSERT_BLOCKS":return Object(l.a)({},e,He(t.blocks,t.rootClientId||""));case"MOVE_BLOCK_TO_POSITION":return Object(l.a)({},e,Object(I.a)({},t.clientId,t.toRootClientId||""));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(l.a)({},Object(p.omit)(e,t.replacedClientIds),He(t.blocks,e[t.clientIds[0]]));case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e}});var $e={},Ye={start:$e,end:$e,isMultiSelecting:!1,isEnabled:!0,initialPosition:null};var Xe=Object(m.combineReducers)({blocks:Ge,isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},isCaretWithinFormattedText:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},blockSelection:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ye,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.start&&e.start.clientId?Object(l.a)({},e,{start:$e,end:$e,isMultiSelecting:!1,initialPosition:null}):e;case"START_MULTI_SELECT":return e.isMultiSelecting?e:Object(l.a)({},e,{isMultiSelecting:!0,initialPosition:null});case"STOP_MULTI_SELECT":return e.isMultiSelecting?Object(l.a)({},e,{isMultiSelecting:!1,initialPosition:null}):e;case"MULTI_SELECT":return Object(l.a)({},e,{isMultiSelecting:e.isMultiSelecting,start:{clientId:t.start},end:{clientId:t.end}});case"SELECT_BLOCK":return t.clientId===e.start.clientId&&t.clientId===e.end.clientId?e:Object(l.a)({},e,{initialPosition:t.initialPosition,start:{clientId:t.clientId},end:{clientId:t.clientId}});case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return t.updateSelection?Object(l.a)({},e,{start:{clientId:t.blocks[0].clientId},end:{clientId:t.blocks[0].clientId}}):e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.start.clientId)?Object(l.a)({},e,{start:$e,end:$e,isMultiSelecting:!1,initialPosition:null}):e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.start.clientId))return e;var n=t.indexToSelect||t.blocks.length-1,r=t.blocks[n];return r?r.clientId===e.start.clientId&&r.clientId===e.end.clientId?e:Object(l.a)({},e,{start:{clientId:r.clientId},end:{clientId:r.clientId}}):Object(l.a)({},e,{start:$e,end:$e,isMultiSelecting:!1,initialPosition:null});case"TOGGLE_SELECTION":return Object(l.a)({},e,{isEnabled:t.isSelectionEnabled});case"SELECTION_CHANGE":return Object(l.a)({},e,{start:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset},end:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset}})}return e},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===t.type){var n=t.clientId;return Object(l.a)({},e,Object(I.a)({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(p.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(p.isEqual)(e[n],t.settings)?e:Object(l.a)({},e,Object(I.a)({},n,t.settings)):e.hasOwnProperty(n)?Object(p.omit)(e,n):e}return e},insertionPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_INSERTION_POINT":return{rootClientId:t.rootClientId,index:t.index};case"HIDE_INSERTION_POINT":return null}return e},template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return Object(l.a)({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Re,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return Object(l.a)({},e,t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Me,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce((function(e,n){var r=n.name,o={name:n.name};return Object(i.isReusableBlock)(n)&&(o.ref=n.attributes.ref,r+="/"+n.attributes.ref),Object(l.a)({},e,{insertUsage:Object(l.a)({},e.insertUsage,Object(I.a)({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})}),e)}return e},lastBlockAttributesChange:function(e,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return Object(I.a)({},t.clientId,t.updates.attributes);case"UPDATE_BLOCK_ATTRIBUTES":return Object(I.a)({},t.clientId,t.attributes)}return null},isNavigationMode:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SET_NAVIGATION_MODE"===t.type?t.isNavigationMode:e},didAutomaticChange:function(e,t){return"MARK_AUTOMATIC_CHANGE"===t.type}}),Ze=n(71),Je=n.n(Ze),Qe=n(217),et=n.n(Qe),tt=n(45),nt=n(20),rt=n.n(nt);function ot(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o1&&void 0!==arguments[1]?arguments[1]:null,clientId:e}}function Ot(e){var t;return rt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,ot("core/block-editor","getPreviousBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,gt(t,-1);case 6:case"end":return n.stop()}}),at)}function kt(e){var t;return rt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,ot("core/block-editor","getNextBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,gt(t);case 6:case"end":return n.stop()}}),lt)}function jt(){return{type:"START_MULTI_SELECT"}}function yt(){return{type:"STOP_MULTI_SELECT"}}function _t(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function St(){return{type:"CLEAR_SELECTED_BLOCK"}}function Ct(){return{type:"TOGGLE_SELECTION",isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}function Et(e,t){var n=Object(p.get)(t,["__experimentalPreferredStyleVariations","value"],{});return e.map((function(e){var t=e.name;if(!n[t])return e;var r=Object(p.get)(e,["attributes","className"]);if(Object(p.includes)(r,"is-style-"))return e;var o=e.attributes,i=void 0===o?{}:o,c=n[t];return Object(l.a)({},e,{attributes:Object(l.a)({},i,{className:"".concat(r||""," is-style-").concat(c).trim()})})}))}function wt(e,t,n){var r,o,i;return rt.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return e=Object(p.castArray)(e),c.t0=Et,c.t1=Object(p.castArray)(t),c.next=5,ot("core/block-editor","getSettings");case 5:return c.t2=c.sent,t=(0,c.t0)(c.t1,c.t2),c.next=9,ot("core/block-editor","getBlockRootClientId",Object(p.first)(e));case 9:r=c.sent,o=0;case 11:if(!(o1&&void 0!==a[1]?a[1]:"",n=a.length>2&&void 0!==a[2]?a[2]:"",r=a.length>3?a[3]:void 0,l.next=5,ot("core/block-editor","getTemplateLock",t);case 5:if("all"!==(o=l.sent)){l.next=8;break}return l.abrupt("return");case 8:if(i={type:"MOVE_BLOCK_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientId:e,index:r},t!==n){l.next=13;break}return l.next=12,i;case 12:return l.abrupt("return");case 13:if("insert"!==o){l.next=15;break}return l.abrupt("return");case 15:return l.next=17,ot("core/block-editor","getBlockName",e);case 17:return c=l.sent,l.next=20,ot("core/block-editor","canInsertBlockType",c,n);case 20:if(!l.sent){l.next=24;break}return l.next=24,i;case 24:case"end":return l.stop()}}),ut)}function Nt(e,t,n){return At([e],t,n,!(arguments.length>3&&void 0!==arguments[3])||arguments[3])}function At(e,t,n){var r,o,i,c,a,l,s,u,d=arguments;return rt.a.wrap((function(f){for(;;)switch(f.prev=f.next){case 0:return r=!(d.length>3&&void 0!==d[3])||d[3],f.t0=Et,f.t1=Object(p.castArray)(e),f.next=5,ot("core/block-editor","getSettings");case 5:f.t2=f.sent,e=(0,f.t0)(f.t1,f.t2),o=[],i=!0,c=!1,a=void 0,f.prev=11,l=e[Symbol.iterator]();case 13:if(i=(s=l.next()).done){f.next=22;break}return u=s.value,f.next=17,ot("core/block-editor","canInsertBlockType",u.name,n);case 17:f.sent&&o.push(u);case 19:i=!0,f.next=13;break;case 22:f.next=28;break;case 24:f.prev=24,f.t3=f.catch(11),c=!0,a=f.t3;case 28:f.prev=28,f.prev=29,i||null==l.return||l.return();case 31:if(f.prev=31,!c){f.next=34;break}throw a;case 34:return f.finish(31);case 35:return f.finish(28);case 36:if(!o.length){f.next=38;break}return f.abrupt("return",{type:"INSERT_BLOCKS",blocks:o,index:t,rootClientId:n,time:Date.now(),updateSelection:r});case 38:case"end":return f.stop()}}),dt,null,[[11,24,28,36],[29,,31,35]])}function Mt(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function Rt(){return{type:"HIDE_INSERTION_POINT"}}function Pt(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function Dt(){return{type:"SYNCHRONIZE_TEMPLATE"}}function Ft(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function Ht(e){var t,n=arguments;return rt.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t=!(n.length>1&&void 0!==n[1])||n[1],e=Object(p.castArray)(e),!t){r.next=5;break}return r.next=5,Ot(e[0]);case 5:return r.next=7,{type:"REMOVE_BLOCKS",clientIds:e};case 7:return r.delegateYield(pt(),"t0",8);case 8:case"end":return r.stop()}}),ft)}function Ut(e,t){return Ht([e],t)}function Vt(e,t){return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:!(arguments.length>2&&void 0!==arguments[2])||arguments[2],time:Date.now()}}function zt(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function Kt(){return{type:"START_TYPING"}}function Wt(){return{type:"STOP_TYPING"}}function qt(){return{type:"ENTER_FORMATTED_TEXT"}}function Gt(){return{type:"EXIT_FORMATTED_TEXT"}}function $t(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function Yt(e,t,n){var r=Object(i.getDefaultBlockName)();if(r)return Nt(Object(i.createBlock)(r,e),n,t)}function Xt(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function Zt(e){return{type:"UPDATE_SETTINGS",settings:e}}function Jt(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function Qt(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function en(){return{type:"MARK_AUTOMATIC_CHANGE"}}function tn(){return{type:"SET_NAVIGATION_MODE",isNavigationMode:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}var nn=n(36),rn=3,on=2,cn=1,an=0,ln=Object(u.createElement)(P.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(u.createElement)(P.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(u.createElement)(P.G,null,Object(u.createElement)(P.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"}))),sn=[];function un(e,t){var n=e.blocks.byClientId[t];return n?n.name:null}function dn(e,t){var n=e.blocks.byClientId[t];return!!n&&n.isValid}function fn(e,t){return e.blocks.byClientId[t]?e.blocks.attributes[t]:null}var pn=Object(nn.a)((function(e,t){var n=e.blocks.byClientId[t];return n?Object(l.a)({},n,{attributes:fn(e,t),innerBlocks:hn(e,t)}):null}),(function(e,t){return[e.blocks.cache[t]]})),bn=Object(nn.a)((function(e,t){var n=e.blocks.byClientId[t];return n?Object(l.a)({},n,{attributes:fn(e,t)}):null}),(function(e,t){return[e.blocks.byClientId[t],e.blocks.attributes[t]]})),hn=Object(nn.a)((function(e,t){return Object(p.map)(Wn(e,t),(function(t){return pn(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]})),mn=function e(t,n){return Object(p.flatMap)(n,(function(n){var r=Wn(t,n);return[].concat(Object(Be.a)(r),Object(Be.a)(e(t,r)))}))},vn=Object(nn.a)((function(e){var t=Wn(e);return[].concat(Object(Be.a)(t),Object(Be.a)(mn(e,t)))}),(function(e){return[e.blocks.order]})),gn=Object(nn.a)((function(e,t){var n=vn(e);return t?Object(p.reduce)(n,(function(n,r){return e.blocks.byClientId[r].name===t?n+1:n}),0):n.length}),(function(e){return[e.blocks.order,e.blocks.byClientId]})),On=Object(nn.a)((function(e,t){return Object(p.map)(Object(p.castArray)(t),(function(t){return pn(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]}));function kn(e,t){return Wn(e,t).length}function jn(e){return e.blockSelection.start}function yn(e){return e.blockSelection.end}function _n(e){return e.blockSelection.start.clientId}function Sn(e){return e.blockSelection.end.clientId}function Cn(e){var t=Rn(e).length;return t||(e.blockSelection.start.clientId?1:0)}function En(e){var t=e.blockSelection,n=t.start,r=t.end;return!!n.clientId&&n.clientId===r.clientId}function wn(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId&&n.clientId===r.clientId&&e.blocks.byClientId[n.clientId]?n.clientId:null}function In(e){var t=wn(e);return t?pn(e,t):null}function Bn(e,t){return void 0!==e.blocks.parents[t]?e.blocks.parents[t]:null}function Tn(e,t){var n,r=t;do{n=r,r=e.blocks.parents[r]}while(r);return n}function xn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=wn(e)),void 0===t&&(t=n<0?Dn(e):Fn(e)),!t)return null;var r=Bn(e,t);if(null===r)return null;var o=e.blocks.order[r],i=o.indexOf(t)+1*n;return i<0?null:i===o.length?null:o[i]}function Ln(e,t){return xn(e,t,-1)}function Nn(e,t){return xn(e,t,1)}function An(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId&&n.clientId?e.blockSelection.initialPosition:null}var Mn=Object(nn.a)((function(e){var t=e.blockSelection,n=t.start,r=t.end;if(void 0===n.clientId||void 0===r.clientId)return sn;if(n.clientId===r.clientId)return[n.clientId];var o=Bn(e,n.clientId);if(null===o)return sn;var i=Wn(e,o),c=i.indexOf(n.clientId),a=i.indexOf(r.clientId);return c>a?i.slice(a,c+1):i.slice(c,a+1)}),(function(e){return[e.blocks.order,e.blockSelection.start.clientId,e.blockSelection.end.clientId]}));function Rn(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId?sn:Mn(e)}var Pn=Object(nn.a)((function(e){var t=Rn(e);return t.length?t.map((function(t){return pn(e,t)})):sn}),(function(e){return[].concat(Object(Be.a)(Mn.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes])}));function Dn(e){return Object(p.first)(Rn(e))||null}function Fn(e){return Object(p.last)(Rn(e))||null}function Hn(e,t){return Dn(e)===t}function Un(e,t){return-1!==Rn(e).indexOf(t)}var Vn=Object(nn.a)((function(e,t){for(var n=t,r=!1;n&&!r;)r=Un(e,n=Bn(e,n));return r}),(function(e){return[e.blocks.order,e.blockSelection.start.clientId,e.blockSelection.end.clientId]}));function zn(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId?null:n.clientId||null}function Kn(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId?null:r.clientId||null}function Wn(e,t){return e.blocks.order[t||""]||sn}function qn(e,t,n){return Wn(e,n).indexOf(t)}function Gn(e,t){var n=e.blockSelection,r=n.start,o=n.end;return r.clientId===o.clientId&&r.clientId===t}function $n(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(p.some)(Wn(e,t),(function(t){return Gn(e,t)||Un(e,t)||n&&$n(e,t,n)}))}function Yn(e,t){if(!t)return!1;var n=Rn(e),r=n.indexOf(t);return r>-1&&r2&&void 0!==arguments[2]?arguments[2]:null,r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(p.isBoolean)(e)?e:Object(p.isArray)(e)?Object(p.includes)(e,t):n},o=Object(i.getBlockType)(t);if(!o)return!1;var c=br(e),a=c.allowedBlockTypes,l=r(a,t,!0);if(!l)return!1;var s=!!cr(e,n);if(s)return!1;var u=pr(e,n),d=Object(p.get)(u,["allowedBlocks"]),f=r(d,t),b=o.parent,h=un(e,n),m=r(b,h);return null!==f&&null!==m?f||m:null!==f?f:null===m||m},lr=Object(nn.a)(ar,(function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]}));function sr(e,t){return Object(p.get)(e.preferences.insertUsage,[t],null)}var ur=function(e,t,n){return!!Object(i.hasBlockSupport)(t,"inserter",!0)&&ar(e,t.name,n)},dr=Object(nn.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?rn:t>0?on:"common"===e?cn:an},r=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<36e5:return 4*t;case n<864e5:return 2*t;case n<6048e5:return t/2;default:return t/4}},o=function(t){var o=t.name,c=!1;Object(i.hasBlockSupport)(t.name,"multiple",!0)||(c=Object(p.some)(On(e,vn(e)),{name:t.name}));var a=Object(p.isArray)(t.parent),l=sr(e,o)||{},s=l.time,u=l.count,d=void 0===u?0:u;return{id:o,name:t.name,initialAttributes:{},title:t.title,icon:t.icon,category:t.category,keywords:t.keywords,isDisabled:c,utility:n(t.category,d,a),frecency:r(s,d)}},c=function(t){var o,c="core/block/".concat(t.id),a=mr(e,t.id);1===a.length&&(o=Object(i.getBlockType)(a[0].name));var l=sr(e,c)||{},s=l.time,u=l.count,d=void 0===u?0:u,f=n("reusable",d,!1),p=r(s,d);return{id:c,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:o?o.icon:ln,category:"reusable",keywords:[],isDisabled:!1,utility:f,frecency:p}},a=Object(i.getBlockTypes)().filter((function(n){return ur(e,n,t)})).map(o),l=ar(e,"core/block",t)?Or(e).map(c):[];return Object(p.orderBy)([].concat(Object(Be.a)(a),Object(Be.a)(l)),["utility","frecency"],["desc","desc"])}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,Or(e),Object(i.getBlockTypes)()]})),fr=Object(nn.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(p.some)(Object(i.getBlockTypes)(),(function(n){return ur(e,n,t)}));if(n)return!0;var r=ar(e,"core/block",t)&&Or(e).length>0;return r}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Or(e),Object(i.getBlockTypes)()]}));function pr(e,t){return e.blockListSettings[t]}function br(e){return e.settings}function hr(e){return e.blocks.isPersistentChange}var mr=Object(nn.a)((function(e,t){var n=Object(p.find)(Or(e),(function(e){return e.id===t}));return n?Object(i.parse)(n.content):null}),(function(e){return[Or(e)]}));function vr(e){return e.blocks.isIgnoredChange}function gr(e){return e.lastBlockAttributesChange}function Or(e){return Object(p.get)(e,["settings","__experimentalReusableBlocks"],sn)}function kr(e){return e.isNavigationMode}function jr(e){return e.didAutomaticChange}var yr={MERGE_BLOCKS:function(e,t){var n=t.dispatch,r=t.getState(),o=Object(Ne.a)(e.blocks,2),a=o[0],s=o[1],u=pn(r,a),d=Object(i.getBlockType)(u.name);if(d.merge){var f=pn(r,s),b=Object(i.getBlockType)(f.name),h=jn(r),m=h.clientId,v=h.attributeKey,g=h.offset,O=(m===a||m===s)&&void 0!==v&&void 0!==g,k=Object(i.cloneBlock)(u),j=Object(i.cloneBlock)(f);if(O){var y=m===a?k:j,_=y.attributes[v],S=(m===a?d:b).attributes[v],C=S.multiline,E=S.__unstableMultilineWrapperTags,w=Object(c.insert)(Object(c.create)({html:_,multilineTag:C,multilineWrapperTags:E}),"†",g,g);y.attributes[v]=Object(c.toHTMLString)({value:w,multilineTag:C})}var I=u.name===f.name?[j]:Object(i.switchToBlockType)(j,u.name);if(I&&I.length){var B=d.merge(k.attributes,I[0].attributes);if(O){var T=Object(p.findKey)(B,(function(e){return"string"==typeof e&&-1!==e.indexOf("†")})),x=B[T],L=d.attributes[T],N=L.multiline,A=L.__unstableMultilineWrapperTags,M=Object(c.create)({html:x,multilineTag:N,multilineWrapperTags:A}),R=M.text.indexOf("†"),P=Object(c.remove)(M,R,R+1),D=Object(c.toHTMLString)({value:P,multilineTag:N});B[T]=D,n($t(u.clientId,T,R,R))}n(wt([u.clientId,f.clientId],[Object(l.a)({},u,{attributes:Object(l.a)({},u.attributes,B)})].concat(Object(Be.a)(I.slice(1)))))}}else n(gt(u.clientId))},RESET_BLOCKS:[function(e,t){var n=t.getState(),r=ir(n),o=cr(n),c=!r||"all"!==o||Object(i.doBlocksMatchTemplate)(e.blocks,r);if(c!==or(n))return Pt(c)}],MULTI_SELECT:function(e,t){var n=Cn((0,t.getState)());Object(tt.speak)(Object(H.sprintf)(Object(H._n)("%s block selected.","%s blocks selected.",n),n),"assertive")},SYNCHRONIZE_TEMPLATE:function(e,t){var n=(0,t.getState)(),r=hn(n),o=ir(n);return bt(Object(i.synchronizeBlocksWithTemplate)(r,o))}};var _r=function(e){var t,n=[Je()(yr),et.a],r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}};return t=n.map((function(e){return e(o)})),r=p.flowRight.apply(void 0,Object(Be.a)(t))(e.dispatch),e.dispatch=r,e},Sr={reducer:Xe,selectors:o,actions:r,controls:it},Cr=Object(m.registerStore)("core/block-editor",Object(l.a)({},Sr,{persist:["preferences"]}));_r(Cr);var Er=Object(b.createHigherOrderComponent)((function(e){return Object(m.withRegistry)((function(t){var n=t.useSubRegistry,r=void 0===n||n,o=t.registry,i=Object(Ae.a)(t,["useSubRegistry","registry"]);if(!r)return Object(u.createElement)(e,Object(s.a)({registry:o},i));var c=Object(u.useState)(null),a=Object(Ne.a)(c,2),l=a[0],d=a[1];return Object(u.useEffect)((function(){var e=Object(m.createRegistry)({},o),t=e.registerStore("core/block-editor",Sr);_r(t),d(e)}),[o]),l?Object(u.createElement)(m.RegistryProvider,{value:l},Object(u.createElement)(e,Object(s.a)({registry:l},i))):null}))}),"withRegistryProvider"),wr=function(e){function t(){return Object(y.a)(this,t),Object(S.a)(this,Object(C.a)(t).apply(this,arguments))}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidMount",value:function(){this.props.updateSettings(this.props.settings),this.props.resetBlocks(this.props.value),this.attachChangeObserver(this.props.registry)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.settings,r=t.updateSettings,o=t.value,i=t.resetBlocks,c=t.registry;n!==e.settings&&r(n),c!==e.registry&&this.attachChangeObserver(c),null!==this.isSyncingOutcomingValue&&this.isSyncingOutcomingValue===o?this.isSyncingOutcomingValue=null:o!==e.value&&(this.isSyncingOutcomingValue=null,this.isSyncingIncomingValue=o,i(o))}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"attachChangeObserver",value:function(e){var t=this;this.unsubscribe&&this.unsubscribe();var n=e.select("core/block-editor"),r=n.getBlocks,o=n.isLastBlockChangePersistent,i=n.__unstableIsLastBlockChangeIgnored,c=r(),a=o();this.unsubscribe=e.subscribe((function(){var e=t.props,n=e.onChange,l=void 0===n?p.noop:n,s=e.onInput,u=void 0===s?p.noop:s,d=r(),f=o();if(d!==c&&(t.isSyncingIncomingValue||i()))return t.isSyncingIncomingValue=null,c=d,void(a=f);(d!==c||f&&!a)&&(d!==c&&(t.isSyncingOutcomingValue=d),c=d,(a=f)?l(c):u(c))}))}},{key:"render",value:function(){return this.props.children}}]),t}(u.Component),Ir=Object(b.compose)([Er,Object(m.withDispatch)((function(e){var t=e("core/block-editor");return{updateSettings:t.updateSettings,resetBlocks:t.resetBlocks}}))])(wr),Br=function(e){var t=e.children,n=e.clientId,r=e.isBlockInSelection,o=Object(m.useSelect)((function(e){return e("core/block-editor").hasSelectedInnerBlock(n,!0)})),i=r||o;return Object(u.createElement)(m.__experimentalAsyncModeProvider,{value:!i},t)},Tr=n(63),xr=n(25);function Lr(e,t,n,r,o,i){var c=n+1;return e>1?function(e,t,n,r,o){var i=t+1;if(o<0&&n)return Object(H.__)("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return Object(H.__)("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return Object(H.sprintf)(Object(H._n)("Move %1$d block from position %2$d up by one place","Move %1$d blocks from position %2$d up by one place",e),e,i);if(o>0&&!r)return Object(H.sprintf)(Object(H._n)("Move %1$d block from position %2$d down by one place","Move %1$d blocks from position %2$d down by one place",e),e,i)}(e,n,r,o,i):r&&o?Object(H.sprintf)(Object(H.__)("Block %s is the only block, and cannot be moved"),t):i>0&&!o?Object(H.sprintf)(Object(H.__)("Move %1$s block from position %2$d down to position %3$d"),t,c,c+1):i>0&&o?Object(H.sprintf)(Object(H.__)("Block %s is at the end of the content and can’t be moved down"),t):i<0&&!r?Object(H.sprintf)(Object(H.__)("Move %1$s block from position %2$d up to position %3$d"),t,c,c-1):i<0&&r?Object(H.sprintf)(Object(H.__)("Block %s is at the beginning of the content and can’t be moved up"),t):void 0}var Nr=Object(u.createElement)(P.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(u.createElement)(P.Polygon,{points:"9,4.5 3.3,10.1 4.8,11.5 9,7.3 13.2,11.5 14.7,10.1 "})),Ar=Object(u.createElement)(P.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(u.createElement)(P.Polygon,{points:"9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 "})),Mr=Object(u.createElement)(P.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(u.createElement)(P.Path,{d:"M13,8c0.6,0,1-0.4,1-1s-0.4-1-1-1s-1,0.4-1,1S12.4,8,13,8z M5,6C4.4,6,4,6.4,4,7s0.4,1,1,1s1-0.4,1-1S5.6,6,5,6z M5,10 c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S5.6,10,5,10z M13,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S13.6,10,13,10z M9,6 C8.4,6,8,6.4,8,7s0.4,1,1,1s1-0.4,1-1S9.6,6,9,6z M9,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S9.6,10,9,10z"})),Rr=Object(m.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlockIndex,i=(0,r.getBlockRootClientId)(n);return{index:o(n,i),rootClientId:i}}))((function(e){var t=e.children,n=e.clientId,r=e.rootClientId,o=e.blockElementId,i=e.index,c=e.onDragStart,a=e.onDragEnd,l={type:"block",srcIndex:i,srcRootClientId:r,srcClientId:n};return Object(u.createElement)(P.Draggable,{elementId:o,transferData:l,onDragStart:c,onDragEnd:a},(function(e){var n=e.onDraggableStart,r=e.onDraggableEnd;return t({onDraggableStart:n,onDraggableEnd:r})}))})),Pr=function(e){var t=e.isVisible,n=e.className,r=e.icon,o=e.onDragStart,i=e.onDragEnd,c=e.blockElementId,a=e.clientId;if(!t)return null;var l=f()("editor-block-mover__control-drag-handle block-editor-block-mover__control-drag-handle",n);return Object(u.createElement)(Rr,{clientId:a,blockElementId:c,onDragStart:o,onDragEnd:i},(function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(u.createElement)("div",{className:l,"aria-hidden":"true",onDragStart:t,onDragEnd:n,draggable:!0},r)}))},Dr=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(E.a)(e)),e.onBlur=e.onBlur.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.onMoveUp,n=e.onMoveDown,r=e.isFirst,o=e.isLast,i=e.isDraggable,c=e.onDragStart,a=e.onDragEnd,l=e.clientIds,s=e.blockElementId,d=e.blockType,b=e.firstIndex,h=e.isLocked,m=e.instanceId,v=e.isHidden,g=e.rootClientId,O=this.state.isFocused,k=Object(p.castArray)(l).length;return h||r&&o&&!g?null:Object(u.createElement)("div",{className:f()("editor-block-mover block-editor-block-mover",{"is-visible":O||!v})},Object(u.createElement)(P.IconButton,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:r?null:t,icon:Nr,label:Object(H.__)("Move up"),"aria-describedby":"block-editor-block-mover__up-description-".concat(m),"aria-disabled":r,onFocus:this.onFocus,onBlur:this.onBlur}),Object(u.createElement)(Pr,{className:"editor-block-mover__control block-editor-block-mover__control",icon:Mr,clientId:l,blockElementId:s,isVisible:i,onDragStart:c,onDragEnd:a}),Object(u.createElement)(P.IconButton,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:o?null:n,icon:Ar,label:Object(H.__)("Move down"),"aria-describedby":"block-editor-block-mover__down-description-".concat(m),"aria-disabled":o,onFocus:this.onFocus,onBlur:this.onBlur}),Object(u.createElement)("span",{id:"block-editor-block-mover__up-description-".concat(m),className:"editor-block-mover__description block-editor-block-mover__description"},Lr(k,d&&d.title,b,r,o,-1)),Object(u.createElement)("span",{id:"block-editor-block-mover__down-description-".concat(m),className:"editor-block-mover__description block-editor-block-mover__description"},Lr(k,d&&d.title,b,r,o,1)))}}]),t}(u.Component),Fr=Object(b.compose)(Object(m.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlock,c=r.getBlockIndex,a=r.getTemplateLock,l=r.getBlockRootClientId,s=r.getBlockOrder,u=Object(p.castArray)(n),d=Object(p.first)(u),f=o(d),b=l(Object(p.first)(u)),h=s(b),m=c(d,b),v=c(Object(p.last)(u),b);return{blockType:f?Object(i.getBlockType)(f.name):null,isLocked:"all"===a(b),rootClientId:b,firstIndex:m,isFirst:0===m,isLast:v===h.length-1}})),Object(m.withDispatch)((function(e,t){var n=t.clientIds,r=t.rootClientId,o=e("core/block-editor"),i=o.moveBlocksDown,c=o.moveBlocksUp;return{onMoveDown:Object(p.partial)(i,n,r),onMoveUp:Object(p.partial)(c,n,r)}})),b.withInstanceId)(Dr);var Hr=function(e){var t=e.className,n=e.actions,r=e.children,o=e.secondaryActions;return Object(u.createElement)("div",{className:f()(t,"editor-warning block-editor-warning")},Object(u.createElement)("div",{className:"editor-warning__contents block-editor-warning__contents"},Object(u.createElement)("p",{className:"editor-warning__message block-editor-warning__message"},r),u.Children.count(n)>0&&Object(u.createElement)("div",{className:"editor-warning__actions block-editor-warning__actions"},u.Children.map(n,(function(e,t){return Object(u.createElement)("span",{key:t,className:"editor-warning__action block-editor-warning__action"},e)})))),o&&Object(u.createElement)(P.Dropdown,{className:"editor-warning__secondary block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(u.createElement)(P.IconButton,{icon:"ellipsis",label:Object(H.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(u.createElement)(P.MenuGroup,null,o.map((function(e,t){return Object(u.createElement)(P.MenuItem,{onClick:e.onClick,key:t},e.title)})))}}))},Ur=n(218),Vr=function(e){var t=e.title,n=e.rawContent,r=e.renderedContent,o=e.action,i=e.actionText,c=e.className;return Object(u.createElement)("div",{className:c},Object(u.createElement)("div",{className:"editor-block-compare__content block-editor-block-compare__content"},Object(u.createElement)("h2",{className:"editor-block-compare__heading block-editor-block-compare__heading"},t),Object(u.createElement)("div",{className:"editor-block-compare__html block-editor-block-compare__html"},n),Object(u.createElement)("div",{className:"editor-block-compare__preview block-editor-block-compare__preview edit-post-visual-editor"},r)),Object(u.createElement)("div",{className:"editor-block-compare__action block-editor-block-compare__action"},Object(u.createElement)(P.Button,{isLarge:!0,tabIndex:"0",onClick:o},i)))},zr=function(e){function t(){return Object(y.a)(this,t),Object(S.a)(this,Object(C.a)(t).apply(this,arguments))}return Object(w.a)(t,e),Object(_.a)(t,[{key:"getDifference",value:function(e,t){return Object(Ur.diffChars)(e,t).map((function(e,t){var n=f()({"editor-block-compare__added block-editor-block-compare__added":e.added,"editor-block-compare__removed block-editor-block-compare__removed":e.removed});return Object(u.createElement)("span",{key:t,className:n},e.value)}))}},{key:"getOriginalContent",value:function(e){return{rawContent:e.originalContent,renderedContent:Object(i.getSaveElement)(e.name,e.attributes)}}},{key:"getConvertedContent",value:function(e){var t=Object(p.castArray)(e),n=t.map((function(e){return Object(i.getSaveContent)(e.name,e.attributes,e.innerBlocks)})),r=t.map((function(e){return Object(i.getSaveElement)(e.name,e.attributes,e.innerBlocks)}));return{rawContent:n.join(""),renderedContent:r}}},{key:"render",value:function(){var e=this.props,t=e.block,n=e.onKeep,r=e.onConvert,o=e.convertor,i=e.convertButtonText,c=this.getOriginalContent(t),a=this.getConvertedContent(o(t)),l=this.getDifference(c.rawContent,a.rawContent);return Object(u.createElement)("div",{className:"editor-block-compare__wrapper block-editor-block-compare__wrapper"},Object(u.createElement)(Vr,{title:Object(H.__)("Current"),className:"editor-block-compare__current block-editor-block-compare__current",action:n,actionText:Object(H.__)("Convert to HTML"),rawContent:c.rawContent,renderedContent:c.renderedContent}),Object(u.createElement)(Vr,{title:Object(H.__)("After Conversion"),className:"editor-block-compare__converted block-editor-block-compare__converted",action:r,actionText:i,rawContent:l,renderedContent:a.renderedContent}))}}]),t}(u.Component),Kr=function(e){function t(e){var n;return Object(y.a)(this,t),(n=Object(S.a)(this,Object(C.a)(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(Object(E.a)(n)),n.onCompareClose=n.onCompareClose.bind(Object(E.a)(n)),n}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onCompare",value:function(){this.setState({compare:!0})}},{key:"onCompareClose",value:function(){this.setState({compare:!1})}},{key:"render",value:function(){var e=this.props,t=e.convertToHTML,n=e.convertToBlocks,r=e.convertToClassic,o=e.attemptBlockRecovery,c=e.block,a=!!Object(i.getBlockType)("core/html"),l=this.state.compare,s=[{title:Object(H.__)("Convert to Classic Block"),onClick:r},{title:Object(H.__)("Attempt Block Recovery"),onClick:o}];return Object(u.createElement)(u.Fragment,null,Object(u.createElement)(Hr,{actions:[Object(u.createElement)(P.Button,{key:"convert",onClick:this.onCompare,isLarge:!0,isPrimary:!a},Object(H._x)("Resolve","imperative verb")),a&&Object(u.createElement)(P.Button,{key:"edit",onClick:t,isLarge:!0,isPrimary:!0},Object(H.__)("Convert to HTML"))],secondaryActions:s},Object(H.__)("This block contains unexpected or invalid content.")),l&&Object(u.createElement)(P.Modal,{title:Object(H.__)("Resolve Block"),onRequestClose:this.onCompareClose,className:"editor-block-compare block-editor-block-compare"},Object(u.createElement)(zr,{block:c,onKeep:t,onConvert:n,convertor:Wr,convertButtonText:Object(H.__)("Convert to Blocks")})))}}]),t}(u.Component),Wr=function(e){return Object(i.rawHandler)({HTML:e.originalContent})},qr=Object(b.compose)([Object(m.withSelect)((function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}})),Object(m.withDispatch)((function(e,t){var n=t.block,r=e("core/block-editor").replaceBlock;return{convertToClassic:function(){r(n.clientId,function(e){return Object(i.createBlock)("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){r(n.clientId,function(e){return Object(i.createBlock)("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){r(n.clientId,Wr(n))},attemptBlockRecovery:function(){var e,t,o,c;r(n.clientId,(t=(e=n).name,o=e.attributes,c=e.innerBlocks,Object(i.createBlock)(t,o,c)))}}}))])(Kr),Gr=Object(u.createElement)(Hr,{className:"block-editor-block-list__block-crash-warning"},Object(H.__)("This block has encountered an error and cannot be previewed.")),$r=function(){return Gr},Yr=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={hasError:!1},e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),t}(u.Component),Xr=n(61),Zr=n.n(Xr),Jr=function(e){function t(e){var n;return Object(y.a)(this,t),(n=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).onChange=n.onChange.bind(Object(E.a)(n)),n.onBlur=n.onBlur.bind(Object(E.a)(n)),n.state={html:e.block.isValid?Object(i.getBlockContent)(e.block):e.block.originalContent},n}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidUpdate",value:function(e){Object(p.isEqual)(this.props.block.attributes,e.block.attributes)||this.setState({html:Object(i.getBlockContent)(this.props.block)})}},{key:"onBlur",value:function(){var e=this.state.html,t=Object(i.getBlockType)(this.props.block.name),n=Object(i.getBlockAttributes)(t,e,this.props.block.attributes),r=e||Object(i.getSaveContent)(t,n),o=!e||Object(i.isValidBlockContent)(t,n,r);this.props.onChange(this.props.clientId,n,r,o),e||this.setState({html:r})}},{key:"onChange",value:function(e){this.setState({html:e.target.value})}},{key:"render",value:function(){var e=this.state.html;return Object(u.createElement)(Zr.a,{className:"editor-block-list__block-html-textarea block-editor-block-list__block-html-textarea",value:e,onBlur:this.onBlur,onChange:this.onChange})}}]),t}(u.Component),Qr=Object(b.compose)([Object(m.withSelect)((function(e,t){return{block:e("core/block-editor").getBlock(t.clientId)}})),Object(m.withDispatch)((function(e){return{onChange:function(t,n,r,o){e("core/block-editor").updateBlock(t,{attributes:n,originalContent:r,isValid:o})}}}))])(Jr);var eo=Object(m.withSelect)((function(e,t){return{name:(0,e("core/block-editor").getBlockName)(t.clientId)}}))((function(e){var t=e.name;if(!t)return null;var n=Object(i.getBlockType)(t);return n?n.title:null})),to=Object(u.forwardRef)((function(e,t){var n=e.clientId,r=Object(m.useDispatch)("core/block-editor").setNavigationMode,o=Object(m.useSelect)((function(e){return{rootClientId:e("core/block-editor").getBlockRootClientId(n)}})).rootClientId;return Object(u.createElement)("div",{className:"editor-block-list__breadcrumb block-editor-block-list__breadcrumb"},Object(u.createElement)(P.Toolbar,null,o&&Object(u.createElement)(u.Fragment,null,Object(u.createElement)(eo,{clientId:o}),Object(u.createElement)("span",{className:"editor-block-list__descendant-arrow block-editor-block-list__descendant-arrow"})),Object(u.createElement)(P.Button,{ref:t,onClick:function(){return r(!1)}},Object(u.createElement)(eo,{clientId:n}))))})),no=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).focusToolbar=e.focusToolbar.bind(Object(E.a)(e)),e.toolbar=Object(u.createRef)(),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"focusToolbar",value:function(){var e=xr.focus.tabbable.find(this.toolbar.current);e.length&&e[0].focus()}},{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusToolbar(),this.toolbar.current.addEventListener("keydown",this.switchOnKeyDown)}},{key:"componentwillUnmount",value:function(){this.toolbar.current.removeEventListener("keydown",this.switchOnKeyDown)}},{key:"render",value:function(){var e=this.props,t=e.children,n=Object(Ae.a)(e,["children"]);return Object(u.createElement)(P.NavigableMenu,Object(s.a)({orientation:"horizontal",role:"toolbar",ref:this.toolbar},Object(p.omit)(n,["focusOnMount"])),Object(u.createElement)(P.KeyboardShortcuts,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":this.focusToolbar}}),t)}}]),t}(u.Component);var ro=function(e){var t=e.focusOnMount;return Object(u.createElement)(no,{focusOnMount:t,className:"editor-block-contextual-toolbar block-editor-block-contextual-toolbar","aria-label":Object(H.__)("Block tools")},Object(u.createElement)(wc,null))};var oo=Object(m.withSelect)((function(e){var t=e("core/block-editor"),n=t.getMultiSelectedBlockClientIds,r=t.isMultiSelecting;return{multiSelectedBlockClientIds:n(),isSelecting:r()}}))((function(e){var t=e.multiSelectedBlockClientIds;return e.isSelecting?null:Object(u.createElement)(Fr,{clientIds:t})}));var io=Object(a.ifViewportMatches)("< small")((function(e){var t=e.clientId;return Object(u.createElement)("div",{className:"editor-block-list__block-mobile-toolbar block-editor-block-list__block-mobile-toolbar"},Object(u.createElement)(zo,null),Object(u.createElement)(Fr,{clientIds:[t]}))})),co=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={isInserterFocused:!1},e.onBlurInserter=e.onBlurInserter.bind(Object(E.a)(e)),e.onFocusInserter=e.onFocusInserter.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onFocusInserter",value:function(e){e.stopPropagation(),this.setState({isInserterFocused:!0})}},{key:"onBlurInserter",value:function(){this.setState({isInserterFocused:!1})}},{key:"render",value:function(){var e=this.state.isInserterFocused,t=this.props,n=t.showInsertionPoint,r=t.rootClientId,o=t.clientId;return Object(u.createElement)("div",{className:"editor-block-list__insertion-point block-editor-block-list__insertion-point"},n&&Object(u.createElement)("div",{className:"editor-block-list__insertion-point-indicator block-editor-block-list__insertion-point-indicator"}),Object(u.createElement)("div",{onFocus:this.onFocusInserter,onBlur:this.onBlurInserter,tabIndex:-1,className:f()("editor-block-list__insertion-point-inserter block-editor-block-list__insertion-point-inserter",{"is-visible":e})},Object(u.createElement)(zo,{rootClientId:r,clientId:o})))}}]),t}(u.Component),ao=Object(m.withSelect)((function(e,t){var n=t.clientId,r=t.rootClientId,o=e("core/block-editor"),i=o.getBlockIndex,c=o.getBlockInsertionPoint,a=o.isBlockInsertionPointVisible,l=i(n,r),s=c();return{showInsertionPoint:a()&&s.index===l&&s.rootClientId===r}}))(co),lo=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).proxyEvent=e.proxyEvent.bind(Object(E.a)(e)),e.eventMap={},e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"proxyEvent",value:function(e){var t=!!e.nativeEvent._blockHandled;e.nativeEvent._blockHandled=!0;var n=this.eventMap[e.type];t&&(n+="Handled"),this.props[n]&&this.props[n](e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.childHandledEvents,r=void 0===n?[]:n,o=t.forwardedRef,i=t.tagName,c=void 0===i?"div":i,a=Object(Ae.a)(t,["childHandledEvents","forwardedRef","tagName"]),s=Object(p.reduce)([].concat(Object(Be.a)(r),Object(Be.a)(Object.keys(a))),(function(t,n){var r=n.match(/^on([A-Z][a-zA-Z]+?)(Handled)?$/);if(r){!!r[2]&&delete a[n];var o="on"+r[1];t[o]=e.proxyEvent,e.eventMap[r[1].toLowerCase()]=o}return t}),{});return Object(u.createElement)(c,Object(l.a)({ref:o},a,s))}}]),t}(u.Component),so=function(e,t){return Object(u.createElement)(lo,Object(s.a)({},e,{forwardedRef:t}))};so.displayName="IgnoreNestedEvents";var uo=Object(u.forwardRef)(so);var fo=Object(b.compose)(Object(m.withSelect)((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getInserterItems,i=r.getTemplateLock;return{items:o(n),isLocked:!!i(n)}})),Object(m.withDispatch)((function(e,t){var n=t.clientId,r=t.rootClientId;return{onInsert:function(t){var o=t.name,c=t.initialAttributes,a=Object(i.createBlock)(o,c);n?e("core/block-editor").replaceBlocks(n,a):e("core/block-editor").insertBlock(a,void 0,r)}}})))((function(e){var t=e.items,n=e.isLocked,r=e.onInsert;if(n)return null;var o=Object(p.filter)(t,(function(e){return!(e.isDisabled||e.name===Object(i.getDefaultBlockName)()&&Object(p.isEmpty)(e.initialAttributes))})).slice(0,3);return Object(u.createElement)("div",{className:"editor-inserter-with-shortcuts block-editor-inserter-with-shortcuts"},o.map((function(e){return Object(u.createElement)(P.IconButton,{key:e.id,className:"editor-inserter-with-shortcuts__block block-editor-inserter-with-shortcuts__block",onClick:function(){return r(e)},label:Object(H.sprintf)(Object(H.__)("Add %s"),e.title),icon:Object(u.createElement)(be,{icon:e.icon})})})))}));function po(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:document).querySelector('[data-block="'+e+'"]')}var bo=function(e){return e+1},ho=function(e){return{top:e.offsetTop,left:e.offsetLeft}};var mo=function(e,t,n,r,o){var i=Object(b.useReducedMotion)()||!r,c=Object(u.useReducer)(bo,0),a=Object(Ne.a)(c,2),l=a[0],s=a[1],d=Object(u.useReducer)(bo,0),f=Object(Ne.a)(d,2),p=f[0],h=f[1],m=Object(u.useState)({x:0,y:0,scrollTop:0}),v=Object(Ne.a)(m,2),g=v[0],O=v[1],k=e.current?ho(e.current):null,j=Object(u.useMemo)((function(){return!!n&&Object(xr.getScrollContainer)(e.current)}),[n]);Object(u.useLayoutEffect)((function(){l&&h()}),[l]),Object(u.useLayoutEffect)((function(){if(i){if(n&&j){e.current.style.transform="none";var t=ho(e.current);j.scrollTop=j.scrollTop-k.top+t.top}}else{e.current.style.transform="none";var r=ho(e.current),o={x:k?k.left-r.left:0,y:k?k.top-r.top:0,scrollTop:k&&j?j.scrollTop-k.top+r.top:0};e.current.style.transform=0===o.x&&0===o.y?void 0:"translate3d(".concat(o.x,"px,").concat(o.y,"px,0)"),s(),O(o)}}),[o]);var y=Object(Tr.useSpring)({from:{x:g.x,y:g.y},to:{x:0,y:0},reset:l!==p,config:{mass:5,tension:2e3,friction:200},immediate:i,onFrame:function(e){n&&j&&!i&&e.y&&(j.scrollTop=g.scrollTop+e.y)}});return i?{}:{transformOrigin:"center",transform:Object(Tr.interpolate)([y.x,y.y],(function(e,t){return 0===e&&0===t?void 0:"translate3d(".concat(e,"px,").concat(t,"px,0)")})),zIndex:Object(Tr.interpolate)([y.x,y.y],(function(e,n){return!t||0===e&&0===n?void 0:"1"}))}},vo=function(e){e.preventDefault()};var go=Object(m.withSelect)((function(e,t){var n=t.clientId,r=t.rootClientId,o=t.isLargeViewport,c=e("core/block-editor"),a=c.isBlockSelected,l=c.isAncestorMultiSelected,s=c.isBlockMultiSelected,u=c.isFirstMultiSelectedBlock,d=c.isTyping,f=c.isCaretWithinFormattedText,p=c.getBlockMode,b=c.isSelectionEnabled,h=c.getSelectedBlocksInitialCaretPosition,m=c.getSettings,v=c.hasSelectedInnerBlock,g=c.getTemplateLock,O=c.getBlockIndex,k=c.getBlockOrder,j=c.__unstableGetBlockWithoutInnerBlocks,y=c.isNavigationMode,_=j(n),S=a(n),C=m(),E=C.hasFixedToolbar,w=C.focusMode,I=C.isRTL,B=g(r),T=v(n,!0),x=O(n,r),L=k(r),N=_||{},A=N.name,M=N.attributes,R=N.isValid;return{isPartOfMultiSelection:s(n)||l(n),isFirstMultiSelected:u(n),isTypingWithinBlock:(S||T)&&d(),isCaretWithinFormattedText:f(),mode:p(n),isSelectionEnabled:b(),initialPosition:S?h():null,isEmptyDefaultBlock:A&&Object(i.isUnmodifiedDefaultBlock)({name:A,attributes:M}),isMovable:"all"!==B,isLocked:!!B,isFocusMode:w&&o,hasFixedToolbar:E&&o,isLast:x===L.length-1,isNavigationMode:y(),isRTL:I,block:_,name:A,attributes:M,isValid:R,isSelected:S,isParentOfSelectedBlock:T}})),Oo=Object(m.withDispatch)((function(e,t,n){var r=n.select,o=e("core/block-editor"),c=o.updateBlockAttributes,a=o.selectBlock,l=o.multiSelect,s=o.insertBlocks,u=o.insertDefaultBlock,d=o.removeBlock,f=o.mergeBlocks,p=o.replaceBlocks,b=o.toggleSelection,h=o.setNavigationMode,m=o.__unstableMarkLastChangeAsPersistent;return{setAttributes:function(e){var n=t.clientId;c(n,e)},onSelect:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.clientId,n=arguments.length>1?arguments[1]:void 0;a(e,n)},onInsertBlocks:function(e,n){var r=t.rootClientId;s(e,n,r)},onInsertDefaultBlockAfter:function(){var e=t.clientId,n=t.rootClientId,o=(0,r("core/block-editor").getBlockIndex)(e,n);u({},n,o+1)},onInsertBlocksAfter:function(e){var n=t.clientId,o=t.rootClientId,i=(0,r("core/block-editor").getBlockIndex)(n,o);s(e,i+1,o)},onRemove:function(e){d(e)},onMerge:function(e){var n=t.clientId,o=r("core/block-editor"),i=o.getPreviousBlockClientId,c=o.getNextBlockClientId;if(e){var a=c(n);a&&f(n,a)}else{var l=i(n);l&&f(l,n)}},onReplace:function(e,n){e.length&&!Object(i.isUnmodifiedDefaultBlock)(e[e.length-1])&&m(),p([t.clientId],e,n)},onShiftSelection:function(){if(t.isSelectionEnabled){var e=r("core/block-editor").getBlockSelectionStart;e()?l(e(),t.clientId):a(t.clientId)}},toggleSelection:function(e){b(e)},enableNavigationMode:function(){h(!0)}}})),ko=Object(b.compose)(b.pure,Object(a.withViewportMatch)({isLargeViewport:"medium"}),go,Oo,Object(b.ifCondition)((function(e){return!!e.block})),Object(P.withFilters)("editor.BlockListBlock"))((function(e){var t=e.blockRef,n=e.mode,r=e.isFocusMode,o=e.hasFixedToolbar,c=e.isLocked,a=e.clientId,d=e.rootClientId,b=e.isSelected,h=e.isPartOfMultiSelection,m=e.isFirstMultiSelected,v=e.isTypingWithinBlock,g=e.isCaretWithinFormattedText,O=e.isEmptyDefaultBlock,k=e.isMovable,j=e.isParentOfSelectedBlock,y=e.isDraggable,_=e.isSelectionEnabled,S=e.className,C=e.name,E=e.isValid,w=e.isLast,I=e.attributes,B=e.initialPosition,T=e.wrapperProps,x=e.setAttributes,L=e.onReplace,N=e.onInsertBlocksAfter,A=e.onMerge,M=e.onSelect,R=e.onRemove,D=e.onInsertDefaultBlockAfter,F=e.toggleSelection,U=e.onShiftSelection,V=e.onSelectionStart,z=e.animateOnChange,K=e.enableAnimation,W=e.isNavigationMode,q=e.enableNavigationMode,G=Object(u.useState)({}),$=Object(Ne.a)(G,2)[1],Y=Object(u.useRef)(null);Object(u.useEffect)((function(){t(Y.current,a)}),[]);var X=Object(u.useRef)(),Z=Object(u.useRef)(),J=Object(u.useRef)(!1),Q=Object(u.useState)(!1),ee=Object(Ne.a)(Q,2),te=ee[0],ne=ee[1],re=function(){te&&ne(!1)};Object(u.useEffect)((function(){(v||b)&&re()}));var oe=Object(u.useState)(!1),ie=Object(Ne.a)(oe,2),ce=ie[0],ae=ie[1],se=Object(u.useState)(!1),ue=Object(Ne.a)(se,2),de=ue[0],fe=ue[1],pe=Object(u.useRef)(!1);Object(u.useEffect)((function(){pe.current&&(pe.current=!1)}));var be=function(e){if(!Y.current.contains(document.activeElement))if(W)Z.current.focus();else{var t=xr.focus.tabbable.find(X.current).filter(xr.isTextField).filter((function(t){return!e||(n=X.current,r=t,o=n.querySelector(".block-editor-block-list__layout"),n.contains(r)&&(!o||!o.contains(r)));var n,r,o})),n=-1===B,r=(n?p.last:p.first)(t);r?Object(xr.placeCaretAtHorizontalEdge)(r,n):Y.current.focus()}},me=Object(u.useRef)(!0);Object(u.useEffect)((function(){b&&be(!me.current),me.current=!1}),[b]),Object(u.useEffect)((function(){m&&Y.current.focus()}),[m]);var ve=mo(Y,b||h,b||m,K,z);Object(u.useLayoutEffect)((function(){b&&(W?Z.current.focus():be(!0))}),[b,W]);var ge=function(e){e&&!b&&M()},Oe=te&&!h,ke=Object(i.getBlockType)(C),je=Object(H.sprintf)(Object(H.__)("Block: %s"),ke.title),ye=C===Object(i.getUnregisteredTypeHandlerName)(),_e=!W&&(b||Oe)&&O&&E,Se=!W&&(b||Oe||w)&&O&&E,Ce=!r&&!Se&&b&&!v,Ee=!r&&!o&&Oe&&!O,we=!W&&b&&!Se&&!h&&!v,Be=b&&W||!W&&!r&&Oe&&!O,Te=!W&&!o&&!Se&&(b&&(!v||g)||m),xe=!W&&Ce,Le=h&&m||!h,Ae=f()("wp-block editor-block-list__block block-editor-block-list__block",{"has-warning":!E||!!de||ye,"is-selected":Ce,"is-navigate-mode":W,"is-multi-selected":h,"is-hovered":Ee,"is-reusable":Object(i.isReusableBlock)(ke),"is-dragging":ce,"is-typing":v,"is-focused":r&&(b||j),"is-focus-mode":r,"has-child-selected":j},S);ke.getEditWrapperProps&&(T=Object(l.a)({},T,ke.getEditWrapperProps(I)));var Me="block-".concat(a),Re=Object(u.createElement)(le,{name:C,isSelected:b,attributes:I,setAttributes:x,insertBlocksAfter:c?void 0:N,onReplace:c?void 0:L,mergeBlocks:c?void 0:A,clientId:a,isSelectionEnabled:_,toggleSelection:F});return"visual"!==n&&(Re=Object(u.createElement)("div",{style:{display:"none"}},Re)),Object(u.createElement)(uo,Object(s.a)({id:Me,ref:Y,onMouseOver:function(){te||h||b||J.current||ne(!0)},onMouseOverHandled:re,onMouseLeave:re,className:Ae,"data-type":C,onTouchStart:function(){J.current=!0},onFocus:function(){b||h||M()},onClick:function(){J.current=!1},onKeyDown:function(e){var t=e.keyCode,n=e.target,r=b&&!c&&(n===Y.current||n===Z.current),o=!W;switch(t){case he.ENTER:r&&o&&(D(),e.preventDefault());break;case he.BACKSPACE:case he.DELETE:r&&(R(a),e.preventDefault());break;case he.ESCAPE:b&&o&&(q(),Y.current.focus())}},tabIndex:"0","aria-label":je,childHandledEvents:["onDragStart","onMouseDown"],tagName:Tr.animated.div},T,{style:T&&T.style?Object(l.a)({},T.style,ve):ve}),Le&&Object(u.createElement)(ao,{clientId:a,rootClientId:d}),Object(u.createElement)(Ie,{clientId:a,rootClientId:d}),m&&Object(u.createElement)(oo,{rootClientId:d}),Object(u.createElement)("div",{className:"editor-block-list__block-edit block-editor-block-list__block-edit"},we&&Object(u.createElement)(Fr,{clientIds:a,blockElementId:Me,isHidden:!b,isDraggable:!1!==y&&!h&&k,onDragStart:function(){ae(!0)},onDragEnd:function(){ae(!1)}}),Be&&Object(u.createElement)(to,{clientId:a,ref:Z}),(Te||pe.current)&&Object(u.createElement)(ro,{focusOnMount:pe.current}),!W&&!Te&&b&&!o&&!O&&Object(u.createElement)(P.KeyboardShortcuts,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":function(){pe.current=!0,$({})}}}),Object(u.createElement)(uo,{ref:X,onDragStart:vo,onMouseDown:function(e){0===e.button&&(e.shiftKey?b||(U(),e.preventDefault()):X.current.contains(e.target)&&(V(a),h&&M()))},"data-block":a},Object(u.createElement)(Yr,{onError:function(){return fe(!0)}},E&&Re,E&&"html"===n&&Object(u.createElement)(Qr,{clientId:a}),!E&&[Object(u.createElement)(qr,{key:"invalid-warning",clientId:a}),Object(u.createElement)("div",{key:"invalid-preview"},Object(i.getSaveElement)(ke,I))]),!!de&&Object(u.createElement)($r,null),xe&&Object(u.createElement)(io,{clientId:a}))),_e&&Object(u.createElement)("div",{className:"editor-block-list__side-inserter block-editor-block-list__side-inserter"},Object(u.createElement)(fo,{clientId:a,rootClientId:d,onToggle:ge})),Se&&Object(u.createElement)("div",{className:"editor-block-list__empty-block-inserter block-editor-block-list__empty-block-inserter"},Object(u.createElement)(zo,{position:"top right",onToggle:ge,rootClientId:d,clientId:a})))})),jo=n(51);var yo=Object(b.compose)(Object(b.withState)({hovered:!1}),Object(m.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.getBlockCount,o=n.getBlockName,c=n.isBlockValid,a=n.getSettings,l=n.getTemplateLock,s=!r(t.rootClientId),u=o(t.lastBlockClientId)===Object(i.getDefaultBlockName)(),d=c(t.lastBlockClientId),f=a().bodyPlaceholder;return{isVisible:s||!u||!d,showPrompt:s,isLocked:!!l(t.rootClientId),placeholder:f}})),Object(m.withDispatch)((function(e,t){var n=e("core/block-editor"),r=n.insertDefaultBlock,o=n.startTyping;return{onAppend:function(){var e=t.rootClientId;r(void 0,e),o()}}})))((function(e){var t=e.isLocked,n=e.isVisible,r=e.onAppend,o=e.showPrompt,i=e.placeholder,c=e.rootClientId,a=e.hovered,l=e.setState;if(t||!n)return null;var s=Object(jo.decodeEntities)(i)||Object(H.__)("Start writing or type / to choose a block");return Object(u.createElement)("div",{"data-root-client-id":c||"",className:"wp-block editor-default-block-appender block-editor-default-block-appender",onMouseEnter:function(){return l({hovered:!0})},onMouseLeave:function(){return l({hovered:!1})}},Object(u.createElement)(Ie,{rootClientId:c}),Object(u.createElement)(Zr.a,{role:"button","aria-label":Object(H.__)("Add block"),className:"editor-default-block-appender__content block-editor-default-block-appender__content",readOnly:!0,onFocus:r,value:o?s:""}),a&&Object(u.createElement)(fo,{rootClientId:c}),Object(u.createElement)(zo,{rootClientId:c,position:"top right",isAppender:!0}))}));var _o=Object(m.withSelect)((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getBlockOrder,c=r.canInsertBlockType;return{isLocked:!!(0,r.getTemplateLock)(n),blockClientIds:o(n),canInsertDefaultBlock:c(Object(i.getDefaultBlockName)(),n)}}))((function(e){var t=e.blockClientIds,n=e.rootClientId,r=e.canInsertDefaultBlock,o=e.isLocked,i=e.renderAppender;return o?null:i?Object(u.createElement)("div",{className:"block-list-appender"},Object(u.createElement)(i,null)):!1===i?null:r?Object(u.createElement)("div",{className:"block-list-appender"},Object(u.createElement)(uo,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(u.createElement)(yo,{rootClientId:n,lastBlockClientId:Object(p.last)(t)}))):Object(u.createElement)("div",{className:"block-list-appender"},Object(u.createElement)(Ko,{rootClientId:n,className:"block-list-appender__toggle"}))})),So=function(e){function t(e){var n;return Object(y.a)(this,t),(n=Object(S.a)(this,Object(C.a)(t).call(this,e))).onSelectionStart=n.onSelectionStart.bind(Object(E.a)(n)),n.onSelectionEnd=n.onSelectionEnd.bind(Object(E.a)(n)),n.setBlockRef=n.setBlockRef.bind(Object(E.a)(n)),n.setLastClientY=n.setLastClientY.bind(Object(E.a)(n)),n.onPointerMove=Object(p.throttle)(n.onPointerMove.bind(Object(E.a)(n)),100),n.onScroll=function(){return n.onPointerMove({clientY:n.lastClientY})},n.lastClientY=0,n.nodes={},n}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("mousemove",this.setLastClientY)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("mousemove",this.setLastClientY)}},{key:"setLastClientY",value:function(e){var t=e.clientY;this.lastClientY=t}},{key:"setBlockRef",value:function(e,t){null===e?delete this.nodes[t]:this.nodes=Object(l.a)({},this.nodes,Object(I.a)({},t,e))}},{key:"onPointerMove",value:function(e){var t=e.clientY;this.props.isMultiSelecting||this.props.onStartMultiSelect();var n=po(this.selectionAtStart).getBoundingClientRect();if(!(t>=n.top&&t<=n.bottom)){var r=t-n.top,o=Object(p.findLast)(this.coordMapKeys,(function(e){return ea.height*l?(c.height-a.height*l)/2+o:0;h(l),j({x:u,y:d}),r.style.marginTop="0"}else{var f=e.getBoundingClientRect();h(f.width/n)}s(!0)}}),100);return function(){e&&window.clearTimeout(e)}}),[]),!t||0===t.length)return null;var y={transform:"scale(".concat(b,")"),visibility:l?"visible":"hidden",left:O,top:k,width:n};return Object(u.createElement)("div",{ref:i,className:f()("block-editor-block-preview__container editor-styles-wrapper",{"is-ready":l}),"aria-hidden":!0},Object(u.createElement)(P.Disabled,{style:y,className:"block-editor-block-preview__content"},Object(u.createElement)(Co,null)))}var wo=Object(m.withSelect)((function(e){return{settings:e("core/block-editor").getSettings()}}))((function(e){var t=e.blocks,n=e.viewportWidth,r=void 0===n?700:n,o=e.padding,i=e.settings,c=Object(u.useMemo)((function(){return Object(p.castArray)(t)}),[t]),a=Object(u.useReducer)((function(e){return e+1}),0),l=Object(Ne.a)(a,2),s=l[0],d=l[1];return Object(u.useLayoutEffect)(d,[t]),Object(u.createElement)(Ir,{value:c,settings:i},Object(u.createElement)(Eo,{key:s,blocks:c,viewportWidth:r,padding:o}))}));var Io=function(e){var t=e.icon,n=e.onClick,r=e.isDisabled,o=e.title,i=e.className,c=Object(Ae.a)(e,["icon","onClick","isDisabled","title","className"]),a=t?{backgroundColor:t.background,color:t.foreground}:{};return Object(u.createElement)("li",{className:"editor-block-types-list__list-item block-editor-block-types-list__list-item"},Object(u.createElement)("button",Object(s.a)({className:f()("editor-block-types-list__item block-editor-block-types-list__item",i),onClick:function(e){e.preventDefault(),n()},disabled:r},c),Object(u.createElement)("span",{className:"editor-block-types-list__item-icon block-editor-block-types-list__item-icon",style:a},Object(u.createElement)(be,{icon:t,showColors:!0})),Object(u.createElement)("span",{className:"editor-block-types-list__item-title block-editor-block-types-list__item-title"},o)))};var Bo=function(e){var t=e.items,n=e.onSelect,r=e.onHover,o=void 0===r?function(){}:r,c=e.children;return(Object(u.createElement)("ul",{role:"list",className:"editor-block-types-list block-editor-block-types-list"},t&&t.map((function(e){return Object(u.createElement)(Io,{key:e.id,className:Object(i.getBlockMenuDefaultClassName)(e.id),icon:e.icon,onClick:function(){n(e),o(null)},onFocus:function(){return o(e)},onMouseEnter:function(){return o(e)},onMouseLeave:function(){return o(null)},onBlur:function(){return o(null)},isDisabled:e.isDisabled,title:e.title})})),c))};var To=function(e){var t=e.blockType;return Object(u.createElement)("div",{className:"block-editor-block-card"},Object(u.createElement)(be,{icon:t.icon,showColors:!0}),Object(u.createElement)("div",{className:"block-editor-block-card__content"},Object(u.createElement)("div",{className:"block-editor-block-card__title"},t.title),Object(u.createElement)("div",{className:"block-editor-block-card__description"},t.description)))};var xo=Object(b.compose)(Object(b.ifCondition)((function(e){var t=e.items;return t&&t.length>0})),Object(m.withSelect)((function(e,t){var n=t.rootClientId,r=(0,e("core/blocks").getBlockType)((0,e("core/block-editor").getBlockName)(n));return{rootBlockTitle:r&&r.title,rootBlockIcon:r&&r.icon}})))((function(e){var t=e.rootBlockIcon,n=e.rootBlockTitle,r=e.items,o=Object(Ae.a)(e,["rootBlockIcon","rootBlockTitle","items"]);return Object(u.createElement)("div",{className:"editor-inserter__child-blocks block-editor-inserter__child-blocks"},(t||n)&&Object(u.createElement)("div",{className:"editor-inserter__parent-block-header block-editor-inserter__parent-block-header"},Object(u.createElement)(be,{icon:t,showColors:!0}),n&&Object(u.createElement)("h2",null,n)),Object(u.createElement)(Bo,Object(s.a)({items:r},o)))})),Lo=Object(P.createSlotFill)("__experimentalInserterMenuExtension"),No=Lo.Fill,Ao=Lo.Slot;No.Slot=Ao;var Mo=No,Ro=function(e){return e.stopPropagation()},Po=function(e,t){var n=Do(t),r=function(e){return-1!==Do(e).indexOf(n)},o=Object(i.getCategories)();return e.filter((function(e){var t=Object(p.find)(o,{slug:e.category});return r(e.title)||Object(p.some)(e.keywords,r)||t&&r(t.title)}))},Do=function(e){return e=(e=(e=(e=Object(p.deburr)(e)).replace(/^\//,"")).toLowerCase()).trim()},Fo=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={childItems:[],filterValue:"",hoveredItem:null,suggestedItems:[],reusableItems:[],itemsPerCategory:{},openPanels:["suggested"]},e.onChangeSearchInput=e.onChangeSearchInput.bind(Object(E.a)(e)),e.onHover=e.onHover.bind(Object(E.a)(e)),e.panels={},e.inserterResults=Object(u.createRef)(),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidMount",value:function(){this.props.fetchReusableBlocks(),this.filter()}},{key:"componentDidUpdate",value:function(e){e.items!==this.props.items&&this.filter(this.state.filterValue)}},{key:"onChangeSearchInput",value:function(e){this.filter(e.target.value)}},{key:"onHover",value:function(e){this.setState({hoveredItem:e});var t=this.props,n=t.showInsertionPoint,r=t.hideInsertionPoint;e?n():r()}},{key:"bindPanel",value:function(e){var t=this;return function(n){t.panels[e]=n}}},{key:"onTogglePanel",value:function(e){var t=this;return function(){-1!==t.state.openPanels.indexOf(e)?t.setState({openPanels:Object(p.without)(t.state.openPanels,e)}):(t.setState({openPanels:[].concat(Object(Be.a)(t.state.openPanels),[e])}),t.props.setTimeout((function(){xe()(t.panels[e],t.inserterResults.current,{alignWithTop:!0})})))}}},{key:"filterOpenPanels",value:function(e,t,n,r){if(e===this.state.filterValue)return this.state.openPanels;if(!e)return["suggested"];var o=[];return r.length>0&&o.push("reusable"),n.length>0&&(o=o.concat(Object.keys(t))),o}},{key:"filter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props,n=t.debouncedSpeak,r=t.items,o=t.rootChildBlocks,c=Po(r,e),a=Object(p.filter)(c,(function(e){var t=e.name;return Object(p.includes)(o,t)})),l=[];if(!e){var s=this.props.maxSuggestedItems||9;l=Object(p.filter)(r,(function(e){return e.utility>0})).slice(0,s)}var u=Object(p.filter)(c,{category:"reusable"}),d=function(e){return Object(p.findIndex)(Object(i.getCategories)(),(function(t){return t.slug===e.category}))},f=Object(p.flow)((function(e){return Object(p.filter)(e,(function(e){return"reusable"!==e.category}))}),(function(e){return Object(p.sortBy)(e,d)}),(function(e){return Object(p.groupBy)(e,"category")}))(c);this.setState({hoveredItem:null,childItems:a,filterValue:e,suggestedItems:l,reusableItems:u,itemsPerCategory:f,openPanels:this.filterOpenPanels(e,f,c,u)});var b=Object.keys(f).reduce((function(e,t){return e+f[t].length}),0),h=Object(H.sprintf)(Object(H._n)("%d result found.","%d results found.",b),b);n(h)}},{key:"onKeyDown",value:function(e){Object(p.includes)([he.LEFT,he.DOWN,he.RIGHT,he.UP,he.BACKSPACE,he.ENTER],e.keyCode)&&e.stopPropagation()}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,r=t.onSelect,o=t.rootClientId,c=t.showInserterHelpPanel,a=this.state,l=a.childItems,s=a.hoveredItem,d=a.itemsPerCategory,b=a.openPanels,h=a.reusableItems,m=a.suggestedItems,v=a.filterValue,g=function(e){return-1!==b.indexOf(e)},O=!Object(p.isEmpty)(m)||!Object(p.isEmpty)(h)||!Object(p.isEmpty)(d),k=s?Object(i.getBlockType)(s.name):null,j=O&&c;return Object(u.createElement)("div",{className:f()("editor-inserter__menu block-editor-inserter__menu",{"has-help-panel":j}),onKeyPress:Ro,onKeyDown:this.onKeyDown},Object(u.createElement)("div",{className:"block-editor-inserter__main-area"},Object(u.createElement)("label",{htmlFor:"block-editor-inserter__search-".concat(n),className:"screen-reader-text"},Object(H.__)("Search for a block")),Object(u.createElement)("input",{id:"block-editor-inserter__search-".concat(n),type:"search",placeholder:Object(H.__)("Search for a block"),className:"editor-inserter__search block-editor-inserter__search",autoFocus:!0,onChange:this.onChangeSearchInput}),Object(u.createElement)("div",{className:"editor-inserter__results block-editor-inserter__results",ref:this.inserterResults,tabIndex:"0",role:"region","aria-label":Object(H.__)("Available block types")},Object(u.createElement)(xo,{rootClientId:o,items:l,onSelect:r,onHover:this.onHover}),!!m.length&&Object(u.createElement)(P.PanelBody,{title:Object(H._x)("Most Used","blocks"),opened:g("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(u.createElement)(Bo,{items:m,onSelect:r,onHover:this.onHover})),Object(p.map)(Object(i.getCategories)(),(function(t){var n=d[t.slug];return n&&n.length?Object(u.createElement)(P.PanelBody,{key:t.slug,title:t.title,icon:t.icon,opened:g(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(u.createElement)(Bo,{items:n,onSelect:r,onHover:e.onHover})):null})),!!h.length&&Object(u.createElement)(P.PanelBody,{className:"editor-inserter__reusable-blocks-panel block-editor-inserter__reusable-blocks-panel",title:Object(H.__)("Reusable"),opened:g("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(u.createElement)(Bo,{items:h,onSelect:r,onHover:this.onHover}),Object(u.createElement)("a",{className:"editor-inserter__manage-reusable-blocks block-editor-inserter__manage-reusable-blocks",href:Object(Le.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(H.__)("Manage All Reusable Blocks"))),Object(u.createElement)(Mo.Slot,{fillProps:{onSelect:r,onHover:this.onHover,filterValue:v,hasItems:O}},(function(e){return e.length?e:O?null:Object(u.createElement)("p",{className:"editor-inserter__no-results block-editor-inserter__no-results"},Object(H.__)("No blocks found."))})))),j&&Object(u.createElement)("div",{className:"block-editor-inserter__menu-help-panel"},s&&Object(u.createElement)(u.Fragment,null,!Object(i.isReusableBlock)(s)&&Object(u.createElement)(To,{blockType:k}),Object(u.createElement)("div",{className:"block-editor-inserter__preview"},Object(i.isReusableBlock)(s)||k.example?Object(u.createElement)("div",{className:"block-editor-inserter__preview-content"},Object(u.createElement)(wo,{padding:10,viewportWidth:500,blocks:k.example?Object(i.getBlockFromExample)(s.name,k.example):Object(i.createBlock)(s.name,s.initialAttributes)})):Object(u.createElement)("div",{className:"block-editor-inserter__preview-content-missing"},Object(H.__)("No Preview Available.")))),!s&&Object(u.createElement)("div",{className:"block-editor-inserter__menu-help-panel-no-block"},Object(u.createElement)("div",{className:"block-editor-inserter__menu-help-panel-no-block-text"},Object(u.createElement)("div",{className:"block-editor-inserter__menu-help-panel-title"},Object(H.__)("Content Blocks")),Object(u.createElement)("p",null,Object(H.__)("Welcome to the wonderful world of blocks! Blocks are the basis of all content within the editor.")),Object(u.createElement)("p",null,Object(H.__)("There are blocks available for all kinds of content: insert text, headings, images, lists, videos, tables, and lots more.")),Object(u.createElement)("p",null,Object(H.__)("Browse through the library to learn more about what each block does."))),Object(u.createElement)(P.Tip,null,Object(H.__)('While writing, you can press "/" to quickly insert new blocks.')))))}}]),t}(u.Component),Ho=Object(b.compose)(Object(m.withSelect)((function(e,t){var n=t.clientId,r=t.isAppender,o=t.rootClientId,i=t.showInserterHelpPanel,c=e("core/block-editor"),a=c.getInserterItems,l=c.getBlockName,s=c.getBlockRootClientId,u=c.getBlockSelectionEnd,d=c.getSettings,f=e("core/blocks").getChildBlockNames,p=o;if(!p&&!n&&!r){var b=u();b&&(p=s(b)||void 0)}return{rootChildBlocks:f(l(p)),items:a(p),showInserterHelpPanel:i&&d().showInserterHelpPanel,destinationRootClientId:p}})),Object(m.withDispatch)((function(e,t,n){var r=n.select,o=e("core/block-editor"),c=o.showInsertionPoint,a=o.hideInsertionPoint;function l(){var e=r("core/block-editor"),n=e.getBlockIndex,o=e.getBlockSelectionEnd,i=e.getBlockOrder,c=t.clientId,a=t.destinationRootClientId,l=t.isAppender;if(c)return n(c,a);var s=o();return!l&&s?n(s,a)+1:i(a).length}return{fetchReusableBlocks:e("core/editor").__experimentalFetchReusableBlocks,showInsertionPoint:function(){var e=l();c(t.destinationRootClientId,e)},hideInsertionPoint:a,onSelect:function(n){var o=e("core/block-editor"),c=o.replaceBlocks,a=o.insertBlock,s=r("core/block-editor").getSelectedBlock,u=t.isAppender,d=n.name,f=n.initialAttributes,p=s(),b=Object(i.createBlock)(d,f);return!u&&p&&Object(i.isUnmodifiedDefaultBlock)(p)?c(p.clientId,b):a(b,l(),t.destinationRootClientId),t.onSelect(),b}}})),P.withSpokenMessages,b.withInstanceId,b.withSafeTimeout)(Fo),Uo=function(e){var t=e.onToggle,n=e.disabled,r=e.isOpen;return Object(u.createElement)(P.IconButton,{icon:"insert",label:Object(H.__)("Add block"),labelPosition:"bottom",onClick:t,className:"editor-inserter__toggle block-editor-inserter__toggle","aria-haspopup":"true","aria-expanded":r,disabled:n})},Vo=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).onToggle=e.onToggle.bind(Object(E.a)(e)),e.renderToggle=e.renderToggle.bind(Object(E.a)(e)),e.renderContent=e.renderContent.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onToggle",value:function(e){var t=this.props.onToggle;t&&t(e)}},{key:"renderToggle",value:function(e){var t=e.onToggle,n=e.isOpen,r=this.props,o=r.disabled,i=r.renderToggle,c=void 0===i?Uo:i;return c({onToggle:t,isOpen:n,disabled:o})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,r=n.rootClientId,o=n.clientId,i=n.isAppender,c=n.showInserterHelpPanel;return Object(u.createElement)(Ho,{onSelect:t,rootClientId:r,clientId:o,isAppender:i,showInserterHelpPanel:c})}},{key:"render",value:function(){var e=this.props.position;return Object(u.createElement)(P.Dropdown,{className:"editor-inserter block-editor-inserter",contentClassName:"editor-inserter__popover block-editor-inserter__popover",position:e,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:Object(H.__)("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),t}(u.Component),zo=Object(b.compose)([Object(m.withSelect)((function(e,t){var n=t.rootClientId;return{hasItems:(0,e("core/block-editor").hasInserterItems)(n)}})),Object(b.ifCondition)((function(e){return e.hasItems}))])(Vo);var Ko=function(e){var t=e.rootClientId,n=e.className;return Object(u.createElement)(u.Fragment,null,Object(u.createElement)(Ie,{rootClientId:t}),Object(u.createElement)(zo,{rootClientId:t,renderToggle:function(e){var t=e.onToggle,r=e.disabled,o=e.isOpen;return Object(u.createElement)(P.Button,{className:f()(n,"block-editor-button-block-appender"),onClick:t,"aria-expanded":o,disabled:r},Object(u.createElement)("span",{className:"screen-reader-text"},Object(H.__)("Add Block")),Object(u.createElement)(P.Icon,{icon:"insert"}))},isAppender:!0}))},Wo=Object(b.createHigherOrderComponent)(Object(m.withSelect)((function(e,t){var n=e("core/block-editor").getSettings(),r=void 0===t.colors?n.colors:t.colors,o=void 0===t.disableCustomColors?n.disableCustomColors:t.disableCustomColors;return{colors:r,disableCustomColors:o,hasColorsToChoose:!Object(p.isEmpty)(r)||!o}})),"withColorContext"),qo=Wo(P.ColorPalette);function Go(e){var t=e.tinyBackgroundColor,n=e.tinyTextColor,r=e.backgroundColor,o=e.textColor,i=t.getBrightness()=24?"large":"small"})?null:Object(u.createElement)(Go,{backgroundColor:t,textColor:c,tinyBackgroundColor:a,tinyTextColor:l})},Yo=n(41),Xo=n.n(Yo),Zo=Object(b.createHigherOrderComponent)((function(e){return q((function(e){return Object(p.pick)(e,["clientId"])}))(e)}),"withClientId"),Jo=Zo((function(e){var t=e.clientId;return Object(u.createElement)(Ko,{rootClientId:t})})),Qo=Object(b.compose)([Zo,Object(m.withSelect)((function(e,t){var n=t.clientId,r=(0,e("core/block-editor").getBlockOrder)(n);return{lastBlockClientId:Object(p.last)(r)}}))])((function(e){var t=e.clientId,n=e.lastBlockClientId;return Object(u.createElement)(uo,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(u.createElement)(yo,{rootClientId:t,lastBlockClientId:n}))}));var ei=function(e){var t=e.options,n=e.onSelect,r=e.allowSkip,o=f()("block-editor-inner-blocks__template-picker",{"has-many-options":t.length>4}),i=r?Object(H.__)("Select a layout to start with, or make one yourself."):Object(H.__)("Select a layout to start with.");return Object(u.createElement)(P.Placeholder,{icon:"layout",label:Object(H.__)("Choose Layout"),instructions:i,className:o},Object(u.createElement)("ul",{className:"block-editor-inner-blocks__template-picker-options",role:"list"},t.map((function(e,t){return Object(u.createElement)("li",{key:t},Object(u.createElement)(P.IconButton,{isLarge:!0,icon:e.icon,onClick:function(){return n(e.template)},className:"block-editor-inner-blocks__template-picker-option",label:e.title}))}))),r&&Object(u.createElement)("div",{className:"block-editor-inner-blocks__template-picker-skip"},Object(u.createElement)(P.Button,{isLink:!0,onClick:function(){return n(void 0)}},Object(H.__)("Skip"))))},ti=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={templateInProcess:!!e.props.template},e.updateNestedSettings(),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.templateLock;0!==e.block.innerBlocks.length&&"all"!==t||this.synchronizeBlocksWithTemplate(),this.state.templateInProcess&&this.setState({templateInProcess:!1})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.template,r=t.block,o=t.templateLock,i=r.innerBlocks;(this.updateNestedSettings(),0===i.length||"all"===o)&&(!Object(p.isEqual)(n,e.template)&&this.synchronizeBlocksWithTemplate())}},{key:"synchronizeBlocksWithTemplate",value:function(){var e=this.props,t=e.template,n=e.block,r=e.replaceInnerBlocks,o=n.innerBlocks,c=Object(i.synchronizeBlocksWithTemplate)(o,t);Object(p.isEqual)(c,o)||r(c)}},{key:"updateNestedSettings",value:function(){var e=this.props,t=e.blockListSettings,n=e.allowedBlocks,r=e.updateNestedSettings,o=e.templateLock,i=e.parentLock,c={allowedBlocks:n,templateLock:void 0===o?i:o};Xo()(t,c)||r(c)}},{key:"render",value:function(){var e=this.props,t=e.isSmallScreen,n=e.clientId,r=e.hasOverlay,o=e.renderAppender,i=e.template,c=e.__experimentalTemplateOptions,a=e.__experimentalOnSelectTemplateOption,l=e.__experimentalAllowTemplateOptionSkip,s=this.state.templateInProcess,d=null===i&&!!c,p=f()("editor-inner-blocks block-editor-inner-blocks",{"has-overlay":t&&r&&!d});return Object(u.createElement)("div",{className:p},!s&&(d?Object(u.createElement)(ei,{options:c,onSelect:a,allowSkip:l}):Object(u.createElement)(Co,{rootClientId:n,renderAppender:o})))}}]),t}(u.Component);(ti=Object(b.compose)([Object(a.withViewportMatch)({isSmallScreen:"< medium"}),q((function(e){return Object(p.pick)(e,["clientId"])})),Object(m.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.isBlockSelected,o=n.hasSelectedInnerBlock,i=n.getBlock,c=n.getBlockListSettings,a=n.getBlockRootClientId,l=n.getTemplateLock,s=t.clientId,u=i(s),d=a(s);return{block:u,blockListSettings:c(s),hasOverlay:"core/template"!==u.name&&!r(s)&&!o(s,!0),parentLock:l(d)}})),Object(m.withDispatch)((function(e,t){var n=e("core/block-editor"),r=n.replaceInnerBlocks,o=n.updateBlockListSettings,i=t.block,c=t.clientId,a=t.templateInsertUpdatesSelection,l=void 0===a||a;return{replaceInnerBlocks:function(e){r(c,e,0===i.innerBlocks.length&&l)},updateNestedSettings:function(t){e(o(c,t))}}}))])(ti)).DefaultBlockAppender=Qo,ti.ButtonBlockAppender=Jo,ti.Content=Object(i.withBlockContentContext)((function(e){var t=e.BlockContent;return Object(u.createElement)(t,null)}));var ni=ti,ri=Object(P.createSlotFill)("InspectorAdvancedControls"),oi=ri.Fill,ii=ri.Slot,ci=G(oi);ci.Slot=ii;var ai=ci,li=Object(P.createSlotFill)("InspectorControls"),si=li.Fill,ui=li.Slot,di=G(si);di.Slot=ui;var fi=di,pi=Object(P.withFilters)("editor.MediaUpload")((function(){return null}));function bi(e){var t=e.url,n=e.urlLabel,r=e.className,o=f()(r,"block-editor-url-popover__link-viewer-url");return t?Object(u.createElement)(P.ExternalLink,{className:o,href:t},n||Object(Le.filterURLForDisplay)(Object(Le.safeDecodeURI)(t))):Object(u.createElement)("span",{className:o})}var hi=function(e){return e.stopPropagation()},mi=function(e){function t(e){var n,r=e.autocompleteRef;return Object(y.a)(this,t),(n=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).onChange=n.onChange.bind(Object(E.a)(n)),n.onKeyDown=n.onKeyDown.bind(Object(E.a)(n)),n.autocompleteRef=r||Object(u.createRef)(),n.inputRef=Object(u.createRef)(),n.updateSuggestions=Object(p.throttle)(n.updateSuggestions.bind(Object(E.a)(n)),200),n.suggestionNodes=[],n.state={suggestions:[],showSuggestions:!1,selectedSuggestion:null},n}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,r=t.selectedSuggestion;n&&null!==r&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,xe()(this.suggestionNodes[r],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100))}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t=this,n=this.props.fetchLinkSuggestions;if(n)if(e.length<2||/^https?:/.test(e))this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});else{this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0});var r=n(e);r.then((function(e){t.suggestionsRequest===r&&(t.setState({suggestions:e,loading:!1}),e.length?t.props.debouncedSpeak(Object(H.sprintf)(Object(H._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):t.props.debouncedSpeak(Object(H.__)("No results."),"assertive"))})).catch((function(){t.suggestionsRequest===r&&t.setState({loading:!1})})),this.suggestionsRequest=r}}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,r=t.selectedSuggestion,o=t.suggestions,i=t.loading;if(n&&o.length&&!i){var c=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case he.UP:e.stopPropagation(),e.preventDefault();var a=r?r-1:o.length-1;this.setState({selectedSuggestion:a});break;case he.DOWN:e.stopPropagation(),e.preventDefault();var l=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:l});break;case he.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(H.__)("Link selected.")));break;case he.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(c))}}else switch(e.keyCode){case he.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case he.DOWN:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}}},{key:"selectLink",value:function(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"handleOnClick",value:function(e){this.selectLink(e),this.inputRef.current.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,r=void 0===n?"":n,o=t.autoFocus,i=void 0===o||o,c=t.instanceId,a=t.className,l=t.id,s=t.isFullWidth,d=t.hasBorder,p=this.state,b=p.showSuggestions,h=p.suggestions,m=p.selectedSuggestion,v=p.loading,g="block-editor-url-input-suggestions-".concat(c),O="block-editor-url-input-suggestion-".concat(c);return Object(u.createElement)("div",{className:f()("editor-url-input block-editor-url-input",a,{"is-full-width":s,"has-border":d})},Object(u.createElement)("input",{id:l,autoFocus:i,type:"text","aria-label":Object(H.__)("URL"),required:!0,value:r,onChange:this.onChange,onInput:hi,placeholder:Object(H.__)("Paste URL or type to search"),onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":b,"aria-autocomplete":"list","aria-owns":g,"aria-activedescendant":null!==m?"".concat(O,"-").concat(m):void 0,ref:this.inputRef}),v&&Object(u.createElement)(P.Spinner,null),b&&!!h.length&&Object(u.createElement)(P.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(u.createElement)("div",{className:f()("editor-url-input__suggestions","block-editor-url-input__suggestions","".concat(a,"__suggestions")),id:g,ref:this.autocompleteRef,role:"listbox"},h.map((function(t,n){return Object(u.createElement)("button",{key:t.id,role:"option",tabIndex:"-1",id:"".concat(O,"-").concat(n),ref:e.bindSuggestionNode(n),className:f()("editor-url-input__suggestion block-editor-url-input__suggestion",{"is-selected":n===m}),onClick:function(){return e.handleOnClick(t)},"aria-selected":n===m},t.title)})))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.disableSuggestions,r=t.showSuggestions;return{showSuggestions:!0!==n&&r}}}]),t}(u.Component),vi=Object(b.compose)(b.withSafeTimeout,P.withSpokenMessages,b.withInstanceId,Object(m.withSelect)((function(e){return{fetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(mi);var gi=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(Object(E.a)(e)),e.state={isSettingsExpanded:!1},e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.additionalControls,n=e.children,r=e.renderSettings,o=e.position,i=void 0===o?"bottom center":o,c=e.focusOnMount,a=void 0===c?"firstElement":c,l=Object(Ae.a)(e,["additionalControls","children","renderSettings","position","focusOnMount"]),d=this.state.isSettingsExpanded,f=!!r&&d;return Object(u.createElement)(P.Popover,Object(s.a)({className:"editor-url-popover block-editor-url-popover",focusOnMount:a,position:i},l),Object(u.createElement)("div",{className:"block-editor-url-popover__input-container"},Object(u.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row"},n,!!r&&Object(u.createElement)(P.IconButton,{className:"editor-url-popover__settings-toggle block-editor-url-popover__settings-toggle",icon:"arrow-down-alt2",label:Object(H.__)("Link settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":d})),f&&Object(u.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row editor-url-popover__settings block-editor-url-popover__settings"},r())),t&&!f&&Object(u.createElement)("div",{className:"block-editor-url-popover__additional-controls"},t))}}]),t}(u.Component);gi.LinkEditor=function(e){var t=e.autocompleteRef,n=e.className,r=e.onChangeInputValue,o=e.value,i=Object(Ae.a)(e,["autocompleteRef","className","onChangeInputValue","value"]);return Object(u.createElement)("form",Object(s.a)({className:f()("block-editor-url-popover__link-editor",n)},i),Object(u.createElement)(vi,{value:o,onChange:r,autocompleteRef:t}),Object(u.createElement)(P.IconButton,{icon:"editor-break",label:Object(H.__)("Apply"),type:"submit"}))},gi.LinkViewer=function(e){var t=e.className,n=e.linkClassName,r=e.onEditLinkClick,o=e.url,i=e.urlLabel,c=Object(Ae.a)(e,["className","linkClassName","onEditLinkClick","url","urlLabel"]);return Object(u.createElement)("div",Object(s.a)({className:f()("block-editor-url-popover__link-viewer",t)},c),Object(u.createElement)(bi,{url:o,urlLabel:i,className:n}),r&&Object(u.createElement)(P.IconButton,{icon:"edit",label:Object(H.__)("Edit"),onClick:r}))};var Oi=gi,ki=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(u.createElement)(Oi,{onClose:o},Object(u.createElement)("form",{className:"editor-media-placeholder__url-input-form block-editor-media-placeholder__url-input-form",onSubmit:r},Object(u.createElement)("input",{className:"editor-media-placeholder__url-input-field block-editor-media-placeholder__url-input-field",type:"url","aria-label":Object(H.__)("URL"),placeholder:Object(H.__)("Paste or type URL"),onChange:n,value:t}),Object(u.createElement)(P.IconButton,{className:"editor-media-placeholder__url-input-submit-button block-editor-media-placeholder__url-input-submit-button",icon:"editor-break",label:Object(H.__)("Apply"),type:"submit"})))},ji=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(Object(E.a)(e)),e.onSubmitSrc=e.onSubmitSrc.bind(Object(E.a)(e)),e.onUpload=e.onUpload.bind(Object(E.a)(e)),e.onFilesUpload=e.onFilesUpload.bind(Object(E.a)(e)),e.openURLInput=e.openURLInput.bind(Object(E.a)(e)),e.closeURLInput=e.closeURLInput.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onlyAllowsImages",value:function(){var e=this.props.allowedTypes;return!!e&&Object(p.every)(e,(function(e){return"image"===e||Object(p.startsWith)(e,"image/")}))}},{key:"componentDidMount",value:function(){this.setState({src:Object(p.get)(this.props.value,["src"],"")})}},{key:"componentDidUpdate",value:function(e){Object(p.get)(e.value,["src"],"")!==Object(p.get)(this.props.value,["src"],"")&&this.setState({src:Object(p.get)(this.props.value,["src"],"")})}},{key:"onChangeSrc",value:function(e){this.setState({src:e.target.value})}},{key:"onSubmitSrc",value:function(e){e.preventDefault(),this.state.src&&this.props.onSelectURL&&(this.props.onSelectURL(this.state.src),this.closeURLInput())}},{key:"onUpload",value:function(e){this.onFilesUpload(e.target.files)}},{key:"onFilesUpload",value:function(e){var t,n=this.props,r=n.addToGallery,o=n.allowedTypes,i=n.mediaUpload,c=n.multiple,a=n.onError,l=n.onSelect,s=n.value;if(c)if(r){var u=void 0===s?[]:s;t=function(e){l(u.concat(e))}}else t=l;else t=function(e){var t=Object(Ne.a)(e,1)[0];return l(t)};i({allowedTypes:o,filesList:e,onFileChange:t,onError:a})}},{key:"openURLInput",value:function(){this.setState({isURLInputVisible:!0})}},{key:"closeURLInput",value:function(){this.setState({isURLInputVisible:!1})}},{key:"renderPlaceholder",value:function(e,t){var n=this.props,r=n.allowedTypes,o=void 0===r?[]:r,i=n.className,c=n.icon,a=n.isAppender,l=n.labels,s=void 0===l?{}:l,d=n.onDoubleClick,p=n.mediaPreview,b=n.notices,h=n.onSelectURL,m=n.mediaUpload,v=n.children,g=s.instructions,O=s.title;if(m||h||(g=Object(H.__)("To edit this block, you need permission to upload media.")),void 0===g||void 0===O){var k=1===o.length,j=k&&"audio"===o[0],y=k&&"image"===o[0],_=k&&"video"===o[0];void 0===g&&m&&(g=Object(H.__)("Upload a media file or pick one from your media library."),j?g=Object(H.__)("Upload an audio file, pick one from your media library, or add one with a URL."):y?g=Object(H.__)("Upload an image file, pick one from your media library, or add one with a URL."):_&&(g=Object(H.__)("Upload a video file, pick one from your media library, or add one with a URL."))),void 0===O&&(O=Object(H.__)("Media"),j?O=Object(H.__)("Audio"):y?O=Object(H.__)("Image"):_&&(O=Object(H.__)("Video")))}var S=f()("block-editor-media-placeholder","editor-media-placeholder",i,{"is-appender":a});return Object(u.createElement)(P.Placeholder,{icon:c,label:O,instructions:g,className:S,notices:b,onClick:t,onDoubleClick:d,preview:p},e,v)}},{key:"renderDropZone",value:function(){var e=this.props,t=e.disableDropZone,n=e.onHTMLDrop,r=void 0===n?p.noop:n;return t?null:Object(u.createElement)(P.DropZone,{onFilesDrop:this.onFilesUpload,onHTMLDrop:r})}},{key:"renderCancelLink",value:function(){var e=this.props.onCancel;return e&&Object(u.createElement)(P.Button,{className:"block-editor-media-placeholder__cancel-button",title:Object(H.__)("Cancel"),isLink:!0,onClick:e},Object(H.__)("Cancel"))}},{key:"renderUrlSelectionUI",value:function(){if(!this.props.onSelectURL)return null;var e=this.state,t=e.isURLInputVisible,n=e.src;return Object(u.createElement)("div",{className:"editor-media-placeholder__url-input-container block-editor-media-placeholder__url-input-container"},Object(u.createElement)(P.Button,{className:"editor-media-placeholder__button block-editor-media-placeholder__button",onClick:this.openURLInput,isToggled:t,isLarge:!0},Object(H.__)("Insert from URL")),t&&Object(u.createElement)(ki,{src:n,onChange:this.onChangeSrc,onSubmit:this.onSubmitSrc,onClose:this.closeURLInput}))}},{key:"renderMediaUploadChecked",value:function(){var e=this,t=this.props,n=t.accept,r=t.addToGallery,o=t.allowedTypes,i=void 0===o?[]:o,c=t.isAppender,a=t.mediaUpload,l=t.multiple,s=void 0!==l&&l,d=t.onSelect,b=t.value,h=void 0===b?{}:b,m=Object(u.createElement)(pi,{addToGallery:r,gallery:s&&this.onlyAllowsImages(),multiple:s,onSelect:d,allowedTypes:i,value:Object(p.isArray)(h)?h.map((function(e){return e.id})):h.id,render:function(e){var t=e.open;return Object(u.createElement)(P.Button,{isLarge:!0,className:f()("editor-media-placeholder__button","editor-media-placeholder__media-library-button"),onClick:function(e){e.stopPropagation(),t()}},Object(H.__)("Media Library"))}});if(a&&c)return Object(u.createElement)(u.Fragment,null,this.renderDropZone(),Object(u.createElement)(P.FormFileUpload,{onChange:this.onUpload,accept:n,multiple:s,render:function(t){var n=t.openFileDialog,r=Object(u.createElement)(u.Fragment,null,Object(u.createElement)(P.IconButton,{isLarge:!0,className:f()("block-editor-media-placeholder__button","editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),icon:"upload"},Object(H.__)("Upload")),m,e.renderUrlSelectionUI(),e.renderCancelLink());return e.renderPlaceholder(r,n)}}));if(a){var v=Object(u.createElement)(u.Fragment,null,this.renderDropZone(),Object(u.createElement)(P.FormFileUpload,{isLarge:!0,className:f()("block-editor-media-placeholder__button","editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:this.onUpload,accept:n,multiple:s},Object(H.__)("Upload")),m,this.renderUrlSelectionUI(),this.renderCancelLink());return this.renderPlaceholder(v)}return this.renderPlaceholder(m)}},{key:"render",value:function(){return this.props.dropZoneUIOnly?Object(u.createElement)(Ee,null,this.renderDropZone()):Object(u.createElement)(Ee,{fallback:this.renderPlaceholder(this.renderUrlSelectionUI())},this.renderMediaUploadChecked())}}]),t}(u.Component),yi=Object(m.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().__experimentalMediaUpload}})),_i=Object(b.compose)(yi,Object(P.withFilters)("editor.MediaPlaceholder"))(ji),Si=Object(H.__)("(current %s: %s)");var Ci=Object(b.compose)([Wo,Object(b.ifCondition)((function(e){return e.hasColorsToChoose}))])((function(e){var t=e.colors,n=e.disableCustomColors,r=e.label,o=e.onChange,i=e.value,c=k(t,i),a=c&&c.name,l=Object(H.sprintf)(Si,r.toLowerCase(),a||i);return Object(u.createElement)(P.BaseControl,{className:"editor-color-palette-control block-editor-color-palette-control"},Object(u.createElement)(P.BaseControl.VisualLabel,null,r,i&&Object(u.createElement)(P.ColorIndicator,{colorValue:i,"aria-label":l})),Object(u.createElement)(qo,Object(s.a)({className:"editor-color-palette-control__color-palette block-editor-color-palette-control__color-palette",value:i,onChange:o},{colors:t,disableCustomColors:n})))})),Ei=function(e,t){return void 0!==t.disableCustomColors?t.disableCustomColors:e},wi=Object(H.__)("(%s: %s)"),Ii=Object(b.ifCondition)((function(e){var t=e.colors,n=e.disableCustomColors,r=e.colorSettings;return Object(p.some)(r,(function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return!Ei(t,n)||(n.colors||e).length>0}(t,n,e)}))}))((function(e){var t=e.children,n=e.colors,r=e.colorSettings,o=e.disableCustomColors,i=e.title,c=Object(Ae.a)(e,["children","colors","colorSettings","disableCustomColors","title"]),a=Object(u.createElement)("span",{className:"editor-panel-color-settings__panel-title block-editor-panel-color-settings__panel-title"},i,function(e,t){return e.map((function(e,n){var r=e.value,o=e.label,i=e.colors;if(!r)return null;var c=k(i||t,r),a=c&&c.name,l=Object(H.sprintf)(wi,o.toLowerCase(),a||r);return Object(u.createElement)(P.ColorIndicator,{key:n,colorValue:r,"aria-label":l})}))}(r,n));return Object(u.createElement)(P.PanelBody,Object(s.a)({className:"editor-panel-color-settings block-editor-panel-color-settings",title:a},c),r.map((function(e,t){return Object(u.createElement)(Ci,Object(s.a)({key:t},Object(l.a)({colors:n,disableCustomColors:o},e)))})),t)})),Bi=Wo(Ii),Ti=Object(u.forwardRef)((function(e,t){var n=e.onChange,r=e.className,o=Object(Ae.a)(e,["onChange","className"]);return Object(u.createElement)(Zr.a,Object(s.a)({ref:t,className:f()("editor-plain-text block-editor-plain-text",r),onChange:function(e){return n(e.target.value)}},o))})),xi=n(35),Li=n(37),Ni=n.n(Li),Ai={position:"bottom left"},Mi=function(){return Object(u.createElement)("div",{className:"editor-format-toolbar block-editor-format-toolbar"},Object(u.createElement)(P.Toolbar,null,["bold","italic","link"].map((function(e){return Object(u.createElement)(P.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})})),Object(u.createElement)(P.Slot,{name:"RichText.ToolbarControls"},(function(e){return 0!==e.length&&Object(u.createElement)(P.DropdownMenu,{icon:!1,label:Object(H.__)("More rich text controls"),controls:Object(p.orderBy)(e.map((function(e){return Object(Ne.a)(e,1)[0].props})),"title"),popoverProps:Ai})}))))},Ri=[he.rawShortcut.primary("z"),he.rawShortcut.primaryShift("z"),he.rawShortcut.primary("y")],Pi=Object(u.createElement)(P.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(p.fromPairs)(Ri.map((function(e){return[e,function(e){return e.preventDefault()}]})))}),Di=function(){return Pi},Fi=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).onUse=e.onUse.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onUse",value:function(){return this.props.onUse(),!1}},{key:"render",value:function(){var e=this.props,t=e.character,n=e.type;return Object(u.createElement)(P.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(I.a)({},he.rawShortcut[n](t),this.onUse)})}}]),t}(u.Component);function Hi(e){var t,n=e.name,r=e.shortcutType,o=e.shortcutCharacter,i=Object(Ae.a)(e,["name","shortcutType","shortcutCharacter"]),c="RichText.ToolbarControls";return n&&(c+=".".concat(n)),r&&o&&(t=he.displayShortcut[r](o)),Object(u.createElement)(P.Fill,{name:c},Object(u.createElement)(P.ToolbarButton,Object(s.a)({},i,{shortcut:t})))}var Ui=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).onInput=e.onInput.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onInput",value:function(e){e.inputType===this.props.inputType&&this.props.onInput()}},{key:"componentDidMount",value:function(){document.addEventListener("input",this.onInput,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("input",this.onInput,!0)}},{key:"render",value:function(){return null}}]),t}(u.Component),Vi=window.requestIdleCallback||function(e){window.setTimeout(e,100)};function zi(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}var Ki=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).onEnter=e.onEnter.bind(Object(E.a)(e)),e.onSplit=e.onSplit.bind(Object(E.a)(e)),e.onPaste=e.onPaste.bind(Object(E.a)(e)),e.onDelete=e.onDelete.bind(Object(E.a)(e)),e.inputRule=e.inputRule.bind(Object(E.a)(e)),e.markAutomaticChange=e.markAutomaticChange.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onEnter",value:function(e){var t=e.value,n=e.onChange,r=e.shiftKey,o=this.props,a=o.onReplace,l=o.onSplit,s=o.multiline,u=a&&l;if(a){var d=Object(i.getBlockTransforms)("from").filter((function(e){return"enter"===e.type})),f=Object(i.findTransform)(d,(function(e){return e.regExp.test(t.text)}));f&&(a([f.transform({content:t.text})]),this.markAutomaticChange())}s?r?n(Object(c.insert)(t,"\n")):u&&Object(c.__unstableIsEmptyLine)(t)?this.onSplit(t):n(Object(c.__unstableInsertLineSeparator)(t)):r||!u?n(Object(c.insert)(t,"\n")):this.onSplit(t)}},{key:"onDelete",value:function(e){var t=e.value,n=e.isReverse,r=this.props,o=r.onMerge,i=r.onRemove;o&&o(!n),i&&Object(c.isEmpty)(t)&&n&&i(!n)}},{key:"onPaste",value:function(e){var t=e.value,n=e.onChange,r=e.html,o=e.plainText,a=e.image,l=this.props,s=l.onReplace,u=l.onSplit,d=l.tagName,f=l.canUserUseUnfilteredHTML,p=l.multiline,b=l.__unstableEmbedURLOnPaste;if(a&&!r){var h=a.getAsFile?a.getAsFile():a,m=Object(i.pasteHandler)({HTML:''),mode:"BLOCKS",tagName:d});return window.console.log("Received item:\n\n",h),void(s&&Object(c.isEmpty)(t)?s(m):this.onSplit(t,m))}var v=s&&u?"AUTO":"INLINE";b&&Object(c.isEmpty)(t)&&Object(Le.isURL)(o.trim())&&(v="BLOCKS");var g=Object(i.pasteHandler)({HTML:r,plainText:o,mode:v,tagName:d,canUserUseUnfilteredHTML:f});if("string"==typeof g){var O=Object(c.create)({html:g});p&&(O=Object(c.replace)(O,/\n+/g,c.__UNSTABLE_LINE_SEPARATOR)),n(Object(c.insert)(t,O))}else g.length>0&&(s&&Object(c.isEmpty)(t)?s(g):this.onSplit(t,g))}},{key:"onSplit",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.props,r=n.onReplace,o=n.onSplit,i=n.__unstableOnSplitMiddle,a=n.multiline;if(r&&o){var l=[],s=Object(c.split)(e),u=Object(Ne.a)(s,2),d=u[0],f=u[1],p=t.length>0,b=zi(a);p&&Object(c.isEmpty)(d)||l.push(o(Object(c.toHTMLString)({value:d,multilineTag:b}))),p?l.push.apply(l,Object(Be.a)(t)):i&&l.push(i()),!p&&i&&Object(c.isEmpty)(f)||l.push(o(Object(c.toHTMLString)({value:f,multilineTag:b})));var h=p?l.length-1:1;r(l,h)}}},{key:"inputRule",value:function(e,t){var n=this.props.onReplace;if(n){var r=e.start,o=e.text;if(" "===o.slice(r-1,r)){var a=o.slice(0,r).trim(),l=Object(i.getBlockTransforms)("from").filter((function(e){return"prefix"===e.type})),s=Object(i.findTransform)(l,(function(e){var t=e.prefix;return a===t}));if(s){var u=t(Object(c.slice)(e,r,o.length));n([s.transform(u)]),this.markAutomaticChange()}}}}},{key:"getAllowedFormats",value:function(){var e=this.props,t=e.allowedFormats,n=e.formattingControls;if(t||n)return t||(Ni()("wp.blockEditor.RichText formattingControls prop",{alternative:"allowedFormats"}),n.map((function(e){return"core/".concat(e)})))}},{key:"markAutomaticChange",value:function(){var e=this;Vi((function(){e.props.markAutomaticChange()}))}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.tagName,r=e.value,o=e.onChange,a=e.selectionStart,l=e.selectionEnd,d=e.onSelectionChange,p=e.multiline,b=e.inlineToolbar,h=e.wrapperClassName,m=e.className,v=e.autocompleters,g=e.onReplace,O=e.isCaretWithinFormattedText,k=e.onEnterFormattedText,j=e.onExitFormattedText,y=e.isSelected,_=e.onCreateUndoLevel,S=(e.markAutomaticChange,e.didAutomaticChange),C=e.undo,E=e.placeholder,w=e.keepPlaceholderOnFocus,I=(e.allowedFormats,e.withoutInteractiveFormatting),B=(e.onRemove,e.onMerge,e.onSplit,e.canUserUseUnfilteredHTML,e.clientId,e.identifier,e.instanceId,e.start),T=e.reversed,x=Object(Ae.a)(e,["children","tagName","value","onChange","selectionStart","selectionEnd","onSelectionChange","multiline","inlineToolbar","wrapperClassName","className","autocompleters","onReplace","isCaretWithinFormattedText","onEnterFormattedText","onExitFormattedText","isSelected","onCreateUndoLevel","markAutomaticChange","didAutomaticChange","undo","placeholder","keepPlaceholderOnFocus","allowedFormats","withoutInteractiveFormatting","onRemove","onMerge","onSplit","canUserUseUnfilteredHTML","clientId","identifier","instanceId","start","reversed"]),L=zi(p),N=this.getAllowedFormats(),A=!N||N.length>0,M=r,R=o;Array.isArray(r)&&(M=i.children.toHTML(r),R=function(e){return o(i.children.fromDOM(Object(c.__unstableCreateElement)(document,e).childNodes))});var D=Object(u.createElement)(c.__experimentalRichText,Object(s.a)({},x,{value:M,onChange:R,selectionStart:a,selectionEnd:l,onSelectionChange:d,tagName:n,className:f()("editor-rich-text__editable block-editor-rich-text__editable",m,{"is-selected":y,"keep-placeholder-on-focus":w}),placeholder:E,allowedFormats:N,withoutInteractiveFormatting:I,onEnter:this.onEnter,onDelete:this.onDelete,onPaste:this.onPaste,__unstableIsSelected:y,__unstableInputRule:this.inputRule,__unstableMultilineTag:L,__unstableIsCaretWithinFormattedText:O,__unstableOnEnterFormattedText:k,__unstableOnExitFormattedText:j,__unstableOnCreateUndoLevel:_,__unstableMarkAutomaticChange:this.markAutomaticChange,__unstableDidAutomaticChange:S,__unstableUndo:C}),(function(e){var n=e.isSelected,r=e.value,o=e.onChange,i=e.Editable;return Object(u.createElement)(u.Fragment,null,t&&t({value:r,onChange:o}),n&&!b&&A&&Object(u.createElement)(pe,null,Object(u.createElement)(Mi,null)),n&&b&&A&&Object(u.createElement)(P.IsolatedEventContainer,{className:"editor-rich-text__inline-toolbar block-editor-rich-text__inline-toolbar"},Object(u.createElement)(Mi,null)),n&&Object(u.createElement)(Di,null),Object(u.createElement)($,{onReplace:g,completers:v,record:r,onChange:o,isSelected:n},(function(e){var t=e.listBoxId,n=e.activeId,r=e.onKeyDown;return Object(u.createElement)(i,{"aria-autocomplete":t?"list":void 0,"aria-owns":t,"aria-activedescendant":n,start:B,reversed:T,onKeyDown:r})})))}));return Object(u.createElement)("div",{className:f()("editor-rich-text block-editor-rich-text",h)},D)}}]),t}(u.Component),Wi=Object(b.compose)([b.withInstanceId,q((function(e){return{clientId:e.clientId}})),Object(m.withSelect)((function(e,t){var n=t.clientId,r=t.instanceId,o=t.identifier,i=void 0===o?r:o,c=t.isSelected,a=e("core/block-editor"),l=a.isCaretWithinFormattedText,s=a.getSelectionStart,u=a.getSelectionEnd,d=a.getSettings,f=a.didAutomaticChange,p=s(),b=u(),h=d().__experimentalCanUserUseUnfilteredHTML;return void 0===c?c=p.clientId===n&&p.attributeKey===i:c&&(c=p.clientId===n),{canUserUseUnfilteredHTML:h,isCaretWithinFormattedText:l(),selectionStart:c?p.offset:void 0,selectionEnd:c?b.offset:void 0,isSelected:c,didAutomaticChange:f()}})),Object(m.withDispatch)((function(e,t){var n=t.clientId,r=t.instanceId,o=t.identifier,i=void 0===o?r:o,c=e("core/block-editor"),a=c.__unstableMarkLastChangeAsPersistent,l=c.enterFormattedText,s=c.exitFormattedText,u=c.selectionChange;return{onCreateUndoLevel:a,onEnterFormattedText:l,onExitFormattedText:s,onSelectionChange:function(e,t){u(n,i,e,t)},markAutomaticChange:c.__unstableMarkAutomaticChange,undo:e("core/editor").undo}})),Object(P.withFilters)("experimentalRichText")])(Ki);Wi.Content=function(e){var t=e.value,n=e.tagName,r=e.multiline,o=Object(Ae.a)(e,["value","tagName","multiline"]);Array.isArray(t)&&(t=i.children.toHTML(t));var c=zi(r);!t&&c&&(t="<".concat(c,">"));var a=Object(u.createElement)(u.RawHTML,null,t);return n?Object(u.createElement)(n,Object(p.omit)(o,["format"]),a):a},Wi.isEmpty=function(e){return!e||0===e.length},Wi.Content.defaultProps={format:"string",value:""};var qi=Wi,Gi=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(E.a)(e)),e.submitLink=e.submitLink.bind(Object(E.a)(e)),e.state={expanded:!1},e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"toggle",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"submitLink",value:function(e){e.preventDefault(),this.toggle()}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.onChange,r=this.state.expanded,o=t?Object(H.__)("Edit link"):Object(H.__)("Insert link");return Object(u.createElement)("div",{className:"editor-url-input__button block-editor-url-input__button"},Object(u.createElement)(P.IconButton,{icon:"admin-links",label:o,onClick:this.toggle,className:f()("components-toolbar__control",{"is-active":t})}),r&&Object(u.createElement)("form",{className:"editor-url-input__button-modal block-editor-url-input__button-modal",onSubmit:this.submitLink},Object(u.createElement)("div",{className:"editor-url-input__button-modal-line block-editor-url-input__button-modal-line"},Object(u.createElement)(P.IconButton,{className:"editor-url-input__back block-editor-url-input__back",icon:"arrow-left-alt",label:Object(H.__)("Close"),onClick:this.toggle}),Object(u.createElement)(vi,{value:t||"",onChange:n}),Object(u.createElement)(P.IconButton,{icon:"editor-break",label:Object(H.__)("Submit"),type:"submit"}))))}}]),t}(u.Component),$i=Object(P.createSlotFill)("__experimentalBlockSettingsMenuFirstItem"),Yi=$i.Fill,Xi=$i.Slot;Yi.Slot=Xi;var Zi=Yi,Ji=Object(P.createSlotFill)("__experimentalBlockSettingsMenuPluginsExtension"),Qi=Ji.Fill,ec=Ji.Slot;Qi.Slot=ec;var tc=Qi;var nc=Object(b.compose)([Object(m.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.canInsertBlockType,o=n.getBlockRootClientId,c=n.getBlocksByClientId,a=n.getTemplateLock,l=e("core/blocks").getDefaultBlockName,s=c(t.clientIds),u=o(t.clientIds[0]);return{blocks:s,canDuplicate:Object(p.every)(s,(function(e){return!!e&&Object(i.hasBlockSupport)(e.name,"multiple",!0)&&r(e.name,u)})),canInsertDefaultBlock:r(l(),u),extraProps:t,isLocked:!!a(u),rootClientId:u}})),Object(m.withDispatch)((function(e,t,n){var r=n.select,o=t.clientIds,c=t.rootClientId,a=t.blocks,l=t.isLocked,s=t.canDuplicate,u=e("core/block-editor"),d=u.insertBlocks,f=u.multiSelect,b=u.removeBlocks,h=u.insertDefaultBlock,m=u.replaceBlocks;return{onDuplicate:function(){if(s){var e=(0,r("core/block-editor").getBlockIndex)(Object(p.last)(Object(p.castArray)(o)),c),t=a.map((function(e){return Object(i.cloneBlock)(e)}));d(t,e+1,c),t.length>1&&f(Object(p.first)(t).clientId,Object(p.last)(t).clientId)}},onRemove:function(){l||b(o)},onInsertBefore:function(){if(!l){var e=(0,r("core/block-editor").getBlockIndex)(Object(p.first)(Object(p.castArray)(o)),c);h({},c,e)}},onInsertAfter:function(){if(!l){var e=(0,r("core/block-editor").getBlockIndex)(Object(p.last)(Object(p.castArray)(o)),c);h({},c,e+1)}},onGroup:function(){if(a.length){var e=(0,r("core/blocks").getGroupingBlockName)(),t=Object(i.switchToBlockType)(a,e);t&&m(o,t)}},onUngroup:function(){if(a.length){var e=a[0].innerBlocks;e.length&&m(o,e)}}}}))])((function(e){var t=e.canDuplicate,n=e.canInsertDefaultBlock;return(0,e.children)({canDuplicate:t,canInsertDefaultBlock:n,isLocked:e.isLocked,onDuplicate:e.onDuplicate,onGroup:e.onGroup,onInsertAfter:e.onInsertAfter,onInsertBefore:e.onInsertBefore,onRemove:e.onRemove,onUngroup:e.onUngroup})})),rc=function(e){return e.preventDefault(),e},oc={duplicate:{raw:he.rawShortcut.primaryShift("d"),display:he.displayShortcut.primaryShift("d")},removeBlock:{raw:he.rawShortcut.access("z"),display:he.displayShortcut.access("z")},insertBefore:{raw:he.rawShortcut.primaryAlt("t"),display:he.displayShortcut.primaryAlt("t")},insertAfter:{raw:he.rawShortcut.primaryAlt("y"),display:he.displayShortcut.primaryAlt("y")}},ic=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).selectAll=e.selectAll.bind(Object(E.a)(e)),e.deleteSelectedBlocks=e.deleteSelectedBlocks.bind(Object(E.a)(e)),e.clearMultiSelection=e.clearMultiSelection.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"selectAll",value:function(e){var t=this.props,n=t.rootBlocksClientIds,r=t.onMultiSelect;e.preventDefault(),r(Object(p.first)(n),Object(p.last)(n))}},{key:"deleteSelectedBlocks",value:function(e){var t=this.props,n=t.selectedBlockClientIds,r=t.hasMultiSelection,o=t.onRemove,i=t.isLocked;r&&(e.preventDefault(),i||o(n))}},{key:"clearMultiSelection",value:function(){var e=this.props,t=e.hasMultiSelection,n=e.clearSelectedBlock;t&&(n(),window.getSelection().removeAllRanges())}},{key:"render",value:function(){var e,t=this.props.selectedBlockClientIds;return Object(u.createElement)(u.Fragment,null,Object(u.createElement)(P.KeyboardShortcuts,{shortcuts:(e={},Object(I.a)(e,he.rawShortcut.primary("a"),this.selectAll),Object(I.a)(e,"backspace",this.deleteSelectedBlocks),Object(I.a)(e,"del",this.deleteSelectedBlocks),Object(I.a)(e,"escape",this.clearMultiSelection),e)}),t.length>0&&Object(u.createElement)(nc,{clientIds:t},(function(e){var t,n=e.onDuplicate,r=e.onRemove,o=e.onInsertAfter,i=e.onInsertBefore;return Object(u.createElement)(P.KeyboardShortcuts,{bindGlobal:!0,shortcuts:(t={},Object(I.a)(t,oc.duplicate.raw,Object(p.flow)(rc,n)),Object(I.a)(t,oc.removeBlock.raw,Object(p.flow)(rc,r)),Object(I.a)(t,oc.insertBefore.raw,Object(p.flow)(rc,i)),Object(I.a)(t,oc.insertAfter.raw,Object(p.flow)(rc,o)),t)})})))}}]),t}(u.Component),cc=Object(b.compose)([Object(m.withSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockOrder,r=t.getSelectedBlockClientIds,o=t.hasMultiSelection,i=t.getBlockRootClientId,c=t.getTemplateLock,a=r();return{rootBlocksClientIds:n(),hasMultiSelection:o(),isLocked:Object(p.some)(a,(function(e){return!!c(i(e))})),selectedBlockClientIds:a}})),Object(m.withDispatch)((function(e){var t=e("core/block-editor");return{clearSelectedBlock:t.clearSelectedBlock,onMultiSelect:t.multiSelect,onRemove:t.removeBlocks}}))])(ic),ac=Object(m.withSelect)((function(e){return{selectedBlockClientId:e("core/block-editor").getBlockSelectionStart()}}))((function(e){var t=e.selectedBlockClientId;return t&&Object(u.createElement)(P.Button,{isDefault:!0,type:"button",className:"editor-skip-to-selected-block block-editor-skip-to-selected-block",onClick:function(){po(t).closest(".block-editor-block-list__block").focus()}},Object(H.__)("Skip to the selected block"))})),lc=n(142),sc=n.n(lc);function uc(e,t,n){var r=new sc.a(e);return t&&r.remove("is-style-"+t.name),r.add("is-style-"+n.name),r.value}var dc=Object(b.compose)([Object(m.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock,o=e("core/blocks").getBlockStyles,c=r(n),a=Object(i.getBlockType)(c.name);return{block:c,className:c.attributes.className||"",styles:o(c.name),type:a}})),Object(m.withDispatch)((function(e,t){var n=t.clientId;return{onChangeClassName:function(t){e("core/block-editor").updateBlockAttributes(n,{className:t})}}}))])((function(e){var t=e.styles,n=e.className,r=e.onChangeClassName,o=e.type,c=e.block,a=e.onSwitch,s=void 0===a?p.noop:a,d=e.onHoverClassName,b=void 0===d?p.noop:d;if(!t||0===t.length)return null;o.styles||Object(p.find)(t,"isDefault")||(t=[{name:"default",label:Object(H._x)("Default","block style"),isDefault:!0}].concat(Object(Be.a)(t)));var h=function(e,t){var n=!0,r=!1,o=void 0;try{for(var i,c=new sc.a(t).values()[Symbol.iterator]();!(n=(i=c.next()).done);n=!0){var a=i.value;if(-1!==a.indexOf("is-style-")){var l=a.substring(9),s=Object(p.find)(e,{name:l});if(s)return s}}}catch(e){r=!0,o=e}finally{try{n||null==c.return||c.return()}finally{if(r)throw o}}return Object(p.find)(e,"isDefault")}(t,n);function m(e){var t=uc(n,h,e);r(t),b(null),s()}return Object(u.createElement)("div",{className:"editor-block-styles block-editor-block-styles"},t.map((function(e){var t=uc(n,h,e);return Object(u.createElement)("div",{key:e.name,className:f()("editor-block-styles__item block-editor-block-styles__item",{"is-active":h===e}),onClick:function(){return m(e)},onKeyDown:function(t){he.ENTER!==t.keyCode&&he.SPACE!==t.keyCode||(t.preventDefault(),m(e))},onMouseEnter:function(){return b(t)},onMouseLeave:function(){return b(null)},role:"button",tabIndex:"0","aria-label":e.label||e.name},Object(u.createElement)("div",{className:"editor-block-styles__item-preview block-editor-block-styles__item-preview"},Object(u.createElement)(wo,{viewportWidth:500,blocks:o.example?Object(i.getBlockFromExample)(c.name,{attributes:Object(l.a)({},o.example.attributes,{className:t}),innerBlocks:o.example.innerBlocks}):Object(i.cloneBlock)(c,{className:t})})),Object(u.createElement)("div",{className:"editor-block-styles__item-label block-editor-block-styles__item-label"},e.label||e.name))})))})),fc=n(96);var pc=Object(m.withSelect)((function(e){return{blocks:(0,e("core/block-editor").getMultiSelectedBlocks)()}}))((function(e){var t=e.blocks,n=Object(fc.count)(Object(i.serialize)(t),"words");return Object(u.createElement)("div",{className:"editor-multi-selection-inspector__card block-editor-multi-selection-inspector__card"},Object(u.createElement)(be,{icon:Object(u.createElement)(P.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(u.createElement)(P.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),showColors:!0}),Object(u.createElement)("div",{className:"editor-multi-selection-inspector__card-content block-editor-multi-selection-inspector__card-content"},Object(u.createElement)("div",{className:"editor-multi-selection-inspector__card-title block-editor-multi-selection-inspector__card-title"},Object(H.sprintf)(Object(H._n)("%d block","%d blocks",t.length),t.length)),Object(u.createElement)("div",{className:"editor-multi-selection-inspector__card-description block-editor-multi-selection-inspector__card-description"},Object(H.sprintf)(Object(H._n)("%d word","%d words",n),n))))}));function bc(e){var t=e.blockName,n=Object(m.useSelect)((function(e){var n=e("core/block-editor").getSettings().__experimentalPreferredStyleVariations;return{preferredStyle:Object(p.get)(n,["value",t]),onUpdatePreferredStyleVariations:Object(p.get)(n,["onChange"],null),styles:e("core/blocks").getBlockStyles(t)}}),[t]),r=n.preferredStyle,o=n.onUpdatePreferredStyleVariations,i=n.styles,c=Object(u.useMemo)((function(){return[{label:Object(H.__)("Not set"),value:""}].concat(Object(Be.a)(i.map((function(e){return{label:e.label,value:e.name}}))))}),[i]),a=Object(u.useCallback)((function(e){o(t,e)}),[t,o]);return o&&Object(u.createElement)(P.SelectControl,{options:c,value:r||"",label:Object(H.__)("Default Style"),onChange:a})}var hc=Object(m.withSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getSelectedBlockCount,o=t.getBlockName,c=e("core/blocks").getBlockStyles,a=n(),l=a&&o(a),s=a&&Object(i.getBlockType)(l),u=a&&c(l);return{count:r(),hasBlockStyles:u&&u.length>0,selectedBlockName:l,selectedBlockClientId:a,blockType:s}}))((function(e){var t=e.blockType,n=e.count,r=e.hasBlockStyles,o=e.selectedBlockClientId,c=e.selectedBlockName,a=e.showNoBlockSelectedMessage,l=void 0===a||a;if(n>1)return Object(u.createElement)(pc,null);var s=c===Object(i.getUnregisteredTypeHandlerName)();return t&&o&&!s?Object(u.createElement)(u.Fragment,null,Object(u.createElement)(To,{blockType:t}),r&&Object(u.createElement)("div",null,Object(u.createElement)(P.PanelBody,{title:Object(H.__)("Styles"),initialOpen:!1},Object(u.createElement)(dc,{clientId:o}),Object(u.createElement)(bc,{blockName:t.name}))),Object(u.createElement)("div",null,Object(u.createElement)(fi.Slot,null)),Object(u.createElement)("div",null,Object(u.createElement)(ai.Slot,null,(function(e){return!Object(p.isEmpty)(e)&&Object(u.createElement)(P.PanelBody,{className:"editor-block-inspector__advanced block-editor-block-inspector__advanced",title:Object(H.__)("Advanced"),initialOpen:!1},e)}))),Object(u.createElement)(ac,{key:"back"})):l?Object(u.createElement)("span",{className:"editor-block-inspector__no-blocks block-editor-block-inspector__no-blocks"},Object(H.__)("No block selected.")):null})),mc=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(E.a)(e)),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,r=t.hasMultiSelection,o=t.clearSelectedBlock,i=n||r;e.target===this.container&&i&&o()}},{key:"render",value:function(){return Object(u.createElement)("div",Object(s.a)({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(p.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(u.Component),vc=Object(b.compose)([Object(m.withSelect)((function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:r()}})),Object(m.withDispatch)((function(e){return{clearSelectedBlock:e("core/block-editor").clearSelectedBlock}}))])(mc);var gc=Object(b.compose)([Object(m.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlock,c=r.getBlockMode,a=r.getSettings,l=o(n),s=a().codeEditingEnabled;return{mode:c(n),blockType:l?Object(i.getBlockType)(l.name):null,isCodeEditingEnabled:s}})),Object(m.withDispatch)((function(e,t){var n=t.onToggle,r=void 0===n?p.noop:n,o=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(o),r()}}}))])((function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,c=void 0!==o&&o,a=e.isCodeEditingEnabled,l=void 0===a||a;if(!Object(i.hasBlockSupport)(t,"html",!0)||!l)return null;var s="visual"===n?Object(H.__)("Edit as HTML"):Object(H.__)("Edit visually");return Object(u.createElement)(P.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:r,icon:"html"},!c&&s)}));function Oc(e){var t=e.shouldRender,n=e.onClick,r=e.small;if(!t)return null;var o=Object(H.__)("Convert to Blocks");return Object(u.createElement)(P.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:n,icon:"screenoptions"},!r&&o)}var kc=Object(b.compose)(Object(m.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&"core/html"===r.name}})),Object(m.withDispatch)((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.getBlockContent)(n)}))}}})))(Oc),jc=Object(b.compose)(Object(m.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&r.name===Object(i.getFreeformContentHandlerName)()}})),Object(m.withDispatch)((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.serialize)(n)}))}}})))(Oc),yc={className:"block-editor-block-settings-menu__popover editor-block-settings-menu__popover",position:"bottom right"};var _c=function(e){var t=e.clientIds,n=Object(p.castArray)(t),r=n.length,o=n[0];return Object(u.createElement)(nc,{clientIds:t},(function(e){var n=e.canDuplicate,i=e.canInsertDefaultBlock,c=e.isLocked,a=e.onDuplicate,l=e.onInsertAfter,s=e.onInsertBefore,d=e.onRemove;return Object(u.createElement)(P.Toolbar,null,Object(u.createElement)(P.DropdownMenu,{icon:"ellipsis",label:Object(H.__)("More options"),className:"block-editor-block-settings-menu",popoverProps:yc},(function(e){var f=e.onClose;return Object(u.createElement)(u.Fragment,null,Object(u.createElement)(P.MenuGroup,null,Object(u.createElement)(Zi.Slot,{fillProps:{onClose:f}}),1===r&&Object(u.createElement)(jc,{clientId:o}),1===r&&Object(u.createElement)(kc,{clientId:o}),n&&Object(u.createElement)(P.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(p.flow)(f,a),icon:"admin-page",shortcut:oc.duplicate.display},Object(H.__)("Duplicate")),i&&Object(u.createElement)(u.Fragment,null,Object(u.createElement)(P.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(p.flow)(f,s),icon:"insert-before",shortcut:oc.insertBefore.display},Object(H.__)("Insert Before")),Object(u.createElement)(P.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(p.flow)(f,l),icon:"insert-after",shortcut:oc.insertAfter.display},Object(H.__)("Insert After"))),1===r&&Object(u.createElement)(gc,{clientId:o,onToggle:f}),Object(u.createElement)(tc.Slot,{fillProps:{clientIds:t,onClose:f}})),Object(u.createElement)(P.MenuGroup,null,!c&&Object(u.createElement)(P.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(p.flow)(f,d),icon:"trash",shortcut:oc.removeBlock.display},Object(H._n)("Remove Block","Remove Blocks",r))))})))}))},Sc=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={hoveredClassName:null},e.onHoverClassName=e.onHoverClassName.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onHoverClassName",value:function(e){this.setState({hoveredClassName:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.blocks,r=t.onTransform,o=t.inserterItems,c=t.hasBlockStyles,a=this.state.hoveredClassName;if(!n||!n.length)return null;var s,d=a?n[0]:null,f=a?Object(i.getBlockType)(d.name):null,b=Object(p.mapKeys)(o,(function(e){return e.name})),h=Object(p.orderBy)(Object(p.filter)(Object(i.getPossibleBlockTransformations)(n),(function(e){return e&&!!b[e.name]})),(function(e){return b[e.name].frecency}),"desc");if(1===Object(p.uniq)(Object(p.map)(n,"name")).length){var m=n[0].name,v=Object(i.getBlockType)(m);s=v.icon}else s="layout";return c||h.length?Object(u.createElement)(P.Dropdown,{position:"bottom right",className:"editor-block-switcher block-editor-block-switcher",contentClassName:"editor-block-switcher__popover block-editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,r=e.isOpen,o=1===n.length?Object(H.__)("Change block type or style"):Object(H.sprintf)(Object(H._n)("Change type of %d block","Change type of %d blocks",n.length),n.length);return Object(u.createElement)(P.Toolbar,null,Object(u.createElement)(P.IconButton,{className:"editor-block-switcher__toggle block-editor-block-switcher__toggle",onClick:t,"aria-haspopup":"true","aria-expanded":r,label:o,tooltip:o,onKeyDown:function(e){r||e.keyCode!==he.DOWN||(e.preventDefault(),e.stopPropagation(),t())},icon:Object(u.createElement)(u.Fragment,null,Object(u.createElement)(be,{icon:s,showColors:!0}),Object(u.createElement)(P.SVG,{className:"editor-block-switcher__transform block-editor-block-switcher__transform",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(u.createElement)(P.Path,{d:"M6.5 8.9c.6-.6 1.4-.9 2.2-.9h6.9l-1.3 1.3 1.4 1.4L19.4 7l-3.7-3.7-1.4 1.4L15.6 6H8.7c-1.4 0-2.6.5-3.6 1.5l-2.8 2.8 1.4 1.4 2.8-2.8zm13.8 2.4l-2.8 2.8c-.6.6-1.3.9-2.1.9h-7l1.3-1.3-1.4-1.4L4.6 16l3.7 3.7 1.4-1.4L8.4 17h6.9c1.3 0 2.6-.5 3.5-1.5l2.8-2.8-1.3-1.4z"})))}))},renderContent:function(t){var o=t.onClose;return Object(u.createElement)(u.Fragment,null,(c||0!==h.length)&&Object(u.createElement)("div",{className:"block-editor-block-switcher__container"},c&&Object(u.createElement)(P.PanelBody,{title:Object(H.__)("Block Styles"),initialOpen:!0},Object(u.createElement)(dc,{clientId:n[0].clientId,onSwitch:o,onHoverClassName:e.onHoverClassName})),0!==h.length&&Object(u.createElement)(P.PanelBody,{title:Object(H.__)("Transform To:"),initialOpen:!0},Object(u.createElement)(Bo,{items:h.map((function(e){return{id:e.name,icon:e.icon,title:e.title}})),onSelect:function(e){r(n,e.id),o()}}))),null!==a&&Object(u.createElement)("div",{className:"block-editor-block-switcher__preview"},Object(u.createElement)("div",{className:"block-editor-block-switcher__preview-title"},Object(H.__)("Preview")),Object(u.createElement)(wo,{viewportWidth:500,blocks:f.example?Object(i.getBlockFromExample)(d.name,{attributes:Object(l.a)({},f.example.attributes,{className:a}),innerBlocks:f.example.innerBlocks}):Object(i.cloneBlock)(d,{className:a})})))}}):Object(u.createElement)(P.Toolbar,null,Object(u.createElement)(P.IconButton,{disabled:!0,className:"editor-block-switcher__no-switcher-icon block-editor-block-switcher__no-switcher-icon",label:Object(H.__)("Block icon"),icon:Object(u.createElement)(be,{icon:s,showColors:!0})}))}}]),t}(u.Component),Cc=Object(b.compose)(Object(m.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlocksByClientId,i=r.getBlockRootClientId,c=r.getInserterItems,a=e("core/blocks").getBlockStyles,l=i(Object(p.first)(Object(p.castArray)(n))),s=o(n),u=s&&1===s.length?s[0]:null,d=u&&a(u.name);return{blocks:s,inserterItems:c(l),hasBlockStyles:d&&d.length>0}})),Object(m.withDispatch)((function(e,t){return{onTransform:function(n,r){e("core/block-editor").replaceBlocks(t.clientIds,Object(i.switchToBlockType)(n,r))}}})))(Sc);var Ec=Object(m.withSelect)((function(e){var t=e("core/block-editor").getMultiSelectedBlockClientIds();return{isMultiBlockSelection:t.length>1,selectedBlockClientIds:t}}))((function(e){var t=e.isMultiBlockSelection,n=e.selectedBlockClientIds;return t?Object(u.createElement)(Cc,{key:"switcher",clientIds:n}):null}));var wc=Object(m.withSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockMode,r=t.getSelectedBlockClientIds,o=t.isBlockValid,i=r();return{blockClientIds:i,isValid:1===i.length?o(i[0]):null,mode:1===i.length?n(i[0]):null}}))((function(e){var t=e.blockClientIds,n=e.isValid,r=e.mode;return 0===t.length?null:t.length>1?Object(u.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},Object(u.createElement)(Ec,null),Object(u.createElement)(_c,{clientIds:t})):Object(u.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},"visual"===r&&n&&Object(u.createElement)(u.Fragment,null,Object(u.createElement)(Cc,{clientIds:t}),Object(u.createElement)(oe.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"}),Object(u.createElement)(pe.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"})),Object(u.createElement)(_c,{clientIds:t}))}));var Ic=Object(b.compose)([Object(m.withDispatch)((function(e,t,n){var r=(0,n.select)("core/block-editor"),o=r.getBlocksByClientId,c=r.getSelectedBlockClientIds,a=r.hasMultiSelection,l=e("core/block-editor").removeBlocks,s=function(e){var t=c();if(0!==t.length&&(a()||!Object(xr.documentHasSelection)())){var n=Object(i.serialize)(o(t));e.clipboardData.setData("text/plain",n),e.clipboardData.setData("text/html",n),e.preventDefault()}};return{onCopy:s,onCut:function(e){if(s(e),a()){var t=c();l(t)}}}}))])((function(e){var t=e.children,n=e.onCopy,r=e.onCut;return Object(u.createElement)("div",{onCopy:n,onCut:r},t)})),Bc=function(e){function t(){return Object(y.a)(this,t),Object(S.a)(this,Object(C.a)(t).apply(this,arguments))}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidUpdate",value:function(){this.scrollIntoView()}},{key:"scrollIntoView",value:function(){var e=this.props.extentClientId;if(e){var t=po(e);if(t){var n=Object(xr.getScrollContainer)(t);n&&xe()(t,n,{onlyScrollIfNeeded:!0})}}}},{key:"render",value:function(){return null}}]),t}(u.Component),Tc=Object(m.withSelect)((function(e){return{extentClientId:(0,e("core/block-editor").getLastMultiSelectedBlockClientId)()}}))(Bc),xc=[he.UP,he.RIGHT,he.DOWN,he.LEFT,he.ENTER,he.BACKSPACE];var Lc=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).stopTypingOnSelectionUncollapse=e.stopTypingOnSelectionUncollapse.bind(Object(E.a)(e)),e.stopTypingOnMouseMove=e.stopTypingOnMouseMove.bind(Object(E.a)(e)),e.startTypingInTextField=e.startTypingInTextField.bind(Object(E.a)(e)),e.stopTypingOnNonTextField=e.stopTypingOnNonTextField.bind(Object(E.a)(e)),e.stopTypingOnEscapeKey=e.stopTypingOnEscapeKey.bind(Object(E.a)(e)),e.onKeyDown=Object(p.over)([e.startTypingInTextField,e.stopTypingOnEscapeKey]),e.lastMouseMove=null,e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidMount",value:function(){this.toggleEventBindings(this.props.isTyping)}},{key:"componentDidUpdate",value:function(e){this.props.isTyping!==e.isTyping&&this.toggleEventBindings(this.props.isTyping)}},{key:"componentWillUnmount",value:function(){this.toggleEventBindings(!1)}},{key:"toggleEventBindings",value:function(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",this.stopTypingOnSelectionUncollapse),document[t]("mousemove",this.stopTypingOnMouseMove)}},{key:"stopTypingOnMouseMove",value:function(e){var t=e.clientX,n=e.clientY;if(this.lastMouseMove){var r=this.lastMouseMove,o=r.clientX,i=r.clientY;o===t&&i===n||this.props.onStopTyping()}this.lastMouseMove={clientX:t,clientY:n}}},{key:"stopTypingOnSelectionUncollapse",value:function(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||this.props.onStopTyping()}},{key:"stopTypingOnEscapeKey",value:function(e){this.props.isTyping&&e.keyCode===he.ESCAPE&&this.props.onStopTyping()}},{key:"startTypingInTextField",value:function(e){var t=this.props,n=t.isTyping,r=t.onStartTyping,o=e.type,i=e.target;n||!Object(xr.isTextField)(i)||i.closest(".block-editor-block-toolbar")||("keydown"!==o||function(e){var t=e.keyCode;return!e.shiftKey&&Object(p.includes)(xc,t)}(e))&&r()}},{key:"stopTypingOnNonTextField",value:function(e){var t=this;e.persist(),this.props.setTimeout((function(){var n=t.props,r=n.isTyping,o=n.onStopTyping,i=e.target;r&&!Object(xr.isTextField)(i)&&o()}))}},{key:"render",value:function(){var e=this.props.children;return Object(u.createElement)("div",{onFocus:this.stopTypingOnNonTextField,onKeyPress:this.startTypingInTextField,onKeyDown:this.onKeyDown},e)}}]),t}(u.Component),Nc=Object(b.compose)([Object(m.withSelect)((function(e){return{isTyping:(0,e("core/block-editor").isTyping)()}})),Object(m.withDispatch)((function(e){var t=e("core/block-editor");return{onStartTyping:t.startTyping,onStopTyping:t.stopTyping}})),b.withSafeTimeout])(Lc);function Ac(){return Ni()("PreserveScrollInReorder component",{hint:"This behavior is now built-in the block list"}),null}var Mc=-1!==window.navigator.userAgent.indexOf("Trident"),Rc=new Set([he.UP,he.DOWN,he.LEFT,he.RIGHT]),Pc=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).ref=Object(u.createRef)(),e.onKeyDown=e.onKeyDown.bind(Object(E.a)(e)),e.addSelectionChangeListener=e.addSelectionChangeListener.bind(Object(E.a)(e)),e.computeCaretRectOnSelectionChange=e.computeCaretRectOnSelectionChange.bind(Object(E.a)(e)),e.maintainCaretPosition=e.maintainCaretPosition.bind(Object(E.a)(e)),e.computeCaretRect=e.computeCaretRect.bind(Object(E.a)(e)),e.onScrollResize=e.onScrollResize.bind(Object(E.a)(e)),e.isSelectionEligibleForScroll=e.isSelectionEligibleForScroll.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScrollResize,!0),window.addEventListener("resize",this.onScrollResize,!0)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.onScrollResize,!0),window.removeEventListener("resize",this.onScrollResize,!0),document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.onScrollResize.rafId&&window.cancelAnimationFrame(this.onScrollResize.rafId),this.onKeyDown.rafId&&window.cancelAnimationFrame(this.onKeyDown.rafId)}},{key:"computeCaretRect",value:function(){this.isSelectionEligibleForScroll()&&(this.caretRect=Object(xr.computeCaretRect)())}},{key:"computeCaretRectOnSelectionChange",value:function(){document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.computeCaretRect()}},{key:"onScrollResize",value:function(){var e=this;this.onScrollResize.rafId||(this.onScrollResize.rafId=window.requestAnimationFrame((function(){e.computeCaretRect(),delete e.onScrollResize.rafId})))}},{key:"isSelectionEligibleForScroll",value:function(){return this.props.selectedBlockClientId&&this.ref.current.contains(document.activeElement)&&document.activeElement.isContentEditable}},{key:"isLastEditableNode",value:function(){var e=this.ref.current.querySelectorAll('[contenteditable="true"]');return e[e.length-1]===document.activeElement}},{key:"maintainCaretPosition",value:function(e){var t=e.keyCode;if(this.isSelectionEligibleForScroll()){var n=Object(xr.computeCaretRect)();if(n)if(this.caretRect)if(Rc.has(t))this.caretRect=n;else{var r=n.top-this.caretRect.top;if(0!==r){var o=Object(xr.getScrollContainer)(this.ref.current);if(o){var i=o===document.body,c=i?window.scrollY:o.scrollTop,a=i?0:o.getBoundingClientRect().top,l=i?this.caretRect.top/window.innerHeight:(this.caretRect.top-a)/(window.innerHeight-a);if(0===c&&l<.75&&this.isLastEditableNode())this.caretRect=n;else{var s=i?window.innerHeight:o.clientHeight;this.caretRect.top+this.caretRect.height>a+s||this.caretRect.top1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?Wc:[],!r||!0===e&&!n?p.without.apply(void 0,[t].concat(qc)):t}var $c=Object(b.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=Gc(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0));return[r.length>0&&t.isSelected&&Object(u.createElement)(oe,{key:"align-controls"},Object(u.createElement)(Q,{value:t.attributes.align,onChange:function(e){if(!e){var n=Object(i.getBlockType)(t.name);Object(p.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:r})),Object(u.createElement)(e,Object(s.a)({key:"edit"},t))]}}),"withToolbarControls"),Yc=Object(b.createHigherOrderComponent)(Object(b.compose)([Object(m.withSelect)((function(e){return{hasWideEnabled:!!(0,e("core/block-editor").getSettings)().alignWide}})),function(e){return function(t){var n=t.name,r=t.attributes,o=t.hasWideEnabled,c=r.align,a=Gc(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0),o),d=t.wrapperProps;return Object(p.includes)(a,c)&&(d=Object(l.a)({},d,{"data-align":c})),Object(u.createElement)(e,Object(s.a)({},t,{wrapperProps:d}))}}]));Object(h.addFilter)("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(p.has)(e.attributes,["align","type"])?e:(Object(i.hasBlockSupport)(e,"align")&&(e.attributes=Object(p.assign)(e.attributes,{align:{type:"string"}})),e)})),Object(h.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",Yc),Object(h.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",$c),Object(h.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){var r=n.align,o=Object(i.getBlockSupport)(t,"align"),c=Object(i.hasBlockSupport)(t,"alignWide",!0);return Object(p.includes)(Gc(o,c),r)&&(e.className=f()("align".concat(r),e.className)),e}));var Xc=/[\s#]/g;var Zc=Object(b.createHigherOrderComponent)((function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"anchor")&&t.isSelected?Object(u.createElement)(u.Fragment,null,Object(u.createElement)(e,t),Object(u.createElement)(ai,null,Object(u.createElement)(P.TextControl,{className:"html-anchor-control",label:Object(H.__)("HTML Anchor"),help:Object(u.createElement)(u.Fragment,null,Object(H.__)("Enter a word or two — without spaces — to make a unique web address just for this heading, called an “anchor.” Then, you’ll be able to link directly to this section of your page."),Object(u.createElement)(P.ExternalLink,{href:"https://wordpress.org/support/article/page-jumps/"},Object(H.__)("Learn more about anchors"))),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(Xc,"-"),t.setAttributes({anchor:e})}}))):Object(u.createElement)(e,t)}}),"withInspectorControl");Object(h.addFilter)("blocks.registerBlockType","core/anchor/attribute",(function(e){return Object(p.has)(e.attributes,["anchor","type"])?e:(Object(i.hasBlockSupport)(e,"anchor")&&(e.attributes=Object(p.assign)(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e)})),Object(h.addFilter)("editor.BlockEdit","core/editor/anchor/with-inspector-control",Zc),Object(h.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",(function(e,t,n){return Object(i.hasBlockSupport)(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e}));var Jc=Object(b.createHigherOrderComponent)((function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?Object(u.createElement)(u.Fragment,null,Object(u.createElement)(e,t),Object(u.createElement)(ai,null,Object(u.createElement)(P.TextControl,{label:Object(H.__)("Additional CSS Class(es)"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:""!==e?e:void 0})},help:Object(H.__)("Separate multiple classes with spaces.")}))):Object(u.createElement)(e,t)}}),"withInspectorControl");function Qc(e){e="
".concat(e,"
");var t=Object(i.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(h.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Object(i.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=Object(p.assign)(e.attributes,{className:{type:"string"}})),e})),Object(h.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",Jc),Object(h.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",(function(e,t,n){return Object(i.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=f()(e.className,n.className)),e})),Object(h.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",(function(e,t,n){if(Object(i.hasBlockSupport)(t,"customClassName",!0)){var r=Object(p.omit)(e,["className"]),o=Object(i.getSaveContent)(t,r),c=Qc(o),a=Qc(n),l=Object(p.difference)(a,c);l.length?e.className=l.join(" "):o&&delete e.className}return e})),Object(h.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",(function(e,t){return Object(i.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(p.uniq)([Object(i.getBlockDefaultClassName)(t.name)].concat(Object(Be.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(i.getBlockDefaultClassName)(t.name)),e}));var ea=n(219),ta=n.n(ea),na=n(31),ra=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,oa=function(e,t){t=t||{};var n=1,r=1;function o(e){var t=e.match(/\n/g);t&&(n+=t.length);var o=e.lastIndexOf("\n");r=~o?e.length-o:r+e.length}function i(){var e={line:n,column:r};return function(t){return t.position=new c(e),p(),t}}function c(e){this.start=e,this.end={line:n,column:r},this.source=t.source}c.prototype.content=e;var a=[];function l(o){var i=new Error(t.source+":"+n+":"+r+": "+o);if(i.reason=o,i.filename=t.source,i.line=n,i.column=r,i.source=e,!t.silent)throw i;a.push(i)}function s(){return f(/^{\s*/)}function u(){return f(/^}/)}function d(){var t,n=[];for(p(),b(n);e.length&&"}"!==e.charAt(0)&&(t=C()||E());)!1!==t&&(n.push(t),b(n));return n}function f(t){var n=t.exec(e);if(n){var r=n[0];return o(r),e=e.slice(r.length),n}}function p(){f(/^\s*/)}function b(e){var t;for(e=e||[];t=h();)!1!==t&&e.push(t);return e}function h(){var t=i();if("/"===e.charAt(0)&&"*"===e.charAt(1)){for(var n=2;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return l("End of comment missing");var c=e.slice(2,n-2);return r+=2,o(c),e=e.slice(n),r+=2,t({type:"comment",comment:c})}}function m(){var e=f(/^([^{]+)/);if(e)return ia(e[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,(function(e){return e.replace(/,/g,"‌")})).split(/\s*(?![^(]*\)),\s*/).map((function(e){return e.replace(/\u200C/g,",")}))}function v(){var e=i(),t=f(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){if(t=ia(t[0]),!f(/^:\s*/))return l("property missing ':'");var n=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=e({type:"declaration",property:t.replace(ra,""),value:n?ia(n[0]).replace(ra,""):""});return f(/^[;\s]*/),r}}function g(){var e,t=[];if(!s())return l("missing '{'");for(b(t);e=v();)!1!==e&&(t.push(e),b(t));return u()?t:l("missing '}'")}function O(){for(var e,t=[],n=i();e=f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),f(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:g()})}var k,j=S("import"),y=S("charset"),_=S("namespace");function S(e){var t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){var n=i(),r=f(t);if(r){var o={type:e};return o[e]=r[1].trim(),n(o)}}}function C(){if("@"===e[0])return function(){var e=i(),t=f(/^@([-\w]+)?keyframes\s*/);if(t){var n=t[1];if(!(t=f(/^([-\w]+)\s*/)))return l("@keyframes missing name");var r,o=t[1];if(!s())return l("@keyframes missing '{'");for(var c=b();r=O();)c.push(r),c=c.concat(b());return u()?e({type:"keyframes",name:o,vendor:n,keyframes:c}):l("@keyframes missing '}'")}}()||function(){var e=i(),t=f(/^@media *([^{]+)/);if(t){var n=ia(t[1]);if(!s())return l("@media missing '{'");var r=b().concat(d());return u()?e({type:"media",media:n,rules:r}):l("@media missing '}'")}}()||function(){var e=i(),t=f(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:ia(t[1]),media:ia(t[2])})}()||function(){var e=i(),t=f(/^@supports *([^{]+)/);if(t){var n=ia(t[1]);if(!s())return l("@supports missing '{'");var r=b().concat(d());return u()?e({type:"supports",supports:n,rules:r}):l("@supports missing '}'")}}()||j()||y()||_()||function(){var e=i(),t=f(/^@([-\w]+)?document *([^{]+)/);if(t){var n=ia(t[1]),r=ia(t[2]);if(!s())return l("@document missing '{'");var o=b().concat(d());return u()?e({type:"document",document:r,vendor:n,rules:o}):l("@document missing '}'")}}()||function(){var e=i();if(f(/^@page */)){var t=m()||[];if(!s())return l("@page missing '{'");for(var n,r=b();n=v();)r.push(n),r=r.concat(b());return u()?e({type:"page",selectors:t,declarations:r}):l("@page missing '}'")}}()||function(){var e=i();if(f(/^@host\s*/)){if(!s())return l("@host missing '{'");var t=b().concat(d());return u()?e({type:"host",rules:t}):l("@host missing '}'")}}()||function(){var e=i();if(f(/^@font-face\s*/)){if(!s())return l("@font-face missing '{'");for(var t,n=b();t=v();)n.push(t),n=n.concat(b());return u()?e({type:"font-face",declarations:n}):l("@font-face missing '}'")}}()}function E(){var e=i(),t=m();return t?(b(),e({type:"rule",selectors:t,declarations:g()})):l("selector missing")}return function e(t,n){var r=t&&"string"==typeof t.type;var o=r?t:n;for(var i in t){var c=t[i];Array.isArray(c)?c.forEach((function(t){e(t,o)})):c&&"object"===Object(na.a)(c)&&e(c,o)}r&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n||null});return t}((k=d(),{type:"stylesheet",stylesheet:{source:t.source,rules:k,parsingErrors:a}}))};function ia(e){return e?e.replace(/^\s+|\s+$/g,""):""}var ca=n(111),aa=n.n(ca),la=sa;function sa(e){this.options=e||{}}sa.prototype.emit=function(e){return e},sa.prototype.visit=function(e){return this[e.type](e)},sa.prototype.mapVisit=function(e,t){var n="";t=t||"";for(var r=0,o=e.length;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){return"rule"===n.type?Object(l.a)({},n,{selectors:n.selectors.map((function(n){return Object(p.includes)(t,n.trim())?n:n.match(ka)?n.replace(/^(body|html|:root)/,e):e+" "+n}))}):n}},ya=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(p.map)(e,(function(e){var n=e.css,r=e.baseURL,o=[];return t&&o.push(ja(t)),r&&o.push(Oa(r)),o.length?ha(n,Object(b.compose)(o)):n}))};n.d(t,"AlignmentToolbar",(function(){return V})),n.d(t,"Autocomplete",(function(){return $})),n.d(t,"BlockAlignmentToolbar",(function(){return Q})),n.d(t,"BlockControls",(function(){return oe})),n.d(t,"BlockEdit",(function(){return le})),n.d(t,"BlockFormatControls",(function(){return pe})),n.d(t,"BlockIcon",(function(){return be})),n.d(t,"BlockNavigationDropdown",(function(){return Oe})),n.d(t,"__experimentalBlockNavigationList",(function(){return me})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return Ce})),n.d(t,"ButtonBlockerAppender",(function(){return Ko})),n.d(t,"ColorPalette",(function(){return qo})),n.d(t,"ContrastChecker",(function(){return $o})),n.d(t,"InnerBlocks",(function(){return ni})),n.d(t,"InspectorAdvancedControls",(function(){return ai})),n.d(t,"InspectorControls",(function(){return fi})),n.d(t,"MediaPlaceholder",(function(){return _i})),n.d(t,"MediaUpload",(function(){return pi})),n.d(t,"MediaUploadCheck",(function(){return Ee})),n.d(t,"PanelColorSettings",(function(){return Bi})),n.d(t,"PlainText",(function(){return Ti})),n.d(t,"RichText",(function(){return qi})),n.d(t,"RichTextShortcut",(function(){return Fi})),n.d(t,"RichTextToolbarButton",(function(){return Hi})),n.d(t,"__unstableRichTextInputEvent",(function(){return Ui})),n.d(t,"URLInput",(function(){return vi})),n.d(t,"URLInputButton",(function(){return Gi})),n.d(t,"URLPopover",(function(){return Oi})),n.d(t,"withColorContext",(function(){return Wo})),n.d(t,"__experimentalBlockSettingsMenuFirstItem",(function(){return Zi})),n.d(t,"__experimentalBlockSettingsMenuPluginsExtension",(function(){return tc})),n.d(t,"__experimentalInserterMenuExtension",(function(){return Mo})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return cc})),n.d(t,"BlockInspector",(function(){return hc})),n.d(t,"BlockList",(function(){return Co})),n.d(t,"BlockMover",(function(){return Fr})),n.d(t,"BlockPreview",(function(){return wo})),n.d(t,"BlockSelectionClearer",(function(){return vc})),n.d(t,"BlockSettingsMenu",(function(){return _c})),n.d(t,"BlockTitle",(function(){return eo})),n.d(t,"BlockToolbar",(function(){return wc})),n.d(t,"CopyHandler",(function(){return Ic})),n.d(t,"DefaultBlockAppender",(function(){return yo})),n.d(t,"Inserter",(function(){return zo})),n.d(t,"MultiBlocksSwitcher",(function(){return Ec})),n.d(t,"MultiSelectScrollIntoView",(function(){return Tc})),n.d(t,"NavigableToolbar",(function(){return no})),n.d(t,"ObserveTyping",(function(){return Nc})),n.d(t,"PreserveScrollInReorder",(function(){return Ac})),n.d(t,"SkipToSelectedBlock",(function(){return ac})),n.d(t,"Typewriter",(function(){return Dc})),n.d(t,"Warning",(function(){return Hr})),n.d(t,"WritingFlow",(function(){return Kc})),n.d(t,"BlockEditorProvider",(function(){return Ir})),n.d(t,"getColorClassName",(function(){return j})),n.d(t,"getColorObjectByAttributeValues",(function(){return O})),n.d(t,"getColorObjectByColorValue",(function(){return k})),n.d(t,"createCustomColorsHOC",(function(){return N})),n.d(t,"withColors",(function(){return A})),n.d(t,"getFontSize",(function(){return M})),n.d(t,"getFontSizeClass",(function(){return R})),n.d(t,"FontSizePicker",(function(){return D})),n.d(t,"withFontSizes",(function(){return F})),n.d(t,"transformStyles",(function(){return ya})),n.d(t,"storeConfig",(function(){return Sr})),n.d(t,"SETTINGS_DEFAULTS",(function(){return Re}))},35:function(e,t){!function(){e.exports=this.wp.blob}()},36:function(e,t,n){"use strict";var r,o;function i(e){return[e]}function c(){var e={clear:function(){e.head=null}};return e}function a(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=N(e,360),t=N(t,100),n=N(n,100),0===t)r=o=i=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=c(l,a,e+1/3),o=c(l,a,e),i=c(l,a,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,l),d=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var p,b,h;return n=L(n),{ok:d,format:e.format||f,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=a++}function p(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var r,o,i=u(e,t,n),c=s(e,t,n),a=(i+c)/2;if(i==c)r=o=0;else{var l=i-c;switch(o=a>.5?l/(2-i-c):l/(i+c),i){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(f(r));return i}function B(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,i=n.v,c=[],a=1/t;t--;)c.push(f({h:r,s:o,v:i})),i=(i+a)%1;return c}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=L(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=b(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=b(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=p(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return h(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[R(l(e).toString(16)),R(l(t).toString(16)),R(l(n).toString(16)),R(D(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*N(this._r,255))+"%",g:l(100*N(this._g,255))+"%",b:l(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%)":"rgba("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(x[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);n="#"+m(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(k,arguments)},brighten:function(){return this._applyModification(j,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(O,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(B,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:P(e[r]));e=n}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r=f(e).toRgb(),o=f(t).toRgb(),i=n/100;return f({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},f.readability=function(e,t){var n=f(e),r=f(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,i=f.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},f.mostReadable=function(e,t,n){var r,o,i,c,a=null,l=0;o=(n=n||{}).includeFallbackColors,i=n.level,c=n.size;for(var s=0;sl&&(l=r,a=f(t[s]));return f.isReadable(e,a,{level:i,size:c})||!o?a:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var T=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},x=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(T);function L(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function A(e){return s(1,u(0,e))}function M(e){return parseInt(e,16)}function R(e){return 1==e.length?"0"+e:""+e}function P(e){return e<=1&&(e=100*e+"%"),e}function D(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return M(e)/255}var H,U,V,z=(U="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",V="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+U),rgba:new RegExp("rgba"+V),hsl:new RegExp("hsl"+U),hsla:new RegExp("hsla"+V),hsv:new RegExp("hsv"+U),hsva:new RegExp("hsva"+V),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function K(e){return!!z.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},5:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},51:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},61:function(e,t,n){"use strict";t.__esModule=!0;var r=n(114);t.default=r.default},63:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(118)),i=r(n(119)),c=n(28),a=r(c),l=r(n(120)),s=r(n(121)),u={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(u.str(e)||u.num(e))return e===t;if(u.obj(e)&&u.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!u.und(n)||e===t}};function d(){var e=c.useState(!1)[1];return c.useCallback((function(){return e((function(e){return!e}))}),[])}function f(e,t){return u.und(e)||u.nul(e)?t:e}function p(e){return u.und(e)?[]:u.arr(e)?e:[e]}function b(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}for(var c=i,a=!1,l=0;l=p.startTime+s.duration;else if(s.decay)m=b+O/(1-.998)*(1-Math.exp(-(1-.998)*(t-p.startTime))),(u=Math.abs(p.lastPosition-m)<.1)&&(h=m);else{d=void 0!==p.lastTime?p.lastTime:t,O=void 0!==p.lastVelocity?p.lastVelocity:s.initialVelocity,t>d+64&&(d=t);for(var k=Math.floor(t-d),j=0;jh:m=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,c,a,l){var s=l?l(e):e;if(sn){if("identity"===a)return s;"clamp"===a&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=i(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,i[t],i[t+1],o[t],o[t+1],l,c,a,r.map)}}var H=function(e){function t(n,r,o,i){var c;return(c=e.call(this)||this).calc=void 0,c.payload=n instanceof O&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],c.calc=F(r,o,i),c}l(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t,n){this.calc=F(e,t,n)},n.interpolate=function(e,n,r){return new t(this,e,n,r)},t}(O);var U=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}l(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t,n){return new H(this,e,t,n)},t}(g),V=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new U(e)})),n}l(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new H(this,e,t)},t}(O),z=0,K=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=z++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=h(e),n=t.delay,r=void 0===n?0:n,c=t.to,a=i(t,["delay","to"]);if(u.arr(c)||u.fun(c))this.queue.push(o({},a,{delay:r,to:c}));else if(c){var l={};Object.entries(c).forEach((function(e){var t,n=e[0],i=e[1],c=o({to:(t={},t[n]=i,t),delay:b(r,n)},a),s=l[c.delay]&&l[c.delay].to;l[c.delay]=o({},l[c.delay],c,{to:o({},s,c.to)})})),this.queue=Object.values(l)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(a),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,i=e.to,c=void 0===i?{}:i;u.obj(r)&&(n.merged=o({},r,n.merged)),u.obj(c)&&(n.merged=o({},n.merged,c))}));var r=this.local=++this.guid,c=this.localQueue=this.queue;this.queue=[],c.forEach((function(t,o){var a=t.delay,l=i(t,["delay"]),s=function(t){o===c.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},d=u.arr(l.to)||u.fun(l.to);a?setTimeout((function(){r===n.guid&&(d?n.runAsync(l,s):n.diff(l).start(s))}),a):d?n.runAsync(l,s):n.diff(l).start(s)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,P.has(t)||P.add(t),R||(R=!0,S(x||D));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,P.has(t)&&P.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,i(e,["delay"])),c=this.local,a=Promise.resolve(void 0);if(u.arr(r.to))for(var l=function(e){var t=e,i=o({},r,h(r.to[t]));u.arr(i.config)&&(i.config=i.config[t]),a=a.then((function(){if(c===n.guid)return new Promise((function(e){return n.diff(i).start(e)}))}))},s=0;s=r.length)return"break";c=r[i++]}else{if((i=r.next()).done)return"break";c=i.value}var n=c.key,a=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(a),e.current.deleted=e.current.deleted.filter(a))},r=e.current.deleted,o=Array.isArray(r),i=0;for(r=o?r:r[Symbol.iterator]();;){var c;if("break"===n())break}e.current.forceUpdate()}var Q=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof g||(t=m.transform(t)),n.payload=t,n}return l(t,e),t}(k),ee={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},te="[-+]?\\d*\\.?\\d+",ne=te+"%";function re(){for(var e=arguments.length,t=new Array(e),n=0;n1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function pe(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=fe(o,r,e+1/3),c=fe(o,r,e),a=fe(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*c)<<16|Math.round(255*a)<<8}function be(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function he(e){return(parseFloat(e)%360+360)%360/360}function me(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ve(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function ge(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ue.exec(t))?parseInt(n[1]+"ff",16)>>>0:ee.hasOwnProperty(t)?ee[t]:(n=oe.exec(t))?(be(n[1])<<24|be(n[2])<<16|be(n[3])<<8|255)>>>0:(n=ie.exec(t))?(be(n[1])<<24|be(n[2])<<16|be(n[3])<<8|me(n[4]))>>>0:(n=le.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=de.exec(t))?parseInt(n[1],16)>>>0:(n=se.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ce.exec(t))?(255|pe(he(n[1]),ve(n[2]),ve(n[3])))>>>0:(n=ae.exec(t))?(pe(he(n[1]),ve(n[2]),ve(n[3]))|me(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var Oe=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ke=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,je=new RegExp("("+Object.keys(ee).join("|")+")","g"),ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},_e=["Webkit","Ms","Moz","O"];function Se(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}ye=Object.keys(ye).reduce((function(e,t){return _e.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),ye);var Ce={};N((function(e){return new Q(e)})),B("div"),E((function(e){var t=e.output.map((function(e){return e.replace(ke,ge)})).map((function(e){return e.replace(je,ge)})),n=t[0].match(Oe).map((function(){return[]}));t.forEach((function(e){e.match(Oe).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(Oe).map((function(t,r){return F(o({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(Oe,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,o){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+o+")"}))}})),y(ee),j((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,c=t.scrollLeft,a=i(t,["style","children","scrollTop","scrollLeft"]),l="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var s in void 0!==o&&(e.scrollTop=o),void 0!==c&&(e.scrollLeft=c),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(s)){var u=0===s.indexOf("--"),d=Se(s,n[s],u);"float"===s&&(s="cssFloat"),u?e.style.setProperty(s,d):e.style[s]=d}for(var f in a){var p=l?f:Ce[f]||(Ce[f]=f.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(p)&&e.setAttribute(p,a[f])}}),(function(e){return e}));var Ee,we,Ie=(Ee=function(e){return c.forwardRef((function(t,n){var r=d(),l=c.useRef(!0),s=c.useRef(null),f=c.useRef(null),p=c.useCallback((function(e){var t=s.current;s.current=new M(e,(function(){var e=!1;f.current&&(e=m.fn(f.current,s.current.getAnimatedValue())),f.current&&!1!==e||r()})),t&&t.detach()}),[]);c.useEffect((function(){return function(){l.current=!1,s.current&&s.current.detach()}}),[]),c.useImperativeHandle(n,(function(){return L(f,l,r)})),p(t);var b,h=s.current.getValue(),v=(h.scrollTop,h.scrollLeft,i(h,["scrollTop","scrollLeft"])),g=(b=e,!u.fun(b)||b.prototype instanceof a.Component?function(e){return f.current=function(e,t){return t&&(u.fun(t)?t(e):u.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return a.createElement(e,o({},v,{ref:g}))}))},void 0===(we=!1)&&(we=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=we?t[0].toLowerCase()+t.substring(1):t;return e[n]=Ee(n),e}),Ee)}),Be=Ie(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);t.apply=Ie,t.config={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},t.update=D,t.animated=Be,t.a=Be,t.interpolate=function(e,t,n){return e&&new H(e,t,n)},t.Globals=A,t.useSpring=function(e){var t=u.fun(e),n=W(1,t?e:[e]),r=n[0],o=n[1],i=n[2];return t?[r[0],o,i]:r},t.useTrail=function(e,t){var n=c.useRef(!1),r=u.fun(t),i=b(t),a=c.useRef(),l=W(e,(function(e,t){return 0===e&&(a.current=[]),a.current.push(t),o({},i,{config:b(i.config,e),attach:e>0&&function(){return a.current[e-1]}})})),s=l[0],d=l[1],f=l[2],p=c.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,c=a.current[r];return o({},e,{config:b(e.config||i.config,t),attach:c&&function(){return c}})}))}}),[e,i.reverse]);return c.useEffect((function(){n.current&&!r&&p(t)})),c.useEffect((function(){n.current=!0}),[]),r?[s,p,f]:s},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),a=Z(r),l=a.lazy,s=void 0!==l&&l,u=(a.unique,a.reset),f=void 0!==u&&u,p=(a.enter,a.leave,a.update,a.onDestroyed),h=(a.keys,a.items,a.onFrame),m=a.onRest,v=a.onStart,g=a.ref,O=i(a,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),k=d(),j=c.useRef(!1),y=c.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!j.current&&new Map,forceUpdate:k});return c.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(y.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(y.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(y.current.instances).map((function(e){return e[1]}))}}})),y.current=function(e,t){var n=e.first,r=e.prevProps,c=i(e,["first","prevProps"]),a=Z(t),l=a.items,s=a.keys,u=a.initial,d=a.from,f=a.enter,p=a.leave,h=a.update,m=a.trail,v=void 0===m?0:m,g=a.unique,O=a.config,k=a.order,j=void 0===k?[G,$,Y]:k,y=Z(r),_=y.keys,S=y.items,C=o({},c.current),E=[].concat(c.deleted),w=Object.keys(C),I=new Set(w),B=new Set(s),T=s.filter((function(e){return!I.has(e)})),x=c.transitions.filter((function(e){return!e.destroyed&&!B.has(e.originalKey)})).map((function(e){return e.originalKey})),L=s.filter((function(e){return I.has(e)})),N=-v;for(;j.length;){switch(j.shift()){case G:T.forEach((function(e,t){g&&E.find((function(t){return t.originalKey===e}))&&(E=E.filter((function(t){return t.originalKey!==e})));var r=s.indexOf(e),o=l[r],i=n&&void 0!==u?"initial":G;C[e]={slot:i,originalKey:e,key:g?String(e):q++,item:o,trail:N+=v,config:b(O,o,i),from:b(n&&void 0!==u?u||{}:d,o),to:b(f,o)}}));break;case $:x.forEach((function(e){var t=_.indexOf(e),n=S[t],r=$;E.unshift(o({},C[e],{slot:r,destroyed:!0,left:_[Math.max(0,t-1)],right:_[Math.min(_.length,t+1)],trail:N+=v,config:b(O,n,r),to:b(p,n)})),delete C[e]}));break;case Y:L.forEach((function(e){var t=s.indexOf(e),n=l[t],r=Y;C[e]=o({},C[e],{item:n,slot:r,trail:N+=v,config:b(O,n,r),to:b(h,n)})}))}}var A=s.map((function(e){return C[e]}));return E.forEach((function(e){var t,n=e.left,r=(e.right,i(e,["left","right"]));-1!==(t=A.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),A=[].concat(A.slice(0,t),[r],A.slice(t))})),o({},c,{changed:T.length||x.length||L.length,first:n&&0===T.length,transitions:A,current:C,deleted:E,prevProps:t})}(y.current,r),y.current.changed&&y.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,i=e.config,c=e.trail,a=e.key,l=e.item;y.current.instances.has(a)||y.current.instances.set(a,new K);var u=y.current.instances.get(a),d=o({},O,{to:r,from:n,config:i,ref:g,onRest:function(n){y.current.mounted&&(e.destroyed&&(g||s||J(y,a),p&&p(l)),!Array.from(y.current.instances).some((function(e){return!e[1].idle}))&&(g||s)&&y.current.deleted.length>0&&J(y),m&&m(l,t,n))},onStart:v&&function(){return v(l,t)},onFrame:h&&function(e){return h(l,t,e)},delay:c,reset:f&&t===G});u.update(d),y.current.paused||u.start()})),c.useEffect((function(){return y.current.mounted=j.current=!0,function(){y.current.mounted=j.current=!1,Array.from(y.current.instances).map((function(e){return e[1].destroy()})),y.current.instances.clear()}}),[]),y.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:y.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=c.useRef();c.useEffect((function(){u.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var i=e.current;if(i){var c=i.controllers;if(c.length){var a=n*t[r];c.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+a})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=W},64:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},67:function(e,t,n){"use strict";e.exports=n(112)},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(10);function o(e){for(var t=1;t",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,b=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=n(125);function O(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),a=-1!==i&&i127?N+="x":N+=L[A];if(!N.match(p)){var R=T.slice(0,w),P=T.slice(w+1),D=L.match(b);D&&(R.push(D[1]),P.unshift(D[2])),P.length&&(O="/"+P.join(".")+O),this.hostname=R.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),B||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",H=this.hostname||"";this.host=H+F,this.href+=this.host,B&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==O[0]&&(O="/"+O))}if(!h[y])for(w=0,x=u.length;w0)&&n.host.split("@"))&&(n.auth=B.shift(),n.host=n.hostname=B.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=_.slice(-1)[0],E=(n.host||e.host||_.length>1)&&("."===C||".."===C)||""===C,w=0,I=_.length;I>=0;I--)"."===(C=_[I])?_.splice(I,1):".."===C?(_.splice(I,1),w++):w&&(_.splice(I,1),w--);if(!j&&!y)for(;w--;w)_.unshift("..");!j||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),E&&"/"!==_.join("/").substr(-1)&&_.push("");var B,T=""===_[0]||_[0]&&"/"===_[0].charAt(0);S&&(n.hostname=n.host=T?"":_.length?_.shift():"",(B=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=B.shift(),n.host=n.hostname=B.shift()));return(j=j||n.host&&_.length)&&!T&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},86:function(e,t,n){"use strict";var r=n(87);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,c){if(c!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},87:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9:function(e,t){!function(){e.exports=this.wp.blocks}()},96:function(e,t){!function(){e.exports=this.wp.wordcount}()}}); \ No newline at end of file +var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";t.__esModule=!0,t.canonicalize=t.convertChangesToXML=t.convertChangesToDMP=t.merge=t.parsePatch=t.applyPatches=t.applyPatch=t.createPatch=t.createTwoFilesPatch=t.structuredPatch=t.diffArrays=t.diffJson=t.diffCss=t.diffSentences=t.diffTrimmedLines=t.diffLines=t.diffWordsWithSpace=t.diffWords=t.diffChars=t.Diff=void 0;var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},c=n(2),a=n(3),l=n(5),s=n(6),u=n(7),d=n(8),f=n(9),b=n(10),p=n(11),h=n(13),m=n(14),g=n(16),v=n(17);t.Diff=i.default,t.diffChars=c.diffChars,t.diffWords=a.diffWords,t.diffWordsWithSpace=a.diffWordsWithSpace,t.diffLines=l.diffLines,t.diffTrimmedLines=l.diffTrimmedLines,t.diffSentences=s.diffSentences,t.diffCss=u.diffCss,t.diffJson=d.diffJson,t.diffArrays=f.diffArrays,t.structuredPatch=m.structuredPatch,t.createTwoFilesPatch=m.createTwoFilesPatch,t.createPatch=m.createPatch,t.applyPatch=b.applyPatch,t.applyPatches=b.applyPatches,t.parsePatch=p.parsePatch,t.merge=h.merge,t.convertChangesToDMP=g.convertChangesToDMP,t.convertChangesToXML=v.convertChangesToXML,t.canonicalize=d.canonicalize},function(e,t){"use strict";function n(){}function r(e,t,n,r,o){for(var i=0,c=t.length,a=0,l=0;ie.length?n:e})),s.value=e.join(d)}else s.value=e.join(n.slice(a,a+s.count));a+=s.count,s.added||(l+=s.count)}}var f=t[c-1];return c>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[c-2].value+=f.value,t.pop()),t}function o(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"==typeof n&&(i=n,n={}),this.options=n;var c=this;function a(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var l=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,u=1,d=l+s,f=[{newPos:-1,components:[]}],b=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=l&&b+1>=s)return a([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var i=void 0,d=f[n-1],b=f[n+1],p=(b?b.newPos:0)-n;d&&(f[n-1]=void 0);var h=d&&d.newPos+1=l&&p+1>=s)return a(r(c,i.components,t,e,c.useLongestToken));f[n]=i}else f[n]=void 0}u++}if(i)!function e(){setTimeout((function(){if(u>d)return i();p()||e()}),0)}();else for(;u<=d;){var h=p();if(h)return h}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,i=n.length,c=e.newPos,a=c-r,l=0;c+12&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,o.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],a=t.hunks,l=n.compareLine||function(e,t,n,r){return t===r},s=0,u=n.fuzzFactor||0,d=0,f=0,b=void 0,p=void 0;function h(e,t){for(var n=0;n0?o[0]:" ",c=o.length>0?o.substr(1):o;if(" "===i||"-"===i){if(!l(t+1,r[t],i,c)&&++s>u)return!1;t++}}return!0}for(var m=0;m0?w[0]:" ",B=w.length>0?w.substr(1):w,T=S.linedelimiters[E];if(" "===I)C++;else if("-"===I)r.splice(C,1),i.splice(C,1);else if("+"===I)r.splice(C,0,B),i.splice(C,0,T),C++;else if("\\"===I){var x=S.lines[E-1]?S.lines[E-1][0]:null;"+"===x?b=!0:"-"===x&&(p=!0)}}}if(b)for(;!r[r.length-1];)r.pop(),i.pop();else p&&(r.push(""),i.push("\n"));for(var N=0;N1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function c(){var e={};for(o.push(e);i0?u(a.lines.slice(-l.context)):[],f-=p.length,b-=p.length)}(c=p).push.apply(c,o(r.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=r.length:h+=r.length}else{if(f)if(r.length<=2*l.context&&e=s.length-2&&r.length<=l.context){var j=/\n$/.test(n),y=/\n$/.test(i);0!=r.length||j?j&&y||p.push("\\ No newline at end of file"):p.splice(k.oldLines,0,"\\ No newline at end of file")}d.push(k),f=0,b=0,p=[]}h+=r.length,m+=r.length}},v=0;ve.length)return!1;for(var n=0;n"):r.removed&&t.push(""),t.push((o=r.value,void 0,o.replace(/&/g,"&").replace(//g,">").replace(/"/g,"""))),r.added?t.push(""):r.removed&&t.push("")}var o;return t.join("")}}])},e.exports=r()},218:function(e,t){var n=e.exports=function(e){return new r(e)};function r(e){this.value=e}function o(e,t,n){var r=[],o=[],a=!0;return function e(d){var f=n?i(d):d,b={},p=!0,h={node:f,node_:d,path:[].concat(r),parent:o[o.length-1],parents:o,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(e,t){h.isRoot||(h.parent.node[h.key]=e),h.node=e,t&&(p=!1)},delete:function(e){delete h.parent.node[h.key],e&&(p=!1)},remove:function(e){l(h.parent.node)?h.parent.node.splice(h.key,1):delete h.parent.node[h.key],e&&(p=!1)},keys:null,before:function(e){b.before=e},after:function(e){b.after=e},pre:function(e){b.pre=e},post:function(e){b.post=e},stop:function(){a=!1},block:function(){p=!1}};if(!a)return h;function m(){if("object"==typeof h.node&&null!==h.node){h.keys&&h.node_===h.node||(h.keys=c(h.node)),h.isLeaf=0==h.keys.length;for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return!W(t,n)||(n.colors||e).length>0}(t,n,e)}))}))((function(e){var t=e.children,n=e.colors,r=e.colorSettings,o=e.disableCustomColors,i=e.title,c=Object(M.a)(e,["children","colors","colorSettings","disableCustomColors","title"]),a=Object(u.createElement)("span",{className:"editor-panel-color-settings__panel-title block-editor-panel-color-settings__panel-title"},i,function(e,t){return e.map((function(e,n){var r=e.value,o=e.label,i=e.colors;if(!r)return null;var c=k(i||t,r),a=c&&c.name,l=Object(F.sprintf)(G,o.toLowerCase(),a||r);return Object(u.createElement)(U.ColorIndicator,{key:n,colorValue:r,"aria-label":l})}))}(r,n));return Object(u.createElement)(U.PanelBody,Object(s.a)({className:"editor-panel-color-settings block-editor-panel-color-settings",title:a},c),r.map((function(e,t){return Object(u.createElement)(K,Object(s.a)({key:t},Object(l.a)({colors:n,disableCustomColors:o},e)))})),t)})),$=H(q),Y=n(44);function X(e){var t=e.tinyBackgroundColor,n=e.tinyTextColor,r=e.backgroundColor,o=e.textColor,i=t.getBrightness()=24?"large":"small"})?null:Object(u.createElement)(X,{backgroundColor:t,textColor:c,tinyBackgroundColor:a,tinyTextColor:l})},J=Object(u.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:b.noop,clientId:null}),Q=J.Provider,ee=J.Consumer;function te(){return Object(u.useContext)(J)}var ne=function(e){return Object(p.createHigherOrderComponent)((function(t){return function(n){return Object(u.createElement)(ee,null,(function(r){return Object(u.createElement)(t,Object(s.a)({},n,e(r,n)))}))}}),"withBlockEditContext")},re=Object(p.createHigherOrderComponent)((function(e){return function(t){return Object(u.createElement)(ee,null,(function(n){return n.isSelected&&Object(u.createElement)(e,t)}))}}),"ifBlockEditSelected"),oe=Object(U.createSlotFill)("InspectorControls"),ie=oe.Fill,ce=oe.Slot,ae=re(ie);ae.Slot=ce;var le=ae,se=Object(U.withFilters)("editor.BlockEdit")((function(e){var t=e.attributes,n=void 0===t?{}:t,r=e.name,o=Object(i.getBlockType)(r);if(!o)return null;var c=Object(i.hasBlockSupport)(o,"className",!0)?Object(i.getBlockDefaultClassName)(r):null,a=f()(c,n.className),l=o.edit||o.save;return Object(u.createElement)(l,Object(s.a)({},e,{className:a}))})),ue=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).propsToContext=D()(e.propsToContext.bind(Object(E.a)(e)),{maxSize:1}),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"propsToContext",value:function(e,t,n,r,o){return{name:e,isSelected:t,clientId:n,onFocus:r,onCaretVerticalPositionChange:o}}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.isSelected,r=e.clientId,o=e.onFocus,i=e.onCaretVerticalPositionChange,c=this.propsToContext(t,n,r,o,i);return Object(u.createElement)(Q,{value:c},Object(u.createElement)(se,this.props))}}]),t}(u.Component),de=window,fe=de.getComputedStyle,be=de.Node,pe=[],he=function(e,t,n){return"function"==typeof e?e(t):!0===e?n:e},me=function(e){var t=e.title,n=e.colorSettings,r=e.colorPanelProps,o=e.contrastCheckers,i=e.detectedBackgroundColorRef,c=e.detectedColorRef,a=e.panelChildren;return Object(u.createElement)($,Object(s.a)({title:t,initialOpen:!1,colorSettings:Object.values(n)},r),o&&(Array.isArray(o)?o.map((function(e){var t=e.backgroundColor,r=e.textColor,o=Object(M.a)(e,["backgroundColor","textColor"]);return t=he(t,n,i.current),r=he(r,n,c.current),Object(u.createElement)(Z,Object(s.a)({key:"".concat(t,"-").concat(r),backgroundColor:t,textColor:r},o))})):Object(b.map)(n,(function(e){var t=e.value,r=o.backgroundColor,a=o.textColor;return r=he(r||t,n,i.current),a=he(a||t,n,c.current),Object(u.createElement)(Z,Object(s.a)({},o,{key:"".concat(r,"-").concat(a),backgroundColor:r,textColor:a}))}))),"function"==typeof a?a(n):a)},ge=function(e){return Object(u.createElement)(le,null,Object(u.createElement)(me,e))};function ve(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{panelTitle:Object(F.__)("Color Settings")},n=t.panelTitle,r=void 0===n?Object(F.__)("Color Settings"):n,o=t.colorPanelProps,i=t.contrastCheckers,c=t.panelChildren,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],s=te().clientId,d=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockAttributes,r=(0,t.getSettings)().colors;return{attributes:n(s),settingsColors:r&&!0!==r?r:pe}}),[s]),p=d.attributes,h=d.settingsColors,g=Object(m.useDispatch)("core/block-editor").updateBlockAttributes,v=Object(u.useCallback)((function(e){return g(s,e)}),[g,s]),O=Object(u.useMemo)((function(){return D()((function(e,t,n,r,o,i){return function(c){var a=c.children,s=c.className,d=void 0===s?"":s,p=c.style,h=void 0===p?{}:p;return(u.Children.map(a,(function(c){var a,s={};return r?s=Object(I.a)({},t,o):i&&(s=Object(I.a)({},t,i)),Object(u.cloneElement)(c,{className:f()(d,c.props.className,(a={},Object(I.a)(a,"has-".concat(Object(b.kebabCase)(r),"-").concat(Object(b.kebabCase)(t)),r),Object(I.a)(a,n||"has-".concat(Object(b.kebabCase)(e)),r||i),a)),style:Object(l.a)({},s,h,c.props.style||{})})})))}}),{maxSize:e.length})}),[e.length]),k=Object(u.useMemo)((function(){return D()((function(e,t){return function(n){var r=t.find((function(e){return e.color===n}));v(Object(I.a)({},r?Object(b.camelCase)("custom ".concat(e)):e,void 0)),v(Object(I.a)({},r?e:Object(b.camelCase)("custom ".concat(e)),r?r.slug:n))}}),{maxSize:e.length})}),[v,e.length]),j=Object(u.useRef)(),y=Object(u.useRef)(),_=Object(u.useMemo)((function(){if(i){var e=!1,t=!1,n=!0,r=!1,o=void 0;try{for(var c,a=Object(b.castArray)(i)[Symbol.iterator]();!(n=(c=a.next()).done);n=!0){var l=c.value,s=l.backgroundColor,d=l.textColor;if(e||(e=!0===s),t||(t=!0===d),e&&t)break}}catch(e){r=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}return(e||t)&&Object(U.withFallbackStyles)((function(t,n){var r,o=n.querySelector,i=n.backgroundColorSelector,c=void 0===i?o:i,a=n.textColorSelector,l=void 0===a?o:a,s=t,u=t;c&&(s=t.parentNode.querySelector(c)),l&&(u=t.parentNode.querySelector(l));var d=fe(u).color;if(e)for(r=fe(s).backgroundColor;"rgba(0, 0, 0, 0)"===r&&s.parentNode&&s.parentNode===be.ELEMENT_NODE;)s=s.parentNode,r=fe(s).backgroundColor;return j.current=r,y.current=d,{backgroundColor:r,color:d}}))((function(){return Object(u.createElement)(u.Fragment,null)}))}}),[e.reduce((function(e,t){return"".concat(e," | ").concat(p[t.name]," | ").concat(p[Object(b.camelCase)("custom ".concat(t.name))])}),"")].concat(Object(R.a)(a)));return Object(u.useMemo)((function(){var t={},n=e.reduce((function(e,n){"string"==typeof n&&(n={name:n});var r=Object(l.a)({},n,{color:p[n.name]}),o=r.name,i=r.property,c=void 0===i?o:i,a=r.className,s=r.panelLabel,u=void 0===s?Object(b.startCase)(o):s,d=r.componentName,f=void 0===d?u.replace(/\s/g,""):d,m=r.color,g=void 0===m?n.color:m,v=r.colors,j=void 0===v?h:v,y=p[Object(b.camelCase)("custom ".concat(o))],_=y?void 0:j.find((function(e){return e.slug===g}));return e[f]=O(o,c,a,g,_&&_.color,y),e[f].displayName=f,e[f].color=y||_&&_.color,e[f].slug=g,e[f].setColor=k(o,j),t[f]={value:_?_.color:p[Object(b.camelCase)("custom ".concat(o))],onChange:e[f].setColor,label:u,colors:j},j||delete t[f].colors,e}),{}),a={title:r,colorSettings:t,colorPanelProps:o,contrastCheckers:i,detectedBackgroundColorRef:j,detectedColorRef:y,panelChildren:c};return Object(l.a)({},n,{ColorPanel:Object(u.createElement)(me,a),InspectorControlsColorPanel:Object(u.createElement)(ge,a),ColorDetector:_})}),[p,v].concat(Object(R.a)(a)))}function Oe(e){if(e)return"has-".concat(e,"-gradient-background")}function ke(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.gradientAttribute,n=void 0===t?"gradient":t,r=e.customGradientAttribute,o=void 0===r?"customGradient":r,i=te().clientId,c=Object(m.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockAttributes,c=t.getSettings,a=r(i);return{gradient:a[n],customGradient:a[o],gradients:c().gradients}}),[i]),a=c.gradients,l=c.gradient,s=c.customGradient,d=Object(m.useDispatch)("core/block-editor").updateBlockAttributes,f=Object(u.useCallback)((function(e){var t,r,c=function(e,t){var n=Object(b.find)(e,["gradient",t]);return n&&n.slug}(a,e);c?d(i,(r={},Object(I.a)(r,n,c),Object(I.a)(r,o,void 0),r)):d(i,(t={},Object(I.a)(t,n,void 0),Object(I.a)(t,o,e),t))}),[a,i,d]);return{gradientClass:Oe(l),gradientValue:l?function(e,t){var n=Object(b.find)(e,["slug",t]);return n&&n.gradient}(a,l):s,setGradient:f}}var je=function(e,t,n){if(t){var r=Object(b.find)(e,{slug:t});if(r)return r}return{size:n}};function ye(e){if(e)return"has-".concat(Object(b.kebabCase)(e),"-font-size")}var _e=Object(m.withSelect)((function(e){var t=e("core/block-editor").getSettings();return{disableCustomFontSizes:t.disableCustomFontSizes,fontSizes:t.fontSizes}}))(U.FontSizePicker),Se=function(){for(var e=arguments.length,t=new Array(e),n=0;n3&&void 0!==arguments[3]?arguments[3]:1,o=Object(R.a)(e);return o.splice(t,r),tt(o,e.slice(t,t+r),n)}function rt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(I.a)({},t,[]);return e.forEach((function(e){var r=e.clientId,o=e.innerBlocks;n[t].push(r),Object.assign(n,rt(o,r))})),n}function ot(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.reduce((function(e,n){return Object.assign(e,Object(I.a)({},n.clientId,t),ot(n.innerBlocks,n.clientId))}),{})}function it(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.identity,n={},r=Object(R.a)(e);r.length;){var o=r.shift(),i=o.innerBlocks,c=Object(M.a)(o,["innerBlocks"]);r.push.apply(r,Object(R.a)(i)),n[c.clientId]=t(c)}return n}function ct(e){return it(e,(function(e){return Object(b.omit)(e,"attributes")}))}function at(e){return it(e,(function(e){return e.attributes}))}function lt(e,t){return e===t?Object(l.a)({},e):t}function st(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&e.clientId===t.clientId&&(n=e.attributes,r=t.attributes,Object(b.isEqual)(Object(b.keys)(n),Object(b.keys)(r)));var n,r}var ut=function(e){return e.reduce((function(e,t){return e[t]={},e}),{})};var dt=Object(b.flow)(m.combineReducers,(function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var r=n.id,o=n.updatedId;if(r===o)return t;(t=Object(l.a)({},t)).attributes=Object(b.mapValues)(t.attributes,(function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===r?Object(l.a)({},e,{ref:o}):e}))}return e(t,n)}}),(function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=e(t,n);if(r===t)return t;r.cache=t.cache?t.cache:{};var o=function(e){return e.reduce((function(e,n){var r=n;do{e.push(r),r=t.parents[r]}while(r);return e}),[])};switch(n.type){case"RESET_BLOCKS":r.cache=Object(b.mapValues)(it(n.blocks),(function(){return{}}));break;case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":var i=Object(b.keys)(it(n.blocks));n.rootClientId&&i.push(n.rootClientId),r.cache=Object(l.a)({},r.cache,ut(o(i)));break;case"UPDATE_BLOCK":case"UPDATE_BLOCK_ATTRIBUTES":r.cache=Object(l.a)({},r.cache,ut(o([n.clientId])));break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var c=ut(o(n.replacedClientIds));r.cache=Object(l.a)({},Object(b.omit)(r.cache,n.replacedClientIds),Object(b.omit)(c,n.replacedClientIds),ut(Object(b.keys)(it(n.blocks))));break;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":r.cache=Object(l.a)({},Object(b.omit)(r.cache,n.removedClientIds),ut(Object(b.difference)(o(n.clientIds),n.clientIds)));break;case"MOVE_BLOCK_TO_POSITION":var a=[n.clientId];n.fromRootClientId&&a.push(n.fromRootClientId),n.toRootClientId&&a.push(n.toRootClientId),r.cache=Object(l.a)({},r.cache,ut(o(a)));break;case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":var s=[];n.rootClientId&&s.push(n.rootClientId),r.cache=Object(l.a)({},r.cache,ut(o(s)));break;case"SAVE_REUSABLE_BLOCK_SUCCESS":var u=Object(b.keys)(Object(b.omitBy)(r.attributes,(function(e,t){return"core/block"!==r.byClientId[t].name||e.ref!==n.updatedId})));r.cache=Object(l.a)({},r.cache,ut(o(u)))}return r}}),(function(e){return function(t,n){var r=function(e){for(var n=e,r=0;r1&&void 0!==arguments[1]?arguments[1]:"";return Object(b.reduce)(t[n],(function(n,r){return[].concat(Object(R.a)(n),[r],Object(R.a)(e(t,r)))}),[])}(t.order);return Object(l.a)({},t,{byClientId:Object(l.a)({},Object(b.omit)(t.byClientId,r),ct(n.blocks)),attributes:Object(l.a)({},Object(b.omit)(t.attributes,r),at(n.blocks)),order:Object(l.a)({},Object(b.omit)(t.order,r),rt(n.blocks)),parents:Object(l.a)({},Object(b.omit)(t.parents,r),ot(n.blocks)),cache:Object(l.a)({},Object(b.omit)(t.cache,r),Object(b.mapValues)(it(n.blocks),(function(){return{}})))})}return e(t,n)}}),(function(e){var t;return function(n,r){var o=e(n,r),i="MARK_LAST_CHANGE_AS_PERSISTENT"===r.type;if(n===o&&!i){var c=Object(b.get)(n,["isPersistentChange"],!0);return n.isPersistentChange===c?n:Object(l.a)({},o,{isPersistentChange:c})}return o=Object(l.a)({},o,{isPersistentChange:i||!st(r,t)}),t=r,o}}),(function(e){var t=new Set(["RECEIVE_BLOCKS"]);return function(n,r){var o=e(n,r);return o!==n&&(o.isIgnoredChange=t.has(r.type)),o}}))({byClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return ct(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Object(l.a)({},e,ct(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(b.omit)(t.updates,"attributes");return Object(b.isEmpty)(n)?e:Object(l.a)({},e,Object(I.a)({},t.clientId,Object(l.a)({},e[t.clientId],n)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Object(l.a)({},Object(b.omit)(e,t.replacedClientIds),ct(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(b.omit)(e,t.removedClientIds)}return e},attributes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return at(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Object(l.a)({},e,at(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?Object(l.a)({},e,Object(I.a)({},t.clientId,Object(l.a)({},e[t.clientId],t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.clientId])return e;var n=Object(b.reduce)(t.attributes,(function(n,r,o){return r!==n[o]&&((n=lt(e[t.clientId],n))[o]=r),n}),e[t.clientId]);return n===e[t.clientId]?e:Object(l.a)({},e,Object(I.a)({},t.clientId,n));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Object(l.a)({},Object(b.omit)(e,t.replacedClientIds),at(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(b.omit)(e,t.removedClientIds)}return e},order:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return rt(t.blocks);case"RECEIVE_BLOCKS":return Object(l.a)({},e,Object(b.omit)(rt(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],i=rt(t.blocks,r),c=t.index,a=void 0===c?o.length:c;return Object(l.a)({},e,i,Object(I.a)({},r,tt(o,i[r],a)));case"MOVE_BLOCK_TO_POSITION":var s,u=t.fromRootClientId,d=void 0===u?"":u,f=t.toRootClientId,p=void 0===f?"":f,h=t.clientId,m=t.index,g=void 0===m?e[p].length:m;if(d===p){var v=e[p],O=v.indexOf(h);return Object(l.a)({},e,Object(I.a)({},p,nt(e[p],O,g)))}return Object(l.a)({},e,(s={},Object(I.a)(s,d,Object(b.without)(e[d],h)),Object(I.a)(s,p,tt(e[p],h,g)),s));case"MOVE_BLOCKS_UP":var k=t.clientIds,j=t.rootClientId,y=void 0===j?"":j,_=Object(b.first)(k),S=e[y];if(!S.length||_===Object(b.first)(S))return e;var C=S.indexOf(_);return Object(l.a)({},e,Object(I.a)({},y,nt(S,C,C-1,k.length)));case"MOVE_BLOCKS_DOWN":var E=t.clientIds,w=t.rootClientId,B=void 0===w?"":w,T=Object(b.first)(E),x=Object(b.last)(E),N=e[B];if(!N.length||x===Object(b.last)(N))return e;var L=N.indexOf(T);return Object(l.a)({},e,Object(I.a)({},B,nt(N,L,L+1,E.length)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var A=t.clientIds;if(!t.blocks)return e;var M=rt(t.blocks);return Object(b.flow)([function(e){return Object(b.omit)(e,t.replacedClientIds)},function(e){return Object(l.a)({},e,Object(b.omit)(M,""))},function(e){return Object(b.mapValues)(e,(function(e){return Object(b.reduce)(e,(function(e,t){return t===A[0]?[].concat(Object(R.a)(e),Object(R.a)(M[""])):(-1===A.indexOf(t)&&e.push(t),e)}),[])}))}])(e);case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(b.flow)([function(e){return Object(b.omit)(e,t.removedClientIds)},function(e){return Object(b.mapValues)(e,(function(e){return b.without.apply(void 0,[e].concat(Object(R.a)(t.removedClientIds)))}))}])(e)}return e},parents:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return ot(t.blocks);case"RECEIVE_BLOCKS":return Object(l.a)({},e,ot(t.blocks));case"INSERT_BLOCKS":return Object(l.a)({},e,ot(t.blocks,t.rootClientId||""));case"MOVE_BLOCK_TO_POSITION":return Object(l.a)({},e,Object(I.a)({},t.clientId,t.toRootClientId||""));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(l.a)({},Object(b.omit)(e,t.replacedClientIds),ot(t.blocks,e[t.clientIds[0]]));case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(b.omit)(e,t.removedClientIds)}return e}});function ft(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.clientId?{}:e;case"SELECT_BLOCK":return t.clientId===e.clientId?e:{clientId:t.clientId};case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return t.updateSelection?{clientId:t.blocks[0].clientId}:e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.clientId)?{}:e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.clientId))return e;var n=t.indexToSelect||t.blocks.length-1,r=t.blocks[n];return r?r.clientId===e.clientId?e:{clientId:r.clientId}:{}}return e}var bt=Object(m.combineReducers)({blocks:dt,isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},isDraggingBlocks:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_DRAGGING_BLOCKS":return!0;case"STOP_DRAGGING_BLOCKS":return!1}return e},isCaretWithinFormattedText:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},selectionStart:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset};case"RESET_SELECTION":return t.selectionStart;case"MULTI_SELECT":return{clientId:t.start}}return ft(e,t)},selectionEnd:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset};case"RESET_SELECTION":return t.selectionEnd;case"MULTI_SELECT":return{clientId:t.end}}return ft(e,t)},isMultiSelecting:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e},isSelectionEnabled:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TOGGLE_SELECTION":return t.isSelectionEnabled}return e},initialPosition:function(e,t){return"SELECT_BLOCK"===t.type?t.initialPosition:"REMOVE_BLOCKS"===t.type?e:void 0},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===t.type){var n=t.clientId;return Object(l.a)({},e,Object(I.a)({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(b.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(b.isEqual)(e[n],t.settings)?e:Object(l.a)({},e,Object(I.a)({},n,t.settings)):e.hasOwnProperty(n)?Object(b.omit)(e,n):e}return e},insertionPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_INSERTION_POINT":return{rootClientId:t.rootClientId,index:t.index};case"HIDE_INSERTION_POINT":return null}return e},template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return Object(l.a)({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:et,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return Object(l.a)({},e,t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qe,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce((function(e,n){var r=n.name,o={name:n.name};return Object(i.isReusableBlock)(n)&&(o.ref=n.attributes.ref,r+="/"+n.attributes.ref),Object(l.a)({},e,{insertUsage:Object(l.a)({},e.insertUsage,Object(I.a)({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})}),e)}return e},lastBlockAttributesChange:function(e,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return Object(I.a)({},t.clientId,t.updates.attributes);case"UPDATE_BLOCK_ATTRIBUTES":return Object(I.a)({},t.clientId,t.attributes)}return null},isNavigationMode:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SET_NAVIGATION_MODE"===t.type?t.isNavigationMode:e},automaticChangeStatus:function(e,t){switch(t.type){case"MARK_AUTOMATIC_CHANGE":return"pending";case"MARK_AUTOMATIC_CHANGE_FINAL":return"pending"===e?"final":void 0;case"SELECTION_CHANGE":return"final"!==e?e:void 0;case"STOP_TYPING":return e}}}),pt=n(70),ht=n.n(pt),mt=n(216),gt=n.n(mt),vt=n(31),Ot=n(23),kt=n.n(Ot);function jt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o1&&void 0!==arguments[1]?arguments[1]:null,clientId:e}}function Dt(e){var t;return kt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,jt("core/block-editor","getPreviousBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,Pt(t,-1);case 6:case"end":return n.stop()}}),St)}function Ft(e){var t;return kt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,jt("core/block-editor","getNextBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,Pt(t);case 6:case"end":return n.stop()}}),Ct)}function Ut(){return{type:"START_MULTI_SELECT"}}function Ht(){return{type:"STOP_MULTI_SELECT"}}function Vt(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function zt(){return{type:"CLEAR_SELECTED_BLOCK"}}function Kt(){return{type:"TOGGLE_SELECTION",isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}function Wt(e,t){var n=Object(b.get)(t,["__experimentalPreferredStyleVariations","value"],{});return e.map((function(e){var t=e.name;if(!n[t])return e;var r=Object(b.get)(e,["attributes","className"]);if(Object(b.includes)(r,"is-style-"))return e;var o=e.attributes,i=void 0===o?{}:o,c=n[t];return Object(l.a)({},e,{attributes:Object(l.a)({},i,{className:"".concat(r||""," is-style-").concat(c).trim()})})}))}function Gt(e,t,n){var r,o,i;return kt.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return e=Object(b.castArray)(e),c.t0=Wt,c.t1=Object(b.castArray)(t),c.next=5,jt("core/block-editor","getSettings");case 5:return c.t2=c.sent,t=(0,c.t0)(c.t1,c.t2),c.next=9,jt("core/block-editor","getBlockRootClientId",Object(b.first)(e));case 9:r=c.sent,o=0;case 11:if(!(o1&&void 0!==a[1]?a[1]:"",n=a.length>2&&void 0!==a[2]?a[2]:"",r=a.length>3?a[3]:void 0,l.next=5,jt("core/block-editor","getTemplateLock",t);case 5:if("all"!==(o=l.sent)){l.next=8;break}return l.abrupt("return");case 8:if(i={type:"MOVE_BLOCK_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientId:e,index:r},t!==n){l.next=13;break}return l.next=12,i;case 12:return l.abrupt("return");case 13:if("insert"!==o){l.next=15;break}return l.abrupt("return");case 15:return l.next=17,jt("core/block-editor","getBlockName",e);case 17:return c=l.sent,l.next=20,jt("core/block-editor","canInsertBlockType",c,n);case 20:if(!l.sent){l.next=24;break}return l.next=24,i;case 24:case"end":return l.stop()}}),wt)}function Jt(e,t,n){return Qt([e],t,n,!(arguments.length>3&&void 0!==arguments[3])||arguments[3])}function Qt(e,t,n){var r,o,i,c,a,l,s,u,d=arguments;return kt.a.wrap((function(f){for(;;)switch(f.prev=f.next){case 0:return r=!(d.length>3&&void 0!==d[3])||d[3],f.t0=Wt,f.t1=Object(b.castArray)(e),f.next=5,jt("core/block-editor","getSettings");case 5:f.t2=f.sent,e=(0,f.t0)(f.t1,f.t2),o=[],i=!0,c=!1,a=void 0,f.prev=11,l=e[Symbol.iterator]();case 13:if(i=(s=l.next()).done){f.next=22;break}return u=s.value,f.next=17,jt("core/block-editor","canInsertBlockType",u.name,n);case 17:f.sent&&o.push(u);case 19:i=!0,f.next=13;break;case 22:f.next=28;break;case 24:f.prev=24,f.t3=f.catch(11),c=!0,a=f.t3;case 28:f.prev=28,f.prev=29,i||null==l.return||l.return();case 31:if(f.prev=31,!c){f.next=34;break}throw a;case 34:return f.finish(31);case 35:return f.finish(28);case 36:if(!o.length){f.next=38;break}return f.abrupt("return",{type:"INSERT_BLOCKS",blocks:o,index:t,rootClientId:n,time:Date.now(),updateSelection:r});case 38:case"end":return f.stop()}}),It,null,[[11,24,28,36],[29,,31,35]])}function en(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function tn(){return{type:"HIDE_INSERTION_POINT"}}function nn(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function rn(){return{type:"SYNCHRONIZE_TEMPLATE"}}function on(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function cn(e){var t,n=arguments;return kt.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t=!(n.length>1&&void 0!==n[1])||n[1],e=Object(b.castArray)(e),!t){r.next=5;break}return r.next=5,Dt(e[0]);case 5:return r.next=7,{type:"REMOVE_BLOCKS",clientIds:e};case 7:return r.delegateYield(xt(),"t0",8);case 8:case"end":return r.stop()}}),Bt)}function an(e,t){return cn([e],t)}function ln(e,t){return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:!(arguments.length>2&&void 0!==arguments[2])||arguments[2],time:Date.now()}}function sn(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function un(){return{type:"START_TYPING"}}function dn(){return{type:"STOP_TYPING"}}function fn(){return{type:"START_DRAGGING_BLOCKS"}}function bn(){return{type:"STOP_DRAGGING_BLOCKS"}}function pn(){return{type:"ENTER_FORMATTED_TEXT"}}function hn(){return{type:"EXIT_FORMATTED_TEXT"}}function mn(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function gn(e,t,n){var r=Object(i.getDefaultBlockName)();if(r)return Jt(Object(i.createBlock)(r,e),n,t)}function vn(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function On(e){return{type:"UPDATE_SETTINGS",settings:e}}function kn(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function jn(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function yn(){return{type:"MARK_AUTOMATIC_CHANGE"}}function _n(){var e,t=arguments;return kt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=!(t.length>0&&void 0!==t[0])||t[0],n.next=3,{type:"SET_NAVIGATION_MODE",isNavigationMode:e};case 3:e?Object(Y.speak)(Object(F.__)("You are currently in navigation mode. Navigate blocks using the Tab key. To exit navigation mode and edit the selected block, press Enter.")):Object(Y.speak)(Object(F.__)("You are currently in edit mode. To return to the navigation mode, press Escape."));case 4:case"end":return n.stop()}}),Tt)}var Sn=n(38),Cn=3,En=2,wn=1,In=0,Bn=Object(u.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(u.createElement)(U.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(u.createElement)(U.G,null,Object(u.createElement)(U.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"}))),Tn=[];function xn(e,t){var n=e.blocks.byClientId[t];return n?n.name:null}function Nn(e,t){var n=e.blocks.byClientId[t];return!!n&&n.isValid}function Ln(e,t){return e.blocks.byClientId[t]?e.blocks.attributes[t]:null}var An=Object(Sn.a)((function(e,t){var n=e.blocks.byClientId[t];return n?Object(l.a)({},n,{attributes:Ln(e,t),innerBlocks:Mn(e,t)}):null}),(function(e,t){return[e.blocks.cache[t]]})),Rn=Object(Sn.a)((function(e,t){var n=e.blocks.byClientId[t];return n?Object(l.a)({},n,{attributes:Ln(e,t)}):null}),(function(e,t){return[e.blocks.byClientId[t],e.blocks.attributes[t]]})),Mn=Object(Sn.a)((function(e,t){return Object(b.map)(br(e,t),(function(t){return An(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]})),Pn=function e(t,n){return Object(b.flatMap)(n,(function(n){var r=br(t,n);return[].concat(Object(R.a)(r),Object(R.a)(e(t,r)))}))},Dn=Object(Sn.a)((function(e){var t=br(e);return[].concat(Object(R.a)(t),Object(R.a)(Pn(e,t)))}),(function(e){return[e.blocks.order]})),Fn=Object(Sn.a)((function(e,t){var n=Dn(e);return t?Object(b.reduce)(n,(function(n,r){return e.blocks.byClientId[r].name===t?n+1:n}),0):n.length}),(function(e){return[e.blocks.order,e.blocks.byClientId]})),Un=Object(Sn.a)((function(e,t){return Object(b.map)(Object(b.castArray)(t),(function(t){return An(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]}));function Hn(e,t){return br(e,t).length}function Vn(e){return e.selectionStart}function zn(e){return e.selectionEnd}function Kn(e){return e.selectionStart.clientId}function Wn(e){return e.selectionEnd.clientId}function Gn(e){var t=or(e).length;return t||(e.selectionStart.clientId?1:0)}function qn(e){var t=e.selectionStart,n=e.selectionEnd;return!!t.clientId&&t.clientId===n.clientId}function $n(e){var t=e.selectionStart,n=e.selectionEnd,r=t.clientId;return r&&r===n.clientId?r:null}function Yn(e){var t=$n(e);return t?An(e,t):null}function Xn(e,t){return void 0!==e.blocks.parents[t]?e.blocks.parents[t]:null}var Zn=Object(Sn.a)((function(e,t){for(var n=[],r=t;e.blocks.parents[r];)r=e.blocks.parents[r],n.push(r);return n.reverse()}),(function(e){return[e.blocks.parents]}));function Jn(e,t){var n,r=t;do{n=r,r=e.blocks.parents[r]}while(r);return n}function Qn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=$n(e)),void 0===t&&(t=n<0?cr(e):ar(e)),!t)return null;var r=Xn(e,t);if(null===r)return null;var o=e.blocks.order[r],i=o.indexOf(t)+1*n;return i<0?null:i===o.length?null:o[i]}function er(e,t){return Qn(e,t,-1)}function tr(e,t){return Qn(e,t,1)}function nr(e){return e.initialPosition}var rr=Object(Sn.a)((function(e){var t=e.selectionStart,n=e.selectionEnd;if(void 0===t.clientId||void 0===n.clientId)return Tn;if(t.clientId===n.clientId)return[t.clientId];var r=Xn(e,t.clientId);if(null===r)return Tn;var o=br(e,r),i=o.indexOf(t.clientId),c=o.indexOf(n.clientId);return i>c?o.slice(c,i+1):o.slice(i,c+1)}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function or(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?Tn:rr(e)}var ir=Object(Sn.a)((function(e){var t=or(e);return t.length?t.map((function(t){return An(e,t)})):Tn}),(function(e){return[].concat(Object(R.a)(rr.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes])}));function cr(e){return Object(b.first)(or(e))||null}function ar(e){return Object(b.last)(or(e))||null}function lr(e,t){return cr(e)===t}function sr(e,t){return-1!==or(e).indexOf(t)}var ur=Object(Sn.a)((function(e,t){for(var n=t,r=!1;n&&!r;)r=sr(e,n=Xn(e,n));return r}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function dr(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:t.clientId||null}function fr(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:n.clientId||null}function br(e,t){return e.blocks.order[t||""]||Tn}function pr(e,t,n){return br(e,n).indexOf(t)}function hr(e,t){var n=e.selectionStart,r=e.selectionEnd;return n.clientId===r.clientId&&n.clientId===t}function mr(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(b.some)(br(e,t),(function(t){return hr(e,t)||sr(e,t)||n&&mr(e,t,n)}))}function gr(e,t){if(!t)return!1;var n=or(e),r=n.indexOf(t);return r>-1&&r2&&void 0!==arguments[2]?arguments[2]:null,r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(b.isBoolean)(e)?e:Object(b.isArray)(e)?Object(b.includes)(e,t):n},o=Object(i.getBlockType)(t);if(!o)return!1;var c=Dr(e),a=c.allowedBlockTypes,l=r(a,t,!0);if(!l)return!1;var s=!!Br(e,n);if(s)return!1;var u=Pr(e,n),d=Object(b.get)(u,["allowedBlocks"]),f=r(d,t),p=o.parent,h=xn(e,n),m=r(p,h);return null!==f&&null!==m?f||m:null!==f?f:null===m||m},xr=Object(Sn.a)(Tr,(function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]}));function Nr(e,t){return Object(b.get)(e.preferences.insertUsage,[t],null)}var Lr=function(e,t,n){return!!Object(i.hasBlockSupport)(t,"inserter",!0)&&Tr(e,t.name,n)},Ar=Object(Sn.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?Cn:t>0?En:"common"===e?wn:In},r=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<36e5:return 4*t;case n<864e5:return 2*t;case n<6048e5:return t/2;default:return t/4}},o=function(t){var o=t.name,c=!1;Object(i.hasBlockSupport)(t.name,"multiple",!0)||(c=Object(b.some)(Un(e,Dn(e)),{name:t.name}));var a=Object(b.isArray)(t.parent),l=Nr(e,o)||{},s=l.time,u=l.count,d=void 0===u?0:u;return{id:o,name:t.name,initialAttributes:{},title:t.title,icon:t.icon,category:t.category,keywords:t.keywords,isDisabled:c,utility:n(t.category,d,a),frecency:r(s,d)}},c=function(t){var o,c="core/block/".concat(t.id),a=Ur(e,t.id);1===a.length&&(o=Object(i.getBlockType)(a[0].name));var l=Nr(e,c)||{},s=l.time,u=l.count,d=void 0===u?0:u,f=n("reusable",d,!1),b=r(s,d);return{id:c,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:o?o.icon:Bn,category:"reusable",keywords:[],isDisabled:!1,utility:f,frecency:b}},a=Object(i.getBlockTypes)().filter((function(n){return Lr(e,n,t)})).map(o),l=Tr(e,"core/block",t)?zr(e).map(c):[];return Object(b.orderBy)([].concat(Object(R.a)(a),Object(R.a)(l)),["utility","frecency"],["desc","desc"])}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,zr(e),Object(i.getBlockTypes)()]})),Rr=Object(Sn.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(b.some)(Object(i.getBlockTypes)(),(function(n){return Lr(e,n,t)}));if(n)return!0;var r=Tr(e,"core/block",t)&&zr(e).length>0;return r}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,zr(e),Object(i.getBlockTypes)()]})),Mr=Object(Sn.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return Object(b.filter)(Object(i.getBlockTypes)(),(function(n){return Lr(e,n,t)}))}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Object(i.getBlockTypes)()]}));function Pr(e,t){return e.blockListSettings[t]}function Dr(e){return e.settings}function Fr(e){return e.blocks.isPersistentChange}var Ur=Object(Sn.a)((function(e,t){var n=Object(b.find)(zr(e),(function(e){return e.id===t}));return n?Object(i.parse)(n.content):null}),(function(e){return[zr(e)]}));function Hr(e){return e.blocks.isIgnoredChange}function Vr(e){return e.lastBlockAttributesChange}function zr(e){return Object(b.get)(e,["settings","__experimentalReusableBlocks"],Tn)}function Kr(e){return e.isNavigationMode}function Wr(e){return!!e.automaticChangeStatus}var Gr={MERGE_BLOCKS:function(e,t){var n=t.dispatch,r=t.getState(),o=Object(Je.a)(e.blocks,2),a=o[0],s=o[1],u=An(r,a),d=Object(i.getBlockType)(u.name);if(d.merge){var f=An(r,s),p=Object(i.getBlockType)(f.name),h=Vn(r),m=h.clientId,g=h.attributeKey,v=h.offset,O=(m===a?d:p).attributes[g],k=(m===a||m===s)&&void 0!==g&&void 0!==v&&!!O;O||("number"==typeof g?window.console.error("RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was ".concat(Object(vt.a)(g))):window.console.error("The RichText identifier prop does not match any attributes defined by the block."));var j=Object(i.cloneBlock)(u),y=Object(i.cloneBlock)(f);if(k){var _=m===a?j:y,S=_.attributes[g],C=O.multiline,E=O.__unstableMultilineWrapperTags,w=O.__unstablePreserveWhiteSpace,I=Object(c.insert)(Object(c.create)({html:S,multilineTag:C,multilineWrapperTags:E,preserveWhiteSpace:w}),"†",v,v);_.attributes[g]=Object(c.toHTMLString)({value:I,multilineTag:C,preserveWhiteSpace:w})}var B=u.name===f.name?[y]:Object(i.switchToBlockType)(y,u.name);if(B&&B.length){var T=d.merge(j.attributes,B[0].attributes);if(k){var x=Object(b.findKey)(T,(function(e){return"string"==typeof e&&-1!==e.indexOf("†")})),N=T[x],L=d.attributes[x],A=L.multiline,M=L.__unstableMultilineWrapperTags,P=L.__unstablePreserveWhiteSpace,D=Object(c.create)({html:N,multilineTag:A,multilineWrapperTags:M,preserveWhiteSpace:P}),F=D.text.indexOf("†"),U=Object(c.remove)(D,F,F+1),H=Object(c.toHTMLString)({value:U,multilineTag:A,preserveWhiteSpace:P});T[x]=H,n(mn(u.clientId,x,F,F))}n(Gt([u.clientId,f.clientId],[Object(l.a)({},u,{attributes:Object(l.a)({},u.attributes,T)})].concat(Object(R.a)(B.slice(1)))))}}else n(Pt(u.clientId))},RESET_BLOCKS:[function(e,t){var n=t.getState(),r=Ir(n),o=Br(n),c=!r||"all"!==o||Object(i.doBlocksMatchTemplate)(e.blocks,r);if(c!==wr(n))return nn(c)}],MULTI_SELECT:function(e,t){var n=Gn((0,t.getState)());Object(Y.speak)(Object(F.sprintf)(Object(F._n)("%s block selected.","%s blocks selected.",n),n),"assertive")},SYNCHRONIZE_TEMPLATE:function(e,t){var n=(0,t.getState)(),r=Mn(n),o=Ir(n);return Nt(Object(i.synchronizeBlocksWithTemplate)(r,o))},MARK_AUTOMATIC_CHANGE:function(e,t){var n=window,r=n.setTimeout,o=n.requestIdleCallback;(void 0===o?function(e){return r(e,100)}:o)((function(){t.dispatch({type:"MARK_AUTOMATIC_CHANGE_FINAL"})}))}};var qr=function(e){var t,n=[ht()(Gr),gt.a],r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}};return t=n.map((function(e){return e(o)})),r=b.flowRight.apply(void 0,Object(R.a)(t))(e.dispatch),e.dispatch=r,e},$r={reducer:bt,selectors:o,actions:r,controls:yt},Yr=Object(m.registerStore)("core/block-editor",Object(l.a)({},$r,{persist:["preferences"]}));qr(Yr);var Xr=Object(p.createHigherOrderComponent)((function(e){return Object(m.withRegistry)((function(t){var n=t.useSubRegistry,r=void 0===n||n,o=t.registry,i=Object(M.a)(t,["useSubRegistry","registry"]);if(!r)return Object(u.createElement)(e,Object(s.a)({registry:o},i));var c=Object(u.useState)(null),a=Object(Je.a)(c,2),l=a[0],d=a[1];return Object(u.useEffect)((function(){var e=Object(m.createRegistry)({},o),t=e.registerStore("core/block-editor",$r);qr(t),d(e)}),[o]),l?Object(u.createElement)(m.RegistryProvider,{value:l},Object(u.createElement)(e,Object(s.a)({registry:l},i))):null}))}),"withRegistryProvider"),Zr=function(e){function t(){return Object(y.a)(this,t),Object(S.a)(this,Object(C.a)(t).apply(this,arguments))}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidMount",value:function(){this.props.updateSettings(this.props.settings),this.props.resetBlocks(this.props.value),this.attachChangeObserver(this.props.registry),this.isSyncingOutcomingValue=[]}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.settings,r=t.updateSettings,o=t.value,i=t.resetBlocks,c=t.selectionStart,a=t.selectionEnd,l=t.resetSelection,s=t.registry;n!==e.settings&&r(n),s!==e.registry&&this.attachChangeObserver(s),this.isSyncingOutcomingValue.includes(o)?Object(b.last)(this.isSyncingOutcomingValue)===o&&(this.isSyncingOutcomingValue=[]):o!==e.value&&(this.isSyncingOutcomingValue=[],this.isSyncingIncomingValue=o,i(o),c&&a&&l(c,a))}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"attachChangeObserver",value:function(e){var t=this;this.unsubscribe&&this.unsubscribe();var n=e.select("core/block-editor"),r=n.getBlocks,o=n.getSelectionStart,i=n.getSelectionEnd,c=n.isLastBlockChangePersistent,a=n.__unstableIsLastBlockChangeIgnored,l=r(),s=c();this.unsubscribe=e.subscribe((function(){var e=t.props,n=e.onChange,u=void 0===n?b.noop:n,d=e.onInput,f=void 0===d?b.noop:d,p=r(),h=c();if(p!==l&&(t.isSyncingIncomingValue||a()))return t.isSyncingIncomingValue=null,l=p,void(s=h);if(p!==l||h&&!s){p!==l&&t.isSyncingOutcomingValue.push(p),l=p,s=h;var m=o(),g=i();s?u(l,{selectionStart:m,selectionEnd:g}):f(l,{selectionStart:m,selectionEnd:g})}}))}},{key:"render",value:function(){return this.props.children}}]),t}(u.Component),Jr=Object(p.compose)([Xr,Object(m.withDispatch)((function(e){var t=e("core/block-editor");return{updateSettings:t.updateSettings,resetBlocks:t.resetBlocks,resetSelection:t.resetSelection}}))])(Zr),Qr=function(e){var t=e.children,n=e.clientId,r=e.isBlockInSelection,o=Object(m.useSelect)((function(e){return e("core/block-editor").hasSelectedInnerBlock(n,!0)})),i=r||o;return Object(u.createElement)(m.AsyncModeProvider,{value:!i},t)},eo=n(63),to=n(29);function no(e,t,n,r,o,i,c,a){var l=n+1,s=function(e){return"up"===e?"horizontal"===c?a?"right":"left":"up":"down"===e?"horizontal"===c?a?"left":"right":"down":null};return e>1?function(e,t,n,r,o){var i=t+1;if(o<0&&n)return Object(F.__)("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return Object(F.__)("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return Object(F.sprintf)(Object(F._n)("Move %1$d block from position %2$d up by one place","Move %1$d blocks from position %2$d up by one place",e),e,i);if(o>0&&!r)return Object(F.sprintf)(Object(F._n)("Move %1$d block from position %2$d down by one place","Move %1$d blocks from position %2$d down by one place",e),e,i)}(e,n,r,o,i):r&&o?Object(F.sprintf)(Object(F.__)("Block %s is the only block, and cannot be moved"),t):i>0&&!o?Object(F.sprintf)(Object(F.__)("Move %1$s block from position %2$d %3$s to position %4$d"),t,l,s("down"),l+1):i>0&&o?Object(F.sprintf)(Object(F.__)("Block %1$s is at the end of the content and can’t be moved %2$s"),t,s("down")):i<0&&!r?Object(F.sprintf)(Object(F.__)("Move %1$s block from position %2$d %3$s to position %4$d"),t,l,s("up"),l-1):i<0&&r?Object(F.sprintf)(Object(F.__)("Block %1$s is at the beginning of the content and can’t be moved %2$s"),t,s("up")):void 0}var ro=Object(u.createElement)(U.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(u.createElement)(U.Polygon,{points:"9,4.5 3.3,10.1 4.8,11.5 9,7.3 13.2,11.5 14.7,10.1 "})),oo=Object(u.createElement)(U.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(u.createElement)(U.Path,{d:"M4.5 9l5.6-5.7 1.4 1.5L7.3 9l4.2 4.2-1.4 1.5L4.5 9z"})),io=Object(u.createElement)(U.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(u.createElement)(U.Polygon,{points:"9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 "})),co=Object(u.createElement)(U.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(u.createElement)(U.Path,{d:"M13.5 9L7.9 3.3 6.5 4.8 10.7 9l-4.2 4.2 1.4 1.5L13.5 9z"})),ao=Object(u.createElement)(U.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(u.createElement)(U.Path,{d:"M13,8c0.6,0,1-0.4,1-1s-0.4-1-1-1s-1,0.4-1,1S12.4,8,13,8z M5,6C4.4,6,4,6.4,4,7s0.4,1,1,1s1-0.4,1-1S5.6,6,5,6z M5,10 c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S5.6,10,5,10z M13,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S13.6,10,13,10z M9,6 C8.4,6,8,6.4,8,7s0.4,1,1,1s1-0.4,1-1S9.6,6,9,6z M9,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S9.6,10,9,10z"})),lo=function(e){var t=e.children,n=e.clientIds,r=Object(m.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockIndex,o=t.getBlockRootClientId,i=t.getTemplateLock,c=Object(b.castArray)(n),a=1===c.length?o(c[0]):null,l=a?i(a):null;return{index:r(c[0],a),srcRootClientId:a,isDraggable:1===c.length&&"all"!==l}}),[n]),o=r.srcRootClientId,i=r.index,c=r.isDraggable,a=Object(u.useRef)(!1),l=Object(m.useDispatch)("core/block-editor"),s=l.startDraggingBlocks,d=l.stopDraggingBlocks;if(Object(u.useEffect)((function(){return function(){a.current&&d()}}),[]),!c)return null;var f=Object(b.castArray)(n),p="block-".concat(f[0]),h={type:"block",srcIndex:i,srcClientId:f[0],srcRootClientId:o};return Object(u.createElement)(U.Draggable,{elementId:p,transferData:h,onDragStart:function(){s(),a.current=!0},onDragEnd:function(){d(),a.current=!1}},(function(e){var n=e.onDraggableStart,r=e.onDraggableEnd;return t({onDraggableStart:n,onDraggableEnd:r})}))},so=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(E.a)(e)),e.onBlur=e.onBlur.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.onMoveUp,n=e.onMoveDown,r=e.__experimentalOrientation,o=e.isRTL,i=e.isFirst,c=e.isLast,a=e.clientIds,l=e.blockType,s=e.firstIndex,d=e.isLocked,p=e.instanceId,h=e.isHidden,m=e.rootClientId,g=this.state.isFocused,v=Object(b.castArray)(a).length;if(d||i&&c&&!m)return null;var O=function(e){return"up"===e?"horizontal"===r?o?co:oo:ro:"down"===e?"horizontal"===r?o?oo:co:io:null},k=function(e){return"up"===e?"horizontal"===r?o?"right":"left":"up":"down"===e?"horizontal"===r?o?"left":"right":"down":null};return Object(u.createElement)("div",{className:f()("editor-block-mover block-editor-block-mover",{"is-visible":g||!h,"is-horizontal":"horizontal"===r})},Object(u.createElement)(U.IconButton,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:i?null:t,icon:O("up"),label:Object(F.sprintf)(Object(F.__)("Move %s"),k("up")),"aria-describedby":"block-editor-block-mover__up-description-".concat(p),"aria-disabled":i,onFocus:this.onFocus,onBlur:this.onBlur}),Object(u.createElement)(lo,{clientIds:a},(function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(u.createElement)(U.IconButton,{icon:ao,className:"block-editor-block-mover__control-drag-handle editor-block-mover__control block-editor-block-mover__control","aria-hidden":"true",onDragStart:t,onDragEnd:n,draggable:!0})})),Object(u.createElement)(U.IconButton,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:c?null:n,icon:O("down"),label:Object(F.sprintf)(Object(F.__)("Move %s"),k("down")),"aria-describedby":"block-editor-block-mover__down-description-".concat(p),"aria-disabled":c,onFocus:this.onFocus,onBlur:this.onBlur}),Object(u.createElement)("span",{id:"block-editor-block-mover__up-description-".concat(p),className:"editor-block-mover__description block-editor-block-mover__description"},no(v,l&&l.title,s,i,c,-1,r,o)),Object(u.createElement)("span",{id:"block-editor-block-mover__down-description-".concat(p),className:"editor-block-mover__description block-editor-block-mover__description"},no(v,l&&l.title,s,i,c,1,r,o)))}}]),t}(u.Component),uo=Object(p.compose)(Object(m.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlock,c=r.getBlockIndex,a=r.getTemplateLock,l=r.getBlockRootClientId,s=r.getBlockOrder,u=Object(b.castArray)(n),d=Object(b.first)(u),f=o(d),p=l(Object(b.first)(u)),h=s(p),m=c(d,p),g=c(Object(b.last)(u),p),v=(0,e("core/block-editor").getSettings)().isRTL;return{blockType:f?Object(i.getBlockType)(f.name):null,isLocked:"all"===a(p),rootClientId:p,firstIndex:m,isRTL:v,isFirst:0===m,isLast:g===h.length-1}})),Object(m.withDispatch)((function(e,t){var n=t.clientIds,r=t.rootClientId,o=e("core/block-editor"),i=o.moveBlocksDown,c=o.moveBlocksUp;return{onMoveDown:Object(b.partial)(i,n,r),onMoveUp:Object(b.partial)(c,n,r)}})),p.withInstanceId)(so);var fo=function(e){var t=e.className,n=e.actions,r=e.children,o=e.secondaryActions;return Object(u.createElement)("div",{className:f()(t,"editor-warning block-editor-warning")},Object(u.createElement)("div",{className:"editor-warning__contents block-editor-warning__contents"},Object(u.createElement)("p",{className:"editor-warning__message block-editor-warning__message"},r),u.Children.count(n)>0&&Object(u.createElement)("div",{className:"editor-warning__actions block-editor-warning__actions"},u.Children.map(n,(function(e,t){return Object(u.createElement)("span",{key:t,className:"editor-warning__action block-editor-warning__action"},e)})))),o&&Object(u.createElement)(U.Dropdown,{className:"editor-warning__secondary block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(u.createElement)(U.IconButton,{icon:"ellipsis",label:Object(F.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(u.createElement)(U.MenuGroup,null,o.map((function(e,t){return Object(u.createElement)(U.MenuItem,{onClick:e.onClick,key:t},e.title)})))}}))},bo=n(217),po=function(e){var t=e.title,n=e.rawContent,r=e.renderedContent,o=e.action,i=e.actionText,c=e.className;return Object(u.createElement)("div",{className:c},Object(u.createElement)("div",{className:"editor-block-compare__content block-editor-block-compare__content"},Object(u.createElement)("h2",{className:"editor-block-compare__heading block-editor-block-compare__heading"},t),Object(u.createElement)("div",{className:"editor-block-compare__html block-editor-block-compare__html"},n),Object(u.createElement)("div",{className:"editor-block-compare__preview block-editor-block-compare__preview edit-post-visual-editor"},r)),Object(u.createElement)("div",{className:"editor-block-compare__action block-editor-block-compare__action"},Object(u.createElement)(U.Button,{isLarge:!0,tabIndex:"0",onClick:o},i)))},ho=function(e){function t(){return Object(y.a)(this,t),Object(S.a)(this,Object(C.a)(t).apply(this,arguments))}return Object(w.a)(t,e),Object(_.a)(t,[{key:"getDifference",value:function(e,t){return Object(bo.diffChars)(e,t).map((function(e,t){var n=f()({"editor-block-compare__added block-editor-block-compare__added":e.added,"editor-block-compare__removed block-editor-block-compare__removed":e.removed});return Object(u.createElement)("span",{key:t,className:n},e.value)}))}},{key:"getOriginalContent",value:function(e){return{rawContent:e.originalContent,renderedContent:Object(i.getSaveElement)(e.name,e.attributes)}}},{key:"getConvertedContent",value:function(e){var t=Object(b.castArray)(e),n=t.map((function(e){return Object(i.getSaveContent)(e.name,e.attributes,e.innerBlocks)})),r=t.map((function(e){return Object(i.getSaveElement)(e.name,e.attributes,e.innerBlocks)}));return{rawContent:n.join(""),renderedContent:r}}},{key:"render",value:function(){var e=this.props,t=e.block,n=e.onKeep,r=e.onConvert,o=e.convertor,i=e.convertButtonText,c=this.getOriginalContent(t),a=this.getConvertedContent(o(t)),l=this.getDifference(c.rawContent,a.rawContent);return Object(u.createElement)("div",{className:"editor-block-compare__wrapper block-editor-block-compare__wrapper"},Object(u.createElement)(po,{title:Object(F.__)("Current"),className:"editor-block-compare__current block-editor-block-compare__current",action:n,actionText:Object(F.__)("Convert to HTML"),rawContent:c.rawContent,renderedContent:c.renderedContent}),Object(u.createElement)(po,{title:Object(F.__)("After Conversion"),className:"editor-block-compare__converted block-editor-block-compare__converted",action:r,actionText:i,rawContent:l,renderedContent:a.renderedContent}))}}]),t}(u.Component),mo=function(e){function t(e){var n;return Object(y.a)(this,t),(n=Object(S.a)(this,Object(C.a)(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(Object(E.a)(n)),n.onCompareClose=n.onCompareClose.bind(Object(E.a)(n)),n}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onCompare",value:function(){this.setState({compare:!0})}},{key:"onCompareClose",value:function(){this.setState({compare:!1})}},{key:"render",value:function(){var e=this.props,t=e.convertToHTML,n=e.convertToBlocks,r=e.convertToClassic,o=e.attemptBlockRecovery,c=e.block,a=!!Object(i.getBlockType)("core/html"),l=this.state.compare,s=[{title:Object(F.__)("Convert to Classic Block"),onClick:r},{title:Object(F.__)("Attempt Block Recovery"),onClick:o}];return Object(u.createElement)(u.Fragment,null,Object(u.createElement)(fo,{actions:[Object(u.createElement)(U.Button,{key:"convert",onClick:this.onCompare,isLarge:!0,isPrimary:!a},Object(F._x)("Resolve","imperative verb")),a&&Object(u.createElement)(U.Button,{key:"edit",onClick:t,isLarge:!0,isPrimary:!0},Object(F.__)("Convert to HTML"))],secondaryActions:s},Object(F.__)("This block contains unexpected or invalid content.")),l&&Object(u.createElement)(U.Modal,{title:Object(F.__)("Resolve Block"),onRequestClose:this.onCompareClose,className:"editor-block-compare block-editor-block-compare"},Object(u.createElement)(ho,{block:c,onKeep:t,onConvert:n,convertor:go,convertButtonText:Object(F.__)("Convert to Blocks")})))}}]),t}(u.Component),go=function(e){return Object(i.rawHandler)({HTML:e.originalContent})},vo=Object(p.compose)([Object(m.withSelect)((function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}})),Object(m.withDispatch)((function(e,t){var n=t.block,r=e("core/block-editor").replaceBlock;return{convertToClassic:function(){r(n.clientId,function(e){return Object(i.createBlock)("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){r(n.clientId,function(e){return Object(i.createBlock)("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){r(n.clientId,go(n))},attemptBlockRecovery:function(){var e,t,o,c;r(n.clientId,(t=(e=n).name,o=e.attributes,c=e.innerBlocks,Object(i.createBlock)(t,o,c)))}}}))])(mo),Oo=Object(u.createElement)(fo,{className:"block-editor-block-list__block-crash-warning"},Object(F.__)("This block has encountered an error and cannot be previewed.")),ko=function(){return Oo},jo=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={hasError:!1},e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),t}(u.Component),yo=n(60),_o=n.n(yo);var So=function(e){var t=e.clientId,n=Object(u.useState)(""),r=Object(Je.a)(n,2),o=r[0],c=r[1],a=Object(m.useSelect)((function(e){return{block:e("core/block-editor").getBlock(t)}}),[t]).block,l=Object(m.useDispatch)("core/block-editor").updateBlock;return Object(u.useEffect)((function(){c(Object(i.getBlockContent)(a))}),[a]),Object(u.createElement)(_o.a,{className:"editor-block-list__block-html-textarea block-editor-block-list__block-html-textarea",value:o,onBlur:function(){var e=Object(i.getBlockType)(a.name),n=Object(i.getBlockAttributes)(e,o,a.attributes),r=o||Object(i.getSaveContent)(e,n),s=!o||Object(i.isValidBlockContent)(e,n,r);l(t,{attributes:n,originalContent:r,isValid:s}),o||c({content:r})},onChange:function(e){return c(e.target.value)}})},Co=Object(u.forwardRef)((function(e,t){var n=e.clientId,r=Object(m.useDispatch)("core/block-editor").setNavigationMode;return Object(u.createElement)("div",{className:"editor-block-list__breadcrumb block-editor-block-list__breadcrumb"},Object(u.createElement)(U.Toolbar,null,Object(u.createElement)(U.Button,{ref:t,onClick:function(){return r(!1)}},Object(u.createElement)(Le,{clientId:n}))))})),Eo=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).focusToolbar=e.focusToolbar.bind(Object(E.a)(e)),e.toolbar=Object(u.createRef)(),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"focusToolbar",value:function(){var e=to.focus.tabbable.find(this.toolbar.current);e.length&&e[0].focus()}},{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusToolbar(),this.toolbar.current.addEventListener("keydown",this.switchOnKeyDown)}},{key:"componentwillUnmount",value:function(){this.toolbar.current.removeEventListener("keydown",this.switchOnKeyDown)}},{key:"render",value:function(){var e=this.props,t=e.children,n=Object(M.a)(e,["children"]);return Object(u.createElement)(U.NavigableMenu,Object(s.a)({orientation:"horizontal",role:"toolbar",ref:this.toolbar},Object(b.omit)(n,["focusOnMount"])),Object(u.createElement)(U.KeyboardShortcuts,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":this.focusToolbar}}),t)}}]),t}(u.Component);var wo=function(e){var t=e.focusOnMount;return Object(u.createElement)(Eo,{focusOnMount:t,className:"editor-block-contextual-toolbar block-editor-block-contextual-toolbar","aria-label":Object(F.__)("Block tools")},Object(u.createElement)(Sa,null))};var Io=Object(m.withSelect)((function(e){var t=e("core/block-editor"),n=t.getMultiSelectedBlockClientIds,r=t.isMultiSelecting;return{multiSelectedBlockClientIds:n(),isSelecting:r()}}))((function(e){var t=e.multiSelectedBlockClientIds,n=e.isSelecting,r=e.moverDirection;return n?null:Object(u.createElement)(uo,{clientIds:t,__experimentalOrientation:r})}));function Bo(e){var t=e.rootClientId,n=e.clientId,r=Object(u.useState)(!1),o=Object(Je.a)(r,2),i=o[0],c=o[1],a=Object(m.useSelect)((function(e){var r=e("core/block-editor"),o=r.getBlockIndex,i=r.getBlockInsertionPoint,c=r.isBlockInsertionPointVisible,a=o(n,t),l=i();return c()&&l.index===a&&l.rootClientId===t}));return Object(u.createElement)("div",{className:"editor-block-list__insertion-point block-editor-block-list__insertion-point"},a&&Object(u.createElement)("div",{className:"editor-block-list__insertion-point-indicator block-editor-block-list__insertion-point-indicator"}),Object(u.createElement)("div",{onFocus:function(e){e.stopPropagation(),c(!0)},onBlur:function(){c(!1)},tabIndex:-1,className:f()("editor-block-list__insertion-point-inserter block-editor-block-list__insertion-point-inserter",{"is-visible":i})},Object(u.createElement)(gi,{rootClientId:t,clientId:n})))}var To=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).proxyEvent=e.proxyEvent.bind(Object(E.a)(e)),e.eventMap={},e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"proxyEvent",value:function(e){var t=!!e.nativeEvent._blockHandled;e.nativeEvent._blockHandled=!0;var n=this.eventMap[e.type];t&&(n+="Handled"),this.props[n]&&this.props[n](e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.childHandledEvents,r=void 0===n?[]:n,o=t.forwardedRef,i=t.tagName,c=void 0===i?"div":i,a=Object(M.a)(t,["childHandledEvents","forwardedRef","tagName"]),s=Object(b.reduce)([].concat(Object(R.a)(r),Object(R.a)(Object.keys(a))),(function(t,n){var r=n.match(/^on([A-Z][a-zA-Z]+?)(Handled)?$/);if(r){!!r[2]&&delete a[n];var o="on"+r[1];t[o]=e.proxyEvent,e.eventMap[r[1].toLowerCase()]=o}return t}),{});return Object(u.createElement)(c,Object(l.a)({ref:o},a,s))}}]),t}(u.Component),xo=function(e,t){return Object(u.createElement)(To,Object(s.a)({},e,{forwardedRef:t}))};xo.displayName="IgnoreNestedEvents";var No=Object(u.forwardRef)(xo);var Lo=Object(p.compose)(Object(m.withSelect)((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getInserterItems,i=r.getTemplateLock;return{items:o(n),isLocked:!!i(n)}})),Object(m.withDispatch)((function(e,t){var n=t.clientId,r=t.rootClientId;return{onInsert:function(t){var o=t.name,c=t.initialAttributes,a=Object(i.createBlock)(o,c);n?e("core/block-editor").replaceBlocks(n,a):e("core/block-editor").insertBlock(a,void 0,r)}}})))((function(e){var t=e.items,n=e.isLocked,r=e.onInsert;if(n)return null;var o=Object(b.filter)(t,(function(e){return!(e.isDisabled||e.name===Object(i.getDefaultBlockName)()&&Object(b.isEmpty)(e.initialAttributes))})).slice(0,3);return Object(u.createElement)("div",{className:"editor-inserter-with-shortcuts block-editor-inserter-with-shortcuts"},o.map((function(e){return Object(u.createElement)(U.IconButton,{key:e.id,className:"editor-inserter-with-shortcuts__block block-editor-inserter-with-shortcuts__block",onClick:function(){return r(e)},label:Object(F.sprintf)(Object(F.__)("Add %s"),e.title),icon:Object(u.createElement)(We,{icon:e.icon})})})))}));function Ao(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:document).querySelector('[data-block="'+e+'"]')}function Ro(e,t){var n=e.querySelector(".block-editor-block-list__layout");return e.contains(t)&&(!n||!n.contains(t))}var Mo=function(e){return e+1},Po=function(e){return{top:e.offsetTop,left:e.offsetLeft}};var Do=function(e,t,n,r,o){var i=Object(p.useReducedMotion)()||!r,c=Object(u.useReducer)(Mo,0),a=Object(Je.a)(c,2),l=a[0],s=a[1],d=Object(u.useReducer)(Mo,0),f=Object(Je.a)(d,2),b=f[0],h=f[1],m=Object(u.useState)({x:0,y:0,scrollTop:0}),g=Object(Je.a)(m,2),v=g[0],O=g[1],k=e.current?Po(e.current):null,j=Object(u.useMemo)((function(){return!!n&&Object(to.getScrollContainer)(e.current)}),[n]);Object(u.useLayoutEffect)((function(){l&&h()}),[l]),Object(u.useLayoutEffect)((function(){if(i){if(n&&j){e.current.style.transform="none";var t=Po(e.current);j.scrollTop=j.scrollTop-k.top+t.top}}else{e.current.style.transform="none";var r=Po(e.current),o={x:k?k.left-r.left:0,y:k?k.top-r.top:0,scrollTop:k&&j?j.scrollTop-k.top+r.top:0};e.current.style.transform=0===o.x&&0===o.y?void 0:"translate3d(".concat(o.x,"px,").concat(o.y,"px,0)"),s(),O(o)}}),[o]);var y=Object(eo.useSpring)({from:{x:v.x,y:v.y},to:{x:0,y:0},reset:l!==b,config:{mass:5,tension:2e3,friction:200},immediate:i,onFrame:function(e){n&&j&&!i&&e.y&&(j.scrollTop=v.scrollTop+e.y)}});return i?{}:{transformOrigin:"center",transform:Object(eo.interpolate)([y.x,y.y],(function(e,t){return 0===e&&0===t?void 0:"translate3d(".concat(e,"px,").concat(t,"px,0)")})),zIndex:Object(eo.interpolate)([y.x,y.y],(function(e,n){return!t||0===e&&0===n?void 0:"1"}))}},Fo=function(e){e.preventDefault()};var Uo=Object(m.withSelect)((function(e,t){var n=t.clientId,r=t.rootClientId,o=t.isLargeViewport,c=e("core/block-editor"),a=c.isBlockSelected,l=c.isAncestorMultiSelected,s=c.isBlockMultiSelected,u=c.isFirstMultiSelectedBlock,d=c.isTyping,f=c.isCaretWithinFormattedText,b=c.getBlockMode,p=c.isSelectionEnabled,h=c.getSelectedBlocksInitialCaretPosition,m=c.getSettings,g=c.hasSelectedInnerBlock,v=c.getTemplateLock,O=c.getBlockIndex,k=c.getBlockOrder,j=c.__unstableGetBlockWithoutInnerBlocks,y=c.isNavigationMode,_=j(n),S=a(n),C=m(),E=C.hasFixedToolbar,w=C.focusMode,I=C.isRTL,B=v(r),T=g(n,!0),x=O(n,r),N=k(r),L=_||{},A=L.name,R=L.attributes,M=L.isValid;return{isMultiSelected:s(n),isPartOfMultiSelection:s(n)||l(n),isFirstMultiSelected:u(n),isTypingWithinBlock:(S||T)&&d(),isCaretWithinFormattedText:f(),mode:b(n),isSelectionEnabled:p(),initialPosition:S?h():null,isEmptyDefaultBlock:A&&Object(i.isUnmodifiedDefaultBlock)({name:A,attributes:R}),isLocked:!!B,isFocusMode:w&&o,hasFixedToolbar:E&&o,isLast:x===N.length-1,isNavigationMode:y(),isRTL:I,block:_,name:A,attributes:R,isValid:M,isSelected:S,isParentOfSelectedBlock:T}})),Ho=Object(m.withDispatch)((function(e,t,n){var r=n.select,o=e("core/block-editor"),c=o.updateBlockAttributes,a=o.selectBlock,l=o.multiSelect,s=o.insertBlocks,u=o.insertDefaultBlock,d=o.removeBlock,f=o.mergeBlocks,b=o.replaceBlocks,p=o.toggleSelection,h=o.setNavigationMode,m=o.__unstableMarkLastChangeAsPersistent;return{setAttributes:function(e){var n=t.clientId;c(n,e)},onSelect:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.clientId,n=arguments.length>1?arguments[1]:void 0;a(e,n)},onInsertBlocks:function(e,n){var r=t.rootClientId;s(e,n,r)},onInsertDefaultBlockAfter:function(){var e=t.clientId,n=t.rootClientId,o=(0,r("core/block-editor").getBlockIndex)(e,n);u({},n,o+1)},onInsertBlocksAfter:function(e){var n=t.clientId,o=t.rootClientId,i=(0,r("core/block-editor").getBlockIndex)(n,o);s(e,i+1,o)},onRemove:function(e){d(e)},onMerge:function(e){var n=t.clientId,o=r("core/block-editor"),i=o.getPreviousBlockClientId,c=o.getNextBlockClientId;if(e){var a=c(n);a&&f(n,a)}else{var l=i(n);l&&f(l,n)}},onReplace:function(e,n){e.length&&!Object(i.isUnmodifiedDefaultBlock)(e[e.length-1])&&m(),b([t.clientId],e,n)},onShiftSelection:function(){if(t.isSelectionEnabled){var e=r("core/block-editor").getBlockSelectionStart;e()?l(e(),t.clientId):a(t.clientId)}},toggleSelection:function(e){p(e)},setNavigationMode:h}})),Vo=Object(p.compose)(p.pure,Object(a.withViewportMatch)({isLargeViewport:"medium"}),Uo,Ho,Object(p.ifCondition)((function(e){return!!e.block})),Object(U.withFilters)("editor.BlockListBlock"))((function(e){var t=e.mode,n=e.isFocusMode,r=e.hasFixedToolbar,o=e.moverDirection,c=e.isLocked,a=e.clientId,d=e.rootClientId,p=e.isSelected,h=e.isMultiSelected,g=e.isPartOfMultiSelection,v=e.isFirstMultiSelected,O=e.isTypingWithinBlock,k=e.isCaretWithinFormattedText,j=e.isEmptyDefaultBlock,y=e.isParentOfSelectedBlock,_=e.isSelectionEnabled,S=e.className,C=e.name,E=e.isValid,w=e.isLast,I=e.attributes,B=e.initialPosition,T=e.wrapperProps,x=e.setAttributes,N=e.onReplace,L=e.onInsertBlocksAfter,A=e.onMerge,R=e.onSelect,M=e.onRemove,P=e.onInsertDefaultBlockAfter,D=e.toggleSelection,H=e.onShiftSelection,V=e.onSelectionStart,z=e.animateOnChange,K=e.enableAnimation,W=e.isNavigationMode,G=e.setNavigationMode,q=e.isMultiSelecting,$=e.isLargeViewport,Y=Object(m.useSelect)((function(e){return{isDraggingBlocks:e("core/block-editor").isDraggingBlocks()}})).isDraggingBlocks,X=Object(u.useState)({}),Z=Object(Je.a)(X,2)[1],J=Object(u.useRef)(null),Q=Object(u.useRef)(),ee=Object(u.useRef)(),te=Object(u.useRef)(!1),ne=Object(u.useState)(!1),re=Object(Je.a)(ne,2),oe=re[0],ie=re[1],ce=function(){oe&&ie(!1)};Object(u.useEffect)((function(){(O||p)&&ce()}));var ae=Object(u.useState)(!1),le=Object(Je.a)(ae,2),se=le[0],de=le[1],fe=Object(u.useRef)(!1);Object(u.useEffect)((function(){fe.current&&(fe.current=!1)}));var be=function(e){var t=window.getSelection();if(t.rangeCount&&!t.isCollapsed){var n=t.getRangeAt(0),r=n.startContainer,o=n.endContainer;Q.current.contains(r)&&Q.current.contains(o)||t.removeAllRanges()}if(!J.current.contains(document.activeElement))if(W)ee.current.focus();else{var i=to.focus.tabbable.find(Q.current).filter(to.isTextField).filter((function(t){return!e||Ro(Q.current,t)})),c=-1===B,a=(c?b.last:b.first)(i);a?Object(to.placeCaretAtHorizontalEdge)(a,c):J.current.focus()}},pe=Object(u.useRef)(!0);Object(u.useEffect)((function(){p&&!q&&be(!pe.current),pe.current=!1}),[p,q]),Object(u.useEffect)((function(){v&&J.current.focus()}),[v]);var he=Do(J,p||g,p||v,K,z);Object(u.useLayoutEffect)((function(){p&&(W?ee.current.focus():be(!0))}),[p,W]);var me=function(e){e&&!p&&R()},ge=oe&&!g,ve=Object(i.getBlockType)(C),Oe=Object(F.sprintf)(Object(F.__)("Block: %s"),ve.title),ke=C===Object(i.getUnregisteredTypeHandlerName)(),je=!W&&(p||ge)&&j&&E,ye=!W&&(p||ge||w)&&j&&E,_e=!n&&!ye&&p&&!O,Se=!n&&!r&&ge&&!j,Ce=!W&&p&&!ye&&!g&&!O,Ee=W&&p,we=!W&&!r&&$&&!ye&&!q&&(p&&(!O||k)||v),Ie=!q&&(g&&v||!g),Be=Ie,Te=Y&&(p||g),xe=f()("wp-block editor-block-list__block block-editor-block-list__block",{"has-warning":!E||!!se||ke,"is-selected":_e,"is-navigate-mode":W,"is-multi-selected":h,"is-hovered":Se,"is-reusable":Object(i.isReusableBlock)(ve),"is-dragging":Te,"is-typing":O,"is-focused":n&&(p||y),"is-focus-mode":n,"has-child-selected":y},S);ve.getEditWrapperProps&&(T=Object(l.a)({},T,ve.getEditWrapperProps(I)));var Ne="block-".concat(a),Le=Object(u.createElement)(uo,{clientIds:a,isHidden:!p,__experimentalOrientation:o}),Ae=Object(u.createElement)(ue,{name:C,isSelected:p,attributes:I,setAttributes:x,insertBlocksAfter:c?void 0:L,onReplace:c?void 0:N,mergeBlocks:c?void 0:A,clientId:a,isSelectionEnabled:_,toggleSelection:D});return"visual"!==t&&(Ae=Object(u.createElement)("div",{style:{display:"none"}},Ae)),Object(u.createElement)(No,Object(s.a)({id:Ne,ref:J,onMouseOver:function(){oe||g||p||te.current||ie(!0)},onMouseOverHandled:ce,onMouseLeave:ce,className:xe,"data-type":C,onTouchStart:function(){te.current=!0},onFocus:function(){p||y||g||R()},onClick:function(){te.current=!1},onKeyDown:function(e){var t=e.keyCode,n=e.target,r=p&&!c&&(n===J.current||n===ee.current),o=!W;switch(t){case Ge.ENTER:r&&o&&(P(),e.preventDefault());break;case Ge.BACKSPACE:case Ge.DELETE:r&&(M(a),e.preventDefault());break;case Ge.ESCAPE:p&&o&&(G(!0),J.current.focus())}},tabIndex:"0","aria-label":Oe,childHandledEvents:["onDragStart","onMouseDown"],tagName:eo.animated.div},T,{style:T&&T.style?Object(l.a)({},T.style,he):he}),Ie&&Object(u.createElement)(Bo,{clientId:a,rootClientId:d}),Be&&Object(u.createElement)($e,{clientId:a,rootClientId:d}),Object(u.createElement)("div",{className:f()("editor-block-list__block-edit block-editor-block-list__block-edit",{"has-mover-inside":"horizontal"===o})},v&&Object(u.createElement)(Io,{rootClientId:d,moverDirection:o}),Ce&&"vertical"===o&&Le,Ee&&Object(u.createElement)(Co,{clientId:a,ref:ee}),(we||fe.current)&&Object(u.createElement)(wo,{focusOnMount:fe.current}),!W&&!we&&p&&!r&&!j&&Object(u.createElement)(U.KeyboardShortcuts,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":function(){fe.current=!0,Z({})}}}),Object(u.createElement)(No,{ref:Q,onDragStart:Fo,onMouseDown:function(e){0===e.button&&(W&&p&&Ro(Q.current,e.target)&&G(!1),e.shiftKey?p||(H(),e.preventDefault()):g&&R())},onMouseLeave:function(e){var t=e.which,n=e.buttons;p&&1===(n||t)&&V(a),ce()},"data-block":a},Object(u.createElement)(jo,{onError:function(){return de(!0)}},E&&Ae,E&&"html"===t&&Object(u.createElement)(So,{clientId:a}),Ce&&"horizontal"===o&&Le,!E&&[Object(u.createElement)(vo,{key:"invalid-warning",clientId:a}),Object(u.createElement)("div",{key:"invalid-preview"},Object(i.getSaveElement)(ve,I))]),!!se&&Object(u.createElement)(ko,null))),je&&Object(u.createElement)("div",{className:"editor-block-list__side-inserter block-editor-block-list__side-inserter"},Object(u.createElement)(Lo,{clientId:a,rootClientId:d,onToggle:me})),ye&&Object(u.createElement)("div",{className:"editor-block-list__empty-block-inserter block-editor-block-list__empty-block-inserter"},Object(u.createElement)(gi,{position:"top right",onToggle:me,rootClientId:d,clientId:a})))})),zo=n(53);var Ko=Object(p.compose)(Object(p.withState)({hovered:!1}),Object(m.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.getBlockCount,o=n.getBlockName,c=n.isBlockValid,a=n.getSettings,l=n.getTemplateLock,s=!r(t.rootClientId),u=o(t.lastBlockClientId)===Object(i.getDefaultBlockName)(),d=c(t.lastBlockClientId),f=a().bodyPlaceholder;return{isVisible:s||!u||!d,showPrompt:s,isLocked:!!l(t.rootClientId),placeholder:f}})),Object(m.withDispatch)((function(e,t){var n=e("core/block-editor"),r=n.insertDefaultBlock,o=n.startTyping;return{onAppend:function(){var e=t.rootClientId;r(void 0,e),o()}}})))((function(e){var t=e.isLocked,n=e.isVisible,r=e.onAppend,o=e.showPrompt,i=e.placeholder,c=e.rootClientId,a=e.hovered,l=e.setState;if(t||!n)return null;var s=Object(zo.decodeEntities)(i)||Object(F.__)("Start writing or type / to choose a block");return Object(u.createElement)("div",{"data-root-client-id":c||"",className:"wp-block editor-default-block-appender block-editor-default-block-appender",onMouseEnter:function(){return l({hovered:!0})},onMouseLeave:function(){return l({hovered:!1})}},Object(u.createElement)($e,{rootClientId:c}),Object(u.createElement)(_o.a,{role:"button","aria-label":Object(F.__)("Add block"),className:"editor-default-block-appender__content block-editor-default-block-appender__content",readOnly:!0,onFocus:r,value:o?s:""}),a&&Object(u.createElement)(Lo,{rootClientId:c}),Object(u.createElement)(gi,{rootClientId:c,position:"top right",isAppender:!0}))}));var Wo=Object(m.withSelect)((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getBlockOrder,c=r.canInsertBlockType;return{isLocked:!!(0,r.getTemplateLock)(n),blockClientIds:o(n),canInsertDefaultBlock:c(Object(i.getDefaultBlockName)(),n)}}))((function(e){var t=e.blockClientIds,n=e.rootClientId,r=e.canInsertDefaultBlock,o=e.isLocked,i=e.renderAppender;return o?null:i?Object(u.createElement)("div",{className:"block-list-appender"},Object(u.createElement)(i,null)):!1===i?null:r?Object(u.createElement)("div",{className:"block-list-appender"},Object(u.createElement)(No,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(u.createElement)(Ko,{rootClientId:n,lastBlockClientId:Object(b.last)(t)}))):Object(u.createElement)("div",{className:"block-list-appender"},Object(u.createElement)(vi,{rootClientId:n,className:"block-list-appender__toggle"}))})),Go=Object(U.createSlotFill)("__experimentalBlockListFooter"),qo=Go.Fill,$o=Go.Slot;qo.Slot=$o;var Yo=qo;function Xo(e,t){for(var n="start"===t?"firstChild":"lastChild",r="start"===t?"nextSibling":"previousSibling";e[n];)for(e=e[n];e.nodeType===e.TEXT_NODE&&/^[ \t\n]*$/.test(e.data)&&e[r];)e=e[r];return e}var Zo=200;var Jo,Qo=(Jo=function(e){var t=e.className,n=e.rootClientId,r=e.__experimentalMoverDirection,o=void 0===r?"vertical":r,i=e.isDraggable,c=e.renderAppender,a=Object(m.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockOrder,o=t.isMultiSelecting,i=t.getSelectedBlockClientId,c=t.getMultiSelectedBlockClientIds,a=t.hasMultiSelection,l=t.getGlobalBlockCount,s=t.isTyping;return{blockClientIds:r(n),isMultiSelecting:o(),selectedBlockClientId:i(),multiSelectedBlockClientIds:c(),hasMultiSelection:a(),enableAnimation:!s()&&l()<=Zo}})),l=a.blockClientIds,s=a.isMultiSelecting,d=a.selectedBlockClientId,b=a.multiSelectedBlockClientIds,p=a.hasMultiSelection,h=a.enableAnimation,g=Object(u.useRef)(),v=function(e){var t=e.ref,n=e.rootClientId,r=Object(m.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockOrder,o=t.isSelectionEnabled,i=t.isMultiSelecting,c=t.getMultiSelectedBlockClientIds,a=t.hasMultiSelection,l=t.getBlockParents;return{blockClientIds:r(n),isSelectionEnabled:o(),isMultiSelecting:i(),multiSelectedBlockClientIds:c(),hasMultiSelection:a(),getBlockParents:l}})),o=r.blockClientIds,i=r.isSelectionEnabled,c=r.isMultiSelecting,a=r.multiSelectedBlockClientIds,l=r.hasMultiSelection,s=r.getBlockParents,d=Object(m.useDispatch)("core/block-editor"),f=d.startMultiSelect,b=d.stopMultiSelect,p=d.multiSelect,h=d.selectBlock,g=Object(u.useRef)(),v=Object(u.useRef)();Object(u.useEffect)((function(){if(l&&!c){var e=a.length,n=a[0],r=a[e-1];if(-1!==o.indexOf(n)){var i=t.current.querySelector('[data-block="'.concat(n,'"]')),s=t.current.querySelector('[data-block="'.concat(r,'"]')),u=window.getSelection(),d=document.createRange();i=Xo(i,"start"),s=Xo(s,"end"),d.setStartBefore(i),d.setEndAfter(s),u.removeAllRanges(),u.addRange(d)}}}),[l,c,a,o,h]);var O=Object(u.useCallback)((function(){var e=window.getSelection();if(e.rangeCount&&!e.isCollapsed){var t,n=e.focusNode;do{n=n.parentElement}while(n&&!(t=n.getAttribute("data-block")));if(v.current===t)h(t);else{var r=[].concat(Object(R.a)(s(v.current)),[v.current]),o=[].concat(Object(R.a)(s(t)),[t]),i=Math.min(r.length,o.length)-1;p(r[i],o[i])}}}),[h,s,p]),k=Object(u.useCallback)((function(){document.removeEventListener("selectionchange",O),window.removeEventListener("mouseup",k),g.current=window.requestAnimationFrame((function(){O(),b()}))}),[O,b]);return Object(u.useEffect)((function(){return function(){document.removeEventListener("selectionchange",O),window.removeEventListener("mouseup",k),window.cancelAnimationFrame(g.current)}}),[O,k]),Object(u.useCallback)((function(e){i&&(v.current=e,f(),document.addEventListener("selectionchange",O),window.addEventListener("mouseup",k),Array.from(t.current.querySelectorAll(".rich-text")).forEach((function(e){return e.removeAttribute("contenteditable")})))}),[i,f,k])}({ref:g,rootClientId:n});return Object(u.createElement)("div",{ref:g,className:f()("editor-block-list__layout block-editor-block-list__layout",t)},l.map((function(e,t){var r=p?b.includes(e):d===e;return Object(u.createElement)(Qr,{key:"block-"+e,clientId:e,isBlockInSelection:r},Object(u.createElement)(Vo,{rootClientId:n,clientId:e,onSelectionStart:v,isDraggable:i,moverDirection:o,isMultiSelecting:s,animateOnChange:t,enableAnimation:h}))})),Object(u.createElement)(Wo,{rootClientId:n,renderAppender:c}),Object(u.createElement)(Yo.Slot,null))},function(e){return Object(u.createElement)(m.AsyncModeProvider,{value:!1},Object(u.createElement)(Jo,e))});function ei(e){var t=e.blocks,n=e.viewportWidth,r=e.padding,o=void 0===r?0:r,i=Object(u.useRef)(null),c=Object(u.useState)(!1),a=Object(Je.a)(c,2),l=a[0],s=a[1],d=Object(u.useState)(1),b=Object(Je.a)(d,2),p=b[0],h=b[1],m=Object(u.useState)({x:0,y:0}),g=Object(Je.a)(m,2),v=g[0],O=v.x,k=v.y,j=g[1];if(Object(u.useLayoutEffect)((function(){var e=setTimeout((function(){var e=i.current;if(e){if(1===t.length){var r=function(e,t){var n=Ao(e,t);if(n)return n.firstChild||n}(t[0].clientId,e);if(!r)return;var c=e.getBoundingClientRect();c={width:c.width-2*o,height:c.height-2*o,left:c.left,top:c.top};var a=r.getBoundingClientRect(),l=c.width/a.width||1,u=-(a.left-c.left)*l+o,d=c.height>a.height*l?(c.height-a.height*l)/2+o:0;h(l),j({x:u,y:d}),r.style.marginTop="0"}else{var f=e.getBoundingClientRect();h(f.width/n)}s(!0)}}),100);return function(){e&&window.clearTimeout(e)}}),[]),!t||0===t.length)return null;var y={transform:"scale(".concat(p,")"),visibility:l?"visible":"hidden",left:O,top:k,width:n};return Object(u.createElement)("div",{ref:i,className:f()("block-editor-block-preview__container editor-styles-wrapper",{"is-ready":l}),"aria-hidden":!0},Object(u.createElement)(U.Disabled,{style:y,className:"block-editor-block-preview__content"},Object(u.createElement)(Qo,null)))}var ti=Object(m.withSelect)((function(e){return{settings:e("core/block-editor").getSettings()}}))((function(e){var t=e.blocks,n=e.viewportWidth,r=void 0===n?700:n,o=e.padding,i=e.settings,c=Object(u.useMemo)((function(){return Object(b.castArray)(t)}),[t]),a=Object(u.useReducer)((function(e){return e+1}),0),l=Object(Je.a)(a,2),s=l[0],d=l[1];return Object(u.useLayoutEffect)(d,[t]),Object(u.createElement)(Jr,{value:c,settings:i},Object(u.createElement)(ei,{key:s,blocks:c,viewportWidth:r,padding:o}))}));var ni=function(e){var t=e.icon,n=e.onClick,r=e.isDisabled,o=e.title,i=e.className,c=Object(M.a)(e,["icon","onClick","isDisabled","title","className"]),a=t?{backgroundColor:t.background,color:t.foreground}:{};return Object(u.createElement)("li",{className:"editor-block-types-list__list-item block-editor-block-types-list__list-item"},Object(u.createElement)(U.Button,Object(s.a)({className:f()("editor-block-types-list__item block-editor-block-types-list__item",i),onClick:function(e){e.preventDefault(),n()},disabled:r},c),Object(u.createElement)("span",{className:"editor-block-types-list__item-icon block-editor-block-types-list__item-icon",style:a},Object(u.createElement)(We,{icon:t,showColors:!0})),Object(u.createElement)("span",{className:"editor-block-types-list__item-title block-editor-block-types-list__item-title"},o)))};var ri=function(e){var t=e.items,n=e.onSelect,r=e.onHover,o=void 0===r?function(){}:r,c=e.children;return(Object(u.createElement)("ul",{role:"list",className:"editor-block-types-list block-editor-block-types-list"},t&&t.map((function(e){return Object(u.createElement)(ni,{key:e.id,className:Object(i.getBlockMenuDefaultClassName)(e.id),icon:e.icon,onClick:function(){n(e),o(null)},onFocus:function(){return o(e)},onMouseEnter:function(){return o(e)},onMouseLeave:function(){return o(null)},onBlur:function(){return o(null)},isDisabled:e.isDisabled,title:e.title})})),c))};var oi=function(e){var t=e.blockType;return Object(u.createElement)("div",{className:"block-editor-block-card"},Object(u.createElement)(We,{icon:t.icon,showColors:!0}),Object(u.createElement)("div",{className:"block-editor-block-card__content"},Object(u.createElement)("div",{className:"block-editor-block-card__title"},t.title),Object(u.createElement)("div",{className:"block-editor-block-card__description"},t.description)))};var ii=Object(p.compose)(Object(p.ifCondition)((function(e){var t=e.items;return t&&t.length>0})),Object(m.withSelect)((function(e,t){var n=t.rootClientId,r=(0,e("core/blocks").getBlockType)((0,e("core/block-editor").getBlockName)(n));return{rootBlockTitle:r&&r.title,rootBlockIcon:r&&r.icon}})))((function(e){var t=e.rootBlockIcon,n=e.rootBlockTitle,r=e.items,o=Object(M.a)(e,["rootBlockIcon","rootBlockTitle","items"]);return Object(u.createElement)("div",{className:"editor-inserter__child-blocks block-editor-inserter__child-blocks"},(t||n)&&Object(u.createElement)("div",{className:"editor-inserter__parent-block-header block-editor-inserter__parent-block-header"},Object(u.createElement)(We,{icon:t,showColors:!0}),n&&Object(u.createElement)("h2",null,n)),Object(u.createElement)(ri,Object(s.a)({items:r},o)))})),ci=Object(U.createSlotFill)("__experimentalInserterMenuExtension"),ai=ci.Fill,li=ci.Slot;ai.Slot=li;var si=ai,ui=function(e){return e.stopPropagation()},di=function(e,t){var n=fi(t),r=function(e){return-1!==fi(e).indexOf(n)},o=Object(i.getCategories)();return e.filter((function(e){var t=Object(b.find)(o,{slug:e.category});return r(e.title)||Object(b.some)(e.keywords,r)||t&&r(t.title)}))},fi=function(e){return e=(e=(e=(e=Object(b.deburr)(e)).replace(/^\//,"")).toLowerCase()).trim()},bi=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={childItems:[],filterValue:"",hoveredItem:null,suggestedItems:[],reusableItems:[],itemsPerCategory:{},openPanels:["suggested"]},e.onChangeSearchInput=e.onChangeSearchInput.bind(Object(E.a)(e)),e.onHover=e.onHover.bind(Object(E.a)(e)),e.panels={},e.inserterResults=Object(u.createRef)(),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidMount",value:function(){this.props.fetchReusableBlocks&&this.props.fetchReusableBlocks(),this.filter()}},{key:"componentDidUpdate",value:function(e){e.items!==this.props.items&&this.filter(this.state.filterValue)}},{key:"onChangeSearchInput",value:function(e){this.filter(e.target.value)}},{key:"onHover",value:function(e){this.setState({hoveredItem:e});var t=this.props,n=t.showInsertionPoint,r=t.hideInsertionPoint;e?n():r()}},{key:"bindPanel",value:function(e){var t=this;return function(n){t.panels[e]=n}}},{key:"onTogglePanel",value:function(e){var t=this;return function(){-1!==t.state.openPanels.indexOf(e)?t.setState({openPanels:Object(b.without)(t.state.openPanels,e)}):(t.setState({openPanels:[].concat(Object(R.a)(t.state.openPanels),[e])}),t.props.setTimeout((function(){Xe()(t.panels[e],t.inserterResults.current,{alignWithTop:!0})})))}}},{key:"filterOpenPanels",value:function(e,t,n,r){if(e===this.state.filterValue)return this.state.openPanels;if(!e)return["suggested"];var o=[];return r.length>0&&o.push("reusable"),n.length>0&&(o=o.concat(Object.keys(t))),o}},{key:"filter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props,n=t.debouncedSpeak,r=t.items,o=t.rootChildBlocks,c=di(r,e),a=Object(b.filter)(c,(function(e){var t=e.name;return Object(b.includes)(o,t)})),l=[];if(!e){var s=this.props.maxSuggestedItems||9;l=Object(b.filter)(r,(function(e){return e.utility>0})).slice(0,s)}var u=Object(b.filter)(c,{category:"reusable"}),d=function(e){return Object(b.findIndex)(Object(i.getCategories)(),(function(t){return t.slug===e.category}))},f=Object(b.flow)((function(e){return Object(b.filter)(e,(function(e){return"reusable"!==e.category}))}),(function(e){return Object(b.sortBy)(e,d)}),(function(e){return Object(b.groupBy)(e,"category")}))(c);this.setState({hoveredItem:null,childItems:a,filterValue:e,suggestedItems:l,reusableItems:u,itemsPerCategory:f,openPanels:this.filterOpenPanels(e,f,c,u)});var p=Object.keys(f).reduce((function(e,t){return e+f[t].length}),0),h=Object(F.sprintf)(Object(F._n)("%d result found.","%d results found.",p),p);n(h)}},{key:"onKeyDown",value:function(e){Object(b.includes)([Ge.LEFT,Ge.DOWN,Ge.RIGHT,Ge.UP,Ge.BACKSPACE,Ge.ENTER],e.keyCode)&&e.stopPropagation()}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,r=t.onSelect,o=t.rootClientId,c=t.showInserterHelpPanel,a=this.state,l=a.childItems,s=a.hoveredItem,d=a.itemsPerCategory,p=a.openPanels,h=a.reusableItems,m=a.suggestedItems,g=a.filterValue,v=function(e){return-1!==p.indexOf(e)},O=!Object(b.isEmpty)(m)||!Object(b.isEmpty)(h)||!Object(b.isEmpty)(d),k=s?Object(i.getBlockType)(s.name):null,j=O&&c;return Object(u.createElement)("div",{className:f()("editor-inserter__menu block-editor-inserter__menu",{"has-help-panel":j}),onKeyPress:ui,onKeyDown:this.onKeyDown},Object(u.createElement)("div",{className:"block-editor-inserter__main-area"},Object(u.createElement)("label",{htmlFor:"block-editor-inserter__search-".concat(n),className:"screen-reader-text"},Object(F.__)("Search for a block")),Object(u.createElement)("input",{id:"block-editor-inserter__search-".concat(n),type:"search",placeholder:Object(F.__)("Search for a block"),className:"editor-inserter__search block-editor-inserter__search",autoFocus:!0,onChange:this.onChangeSearchInput}),Object(u.createElement)("div",{className:"editor-inserter__results block-editor-inserter__results",ref:this.inserterResults,tabIndex:"0",role:"region","aria-label":Object(F.__)("Available block types")},Object(u.createElement)(ii,{rootClientId:o,items:l,onSelect:r,onHover:this.onHover}),!!m.length&&Object(u.createElement)(U.PanelBody,{title:Object(F._x)("Most Used","blocks"),opened:v("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(u.createElement)(ri,{items:m,onSelect:r,onHover:this.onHover})),Object(b.map)(Object(i.getCategories)(),(function(t){var n=d[t.slug];return n&&n.length?Object(u.createElement)(U.PanelBody,{key:t.slug,title:t.title,icon:t.icon,opened:v(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(u.createElement)(ri,{items:n,onSelect:r,onHover:e.onHover})):null})),!!h.length&&Object(u.createElement)(U.PanelBody,{className:"editor-inserter__reusable-blocks-panel block-editor-inserter__reusable-blocks-panel",title:Object(F.__)("Reusable"),opened:v("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(u.createElement)(ri,{items:h,onSelect:r,onHover:this.onHover}),Object(u.createElement)("a",{className:"editor-inserter__manage-reusable-blocks block-editor-inserter__manage-reusable-blocks",href:Object(Ze.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(F.__)("Manage All Reusable Blocks"))),Object(u.createElement)(si.Slot,{fillProps:{onSelect:r,onHover:this.onHover,filterValue:g,hasItems:O}},(function(e){return e.length?e:O?null:Object(u.createElement)("p",{className:"editor-inserter__no-results block-editor-inserter__no-results"},Object(F.__)("No blocks found."))})))),j&&Object(u.createElement)("div",{className:"block-editor-inserter__menu-help-panel"},s&&Object(u.createElement)(u.Fragment,null,!Object(i.isReusableBlock)(s)&&Object(u.createElement)(oi,{blockType:k}),Object(u.createElement)("div",{className:"block-editor-inserter__preview"},Object(i.isReusableBlock)(s)||k.example?Object(u.createElement)("div",{className:"block-editor-inserter__preview-content"},Object(u.createElement)(ti,{padding:10,viewportWidth:500,blocks:k.example?Object(i.getBlockFromExample)(s.name,k.example):Object(i.createBlock)(s.name,s.initialAttributes)})):Object(u.createElement)("div",{className:"block-editor-inserter__preview-content-missing"},Object(F.__)("No Preview Available.")))),!s&&Object(u.createElement)("div",{className:"block-editor-inserter__menu-help-panel-no-block"},Object(u.createElement)("div",{className:"block-editor-inserter__menu-help-panel-no-block-text"},Object(u.createElement)("div",{className:"block-editor-inserter__menu-help-panel-title"},Object(F.__)("Content Blocks")),Object(u.createElement)("p",null,Object(F.__)("Welcome to the wonderful world of blocks! Blocks are the basis of all content within the editor.")),Object(u.createElement)("p",null,Object(F.__)("There are blocks available for all kinds of content: insert text, headings, images, lists, videos, tables, and lots more.")),Object(u.createElement)("p",null,Object(F.__)("Browse through the library to learn more about what each block does."))),Object(u.createElement)(U.Tip,null,Object(u.__experimentalCreateInterpolateElement)(Object(F.__)("While writing, you can press / to quickly insert new blocks."),{kbd:Object(u.createElement)("kbd",null)})))))}}]),t}(u.Component),pi=Object(p.compose)(Object(m.withSelect)((function(e,t){var n=t.clientId,r=t.isAppender,o=t.rootClientId,i=t.showInserterHelpPanel,c=e("core/block-editor"),a=c.getInserterItems,l=c.getBlockName,s=c.getBlockRootClientId,u=c.getBlockSelectionEnd,d=c.getSettings,f=e("core/blocks").getChildBlockNames,b=o;if(!b&&!n&&!r){var p=u();p&&(b=s(p)||void 0)}var h=l(b),m=d(),g=m.showInserterHelpPanel,v=m.__experimentalFetchReusableBlocks;return{rootChildBlocks:f(h),items:a(b),showInserterHelpPanel:i&&g,destinationRootClientId:b,fetchReusableBlocks:v}})),Object(m.withDispatch)((function(e,t,n){var r=n.select,o=e("core/block-editor"),c=o.showInsertionPoint;function a(){var e=r("core/block-editor"),n=e.getBlockIndex,o=e.getBlockSelectionEnd,i=e.getBlockOrder,c=t.clientId,a=t.destinationRootClientId,l=t.isAppender;if(c)return n(c,a);var s=o();return!l&&s?n(s,a)+1:i(a).length}return{showInsertionPoint:function(){var e=a();c(t.destinationRootClientId,e)},hideInsertionPoint:o.hideInsertionPoint,onSelect:function(n){var o=e("core/block-editor"),c=o.replaceBlocks,l=o.insertBlock,s=r("core/block-editor").getSelectedBlock,u=t.isAppender,d=t.onSelect,f=t.__experimentalSelectBlockOnInsert,b=n.name,p=n.title,h=n.initialAttributes,m=s(),g=Object(i.createBlock)(b,h);if(!u&&m&&Object(i.isUnmodifiedDefaultBlock)(m))c(m.clientId,g);else if(l(g,a(),t.destinationRootClientId,f),!f){var v=Object(F.sprintf)(Object(F.__)("%s block added"),p);Object(Y.speak)(v)}return d(),g}}})),U.withSpokenMessages,p.withInstanceId,p.withSafeTimeout)(bi),hi=function(e){var t,n=e.onToggle,r=e.disabled,o=e.isOpen,i=e.blockTitle,c=e.hasSingleBlockType;return t=c?Object(F.sprintf)(Object(F._x)("Add %s","directly add the only allowed block"),i):Object(F._x)("Add block","Generic label for block inserter button"),Object(u.createElement)(U.IconButton,{icon:"insert",label:t,labelPosition:"bottom",onMouseDown:function(e){e.preventDefault(),e.currentTarget.focus()},onClick:n,className:"editor-inserter__toggle block-editor-inserter__toggle","aria-haspopup":!c&&"true","aria-expanded":!c&&o,disabled:r})},mi=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).onToggle=e.onToggle.bind(Object(E.a)(e)),e.renderToggle=e.renderToggle.bind(Object(E.a)(e)),e.renderContent=e.renderContent.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onToggle",value:function(e){var t=this.props.onToggle;t&&t(e)}},{key:"renderToggle",value:function(e){var t=e.onToggle,n=e.isOpen,r=this.props,o=r.disabled,i=r.blockTitle,c=r.hasSingleBlockType,a=r.renderToggle,l=void 0===a?hi:a;return l({onToggle:t,isOpen:n,disabled:o,blockTitle:i,hasSingleBlockType:c})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,r=n.rootClientId,o=n.clientId,i=n.isAppender,c=n.showInserterHelpPanel,a=n.__experimentalSelectBlockOnInsert;return Object(u.createElement)(pi,{onSelect:t,rootClientId:r,clientId:o,isAppender:i,showInserterHelpPanel:c,__experimentalSelectBlockOnInsert:a})}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.hasSingleBlockType,r=e.insertOnlyAllowedBlock;return n?this.renderToggle({onToggle:r}):Object(u.createElement)(U.Dropdown,{className:"editor-inserter block-editor-inserter",contentClassName:"editor-inserter__popover block-editor-inserter__popover",position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:Object(F.__)("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),t}(u.Component),gi=Object(p.compose)([Object(m.withSelect)((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.hasInserterItems,i=(0,r.__experimentalGetAllowedBlocks)(n),c=i&&1===Object(b.get)(i,["length"],0),a=!1;return c&&(a=i[0]),{hasItems:o(n),hasSingleBlockType:c,blockTitle:a?a.title:"",allowedBlockType:a}})),Object(m.withDispatch)((function(e,t,n){var r=n.select;return{insertOnlyAllowedBlock:function(){var n=t.rootClientId,o=t.clientId,c=t.isAppender,a=t.hasSingleBlockType,l=t.allowedBlockType,s=t.__experimentalSelectBlockOnInsert;if(a&&((0,e("core/block-editor").insertBlock)(Object(i.createBlock)(l.name),function(){var e=r("core/block-editor"),t=e.getBlockIndex,i=e.getBlockSelectionEnd,a=e.getBlockOrder;if(o)return t(o,n);var l=i();return!c&&l?t(l,n)+1:a(n).length}(),n,s),!s)){var u=Object(F.sprintf)(Object(F.__)("%s block added"),l.title);Object(Y.speak)(u)}}}})),Object(p.ifCondition)((function(e){return e.hasItems}))])(mi);var vi=function(e){var t=e.rootClientId,n=e.className,r=e.__experimentalSelectBlockOnInsert;return Object(u.createElement)(u.Fragment,null,Object(u.createElement)($e,{rootClientId:t}),Object(u.createElement)(gi,{rootClientId:t,__experimentalSelectBlockOnInsert:r,renderToggle:function(e){var t,r=e.onToggle,o=e.disabled,i=e.isOpen,c=e.blockTitle,a=e.hasSingleBlockType;t=a?Object(F.sprintf)(Object(F._x)("Add %s","directly add the only allowed block"),c):Object(F._x)("Add block","Generic label for block inserter button");var l=!a;return Object(u.createElement)(U.Tooltip,{text:t},Object(u.createElement)(U.Button,{className:f()(n,"block-editor-button-block-appender"),onClick:r,"aria-haspopup":l?"true":void 0,"aria-expanded":l?i:void 0,disabled:o,label:t},Object(u.createElement)("span",{className:"screen-reader-text"},t),Object(u.createElement)(U.Icon,{icon:"insert"})))},isAppender:!0}))};function Oi(e){var t=e.blocks,n=e.selectedBlockClientId,r=e.selectBlock,o=e.showAppender,a=e.showNestedBlocks,l=e.parentBlockClientId,s=o&&!!l;return Object(u.createElement)("ul",{className:"editor-block-navigation__list block-editor-block-navigation__list",role:"list"},Object(b.map)(Object(b.omitBy)(t,b.isNil),(function(e){var t=Object(i.getBlockType)(e.name),l=e.clientId===n;return Object(u.createElement)("li",{key:e.clientId},Object(u.createElement)("div",{className:"editor-block-navigation__item block-editor-block-navigation__item"},Object(u.createElement)(U.Button,{className:f()("editor-block-navigation__item-button block-editor-block-navigation__item-button",{"is-selected":l}),onClick:function(){return r(e.clientId)}},Object(u.createElement)(We,{icon:t.icon,showColors:!0}),function(e,t){var n=e.__experimentalDisplayName;if(!n||!t[n])return e.title;var r=Object(c.create)({html:t[n]});return Object(c.getTextContent)(r)}(t,e.attributes),l&&Object(u.createElement)("span",{className:"screen-reader-text"},Object(F.__)("(selected block)")))),a&&!!e.innerBlocks&&!!e.innerBlocks.length&&Object(u.createElement)(Oi,{blocks:e.innerBlocks,selectedBlockClientId:n,selectBlock:r,parentBlockClientId:e.clientId,showAppender:o,showNestedBlocks:!0}))})),s&&Object(u.createElement)("li",null,Object(u.createElement)("div",{className:"editor-block-navigation__item block-editor-block-navigation__item"},Object(u.createElement)(vi,{rootClientId:l,__experimentalSelectBlockOnInsert:!1}))))}var ki=Object(p.compose)(Object(m.withSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getBlockHierarchyRootClientId,o=t.getBlock,i=t.getBlocks,c=n();return{rootBlocks:i(),rootBlock:c?o(r(c)):null,selectedBlockClientId:c}})),Object(m.withDispatch)((function(e,t){var n=t.onSelect,r=void 0===n?b.noop:n;return{selectBlock:function(t){e("core/block-editor").selectBlock(t),r(t)}}})))((function(e){var t=e.rootBlock,n=e.rootBlocks,r=e.selectedBlockClientId,o=e.selectBlock;if(!n||0===n.length)return null;var i=t&&(t.clientId!==r||t.innerBlocks&&0!==t.innerBlocks.length);return Object(u.createElement)(U.NavigableMenu,{role:"presentation",className:"editor-block-navigation__container block-editor-block-navigation__container"},Object(u.createElement)("p",{className:"editor-block-navigation__label block-editor-block-navigation__label"},Object(F.__)("Block navigation")),i&&Object(u.createElement)(Oi,{blocks:[t],selectedBlockClientId:r,selectBlock:o,showNestedBlocks:!0}),!i&&Object(u.createElement)(Oi,{blocks:n,selectedBlockClientId:r,selectBlock:o}))})),ji=Object(u.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(u.createElement)(U.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));var yi=Object(m.withSelect)((function(e){return{hasBlocks:!!e("core/block-editor").getBlockCount()}}))((function(e){var t=e.hasBlocks,n=e.isDisabled,r=t&&!n;return Object(u.createElement)(U.Dropdown,{contentClassName:"editor-block-navigation__popover block-editor-block-navigation__popover",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(u.createElement)(u.Fragment,null,r&&Object(u.createElement)(U.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(I.a)({},Ge.rawShortcut.access("o"),n)}),Object(u.createElement)(U.IconButton,{icon:ji,"aria-expanded":t,onClick:r?n:void 0,label:Object(F.__)("Block navigation"),className:"editor-block-navigation block-editor-block-navigation",shortcut:Ge.displayShortcut.access("o"),"aria-disabled":!r}))},renderContent:function(e){var t=e.onClose;return Object(u.createElement)(ki,{onSelect:t})}})}));var _i=function(e){var t=e.icon,n=void 0===t?"layout":t,r=e.label,o=void 0===r?Object(F.__)("Choose pattern"):r,i=e.instructions,c=void 0===i?Object(F.__)("Select a pattern to start with."):i,a=e.patterns,l=e.onSelect,s=e.allowSkip,d=f()("block-editor-block-pattern-picker",{"has-many-patterns":a.length>4});return Object(u.createElement)(U.Placeholder,{icon:n,label:o,instructions:c,className:d},Object(u.createElement)("ul",{className:"block-editor-block-pattern-picker__patterns",role:"list"},a.map((function(e){return Object(u.createElement)("li",{key:e.name},Object(u.createElement)(U.IconButton,{isLarge:!0,icon:e.icon,size:48,onClick:function(){return l(e)},className:"block-editor-block-pattern-picker__pattern",label:e.label}))}))),s&&Object(u.createElement)("div",{className:"block-editor-block-pattern-picker__skip"},Object(u.createElement)(U.Button,{isLink:!0,onClick:function(){return l()}},Object(F.__)("Skip"))))},Si=Object(u.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(u.createElement)(U.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(u.createElement)(U.Path,{d:"M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"})),Ci=Object(u.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(u.createElement)(U.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(u.createElement)(U.Path,{d:"M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"})),Ei={top:{icon:Object(u.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(u.createElement)(U.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(u.createElement)(U.Path,{d:"M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"})),title:Object(F._x)("Vertically Align Top","Block vertical alignment setting")},center:{icon:Ci,title:Object(F._x)("Vertically Align Middle","Block vertical alignment setting")},bottom:{icon:Si,title:Object(F._x)("Vertically Align Bottom","Block vertical alignment setting")}},wi=["top","center","bottom"],Ii="top";var Bi=function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?wi:r,i=e.isCollapsed,c=void 0===i||i,a=Ei[t],s=Ei[Ii];return Object(u.createElement)(U.Toolbar,{isCollapsed:c,icon:a?a.icon:s.icon,label:Object(F._x)("Change vertical alignment","Block vertical alignment setting label"),controls:o.map((function(e){return Object(l.a)({},Ei[e],{isActive:t===e,onClick:(r=e,function(){return n(t===r?void 0:r)})});var r}))})};function Ti(e){var t=Object(m.useSelect)((function(e){return Object(b.pick)(e("core/block-editor").getSettings(),["gradients","disableCustomGradients"])})),n=t.gradients,r=t.disableCustomGradients;return Object(u.createElement)(U.__experimentalGradientPicker,Object(s.a)({gradients:void 0!==e.gradients?e.gradient:n,disableCustomGradients:void 0!==e.disableCustomGradients?e.disableCustomGradients:r},e))}var xi=function(e){var t=void 0!==e.gradients&&void 0!==e.disableCustomGradients?U.__experimentalGradientPicker:Ti;return Object(u.createElement)(t,e)},Ni=function(e){var t=e.className,n=e.value,r=e.onChange,o=e.label,i=void 0===o?Object(F.__)("Gradient Presets"):o,c=Object(M.a)(e,["className","value","onChange","label"]),a=Object(m.useSelect)((function(e){return Object(b.pick)(e("core/block-editor").getSettings(),["gradients","disableCustomGradients"])})),l=a.gradients,d=void 0===l?[]:l,p=a.disableCustomGradients;return Object(b.isEmpty)(d)&&p?null:Object(u.createElement)(U.BaseControl,{className:f()("block-editor-gradient-picker-control",t)},Object(u.createElement)(U.BaseControl.VisualLabel,null,i),Object(u.createElement)(xi,Object(s.a)({value:n,onChange:r,className:"block-editor-gradient-picker-control__gradient-picker-presets",gradients:d,disableCustomGradients:p},c)))};function Li(e){var t=Object(m.useSelect)((function(e){return e("core/block-editor").getSettings().gradients}));return Object(b.isEmpty)(t)?null:Object(u.createElement)(U.PanelBody,{title:Object(F.__)("Gradient")},Object(u.createElement)(Ni,e))}var Ai=n(45),Ri=n.n(Ai),Mi=Object(p.createHigherOrderComponent)((function(e){return ne((function(e){return Object(b.pick)(e,["clientId"])}))(e)}),"withClientId"),Pi=Mi((function(e){var t=e.clientId;return Object(u.createElement)(vi,{rootClientId:t})})),Di=Object(p.compose)([Mi,Object(m.withSelect)((function(e,t){var n=t.clientId,r=(0,e("core/block-editor").getBlockOrder)(n);return{lastBlockClientId:Object(b.last)(r)}}))])((function(e){var t=e.clientId,n=e.lastBlockClientId;return Object(u.createElement)(No,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(u.createElement)(Ko,{rootClientId:t,lastBlockClientId:n}))})),Fi=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={templateInProcess:!!e.props.template},e.updateNestedSettings(),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.templateLock;0!==e.block.innerBlocks.length&&"all"!==t||this.synchronizeBlocksWithTemplate(),this.state.templateInProcess&&this.setState({templateInProcess:!1})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.template,r=t.block,o=t.templateLock,i=r.innerBlocks;(this.updateNestedSettings(),0===i.length||"all"===o)&&(!Object(b.isEqual)(n,e.template)&&this.synchronizeBlocksWithTemplate())}},{key:"synchronizeBlocksWithTemplate",value:function(){var e=this.props,t=e.template,n=e.block,r=e.replaceInnerBlocks,o=n.innerBlocks,c=Object(i.synchronizeBlocksWithTemplate)(o,t);Object(b.isEqual)(c,o)||r(c)}},{key:"updateNestedSettings",value:function(){var e=this.props,t=e.blockListSettings,n=e.allowedBlocks,r=e.updateNestedSettings,o=e.templateLock,i=e.parentLock,c={allowedBlocks:n,templateLock:void 0===o?i:o};Ri()(t,c)||r(c)}},{key:"render",value:function(){var e=this.props,t=e.enableClickThrough,n=e.clientId,r=e.hasOverlay,o=e.renderAppender,i=e.__experimentalMoverDirection,c=this.state.templateInProcess,a=f()("editor-inner-blocks block-editor-inner-blocks",{"has-overlay":t&&r});return Object(u.createElement)("div",{className:a},!c&&Object(u.createElement)(Qo,{rootClientId:n,renderAppender:o,__experimentalMoverDirection:i}))}}]),t}(u.Component);(Fi=Object(p.compose)([Object(a.withViewportMatch)({isSmallScreen:"< medium"}),ne((function(e){return Object(b.pick)(e,["clientId"])})),Object(m.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.isBlockSelected,o=n.hasSelectedInnerBlock,i=n.getBlock,c=n.getBlockListSettings,a=n.getBlockRootClientId,l=n.getTemplateLock,s=n.isNavigationMode,u=t.clientId,d=t.isSmallScreen,f=i(u),b=a(u);return{block:f,blockListSettings:c(u),hasOverlay:"core/template"!==f.name&&!r(u)&&!o(u,!0),parentLock:l(b),enableClickThrough:s()||d}})),Object(m.withDispatch)((function(e,t){var n=e("core/block-editor"),r=n.replaceInnerBlocks,o=n.updateBlockListSettings,i=t.block,c=t.clientId,a=t.templateInsertUpdatesSelection,l=void 0===a||a;return{replaceInnerBlocks:function(e){r(c,e,0===i.innerBlocks.length&&l)},updateNestedSettings:function(t){e(o(c,t))}}}))])(Fi)).DefaultBlockAppender=Di,Fi.ButtonBlockAppender=Pi,Fi.Content=Object(i.withBlockContentContext)((function(e){var t=e.BlockContent;return Object(u.createElement)(t,null)}));var Ui=Fi,Hi=Object(U.createSlotFill)("InspectorAdvancedControls"),Vi=Hi.Fill,zi=Hi.Slot,Ki=re(Vi);Ki.slotName="InspectorAdvancedControls",Ki.Slot=zi;var Wi=Ki,Gi=n(43),qi=[{id:"newTab",title:Object(F.__)("Open in New Tab"),checked:!1}],$i=function(e){var t=e.settings,n=void 0===t?qi:t,r=e.onSettingChange,o=void 0===r?b.noop:r;if(!n||!n.length)return null;var i=function(e){return function(t){o(e.id,t,n)}},c=n.map((function(e){return Object(u.createElement)(U.ToggleControl,{className:"block-editor-link-control__setting",key:e.id,label:e.title,onChange:i(e),checked:e.checked})}));return Object(u.createElement)("fieldset",{className:"block-editor-link-control__settings"},Object(u.createElement)("legend",{className:"screen-reader-text"},Object(F.__)("Currently selected link settings")),c)},Yi=function(e){var t=e.itemProps,n=e.suggestion,r=e.isSelected,o=void 0!==r&&r,i=e.onClick,c=e.isURL,a=void 0!==c&&c,l=e.searchTerm,d=void 0===l?"":l;return Object(u.createElement)(U.Button,Object(s.a)({type:"submit"},t,{onClick:i,className:f()("block-editor-link-control__search-item",{"is-selected":o,"is-url":a,"is-entity":!a})}),a&&Object(u.createElement)(U.Icon,{className:"block-editor-link-control__search-item-icon",icon:"admin-site-alt3"}),Object(u.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(u.createElement)("span",{className:"block-editor-link-control__search-item-title"},Object(u.createElement)(U.TextHighlight,{text:n.title,highlight:d})),Object(u.createElement)("span",{"aria-hidden":!a,className:"block-editor-link-control__search-item-info"},!a&&(Object(Ze.safeDecodeURI)(n.url)||""),a&&Object(F.__)("Press ENTER to add this link"))),n.type&&Object(u.createElement)("span",{className:"block-editor-link-control__search-item-type"},n.type))},Xi=function(e){var t=e.value,n=e.onChange,r=e.onSelect,o=e.renderSuggestions,i=e.fetchSuggestions,c=e.onReset,a=e.onKeyDown,l=e.onKeyPress;return Object(u.createElement)("form",{onSubmit:function(e){e.preventDefault(),e.stopPropagation()}},Object(u.createElement)(rc,{className:"block-editor-link-control__search-input",value:t,onChange:function(e,t){n(e),t&&r(t)},onKeyDown:function(e){e.keyCode!==Ge.ENTER&&a(e)},onKeyPress:l,placeholder:Object(F.__)("Search or type url"),__experimentalRenderSuggestions:o,__experimentalFetchLinkSuggestions:i,__experimentalHandleURLSuggestions:!0}),Object(u.createElement)(U.IconButton,{disabled:!t.length,type:"reset",label:Object(F.__)("Reset"),icon:"no-alt",className:"block-editor-link-control__search-reset",onClick:c}))},Zi="edit";var Ji=Object(p.compose)(p.withInstanceId,Object(m.withSelect)((function(e,t){if(!t.fetchSearchSuggestions||!Object(b.isFunction)(t.fetchSearchSuggestions))return{fetchSearchSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))((function(e){var t=e.className,n=e.currentLink,r=e.currentSettings,o=e.fetchSearchSuggestions,i=e.instanceId,c=e.onClose,a=void 0===c?b.noop:c,l=e.onChangeMode,d=void 0===l?b.noop:l,p=e.onKeyDown,h=void 0===p?b.noop:p,m=e.onKeyPress,g=void 0===m?b.noop:m,v=e.onLinkChange,O=void 0===v?b.noop:v,k=e.onSettingsChange,j=void 0===k?b.noop:k,y=Object(u.useState)(""),_=Object(Je.a)(y,2),S=_[0],C=_[1],E=Object(u.useState)(!1),w=Object(Je.a)(E,2),I=w[0],B=w[1];Object(u.useEffect)((function(){B(!n)}),[n]);var T=function(){C("")},x=function(e){var t="URL",n=Object(Ze.getProtocol)(e)||"";return n.includes("mailto")&&(t="mailto"),n.includes("tel")&&(t="tel"),Object(b.startsWith)(e,"#")&&(t="internal"),Promise.resolve([{id:"-1",title:e,url:"URL"===t?Object(Ze.prependHTTP)(e):e,type:t}])},N=function(){var e=Object(Gi.a)(kt.a.mark((function e(t){var n,r;return kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([o(t),x(t)]);case 2:return n=e.sent,r=!t.includes(" "),e.abrupt("return",r?n[0].concat(n[1]):n[0]);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),L=Object(u.useCallback)((function(e){var t=Object(Ze.getProtocol)(e)||"",n=t.includes("mailto"),r=Object(b.startsWith)(e,"#"),o=t.includes("tel");return r||n||o||Object(Ze.isURL)(e)||e&&e.includes("www.")?x(e):N(e)}),[x,o]);return Object(u.createElement)(U.Popover,{className:f()("block-editor-link-control",t),onClose:function(){T(),a()},position:"bottom center",focusOnMount:"firstElement"},Object(u.createElement)("div",{className:"block-editor-link-control__popover-inner"},Object(u.createElement)("div",{className:"block-editor-link-control__search"},!I&&n&&Object(u.createElement)(u.Fragment,null,Object(u.createElement)("p",{className:"screen-reader-text",id:"current-link-label-".concat(i)},Object(F.__)("Currently selected"),":"),Object(u.createElement)("div",{"aria-labelledby":"current-link-label-".concat(i),"aria-selected":"true",className:f()("block-editor-link-control__search-item",{"is-current":!0})},Object(u.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(u.createElement)(U.ExternalLink,{className:"block-editor-link-control__search-item-title",href:n.url},n.title),Object(u.createElement)("span",{className:"block-editor-link-control__search-item-info"},Object(Ze.filterURLForDisplay)(Object(Ze.safeDecodeURI)(n.url))||"")),Object(u.createElement)(U.Button,{isDefault:!0,onClick:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"show";return function(){B(Zi===e),n&&n.title&&C(n.title),Object(b.isFunction)(d)&&d(e)}}(Zi),className:"block-editor-link-control__search-item-action block-editor-link-control__search-item-action--edit"},Object(F.__)("Change")))),I&&Object(u.createElement)(Xi,{value:S,onChange:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";C(e)},onSelect:O,renderSuggestions:function(e){var t=e.suggestionsListProps,n=e.buildSuggestionItemProps,r=e.suggestions,o=e.selectedSuggestion,i=e.isLoading,c=f()("block-editor-link-control__search-results",{"is-loading":i}),a=["url","mailto","tel","internal"];return Object(u.createElement)("div",{className:"block-editor-link-control__search-results-wrapper"},Object(u.createElement)("div",Object(s.a)({},t,{className:c}),r.map((function(e,t){return Object(u.createElement)(Yi,{key:"".concat(e.id,"-").concat(e.type),itemProps:n(e,t),suggestion:e,onClick:function(){return O(e)},isSelected:t===o,isURL:a.includes(e.type.toLowerCase()),searchTerm:S})}))))},fetchSuggestions:L,onReset:T,onKeyDown:h,onKeyPress:g}),!I&&Object(u.createElement)($i,{settings:r,onSettingChange:j}))))})),Qi=Object(U.withFilters)("editor.MediaUpload")((function(){return null}));var ec=Object(m.withSelect)((function(e){return{hasUploadPermissions:!!(0,e("core/block-editor").getSettings)().mediaUpload}}))((function(e){var t=e.hasUploadPermissions,n=e.fallback,r=void 0===n?null:n,o=e.children;return t?o:r})),tc=function(e){return e.stopPropagation()},nc=function(e){function t(e){var n;return Object(y.a)(this,t),(n=Object(S.a)(this,Object(C.a)(t).call(this,e))).onChange=n.onChange.bind(Object(E.a)(n)),n.onKeyDown=n.onKeyDown.bind(Object(E.a)(n)),n.selectLink=n.selectLink.bind(Object(E.a)(n)),n.handleOnClick=n.handleOnClick.bind(Object(E.a)(n)),n.bindSuggestionNode=n.bindSuggestionNode.bind(Object(E.a)(n)),n.autocompleteRef=e.autocompleteRef||Object(u.createRef)(),n.inputRef=Object(u.createRef)(),n.updateSuggestions=Object(b.throttle)(n.updateSuggestions.bind(Object(E.a)(n)),200),n.suggestionNodes=[],n.state={suggestions:[],showSuggestions:!1,selectedSuggestion:null},n}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,r=t.selectedSuggestion;n&&null!==r&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,Xe()(this.suggestionNodes[r],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100))}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t=this,n=this.props,r=n.__experimentalFetchLinkSuggestions,o=n.__experimentalHandleURLSuggestions;if(r)if(e.length<2||!o&&Object(Ze.isURL)(e))this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});else{this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0});var i=r(e);i.then((function(e){t.suggestionsRequest===i&&(t.setState({suggestions:e,loading:!1}),e.length?t.props.debouncedSpeak(Object(F.sprintf)(Object(F._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):t.props.debouncedSpeak(Object(F.__)("No results."),"assertive"))})).catch((function(){t.suggestionsRequest===i&&t.setState({loading:!1})})),this.suggestionsRequest=i}}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,r=t.selectedSuggestion,o=t.suggestions,i=t.loading;if(n&&o.length&&!i||!this.props.value){var c=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case Ge.UP:e.stopPropagation(),e.preventDefault();var a=r?r-1:o.length-1;this.setState({selectedSuggestion:a});break;case Ge.DOWN:e.stopPropagation(),e.preventDefault();var l=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:l});break;case Ge.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(F.__)("Link selected.")));break;case Ge.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(c))}}else switch(e.keyCode){case Ge.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case Ge.DOWN:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}}},{key:"selectLink",value:function(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"handleOnClick",value:function(e){this.selectLink(e),this.inputRef.current.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,r=t.instanceId,o=t.className,i=t.isFullWidth,c=t.hasBorder,a=t.__experimentalRenderSuggestions,l=t.placeholder,d=void 0===l?Object(F.__)("Paste URL or type to search"):l,p=t.value,h=void 0===p?"":p,m=t.autoFocus,g=void 0===m||m,v=this.state,O=v.showSuggestions,k=v.suggestions,j=v.selectedSuggestion,y=v.loading,_="url-input-control-".concat(r),S="block-editor-url-input-suggestions-".concat(r),C="block-editor-url-input-suggestion-".concat(r),E={id:S,ref:this.autocompleteRef,role:"listbox"},w=function(t,n){return{role:"option",tabIndex:"-1",id:"".concat(C,"-").concat(n),ref:e.bindSuggestionNode(n),"aria-selected":n===j}};return Object(u.createElement)(U.BaseControl,{label:n,id:_,className:f()("editor-url-input block-editor-url-input",o,{"is-full-width":i,"has-border":c})},Object(u.createElement)("input",{autoFocus:g,type:"text","aria-label":Object(F.__)("URL"),required:!0,value:h,onChange:this.onChange,onInput:tc,placeholder:d,onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":O,"aria-autocomplete":"list","aria-owns":S,"aria-activedescendant":null!==j?"".concat(C,"-").concat(j):void 0,ref:this.inputRef}),y&&Object(u.createElement)(U.Spinner,null),Object(b.isFunction)(a)&&O&&!!k.length&&a({suggestions:k,selectedSuggestion:j,suggestionsListProps:E,buildSuggestionItemProps:w,isLoading:y,handleSuggestionClick:this.handleOnClick}),!Object(b.isFunction)(a)&&O&&!!k.length&&Object(u.createElement)(U.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(u.createElement)("div",Object(s.a)({},E,{className:f()("editor-url-input__suggestions","block-editor-url-input__suggestions","".concat(o,"__suggestions"))}),k.map((function(t,n){return Object(u.createElement)(U.Button,Object(s.a)({},w(0,n),{key:t.id,className:f()("editor-url-input__suggestion block-editor-url-input__suggestion",{"is-selected":n===j}),onClick:function(){return e.handleOnClick(t)}}),t.title)})))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.value,r=e.disableSuggestions,o=t.showSuggestions,i=t.selectedSuggestion,c=o,a=n&&n.length;return a||(c=!1),!0===r&&(c=!1),{selectedSuggestion:a?i:null,showSuggestions:c}}}]),t}(u.Component),rc=Object(p.compose)(p.withSafeTimeout,U.withSpokenMessages,p.withInstanceId,Object(m.withSelect)((function(e,t){if(!Object(b.isFunction)(t.__experimentalFetchLinkSuggestions))return{__experimentalFetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(nc);function oc(e){var t=e.autocompleteRef,n=e.className,r=e.onChangeInputValue,o=e.value,i=Object(M.a)(e,["autocompleteRef","className","onChangeInputValue","value"]);return Object(u.createElement)("form",Object(s.a)({className:f()("block-editor-url-popover__link-editor",n)},i),Object(u.createElement)(rc,{value:o,onChange:r,autocompleteRef:t}),Object(u.createElement)(U.IconButton,{icon:"editor-break",label:Object(F.__)("Apply"),type:"submit"}))}function ic(e){var t=e.url,n=e.urlLabel,r=e.className,o=f()(r,"block-editor-url-popover__link-viewer-url");return t?Object(u.createElement)(U.ExternalLink,{className:o,href:t},n||Object(Ze.filterURLForDisplay)(Object(Ze.safeDecodeURI)(t))):Object(u.createElement)("span",{className:o})}function cc(e){var t=e.className,n=e.linkClassName,r=e.onEditLinkClick,o=e.url,i=e.urlLabel,c=Object(M.a)(e,["className","linkClassName","onEditLinkClick","url","urlLabel"]);return Object(u.createElement)("div",Object(s.a)({className:f()("block-editor-url-popover__link-viewer",t)},c),Object(u.createElement)(ic,{url:o,urlLabel:i,className:n}),r&&Object(u.createElement)(U.IconButton,{icon:"edit",label:Object(F.__)("Edit"),onClick:r}))}var ac=Object(p.compose)(U.withNotices)((function(e){var t,n=e.mediaURL,r=e.allowedTypes,o=e.accept,i=e.onSelect,c=e.onSelectURL,a=e.onError,l=e.name,s=void 0===l?Object(F.__)("Replace"):l,d=Object(u.useState)(!1),f=Object(Je.a)(d,2),b=f[0],p=f[1],h=Object(u.useState)(!1),g=Object(Je.a)(h,2),v=g[0],O=g[1],k=Object(u.useState)(n),j=Object(Je.a)(k,2),y=j[0],_=j[1],S=Object(u.useState)(!1),C=Object(Je.a)(S,2),E=C[0],w=C[1],I=Object(m.useSelect)((function(e){return e("core/block-editor").getSettings().mediaUpload})),B=Object(u.createRef)(),T=function(e){i(e),_(e.url),Object(Y.speak)(Object(F.__)("The media file has been replaced"))},x=function(e){var t=e.target.files;I({allowedTypes:r,filesList:t,onFileChange:function(e){var t=Object(Je.a)(e,1)[0];w(!1),T(t)},onError:a})},N=function(){B.current.focus()},L=function(){return w(!1)},A=function(e){e.keyCode===Ge.DOWN&&(e.preventDefault(),e.stopPropagation(),e.target.click())};return t=v?Object(u.createElement)(oc,{onKeyDown:function(e){[Ge.LEFT,Ge.DOWN,Ge.RIGHT,Ge.UP,Ge.BACKSPACE,Ge.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},onKeyPress:function(e){e.stopPropagation()},value:y,isFullWidthInput:!0,hasInputBorder:!0,onChangeInputValue:function(e){return _(e)},onSubmit:function(e){e.preventDefault(),c(y),O(!1),B.current.focus()}}):Object(u.createElement)(cc,{isFullWidth:!0,className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",url:y,onEditLinkClick:function(){return O(!v)}}),Object(u.createElement)(Qi,{onSelect:function(e){return T(e)},onClose:function(){return w(!0)},allowedTypes:r,render:function(e){var n=e.open;return Object(u.createElement)(U.Toolbar,{className:"media-replace-flow components-dropdown-menu"},Object(u.createElement)(U.Button,{ref:B,className:"components-icon-button components-dropdown-menu__toggle",onClick:function(){w(!E)},onKeyDown:A},Object(u.createElement)("span",{className:"components-dropdown-menu__label"}," ",s," "),Object(u.createElement)("span",{className:"components-dropdown-menu__indicator"})),E&&Object(u.createElement)(U.Popover,{onClickOutside:L,onClose:N,className:"media-replace-flow__options"},Object(u.createElement)(U.NavigableMenu,null,Object(u.createElement)(U.MenuItem,{icon:"admin-media",onClick:n},Object(F.__)("Open Media Library")),Object(u.createElement)(ec,null,Object(u.createElement)(U.FormFileUpload,{onChange:x,accept:o,render:function(e){var t=e.openFileDialog;return Object(u.createElement)(U.MenuItem,{icon:"upload",onClick:function(){t()}},Object(F.__)("Upload"))}})),Object(u.createElement)(U.MenuItem,{icon:"admin-links",onClick:function(){return p(!b)},"aria-expanded":b},Object(u.createElement)("div",null," ",Object(F.__)("Insert from URL")," "))),b&&Object(u.createElement)("div",{className:"block-editor-media-flow__url-input"},t)))}})})),lc=n(35),sc=n.n(lc),uc=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(Object(E.a)(e)),e.state={isSettingsExpanded:!1},e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.additionalControls,n=e.children,r=e.renderSettings,o=e.position,i=void 0===o?"bottom center":o,c=e.focusOnMount,a=void 0===c?"firstElement":c,l=Object(M.a)(e,["additionalControls","children","renderSettings","position","focusOnMount"]),d=this.state.isSettingsExpanded,f=!!r&&d;return Object(u.createElement)(U.Popover,Object(s.a)({className:"editor-url-popover block-editor-url-popover",focusOnMount:a,position:i},l),Object(u.createElement)("div",{className:"block-editor-url-popover__input-container"},Object(u.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row"},n,!!r&&Object(u.createElement)(U.IconButton,{className:"editor-url-popover__settings-toggle block-editor-url-popover__settings-toggle",icon:"arrow-down-alt2",label:Object(F.__)("Link settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":d})),f&&Object(u.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row editor-url-popover__settings block-editor-url-popover__settings"},r())),t&&!f&&Object(u.createElement)("div",{className:"block-editor-url-popover__additional-controls"},t))}}]),t}(u.Component);uc.LinkEditor=oc,uc.LinkViewer=cc;var dc=uc,fc=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(u.createElement)(dc,{onClose:o},Object(u.createElement)("form",{className:"editor-media-placeholder__url-input-form block-editor-media-placeholder__url-input-form",onSubmit:r},Object(u.createElement)("input",{className:"editor-media-placeholder__url-input-field block-editor-media-placeholder__url-input-field",type:"url","aria-label":Object(F.__)("URL"),placeholder:Object(F.__)("Paste or type URL"),onChange:n,value:t}),Object(u.createElement)(U.IconButton,{className:"editor-media-placeholder__url-input-submit-button block-editor-media-placeholder__url-input-submit-button",icon:"editor-break",label:Object(F.__)("Apply"),type:"submit"})))},bc=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(Object(E.a)(e)),e.onSubmitSrc=e.onSubmitSrc.bind(Object(E.a)(e)),e.onUpload=e.onUpload.bind(Object(E.a)(e)),e.onFilesUpload=e.onFilesUpload.bind(Object(E.a)(e)),e.openURLInput=e.openURLInput.bind(Object(E.a)(e)),e.closeURLInput=e.closeURLInput.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onlyAllowsImages",value:function(){var e=this.props.allowedTypes;return!!e&&Object(b.every)(e,(function(e){return"image"===e||Object(b.startsWith)(e,"image/")}))}},{key:"componentDidMount",value:function(){this.setState({src:Object(b.get)(this.props.value,["src"],"")})}},{key:"componentDidUpdate",value:function(e){Object(b.get)(e.value,["src"],"")!==Object(b.get)(this.props.value,["src"],"")&&this.setState({src:Object(b.get)(this.props.value,["src"],"")})}},{key:"onChangeSrc",value:function(e){this.setState({src:e.target.value})}},{key:"onSubmitSrc",value:function(e){e.preventDefault(),this.state.src&&this.props.onSelectURL&&(this.props.onSelectURL(this.state.src),this.closeURLInput())}},{key:"onUpload",value:function(e){this.onFilesUpload(e.target.files)}},{key:"onFilesUpload",value:function(e){var t,n=this.props,r=n.addToGallery,o=n.allowedTypes,i=n.mediaUpload,c=n.multiple,a=n.onError,l=n.onSelect,s=n.value;if(c)if(r){var u=void 0===s?[]:s;t=function(e){l(u.concat(e))}}else t=l;else t=function(e){var t=Object(Je.a)(e,1)[0];return l(t)};i({allowedTypes:o,filesList:e,onFileChange:t,onError:a})}},{key:"openURLInput",value:function(){this.setState({isURLInputVisible:!0})}},{key:"closeURLInput",value:function(){this.setState({isURLInputVisible:!1})}},{key:"renderPlaceholder",value:function(e,t){var n=this.props,r=n.allowedTypes,o=void 0===r?[]:r,i=n.className,c=n.icon,a=n.isAppender,l=n.labels,s=void 0===l?{}:l,d=n.onDoubleClick,b=n.mediaPreview,p=n.notices,h=n.onSelectURL,m=n.mediaUpload,g=n.children,v=s.instructions,O=s.title;if(m||h||(v=Object(F.__)("To edit this block, you need permission to upload media.")),void 0===v||void 0===O){var k=1===o.length,j=k&&"audio"===o[0],y=k&&"image"===o[0],_=k&&"video"===o[0];void 0===v&&m&&(v=Object(F.__)("Upload a media file or pick one from your media library."),j?v=Object(F.__)("Upload an audio file, pick one from your media library, or add one with a URL."):y?v=Object(F.__)("Upload an image file, pick one from your media library, or add one with a URL."):_&&(v=Object(F.__)("Upload a video file, pick one from your media library, or add one with a URL."))),void 0===O&&(O=Object(F.__)("Media"),j?O=Object(F.__)("Audio"):y?O=Object(F.__)("Image"):_&&(O=Object(F.__)("Video")))}var S=f()("block-editor-media-placeholder","editor-media-placeholder",i,{"is-appender":a});return Object(u.createElement)(U.Placeholder,{icon:c,label:O,instructions:v,className:S,notices:p,onClick:t,onDoubleClick:d,preview:b},e,g)}},{key:"renderDropZone",value:function(){var e=this.props,t=e.disableDropZone,n=e.onHTMLDrop,r=void 0===n?b.noop:n;return t?null:Object(u.createElement)(U.DropZone,{onFilesDrop:this.onFilesUpload,onHTMLDrop:r})}},{key:"renderCancelLink",value:function(){var e=this.props.onCancel;return e&&Object(u.createElement)(U.Button,{className:"block-editor-media-placeholder__cancel-button",title:Object(F.__)("Cancel"),isLink:!0,onClick:e},Object(F.__)("Cancel"))}},{key:"renderUrlSelectionUI",value:function(){if(!this.props.onSelectURL)return null;var e=this.state,t=e.isURLInputVisible,n=e.src;return Object(u.createElement)("div",{className:"editor-media-placeholder__url-input-container block-editor-media-placeholder__url-input-container"},Object(u.createElement)(U.Button,{className:"editor-media-placeholder__button block-editor-media-placeholder__button",onClick:this.openURLInput,isToggled:t,isLarge:!0},Object(F.__)("Insert from URL")),t&&Object(u.createElement)(fc,{src:n,onChange:this.onChangeSrc,onSubmit:this.onSubmitSrc,onClose:this.closeURLInput}))}},{key:"renderMediaUploadChecked",value:function(){var e=this,t=this.props,n=t.accept,r=t.addToGallery,o=t.allowedTypes,i=void 0===o?[]:o,c=t.isAppender,a=t.mediaUpload,l=t.multiple,s=void 0!==l&&l,d=t.onSelect,p=t.value,h=void 0===p?{}:p,m=Object(u.createElement)(Qi,{addToGallery:r,gallery:s&&this.onlyAllowsImages(),multiple:s,onSelect:d,allowedTypes:i,value:Object(b.isArray)(h)?h.map((function(e){return e.id})):h.id,render:function(e){var t=e.open;return Object(u.createElement)(U.Button,{isLarge:!0,className:f()("editor-media-placeholder__button","editor-media-placeholder__media-library-button"),onClick:function(e){e.stopPropagation(),t()}},Object(F.__)("Media Library"))}});if(a&&c)return Object(u.createElement)(u.Fragment,null,this.renderDropZone(),Object(u.createElement)(U.FormFileUpload,{onChange:this.onUpload,accept:n,multiple:s,render:function(t){var n=t.openFileDialog,r=Object(u.createElement)(u.Fragment,null,Object(u.createElement)(U.IconButton,{isLarge:!0,className:f()("block-editor-media-placeholder__button","editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),icon:"upload"},Object(F.__)("Upload")),m,e.renderUrlSelectionUI(),e.renderCancelLink());return e.renderPlaceholder(r,n)}}));if(a){var g=Object(u.createElement)(u.Fragment,null,this.renderDropZone(),Object(u.createElement)(U.FormFileUpload,{isLarge:!0,className:f()("block-editor-media-placeholder__button","editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:this.onUpload,accept:n,multiple:s},Object(F.__)("Upload")),m,this.renderUrlSelectionUI(),this.renderCancelLink());return this.renderPlaceholder(g)}return this.renderPlaceholder(m)}},{key:"render",value:function(){var e=this.props,t=e.disableMediaButtons,n=e.dropZoneUIOnly;return n||t?(n&&sc()("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{alternative:"disableMediaButtons"}),Object(u.createElement)(ec,null,this.renderDropZone())):Object(u.createElement)(ec,{fallback:this.renderPlaceholder(this.renderUrlSelectionUI())},this.renderMediaUploadChecked())}}]),t}(u.Component),pc=Object(m.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),hc=Object(p.compose)(pc,Object(U.withFilters)("editor.MediaPlaceholder"))(bc),mc=Object(u.forwardRef)((function(e,t){var n=e.onChange,r=e.className,o=Object(M.a)(e,["onChange","className"]);return Object(u.createElement)(_o.a,Object(s.a)({ref:t,className:f()("editor-plain-text block-editor-plain-text",r),onChange:function(e){return n(e.target.value)}},o))})),gc=Object(p.withInstanceId)((function(e){var t=e.instanceId,n=e.property,r=e.viewport,o=e.desc||Object(F.sprintf)(Object(F._x)("Controls the %1$s property for %2$s viewports.","Text labelling a interface as controlling a given layout property (eg: margin) for a given screen size."),n,r.label);return Object(u.createElement)(u.Fragment,null,Object(u.createElement)("span",{"aria-describedby":"rbc-desc-".concat(t)},r.label),Object(u.createElement)("span",{className:"screen-reader-text",id:"rbc-desc-".concat(t)},o))}));var vc=function(e){var t=e.title,n=e.property,r=e.toggleLabel,o=e.onIsResponsiveChange,i=e.renderDefaultControl,c=e.renderResponsiveControls,a=e.isResponsive,l=void 0!==a&&a,s=e.defaultLabel,d=void 0===s?{id:"all",label:Object(F.__)("All")}:s,f=e.viewports,b=void 0===f?[{id:"small",label:Object(F.__)("Small screens")},{id:"medium",label:Object(F.__)("Medium screens")},{id:"large",label:Object(F.__)("Large screens")}]:f;if(!t||!n||!i)return null;var p=r||Object(F.sprintf)(Object(F.__)("Use the same %s on all screensizes."),n),h=Object(F.__)("Toggle between using the same value for all screen sizes or using a unique value per screen size."),m=i(Object(u.createElement)(gc,{property:n,viewport:d}),d);return Object(u.createElement)("fieldset",{className:"block-editor-responsive-block-control"},Object(u.createElement)("legend",{className:"block-editor-responsive-block-control__title"},t),Object(u.createElement)("div",{className:"block-editor-responsive-block-control__inner"},Object(u.createElement)(U.ToggleControl,{className:"block-editor-responsive-block-control__toggle",label:p,checked:!l,onChange:o,help:h}),!l&&Object(u.createElement)("div",{className:"block-editor-responsive-block-control__group block-editor-responsive-block-control__group--default"},m),l&&Object(u.createElement)("div",{className:"block-editor-responsive-block-control__group block-editor-responsive-block-control__group--responsive",hidden:!l},c?c(b):b.map((function(e){return Object(u.createElement)(u.Fragment,{key:e.id},i(Object(u.createElement)(gc,{property:n,viewport:e}),e))})))))},Oc=[Ge.rawShortcut.primary("z"),Ge.rawShortcut.primaryShift("z"),Ge.rawShortcut.primary("y")],kc=Object(u.createElement)(U.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(b.fromPairs)(Oc.map((function(e){return[e,function(e){return e.preventDefault()}]})))}),jc=function(){return kc},yc=n(36);function _c(e){return e.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)})).map((function(e){return'')})).join("")}var Sc={position:"bottom left"},Cc=function(){return Object(u.createElement)("div",{className:"editor-format-toolbar block-editor-format-toolbar"},Object(u.createElement)(U.Toolbar,null,["bold","italic","link"].map((function(e){return Object(u.createElement)(U.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})})),Object(u.createElement)(U.Slot,{name:"RichText.ToolbarControls"},(function(e){return 0!==e.length&&Object(u.createElement)(U.DropdownMenu,{icon:!1,label:Object(F.__)("More rich text controls"),controls:Object(b.orderBy)(e.map((function(e){return Object(Je.a)(e,1)[0].props})),"title"),popoverProps:Sc})}))))},Ec=function(e){var t=e.inline,n=e.anchorRef;return t?Object(u.createElement)(U.Popover,{noArrow:!0,position:"top center",focusOnMount:!1,anchorVerticalBuffer:6,anchorRef:n,className:"block-editor-rich-text__inline-format-toolbar"},Object(u.createElement)(Cc,null)):Object(u.createElement)(Ke,null,Object(u.createElement)(Cc,null))},wc=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).onUse=e.onUse.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onUse",value:function(){return this.props.onUse(),!1}},{key:"render",value:function(){var e=this.props,t=e.character,n=e.type;return Object(u.createElement)(U.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(I.a)({},Ge.rawShortcut[n](t),this.onUse)})}}]),t}(u.Component);function Ic(e){var t,n=e.name,r=e.shortcutType,o=e.shortcutCharacter,i=Object(M.a)(e,["name","shortcutType","shortcutCharacter"]),c="RichText.ToolbarControls";return n&&(c+=".".concat(n)),r&&o&&(t=Ge.displayShortcut[r](o)),Object(u.createElement)(U.Fill,{name:c},Object(u.createElement)(U.ToolbarButton,Object(s.a)({},i,{shortcut:t})))}var Bc=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).onInput=e.onInput.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onInput",value:function(e){e.inputType===this.props.inputType&&this.props.onInput()}},{key:"componentDidMount",value:function(){document.addEventListener("input",this.onInput,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("input",this.onInput,!0)}},{key:"render",value:function(){return null}}]),t}(u.Component);function Tc(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}var xc=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).ref=Object(u.createRef)(),e.onEnter=e.onEnter.bind(Object(E.a)(e)),e.onSplit=e.onSplit.bind(Object(E.a)(e)),e.onPaste=e.onPaste.bind(Object(E.a)(e)),e.onDelete=e.onDelete.bind(Object(E.a)(e)),e.inputRule=e.inputRule.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onEnter",value:function(e){var t=e.value,n=e.onChange,r=e.shiftKey,o=this.props,a=o.onReplace,l=o.onSplit,s=o.multiline,u=o.markAutomaticChange,d=a&&l;if(a){var f=Object(i.getBlockTransforms)("from").filter((function(e){return"enter"===e.type})),b=Object(i.findTransform)(f,(function(e){return e.regExp.test(t.text)}));b&&(a([b.transform({content:t.text})]),u())}s?r?n(Object(c.insert)(t,"\n")):d&&Object(c.__unstableIsEmptyLine)(t)?this.onSplit(t):n(Object(c.__unstableInsertLineSeparator)(t)):r||!d?n(Object(c.insert)(t,"\n")):this.onSplit(t)}},{key:"onDelete",value:function(e){var t=e.value,n=e.isReverse,r=this.props,o=r.onMerge,i=r.onRemove;o&&o(!n),i&&Object(c.isEmpty)(t)&&n&&i(!n)}},{key:"onPaste",value:function(e){var t=e.value,n=e.onChange,r=e.html,o=e.plainText,a=e.files,l=this.props,s=l.onReplace,u=l.onSplit,d=l.tagName,f=l.canUserUseUnfilteredHTML,b=l.multiline,p=l.__unstableEmbedURLOnPaste;if(a&&a.length&&!r){var h=Object(i.pasteHandler)({HTML:_c(a),mode:"BLOCKS",tagName:d});return window.console.log("Received items:\n\n",a),void(s&&Object(c.isEmpty)(t)?s(h):this.onSplit(t,h))}var m=s&&u?"AUTO":"INLINE";p&&Object(c.isEmpty)(t)&&Object(Ze.isURL)(o.trim())&&(m="BLOCKS");var g=Object(i.pasteHandler)({HTML:r,plainText:o,mode:m,tagName:d,canUserUseUnfilteredHTML:f});if("string"==typeof g){var v=Object(c.create)({html:g});b&&(v=Object(c.replace)(v,/\n+/g,c.__UNSTABLE_LINE_SEPARATOR)),n(Object(c.insert)(t,v))}else g.length>0&&(s&&Object(c.isEmpty)(t)?s(g):this.onSplit(t,g))}},{key:"onSplit",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.props,r=n.onReplace,o=n.onSplit,i=n.__unstableOnSplitMiddle,a=n.multiline;if(r&&o){var l=[],s=Object(c.split)(e),u=Object(Je.a)(s,2),d=u[0],f=u[1],b=t.length>0,p=Tc(a);b&&Object(c.isEmpty)(d)||l.push(o(Object(c.toHTMLString)({value:d,multilineTag:p}))),b?l.push.apply(l,Object(R.a)(t)):i&&l.push(i()),!b&&i&&Object(c.isEmpty)(f)||l.push(o(Object(c.toHTMLString)({value:f,multilineTag:p})));var h=b?l.length-1:1;r(l,h)}}},{key:"inputRule",value:function(e,t){var n=this.props,r=n.onReplace,o=n.markAutomaticChange;if(r){var a=e.start,l=e.text;if(" "===l.slice(a-1,a)){var s=l.slice(0,a).trim(),u=Object(i.getBlockTransforms)("from").filter((function(e){return"prefix"===e.type})),d=Object(i.findTransform)(u,(function(e){var t=e.prefix;return s===t}));if(d){var f=t(Object(c.slice)(e,a,l.length));r([d.transform(f)]),o()}}}}},{key:"getAllowedFormats",value:function(){var e=this.props,t=e.allowedFormats,n=e.formattingControls;if(t||n)return t||(sc()("wp.blockEditor.RichText formattingControls prop",{alternative:"allowedFormats"}),n.map((function(e){return"core/".concat(e)})))}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.tagName,o=t.value,a=t.onChange,l=t.selectionStart,d=t.selectionEnd,b=t.onSelectionChange,p=t.multiline,h=t.inlineToolbar,m=t.wrapperClassName,g=t.className,v=t.autocompleters,O=t.onReplace,k=t.isCaretWithinFormattedText,j=t.onEnterFormattedText,y=t.onExitFormattedText,_=t.isSelected,S=t.onCreateUndoLevel,C=t.markAutomaticChange,E=t.didAutomaticChange,w=t.undo,I=t.placeholder,B=t.keepPlaceholderOnFocus,T=(t.allowedFormats,t.withoutInteractiveFormatting),x=(t.onRemove,t.onMerge,t.onSplit,t.canUserUseUnfilteredHTML,t.clientId,t.identifier,t.instanceId,t.start),N=t.reversed,L=t.style,A=t.preserveWhiteSpace,R=t.disabled,P=Object(M.a)(t,["children","tagName","value","onChange","selectionStart","selectionEnd","onSelectionChange","multiline","inlineToolbar","wrapperClassName","className","autocompleters","onReplace","isCaretWithinFormattedText","onEnterFormattedText","onExitFormattedText","isSelected","onCreateUndoLevel","markAutomaticChange","didAutomaticChange","undo","placeholder","keepPlaceholderOnFocus","allowedFormats","withoutInteractiveFormatting","onRemove","onMerge","onSplit","canUserUseUnfilteredHTML","clientId","identifier","instanceId","start","reversed","style","preserveWhiteSpace","disabled"]),D=Tc(p),F=this.getAllowedFormats(),U=!F||F.length>0,H=o,V=a;Array.isArray(o)&&(H=i.children.toHTML(o),V=function(e){return a(i.children.fromDOM(Object(c.__unstableCreateElement)(document,e).childNodes))});var z=Object(u.createElement)(c.__experimentalRichText,Object(s.a)({},P,{ref:this.ref,value:H,onChange:V,selectionStart:l,selectionEnd:d,onSelectionChange:b,tagName:r,className:f()("editor-rich-text__editable block-editor-rich-text__editable",g,{"is-selected":_,"keep-placeholder-on-focus":B}),placeholder:I,allowedFormats:F,withoutInteractiveFormatting:T,onEnter:this.onEnter,onDelete:this.onDelete,onPaste:this.onPaste,__unstableIsSelected:_,__unstableInputRule:this.inputRule,__unstableMultilineTag:D,__unstableIsCaretWithinFormattedText:k,__unstableOnEnterFormattedText:j,__unstableOnExitFormattedText:y,__unstableOnCreateUndoLevel:S,__unstableMarkAutomaticChange:C,__unstableDidAutomaticChange:E,__unstableUndo:w,style:L,preserveWhiteSpace:A,disabled:R,start:x,reversed:N}),(function(t){var r=t.isSelected,o=t.value,i=t.onChange,c=t.Editable;return Object(u.createElement)(u.Fragment,null,n&&n({value:o,onChange:i}),r&&U&&Object(u.createElement)(Ec,{inline:h,anchorRef:e.ref.current}),r&&Object(u.createElement)(jc,null),Object(u.createElement)(we,{onReplace:O,completers:v,record:o,onChange:i,isSelected:r},(function(e){var t=e.listBoxId,n=e.activeId,r=e.onKeyDown;return Object(u.createElement)(c,{"aria-autocomplete":t?"list":void 0,"aria-owns":t,"aria-activedescendant":n,start:x,reversed:N,onKeyDown:r})})))}));return m?(sc()("wp.blockEditor.RichText wrapperClassName prop",{alternative:"className prop or create your own wrapper div"}),Object(u.createElement)("div",{className:f()("editor-rich-text block-editor-rich-text",m)},z)):z}}]),t}(u.Component),Nc=Object(p.compose)([p.withInstanceId,ne((function(e,t){var n=e.clientId,r=e.onCaretVerticalPositionChange,o=e.isSelected;return"web"===u.Platform.OS?{clientId:n}:{clientId:n,blockIsSelected:void 0!==t.isSelected?t.isSelected:o,onCaretVerticalPositionChange:r}})),Object(m.withSelect)((function(e,t){var n=t.clientId,r=t.instanceId,o=t.identifier,c=void 0===o?r:o,a=t.isSelected,s=e("core/block-editor"),d=s.isCaretWithinFormattedText,f=s.getSelectionStart,b=s.getSelectionEnd,p=s.getSettings,h=s.didAutomaticChange,m=s.__unstableGetBlockWithoutInnerBlocks,g=s.isMultiSelecting,v=s.hasMultiSelection,O=f(),k=b(),j=p().__experimentalCanUserUseUnfilteredHTML;void 0===a?a=O.clientId===n&&O.attributeKey===c:a&&(a=O.clientId===n);var y={};if("native"===u.Platform.OS){var _=n&&m(n);y={shouldBlurOnUnmount:_&&a&&Object(i.isUnmodifiedDefaultBlock)(_)}}return Object(l.a)({canUserUseUnfilteredHTML:j,isCaretWithinFormattedText:d(),selectionStart:a?O.offset:void 0,selectionEnd:a?k.offset:void 0,isSelected:a,didAutomaticChange:h(),disabled:g()||v()},y)})),Object(m.withDispatch)((function(e,t){var n=t.clientId,r=t.instanceId,o=t.identifier,i=void 0===o?r:o,c=e("core/block-editor"),a=c.__unstableMarkLastChangeAsPersistent,l=c.enterFormattedText,s=c.exitFormattedText,u=c.selectionChange;return{onCreateUndoLevel:a,onEnterFormattedText:l,onExitFormattedText:s,onSelectionChange:function(e,t){u(n,i,e,t)},markAutomaticChange:c.__unstableMarkAutomaticChange,undo:e("core/editor").undo}})),Object(U.withFilters)("experimentalRichText")])(xc);Nc.Content=function(e){var t=e.value,n=e.tagName,r=e.multiline,o=Object(M.a)(e,["value","tagName","multiline"]);Array.isArray(t)&&(t=i.children.toHTML(t));var c=Tc(r);!t&&c&&(t="<".concat(c,">"));var a=Object(u.createElement)(u.RawHTML,null,t);return n?Object(u.createElement)(n,Object(b.omit)(o,["format"]),a):a},Nc.isEmpty=function(e){return!e||0===e.length},Nc.Content.defaultProps={format:"string",value:""};var Lc=Nc,Ac=Object(u.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(u.createElement)(U.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(u.createElement)(U.Path,{d:"M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"})),Rc=Object(u.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(u.createElement)(U.Path,{d:"M6.5 1v21.5l6-6.5H21L6.5 1zm5.1 13l-3.1 3.4V5.9l7.8 8.1h-4.7z"}));var Mc=function(){var e=Object(m.useSelect)((function(e){return e("core/block-editor").isNavigationMode()})),t=Object(m.useDispatch)("core/block-editor").setNavigationMode;if(!Object(p.useViewportMatch)("medium"))return null;var n=function(e){t("edit"!==e)};return Object(u.createElement)(U.Dropdown,{renderToggle:function(t){var n=t.isOpen,r=t.onToggle;return Object(u.createElement)(U.IconButton,{icon:e?Rc:Ac,"aria-expanded":n,onClick:r,label:Object(F.__)("Tools")})},renderContent:function(){return Object(u.createElement)(u.Fragment,null,Object(u.createElement)(U.NavigableMenu,{role:"menu","aria-label":Object(F.__)("Tools")},Object(u.createElement)(U.MenuItemsChoice,{value:e?"select":"edit",onSelect:n,choices:[{value:"edit",label:Object(u.createElement)(u.Fragment,null,Ac,Object(F.__)("Edit"))},{value:"select",label:Object(u.createElement)(u.Fragment,null,Rc,Object(F.__)("Select"))}]})),Object(u.createElement)("div",{className:"block-editor-tool-selector__help"},Object(F.__)("Tools offer different interactions for block selection & editing. To select, press Escape, to go back to editing, press Enter.")))}})},Pc=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(E.a)(e)),e.submitLink=e.submitLink.bind(Object(E.a)(e)),e.state={expanded:!1},e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"toggle",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"submitLink",value:function(e){e.preventDefault(),this.toggle()}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.onChange,r=this.state.expanded,o=t?Object(F.__)("Edit link"):Object(F.__)("Insert link");return Object(u.createElement)("div",{className:"editor-url-input__button block-editor-url-input__button"},Object(u.createElement)(U.IconButton,{icon:"admin-links",label:o,onClick:this.toggle,className:f()("components-toolbar__control",{"is-active":t})}),r&&Object(u.createElement)("form",{className:"editor-url-input__button-modal block-editor-url-input__button-modal",onSubmit:this.submitLink},Object(u.createElement)("div",{className:"editor-url-input__button-modal-line block-editor-url-input__button-modal-line"},Object(u.createElement)(U.IconButton,{className:"editor-url-input__back block-editor-url-input__back",icon:"arrow-left-alt",label:Object(F.__)("Close"),onClick:this.toggle}),Object(u.createElement)(rc,{value:t||"",onChange:n}),Object(u.createElement)(U.IconButton,{icon:"editor-break",label:Object(F.__)("Submit"),type:"submit"}))))}}]),t}(u.Component),Dc=Object(U.createSlotFill)("__experimentalBlockSettingsMenuFirstItem"),Fc=Dc.Fill,Uc=Dc.Slot;Fc.Slot=Uc;var Hc=Fc,Vc=Object(U.createSlotFill)("__experimentalBlockSettingsMenuPluginsExtension"),zc=Vc.Fill,Kc=Vc.Slot;zc.Slot=Kc;var Wc=zc,Gc=function(e){var t=e.label,n=e.onPress;return Object(u.createElement)(U.Button,{onClick:n},t)},qc=function(e){var t=e.children;return Object(u.createElement)(u.Fragment,null,t)},$c=[{name:"About",content:'\x3c!-- wp:paragraph {"align":"left"} --\x3e

Visitors will want to know who is on the other side of the page. Use this space to write about yourself, your site, your business, or anything you want. Use the testimonials below to quote others, talking about the same thing – in their own words.

\x3c!-- /wp:paragraph --\x3e'},{name:"Contact",content:'\x3c!-- wp:paragraph {"align":"left"} --\x3e

Let\'s talk 👋 Don\'t hesitate to reach out with the contact information below, or send a message using the form.

\x3c!-- /wp:paragraph --\x3e'}],Yc=Object(m.withDispatch)((function(e){var t=e("core/editor").resetEditorBlocks;return{resetContent:function(e){var n=Object(i.parse)(e);return t(n)}}}))((function(e){var t=e.templates,n=void 0===t?$c:t,r=e.resetContent;return Object(u.createElement)(Yo,null,Object(u.createElement)(qc,{style:{flexDirection:"row"}},n.map((function(e){var t=e.name,n=e.content;return Object(u.createElement)(Gc,{key:t,onPress:function(){return r(n)},label:t})}))))})),Xc=function(){return Object(m.useSelect)((function(e){var t=e("core/editor").getCurrentPostType,n=e("core/block-editor"),r=n.getBlockOrder,o=n.getBlock,c=(0,n.getSettings)().__experimentalEnablePageTemplates,a=r(),l=0===a.length,s=!l&&o(a[0]),u=1===a.length&&Object(i.isUnmodifiedDefaultBlock)(s),d=l||u,f="page"===t();return c&&d&&f}))},Zc=Object(p.createHigherOrderComponent)((function(e){return function(t){var n=Xc();return Object(u.createElement)(e,Object(s.a)({},t,{showPageTemplatePicker:n}))}}),"__experimentalWithPageTemplatePickerVisible");var Jc=Object(p.compose)([Object(m.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.canInsertBlockType,o=n.getBlockRootClientId,c=n.getBlocksByClientId,a=n.getTemplateLock,l=e("core/blocks").getDefaultBlockName,s=c(t.clientIds),u=o(t.clientIds[0]);return{blocks:s,canDuplicate:Object(b.every)(s,(function(e){return!!e&&Object(i.hasBlockSupport)(e.name,"multiple",!0)&&r(e.name,u)})),canInsertDefaultBlock:r(l(),u),extraProps:t,isLocked:!!a(u),rootClientId:u}})),Object(m.withDispatch)((function(e,t,n){var r=n.select,o=t.clientIds,c=t.rootClientId,a=t.blocks,l=t.isLocked,s=t.canDuplicate,u=e("core/block-editor"),d=u.insertBlocks,f=u.multiSelect,p=u.removeBlocks,h=u.insertDefaultBlock,m=u.replaceBlocks;return{onDuplicate:function(){if(s){var e=(0,r("core/block-editor").getBlockIndex)(Object(b.last)(Object(b.castArray)(o)),c),t=a.map((function(e){return Object(i.cloneBlock)(e)}));d(t,e+1,c),t.length>1&&f(Object(b.first)(t).clientId,Object(b.last)(t).clientId)}},onRemove:function(){l||p(o)},onInsertBefore:function(){if(!l){var e=(0,r("core/block-editor").getBlockIndex)(Object(b.first)(Object(b.castArray)(o)),c);h({},c,e)}},onInsertAfter:function(){if(!l){var e=(0,r("core/block-editor").getBlockIndex)(Object(b.last)(Object(b.castArray)(o)),c);h({},c,e+1)}},onGroup:function(){if(a.length){var e=(0,r("core/blocks").getGroupingBlockName)(),t=Object(i.switchToBlockType)(a,e);t&&m(o,t)}},onUngroup:function(){if(a.length){var e=a[0].innerBlocks;e.length&&m(o,e)}}}}))])((function(e){var t=e.canDuplicate,n=e.canInsertDefaultBlock;return(0,e.children)({canDuplicate:t,canInsertDefaultBlock:n,isLocked:e.isLocked,onDuplicate:e.onDuplicate,onGroup:e.onGroup,onInsertAfter:e.onInsertAfter,onInsertBefore:e.onInsertBefore,onRemove:e.onRemove,onUngroup:e.onUngroup})})),Qc=function(e){return e.preventDefault(),e},ea={duplicate:{raw:Ge.rawShortcut.primaryShift("d"),display:Ge.displayShortcut.primaryShift("d")},removeBlock:{raw:Ge.rawShortcut.access("z"),display:Ge.displayShortcut.access("z")},insertBefore:{raw:Ge.rawShortcut.primaryAlt("t"),display:Ge.displayShortcut.primaryAlt("t")},insertAfter:{raw:Ge.rawShortcut.primaryAlt("y"),display:Ge.displayShortcut.primaryAlt("y")}},ta=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).selectAll=e.selectAll.bind(Object(E.a)(e)),e.deleteSelectedBlocks=e.deleteSelectedBlocks.bind(Object(E.a)(e)),e.clearMultiSelection=e.clearMultiSelection.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"selectAll",value:function(e){var t=this.props,n=t.rootBlocksClientIds,r=t.onMultiSelect;e.preventDefault(),r(Object(b.first)(n),Object(b.last)(n))}},{key:"deleteSelectedBlocks",value:function(e){var t=this.props,n=t.selectedBlockClientIds,r=t.hasMultiSelection,o=t.onRemove,i=t.isLocked;r&&(e.preventDefault(),i||o(n))}},{key:"clearMultiSelection",value:function(){var e=this.props,t=e.hasMultiSelection,n=e.clearSelectedBlock;t&&(n(),window.getSelection().removeAllRanges())}},{key:"render",value:function(){var e,t=this.props.selectedBlockClientIds;return Object(u.createElement)(u.Fragment,null,Object(u.createElement)(U.KeyboardShortcuts,{shortcuts:(e={},Object(I.a)(e,Ge.rawShortcut.primary("a"),this.selectAll),Object(I.a)(e,"backspace",this.deleteSelectedBlocks),Object(I.a)(e,"del",this.deleteSelectedBlocks),Object(I.a)(e,"escape",this.clearMultiSelection),e)}),t.length>0&&Object(u.createElement)(Jc,{clientIds:t},(function(e){var t,n=e.onDuplicate,r=e.onRemove,o=e.onInsertAfter,i=e.onInsertBefore;return Object(u.createElement)(U.KeyboardShortcuts,{bindGlobal:!0,shortcuts:(t={},Object(I.a)(t,ea.duplicate.raw,Object(b.flow)(Qc,n)),Object(I.a)(t,ea.removeBlock.raw,Object(b.flow)(Qc,r)),Object(I.a)(t,ea.insertBefore.raw,Object(b.flow)(Qc,i)),Object(I.a)(t,ea.insertAfter.raw,Object(b.flow)(Qc,o)),t)})})))}}]),t}(u.Component),na=Object(p.compose)([Object(m.withSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockOrder,r=t.getSelectedBlockClientIds,o=t.hasMultiSelection,i=t.getBlockRootClientId,c=t.getTemplateLock,a=r();return{rootBlocksClientIds:n(),hasMultiSelection:o(),isLocked:Object(b.some)(a,(function(e){return!!c(i(e))})),selectedBlockClientIds:a}})),Object(m.withDispatch)((function(e){var t=e("core/block-editor");return{clearSelectedBlock:t.clearSelectedBlock,onMultiSelect:t.multiSelect,onRemove:t.removeBlocks}}))])(ta),ra=Object(m.withSelect)((function(e){return{selectedBlockClientId:e("core/block-editor").getBlockSelectionStart()}}))((function(e){var t=e.selectedBlockClientId;return t&&Object(u.createElement)(U.Button,{isDefault:!0,className:"editor-skip-to-selected-block block-editor-skip-to-selected-block",onClick:function(){Ao(t).closest(".block-editor-block-list__block").focus()}},Object(F.__)("Skip to the selected block"))})),oa=n(144),ia=n.n(oa);function ca(e,t,n){var r=new ia.a(e);return t&&r.remove("is-style-"+t.name),r.add("is-style-"+n.name),r.value}var aa=Object(p.compose)([Object(m.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock,o=e("core/blocks").getBlockStyles,c=r(n),a=Object(i.getBlockType)(c.name);return{block:c,className:c.attributes.className||"",styles:o(c.name),type:a}})),Object(m.withDispatch)((function(e,t){var n=t.clientId;return{onChangeClassName:function(t){e("core/block-editor").updateBlockAttributes(n,{className:t})}}}))])((function(e){var t=e.styles,n=e.className,r=e.onChangeClassName,o=e.type,c=e.block,a=e.onSwitch,s=void 0===a?b.noop:a,d=e.onHoverClassName,p=void 0===d?b.noop:d;if(!t||0===t.length)return null;o.styles||Object(b.find)(t,"isDefault")||(t=[{name:"default",label:Object(F._x)("Default","block style"),isDefault:!0}].concat(Object(R.a)(t)));var h=function(e,t){var n=!0,r=!1,o=void 0;try{for(var i,c=new ia.a(t).values()[Symbol.iterator]();!(n=(i=c.next()).done);n=!0){var a=i.value;if(-1!==a.indexOf("is-style-")){var l=a.substring(9),s=Object(b.find)(e,{name:l});if(s)return s}}}catch(e){r=!0,o=e}finally{try{n||null==c.return||c.return()}finally{if(r)throw o}}return Object(b.find)(e,"isDefault")}(t,n);function m(e){var t=ca(n,h,e);r(t),p(null),s()}return Object(u.createElement)("div",{className:"editor-block-styles block-editor-block-styles"},t.map((function(e){var t=ca(n,h,e);return Object(u.createElement)("div",{key:e.name,className:f()("editor-block-styles__item block-editor-block-styles__item",{"is-active":h===e}),onClick:function(){return m(e)},onKeyDown:function(t){Ge.ENTER!==t.keyCode&&Ge.SPACE!==t.keyCode||(t.preventDefault(),m(e))},onMouseEnter:function(){return p(t)},onMouseLeave:function(){return p(null)},role:"button",tabIndex:"0","aria-label":e.label||e.name},Object(u.createElement)("div",{className:"editor-block-styles__item-preview block-editor-block-styles__item-preview"},Object(u.createElement)(ti,{viewportWidth:500,blocks:o.example?Object(i.getBlockFromExample)(c.name,{attributes:Object(l.a)({},o.example.attributes,{className:t}),innerBlocks:o.example.innerBlocks}):Object(i.cloneBlock)(c,{className:t})})),Object(u.createElement)("div",{className:"editor-block-styles__item-label block-editor-block-styles__item-label"},e.label||e.name))})))})),la=n(96);var sa=Object(m.withSelect)((function(e){return{blocks:(0,e("core/block-editor").getMultiSelectedBlocks)()}}))((function(e){var t=e.blocks,n=Object(la.count)(Object(i.serialize)(t),"words");return Object(u.createElement)("div",{className:"editor-multi-selection-inspector__card block-editor-multi-selection-inspector__card"},Object(u.createElement)(We,{icon:Object(u.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(u.createElement)(U.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),showColors:!0}),Object(u.createElement)("div",{className:"editor-multi-selection-inspector__card-content block-editor-multi-selection-inspector__card-content"},Object(u.createElement)("div",{className:"editor-multi-selection-inspector__card-title block-editor-multi-selection-inspector__card-title"},Object(F.sprintf)(Object(F._n)("%d block","%d blocks",t.length),t.length)),Object(u.createElement)("div",{className:"editor-multi-selection-inspector__card-description block-editor-multi-selection-inspector__card-description"},Object(F.sprintf)(Object(F._n)("%d word","%d words",n),n))))}));function ua(e){var t=e.blockName,n=Object(m.useSelect)((function(e){var n=e("core/block-editor").getSettings().__experimentalPreferredStyleVariations;return{preferredStyle:Object(b.get)(n,["value",t]),onUpdatePreferredStyleVariations:Object(b.get)(n,["onChange"],null),styles:e("core/blocks").getBlockStyles(t)}}),[t]),r=n.preferredStyle,o=n.onUpdatePreferredStyleVariations,i=n.styles,c=Object(u.useMemo)((function(){return[{label:Object(F.__)("Not set"),value:""}].concat(Object(R.a)(i.map((function(e){return{label:e.label,value:e.name}}))))}),[i]),a=Object(u.useCallback)((function(e){o(t,e)}),[t,o]);return o&&Object(u.createElement)(U.SelectControl,{options:c,value:r||"",label:Object(F.__)("Default Style"),onChange:a})}var da=Object(m.withSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getSelectedBlockCount,o=t.getBlockName,c=e("core/blocks").getBlockStyles,a=n(),l=a&&o(a),s=a&&Object(i.getBlockType)(l),u=a&&c(l);return{count:r(),hasBlockStyles:u&&u.length>0,selectedBlockName:l,selectedBlockClientId:a,blockType:s}}))((function(e){var t=e.blockType,n=e.count,r=e.hasBlockStyles,o=e.selectedBlockClientId,c=e.selectedBlockName,a=e.showNoBlockSelectedMessage,l=void 0===a||a;if(n>1)return Object(u.createElement)(sa,null);var s=c===Object(i.getUnregisteredTypeHandlerName)();return t&&o&&!s?Object(u.createElement)("div",{className:"block-editor-block-inspector"},Object(u.createElement)(oi,{blockType:t}),r&&Object(u.createElement)("div",null,Object(u.createElement)(U.PanelBody,{title:Object(F.__)("Styles"),initialOpen:!1},Object(u.createElement)(aa,{clientId:o}),Object(u.createElement)(ua,{blockName:t.name}))),Object(u.createElement)(le.Slot,{bubblesVirtually:!0}),Object(u.createElement)("div",null,Object(u.createElement)(U.__experimentalSlotFillConsumer,null,(function(e){return(0,e.hasFills)(Wi.slotName)&&Object(u.createElement)(U.PanelBody,{className:"editor-block-inspector__advanced block-editor-block-inspector__advanced",title:Object(F.__)("Advanced"),initialOpen:!1},Object(u.createElement)(Wi.Slot,{bubblesVirtually:!0}))}))),Object(u.createElement)(ra,{key:"back"})):l?Object(u.createElement)("span",{className:"editor-block-inspector__no-blocks block-editor-block-inspector__no-blocks"},Object(F.__)("No block selected.")):null})),fa=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(E.a)(e)),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,r=t.hasMultiSelection,o=t.clearSelectedBlock,i=n||r;e.target===this.container&&i&&o()}},{key:"render",value:function(){return Object(u.createElement)("div",Object(s.a)({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(b.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(u.Component),ba=Object(p.compose)([Object(m.withSelect)((function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:r()}})),Object(m.withDispatch)((function(e){return{clearSelectedBlock:e("core/block-editor").clearSelectedBlock}}))])(fa);var pa=Object(p.compose)([Object(m.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlock,c=r.getBlockMode,a=r.getSettings,l=o(n),s=a().codeEditingEnabled;return{mode:c(n),blockType:l?Object(i.getBlockType)(l.name):null,isCodeEditingEnabled:s}})),Object(m.withDispatch)((function(e,t){var n=t.onToggle,r=void 0===n?b.noop:n,o=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(o),r()}}}))])((function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,c=void 0!==o&&o,a=e.isCodeEditingEnabled,l=void 0===a||a;if(!Object(i.hasBlockSupport)(t,"html",!0)||!l)return null;var s="visual"===n?Object(F.__)("Edit as HTML"):Object(F.__)("Edit visually");return Object(u.createElement)(U.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:r,icon:"html"},!c&&s)}));function ha(e){var t=e.shouldRender,n=e.onClick,r=e.small;if(!t)return null;var o=Object(F.__)("Convert to Blocks");return Object(u.createElement)(U.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:n,icon:"screenoptions"},!r&&o)}var ma=Object(p.compose)(Object(m.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&"core/html"===r.name}})),Object(m.withDispatch)((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.getBlockContent)(n)}))}}})))(ha),ga=Object(p.compose)(Object(m.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&r.name===Object(i.getFreeformContentHandlerName)()}})),Object(m.withDispatch)((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.serialize)(n)}))}}})))(ha),va={className:"block-editor-block-settings-menu__popover editor-block-settings-menu__popover",position:"bottom right"};var Oa=function(e){var t=e.clientIds,n=Object(b.castArray)(t),r=n.length,o=n[0];return Object(u.createElement)(Jc,{clientIds:t},(function(e){var n=e.canDuplicate,i=e.canInsertDefaultBlock,c=e.isLocked,a=e.onDuplicate,l=e.onInsertAfter,s=e.onInsertBefore,d=e.onRemove;return Object(u.createElement)(U.Toolbar,null,Object(u.createElement)(U.DropdownMenu,{icon:"ellipsis",label:Object(F.__)("More options"),className:"block-editor-block-settings-menu",popoverProps:va},(function(e){var f=e.onClose;return Object(u.createElement)(u.Fragment,null,Object(u.createElement)(U.MenuGroup,null,Object(u.createElement)(Hc.Slot,{fillProps:{onClose:f}}),1===r&&Object(u.createElement)(ga,{clientId:o}),1===r&&Object(u.createElement)(ma,{clientId:o}),n&&Object(u.createElement)(U.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(b.flow)(f,a),icon:"admin-page",shortcut:ea.duplicate.display},Object(F.__)("Duplicate")),i&&Object(u.createElement)(u.Fragment,null,Object(u.createElement)(U.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(b.flow)(f,s),icon:"insert-before",shortcut:ea.insertBefore.display},Object(F.__)("Insert Before")),Object(u.createElement)(U.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(b.flow)(f,l),icon:"insert-after",shortcut:ea.insertAfter.display},Object(F.__)("Insert After"))),1===r&&Object(u.createElement)(pa,{clientId:o,onToggle:f}),Object(u.createElement)(Wc.Slot,{fillProps:{clientIds:t,onClose:f}})),Object(u.createElement)(U.MenuGroup,null,!c&&Object(u.createElement)(U.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(b.flow)(f,d),icon:"trash",shortcut:ea.removeBlock.display},Object(F._n)("Remove Block","Remove Blocks",r))))})))}))};var ka=function(e){var t=e.clientId,n=e.moverDirection;return Object(p.useViewportMatch)("small","<")?Object(u.createElement)("div",{className:"block-editor-block-mobile-toolbar"},Object(u.createElement)(uo,{clientIds:[t],__experimentalOrientation:n})):null},ja=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={hoveredClassName:null},e.onHoverClassName=e.onHoverClassName.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onHoverClassName",value:function(e){this.setState({hoveredClassName:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.blocks,r=t.onTransform,o=t.inserterItems,c=t.hasBlockStyles,a=this.state.hoveredClassName;if(!n||!n.length)return null;var s,d=a?n[0]:null,f=a?Object(i.getBlockType)(d.name):null,p=Object(b.mapKeys)(o,(function(e){return e.name})),h=Object(b.orderBy)(Object(b.filter)(Object(i.getPossibleBlockTransformations)(n),(function(e){return e&&!!p[e.name]})),(function(e){return p[e.name].frecency}),"desc");if(1===Object(b.uniq)(Object(b.map)(n,"name")).length){var m=n[0].name,g=Object(i.getBlockType)(m);s=g.icon}else s="layout";return c||h.length?Object(u.createElement)(U.Dropdown,{position:"bottom right",className:"editor-block-switcher block-editor-block-switcher",contentClassName:"editor-block-switcher__popover block-editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,r=e.isOpen,o=1===n.length?Object(F.__)("Change block type or style"):Object(F.sprintf)(Object(F._n)("Change type of %d block","Change type of %d blocks",n.length),n.length);return Object(u.createElement)(U.Toolbar,null,Object(u.createElement)(U.IconButton,{className:"editor-block-switcher__toggle block-editor-block-switcher__toggle",onClick:t,"aria-haspopup":"true","aria-expanded":r,label:o,tooltip:o,onKeyDown:function(e){r||e.keyCode!==Ge.DOWN||(e.preventDefault(),e.stopPropagation(),t())},icon:Object(u.createElement)(u.Fragment,null,Object(u.createElement)(We,{icon:s,showColors:!0}),Object(u.createElement)(U.SVG,{className:"editor-block-switcher__transform block-editor-block-switcher__transform",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(u.createElement)(U.Path,{d:"M6.5 8.9c.6-.6 1.4-.9 2.2-.9h6.9l-1.3 1.3 1.4 1.4L19.4 7l-3.7-3.7-1.4 1.4L15.6 6H8.7c-1.4 0-2.6.5-3.6 1.5l-2.8 2.8 1.4 1.4 2.8-2.8zm13.8 2.4l-2.8 2.8c-.6.6-1.3.9-2.1.9h-7l1.3-1.3-1.4-1.4L4.6 16l3.7 3.7 1.4-1.4L8.4 17h6.9c1.3 0 2.6-.5 3.5-1.5l2.8-2.8-1.3-1.4z"})))}))},renderContent:function(t){var o=t.onClose;return Object(u.createElement)(u.Fragment,null,(c||0!==h.length)&&Object(u.createElement)("div",{className:"block-editor-block-switcher__container"},c&&Object(u.createElement)(U.PanelBody,{title:Object(F.__)("Block Styles"),initialOpen:!0},Object(u.createElement)(aa,{clientId:n[0].clientId,onSwitch:o,onHoverClassName:e.onHoverClassName})),0!==h.length&&Object(u.createElement)(U.PanelBody,{title:Object(F.__)("Transform To:"),initialOpen:!0},Object(u.createElement)(ri,{items:h.map((function(e){return{id:e.name,icon:e.icon,title:e.title}})),onSelect:function(e){r(n,e.id),o()}}))),null!==a&&Object(u.createElement)("div",{className:"block-editor-block-switcher__preview"},Object(u.createElement)("div",{className:"block-editor-block-switcher__preview-title"},Object(F.__)("Preview")),Object(u.createElement)(ti,{viewportWidth:500,blocks:f.example?Object(i.getBlockFromExample)(d.name,{attributes:Object(l.a)({},f.example.attributes,{className:a}),innerBlocks:f.example.innerBlocks}):Object(i.cloneBlock)(d,{className:a})})))}}):Object(u.createElement)(U.Toolbar,null,Object(u.createElement)(U.IconButton,{disabled:!0,className:"editor-block-switcher__no-switcher-icon block-editor-block-switcher__no-switcher-icon",label:Object(F.__)("Block icon"),icon:Object(u.createElement)(We,{icon:s,showColors:!0})}))}}]),t}(u.Component),ya=Object(p.compose)(Object(m.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlocksByClientId,i=r.getBlockRootClientId,c=r.getInserterItems,a=e("core/blocks").getBlockStyles,l=i(Object(b.first)(Object(b.castArray)(n))),s=o(n),u=s&&1===s.length?s[0]:null,d=u&&a(u.name);return{blocks:s,inserterItems:c(l),hasBlockStyles:d&&d.length>0}})),Object(m.withDispatch)((function(e,t){return{onTransform:function(n,r){e("core/block-editor").replaceBlocks(t.clientIds,Object(i.switchToBlockType)(n,r))}}})))(ja);var _a=Object(m.withSelect)((function(e){var t=e("core/block-editor").getMultiSelectedBlockClientIds();return{isMultiBlockSelection:t.length>1,selectedBlockClientIds:t}}))((function(e){var t=e.isMultiBlockSelection,n=e.selectedBlockClientIds;return t?Object(u.createElement)(ya,{key:"switcher",clientIds:n}):null}));function Sa(){var e=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockMode,r=t.getSelectedBlockClientIds,o=t.isBlockValid,i=r();return{blockClientIds:i,isValid:1===i.length?o(i[0]):null,mode:1===i.length?n(i[0]):null}})),t=e.blockClientIds,n=e.isValid,r=e.mode;return 0===t.length?null:t.length>1?Object(u.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},Object(u.createElement)(_a,null),Object(u.createElement)(Oa,{clientIds:t})):Object(u.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},"visual"===r&&n&&Object(u.createElement)(u.Fragment,null,1===t.length&&Object(u.createElement)(ka,{clientId:t[0]}),Object(u.createElement)(ya,{clientIds:t}),Object(u.createElement)(Fe.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"}),Object(u.createElement)(Ke.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"})),Object(u.createElement)(Oa,{clientIds:t}))}var Ca=Object(p.compose)([Object(m.withDispatch)((function(e,t,n){var r=(0,n.select)("core/block-editor"),o=r.getBlocksByClientId,c=r.getSelectedBlockClientIds,a=r.hasMultiSelection,l=r.getSettings,s=e("core/block-editor"),u=s.removeBlocks,d=s.replaceBlocks,f=l().__experimentalCanUserUseUnfilteredHTML;return{handler:function(e){var t=c();if(0!==t.length&&(a()||!Object(to.documentHasSelection)())){if(e.preventDefault(),"copy"===e.type||"cut"===e.type){var n=o(t),r=Object(i.serialize)(n);e.clipboardData.setData("text/plain",r),e.clipboardData.setData("text/html",r)}if("cut"===e.type)u(t);else if("paste"===e.type){var l=function(e){var t=e.clipboardData,n=t.items,r=t.files;n=Object(b.isNil)(n)?[]:n,r=Object(b.isNil)(r)?[]:r;var o="",i="";try{o=t.getData("text/plain"),i=t.getData("text/html")}catch(e){try{i=t.getData("Text")}catch(e){return}}return r=Array.from(r),Array.from(n).forEach((function(e){if(e.getAsFile){var t=e.getAsFile();if(t){var n=t.name,o=t.type,i=t.size;Object(b.find)(r,{name:n,type:o,size:i})||r.push(t)}}})),(r=r.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)}))).length&&!i&&(i=r.map((function(e){return'')})).join(""),o=""),{html:i,plainText:o}}(e),s=l.plainText,p=l.html,h=Object(i.pasteHandler)({HTML:p,plainText:s,mode:"BLOCKS",canUserUseUnfilteredHTML:f});d(t,h)}}}}}))])((function(e){var t=e.children,n=e.handler;return Object(u.createElement)("div",{onCopy:n,onCut:n,onPaste:n},t)}));function Ea(){var e=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockSelectionEnd,r=t.isMultiSelecting;return{selectionEnd:n(),isMultiSelecting:r()}})),t=e.selectionEnd,n=e.isMultiSelecting;return Object(u.useEffect)((function(){if(t&&!n){var e=Ao(t);if(e){var r=Object(to.getScrollContainer)(e);r&&Xe()(e,r,{onlyScrollIfNeeded:!0})}}}),[t,n]),null}var wa=[Ge.UP,Ge.RIGHT,Ge.DOWN,Ge.LEFT,Ge.ENTER,Ge.BACKSPACE];var Ia=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).stopTypingOnSelectionUncollapse=e.stopTypingOnSelectionUncollapse.bind(Object(E.a)(e)),e.stopTypingOnMouseMove=e.stopTypingOnMouseMove.bind(Object(E.a)(e)),e.startTypingInTextField=e.startTypingInTextField.bind(Object(E.a)(e)),e.stopTypingOnNonTextField=e.stopTypingOnNonTextField.bind(Object(E.a)(e)),e.stopTypingOnEscapeKey=e.stopTypingOnEscapeKey.bind(Object(E.a)(e)),e.onKeyDown=Object(b.over)([e.startTypingInTextField,e.stopTypingOnEscapeKey]),e.lastMouseMove=null,e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidMount",value:function(){this.toggleEventBindings(this.props.isTyping)}},{key:"componentDidUpdate",value:function(e){this.props.isTyping!==e.isTyping&&this.toggleEventBindings(this.props.isTyping)}},{key:"componentWillUnmount",value:function(){this.toggleEventBindings(!1)}},{key:"toggleEventBindings",value:function(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",this.stopTypingOnSelectionUncollapse),document[t]("mousemove",this.stopTypingOnMouseMove)}},{key:"stopTypingOnMouseMove",value:function(e){var t=e.clientX,n=e.clientY;if(this.lastMouseMove){var r=this.lastMouseMove,o=r.clientX,i=r.clientY;o===t&&i===n||this.props.onStopTyping()}this.lastMouseMove={clientX:t,clientY:n}}},{key:"stopTypingOnSelectionUncollapse",value:function(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||this.props.onStopTyping()}},{key:"stopTypingOnEscapeKey",value:function(e){this.props.isTyping&&e.keyCode===Ge.ESCAPE&&this.props.onStopTyping()}},{key:"startTypingInTextField",value:function(e){var t=this.props,n=t.isTyping,r=t.onStartTyping,o=e.type,i=e.target;n||!Object(to.isTextField)(i)||i.closest(".block-editor-block-toolbar")||("keydown"!==o||function(e){var t=e.keyCode;return!e.shiftKey&&Object(b.includes)(wa,t)}(e))&&r()}},{key:"stopTypingOnNonTextField",value:function(e){var t=this;e.persist(),this.props.setTimeout((function(){var n=t.props,r=n.isTyping,o=n.onStopTyping,i=e.target;r&&!Object(to.isTextField)(i)&&o()}))}},{key:"render",value:function(){var e=this.props.children;return Object(u.createElement)("div",{onFocus:this.stopTypingOnNonTextField,onKeyPress:this.startTypingInTextField,onKeyDown:this.onKeyDown},e)}}]),t}(u.Component),Ba=Object(p.compose)([Object(m.withSelect)((function(e){return{isTyping:(0,e("core/block-editor").isTyping)()}})),Object(m.withDispatch)((function(e){var t=e("core/block-editor");return{onStartTyping:t.startTyping,onStopTyping:t.stopTyping}})),p.withSafeTimeout])(Ia);function Ta(){return sc()("PreserveScrollInReorder component",{hint:"This behavior is now built-in the block list"}),null}var xa=-1!==window.navigator.userAgent.indexOf("Trident"),Na=new Set([Ge.UP,Ge.DOWN,Ge.LEFT,Ge.RIGHT]),La=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).ref=Object(u.createRef)(),e.onKeyDown=e.onKeyDown.bind(Object(E.a)(e)),e.addSelectionChangeListener=e.addSelectionChangeListener.bind(Object(E.a)(e)),e.computeCaretRectOnSelectionChange=e.computeCaretRectOnSelectionChange.bind(Object(E.a)(e)),e.maintainCaretPosition=e.maintainCaretPosition.bind(Object(E.a)(e)),e.computeCaretRect=e.computeCaretRect.bind(Object(E.a)(e)),e.onScrollResize=e.onScrollResize.bind(Object(E.a)(e)),e.isSelectionEligibleForScroll=e.isSelectionEligibleForScroll.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScrollResize,!0),window.addEventListener("resize",this.onScrollResize,!0)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.onScrollResize,!0),window.removeEventListener("resize",this.onScrollResize,!0),document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.onScrollResize.rafId&&window.cancelAnimationFrame(this.onScrollResize.rafId),this.onKeyDown.rafId&&window.cancelAnimationFrame(this.onKeyDown.rafId)}},{key:"computeCaretRect",value:function(){this.isSelectionEligibleForScroll()&&(this.caretRect=Object(to.computeCaretRect)())}},{key:"computeCaretRectOnSelectionChange",value:function(){document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.computeCaretRect()}},{key:"onScrollResize",value:function(){var e=this;this.onScrollResize.rafId||(this.onScrollResize.rafId=window.requestAnimationFrame((function(){e.computeCaretRect(),delete e.onScrollResize.rafId})))}},{key:"isSelectionEligibleForScroll",value:function(){return this.props.selectedBlockClientId&&this.ref.current.contains(document.activeElement)&&document.activeElement.isContentEditable}},{key:"isLastEditableNode",value:function(){var e=this.ref.current.querySelectorAll('[contenteditable="true"]');return e[e.length-1]===document.activeElement}},{key:"maintainCaretPosition",value:function(e){var t=e.keyCode;if(this.isSelectionEligibleForScroll()){var n=Object(to.computeCaretRect)();if(n)if(this.caretRect)if(Na.has(t))this.caretRect=n;else{var r=n.top-this.caretRect.top;if(0!==r){var o=Object(to.getScrollContainer)(this.ref.current);if(o){var i=o===document.body,c=i?window.scrollY:o.scrollTop,a=i?0:o.getBoundingClientRect().top,l=i?this.caretRect.top/window.innerHeight:(this.caretRect.top-a)/(window.innerHeight-a);if(0===c&&l<.75&&this.isLastEditableNode())this.caretRect=n;else{var s=i?window.innerHeight:o.clientHeight;this.caretRect.top+this.caretRect.height>a+s||this.caretRect.top1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?Ha:[],!r||!0===e&&!n?b.without.apply(void 0,[t].concat(Va)):t}var Ka=Object(p.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=za(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0));return[r.length>0&&t.isSelected&&Object(u.createElement)(Fe,{key:"align-controls"},Object(u.createElement)(Ne,{value:t.attributes.align,onChange:function(e){if(!e){var n=Object(i.getBlockType)(t.name);Object(b.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:r})),Object(u.createElement)(e,Object(s.a)({key:"edit"},t))]}}),"withToolbarControls"),Wa=Object(p.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=t.attributes.align,o=Object(m.useSelect)((function(e){return!!e("core/block-editor").getSettings().alignWide}),[]);if(void 0===r)return Object(u.createElement)(e,t);var c=za(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0),o),a=t.wrapperProps;return Object(b.includes)(c,r)&&(a=Object(l.a)({},a,{"data-align":r})),Object(u.createElement)(e,Object(s.a)({},t,{wrapperProps:a}))}}));Object(h.addFilter)("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(b.has)(e.attributes,["align","type"])?e:(Object(i.hasBlockSupport)(e,"align")&&(e.attributes=Object(b.assign)(e.attributes,{align:{type:"string"}})),e)})),Object(h.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",Wa),Object(h.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",Ka),Object(h.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){var r=n.align,o=Object(i.getBlockSupport)(t,"align"),c=Object(i.hasBlockSupport)(t,"alignWide",!0);return Object(b.includes)(za(o,c),r)&&(e.className=f()("align".concat(r),e.className)),e}));var Ga=/[\s#]/g;var qa=Object(p.createHigherOrderComponent)((function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"anchor")&&t.isSelected?Object(u.createElement)(u.Fragment,null,Object(u.createElement)(e,t),Object(u.createElement)(Wi,null,Object(u.createElement)(U.TextControl,{className:"html-anchor-control",label:Object(F.__)("HTML Anchor"),help:Object(u.createElement)(u.Fragment,null,Object(F.__)("Enter a word or two — without spaces — to make a unique web address just for this heading, called an “anchor.” Then, you’ll be able to link directly to this section of your page."),Object(u.createElement)(U.ExternalLink,{href:"https://wordpress.org/support/article/page-jumps/"},Object(F.__)("Learn more about anchors"))),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(Ga,"-"),t.setAttributes({anchor:e})}}))):Object(u.createElement)(e,t)}}),"withInspectorControl");Object(h.addFilter)("blocks.registerBlockType","core/anchor/attribute",(function(e){return Object(b.has)(e.attributes,["anchor","type"])?e:(Object(i.hasBlockSupport)(e,"anchor")&&(e.attributes=Object(b.assign)(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e)})),Object(h.addFilter)("editor.BlockEdit","core/editor/anchor/with-inspector-control",qa),Object(h.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",(function(e,t,n){return Object(i.hasBlockSupport)(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e}));var $a=Object(p.createHigherOrderComponent)((function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?Object(u.createElement)(u.Fragment,null,Object(u.createElement)(e,t),Object(u.createElement)(Wi,null,Object(u.createElement)(U.TextControl,{label:Object(F.__)("Additional CSS Class(es)"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:""!==e?e:void 0})},help:Object(F.__)("Separate multiple classes with spaces.")}))):Object(u.createElement)(e,t)}}),"withInspectorControl");function Ya(e){e="
".concat(e,"
");var t=Object(i.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(h.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Object(i.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=Object(b.assign)(e.attributes,{className:{type:"string"}})),e})),Object(h.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",$a),Object(h.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",(function(e,t,n){return Object(i.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=f()(e.className,n.className)),e})),Object(h.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",(function(e,t,n){if(Object(i.hasBlockSupport)(t,"customClassName",!0)){var r=Object(b.omit)(e,["className"]),o=Object(i.getSaveContent)(t,r),c=Ya(o),a=Ya(n),l=Object(b.difference)(a,c);l.length?e.className=l.join(" "):o&&delete e.className}return e})),Object(h.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",(function(e,t){return Object(i.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(b.uniq)([Object(i.getBlockDefaultClassName)(t.name)].concat(Object(R.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(i.getBlockDefaultClassName)(t.name)),e}));var Xa=n(218),Za=n.n(Xa),Ja=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Qa=function(e,t){t=t||{};var n=1,r=1;function o(e){var t=e.match(/\n/g);t&&(n+=t.length);var o=e.lastIndexOf("\n");r=~o?e.length-o:r+e.length}function i(){var e={line:n,column:r};return function(t){return t.position=new c(e),b(),t}}function c(e){this.start=e,this.end={line:n,column:r},this.source=t.source}c.prototype.content=e;var a=[];function l(o){var i=new Error(t.source+":"+n+":"+r+": "+o);if(i.reason=o,i.filename=t.source,i.line=n,i.column=r,i.source=e,!t.silent)throw i;a.push(i)}function s(){return f(/^{\s*/)}function u(){return f(/^}/)}function d(){var t,n=[];for(b(),p(n);e.length&&"}"!==e.charAt(0)&&(t=C()||E());)!1!==t&&(n.push(t),p(n));return n}function f(t){var n=t.exec(e);if(n){var r=n[0];return o(r),e=e.slice(r.length),n}}function b(){f(/^\s*/)}function p(e){var t;for(e=e||[];t=h();)!1!==t&&e.push(t);return e}function h(){var t=i();if("/"===e.charAt(0)&&"*"===e.charAt(1)){for(var n=2;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return l("End of comment missing");var c=e.slice(2,n-2);return r+=2,o(c),e=e.slice(n),r+=2,t({type:"comment",comment:c})}}function m(){var e=f(/^([^{]+)/);if(e)return el(e[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,(function(e){return e.replace(/,/g,"‌")})).split(/\s*(?![^(]*\)),\s*/).map((function(e){return e.replace(/\u200C/g,",")}))}function g(){var e=i(),t=f(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){if(t=el(t[0]),!f(/^:\s*/))return l("property missing ':'");var n=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=e({type:"declaration",property:t.replace(Ja,""),value:n?el(n[0]).replace(Ja,""):""});return f(/^[;\s]*/),r}}function v(){var e,t=[];if(!s())return l("missing '{'");for(p(t);e=g();)!1!==e&&(t.push(e),p(t));return u()?t:l("missing '}'")}function O(){for(var e,t=[],n=i();e=f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),f(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:v()})}var k,j=S("import"),y=S("charset"),_=S("namespace");function S(e){var t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){var n=i(),r=f(t);if(r){var o={type:e};return o[e]=r[1].trim(),n(o)}}}function C(){if("@"===e[0])return function(){var e=i(),t=f(/^@([-\w]+)?keyframes\s*/);if(t){var n=t[1];if(!(t=f(/^([-\w]+)\s*/)))return l("@keyframes missing name");var r,o=t[1];if(!s())return l("@keyframes missing '{'");for(var c=p();r=O();)c.push(r),c=c.concat(p());return u()?e({type:"keyframes",name:o,vendor:n,keyframes:c}):l("@keyframes missing '}'")}}()||function(){var e=i(),t=f(/^@media *([^{]+)/);if(t){var n=el(t[1]);if(!s())return l("@media missing '{'");var r=p().concat(d());return u()?e({type:"media",media:n,rules:r}):l("@media missing '}'")}}()||function(){var e=i(),t=f(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:el(t[1]),media:el(t[2])})}()||function(){var e=i(),t=f(/^@supports *([^{]+)/);if(t){var n=el(t[1]);if(!s())return l("@supports missing '{'");var r=p().concat(d());return u()?e({type:"supports",supports:n,rules:r}):l("@supports missing '}'")}}()||j()||y()||_()||function(){var e=i(),t=f(/^@([-\w]+)?document *([^{]+)/);if(t){var n=el(t[1]),r=el(t[2]);if(!s())return l("@document missing '{'");var o=p().concat(d());return u()?e({type:"document",document:r,vendor:n,rules:o}):l("@document missing '}'")}}()||function(){var e=i();if(f(/^@page */)){var t=m()||[];if(!s())return l("@page missing '{'");for(var n,r=p();n=g();)r.push(n),r=r.concat(p());return u()?e({type:"page",selectors:t,declarations:r}):l("@page missing '}'")}}()||function(){var e=i();if(f(/^@host\s*/)){if(!s())return l("@host missing '{'");var t=p().concat(d());return u()?e({type:"host",rules:t}):l("@host missing '}'")}}()||function(){var e=i();if(f(/^@font-face\s*/)){if(!s())return l("@font-face missing '{'");for(var t,n=p();t=g();)n.push(t),n=n.concat(p());return u()?e({type:"font-face",declarations:n}):l("@font-face missing '}'")}}()}function E(){var e=i(),t=m();return t?(p(),e({type:"rule",selectors:t,declarations:v()})):l("selector missing")}return function e(t,n){var r=t&&"string"==typeof t.type;var o=r?t:n;for(var i in t){var c=t[i];Array.isArray(c)?c.forEach((function(t){e(t,o)})):c&&"object"===Object(vt.a)(c)&&e(c,o)}r&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n||null});return t}((k=d(),{type:"stylesheet",stylesheet:{source:t.source,rules:k,parsingErrors:a}}))};function el(e){return e?e.replace(/^\s+|\s+$/g,""):""}var tl=n(109),nl=n.n(tl),rl=ol;function ol(e){this.options=e||{}}ol.prototype.emit=function(e){return e},ol.prototype.visit=function(e){return this[e.type](e)},ol.prototype.mapVisit=function(e,t){var n="";t=t||"";for(var r=0,o=e.length;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){return"rule"===n.type?Object(l.a)({},n,{selectors:n.selectors.map((function(n){return Object(b.includes)(t,n.trim())?n:n.match(hl)?n.replace(/^(body|html|:root)/,e):e+" "+n}))}):n}},gl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(b.map)(e,(function(e){var n=e.css,r=e.baseURL,o=[];return t&&o.push(ml(t)),r&&o.push(pl(r)),o.length?ul(n,Object(p.compose)(o)):n}))};n.d(t,"AlignmentToolbar",(function(){return Ee})),n.d(t,"Autocomplete",(function(){return we})),n.d(t,"BlockAlignmentToolbar",(function(){return Ne})),n.d(t,"BlockBreadcrumb",(function(){return Ae})),n.d(t,"BlockControls",(function(){return Fe})),n.d(t,"BlockEdit",(function(){return ue})),n.d(t,"useBlockEditContext",(function(){return te})),n.d(t,"BlockFormatControls",(function(){return Ke})),n.d(t,"BlockIcon",(function(){return We})),n.d(t,"BlockNavigationDropdown",(function(){return yi})),n.d(t,"__experimentalBlockNavigationList",(function(){return Oi})),n.d(t,"__experimentalBlockPatternPicker",(function(){return _i})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return Bi})),n.d(t,"ButtonBlockerAppender",(function(){return vi})),n.d(t,"ColorPalette",(function(){return V})),n.d(t,"ColorPaletteControl",(function(){return K})),n.d(t,"ContrastChecker",(function(){return Z})),n.d(t,"__experimentalGradientPicker",(function(){return xi})),n.d(t,"__experimentalGradientPickerControl",(function(){return Ni})),n.d(t,"__experimentalGradientPickerPanel",(function(){return Li})),n.d(t,"InnerBlocks",(function(){return Ui})),n.d(t,"InspectorAdvancedControls",(function(){return Wi})),n.d(t,"InspectorControls",(function(){return le})),n.d(t,"__experimentalLinkControl",(function(){return Ji})),n.d(t,"MediaReplaceFlow",(function(){return ac})),n.d(t,"MediaPlaceholder",(function(){return hc})),n.d(t,"MediaUpload",(function(){return Qi})),n.d(t,"MediaUploadCheck",(function(){return ec})),n.d(t,"PanelColorSettings",(function(){return $})),n.d(t,"PlainText",(function(){return mc})),n.d(t,"__experimentalResponsiveBlockControl",(function(){return vc})),n.d(t,"RichText",(function(){return Lc})),n.d(t,"RichTextShortcut",(function(){return wc})),n.d(t,"RichTextToolbarButton",(function(){return Ic})),n.d(t,"__unstableRichTextInputEvent",(function(){return Bc})),n.d(t,"ToolSelector",(function(){return Mc})),n.d(t,"URLInput",(function(){return rc})),n.d(t,"URLInputButton",(function(){return Pc})),n.d(t,"URLPopover",(function(){return dc})),n.d(t,"withColorContext",(function(){return H})),n.d(t,"__experimentalBlockListFooter",(function(){return Yo})),n.d(t,"__experimentalBlockSettingsMenuFirstItem",(function(){return Hc})),n.d(t,"__experimentalBlockSettingsMenuPluginsExtension",(function(){return Wc})),n.d(t,"__experimentalInserterMenuExtension",(function(){return si})),n.d(t,"__experimentalPageTemplatePicker",(function(){return Yc})),n.d(t,"__experimentalWithPageTemplatePickerVisible",(function(){return Zc})),n.d(t,"__experimentalUsePageTemplatePickerVisible",(function(){return Xc})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return na})),n.d(t,"BlockInspector",(function(){return da})),n.d(t,"BlockList",(function(){return Qo})),n.d(t,"BlockMover",(function(){return uo})),n.d(t,"BlockPreview",(function(){return ti})),n.d(t,"BlockSelectionClearer",(function(){return ba})),n.d(t,"BlockSettingsMenu",(function(){return Oa})),n.d(t,"BlockTitle",(function(){return Le})),n.d(t,"BlockToolbar",(function(){return Sa})),n.d(t,"CopyHandler",(function(){return Ca})),n.d(t,"DefaultBlockAppender",(function(){return Ko})),n.d(t,"Inserter",(function(){return gi})),n.d(t,"MultiBlocksSwitcher",(function(){return _a})),n.d(t,"MultiSelectScrollIntoView",(function(){return Ea})),n.d(t,"NavigableToolbar",(function(){return Eo})),n.d(t,"ObserveTyping",(function(){return Ba})),n.d(t,"PreserveScrollInReorder",(function(){return Ta})),n.d(t,"SkipToSelectedBlock",(function(){return ra})),n.d(t,"Typewriter",(function(){return Aa})),n.d(t,"Warning",(function(){return fo})),n.d(t,"WritingFlow",(function(){return Ua})),n.d(t,"BlockEditorProvider",(function(){return Jr})),n.d(t,"getColorClassName",(function(){return j})),n.d(t,"getColorObjectByAttributeValues",(function(){return O})),n.d(t,"getColorObjectByColorValue",(function(){return k})),n.d(t,"createCustomColorsHOC",(function(){return L})),n.d(t,"withColors",(function(){return A})),n.d(t,"__experimentalUseColors",(function(){return ve})),n.d(t,"__experimentalGetGradientClass",(function(){return Oe})),n.d(t,"__experimentalUseGradient",(function(){return ke})),n.d(t,"getFontSize",(function(){return je})),n.d(t,"getFontSizeClass",(function(){return ye})),n.d(t,"FontSizePicker",(function(){return _e})),n.d(t,"withFontSizes",(function(){return Se})),n.d(t,"transformStyles",(function(){return gl})),n.d(t,"storeConfig",(function(){return $r})),n.d(t,"SETTINGS_DEFAULTS",(function(){return et}))},38:function(e,t,n){"use strict";var r,o;function i(e){return[e]}function c(){var e={clear:function(){e.head=null}};return e}function a(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},42:function(e,t,n){e.exports=function(e,t){var n,r,o,i=0;function c(){var t,c,a=r,l=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(c=0;c1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=L(e,360),t=L(t,100),n=L(n,100),0===t)r=o=i=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=c(l,a,e+1/3),o=c(l,a,e),i=c(l,a,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,l),d=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var b,p,h;return n=N(n),{ok:d,format:e.format||f,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=a++}function b(e,t,n){e=L(e,255),t=L(t,255),n=L(n,255);var r,o,i=u(e,t,n),c=s(e,t,n),a=(i+c)/2;if(i==c)r=o=0;else{var l=i-c;switch(o=a>.5?l/(2-i-c):l/(i+c),i){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(f(r));return i}function B(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,i=n.v,c=[],a=1/t;t--;)c.push(f({h:r,s:o,v:i})),i=(i+a)%1;return c}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=N(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=b(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=b(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return h(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[M(l(e).toString(16)),M(l(t).toString(16)),M(l(n).toString(16)),M(D(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*L(this._r,255))+"%",g:l(100*L(this._g,255))+"%",b:l(100*L(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*L(this._r,255))+"%, "+l(100*L(this._g,255))+"%, "+l(100*L(this._b,255))+"%)":"rgba("+l(100*L(this._r,255))+"%, "+l(100*L(this._g,255))+"%, "+l(100*L(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(x[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);n="#"+m(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(k,arguments)},brighten:function(){return this._applyModification(j,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(O,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(B,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:P(e[r]));e=n}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r=f(e).toRgb(),o=f(t).toRgb(),i=n/100;return f({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},f.readability=function(e,t){var n=f(e),r=f(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,i=f.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},f.mostReadable=function(e,t,n){var r,o,i,c,a=null,l=0;o=(n=n||{}).includeFallbackColors,i=n.level,c=n.size;for(var s=0;sl&&(l=r,a=f(t[s]));return f.isReadable(e,a,{level:i,size:c})||!o?a:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var T=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},x=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(T);function N(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function L(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function A(e){return s(1,u(0,e))}function R(e){return parseInt(e,16)}function M(e){return 1==e.length?"0"+e:""+e}function P(e){return e<=1&&(e=100*e+"%"),e}function D(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return R(e)/255}var U,H,V,z=(H="[\\s|\\(]+("+(U="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+U+")[,|\\s]+("+U+")\\s*\\)?",V="[\\s|\\(]+("+U+")[,|\\s]+("+U+")[,|\\s]+("+U+")[,|\\s]+("+U+")\\s*\\)?",{CSS_UNIT:new RegExp(U),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+V),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+V),hsv:new RegExp("hsv"+H),hsva:new RegExp("hsva"+V),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function K(e){return!!z.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},50:function(e,t){!function(){e.exports=this.wp.viewport}()},53:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},6:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},60:function(e,t,n){"use strict";t.__esModule=!0;var r=n(113);t.default=r.default},61:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},63:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(117)),i=r(n(118)),c=n(20),a=r(c),l=r(n(95)),s=r(n(119)),u={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(u.str(e)||u.num(e))return e===t;if(u.obj(e)&&u.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!u.und(n)||e===t}};function d(){var e=c.useState(!1)[1];return c.useCallback((function(){return e((function(e){return!e}))}),[])}function f(e,t){return u.und(e)||u.nul(e)?t:e}function b(e){return u.und(e)?[]:u.arr(e)?e:[e]}function p(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}for(var c=i,a=!1,l=0;l=b.startTime+s.duration;else if(s.decay)m=p+O/(1-.998)*(1-Math.exp(-(1-.998)*(t-b.startTime))),(u=Math.abs(b.lastPosition-m)<.1)&&(h=m);else{d=void 0!==b.lastTime?b.lastTime:t,O=void 0!==b.lastVelocity?b.lastVelocity:s.initialVelocity,t>d+64&&(d=t);for(var k=Math.floor(t-d),j=0;jh:m=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,c,a,l){var s=l?l(e):e;if(sn){if("identity"===a)return s;"clamp"===a&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=i(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,i[t],i[t+1],o[t],o[t+1],l,c,a,r.map)}}var U=function(e){function t(n,r,o,i){var c;return(c=e.call(this)||this).calc=void 0,c.payload=n instanceof O&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],c.calc=F(r,o,i),c}l(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t,n){this.calc=F(e,t,n)},n.interpolate=function(e,n,r){return new t(this,e,n,r)},t}(O);var H=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}l(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t,n){return new U(this,e,t,n)},t}(v),V=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new H(e)})),n}l(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new U(this,e,t)},t}(O),z=0,K=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=z++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=h(e),n=t.delay,r=void 0===n?0:n,c=t.to,a=i(t,["delay","to"]);if(u.arr(c)||u.fun(c))this.queue.push(o({},a,{delay:r,to:c}));else if(c){var l={};Object.entries(c).forEach((function(e){var t,n=e[0],i=e[1],c=o({to:(t={},t[n]=i,t),delay:p(r,n)},a),s=l[c.delay]&&l[c.delay].to;l[c.delay]=o({},l[c.delay],c,{to:o({},s,c.to)})})),this.queue=Object.values(l)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(a),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,i=e.to,c=void 0===i?{}:i;u.obj(r)&&(n.merged=o({},r,n.merged)),u.obj(c)&&(n.merged=o({},n.merged,c))}));var r=this.local=++this.guid,c=this.localQueue=this.queue;this.queue=[],c.forEach((function(t,o){var a=t.delay,l=i(t,["delay"]),s=function(t){o===c.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},d=u.arr(l.to)||u.fun(l.to);a?setTimeout((function(){r===n.guid&&(d?n.runAsync(l,s):n.diff(l).start(s))}),a):d?n.runAsync(l,s):n.diff(l).start(s)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,P.has(t)||P.add(t),M||(M=!0,S(x||D));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,P.has(t)&&P.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,i(e,["delay"])),c=this.local,a=Promise.resolve(void 0);if(u.arr(r.to))for(var l=function(e){var t=e,i=o({},r,h(r.to[t]));u.arr(i.config)&&(i.config=i.config[t]),a=a.then((function(){if(c===n.guid)return new Promise((function(e){return n.diff(i).start(e)}))}))},s=0;s=r.length)return"break";c=r[i++]}else{if((i=r.next()).done)return"break";c=i.value}var n=c.key,a=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(a),e.current.deleted=e.current.deleted.filter(a))},r=e.current.deleted,o=Array.isArray(r),i=0;for(r=o?r:r[Symbol.iterator]();;){var c;if("break"===n())break}e.current.forceUpdate()}var Q=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof v||(t=m.transform(t)),n.payload=t,n}return l(t,e),t}(k),ee={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},te="[-+]?\\d*\\.?\\d+",ne=te+"%";function re(){for(var e=arguments.length,t=new Array(e),n=0;n1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function be(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=fe(o,r,e+1/3),c=fe(o,r,e),a=fe(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*c)<<16|Math.round(255*a)<<8}function pe(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function he(e){return(parseFloat(e)%360+360)%360/360}function me(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ge(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function ve(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ue.exec(t))?parseInt(n[1]+"ff",16)>>>0:ee.hasOwnProperty(t)?ee[t]:(n=oe.exec(t))?(pe(n[1])<<24|pe(n[2])<<16|pe(n[3])<<8|255)>>>0:(n=ie.exec(t))?(pe(n[1])<<24|pe(n[2])<<16|pe(n[3])<<8|me(n[4]))>>>0:(n=le.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=de.exec(t))?parseInt(n[1],16)>>>0:(n=se.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ce.exec(t))?(255|be(he(n[1]),ge(n[2]),ge(n[3])))>>>0:(n=ae.exec(t))?(be(he(n[1]),ge(n[2]),ge(n[3]))|me(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var Oe=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ke=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,je=new RegExp("("+Object.keys(ee).join("|")+")","g"),ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},_e=["Webkit","Ms","Moz","O"];function Se(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}ye=Object.keys(ye).reduce((function(e,t){return _e.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),ye);var Ce={};L((function(e){return new Q(e)})),B("div"),E((function(e){var t=e.output.map((function(e){return e.replace(ke,ve)})).map((function(e){return e.replace(je,ve)})),n=t[0].match(Oe).map((function(){return[]}));t.forEach((function(e){e.match(Oe).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(Oe).map((function(t,r){return F(o({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(Oe,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,o){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+o+")"}))}})),y(ee),j((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,c=t.scrollLeft,a=i(t,["style","children","scrollTop","scrollLeft"]),l="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var s in void 0!==o&&(e.scrollTop=o),void 0!==c&&(e.scrollLeft=c),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(s)){var u=0===s.indexOf("--"),d=Se(s,n[s],u);"float"===s&&(s="cssFloat"),u?e.style.setProperty(s,d):e.style[s]=d}for(var f in a){var b=l?f:Ce[f]||(Ce[f]=f.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(b)&&e.setAttribute(b,a[f])}}),(function(e){return e}));var Ee,we,Ie=(Ee=function(e){return c.forwardRef((function(t,n){var r=d(),l=c.useRef(!0),s=c.useRef(null),f=c.useRef(null),b=c.useCallback((function(e){var t=s.current;s.current=new R(e,(function(){var e=!1;f.current&&(e=m.fn(f.current,s.current.getAnimatedValue())),f.current&&!1!==e||r()})),t&&t.detach()}),[]);c.useEffect((function(){return function(){l.current=!1,s.current&&s.current.detach()}}),[]),c.useImperativeHandle(n,(function(){return N(f,l,r)})),b(t);var p,h=s.current.getValue(),g=(h.scrollTop,h.scrollLeft,i(h,["scrollTop","scrollLeft"])),v=(p=e,!u.fun(p)||p.prototype instanceof a.Component?function(e){return f.current=function(e,t){return t&&(u.fun(t)?t(e):u.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return a.createElement(e,o({},g,{ref:v}))}))},void 0===(we=!1)&&(we=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=we?t[0].toLowerCase()+t.substring(1):t;return e[n]=Ee(n),e}),Ee)}),Be=Ie(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);t.apply=Ie,t.config={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},t.update=D,t.animated=Be,t.a=Be,t.interpolate=function(e,t,n){return e&&new U(e,t,n)},t.Globals=A,t.useSpring=function(e){var t=u.fun(e),n=W(1,t?e:[e]),r=n[0],o=n[1],i=n[2];return t?[r[0],o,i]:r},t.useTrail=function(e,t){var n=c.useRef(!1),r=u.fun(t),i=p(t),a=c.useRef(),l=W(e,(function(e,t){return 0===e&&(a.current=[]),a.current.push(t),o({},i,{config:p(i.config,e),attach:e>0&&function(){return a.current[e-1]}})})),s=l[0],d=l[1],f=l[2],b=c.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,c=a.current[r];return o({},e,{config:p(e.config||i.config,t),attach:c&&function(){return c}})}))}}),[e,i.reverse]);return c.useEffect((function(){n.current&&!r&&b(t)})),c.useEffect((function(){n.current=!0}),[]),r?[s,b,f]:s},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),a=Z(r),l=a.lazy,s=void 0!==l&&l,u=(a.unique,a.reset),f=void 0!==u&&u,b=(a.enter,a.leave,a.update,a.onDestroyed),h=(a.keys,a.items,a.onFrame),m=a.onRest,g=a.onStart,v=a.ref,O=i(a,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),k=d(),j=c.useRef(!1),y=c.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!j.current&&new Map,forceUpdate:k});return c.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(y.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(y.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(y.current.instances).map((function(e){return e[1]}))}}})),y.current=function(e,t){var n=e.first,r=e.prevProps,c=i(e,["first","prevProps"]),a=Z(t),l=a.items,s=a.keys,u=a.initial,d=a.from,f=a.enter,b=a.leave,h=a.update,m=a.trail,g=void 0===m?0:m,v=a.unique,O=a.config,k=a.order,j=void 0===k?[q,$,Y]:k,y=Z(r),_=y.keys,S=y.items,C=o({},c.current),E=[].concat(c.deleted),w=Object.keys(C),I=new Set(w),B=new Set(s),T=s.filter((function(e){return!I.has(e)})),x=c.transitions.filter((function(e){return!e.destroyed&&!B.has(e.originalKey)})).map((function(e){return e.originalKey})),N=s.filter((function(e){return I.has(e)})),L=-g;for(;j.length;){switch(j.shift()){case q:T.forEach((function(e,t){v&&E.find((function(t){return t.originalKey===e}))&&(E=E.filter((function(t){return t.originalKey!==e})));var r=s.indexOf(e),o=l[r],i=n&&void 0!==u?"initial":q;C[e]={slot:i,originalKey:e,key:v?String(e):G++,item:o,trail:L+=g,config:p(O,o,i),from:p(n&&void 0!==u?u||{}:d,o),to:p(f,o)}}));break;case $:x.forEach((function(e){var t=_.indexOf(e),n=S[t],r=$;E.unshift(o({},C[e],{slot:r,destroyed:!0,left:_[Math.max(0,t-1)],right:_[Math.min(_.length,t+1)],trail:L+=g,config:p(O,n,r),to:p(b,n)})),delete C[e]}));break;case Y:N.forEach((function(e){var t=s.indexOf(e),n=l[t],r=Y;C[e]=o({},C[e],{item:n,slot:r,trail:L+=g,config:p(O,n,r),to:p(h,n)})}))}}var A=s.map((function(e){return C[e]}));return E.forEach((function(e){var t,n=e.left,r=(e.right,i(e,["left","right"]));-1!==(t=A.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),A=[].concat(A.slice(0,t),[r],A.slice(t))})),o({},c,{changed:T.length||x.length||N.length,first:n&&0===T.length,transitions:A,current:C,deleted:E,prevProps:t})}(y.current,r),y.current.changed&&y.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,i=e.config,c=e.trail,a=e.key,l=e.item;y.current.instances.has(a)||y.current.instances.set(a,new K);var u=y.current.instances.get(a),d=o({},O,{to:r,from:n,config:i,ref:v,onRest:function(n){y.current.mounted&&(e.destroyed&&(v||s||J(y,a),b&&b(l)),!Array.from(y.current.instances).some((function(e){return!e[1].idle}))&&(v||s)&&y.current.deleted.length>0&&J(y),m&&m(l,t,n))},onStart:g&&function(){return g(l,t)},onFrame:h&&function(e){return h(l,t,e)},delay:c,reset:f&&t===q});u.update(d),y.current.paused||u.start()})),c.useEffect((function(){return y.current.mounted=j.current=!0,function(){y.current.mounted=j.current=!1,Array.from(y.current.instances).map((function(e){return e[1].destroy()})),y.current.instances.clear()}}),[]),y.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:y.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=c.useRef();c.useEffect((function(){u.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var i=e.current;if(i){var c=i.controllers;if(c.length){var a=n*t[r];c.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+a})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=W},67:function(e,t,n){"use strict";e.exports=n(111)},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9);function o(e){for(var t=1;t",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],b=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(123);function O(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),a=-1!==i&&i127?L+="x":L+=N[A];if(!L.match(b)){var M=T.slice(0,w),P=T.slice(w+1),D=N.match(p);D&&(M.push(D[1]),P.unshift(D[2])),P.length&&(O="/"+P.join(".")+O),this.hostname=M.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),B||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+F,this.href+=this.host,B&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==O[0]&&(O="/"+O))}if(!h[y])for(w=0,x=u.length;w0)&&n.host.split("@"))&&(n.auth=B.shift(),n.host=n.hostname=B.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=_.slice(-1)[0],E=(n.host||e.host||_.length>1)&&("."===C||".."===C)||""===C,w=0,I=_.length;I>=0;I--)"."===(C=_[I])?_.splice(I,1):".."===C?(_.splice(I,1),w++):w&&(_.splice(I,1),w--);if(!j&&!y)for(;w--;w)_.unshift("..");!j||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),E&&"/"!==_.join("/").substr(-1)&&_.push("");var B,T=""===_[0]||_[0]&&"/"===_[0].charAt(0);S&&(n.hostname=n.host=T?"":_.length?_.shift():"",(B=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=B.shift(),n.host=n.hostname=B.shift()));return(j=j||n.host&&_.length)&&!T&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},88:function(e,t,n){"use strict";var r=n(89);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,c){if(c!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},89:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},95:function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},96:function(e,t){!function(){e.exports=this.wp.wordcount}()}}); \ No newline at end of file diff --git a/wp-includes/js/dist/block-library.js b/wp-includes/js/dist/block-library.js index 1c9dd1e9b5..f30bd1e30d 100644 --- a/wp-includes/js/dist/block-library.js +++ b/wp-includes/js/dist/block-library.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockLibrary"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 341); +/******/ return __webpack_require__(__webpack_require__.s = 360); /******/ }) /************************************************************************/ /******/ ({ @@ -102,28 +102,71 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockLibrary"] = /***/ }), /***/ 10: -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ (function(module, exports) { -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} +(function() { module.exports = this["wp"]["blocks"]; }()); /***/ }), /***/ 11: +/***/ (function(module, exports, __webpack_require__) { + +var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/ +/* global define */ + +(function () { + 'use strict'; + + var hasOwn = {}.hasOwnProperty; + + function classNames () { + var classes = []; + + for (var i = 0; i < arguments.length; i++) { + var arg = arguments[i]; + if (!arg) continue; + + var argType = typeof arg; + + if (argType === 'string' || argType === 'number') { + classes.push(arg); + } else if (Array.isArray(arg) && arg.length) { + var inner = classNames.apply(null, arg); + if (inner) { + classes.push(inner); + } + } else if (argType === 'object') { + for (var key in arg) { + if (hasOwn.call(arg, key) && arg[key]) { + classes.push(key); + } + } + } + } + + return classes.join(' '); + } + + if ( true && module.exports) { + classNames.default = classNames; + module.exports = classNames; + } else if (true) { + // register as 'classnames', consistent with npm package name + !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () { + return classNames; + }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), + __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); + } else {} +}()); + + +/***/ }), + +/***/ 12: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -146,20 +189,7 @@ function _createClass(Constructor, protoProps, staticProps) { /***/ }), -/***/ 12: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; }); -function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -} - -/***/ }), - -/***/ 122: +/***/ 120: /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.3.2 by @mathias */ @@ -682,11 +712,11 @@ function _classCallCheck(instance, Constructor) { }(this)); -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(123)(module), __webpack_require__(64))) +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(121)(module), __webpack_require__(61))) /***/ }), -/***/ 123: +/***/ 121: /***/ (function(module, exports) { module.exports = function(module) { @@ -715,7 +745,7 @@ module.exports = function(module) { /***/ }), -/***/ 124: +/***/ 122: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -739,19 +769,19 @@ module.exports = { /***/ }), -/***/ 125: +/***/ 123: /***/ (function(module, exports, __webpack_require__) { "use strict"; -exports.decode = exports.parse = __webpack_require__(126); -exports.encode = exports.stringify = __webpack_require__(127); +exports.decode = exports.parse = __webpack_require__(124); +exports.encode = exports.stringify = __webpack_require__(125); /***/ }), -/***/ 126: +/***/ 124: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -843,7 +873,7 @@ var isArray = Array.isArray || function (xs) { /***/ }), -/***/ 127: +/***/ 125: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -939,10 +969,48 @@ var objectKeys = Object.keys || function (obj) { /***/ 13: /***/ (function(module, __webpack_exports__, __webpack_require__) { +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; }); +function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } +} + +/***/ }), + +/***/ 14: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; }); +function _extends() { + _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + + return target; + }; + + return _extends.apply(this, arguments); +} + +/***/ }), + +/***/ 15: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; }); /* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31); -/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5); +/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6); function _possibleConstructorReturn(self, call) { @@ -955,7 +1023,7 @@ function _possibleConstructorReturn(self, call) { /***/ }), -/***/ 14: +/***/ 16: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -969,7 +1037,7 @@ function _getPrototypeOf(o) { /***/ }), -/***/ 15: +/***/ 17: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1003,65 +1071,7 @@ function _inherits(subClass, superClass) { /***/ }), -/***/ 16: -/***/ (function(module, exports, __webpack_require__) { - -var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! - Copyright (c) 2017 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/ -/* global define */ - -(function () { - 'use strict'; - - var hasOwn = {}.hasOwnProperty; - - function classNames () { - var classes = []; - - for (var i = 0; i < arguments.length; i++) { - var arg = arguments[i]; - if (!arg) continue; - - var argType = typeof arg; - - if (argType === 'string' || argType === 'number') { - classes.push(arg); - } else if (Array.isArray(arg) && arg.length) { - var inner = classNames.apply(null, arg); - if (inner) { - classes.push(inner); - } - } else if (argType === 'object') { - for (var key in arg) { - if (hasOwn.call(arg, key) && arg[key]) { - classes.push(key); - } - } - } - } - - return classes.join(' '); - } - - if ( true && module.exports) { - classNames.default = classNames; - module.exports = classNames; - } else if (true) { - // register as 'classnames', consistent with npm package name - !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () { - return classNames; - }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), - __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); - } else {} -}()); - - -/***/ }), - -/***/ 17: +/***/ 18: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1077,7 +1087,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(30); +var iterableToArray = __webpack_require__(32); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -1094,31 +1104,6 @@ function _toConsumableArray(arr) { /***/ }), -/***/ 18: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; }); -function _extends() { - _extends = Object.assign || function (target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; - - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; - } - } - } - - return target; - }; - - return _extends.apply(this, arguments); -} - -/***/ }), - /***/ 19: /***/ (function(module, exports) { @@ -1137,28 +1122,12 @@ function _extends() { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; }); +/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40); function _objectWithoutProperties(source, excluded) { if (source == null) return {}; - var target = _objectWithoutPropertiesLoose(source, excluded); + var target = Object(_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { @@ -1177,14 +1146,7 @@ function _objectWithoutProperties(source, excluded) { /***/ }), -/***/ 22: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["richText"]; }()); - -/***/ }), - -/***/ 220: +/***/ 219: /***/ (function(module, exports, __webpack_require__) { /*! Fast Average Color | © 2019 Denis Seleznev | MIT License | https://github.com/hcodes/fast-average-color/ */ @@ -1639,16 +1601,20 @@ return FastAverageColor; /***/ }), -/***/ 23: +/***/ 22: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(38); +var arrayWithHoles = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { + if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { + return; + } + var _arr = []; var _n = true; var _d = false; @@ -1674,7 +1640,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(39); +var nonIterableRest = __webpack_require__(34); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -1690,21 +1656,21 @@ function _slicedToArray(arr, i) { /***/ 24: /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["editor"]; }()); +(function() { module.exports = this["wp"]["richText"]; }()); /***/ }), -/***/ 26: +/***/ 25: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["url"]; }()); /***/ }), -/***/ 29: +/***/ 26: /***/ (function(module, exports) { -(function() { module.exports = this["moment"]; }()); +(function() { module.exports = this["wp"]["editor"]; }()); /***/ }), @@ -1716,6 +1682,34 @@ function _slicedToArray(arr, i) { /***/ }), /***/ 30: +/***/ (function(module, exports) { + +(function() { module.exports = this["moment"]; }()); + +/***/ }), + +/***/ 31: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); +function _typeof(obj) { + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + _typeof = function _typeof(obj) { + return typeof obj; + }; + } else { + _typeof = function _typeof(obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + } + + return _typeof(obj); +} + +/***/ }), + +/***/ 32: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1726,37 +1720,43 @@ function _iterableToArray(iter) { /***/ }), -/***/ 31: +/***/ 33: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); -function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); } - -function _typeof(obj) { - if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") { - _typeof = function _typeof(obj) { - return _typeof2(obj); - }; - } else { - _typeof = function _typeof(obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj); - }; - } - - return _typeof(obj); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); +function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; } /***/ }), /***/ 34: -/***/ (function(module, exports) { +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["wp"]["apiFetch"]; }()); +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); +function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance"); +} /***/ }), -/***/ 341: +/***/ 35: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["deprecated"]; }()); + +/***/ }), + +/***/ 36: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["blob"]; }()); + +/***/ }), + +/***/ 360: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1781,11 +1781,11 @@ __webpack_require__.r(quote_namespaceObject); __webpack_require__.d(quote_namespaceObject, "metadata", function() { return quote_metadata; }); __webpack_require__.d(quote_namespaceObject, "name", function() { return quote_name; }); __webpack_require__.d(quote_namespaceObject, "settings", function() { return quote_settings; }); -var gallery_namespaceObject = {}; -__webpack_require__.r(gallery_namespaceObject); -__webpack_require__.d(gallery_namespaceObject, "metadata", function() { return gallery_metadata; }); -__webpack_require__.d(gallery_namespaceObject, "name", function() { return gallery_name; }); -__webpack_require__.d(gallery_namespaceObject, "settings", function() { return gallery_settings; }); +var build_module_gallery_namespaceObject = {}; +__webpack_require__.r(build_module_gallery_namespaceObject); +__webpack_require__.d(build_module_gallery_namespaceObject, "metadata", function() { return gallery_metadata; }); +__webpack_require__.d(build_module_gallery_namespaceObject, "name", function() { return gallery_name; }); +__webpack_require__.d(build_module_gallery_namespaceObject, "settings", function() { return gallery_settings; }); var archives_namespaceObject = {}; __webpack_require__.r(archives_namespaceObject); __webpack_require__.d(archives_namespaceObject, "name", function() { return archives_name; }); @@ -1849,6 +1849,20 @@ __webpack_require__.r(media_text_namespaceObject); __webpack_require__.d(media_text_namespaceObject, "metadata", function() { return media_text_metadata; }); __webpack_require__.d(media_text_namespaceObject, "name", function() { return media_text_name; }); __webpack_require__.d(media_text_namespaceObject, "settings", function() { return media_text_settings; }); +var navigation_icons_namespaceObject = {}; +__webpack_require__.r(navigation_icons_namespaceObject); +__webpack_require__.d(navigation_icons_namespaceObject, "justifyLeftIcon", function() { return justifyLeftIcon; }); +__webpack_require__.d(navigation_icons_namespaceObject, "justifyCenterIcon", function() { return justifyCenterIcon; }); +__webpack_require__.d(navigation_icons_namespaceObject, "justifyRightIcon", function() { return justifyRightIcon; }); +var navigation_namespaceObject = {}; +__webpack_require__.r(navigation_namespaceObject); +__webpack_require__.d(navigation_namespaceObject, "name", function() { return navigation_name; }); +__webpack_require__.d(navigation_namespaceObject, "settings", function() { return navigation_settings; }); +var navigation_link_namespaceObject = {}; +__webpack_require__.r(navigation_link_namespaceObject); +__webpack_require__.d(navigation_link_namespaceObject, "metadata", function() { return navigation_link_metadata; }); +__webpack_require__.d(navigation_link_namespaceObject, "name", function() { return navigation_link_name; }); +__webpack_require__.d(navigation_link_namespaceObject, "settings", function() { return navigation_link_settings; }); var latest_comments_namespaceObject = {}; __webpack_require__.r(latest_comments_namespaceObject); __webpack_require__.d(latest_comments_namespaceObject, "name", function() { return latest_comments_name; }); @@ -1908,7 +1922,7 @@ var separator_namespaceObject = {}; __webpack_require__.r(separator_namespaceObject); __webpack_require__.d(separator_namespaceObject, "metadata", function() { return separator_metadata; }); __webpack_require__.d(separator_namespaceObject, "name", function() { return separator_name; }); -__webpack_require__.d(separator_namespaceObject, "settings", function() { return separator_settings; }); +__webpack_require__.d(separator_namespaceObject, "settings", function() { return build_module_separator_settings; }); var shortcode_namespaceObject = {}; __webpack_require__.r(shortcode_namespaceObject); __webpack_require__.d(shortcode_namespaceObject, "name", function() { return shortcode_name; }); @@ -1954,22 +1968,22 @@ __webpack_require__.d(classic_namespaceObject, "name", function() { return class __webpack_require__.d(classic_namespaceObject, "settings", function() { return classic_settings; }); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(17); +var toConsumableArray = __webpack_require__(18); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(10); +var defineProperty = __webpack_require__(9); // EXTERNAL MODULE: external {"this":["wp","coreData"]} -var external_this_wp_coreData_ = __webpack_require__(88); +var external_this_wp_coreData_ = __webpack_require__(62); // EXTERNAL MODULE: external {"this":["wp","blockEditor"]} -var external_this_wp_blockEditor_ = __webpack_require__(6); +var external_this_wp_blockEditor_ = __webpack_require__(5); // EXTERNAL MODULE: external {"this":["wp","editor"]} -var external_this_wp_editor_ = __webpack_require__(24); +var external_this_wp_editor_ = __webpack_require__(26); // EXTERNAL MODULE: external {"this":["wp","blocks"]} -var external_this_wp_blocks_ = __webpack_require__(9); +var external_this_wp_blocks_ = __webpack_require__(10); // EXTERNAL MODULE: external {"this":["wp","i18n"]} var external_this_wp_i18n_ = __webpack_require__(1); @@ -1981,7 +1995,7 @@ var objectSpread = __webpack_require__(7); var external_this_wp_element_ = __webpack_require__(0); // EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(16); +var classnames = __webpack_require__(11); var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); // EXTERNAL MODULE: external {"this":"lodash"} @@ -2179,26 +2193,8 @@ var deprecated = [{ }]; /* harmony default export */ var paragraph_deprecated = (deprecated); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(18); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(12); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(11); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(13); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(14); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js -var assertThisInitialized = __webpack_require__(5); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(15); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(22); // EXTERNAL MODULE: external {"this":["wp","components"]} var external_this_wp_components_ = __webpack_require__(3); @@ -2216,11 +2212,6 @@ var external_this_wp_data_ = __webpack_require__(4); - - - - - /** * External dependencies */ @@ -2236,185 +2227,156 @@ var external_this_wp_data_ = __webpack_require__(4); +/** + * Browser dependencies + */ + var _window = window, getComputedStyle = _window.getComputedStyle; +var querySelector = window.document.querySelector.bind(document); var edit_name = 'core/paragraph'; -var applyFallbackStyles = Object(external_this_wp_components_["withFallbackStyles"])(function (node, ownProps) { - var _ownProps$attributes = ownProps.attributes, - textColor = _ownProps$attributes.textColor, - backgroundColor = _ownProps$attributes.backgroundColor, - fontSize = _ownProps$attributes.fontSize, - customFontSize = _ownProps$attributes.customFontSize; - var editableNode = node.querySelector('[contenteditable="true"]'); //verify if editableNode is available, before using getComputedStyle. +var PARAGRAPH_DROP_CAP_SELECTOR = 'p.has-drop-cap'; - var computedStyles = editableNode ? getComputedStyle(editableNode) : null; - return { - fallbackBackgroundColor: backgroundColor || !computedStyles ? undefined : computedStyles.backgroundColor, - fallbackTextColor: textColor || !computedStyles ? undefined : computedStyles.color, - fallbackFontSize: fontSize || customFontSize || !computedStyles ? undefined : parseInt(computedStyles.fontSize) || undefined - }; -}); +function ParagraphRTLToolbar(_ref) { + var direction = _ref.direction, + setDirection = _ref.setDirection; + var isRTL = Object(external_this_wp_data_["useSelect"])(function (select) { + return !!select('core/block-editor').getSettings().isRTL; + }); + return isRTL && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], { + controls: [{ + icon: 'editor-ltr', + title: Object(external_this_wp_i18n_["_x"])('Left to right', 'editor button'), + isActive: direction === 'ltr', + onClick: function onClick() { + setDirection(direction === 'ltr' ? undefined : 'ltr'); + } + }] + }); +} -var edit_ParagraphBlock = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(ParagraphBlock, _Component); +function useDropCapMinimumHeight(isDropCap, deps) { + var _useState = Object(external_this_wp_element_["useState"])(), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + minimumHeight = _useState2[0], + setMinimumHeight = _useState2[1]; - function ParagraphBlock() { - var _this; + Object(external_this_wp_element_["useEffect"])(function () { + var element = querySelector(PARAGRAPH_DROP_CAP_SELECTOR); - Object(classCallCheck["a" /* default */])(this, ParagraphBlock); + if (isDropCap && element) { + setMinimumHeight(getComputedStyle(element, 'first-letter').height); + } else if (minimumHeight) { + setMinimumHeight(undefined); + } + }, [isDropCap, minimumHeight, setMinimumHeight].concat(Object(toConsumableArray["a" /* default */])(deps))); + return minimumHeight; +} - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ParagraphBlock).apply(this, arguments)); - _this.toggleDropCap = _this.toggleDropCap.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; - } +function ParagraphBlock(_ref2) { + var _classnames; - Object(createClass["a" /* default */])(ParagraphBlock, [{ - key: "toggleDropCap", - value: function toggleDropCap() { - var _this$props = this.props, - attributes = _this$props.attributes, - setAttributes = _this$props.setAttributes; - setAttributes({ - dropCap: !attributes.dropCap + var attributes = _ref2.attributes, + className = _ref2.className, + fontSize = _ref2.fontSize, + mergeBlocks = _ref2.mergeBlocks, + onReplace = _ref2.onReplace, + setAttributes = _ref2.setAttributes, + setFontSize = _ref2.setFontSize; + var align = attributes.align, + content = attributes.content, + dropCap = attributes.dropCap, + placeholder = attributes.placeholder, + direction = attributes.direction; + var dropCapMinimumHeight = useDropCapMinimumHeight(dropCap, [fontSize.size]); + + var _experimentalUseColo = Object(external_this_wp_blockEditor_["__experimentalUseColors"])([{ + name: 'textColor', + property: 'color' + }, { + name: 'backgroundColor', + className: 'has-background' + }], { + contrastCheckers: [{ + backgroundColor: true, + textColor: true, + fontSize: fontSize.size + }] + }, [fontSize.size]), + TextColor = _experimentalUseColo.TextColor, + BackgroundColor = _experimentalUseColo.BackgroundColor, + InspectorControlsColorPanel = _experimentalUseColo.InspectorControlsColorPanel, + ColorDetector = _experimentalUseColo.ColorDetector; + + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["AlignmentToolbar"], { + value: align, + onChange: function onChange(newAlign) { + return setAttributes({ + align: newAlign }); } - }, { - key: "getDropCapHelp", - value: function getDropCapHelp(checked) { - return checked ? Object(external_this_wp_i18n_["__"])('Showing large initial letter.') : Object(external_this_wp_i18n_["__"])('Toggle to show a large initial letter.'); + }), Object(external_this_wp_element_["createElement"])(ParagraphRTLToolbar, { + direction: direction, + setDirection: function setDirection(newDirection) { + return setAttributes({ + direction: newDirection + }); } - }, { - key: "render", - value: function render() { - var _classnames; + })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + title: Object(external_this_wp_i18n_["__"])('Text Settings'), + className: "blocks-font-size" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["FontSizePicker"], { + value: fontSize.size, + onChange: setFontSize + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { + label: Object(external_this_wp_i18n_["__"])('Drop Cap'), + checked: !!dropCap, + onChange: function onChange() { + return setAttributes({ + dropCap: !dropCap + }); + }, + help: dropCap ? Object(external_this_wp_i18n_["__"])('Showing large initial letter.') : Object(external_this_wp_i18n_["__"])('Toggle to show a large initial letter.') + }))), InspectorControlsColorPanel, Object(external_this_wp_element_["createElement"])(BackgroundColor, null, Object(external_this_wp_element_["createElement"])(TextColor, null, Object(external_this_wp_element_["createElement"])(ColorDetector, { + querySelector: "[contenteditable=\"true\"]" + }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { + identifier: "content", + tagName: "p", + className: classnames_default()('wp-block-paragraph', className, (_classnames = { + 'has-drop-cap': dropCap + }, Object(defineProperty["a" /* default */])(_classnames, "has-text-align-".concat(align), align), Object(defineProperty["a" /* default */])(_classnames, fontSize.class, fontSize.class), _classnames)), + style: { + fontSize: fontSize.size ? fontSize.size + 'px' : undefined, + direction: direction, + minHeight: dropCapMinimumHeight + }, + value: content, + onChange: function onChange(newContent) { + return setAttributes({ + content: newContent + }); + }, + onSplit: function onSplit(value) { + if (!value) { + return Object(external_this_wp_blocks_["createBlock"])(edit_name); + } - var _this$props2 = this.props, - attributes = _this$props2.attributes, - setAttributes = _this$props2.setAttributes, - mergeBlocks = _this$props2.mergeBlocks, - onReplace = _this$props2.onReplace, - className = _this$props2.className, - backgroundColor = _this$props2.backgroundColor, - textColor = _this$props2.textColor, - setBackgroundColor = _this$props2.setBackgroundColor, - setTextColor = _this$props2.setTextColor, - fallbackBackgroundColor = _this$props2.fallbackBackgroundColor, - fallbackTextColor = _this$props2.fallbackTextColor, - fallbackFontSize = _this$props2.fallbackFontSize, - fontSize = _this$props2.fontSize, - setFontSize = _this$props2.setFontSize, - isRTL = _this$props2.isRTL; - var align = attributes.align, - content = attributes.content, - dropCap = attributes.dropCap, - placeholder = attributes.placeholder, - direction = attributes.direction; - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["AlignmentToolbar"], { - value: align, - onChange: function onChange(nextAlign) { - setAttributes({ - align: nextAlign - }); - } - }), isRTL && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], { - controls: [{ - icon: 'editor-ltr', - title: Object(external_this_wp_i18n_["_x"])('Left to right', 'editor button'), - isActive: direction === 'ltr', - onClick: function onClick() { - var nextDirection = direction === 'ltr' ? undefined : 'ltr'; - setAttributes({ - direction: nextDirection - }); - } - }] - })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { - title: Object(external_this_wp_i18n_["__"])('Text Settings'), - className: "blocks-font-size" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["FontSizePicker"], { - fallbackFontSize: fallbackFontSize, - value: fontSize.size, - onChange: setFontSize - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { - label: Object(external_this_wp_i18n_["__"])('Drop Cap'), - checked: !!dropCap, - onChange: this.toggleDropCap, - help: this.getDropCapHelp - })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], { - title: Object(external_this_wp_i18n_["__"])('Color Settings'), - initialOpen: false, - colorSettings: [{ - value: backgroundColor.color, - onChange: setBackgroundColor, - label: Object(external_this_wp_i18n_["__"])('Background Color') - }, { - value: textColor.color, - onChange: setTextColor, - label: Object(external_this_wp_i18n_["__"])('Text Color') - }] - }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ContrastChecker"], Object(esm_extends["a" /* default */])({ - textColor: textColor.color, - backgroundColor: backgroundColor.color, - fallbackTextColor: fallbackTextColor, - fallbackBackgroundColor: fallbackBackgroundColor - }, { - fontSize: fontSize.size - })))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { - identifier: "content", - tagName: "p", - className: classnames_default()('wp-block-paragraph', className, (_classnames = { - 'has-text-color': textColor.color, - 'has-background': backgroundColor.color, - 'has-drop-cap': dropCap - }, Object(defineProperty["a" /* default */])(_classnames, "has-text-align-".concat(align), align), Object(defineProperty["a" /* default */])(_classnames, backgroundColor.class, backgroundColor.class), Object(defineProperty["a" /* default */])(_classnames, textColor.class, textColor.class), Object(defineProperty["a" /* default */])(_classnames, fontSize.class, fontSize.class), _classnames)), - style: { - backgroundColor: backgroundColor.color, - color: textColor.color, - fontSize: fontSize.size ? fontSize.size + 'px' : undefined, - direction: direction - }, - value: content, - onChange: function onChange(nextContent) { - setAttributes({ - content: nextContent - }); - }, - onSplit: function onSplit(value) { - if (!value) { - return Object(external_this_wp_blocks_["createBlock"])(edit_name); - } - - return Object(external_this_wp_blocks_["createBlock"])(edit_name, Object(objectSpread["a" /* default */])({}, attributes, { - content: value - })); - }, - onMerge: mergeBlocks, - onReplace: onReplace, - onRemove: onReplace ? function () { - return onReplace([]); - } : undefined, - "aria-label": content ? Object(external_this_wp_i18n_["__"])('Paragraph block') : Object(external_this_wp_i18n_["__"])('Empty block; start writing or type forward slash to choose a block'), - placeholder: placeholder || Object(external_this_wp_i18n_["__"])('Start writing or type / to choose a block'), - __unstableEmbedURLOnPaste: true + return Object(external_this_wp_blocks_["createBlock"])(edit_name, Object(objectSpread["a" /* default */])({}, attributes, { + content: value })); - } - }]); + }, + onMerge: mergeBlocks, + onReplace: onReplace, + onRemove: onReplace ? function () { + return onReplace([]); + } : undefined, + "aria-label": content ? Object(external_this_wp_i18n_["__"])('Paragraph block') : Object(external_this_wp_i18n_["__"])('Empty block; start writing or type forward slash to choose a block'), + placeholder: placeholder || Object(external_this_wp_i18n_["__"])('Start writing or type / to choose a block'), + __unstableEmbedURLOnPaste: true + })))); +} - return ParagraphBlock; -}(external_this_wp_element_["Component"]); - -var ParagraphEdit = Object(external_this_wp_compose_["compose"])([Object(external_this_wp_blockEditor_["withColors"])('backgroundColor', { - textColor: 'color' -}), Object(external_this_wp_blockEditor_["withFontSizes"])('fontSize'), applyFallbackStyles, Object(external_this_wp_data_["withSelect"])(function (select) { - var _select = select('core/block-editor'), - getSettings = _select.getSettings; - - return { - isRTL: getSettings().isRTL - }; -})])(edit_ParagraphBlock); +var ParagraphEdit = Object(external_this_wp_compose_["compose"])([Object(external_this_wp_blockEditor_["withFontSizes"])('fontSize')])(ParagraphBlock); /* harmony default export */ var paragraph_edit = (ParagraphEdit); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/icon.js @@ -2595,6 +2557,9 @@ var paragraph_settings = { save: save_save }; +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(14); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/deprecated.js @@ -2772,23 +2737,35 @@ var deprecated_deprecated = [{ }]; /* harmony default export */ var image_deprecated = (deprecated_deprecated); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(23); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js +var classCallCheck = __webpack_require__(13); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js +var createClass = __webpack_require__(12); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +var possibleConstructorReturn = __webpack_require__(15); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +var getPrototypeOf = __webpack_require__(16); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +var assertThisInitialized = __webpack_require__(6); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules +var inherits = __webpack_require__(17); // EXTERNAL MODULE: external {"this":["wp","blob"]} -var external_this_wp_blob_ = __webpack_require__(35); +var external_this_wp_blob_ = __webpack_require__(36); // EXTERNAL MODULE: external {"this":["wp","keycodes"]} var external_this_wp_keycodes_ = __webpack_require__(19); // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(26); +var external_this_wp_url_ = __webpack_require__(25); // EXTERNAL MODULE: external {"this":["wp","viewport"]} -var external_this_wp_viewport_ = __webpack_require__(42); - -// EXTERNAL MODULE: external {"this":["wp","a11y"]} -var external_this_wp_a11y_ = __webpack_require__(45); +var external_this_wp_viewport_ = __webpack_require__(50); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/icons.js @@ -2900,7 +2877,7 @@ var embedRedditIcon = Object(external_this_wp_element_["createElement"])(externa }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { d: "M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z" })); -var embedTumbrIcon = { +var embedTumblrIcon = { foreground: '#35465c', src: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { viewBox: "0 0 24 24" @@ -3213,7 +3190,7 @@ var others = [{ name: 'core-embed/tumblr', settings: { title: 'Tumblr', - icon: embedTumbrIcon, + icon: embedTumblrIcon, description: Object(external_this_wp_i18n_["__"])('Embed a Tumblr post.') }, patterns: [/^https?:\/\/(www\.)?tumblr\.com\/.+/i] @@ -3281,7 +3258,7 @@ var dedupe = __webpack_require__(69); var dedupe_default = /*#__PURE__*/__webpack_require__.n(dedupe); // EXTERNAL MODULE: ./node_modules/memize/index.js -var memize = __webpack_require__(44); +var memize = __webpack_require__(42); var memize_default = /*#__PURE__*/__webpack_require__.n(memize); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/util.js @@ -3531,8 +3508,48 @@ var getAttributesFromPreview = memize_default()(function (preview, title, curren }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { d: "m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z" }))); +var editImageIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + width: 20, + height: 20, + viewBox: "0 0 20 20" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { + x: 11, + y: 3, + width: 7, + height: 5, + rx: 1 +}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { + x: 2, + y: 12, + width: 7, + height: 5, + rx: 1 +}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M13,12h1a3,3,0,0,1-3,3v2a5,5,0,0,0,5-5h1L15,9Z" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M4,8H3l2,3L7,8H6A3,3,0,0,1,9,5V3A5,5,0,0,0,4,8Z" +})); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/constants.js +var MIN_SIZE = 20; +var LINK_DESTINATION_NONE = 'none'; +var LINK_DESTINATION_MEDIA = 'media'; +var LINK_DESTINATION_ATTACHMENT = 'attachment'; +var LINK_DESTINATION_CUSTOM = 'custom'; +var NEW_TAB_REL = ['noreferrer', 'noopener']; +var ALLOWED_MEDIA_TYPES = ['image']; +var DEFAULT_SIZE_SLUG = 'large'; // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/utils.js +/** + * External dependencies + */ + +/** + * Internal dependencies + */ + + function calculatePreferedImageSize(image, container) { var maxWidth = container.clientWidth; var exceedMaxWidth = image.width > maxWidth; @@ -3544,6 +3561,54 @@ function calculatePreferedImageSize(image, container) { height: height }; } +function removeNewTabRel(currentRel) { + var newRel = currentRel; + + if (currentRel !== undefined && !Object(external_this_lodash_["isEmpty"])(newRel)) { + if (!Object(external_this_lodash_["isEmpty"])(newRel)) { + Object(external_this_lodash_["each"])(NEW_TAB_REL, function (relVal) { + var regExp = new RegExp('\\b' + relVal + '\\b', 'gi'); + newRel = newRel.replace(regExp, ''); + }); // Only trim if NEW_TAB_REL values was replaced. + + if (newRel !== currentRel) { + newRel = newRel.trim(); + } + + if (Object(external_this_lodash_["isEmpty"])(newRel)) { + newRel = undefined; + } + } + } + + return newRel; +} +/** + * Helper to get the link target settings to be stored. + * + * @param {boolean} value The new link target value. + * @param {Object} attributes Block attributes. + * @param {Object} attributes.rel Image block's rel attribute. + * + * @return {Object} Updated link target settings. + */ + +function getUpdatedLinkTargetSettings(value, _ref) { + var rel = _ref.rel; + var linkTarget = value ? '_blank' : undefined; + var updatedRel; + + if (!linkTarget && !rel) { + updatedRel = undefined; + } else { + updatedRel = removeNewTabRel(rel); + } + + return { + linkTarget: linkTarget, + rel: updatedRel + }; +} // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/image-size.js @@ -3696,7 +3761,6 @@ function (_Component) { - /** * Internal dependencies */ @@ -3704,18 +3768,12 @@ function (_Component) { + /** * Module constants */ -var MIN_SIZE = 20; -var LINK_DESTINATION_NONE = 'none'; -var LINK_DESTINATION_MEDIA = 'media'; -var LINK_DESTINATION_ATTACHMENT = 'attachment'; -var LINK_DESTINATION_CUSTOM = 'custom'; -var NEW_TAB_REL = 'noreferrer noopener'; -var ALLOWED_MEDIA_TYPES = ['image']; -var DEFAULT_SIZE_SLUG = 'large'; + var edit_pickRelevantMediaFiles = function pickRelevantMediaFiles(image) { var imageProps = Object(external_this_lodash_["pick"])(image, ['alt', 'id', 'link', 'caption']); imageProps.url = Object(external_this_lodash_["get"])(image, ['sizes', 'large', 'url']) || Object(external_this_lodash_["get"])(image, ['media_details', 'sizes', 'large', 'source_url']) || image.url; @@ -3885,11 +3943,9 @@ var edit_ImageEdit = function (_Component) { Object(inherits["a" /* default */])(ImageEdit, _Component); - function ImageEdit(_ref2) { + function ImageEdit() { var _this; - var attributes = _ref2.attributes; - Object(classCallCheck["a" /* default */])(this, ImageEdit); _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ImageEdit).apply(this, arguments)); @@ -3907,14 +3963,13 @@ function (_Component) { _this.onSetLinkClass = _this.onSetLinkClass.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onSetLinkRel = _this.onSetLinkRel.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onSetNewTab = _this.onSetNewTab.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.onSetTitle = _this.onSetTitle.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.getFilename = _this.getFilename.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.toggleIsEditing = _this.toggleIsEditing.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onUploadError = _this.onUploadError.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onImageError = _this.onImageError.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.getLinkDestinations = _this.getLinkDestinations.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.state = { - captionFocused: false, - isEditing: !attributes.url + captionFocused: false }; return _this; } @@ -3938,19 +3993,15 @@ function (_Component) { if (file) { mediaUpload({ filesList: [file], - onFileChange: function onFileChange(_ref3) { - var _ref4 = Object(slicedToArray["a" /* default */])(_ref3, 1), - image = _ref4[0]; + onFileChange: function onFileChange(_ref2) { + var _ref3 = Object(slicedToArray["a" /* default */])(_ref2, 1), + image = _ref3[0]; _this2.onSelectImage(image); }, allowedTypes: ALLOWED_MEDIA_TYPES, onError: function onError(message) { noticeOperations.createErrorNotice(message); - - _this2.setState({ - isEditing: true - }); } }); } @@ -3984,9 +4035,6 @@ function (_Component) { var noticeOperations = this.props.noticeOperations; noticeOperations.removeAllNotices(); noticeOperations.createErrorNotice(message); - this.setState({ - isEditing: true - }); } }, { key: "onSelectImage", @@ -3996,19 +4044,18 @@ function (_Component) { url: undefined, alt: undefined, id: undefined, + title: undefined, caption: undefined }); return; } - this.setState({ - isEditing: false - }); var _this$props$attribute3 = this.props.attributes, id = _this$props$attribute3.id, url = _this$props$attribute3.url, alt = _this$props$attribute3.alt, - caption = _this$props$attribute3.caption; + caption = _this$props$attribute3.caption, + linkDestination = _this$props$attribute3.linkDestination; var mediaAttributes = edit_pickRelevantMediaFiles(media); // If the current image is temporary but an alt or caption text was meanwhile written by the user, // make sure the text is not overwritten. @@ -4035,6 +4082,18 @@ function (_Component) { additionalAttributes = { url: url }; + } // Check if the image is linked to it's media. + + + if (linkDestination === LINK_DESTINATION_MEDIA) { + // Update the media link. + mediaAttributes.href = media.url; + } // Check if the image is linked to the attachment page. + + + if (linkDestination === LINK_DESTINATION_ATTACHMENT) { + // Update the media link. + mediaAttributes.href = media.link; } this.props.setAttributes(Object(objectSpread["a" /* default */])({}, mediaAttributes, additionalAttributes)); @@ -4051,10 +4110,6 @@ function (_Component) { sizeSlug: DEFAULT_SIZE_SLUG }); } - - this.setState({ - isEditing: false - }); } }, { key: "onImageError", @@ -4100,6 +4155,14 @@ function (_Component) { href: value }); } + }, { + key: "onSetTitle", + value: function onSetTitle(value) { + // This is the HTML title attribute, separate from the media object title + this.props.setAttributes({ + title: value + }); + } }, { key: "onSetLinkClass", value: function onSetLinkClass(value) { @@ -4117,20 +4180,8 @@ function (_Component) { }, { key: "onSetNewTab", value: function onSetNewTab(value) { - var rel = this.props.attributes.rel; - var linkTarget = value ? '_blank' : undefined; - var updatedRel = rel; - - if (linkTarget && !rel) { - updatedRel = NEW_TAB_REL; - } else if (!linkTarget && rel === NEW_TAB_REL) { - updatedRel = undefined; - } - - this.props.setAttributes({ - linkTarget: linkTarget, - rel: updatedRel - }); + var updatedLinkTarget = getUpdatedLinkTargetSettings(value, this.props.attributes); + this.props.setAttributes(updatedLinkTarget); } }, { key: "onFocusCaption", @@ -4245,26 +4296,13 @@ function (_Component) { })) }]; } - }, { - key: "toggleIsEditing", - value: function toggleIsEditing() { - this.setState({ - isEditing: !this.state.isEditing - }); - - if (this.state.isEditing) { - Object(external_this_wp_a11y_["speak"])(Object(external_this_wp_i18n_["__"])('You are now viewing the image in the image block.')); - } else { - Object(external_this_wp_a11y_["speak"])(Object(external_this_wp_i18n_["__"])('You are now editing the image in the image block.')); - } - } }, { key: "getImageSizeOptions", value: function getImageSizeOptions() { var imageSizes = this.props.imageSizes; - return Object(external_this_lodash_["map"])(imageSizes, function (_ref5) { - var name = _ref5.name, - slug = _ref5.slug; + return Object(external_this_lodash_["map"])(imageSizes, function (_ref4) { + var name = _ref4.name, + slug = _ref4.slug; return { value: slug, label: name @@ -4276,7 +4314,6 @@ function (_Component) { value: function render() { var _this4 = this; - var isEditing = this.state.isEditing; var _this$props2 = this.props, attributes = _this$props2.attributes, setAttributes = _this$props2.setAttributes, @@ -4297,44 +4334,24 @@ function (_Component) { rel = attributes.rel, linkClass = attributes.linkClass, linkDestination = attributes.linkDestination, + title = attributes.title, width = attributes.width, height = attributes.height, linkTarget = attributes.linkTarget, sizeSlug = attributes.sizeSlug; + var cleanRel = removeNewTabRel(rel); var isExternal = edit_isExternalImage(id, url); - var editImageIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - width: 20, - height: 20, - viewBox: "0 0 20 20" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: 11, - y: 3, - width: 7, - height: 5, - rx: 1 - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: 2, - y: 12, - width: 7, - height: 5, - rx: 1 - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M13,12h1a3,3,0,0,1-3,3v2a5,5,0,0,0,5-5h1L15,9Z" - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M4,8H3l2,3L7,8H6A3,3,0,0,1,9,5V3A5,5,0,0,0,4,8Z" - })); var controls = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockAlignmentToolbar"], { value: align, onChange: this.updateAlignment - }), url && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - className: classnames_default()('components-icon-button components-toolbar__control', { - 'is-active': this.state.isEditing - }), - label: Object(external_this_wp_i18n_["__"])('Edit image'), - "aria-pressed": this.state.isEditing, - onClick: this.toggleIsEditing, - icon: editImageIcon - })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(edit_ImageURLInputUI, { + }), url && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaReplaceFlow"], { + mediaURL: url, + allowedTypes: ALLOWED_MEDIA_TYPES, + accept: "image/*", + onSelect: this.onSelectImage, + onSelectURL: this.onSelectURL, + onError: this.onUploadError + }), url && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(edit_ImageURLInputUI, { url: href || '', onChangeUrl: this.onSetHref, mediaLinks: this.getLinkDestinations(), @@ -4343,20 +4360,20 @@ function (_Component) { label: Object(external_this_wp_i18n_["__"])('Open in New Tab'), onChange: this.onSetNewTab, checked: linkTarget === '_blank' + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { + label: Object(external_this_wp_i18n_["__"])('Link Rel'), + value: cleanRel || '', + onChange: this.onSetLinkRel, + onKeyPress: stopPropagation, + onKeyDown: edit_stopPropagationRelevantKeys }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { label: Object(external_this_wp_i18n_["__"])('Link CSS Class'), value: linkClass || '', onKeyPress: stopPropagation, onKeyDown: edit_stopPropagationRelevantKeys, onChange: this.onSetLinkClass - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { - label: Object(external_this_wp_i18n_["__"])('Link Rel'), - value: rel || '', - onChange: this.onSetLinkRel, - onKeyPress: stopPropagation, - onKeyDown: edit_stopPropagationRelevantKeys })) - })))); + }))); var src = isExternal ? url : undefined; var labels = { title: !url ? Object(external_this_wp_i18n_["__"])('Image') : Object(external_this_wp_i18n_["__"])('Edit image'), @@ -4376,8 +4393,6 @@ function (_Component) { labels: labels, onSelect: this.onSelectImage, onSelectURL: this.onSelectURL, - onDoubleClick: this.toggleIsEditing, - onCancel: !!url && this.toggleIsEditing, notices: noticeUI, onError: this.onUploadError, accept: "image/*", @@ -4387,10 +4402,10 @@ function (_Component) { src: src }, mediaPreview: mediaPreview, - dropZoneUIOnly: !isEditing && url + disableMediaButtons: url }); - if (isEditing || !url) { + if (!url) { return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, controls, mediaPlaceholder); } @@ -4403,7 +4418,7 @@ function (_Component) { var imageSizeOptions = this.getImageSizeOptions(); var getInspectorControls = function getInspectorControls(imageWidth, imageHeight) { - return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { title: Object(external_this_wp_i18n_["__"])('Image Settings') }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextareaControl"], { label: Object(external_this_wp_i18n_["__"])('Alt Text (Alternative Text)'), @@ -4455,7 +4470,14 @@ function (_Component) { })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { isSmall: true, onClick: _this4.updateDimensions() - }, Object(external_this_wp_i18n_["__"])('Reset')))))); + }, Object(external_this_wp_i18n_["__"])('Reset')))))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorAdvancedControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { + label: Object(external_this_wp_i18n_["__"])('Title Attribute'), + value: title || '', + onChange: _this4.onSetTitle, + help: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_i18n_["__"])('Describe the role of this image on the page.'), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], { + href: "https://www.w3.org/TR/html52/dom.html#the-title-attribute" + }, Object(external_this_wp_i18n_["__"])('(Note: many devices and browsers do not display this text.)'))) + }))); }; // Disable reason: Each block can be selected by clicking on it /* eslint-disable jsx-a11y/click-events-have-key-events */ @@ -4491,7 +4513,6 @@ function (_Component) { Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("img", { src: url, alt: defaultedAlt, - onDoubleClick: _this4.toggleIsEditing, onClick: _this4.onImageClick, onError: function onError() { return _this4.onImageError(url); @@ -4618,7 +4639,7 @@ function (_Component) { isSelected = props.isSelected; var _getSettings = getSettings(), - __experimentalMediaUpload = _getSettings.__experimentalMediaUpload, + mediaUpload = _getSettings.mediaUpload, imageSizes = _getSettings.imageSizes, isRTL = _getSettings.isRTL, maxWidth = _getSettings.maxWidth; @@ -4628,7 +4649,7 @@ function (_Component) { maxWidth: maxWidth, isRTL: isRTL, imageSizes: imageSizes, - mediaUpload: __experimentalMediaUpload + mediaUpload: mediaUpload }; }), Object(external_this_wp_viewport_["withViewportMatch"])({ isLargeViewport: 'medium' @@ -4642,6 +4663,7 @@ function (_Component) { * External dependencies */ + /** * WordPress dependencies */ @@ -4662,20 +4684,23 @@ function image_save_save(_ref) { height = attributes.height, id = attributes.id, linkTarget = attributes.linkTarget, - sizeSlug = attributes.sizeSlug; + sizeSlug = attributes.sizeSlug, + title = attributes.title; + var newRel = Object(external_this_lodash_["isEmpty"])(rel) ? undefined : rel; var classes = classnames_default()((_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, "align".concat(align), align), Object(defineProperty["a" /* default */])(_classnames, "size-".concat(sizeSlug), sizeSlug), Object(defineProperty["a" /* default */])(_classnames, 'is-resized', width || height), _classnames)); var image = Object(external_this_wp_element_["createElement"])("img", { src: url, alt: alt, className: id ? "wp-image-".concat(id) : null, width: width, - height: height + height: height, + title: title }); var figure = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, href ? Object(external_this_wp_element_["createElement"])("a", { className: linkClass, href: href, target: linkTarget, - rel: rel + rel: newRel }, image) : image, !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, { tagName: "figcaption", value: caption @@ -4734,7 +4759,7 @@ function getFirstAnchorAttributeFormHTML(html, attributeName) { var imageSchema = { img: { - attributes: ['src', 'alt'], + attributes: ['src', 'alt', 'title'], classes: ['alignleft', 'aligncenter', 'alignright', 'alignnone', /^wp-image-\d+$/] } }; @@ -4895,6 +4920,12 @@ var image_metadata = { source: "html", selector: "figcaption" }, + title: { + type: "string", + source: "attribute", + selector: "img", + attribute: "title" + }, href: { type: "string", source: "attribute", @@ -5078,7 +5109,8 @@ var heading_deprecated_deprecated = [{ */ function HeadingLevelIcon(_ref) { - var level = _ref.level; + var level = _ref.level, + __unstableActive = _ref.__unstableActive; var levelToPath = { 1: 'M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z', 2: 'M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z', @@ -5096,7 +5128,8 @@ function HeadingLevelIcon(_ref) { width: "20", height: "20", viewBox: "0 0 20 20", - xmlns: "http://www.w3.org/2000/svg" + xmlns: "http://www.w3.org/2000/svg", + __unstableActive: __unstableActive }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { d: levelToPath[level] })); @@ -5141,13 +5174,15 @@ function (_Component) { Object(createClass["a" /* default */])(HeadingToolbar, [{ key: "createLevelControl", value: function createLevelControl(targetLevel, selectedLevel, onChange) { + var isActive = targetLevel === selectedLevel; return { icon: Object(external_this_wp_element_["createElement"])(HeadingLevelIcon, { - level: targetLevel + level: targetLevel, + __unstableActive: isActive }), // translators: %s: heading level e.g: "1", "2", "3" title: Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Heading %d'), targetLevel), - isActive: targetLevel === selectedLevel, + isActive: isActive, onClick: function onClick() { return onChange(targetLevel); } @@ -5165,7 +5200,7 @@ function (_Component) { maxLevel = _this$props.maxLevel, selectedLevel = _this$props.selectedLevel, onChange = _this$props.onChange; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], { isCollapsed: isCollapsed, icon: Object(external_this_wp_element_["createElement"])(HeadingLevelIcon, { level: selectedLevel @@ -5205,31 +5240,26 @@ function (_Component) { +function HeadingEdit(_ref) { + var attributes = _ref.attributes, + setAttributes = _ref.setAttributes, + mergeBlocks = _ref.mergeBlocks, + onReplace = _ref.onReplace, + className = _ref.className; -var HeadingColorUI = Object(external_this_wp_element_["memo"])(function (_ref) { - var textColorValue = _ref.textColorValue, - setTextColor = _ref.setTextColor; - return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], { - title: Object(external_this_wp_i18n_["__"])('Color Settings'), - initialOpen: false, - colorSettings: [{ - value: textColorValue, - onChange: setTextColor, - label: Object(external_this_wp_i18n_["__"])('Text Color') - }] - }); -}); + var _experimentalUseColo = Object(external_this_wp_blockEditor_["__experimentalUseColors"])([{ + name: 'textColor', + property: 'color' + }], { + contrastCheckers: { + backgroundColor: true, + textColor: true + } + }, []), + TextColor = _experimentalUseColo.TextColor, + InspectorControlsColorPanel = _experimentalUseColo.InspectorControlsColorPanel, + ColorDetector = _experimentalUseColo.ColorDetector; -function HeadingEdit(_ref2) { - var _classnames; - - var attributes = _ref2.attributes, - setAttributes = _ref2.setAttributes, - mergeBlocks = _ref2.mergeBlocks, - onReplace = _ref2.onReplace, - className = _ref2.className, - textColor = _ref2.textColor, - setTextColor = _ref2.setTextColor; var align = attributes.align, content = attributes.content, level = attributes.level, @@ -5263,12 +5293,10 @@ function HeadingEdit(_ref2) { level: newLevel }); } - })), Object(external_this_wp_element_["createElement"])(HeadingColorUI, { - setTextColor: setTextColor, - textColorValue: textColor.color - })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { + }))), InspectorControlsColorPanel, Object(external_this_wp_element_["createElement"])(TextColor, null, Object(external_this_wp_element_["createElement"])(ColorDetector, { + querySelector: "[contenteditable=\"true\"]" + }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { identifier: "content", - wrapperClassName: "wp-block-heading", tagName: tagName, value: content, onChange: function onChange(value) { @@ -5290,17 +5318,12 @@ function HeadingEdit(_ref2) { onRemove: function onRemove() { return onReplace([]); }, - className: classnames_default()(className, (_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, "has-text-align-".concat(align), align), Object(defineProperty["a" /* default */])(_classnames, 'has-text-color', textColor.color), Object(defineProperty["a" /* default */])(_classnames, textColor.class, textColor.class), _classnames)), - placeholder: placeholder || Object(external_this_wp_i18n_["__"])('Write heading…'), - style: { - color: textColor.color - } - })); + className: classnames_default()(className, Object(defineProperty["a" /* default */])({}, "has-text-align-".concat(align), align)), + placeholder: placeholder || Object(external_this_wp_i18n_["__"])('Write heading…') + }))); } -/* harmony default export */ var heading_edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_blockEditor_["withColors"])('backgroundColor', { - textColor: 'color' -})])(HeadingEdit)); +/* harmony default export */ var heading_edit = (HeadingEdit); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/save.js @@ -5740,11 +5763,11 @@ function quote_save_save(_ref) { })); } -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js var objectWithoutProperties = __webpack_require__(21); // EXTERNAL MODULE: external {"this":["wp","richText"]} -var external_this_wp_richText_ = __webpack_require__(22); +var external_this_wp_richText_ = __webpack_require__(24); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/transforms.js @@ -6380,6 +6403,22 @@ var rightArrow = Object(external_this_wp_element_["createElement"])(external_thi d: "M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z" })); +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/shared-icon.js + + +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + +var sharedIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], { + icon: icons_icon +}); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/gallery-image.js @@ -6602,6 +6641,93 @@ function (_Component) { }; })(gallery_image_GalleryImage)); +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/gallery.js + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + + +var gallery_Gallery = function Gallery(props) { + var _classnames; + + var attributes = props.attributes, + className = props.className, + isSelected = props.isSelected, + setAttributes = props.setAttributes, + selectedImage = props.selectedImage, + mediaPlaceholder = props.mediaPlaceholder, + onMoveBackward = props.onMoveBackward, + onMoveForward = props.onMoveForward, + onRemoveImage = props.onRemoveImage, + onSelectImage = props.onSelectImage, + onSetImageAttributes = props.onSetImageAttributes, + onFocusGalleryCaption = props.onFocusGalleryCaption; + var align = attributes.align, + _attributes$columns = attributes.columns, + columns = _attributes$columns === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns, + caption = attributes.caption, + imageCrop = attributes.imageCrop, + images = attributes.images; + var captionClassNames = classnames_default()('blocks-gallery-caption', { + 'screen-reader-text': !isSelected && external_this_wp_blockEditor_["RichText"].isEmpty(caption) + }); + return Object(external_this_wp_element_["createElement"])("figure", { + className: classnames_default()(className, (_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, "align".concat(align), align), Object(defineProperty["a" /* default */])(_classnames, "columns-".concat(columns), columns), Object(defineProperty["a" /* default */])(_classnames, 'is-cropped', imageCrop), _classnames)) + }, Object(external_this_wp_element_["createElement"])("ul", { + className: "blocks-gallery-grid" + }, images.map(function (img, index) { + /* translators: %1$d is the order number of the image, %2$d is the total number of images. */ + var ariaLabel = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('image %1$d of %2$d in gallery'), index + 1, images.length); + return Object(external_this_wp_element_["createElement"])("li", { + className: "blocks-gallery-item", + key: img.id || img.url + }, Object(external_this_wp_element_["createElement"])(gallery_image, { + url: img.url, + alt: img.alt, + id: img.id, + isFirstItem: index === 0, + isLastItem: index + 1 === images.length, + isSelected: isSelected && selectedImage === index, + onMoveBackward: onMoveBackward(index), + onMoveForward: onMoveForward(index), + onRemove: onRemoveImage(index), + onSelect: onSelectImage(index), + setAttributes: function setAttributes(attrs) { + return onSetImageAttributes(index, attrs); + }, + caption: img.caption, + "aria-label": ariaLabel + })); + })), mediaPlaceholder, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { + tagName: "figcaption", + className: captionClassNames, + placeholder: Object(external_this_wp_i18n_["__"])('Write gallery caption…'), + value: caption, + unstableOnFocus: onFocusGalleryCaption, + onChange: function onChange(value) { + return setAttributes({ + caption: value + }); + }, + inlineToolbar: true + })); +}; +/* harmony default export */ var gallery = (gallery_Gallery); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/edit.js @@ -6618,7 +6744,6 @@ function (_Component) { * External dependencies */ - /** * WordPress dependencies */ @@ -6630,6 +6755,7 @@ function (_Component) { + /** * Internal dependencies */ @@ -6649,6 +6775,18 @@ var linkOptions = [{ label: Object(external_this_wp_i18n_["__"])('None') }]; var edit_ALLOWED_MEDIA_TYPES = ['image']; +var PLACEHOLDER_TEXT = external_this_wp_element_["Platform"].select({ + web: Object(external_this_wp_i18n_["__"])('Drag images, upload new ones or select files from your library.'), + native: Object(external_this_wp_i18n_["__"])('ADD MEDIA') +}); // currently this is needed for consistent controls UI on mobile +// this can be removed after control components settle on consistent defaults + +var MOBILE_CONTROL_PROPS = external_this_wp_element_["Platform"].select({ + web: {}, + native: { + separatorType: 'fullWidth' + } +}); var edit_GalleryEdit = /*#__PURE__*/ @@ -6880,7 +7018,7 @@ function (_Component) { mediaUpload = _this$props.mediaUpload; var images = attributes.images; - if (Object(external_this_lodash_["every"])(images, function (_ref) { + if (external_this_wp_element_["Platform"].OS === 'web' && images && images.length > 0 && Object(external_this_lodash_["every"])(images, function (_ref) { var url = _ref.url; return Object(external_this_wp_blob_["isBlobURL"])(url); })) { @@ -6913,19 +7051,13 @@ function (_Component) { }, { key: "render", value: function render() { - var _classnames, - _this7 = this; - var _this$props2 = this.props, attributes = _this$props2.attributes, className = _this$props2.className, isSelected = _this$props2.isSelected, - noticeUI = _this$props2.noticeUI, - setAttributes = _this$props2.setAttributes; - var align = attributes.align, - _attributes$columns = attributes.columns, + noticeUI = _this$props2.noticeUI; + var _attributes$columns = attributes.columns, columns = _attributes$columns === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns, - caption = attributes.caption, imageCrop = attributes.imageCrop, images = attributes.images, linkTo = attributes.linkTo; @@ -6938,13 +7070,11 @@ function (_Component) { addToGallery: hasImagesWithId, isAppender: hasImages, className: className, - dropZoneUIOnly: hasImages && !isSelected, - icon: !hasImages && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], { - icon: icons_icon - }), + disableMediaButtons: hasImages && !isSelected, + icon: !hasImages && sharedIcon, labels: { title: !hasImages && Object(external_this_wp_i18n_["__"])('Gallery'), - instructions: !hasImages && Object(external_this_wp_i18n_["__"])('Drag images, upload new ones or select files from your library.') + instructions: !hasImages && PLACEHOLDER_TEXT }, onSelect: this.onSelectImages, accept: "image/*", @@ -6952,74 +7082,45 @@ function (_Component) { multiple: true, value: hasImagesWithId ? images : undefined, onError: this.onUploadError, - notices: hasImages ? undefined : noticeUI + notices: hasImages ? undefined : noticeUI, + onFocus: this.props.onFocus }); if (!hasImages) { return mediaPlaceholder; } - var captionClassNames = classnames_default()('blocks-gallery-caption', { - 'screen-reader-text': !isSelected && external_this_wp_blockEditor_["RichText"].isEmpty(caption) - }); return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { title: Object(external_this_wp_i18n_["__"])('Gallery Settings') - }, images.length > 1 && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], { - label: Object(external_this_wp_i18n_["__"])('Columns'), + }, images.length > 1 && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], Object(esm_extends["a" /* default */])({ + label: Object(external_this_wp_i18n_["__"])('Columns') + }, MOBILE_CONTROL_PROPS, { value: columns, onChange: this.setColumnsNumber, min: 1, max: Math.min(MAX_COLUMNS, images.length), required: true - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { - label: Object(external_this_wp_i18n_["__"])('Crop Images'), + })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], Object(esm_extends["a" /* default */])({ + label: Object(external_this_wp_i18n_["__"])('Crop Images') + }, MOBILE_CONTROL_PROPS, { checked: !!imageCrop, onChange: this.toggleImageCrop, help: this.getImageCropHelp - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], { - label: Object(external_this_wp_i18n_["__"])('Link To'), + })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], Object(esm_extends["a" /* default */])({ + label: Object(external_this_wp_i18n_["__"])('Link To') + }, MOBILE_CONTROL_PROPS, { value: linkTo, onChange: this.setLinkTo, options: linkOptions - }))), noticeUI, Object(external_this_wp_element_["createElement"])("figure", { - className: classnames_default()(className, (_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, "align".concat(align), align), Object(defineProperty["a" /* default */])(_classnames, "columns-".concat(columns), columns), Object(defineProperty["a" /* default */])(_classnames, 'is-cropped', imageCrop), _classnames)) - }, Object(external_this_wp_element_["createElement"])("ul", { - className: "blocks-gallery-grid" - }, images.map(function (img, index) { - /* translators: %1$d is the order number of the image, %2$d is the total number of images. */ - var ariaLabel = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('image %1$d of %2$d in gallery'), index + 1, images.length); - return Object(external_this_wp_element_["createElement"])("li", { - className: "blocks-gallery-item", - key: img.id || img.url - }, Object(external_this_wp_element_["createElement"])(gallery_image, { - url: img.url, - alt: img.alt, - id: img.id, - isFirstItem: index === 0, - isLastItem: index + 1 === images.length, - isSelected: isSelected && _this7.state.selectedImage === index, - onMoveBackward: _this7.onMoveBackward(index), - onMoveForward: _this7.onMoveForward(index), - onRemove: _this7.onRemoveImage(index), - onSelect: _this7.onSelectImage(index), - setAttributes: function setAttributes(attrs) { - return _this7.setImageAttributes(index, attrs); - }, - caption: img.caption, - "aria-label": ariaLabel - })); - })), mediaPlaceholder, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { - tagName: "figcaption", - className: captionClassNames, - placeholder: Object(external_this_wp_i18n_["__"])('Write gallery caption…'), - value: caption, - unstableOnFocus: this.onFocusGalleryCaption, - onChange: function onChange(value) { - return setAttributes({ - caption: value - }); - }, - inlineToolbar: true + })))), noticeUI, Object(external_this_wp_element_["createElement"])(gallery, Object(esm_extends["a" /* default */])({}, this.props, { + selectedImage: this.state.selectedImage, + mediaPlaceholder: mediaPlaceholder, + onMoveBackward: this.onMoveBackward, + onMoveForward: this.onMoveForward, + onRemoveImage: this.onRemoveImage, + onSelectImage: this.onSelectImage, + onSetImageAttributes: this.setImageAttributes, + onFocusGalleryCaption: this.onFocusGalleryCaption }))); } }]); @@ -7032,12 +7133,14 @@ function (_Component) { getSettings = _select.getSettings; var _getSettings = getSettings(), - __experimentalMediaUpload = _getSettings.__experimentalMediaUpload; + mediaUpload = _getSettings.mediaUpload; return { - mediaUpload: __experimentalMediaUpload + mediaUpload: mediaUpload }; -}), external_this_wp_components_["withNotices"]])(edit_GalleryEdit)); +}), external_this_wp_components_["withNotices"], Object(external_this_wp_viewport_["withViewportMatch"])({ + isNarrow: '< small' +})])(edit_GalleryEdit)); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/save.js @@ -7357,7 +7460,7 @@ var gallery_settings = { }; // EXTERNAL MODULE: external {"this":["wp","serverSideRender"]} -var external_this_wp_serverSideRender_ = __webpack_require__(57); +var external_this_wp_serverSideRender_ = __webpack_require__(58); var external_this_wp_serverSideRender_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_serverSideRender_); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/archives/edit.js @@ -7675,7 +7778,7 @@ function (_Component) { }); } - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { className: "components-icon-button components-toolbar__control", label: Object(external_this_wp_i18n_["__"])('Edit audio'), onClick: switchToEditing, @@ -7737,10 +7840,10 @@ function (_Component) { getSettings = _select.getSettings; var _getSettings = getSettings(), - __experimentalMediaUpload = _getSettings.__experimentalMediaUpload; + mediaUpload = _getSettings.mediaUpload; return { - mediaUpload: __experimentalMediaUpload + mediaUpload: mediaUpload }; }), external_this_wp_components_["withNotices"]])(edit_AudioEdit)); @@ -7885,6 +7988,7 @@ var audio_name = audio_metadata.name; var audio_settings = { title: Object(external_this_wp_i18n_["__"])('Audio'), description: Object(external_this_wp_i18n_["__"])('Embed a simple audio player.'), + keywords: [Object(external_this_wp_i18n_["__"])('music'), Object(external_this_wp_i18n_["__"])('sound'), Object(external_this_wp_i18n_["__"])('podcast'), Object(external_this_wp_i18n_["__"])('recording')], icon: audio_icon, transforms: audio_transforms, supports: { @@ -8150,11 +8254,6 @@ var button_deprecated_deprecated = [{ - - - - - /** * External dependencies */ @@ -8170,7 +8269,7 @@ var button_deprecated_deprecated = [{ var edit_window = window, edit_getComputedStyle = edit_window.getComputedStyle; -var edit_applyFallbackStyles = Object(external_this_wp_components_["withFallbackStyles"])(function (node, ownProps) { +var applyFallbackStyles = Object(external_this_wp_components_["withFallbackStyles"])(function (node, ownProps) { var textColor = ownProps.textColor, backgroundColor = ownProps.backgroundColor; var backgroundColorValue = backgroundColor && backgroundColor.color; @@ -8209,168 +8308,142 @@ function BorderPanel(_ref) { })); } -var edit_ButtonEdit = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(ButtonEdit, _Component); +function ButtonEdit(_ref2) { + var _classnames; - function ButtonEdit() { - var _this; + var attributes = _ref2.attributes, + backgroundColor = _ref2.backgroundColor, + textColor = _ref2.textColor, + setBackgroundColor = _ref2.setBackgroundColor, + setTextColor = _ref2.setTextColor, + fallbackBackgroundColor = _ref2.fallbackBackgroundColor, + fallbackTextColor = _ref2.fallbackTextColor, + setAttributes = _ref2.setAttributes, + className = _ref2.className, + isSelected = _ref2.isSelected; + var borderRadius = attributes.borderRadius, + linkTarget = attributes.linkTarget, + placeholder = attributes.placeholder, + rel = attributes.rel, + text = attributes.text, + title = attributes.title, + url = attributes.url; + var onSetLinkRel = Object(external_this_wp_element_["useCallback"])(function (value) { + setAttributes({ + rel: value + }); + }, [setAttributes]); + var onToggleOpenInNewTab = Object(external_this_wp_element_["useCallback"])(function (value) { + var newLinkTarget = value ? '_blank' : undefined; + var updatedRel = rel; - Object(classCallCheck["a" /* default */])(this, ButtonEdit); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ButtonEdit).apply(this, arguments)); - _this.nodeRef = null; - _this.bindRef = _this.bindRef.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onSetLinkRel = _this.onSetLinkRel.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onToggleOpenInNewTab = _this.onToggleOpenInNewTab.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; - } - - Object(createClass["a" /* default */])(ButtonEdit, [{ - key: "bindRef", - value: function bindRef(node) { - if (!node) { - return; - } - - this.nodeRef = node; + if (newLinkTarget && !rel) { + updatedRel = edit_NEW_TAB_REL; + } else if (!newLinkTarget && rel === edit_NEW_TAB_REL) { + updatedRel = undefined; } - }, { - key: "onSetLinkRel", - value: function onSetLinkRel(value) { - this.props.setAttributes({ - rel: value + + setAttributes({ + linkTarget: newLinkTarget, + rel: updatedRel + }); + }, [rel, setAttributes]); + + var _experimentalUseGrad = Object(external_this_wp_blockEditor_["__experimentalUseGradient"])(), + gradientClass = _experimentalUseGrad.gradientClass, + gradientValue = _experimentalUseGrad.gradientValue, + setGradient = _experimentalUseGrad.setGradient; + + return Object(external_this_wp_element_["createElement"])("div", { + className: className, + title: title + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { + placeholder: placeholder || Object(external_this_wp_i18n_["__"])('Add text…'), + value: text, + onChange: function onChange(value) { + return setAttributes({ + text: value }); - } - }, { - key: "onToggleOpenInNewTab", - value: function onToggleOpenInNewTab(value) { - var rel = this.props.attributes.rel; - var linkTarget = value ? '_blank' : undefined; - var updatedRel = rel; - - if (linkTarget && !rel) { - updatedRel = edit_NEW_TAB_REL; - } else if (!linkTarget && rel === edit_NEW_TAB_REL) { - updatedRel = undefined; - } - - this.props.setAttributes({ - linkTarget: linkTarget, - rel: updatedRel + }, + withoutInteractiveFormatting: true, + className: classnames_default()('wp-block-button__link', (_classnames = { + 'has-background': backgroundColor.color || gradientValue + }, Object(defineProperty["a" /* default */])(_classnames, backgroundColor.class, !gradientValue && backgroundColor.class), Object(defineProperty["a" /* default */])(_classnames, 'has-text-color', textColor.color), Object(defineProperty["a" /* default */])(_classnames, textColor.class, textColor.class), Object(defineProperty["a" /* default */])(_classnames, gradientClass, gradientClass), Object(defineProperty["a" /* default */])(_classnames, 'no-border-radius', borderRadius === 0), _classnames)), + style: Object(objectSpread["a" /* default */])({}, !backgroundColor.color && gradientValue ? { + background: gradientValue + } : { + backgroundColor: backgroundColor.color + }, { + color: textColor.color, + borderRadius: borderRadius ? borderRadius + 'px' : undefined + }) + }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["URLInput"], { + label: Object(external_this_wp_i18n_["__"])('Link'), + className: "wp-block-button__inline-link", + value: url + /* eslint-disable jsx-a11y/no-autofocus */ + // Disable Reason: The rule is meant to prevent enabling auto-focus, not disabling it. + , + autoFocus: false + /* eslint-enable jsx-a11y/no-autofocus */ + , + onChange: function onChange(value) { + return setAttributes({ + url: value }); - } - }, { - key: "render", - value: function render() { - var _classnames; - - var _this$props = this.props, - attributes = _this$props.attributes, - backgroundColor = _this$props.backgroundColor, - textColor = _this$props.textColor, - setBackgroundColor = _this$props.setBackgroundColor, - setTextColor = _this$props.setTextColor, - fallbackBackgroundColor = _this$props.fallbackBackgroundColor, - fallbackTextColor = _this$props.fallbackTextColor, - setAttributes = _this$props.setAttributes, - className = _this$props.className, - instanceId = _this$props.instanceId, - isSelected = _this$props.isSelected; - var borderRadius = attributes.borderRadius, - linkTarget = attributes.linkTarget, - placeholder = attributes.placeholder, - rel = attributes.rel, - text = attributes.text, - title = attributes.title, - url = attributes.url; - var linkId = "wp-block-button__inline-link-".concat(instanceId); - return Object(external_this_wp_element_["createElement"])("div", { - className: className, - title: title, - ref: this.bindRef - }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { - placeholder: placeholder || Object(external_this_wp_i18n_["__"])('Add text…'), - value: text, - onChange: function onChange(value) { - return setAttributes({ - text: value - }); - }, - withoutInteractiveFormatting: true, - className: classnames_default()('wp-block-button__link', (_classnames = { - 'has-background': backgroundColor.color - }, Object(defineProperty["a" /* default */])(_classnames, backgroundColor.class, backgroundColor.class), Object(defineProperty["a" /* default */])(_classnames, 'has-text-color', textColor.color), Object(defineProperty["a" /* default */])(_classnames, textColor.class, textColor.class), Object(defineProperty["a" /* default */])(_classnames, 'no-border-radius', borderRadius === 0), _classnames)), - style: { - backgroundColor: backgroundColor.color, - color: textColor.color, - borderRadius: borderRadius ? borderRadius + 'px' : undefined - } - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], { - label: Object(external_this_wp_i18n_["__"])('Link'), - className: "wp-block-button__inline-link", - id: linkId - }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["URLInput"], { - className: "wp-block-button__inline-link-input", - value: url - /* eslint-disable jsx-a11y/no-autofocus */ - // Disable Reason: The rule is meant to prevent enabling auto-focus, not disabling it. - , - autoFocus: false - /* eslint-enable jsx-a11y/no-autofocus */ - , - onChange: function onChange(value) { - return setAttributes({ - url: value - }); - }, - disableSuggestions: !isSelected, - id: linkId, - isFullWidth: true, - hasBorder: true - })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], { - title: Object(external_this_wp_i18n_["__"])('Color Settings'), - colorSettings: [{ - value: backgroundColor.color, - onChange: setBackgroundColor, - label: Object(external_this_wp_i18n_["__"])('Background Color') - }, { - value: textColor.color, - onChange: setTextColor, - label: Object(external_this_wp_i18n_["__"])('Text Color') - }] - }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ContrastChecker"], { - // Text is considered large if font size is greater or equal to 18pt or 24px, - // currently that's not the case for button. - isLargeText: false, - textColor: textColor.color, - backgroundColor: backgroundColor.color, - fallbackBackgroundColor: fallbackBackgroundColor, - fallbackTextColor: fallbackTextColor - })), Object(external_this_wp_element_["createElement"])(BorderPanel, { - borderRadius: borderRadius, - setAttributes: setAttributes - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { - title: Object(external_this_wp_i18n_["__"])('Link settings') - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { - label: Object(external_this_wp_i18n_["__"])('Open in new tab'), - onChange: this.onToggleOpenInNewTab, - checked: linkTarget === '_blank' - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { - label: Object(external_this_wp_i18n_["__"])('Link rel'), - value: rel || '', - onChange: this.onSetLinkRel - })))); - } - }]); - - return ButtonEdit; -}(external_this_wp_element_["Component"]); + }, + disableSuggestions: !isSelected, + isFullWidth: true, + hasBorder: true + }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], { + title: Object(external_this_wp_i18n_["__"])('Color Settings'), + colorSettings: [{ + value: backgroundColor.color, + onChange: function onChange(newColor) { + setAttributes({ + customGradient: undefined + }); + setBackgroundColor(newColor); + }, + label: Object(external_this_wp_i18n_["__"])('Background Color') + }, { + value: textColor.color, + onChange: setTextColor, + label: Object(external_this_wp_i18n_["__"])('Text Color') + }] + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ContrastChecker"], { + // Text is considered large if font size is greater or equal to 18pt or 24px, + // currently that's not the case for button. + isLargeText: false, + textColor: textColor.color, + backgroundColor: backgroundColor.color, + fallbackBackgroundColor: fallbackBackgroundColor, + fallbackTextColor: fallbackTextColor + })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalGradientPickerPanel"], { + onChange: function onChange(newGradient) { + setGradient(newGradient); + setBackgroundColor(); + }, + value: gradientValue + }), Object(external_this_wp_element_["createElement"])(BorderPanel, { + borderRadius: borderRadius, + setAttributes: setAttributes + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + title: Object(external_this_wp_i18n_["__"])('Link settings') + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { + label: Object(external_this_wp_i18n_["__"])('Open in new tab'), + onChange: onToggleOpenInNewTab, + checked: linkTarget === '_blank' + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { + label: Object(external_this_wp_i18n_["__"])('Link rel'), + value: rel || '', + onChange: onSetLinkRel + })))); +} /* harmony default export */ var button_edit = (Object(external_this_wp_compose_["compose"])([external_this_wp_compose_["withInstanceId"], Object(external_this_wp_blockEditor_["withColors"])('backgroundColor', { textColor: 'color' -}), edit_applyFallbackStyles])(edit_ButtonEdit)); +}), applyFallbackStyles])(ButtonEdit)); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/icon.js @@ -8410,19 +8483,25 @@ function button_save_save(_ref) { borderRadius = attributes.borderRadius, customBackgroundColor = attributes.customBackgroundColor, customTextColor = attributes.customTextColor, + customGradient = attributes.customGradient, linkTarget = attributes.linkTarget, + gradient = attributes.gradient, rel = attributes.rel, text = attributes.text, textColor = attributes.textColor, title = attributes.title, url = attributes.url; var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor); - var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor); + var backgroundClass = !customGradient && Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor); + + var gradientClass = Object(external_this_wp_blockEditor_["__experimentalGetGradientClass"])(gradient); + var buttonClasses = classnames_default()('wp-block-button__link', (_classnames = { 'has-text-color': textColor || customTextColor - }, Object(defineProperty["a" /* default */])(_classnames, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames, 'has-background', backgroundColor || customBackgroundColor), Object(defineProperty["a" /* default */])(_classnames, backgroundClass, backgroundClass), Object(defineProperty["a" /* default */])(_classnames, 'no-border-radius', borderRadius === 0), _classnames)); + }, Object(defineProperty["a" /* default */])(_classnames, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames, 'has-background', backgroundColor || customBackgroundColor || customGradient || gradient), Object(defineProperty["a" /* default */])(_classnames, backgroundClass, backgroundClass), Object(defineProperty["a" /* default */])(_classnames, 'no-border-radius', borderRadius === 0), Object(defineProperty["a" /* default */])(_classnames, gradientClass, gradientClass), _classnames)); var buttonStyle = { - backgroundColor: backgroundClass ? undefined : customBackgroundColor, + background: customGradient ? customGradient : undefined, + backgroundColor: backgroundClass || customGradient || gradient ? undefined : customBackgroundColor, color: textClass ? undefined : customTextColor, borderRadius: borderRadius ? borderRadius + 'px' : undefined }; @@ -8500,6 +8579,12 @@ var button_metadata = { }, borderRadius: { type: "number" + }, + gradient: { + type: "string" + }, + customGradient: { + type: "string" } } }; @@ -8536,7 +8621,7 @@ var button_settings = { }; // EXTERNAL MODULE: external {"this":"moment"} -var external_this_moment_ = __webpack_require__(29); +var external_this_moment_ = __webpack_require__(30); var external_this_moment_default = /*#__PURE__*/__webpack_require__.n(external_this_moment_); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/calendar/edit.js @@ -8956,122 +9041,6 @@ var categories_settings = { edit: categories_edit }; -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/utils.js -/** - * External dependencies - */ - -/** - * Escapes ampersands, shortcodes, and links. - * - * @param {string} content The content of a code block. - * @return {string} The given content with some characters escaped. - */ - -function utils_escape(content) { - return Object(external_this_lodash_["flow"])(escapeAmpersands, escapeOpeningSquareBrackets, escapeProtocolInIsolatedUrls)(content || ''); -} -/** - * Unescapes escaped ampersands, shortcodes, and links. - * - * @param {string} content Content with (maybe) escaped ampersands, shortcodes, and links. - * @return {string} The given content with escaped characters unescaped. - */ - -function utils_unescape(content) { - return Object(external_this_lodash_["flow"])(unescapeProtocolInIsolatedUrls, unescapeOpeningSquareBrackets, unescapeAmpersands)(content || ''); -} -/** - * Returns the given content with all its ampersand characters converted - * into their HTML entity counterpart (i.e. & => &) - * - * @param {string} content The content of a code block. - * @return {string} The given content with its ampersands converted into - * their HTML entity counterpart (i.e. & => &) - */ - -function escapeAmpersands(content) { - return content.replace(/&/g, '&'); -} -/** - * Returns the given content with all & HTML entities converted into &. - * - * @param {string} content The content of a code block. - * @return {string} The given content with all & HTML entities - * converted into &. - */ - - -function unescapeAmpersands(content) { - return content.replace(/&/g, '&'); -} -/** - * Returns the given content with all opening shortcode characters converted - * into their HTML entity counterpart (i.e. [ => [). For instance, a - * shortcode like [embed] becomes [embed] - * - * This function replicates the escaping of HTML tags, where a tag like - * becomes <strong>. - * - * @param {string} content The content of a code block. - * @return {string} The given content with its opening shortcode characters - * converted into their HTML entity counterpart - * (i.e. [ => [) - */ - - -function escapeOpeningSquareBrackets(content) { - return content.replace(/\[/g, '['); -} -/** - * Returns the given content translating all [ into [. - * - * @param {string} content The content of a code block. - * @return {string} The given content with all [ into [. - */ - - -function unescapeOpeningSquareBrackets(content) { - return content.replace(/[/g, '['); -} -/** - * Converts the first two forward slashes of any isolated URL into their HTML - * counterparts (i.e. // => //). For instance, https://youtube.com/watch?x - * becomes https://youtube.com/watch?x. - * - * An isolated URL is a URL that sits in its own line, surrounded only by spacing - * characters. - * - * See https://github.com/WordPress/wordpress-develop/blob/5.1.1/src/wp-includes/class-wp-embed.php#L403 - * - * @param {string} content The content of a code block. - * @return {string} The given content with its ampersands converted into - * their HTML entity counterpart (i.e. & => &) - */ - - -function escapeProtocolInIsolatedUrls(content) { - return content.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m, '$1//$2'); -} -/** - * Converts the first two forward slashes of any isolated URL from the HTML entity - * I into /. - * - * An isolated URL is a URL that sits in its own line, surrounded only by spacing - * characters. - * - * See https://github.com/WordPress/wordpress-develop/blob/5.1.1/src/wp-includes/class-wp-embed.php#L403 - * - * @param {string} content The content of a code block. - * @return {string} The given content with the first two forward slashes of any - * isolated URL from the HTML entity I into /. - */ - - -function unescapeProtocolInIsolatedUrls(content) { - return content.replace(/^(\s*https?:)//([^\s<>"]+\s*)$/m, '$1//$2'); -} - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/edit.js @@ -9084,7 +9053,6 @@ function unescapeProtocolInIsolatedUrls(content) { */ - function CodeEdit(_ref) { var attributes = _ref.attributes, setAttributes = _ref.setAttributes, @@ -9092,10 +9060,10 @@ function CodeEdit(_ref) { return Object(external_this_wp_element_["createElement"])("div", { className: className }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PlainText"], { - value: utils_unescape(attributes.content), + value: attributes.content, onChange: function onChange(content) { return setAttributes({ - content: utils_escape(content) + content: content }); }, placeholder: Object(external_this_wp_i18n_["__"])('Write code…'), @@ -9120,11 +9088,76 @@ function CodeEdit(_ref) { d: "M9.4,16.6L4.8,12l4.6-4.6L8,6l-6,6l6,6L9.4,16.6z M14.6,16.6l4.6-4.6l-4.6-4.6L16,6l6,6l-6,6L14.6,16.6z" }))); +// EXTERNAL MODULE: external {"this":["wp","escapeHtml"]} +var external_this_wp_escapeHtml_ = __webpack_require__(59); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/utils.js +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +/** + * Escapes ampersands, shortcodes, and links. + * + * @param {string} content The content of a code block. + * @return {string} The given content with some characters escaped. + */ + +function utils_escape(content) { + return Object(external_this_lodash_["flow"])(external_this_wp_escapeHtml_["escapeEditableHTML"], escapeOpeningSquareBrackets, escapeProtocolInIsolatedUrls)(content || ''); +} +/** + * Returns the given content with all opening shortcode characters converted + * into their HTML entity counterpart (i.e. [ => [). For instance, a + * shortcode like [embed] becomes [embed] + * + * This function replicates the escaping of HTML tags, where a tag like + * becomes <strong>. + * + * @param {string} content The content of a code block. + * @return {string} The given content with its opening shortcode characters + * converted into their HTML entity counterpart + * (i.e. [ => [) + */ + +function escapeOpeningSquareBrackets(content) { + return content.replace(/\[/g, '['); +} +/** + * Converts the first two forward slashes of any isolated URL into their HTML + * counterparts (i.e. // => //). For instance, https://youtube.com/watch?x + * becomes https://youtube.com/watch?x. + * + * An isolated URL is a URL that sits in its own line, surrounded only by spacing + * characters. + * + * See https://github.com/WordPress/wordpress-develop/blob/5.1.1/src/wp-includes/class-wp-embed.php#L403 + * + * @param {string} content The content of a code block. + * @return {string} The given content with its ampersands converted into + * their HTML entity counterpart (i.e. & => &) + */ + + +function escapeProtocolInIsolatedUrls(content) { + return content.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m, '$1//$2'); +} + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/save.js + +/** + * Internal dependencies + */ + function code_save_save(_ref) { var attributes = _ref.attributes; - return Object(external_this_wp_element_["createElement"])("pre", null, Object(external_this_wp_element_["createElement"])("code", null, attributes.content)); + return Object(external_this_wp_element_["createElement"])("pre", null, Object(external_this_wp_element_["createElement"])("code", null, utils_escape(attributes.content))); } // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/transforms.js @@ -9191,7 +9224,8 @@ var code_settings = { icon: code_icon, example: { attributes: { - content: Object(external_this_wp_i18n_["__"])('// A "block" is the abstract term used') + '\n' + Object(external_this_wp_i18n_["__"])('// to describe units of markup that,') + '\n' + Object(external_this_wp_i18n_["__"])('// when composed together, form the') + '\n' + Object(external_this_wp_i18n_["__"])('// content or layout of a page.') + '\n' + Object(external_this_wp_i18n_["__"])('registerBlockType( name, settings );') + // translators: Preserve \n markers for line breaks + content: Object(external_this_wp_i18n_["__"])('// A "block" is the abstract term used\n// to describe units of markup that\n// when composed together, form the\n// content or layout of a page.\nregisterBlockType( name, settings );') } }, supports: { @@ -9292,7 +9326,7 @@ function getDeprecatedLayoutColumn(originalContent) { }); }, migrate: function migrate(attributes, innerBlocks) { - var columns = innerBlocks.reduce(function (result, innerBlock) { + var columns = innerBlocks.reduce(function (accumulator, innerBlock) { var originalContent = innerBlock.originalContent; var columnIndex = getDeprecatedLayoutColumn(originalContent); @@ -9300,12 +9334,12 @@ function getDeprecatedLayoutColumn(originalContent) { columnIndex = 0; } - if (!result[columnIndex]) { - result[columnIndex] = []; + if (!accumulator[columnIndex]) { + accumulator[columnIndex] = []; } - result[columnIndex].push(innerBlock); - return result; + accumulator[columnIndex].push(innerBlock); + return accumulator; }, []); var migratedInnerBlocks = columns.map(function (columnBlocks) { return Object(external_this_wp_blocks_["createBlock"])('core/column', {}, columnBlocks); @@ -9348,24 +9382,6 @@ function getDeprecatedLayoutColumn(originalContent) { * External dependencies */ - -/** - * Returns the layouts configuration for a given number of columns. - * - * @param {number} columns Number of columns. - * - * @return {Object[]} Columns layout configuration. - */ - -var getColumnsTemplate = memize_default()(function (columns) { - if (columns === undefined) { - return null; - } - - return Object(external_this_lodash_["times"])(columns, function () { - return ['core/column']; - }); -}); /** * Returns a column width attribute value rounded to standard precision. * Returns `undefined` if the value is not a valid finite number. @@ -9440,9 +9456,9 @@ function getTotalColumnsWidth(blocks) { function getColumnWidths(blocks) { var totalBlockCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : blocks.length; - return blocks.reduce(function (result, block) { + return blocks.reduce(function (accumulator, block) { var width = getEffectiveColumnWidth(block, totalBlockCount); - return Object.assign(result, Object(defineProperty["a" /* default */])({}, block.clientId, width)); + return Object.assign(accumulator, Object(defineProperty["a" /* default */])({}, block.clientId, width)); }, {}); } /** @@ -9521,7 +9537,6 @@ function getMappedColumnWidths(blocks, widths) { - /** * Internal dependencies */ @@ -9538,100 +9553,8 @@ function getMappedColumnWidths(blocks, widths) { */ var ALLOWED_BLOCKS = ['core/column']; -/** - * Template option choices for predefined columns layouts. - * - * @constant - * @type {Array} - */ -var TEMPLATE_OPTIONS = [{ - title: Object(external_this_wp_i18n_["__"])('Two columns; equal split'), - icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - width: "48", - height: "48", - viewBox: "0 0 48 48", - xmlns: "http://www.w3.org/2000/svg" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H25V34H39ZM23 34H9V14H23V34Z" - })), - template: [['core/column'], ['core/column']] -}, { - title: Object(external_this_wp_i18n_["__"])('Two columns; one-third, two-thirds split'), - icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - width: "48", - height: "48", - viewBox: "0 0 48 48", - xmlns: "http://www.w3.org/2000/svg" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z" - })), - template: [['core/column', { - width: 33.33 - }], ['core/column', { - width: 66.66 - }]] -}, { - title: Object(external_this_wp_i18n_["__"])('Two columns; two-thirds, one-third split'), - icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - width: "48", - height: "48", - viewBox: "0 0 48 48", - xmlns: "http://www.w3.org/2000/svg" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z" - })), - template: [['core/column', { - width: 66.66 - }], ['core/column', { - width: 33.33 - }]] -}, { - title: Object(external_this_wp_i18n_["__"])('Three columns; equal split'), - icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - width: "48", - height: "48", - viewBox: "0 0 48 48", - xmlns: "http://www.w3.org/2000/svg" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - fillRule: "evenodd", - d: "M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z" - })), - template: [['core/column'], ['core/column'], ['core/column']] -}, { - title: Object(external_this_wp_i18n_["__"])('Three columns; wide center column'), - icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - width: "48", - height: "48", - viewBox: "0 0 48 48", - xmlns: "http://www.w3.org/2000/svg" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - fillRule: "evenodd", - d: "M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z" - })), - template: [['core/column', { - width: 25 - }], ['core/column', { - width: 50 - }], ['core/column', { - width: 25 - }]] -}]; -/** - * Number of columns to assume for template in case the user opts to skip - * template option selection. - * - * @type {number} - */ - -var DEFAULT_COLUMNS = 2; -function ColumnsEdit(_ref) { +function ColumnsEditContainer(_ref) { var attributes = _ref.attributes, className = _ref.className, updateAlignment = _ref.updateAlignment, @@ -9646,30 +9569,8 @@ function ColumnsEdit(_ref) { }), count = _useSelect.count; - var _useState = Object(external_this_wp_element_["useState"])(getColumnsTemplate(count)), - _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), - template = _useState2[0], - setTemplate = _useState2[1]; - - var _useState3 = Object(external_this_wp_element_["useState"])(false), - _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2), - forceUseTemplate = _useState4[0], - setForceUseTemplate = _useState4[1]; // This is used to force the usage of the template even if the count doesn't match the template - // The count doesn't match the template once you use undo/redo (this is used to reset to the placeholder state). - - - Object(external_this_wp_element_["useEffect"])(function () { - // Once the template is applied, reset it. - if (forceUseTemplate) { - setForceUseTemplate(false); - } - }, [forceUseTemplate]); - var classes = classnames_default()(className, Object(defineProperty["a" /* default */])({}, "are-vertically-aligned-".concat(verticalAlignment), verticalAlignment)); // The template selector is shown when we first insert the columns block (count === 0). - // or if there's no template available. - // The count === 0 trick is useful when you use undo/redo. - - var showTemplateSelector = count === 0 && !forceUseTemplate || !template; - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, !showTemplateSelector && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], { + var classes = classnames_default()(className, Object(defineProperty["a" /* default */])({}, "are-vertically-aligned-".concat(verticalAlignment), verticalAlignment)); + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], { label: Object(external_this_wp_i18n_["__"])('Columns'), value: count, onChange: function onChange(value) { @@ -9680,25 +9581,15 @@ function ColumnsEdit(_ref) { }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockVerticalAlignmentToolbar"], { onChange: updateAlignment, value: verticalAlignment - }))), Object(external_this_wp_element_["createElement"])("div", { + })), Object(external_this_wp_element_["createElement"])("div", { className: classes }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], { - __experimentalTemplateOptions: TEMPLATE_OPTIONS, - __experimentalOnSelectTemplateOption: function __experimentalOnSelectTemplateOption(nextTemplate) { - if (nextTemplate === undefined) { - nextTemplate = getColumnsTemplate(DEFAULT_COLUMNS); - } - - setTemplate(nextTemplate); - setForceUseTemplate(true); - }, - __experimentalAllowTemplateOptionSkip: true, - template: showTemplateSelector ? null : template, templateLock: "all", allowedBlocks: ALLOWED_BLOCKS }))); } -/* harmony default export */ var columns_edit = (Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, registry) { + +var ColumnsEditContainerWrapper = Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, registry) { return { /** * Update all child Column blocks with a new vertical alignment setting @@ -9782,7 +9673,69 @@ function ColumnsEdit(_ref) { replaceInnerBlocks(clientId, innerBlocks, false); } }; -})(ColumnsEdit)); +})(ColumnsEditContainer); + +var edit_createBlocksFromInnerBlocksTemplate = function createBlocksFromInnerBlocksTemplate(innerBlocksTemplate) { + return Object(external_this_lodash_["map"])(innerBlocksTemplate, function (_ref2) { + var _ref3 = Object(slicedToArray["a" /* default */])(_ref2, 3), + name = _ref3[0], + attributes = _ref3[1], + _ref3$ = _ref3[2], + innerBlocks = _ref3$ === void 0 ? [] : _ref3$; + + return Object(external_this_wp_blocks_["createBlock"])(name, attributes, createBlocksFromInnerBlocksTemplate(innerBlocks)); + }); +}; + +var edit_ColumnsEdit = function ColumnsEdit(props) { + var clientId = props.clientId, + name = props.name; + + var _useSelect2 = Object(external_this_wp_data_["useSelect"])(function (select) { + var _select = select('core/blocks'), + __experimentalGetBlockPatterns = _select.__experimentalGetBlockPatterns, + getBlockType = _select.getBlockType, + __experimentalGetDefaultBlockPattern = _select.__experimentalGetDefaultBlockPattern; + + return { + blockType: getBlockType(name), + defaultPattern: __experimentalGetDefaultBlockPattern(name), + hasInnerBlocks: select('core/block-editor').getBlocks(clientId).length > 0, + patterns: __experimentalGetBlockPatterns(name) + }; + }, [clientId, name]), + blockType = _useSelect2.blockType, + defaultPattern = _useSelect2.defaultPattern, + hasInnerBlocks = _useSelect2.hasInnerBlocks, + patterns = _useSelect2.patterns; + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + replaceInnerBlocks = _useDispatch.replaceInnerBlocks; + + if (hasInnerBlocks) { + return Object(external_this_wp_element_["createElement"])(ColumnsEditContainerWrapper, props); + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlockPatternPicker"], { + icon: Object(external_this_lodash_["get"])(blockType, ['icon', 'src']), + label: Object(external_this_lodash_["get"])(blockType, ['title']), + patterns: patterns, + onSelect: function onSelect() { + var nextPattern = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultPattern; + + if (nextPattern.attributes) { + props.setAttributes(nextPattern.attributes); + } + + if (nextPattern.innerBlocks) { + replaceInnerBlocks(props.clientId, edit_createBlocksFromInnerBlocksTemplate(nextPattern.innerBlocks)); + } + }, + allowSkip: true + }); +}; + +/* harmony default export */ var columns_edit = (edit_ColumnsEdit); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/icon.js @@ -9801,6 +9754,106 @@ function ColumnsEdit(_ref) { d: "M4,4H20a2,2,0,0,1,2,2V18a2,2,0,0,1-2,2H4a2,2,0,0,1-2-2V6A2,2,0,0,1,4,4ZM4 6V18H8V6Zm6 0V18h4V6Zm6 0V18h4V6Z" })))); +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/patterns.js + + +/** + * WordPress dependencies + */ + + +/** + * Template option choices for predefined columns layouts. + * + * @type {WPBlockPattern[]} + */ + +var patterns_patterns = [{ + name: 'two-columns-equal', + label: Object(external_this_wp_i18n_["__"])('Two columns; equal split'), + icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + width: "48", + height: "48", + viewBox: "0 0 48 48", + xmlns: "http://www.w3.org/2000/svg" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H25V34H39ZM23 34H9V14H23V34Z" + })), + isDefault: true, + innerBlocks: [['core/column'], ['core/column']] +}, { + name: 'two-columns-one-third-two-thirds', + label: Object(external_this_wp_i18n_["__"])('Two columns; one-third, two-thirds split'), + icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + width: "48", + height: "48", + viewBox: "0 0 48 48", + xmlns: "http://www.w3.org/2000/svg" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z" + })), + innerBlocks: [['core/column', { + width: 33.33 + }], ['core/column', { + width: 66.66 + }]] +}, { + name: 'two-columns-two-thirds-one-third', + label: Object(external_this_wp_i18n_["__"])('Two columns; two-thirds, one-third split'), + icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + width: "48", + height: "48", + viewBox: "0 0 48 48", + xmlns: "http://www.w3.org/2000/svg" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z" + })), + innerBlocks: [['core/column', { + width: 66.66 + }], ['core/column', { + width: 33.33 + }]] +}, { + name: 'three-columns-equal', + label: Object(external_this_wp_i18n_["__"])('Three columns; equal split'), + icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + width: "48", + height: "48", + viewBox: "0 0 48 48", + xmlns: "http://www.w3.org/2000/svg" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fillRule: "evenodd", + d: "M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z" + })), + innerBlocks: [['core/column'], ['core/column'], ['core/column']] +}, { + name: 'three-columns-wider-center', + label: Object(external_this_wp_i18n_["__"])('Three columns; wide center column'), + icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + width: "48", + height: "48", + viewBox: "0 0 48 48", + xmlns: "http://www.w3.org/2000/svg" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fillRule: "evenodd", + d: "M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z" + })), + innerBlocks: [['core/column', { + width: 25 + }], ['core/column', { + width: 50 + }], ['core/column', { + width: 25 + }]] +}]; +/* harmony default export */ var columns_patterns = (patterns_patterns); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/save.js @@ -9845,6 +9898,7 @@ var columns_metadata = { } }; + var columns_name = columns_metadata.name; var columns_settings = { @@ -9855,6 +9909,7 @@ var columns_settings = { align: ['wide', 'full'], html: false }, + patterns: columns_patterns, example: { innerBlocks: [{ name: 'core/column', @@ -10129,7 +10184,7 @@ function backgroundImageStyles(url) { } : {}; } function dimRatioToClass(ratio) { - return ratio === 0 || ratio === 50 ? null : 'has-background-dim-' + 10 * Math.round(ratio / 10); + return ratio === 0 || ratio === 50 || !ratio ? null : 'has-background-dim-' + 10 * Math.round(ratio / 10); } // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/deprecated.js @@ -10353,11 +10408,11 @@ var cover_deprecated_deprecated = [{ /* harmony default export */ var cover_deprecated = (cover_deprecated_deprecated); // EXTERNAL MODULE: ./node_modules/fast-average-color/dist/index.js -var dist = __webpack_require__(220); +var dist = __webpack_require__(219); var dist_default = /*#__PURE__*/__webpack_require__.n(dist); // EXTERNAL MODULE: ./node_modules/tinycolor2/tinycolor.js -var tinycolor = __webpack_require__(47); +var tinycolor = __webpack_require__(48); var tinycolor_default = /*#__PURE__*/__webpack_require__.n(tinycolor); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/icon.js @@ -10383,12 +10438,6 @@ var tinycolor_default = /*#__PURE__*/__webpack_require__.n(tinycolor); - - - - - - /** * External dependencies */ @@ -10434,30 +10483,13 @@ var CoverHeightInput = Object(external_this_wp_compose_["withInstanceId"])(funct var _ref$value = _ref.value, value = _ref$value === void 0 ? '' : _ref$value, instanceId = _ref.instanceId, - onChange = _ref.onChange; + _onChange = _ref.onChange; var _useState = Object(external_this_wp_element_["useState"])(null), _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), temporaryInput = _useState2[0], setTemporaryInput = _useState2[1]; - var onChangeEvent = Object(external_this_wp_element_["useCallback"])(function (event) { - var unprocessedValue = event.target.value; - var inputValue = unprocessedValue !== '' ? parseInt(event.target.value, 10) : undefined; - - if ((isNaN(inputValue) || inputValue < COVER_MIN_HEIGHT) && inputValue !== undefined) { - setTemporaryInput(event.target.value); - return; - } - - setTemporaryInput(null); - onChange(inputValue); - }, [onChange, setTemporaryInput]); - var onBlurEvent = Object(external_this_wp_element_["useCallback"])(function () { - if (temporaryInput !== null) { - setTemporaryInput(null); - } - }, [temporaryInput, setTemporaryInput]); var inputId = "block-cover-height-input-".concat(instanceId); return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], { label: Object(external_this_wp_i18n_["__"])('Minimum height in pixels'), @@ -10465,11 +10497,27 @@ var CoverHeightInput = Object(external_this_wp_compose_["withInstanceId"])(funct }, Object(external_this_wp_element_["createElement"])("input", { type: "number", id: inputId, - onChange: onChangeEvent, - onBlur: onBlurEvent, + onChange: function onChange(event) { + var unprocessedValue = event.target.value; + var inputValue = unprocessedValue !== '' ? parseInt(event.target.value, 10) : undefined; + + if ((isNaN(inputValue) || inputValue < COVER_MIN_HEIGHT) && inputValue !== undefined) { + setTemporaryInput(event.target.value); + return; + } + + setTemporaryInput(null); + + _onChange(inputValue); + }, + onBlur: function onBlur() { + if (temporaryInput !== null) { + setTemporaryInput(null); + } + }, value: temporaryInput !== null ? temporaryInput : value, min: COVER_MIN_HEIGHT, - step: "10" + step: "1" })); }); var RESIZABLE_BOX_ENABLE_OPTION = { @@ -10486,385 +10534,383 @@ var RESIZABLE_BOX_ENABLE_OPTION = { function ResizableCover(_ref2) { var className = _ref2.className, children = _ref2.children, - onResizeStart = _ref2.onResizeStart, - onResize = _ref2.onResize, - onResizeStop = _ref2.onResizeStop; + _onResizeStart = _ref2.onResizeStart, + _onResize = _ref2.onResize, + _onResizeStop = _ref2.onResizeStop; var _useState3 = Object(external_this_wp_element_["useState"])(false), _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2), isResizing = _useState4[0], setIsResizing = _useState4[1]; - var onResizeEvent = Object(external_this_wp_element_["useCallback"])(function (event, direction, elt) { - onResize(elt.clientHeight); - - if (!isResizing) { - setIsResizing(true); - } - }, [onResize, setIsResizing]); - var onResizeStartEvent = Object(external_this_wp_element_["useCallback"])(function (event, direction, elt) { - onResizeStart(elt.clientHeight); - onResize(elt.clientHeight); - }, [onResizeStart, onResize]); - var onResizeStopEvent = Object(external_this_wp_element_["useCallback"])(function (event, direction, elt) { - onResizeStop(elt.clientHeight); - setIsResizing(false); - }, [onResizeStop, setIsResizing]); return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ResizableBox"], { className: classnames_default()(className, { 'is-resizing': isResizing }), enable: RESIZABLE_BOX_ENABLE_OPTION, - onResizeStart: onResizeStartEvent, - onResize: onResizeEvent, - onResizeStop: onResizeStopEvent, + onResizeStart: function onResizeStart(event, direction, elt) { + _onResizeStart(elt.clientHeight); + + _onResize(elt.clientHeight); + }, + onResize: function onResize(event, direction, elt) { + _onResize(elt.clientHeight); + + if (!isResizing) { + setIsResizing(true); + } + }, + onResizeStop: function onResizeStop(event, direction, elt) { + _onResizeStop(elt.clientHeight); + + setIsResizing(false); + }, minHeight: COVER_MIN_HEIGHT }, children); } -var edit_CoverEdit = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(CoverEdit, _Component); +function onCoverSelectMedia(setAttributes) { + return function (media) { + if (!media || !media.url) { + setAttributes({ + url: undefined, + id: undefined + }); + return; + } - function CoverEdit() { - var _this; + var mediaType; // for media selections originated from a file upload. - Object(classCallCheck["a" /* default */])(this, CoverEdit); + if (media.media_type) { + if (media.media_type === IMAGE_BACKGROUND_TYPE) { + mediaType = IMAGE_BACKGROUND_TYPE; + } else { + // only images and videos are accepted so if the media_type is not an image we can assume it is a video. + // Videos contain the media type of 'file' in the object returned from the rest api. + mediaType = VIDEO_BACKGROUND_TYPE; + } + } else { + // for media selections originated from existing files in the media library. + if (media.type !== IMAGE_BACKGROUND_TYPE && media.type !== VIDEO_BACKGROUND_TYPE) { + return; + } - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(CoverEdit).apply(this, arguments)); - _this.state = { - isDark: false, - temporaryMinHeight: null - }; - _this.imageRef = Object(external_this_wp_element_["createRef"])(); - _this.videoRef = Object(external_this_wp_element_["createRef"])(); - _this.changeIsDarkIfRequired = _this.changeIsDarkIfRequired.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onUploadError = _this.onUploadError.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; + mediaType = media.type; + } + + setAttributes(Object(objectSpread["a" /* default */])({ + url: media.url, + id: media.id, + backgroundType: mediaType + }, mediaType === VIDEO_BACKGROUND_TYPE ? { + focalPoint: undefined, + hasParallax: undefined + } : {})); + }; +} +/** + * useCoverIsDark is a hook that returns a boolean variable specifying if the cover + * background is dark or not. + * + * @param {?string} url Url of the media background. + * @param {?number} dimRatio Transparency of the overlay color. If an image and + * color are set, dimRatio is used to decide what is used + * for background darkness checking purposes. + * @param {?string} overlayColor String containing the overlay color value if one exists. + * @param {?Object} elementRef If a media background is set, elementRef should contain a reference to a + * dom element that renders that media. + * + * @return {boolean} True if the cover background is considered "dark" and false otherwise. + */ + + +function useCoverIsDark(url) { + var dimRatio = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 50; + var overlayColor = arguments.length > 2 ? arguments[2] : undefined; + var elementRef = arguments.length > 3 ? arguments[3] : undefined; + + var _useState5 = Object(external_this_wp_element_["useState"])(false), + _useState6 = Object(slicedToArray["a" /* default */])(_useState5, 2), + isDark = _useState6[0], + setIsDark = _useState6[1]; + + Object(external_this_wp_element_["useEffect"])(function () { + // If opacity is lower than 50 the dominant color is the image or video color, + // so use that color for the dark mode computation. + if (url && dimRatio <= 50 && elementRef.current) { + retrieveFastAverageColor().getColorAsync(elementRef.current, function (color) { + setIsDark(color.isDark); + }); + } + }, [url, url && dimRatio <= 50 && elementRef.current, setIsDark]); + Object(external_this_wp_element_["useEffect"])(function () { + // If opacity is greater than 50 the dominant color is the overlay color, + // so use that color for the dark mode computation. + if (dimRatio > 50 || !url) { + if (!overlayColor) { + // If no overlay color exists the overlay color is black (isDark ) + setIsDark(true); + return; + } + + setIsDark(tinycolor_default()(overlayColor).isDark()); + } + }, [overlayColor, dimRatio > 50 || !url, setIsDark]); + Object(external_this_wp_element_["useEffect"])(function () { + if (!url && !overlayColor) { + // Reset isDark + setIsDark(false); + } + }, [!url && !overlayColor, setIsDark]); + return isDark; +} + +function CoverEdit(_ref3) { + var _classnames; + + var attributes = _ref3.attributes, + setAttributes = _ref3.setAttributes, + isSelected = _ref3.isSelected, + className = _ref3.className, + noticeUI = _ref3.noticeUI, + overlayColor = _ref3.overlayColor, + setOverlayColor = _ref3.setOverlayColor, + toggleSelection = _ref3.toggleSelection, + noticeOperations = _ref3.noticeOperations; + var backgroundType = attributes.backgroundType, + dimRatio = attributes.dimRatio, + focalPoint = attributes.focalPoint, + hasParallax = attributes.hasParallax, + id = attributes.id, + minHeight = attributes.minHeight, + url = attributes.url; + + var _experimentalUseGrad = Object(external_this_wp_blockEditor_["__experimentalUseGradient"])(), + gradientClass = _experimentalUseGrad.gradientClass, + gradientValue = _experimentalUseGrad.gradientValue, + setGradient = _experimentalUseGrad.setGradient; + + var onSelectMedia = onCoverSelectMedia(setAttributes); + + var toggleParallax = function toggleParallax() { + setAttributes(Object(objectSpread["a" /* default */])({ + hasParallax: !hasParallax + }, !hasParallax ? { + focalPoint: undefined + } : {})); + }; + + var isDarkElement = Object(external_this_wp_element_["useRef"])(); + var isDark = useCoverIsDark(url, dimRatio, overlayColor.color, isDarkElement); + + var _useState7 = Object(external_this_wp_element_["useState"])(null), + _useState8 = Object(slicedToArray["a" /* default */])(_useState7, 2), + temporaryMinHeight = _useState8[0], + setTemporaryMinHeight = _useState8[1]; + + var removeAllNotices = noticeOperations.removeAllNotices, + createErrorNotice = noticeOperations.createErrorNotice; + + var style = Object(objectSpread["a" /* default */])({}, backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {}, { + backgroundColor: overlayColor.color, + minHeight: temporaryMinHeight || minHeight + }); + + if (gradientValue && !url) { + style.background = gradientValue; } - Object(createClass["a" /* default */])(CoverEdit, [{ - key: "componentDidMount", - value: function componentDidMount() { - this.handleBackgroundMode(); - } - }, { - key: "componentDidUpdate", - value: function componentDidUpdate(prevProps) { - this.handleBackgroundMode(prevProps); - } - }, { - key: "onUploadError", - value: function onUploadError(message) { - var noticeOperations = this.props.noticeOperations; - noticeOperations.removeAllNotices(); - noticeOperations.createErrorNotice(message); - } - }, { - key: "render", - value: function render() { - var _this2 = this; + if (focalPoint) { + style.backgroundPosition = "".concat(focalPoint.x * 100, "% ").concat(focalPoint.y * 100, "%"); + } - var _this$props = this.props, - attributes = _this$props.attributes, - setAttributes = _this$props.setAttributes, - isSelected = _this$props.isSelected, - className = _this$props.className, - noticeUI = _this$props.noticeUI, - overlayColor = _this$props.overlayColor, - setOverlayColor = _this$props.setOverlayColor, - toggleSelection = _this$props.toggleSelection; - var backgroundType = attributes.backgroundType, - dimRatio = attributes.dimRatio, - focalPoint = attributes.focalPoint, - hasParallax = attributes.hasParallax, - id = attributes.id, - url = attributes.url, - minHeight = attributes.minHeight; - - var onSelectMedia = function onSelectMedia(media) { - if (!media || !media.url) { - setAttributes({ - url: undefined, - id: undefined - }); - return; - } - - var mediaType; // for media selections originated from a file upload. - - if (media.media_type) { - if (media.media_type === IMAGE_BACKGROUND_TYPE) { - mediaType = IMAGE_BACKGROUND_TYPE; - } else { - // only images and videos are accepted so if the media_type is not an image we can assume it is a video. - // Videos contain the media type of 'file' in the object returned from the rest api. - mediaType = VIDEO_BACKGROUND_TYPE; - } - } else { - // for media selections originated from existing files in the media library. - if (media.type !== IMAGE_BACKGROUND_TYPE && media.type !== VIDEO_BACKGROUND_TYPE) { - return; - } - - mediaType = media.type; - } - - setAttributes(Object(objectSpread["a" /* default */])({ - url: media.url, - id: media.id, - backgroundType: mediaType - }, mediaType === VIDEO_BACKGROUND_TYPE ? { - focalPoint: undefined, - hasParallax: undefined - } : {})); - }; - - var toggleParallax = function toggleParallax() { - setAttributes(Object(objectSpread["a" /* default */])({ - hasParallax: !hasParallax - }, !hasParallax ? { - focalPoint: undefined - } : {})); - }; - - var setDimRatio = function setDimRatio(ratio) { - return setAttributes({ - dimRatio: ratio - }); - }; - - var temporaryMinHeight = this.state.temporaryMinHeight; - - var style = Object(objectSpread["a" /* default */])({}, backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {}, { - backgroundColor: overlayColor.color, - minHeight: temporaryMinHeight || minHeight - }); - - if (focalPoint) { - style.backgroundPosition = "".concat(focalPoint.x * 100, "% ").concat(focalPoint.y * 100, "%"); - } - - var controls = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, !!(url || overlayColor.color) && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUploadCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], { - onSelect: onSelectMedia, - allowedTypes: cover_edit_ALLOWED_MEDIA_TYPES, - value: id, - render: function render(_ref3) { - var open = _ref3.open; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - className: "components-toolbar__control", - label: Object(external_this_wp_i18n_["__"])('Edit media'), - icon: "edit", - onClick: open - }); - } - }))))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, !!url && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { - title: Object(external_this_wp_i18n_["__"])('Media Settings') - }, IMAGE_BACKGROUND_TYPE === backgroundType && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { - label: Object(external_this_wp_i18n_["__"])('Fixed Background'), - checked: hasParallax, - onChange: toggleParallax - }), IMAGE_BACKGROUND_TYPE === backgroundType && !hasParallax && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FocalPointPicker"], { - label: Object(external_this_wp_i18n_["__"])('Focal Point Picker'), - url: url, - value: focalPoint, - onChange: function onChange(value) { - return setAttributes({ - focalPoint: value - }); - } - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelRow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - isDefault: true, - isSmall: true, - className: "block-library-cover__reset-button", - onClick: function onClick() { - return setAttributes({ - url: undefined, - id: undefined, - backgroundType: undefined, - dimRatio: undefined, - focalPoint: undefined, - hasParallax: undefined - }); - } - }, Object(external_this_wp_i18n_["__"])('Clear Media')))), (url || overlayColor.color) && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { - title: Object(external_this_wp_i18n_["__"])('Dimensions') - }, Object(external_this_wp_element_["createElement"])(CoverHeightInput, { - value: temporaryMinHeight || minHeight, - onChange: function onChange(value) { - setAttributes({ - minHeight: value - }); - } - })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], { - title: Object(external_this_wp_i18n_["__"])('Overlay'), - initialOpen: true, - colorSettings: [{ - value: overlayColor.color, - onChange: setOverlayColor, - label: Object(external_this_wp_i18n_["__"])('Overlay Color') - }] - }, !!url && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], { - label: Object(external_this_wp_i18n_["__"])('Background Opacity'), - value: dimRatio, - onChange: setDimRatio, - min: 0, - max: 100, - step: 10, - required: true - }))))); - - if (!(url || overlayColor.color)) { - var placeholderIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], { - icon: cover_icon - }); - - var label = Object(external_this_wp_i18n_["__"])('Cover'); - - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, controls, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], { - icon: placeholderIcon, - className: className, - labels: { - title: label, - instructions: Object(external_this_wp_i18n_["__"])('Upload an image or video file, or pick one from your media library.') - }, - onSelect: onSelectMedia, - accept: "image/*,video/*", - allowedTypes: cover_edit_ALLOWED_MEDIA_TYPES, - notices: noticeUI, - onError: this.onUploadError - }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ColorPalette"], { - disableCustomColors: true, - value: overlayColor.color, - onChange: setOverlayColor, - clearable: false, - className: "wp-block-cover__placeholder-color-palette" - }))); - } - - var classes = classnames_default()(className, dimRatioToClass(dimRatio), Object(defineProperty["a" /* default */])({ - 'is-dark-theme': this.state.isDark, - 'has-background-dim': dimRatio !== 0, - 'has-parallax': hasParallax - }, overlayColor.class, overlayColor.class)); - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, controls, Object(external_this_wp_element_["createElement"])(ResizableCover, { - className: classnames_default()('block-library-cover__resize-container', { - 'is-selected': isSelected - }), - onResizeStart: function onResizeStart() { - return toggleSelection(false); - }, - onResize: function onResize(newMinHeight) { - _this2.setState({ - temporaryMinHeight: newMinHeight - }); - }, - onResizeStop: function onResizeStop(newMinHeight) { - toggleSelection(true); - setAttributes({ - minHeight: newMinHeight - }); - - _this2.setState({ - temporaryMinHeight: null - }); - } - }, Object(external_this_wp_element_["createElement"])("div", { - "data-url": url, - style: style, - className: classes - }, IMAGE_BACKGROUND_TYPE === backgroundType && // Used only to programmatically check if the image is dark or not - Object(external_this_wp_element_["createElement"])("img", { - ref: this.imageRef, - "aria-hidden": true, - alt: "", - style: { - display: 'none' - }, - src: url - }), VIDEO_BACKGROUND_TYPE === backgroundType && Object(external_this_wp_element_["createElement"])("video", { - ref: this.videoRef, - className: "wp-block-cover__video-background", - autoPlay: true, - muted: true, - loop: true, - src: url - }), Object(external_this_wp_element_["createElement"])("div", { - className: "wp-block-cover__inner-container" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], { - template: INNER_BLOCKS_TEMPLATE - }))))); - } - }, { - key: "handleBackgroundMode", - value: function handleBackgroundMode(prevProps) { - var _this3 = this; - - var _this$props2 = this.props, - attributes = _this$props2.attributes, - overlayColor = _this$props2.overlayColor; - var dimRatio = attributes.dimRatio, - url = attributes.url; // If opacity is greater than 50 the dominant color is the overlay color, - // so use that color for the dark mode computation. - - if (dimRatio > 50) { - if (prevProps && prevProps.attributes.dimRatio > 50 && prevProps.overlayColor.color === overlayColor.color) { - // No relevant prop changes happened there is no need to apply any change. - return; - } - - if (!overlayColor.color) { - // If no overlay color exists the overlay color is black (isDark ) - this.changeIsDarkIfRequired(true); - return; - } - - this.changeIsDarkIfRequired(tinycolor_default()(overlayColor.color).isDark()); - return; - } // If opacity is lower than 50 the dominant color is the image or video color, - // so use that color for the dark mode computation. - - - if (prevProps && prevProps.attributes.dimRatio <= 50 && prevProps.attributes.url === url) { - // No relevant prop changes happened there is no need to apply any change. - return; - } - - var backgroundType = attributes.backgroundType; - var element; - - switch (backgroundType) { - case IMAGE_BACKGROUND_TYPE: - element = this.imageRef.current; - break; - - case VIDEO_BACKGROUND_TYPE: - element = this.videoRef.current; - break; - } - - if (!element) { - return; - } - - retrieveFastAverageColor().getColorAsync(element, function (color) { - _this3.changeIsDarkIfRequired(color.isDark); + var hasBackground = !!(url || overlayColor.color || gradientValue); + var controls = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, hasBackground && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUploadCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], { + onSelect: onSelectMedia, + allowedTypes: cover_edit_ALLOWED_MEDIA_TYPES, + value: id, + render: function render(_ref4) { + var open = _ref4.open; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + className: "components-toolbar__control", + label: Object(external_this_wp_i18n_["__"])('Edit media'), + icon: "edit", + onClick: open }); } - }, { - key: "changeIsDarkIfRequired", - value: function changeIsDarkIfRequired(newIsDark) { - if (this.state.isDark !== newIsDark) { - this.setState({ - isDark: newIsDark - }); - } + }))))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, !!url && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + title: Object(external_this_wp_i18n_["__"])('Media Settings') + }, IMAGE_BACKGROUND_TYPE === backgroundType && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { + label: Object(external_this_wp_i18n_["__"])('Fixed Background'), + checked: hasParallax, + onChange: toggleParallax + }), IMAGE_BACKGROUND_TYPE === backgroundType && !hasParallax && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FocalPointPicker"], { + label: Object(external_this_wp_i18n_["__"])('Focal Point Picker'), + url: url, + value: focalPoint, + onChange: function onChange(newFocalPoint) { + return setAttributes({ + focalPoint: newFocalPoint + }); } - }]); + }), VIDEO_BACKGROUND_TYPE === backgroundType && Object(external_this_wp_element_["createElement"])("video", { + autoPlay: true, + muted: true, + loop: true, + src: url + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelRow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + isDefault: true, + isSmall: true, + className: "block-library-cover__reset-button", + onClick: function onClick() { + return setAttributes({ + url: undefined, + id: undefined, + backgroundType: undefined, + dimRatio: undefined, + focalPoint: undefined, + hasParallax: undefined + }); + } + }, Object(external_this_wp_i18n_["__"])('Clear Media')))), hasBackground && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + title: Object(external_this_wp_i18n_["__"])('Dimensions') + }, Object(external_this_wp_element_["createElement"])(CoverHeightInput, { + value: temporaryMinHeight || minHeight, + onChange: function onChange(newMinHeight) { + return setAttributes({ + minHeight: newMinHeight + }); + } + })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], { + title: Object(external_this_wp_i18n_["__"])('Overlay'), + initialOpen: true, + colorSettings: [{ + value: overlayColor.color, + onChange: function onChange() { + setAttributes({ + customGradient: undefined + }); + setOverlayColor.apply(void 0, arguments); + }, + label: Object(external_this_wp_i18n_["__"])('Overlay Color') + }] + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalGradientPickerControl"], { + label: Object(external_this_wp_i18n_["__"])('Overlay Gradient'), + onChange: function onChange(newGradient) { + setGradient(newGradient); + setAttributes({ + overlayColor: undefined + }); + }, + value: gradientValue + }), !!url && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], { + label: Object(external_this_wp_i18n_["__"])('Background Opacity'), + value: dimRatio, + onChange: function onChange(newDimRation) { + return setAttributes({ + dimRatio: newDimRation + }); + }, + min: 0, + max: 100, + step: 10, + required: true + }))))); - return CoverEdit; -}(external_this_wp_element_["Component"]); + if (!hasBackground) { + var placeholderIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], { + icon: cover_icon + }); + + var label = Object(external_this_wp_i18n_["__"])('Cover'); + + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, controls, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], { + icon: placeholderIcon, + className: className, + labels: { + title: label, + instructions: Object(external_this_wp_i18n_["__"])('Upload an image or video file, or pick one from your media library.') + }, + onSelect: onSelectMedia, + accept: "image/*,video/*", + allowedTypes: cover_edit_ALLOWED_MEDIA_TYPES, + notices: noticeUI, + onError: function onError(message) { + removeAllNotices(); + createErrorNotice(message); + } + }, Object(external_this_wp_element_["createElement"])("div", { + className: "wp-block-cover__placeholder-background-options" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ColorPalette"], { + disableCustomColors: true, + value: overlayColor.color, + onChange: setOverlayColor, + clearable: false + }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalGradientPicker"], { + disableCustomGradients: true, + onChange: function onChange(newGradient) { + setGradient(newGradient); + setAttributes({ + overlayColor: undefined + }); + }, + value: gradientValue, + clearable: false + })))); + } + + var classes = classnames_default()(className, dimRatioToClass(dimRatio), (_classnames = { + 'is-dark-theme': isDark, + 'has-background-dim': dimRatio !== 0, + 'has-parallax': hasParallax + }, Object(defineProperty["a" /* default */])(_classnames, overlayColor.class, overlayColor.class), Object(defineProperty["a" /* default */])(_classnames, 'has-background-gradient', gradientValue), Object(defineProperty["a" /* default */])(_classnames, gradientClass, !url && gradientClass), _classnames)); + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, controls, Object(external_this_wp_element_["createElement"])(ResizableCover, { + className: classnames_default()('block-library-cover__resize-container', { + 'is-selected': isSelected + }), + onResizeStart: function onResizeStart() { + return toggleSelection(false); + }, + onResize: setTemporaryMinHeight, + onResizeStop: function onResizeStop(newMinHeight) { + toggleSelection(true); + setAttributes({ + minHeight: newMinHeight + }); + setTemporaryMinHeight(null); + } + }, Object(external_this_wp_element_["createElement"])("div", { + "data-url": url, + style: style, + className: classes + }, IMAGE_BACKGROUND_TYPE === backgroundType && // Used only to programmatically check if the image is dark or not + Object(external_this_wp_element_["createElement"])("img", { + ref: isDarkElement, + "aria-hidden": true, + alt: "", + style: { + display: 'none' + }, + src: url + }), url && gradientValue && dimRatio !== 0 && Object(external_this_wp_element_["createElement"])("span", { + "aria-hidden": "true", + className: classnames_default()('wp-block-cover__gradient-background', gradientClass), + style: { + background: gradientValue + } + }), VIDEO_BACKGROUND_TYPE === backgroundType && Object(external_this_wp_element_["createElement"])("video", { + ref: isDarkElement, + className: "wp-block-cover__video-background", + autoPlay: true, + muted: true, + loop: true, + src: url + }), Object(external_this_wp_element_["createElement"])("div", { + className: "wp-block-cover__inner-container" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], { + template: INNER_BLOCKS_TEMPLATE + }))))); +} /* harmony default export */ var cover_edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withDispatch"])(function (dispatch) { var _dispatch = dispatch('core/block-editor'), @@ -10875,11 +10921,12 @@ function (_Component) { }; }), Object(external_this_wp_blockEditor_["withColors"])({ overlayColor: 'background-color' -}), external_this_wp_components_["withNotices"], external_this_wp_compose_["withInstanceId"]])(edit_CoverEdit)); +}), external_this_wp_components_["withNotices"], external_this_wp_compose_["withInstanceId"]])(CoverEdit)); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/save.js + /** * External dependencies */ @@ -10897,6 +10944,8 @@ function (_Component) { function cover_save_save(_ref) { var attributes = _ref.attributes; var backgroundType = attributes.backgroundType, + gradient = attributes.gradient, + customGradient = attributes.customGradient, customOverlayColor = attributes.customOverlayColor, dimRatio = attributes.dimRatio, focalPoint = attributes.focalPoint, @@ -10905,6 +10954,9 @@ function cover_save_save(_ref) { url = attributes.url, minHeight = attributes.minHeight; var overlayColorClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', overlayColor); + + var gradientClass = Object(external_this_wp_blockEditor_["__experimentalGetGradientClass"])(gradient); + var style = backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {}; if (!overlayColorClass) { @@ -10915,15 +10967,26 @@ function cover_save_save(_ref) { style.backgroundPosition = "".concat(focalPoint.x * 100, "% ").concat(focalPoint.y * 100, "%"); } + if (customGradient && !url) { + style.background = customGradient; + } + style.minHeight = minHeight || undefined; - var classes = classnames_default()(dimRatioToClass(dimRatio), overlayColorClass, { + var classes = classnames_default()(dimRatioToClass(dimRatio), overlayColorClass, Object(defineProperty["a" /* default */])({ 'has-background-dim': dimRatio !== 0, - 'has-parallax': hasParallax - }); + 'has-parallax': hasParallax, + 'has-background-gradient': customGradient + }, gradientClass, !url && gradientClass)); return Object(external_this_wp_element_["createElement"])("div", { className: classes, style: style - }, VIDEO_BACKGROUND_TYPE === backgroundType && url && Object(external_this_wp_element_["createElement"])("video", { + }, url && (gradient || customGradient) && dimRatio !== 0 && Object(external_this_wp_element_["createElement"])("span", { + "aria-hidden": "true", + className: classnames_default()('wp-block-cover__gradient-background', gradientClass), + style: customGradient ? { + background: customGradient + } : undefined + }), VIDEO_BACKGROUND_TYPE === backgroundType && url && Object(external_this_wp_element_["createElement"])("video", { className: "wp-block-cover__video-background", autoPlay: true, muted: true, @@ -10982,8 +11045,19 @@ var cover_transforms_transforms = { blocks: ['core/image'], isMatch: function isMatch(_ref3) { var backgroundType = _ref3.backgroundType, - url = _ref3.url; - return !url || backgroundType === IMAGE_BACKGROUND_TYPE; + url = _ref3.url, + overlayColor = _ref3.overlayColor, + customOverlayColor = _ref3.customOverlayColor, + gradient = _ref3.gradient, + customGradient = _ref3.customGradient; + + if (url) { + // If a url exists the transform could happen if that URL represents an image background. + return backgroundType === IMAGE_BACKGROUND_TYPE; + } // If a url is not set the transform could happen if the cover has no background color or gradient; + + + return !overlayColor && !customOverlayColor && !gradient && !customGradient; }, transform: function transform(_ref4) { var title = _ref4.title, @@ -11002,8 +11076,19 @@ var cover_transforms_transforms = { blocks: ['core/video'], isMatch: function isMatch(_ref5) { var backgroundType = _ref5.backgroundType, - url = _ref5.url; - return !url || backgroundType === VIDEO_BACKGROUND_TYPE; + url = _ref5.url, + overlayColor = _ref5.overlayColor, + customOverlayColor = _ref5.customOverlayColor, + gradient = _ref5.gradient, + customGradient = _ref5.customGradient; + + if (url) { + // If a url exists the transform could happen if that URL represents a video background. + return backgroundType === VIDEO_BACKGROUND_TYPE; + } // If a url is not set the transform could happen if the cover has no background color or gradient; + + + return !overlayColor && !customOverlayColor && !gradient && !customGradient; }, transform: function transform(_ref6) { var title = _ref6.title, @@ -11066,6 +11151,12 @@ var cover_metadata = { }, minHeight: { type: "number" + }, + gradient: { + type: "string" + }, + customGradient: { + type: "string" } } }; @@ -11078,7 +11169,8 @@ var cover_settings = { description: Object(external_this_wp_i18n_["__"])('Add an image or video with a text overlay — great for headers.'), icon: cover_icon, supports: { - align: true + align: true, + html: false }, example: { attributes: { @@ -11119,7 +11211,7 @@ var embed_controls_EmbedControls = function EmbedControls(props) { getResponsiveHelp = props.getResponsiveHelp, toggleResponsive = props.toggleResponsive, switchBackToURLInput = props.switchBackToURLInput; - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, showEditButton && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, showEditButton && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { className: "components-toolbar__control", label: Object(external_this_wp_i18n_["__"])('Edit URL'), icon: "edit", @@ -11211,7 +11303,7 @@ var embed_placeholder_EmbedPlaceholder = function EmbedPlaceholder(props) { /* harmony default export */ var embed_placeholder = (embed_placeholder_EmbedPlaceholder); // EXTERNAL MODULE: ./node_modules/url/url.js -var url_url = __webpack_require__(81); +var url_url = __webpack_require__(84); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/wp-embed-preview.js @@ -12204,7 +12296,7 @@ function (_Component) { changeLinkDestinationOption: this.changeLinkDestinationOption, changeOpenInNewWindow: this.changeOpenInNewWindow, changeShowDownloadButton: this.changeShowDownloadButton - })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUploadCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], { + })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUploadCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], { onSelect: this.onSelectFile, value: id, render: function render(_ref3) { @@ -12224,8 +12316,9 @@ function (_Component) { className: classnames_default()(classes, animateClassName) }, Object(external_this_wp_element_["createElement"])("div", { className: 'wp-block-file__content-wrapper' + }, Object(external_this_wp_element_["createElement"])("div", { + className: "wp-block-file__textlink" }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { - wrapperClassName: 'wp-block-file__textlink', tagName: "div" // must be block-level or else cursor disappears , value: fileName, @@ -12236,7 +12329,7 @@ function (_Component) { fileName: text }); } - }), showDownloadButton && Object(external_this_wp_element_["createElement"])("div", { + })), showDownloadButton && Object(external_this_wp_element_["createElement"])("div", { className: 'wp-block-file__button-richtext-wrapper' }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { tagName: "div" // must be block-level or else cursor disappears @@ -12273,12 +12366,12 @@ function (_Component) { getSettings = _select2.getSettings; var _getSettings = getSettings(), - __experimentalMediaUpload = _getSettings.__experimentalMediaUpload; + mediaUpload = _getSettings.mediaUpload; var id = props.attributes.id; return { media: id === undefined ? undefined : getMedia(id), - mediaUpload: __experimentalMediaUpload + mediaUpload: mediaUpload }; }), external_this_wp_components_["withNotices"]])(edit_FileEdit)); @@ -12594,12 +12687,10 @@ function (_Component) { styles = _this$state.styles; return Object(external_this_wp_element_["createElement"])("div", { className: "wp-block-html" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])("div", { - className: "components-toolbar" - }, Object(external_this_wp_element_["createElement"])("button", { + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { className: "components-tab-button ".concat(!isPreview ? 'is-active' : ''), onClick: this.switchToHTML - }, Object(external_this_wp_element_["createElement"])("span", null, "HTML")), Object(external_this_wp_element_["createElement"])("button", { + }, Object(external_this_wp_element_["createElement"])("span", null, "HTML")), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { className: "components-tab-button ".concat(isPreview ? 'is-active' : ''), onClick: this.switchToPreview }, Object(external_this_wp_element_["createElement"])("span", null, Object(external_this_wp_i18n_["__"])('Preview'))))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"].Consumer, null, function (isDisabled) { @@ -12731,116 +12822,6 @@ var html_settings = { save: html_save_save }; -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/deprecated.js - - - -/** - * External dependencies - */ - - -/** - * WordPress dependencies - */ - - -var DEFAULT_MEDIA_WIDTH = 50; -/* harmony default export */ var media_text_deprecated = ([{ - attributes: { - align: { - type: 'string', - default: 'wide' - }, - backgroundColor: { - type: 'string' - }, - customBackgroundColor: { - type: 'string' - }, - mediaAlt: { - type: 'string', - source: 'attribute', - selector: 'figure img', - attribute: 'alt', - default: '' - }, - mediaPosition: { - type: 'string', - default: 'left' - }, - mediaId: { - type: 'number' - }, - mediaUrl: { - type: 'string', - source: 'attribute', - selector: 'figure video,figure img', - attribute: 'src' - }, - mediaType: { - type: 'string' - }, - mediaWidth: { - type: 'number', - default: 50 - }, - isStackedOnMobile: { - type: 'boolean', - default: false - } - }, - save: function save(_ref) { - var _classnames; - - var attributes = _ref.attributes; - var backgroundColor = attributes.backgroundColor, - customBackgroundColor = attributes.customBackgroundColor, - isStackedOnMobile = attributes.isStackedOnMobile, - mediaAlt = attributes.mediaAlt, - mediaPosition = attributes.mediaPosition, - mediaType = attributes.mediaType, - mediaUrl = attributes.mediaUrl, - mediaWidth = attributes.mediaWidth; - var mediaTypeRenders = { - image: function image() { - return Object(external_this_wp_element_["createElement"])("img", { - src: mediaUrl, - alt: mediaAlt - }); - }, - video: function video() { - return Object(external_this_wp_element_["createElement"])("video", { - controls: true, - src: mediaUrl - }); - } - }; - var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor); - var className = classnames_default()((_classnames = { - 'has-media-on-the-right': 'right' === mediaPosition - }, Object(defineProperty["a" /* default */])(_classnames, backgroundClass, backgroundClass), Object(defineProperty["a" /* default */])(_classnames, 'is-stacked-on-mobile', isStackedOnMobile), _classnames)); - var gridTemplateColumns; - - if (mediaWidth !== DEFAULT_MEDIA_WIDTH) { - gridTemplateColumns = 'right' === mediaPosition ? "auto ".concat(mediaWidth, "%") : "".concat(mediaWidth, "% auto"); - } - - var style = { - backgroundColor: backgroundClass ? undefined : customBackgroundColor, - gridTemplateColumns: gridTemplateColumns - }; - return Object(external_this_wp_element_["createElement"])("div", { - className: className, - style: style - }, Object(external_this_wp_element_["createElement"])("figure", { - className: "wp-block-media-text__media" - }, (mediaTypeRenders[mediaType] || external_this_lodash_["noop"])()), Object(external_this_wp_element_["createElement"])("div", { - className: "wp-block-media-text__content" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null))); - } -}]); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/media-container-icon.js @@ -12922,7 +12903,7 @@ function (_Component) { var _this$props = this.props, mediaId = _this$props.mediaId, onSelectMedia = _this$props.onSelectMedia; - return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], { onSelect: onSelectMedia, allowedTypes: media_container_ALLOWED_MEDIA_TYPES, value: mediaId, @@ -13063,6 +13044,191 @@ function (_Component) { }; }), external_this_wp_components_["withNotices"]])(media_container_MediaContainer)); +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/deprecated.js + + + + +/** + * External dependencies + */ + + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + +var DEFAULT_MEDIA_WIDTH = 50; +var baseAttributes = { + align: { + type: 'string', + default: 'wide' + }, + backgroundColor: { + type: 'string' + }, + customBackgroundColor: { + type: 'string' + }, + mediaAlt: { + type: 'string', + source: 'attribute', + selector: 'figure img', + attribute: 'alt', + default: '' + }, + mediaPosition: { + type: 'string', + default: 'left' + }, + mediaId: { + type: 'number' + }, + mediaUrl: { + type: 'string', + source: 'attribute', + selector: 'figure video,figure img', + attribute: 'src' + }, + mediaType: { + type: 'string' + }, + mediaWidth: { + type: 'number', + default: 50 + }, + isStackedOnMobile: { + type: 'boolean', + default: false + } +}; +/* harmony default export */ var media_text_deprecated = ([{ + attributes: Object(objectSpread["a" /* default */])({}, baseAttributes, { + verticalAlignment: { + type: 'string' + }, + imageFill: { + type: 'boolean' + }, + focalPoint: { + type: 'object' + } + }), + save: function save(_ref) { + var _classnames; + + var attributes = _ref.attributes; + var backgroundColor = attributes.backgroundColor, + customBackgroundColor = attributes.customBackgroundColor, + isStackedOnMobile = attributes.isStackedOnMobile, + mediaAlt = attributes.mediaAlt, + mediaPosition = attributes.mediaPosition, + mediaType = attributes.mediaType, + mediaUrl = attributes.mediaUrl, + mediaWidth = attributes.mediaWidth, + mediaId = attributes.mediaId, + verticalAlignment = attributes.verticalAlignment, + imageFill = attributes.imageFill, + focalPoint = attributes.focalPoint; + var mediaTypeRenders = { + image: function image() { + return Object(external_this_wp_element_["createElement"])("img", { + src: mediaUrl, + alt: mediaAlt, + className: mediaId && mediaType === 'image' ? "wp-image-".concat(mediaId) : null + }); + }, + video: function video() { + return Object(external_this_wp_element_["createElement"])("video", { + controls: true, + src: mediaUrl + }); + } + }; + var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor); + var className = classnames_default()((_classnames = { + 'has-media-on-the-right': 'right' === mediaPosition + }, Object(defineProperty["a" /* default */])(_classnames, backgroundClass, backgroundClass), Object(defineProperty["a" /* default */])(_classnames, 'is-stacked-on-mobile', isStackedOnMobile), Object(defineProperty["a" /* default */])(_classnames, "is-vertically-aligned-".concat(verticalAlignment), verticalAlignment), Object(defineProperty["a" /* default */])(_classnames, 'is-image-fill', imageFill), _classnames)); + var backgroundStyles = imageFill ? imageFillStyles(mediaUrl, focalPoint) : {}; + var gridTemplateColumns; + + if (mediaWidth !== DEFAULT_MEDIA_WIDTH) { + gridTemplateColumns = 'right' === mediaPosition ? "auto ".concat(mediaWidth, "%") : "".concat(mediaWidth, "% auto"); + } + + var style = { + backgroundColor: backgroundClass ? undefined : customBackgroundColor, + gridTemplateColumns: gridTemplateColumns + }; + return Object(external_this_wp_element_["createElement"])("div", { + className: className, + style: style + }, Object(external_this_wp_element_["createElement"])("figure", { + className: "wp-block-media-text__media", + style: backgroundStyles + }, (mediaTypeRenders[mediaType] || external_this_lodash_["noop"])()), Object(external_this_wp_element_["createElement"])("div", { + className: "wp-block-media-text__content" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null))); + } +}, { + attributes: baseAttributes, + save: function save(_ref2) { + var _classnames2; + + var attributes = _ref2.attributes; + var backgroundColor = attributes.backgroundColor, + customBackgroundColor = attributes.customBackgroundColor, + isStackedOnMobile = attributes.isStackedOnMobile, + mediaAlt = attributes.mediaAlt, + mediaPosition = attributes.mediaPosition, + mediaType = attributes.mediaType, + mediaUrl = attributes.mediaUrl, + mediaWidth = attributes.mediaWidth; + var mediaTypeRenders = { + image: function image() { + return Object(external_this_wp_element_["createElement"])("img", { + src: mediaUrl, + alt: mediaAlt + }); + }, + video: function video() { + return Object(external_this_wp_element_["createElement"])("video", { + controls: true, + src: mediaUrl + }); + } + }; + var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor); + var className = classnames_default()((_classnames2 = { + 'has-media-on-the-right': 'right' === mediaPosition + }, Object(defineProperty["a" /* default */])(_classnames2, backgroundClass, backgroundClass), Object(defineProperty["a" /* default */])(_classnames2, 'is-stacked-on-mobile', isStackedOnMobile), _classnames2)); + var gridTemplateColumns; + + if (mediaWidth !== DEFAULT_MEDIA_WIDTH) { + gridTemplateColumns = 'right' === mediaPosition ? "auto ".concat(mediaWidth, "%") : "".concat(mediaWidth, "% auto"); + } + + var style = { + backgroundColor: backgroundClass ? undefined : customBackgroundColor, + gridTemplateColumns: gridTemplateColumns + }; + return Object(external_this_wp_element_["createElement"])("div", { + className: className, + style: style + }, Object(external_this_wp_element_["createElement"])("figure", { + className: "wp-block-media-text__media" + }, (mediaTypeRenders[mediaType] || external_this_lodash_["noop"])()), Object(external_this_wp_element_["createElement"])("div", { + className: "wp-block-media-text__content" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null))); + } +}]); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/edit.js @@ -13157,7 +13323,6 @@ function (_Component) { mediaId: media.id, mediaType: mediaType, mediaUrl: src || media.url, - imageFill: undefined, focalPoint: undefined }); } @@ -13317,7 +13482,7 @@ function (_Component) { title: Object(external_this_wp_i18n_["__"])('Color Settings'), initialOpen: false, colorSettings: colorSettings - })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], { + })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], { controls: toolbarControls }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockVerticalAlignmentToolbar"], { onChange: onVerticalAlignmentChange, @@ -13555,7 +13720,7 @@ var media_text_metadata = { }, isStackedOnMobile: { type: "boolean", - "default": false + "default": true }, verticalAlignment: { type: "string" @@ -13604,6 +13769,801 @@ var media_text_settings = { deprecated: media_text_deprecated }; +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/block-navigation-list.js + + +/** + * WordPress dependencies + */ + + +function BlockNavigationList(_ref) { + var clientId = _ref.clientId; + + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + var _select = select('core/block-editor'), + getSelectedBlockClientId = _select.getSelectedBlockClientId, + getBlock = _select.getBlock; + + return { + block: getBlock(clientId), + selectedBlockClientId: getSelectedBlockClientId() + }; + }, [clientId]), + block = _useSelect.block, + selectedBlockClientId = _useSelect.selectedBlockClientId; + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + selectBlock = _useDispatch.selectBlock; + + return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlockNavigationList"], { + blocks: [block], + selectedBlockClientId: selectedBlockClientId, + selectBlock: selectBlock, + showNestedBlocks: true, + showAppender: true + }); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/use-block-navigator.js + + + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + +var NavigatorIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + width: "20", + height: "20" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z" +})); +function useBlockNavigator(clientId) { + var _useState = Object(external_this_wp_element_["useState"])(false), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + isNavigationListOpen = _useState2[0], + setIsNavigationListOpen = _useState2[1]; + + var navigatorToolbarButton = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + className: "components-toolbar__control", + label: Object(external_this_wp_i18n_["__"])('Open block navigator'), + onClick: function onClick() { + return setIsNavigationListOpen(true); + }, + icon: NavigatorIcon + }); + var navigatorModal = isNavigationListOpen && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Modal"], { + title: Object(external_this_wp_i18n_["__"])('Block Navigator'), + closeLabel: Object(external_this_wp_i18n_["__"])('Close'), + onRequestClose: function onRequestClose() { + setIsNavigationListOpen(false); + } + }, Object(external_this_wp_element_["createElement"])(BlockNavigationList, { + clientId: clientId + })); + return { + navigatorToolbarButton: navigatorToolbarButton, + navigatorModal: navigatorModal + }; +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/block-colors-selector.js + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + + +var block_colors_selector_ColorSelectorSVGIcon = function ColorSelectorSVGIcon() { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + xmlns: "https://www.w3.org/2000/svg", + viewBox: "0 0 20 20" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M7.434 5l3.18 9.16H8.538l-.692-2.184H4.628l-.705 2.184H2L5.18 5h2.254zm-1.13 1.904h-.115l-1.148 3.593H7.44L6.304 6.904zM14.348 7.006c1.853 0 2.9.876 2.9 2.374v4.78h-1.79v-.914h-.114c-.362.64-1.123 1.022-2.031 1.022-1.346 0-2.292-.826-2.292-2.108 0-1.27.972-2.006 2.71-2.107l1.696-.102V9.38c0-.584-.42-.914-1.18-.914-.667 0-1.112.228-1.264.647h-1.701c.12-1.295 1.307-2.107 3.066-2.107zm1.079 4.1l-1.416.09c-.793.056-1.18.342-1.18.844 0 .52.45.837 1.091.837.857 0 1.505-.545 1.505-1.256v-.515z" + })); +}; +/** + * Color Selector Icon component. + * + * @param {Object} colorControlProps colorControl properties. + * @return {*} React Icon component. + */ + + +var block_colors_selector_ColorSelectorIcon = function ColorSelectorIcon(_ref) { + var color = _ref.color; + return Object(external_this_wp_element_["createElement"])("div", { + className: "block-library-colors-selector__icon-container" + }, Object(external_this_wp_element_["createElement"])("div", { + className: "block-library-colors-selector__state-selection", + style: Object(objectSpread["a" /* default */])({}, color && { + color: color + }) + }, Object(external_this_wp_element_["createElement"])(block_colors_selector_ColorSelectorSVGIcon, null))); +}; +/** + * Renders the Colors Selector Toolbar with the icon button. + * + * @param {Object} colorControlProps colorControl properties. + * @return {*} React toggle button component. + */ + + +var block_colors_selector_renderToggleComponent = function renderToggleComponent(_ref2) { + var value = _ref2.value; + return function (_ref3) { + var onToggle = _ref3.onToggle, + isOpen = _ref3.isOpen; + + var openOnArrowDown = function openOnArrowDown(event) { + if (!isOpen && event.keyCode === external_this_wp_keycodes_["DOWN"]) { + event.preventDefault(); + event.stopPropagation(); + onToggle(); + } + }; + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + className: "components-icon-button components-toolbar__control block-library-colors-selector__toggle", + label: Object(external_this_wp_i18n_["__"])('Open Colors Selector'), + onClick: onToggle, + onKeyDown: openOnArrowDown, + icon: Object(external_this_wp_element_["createElement"])(block_colors_selector_ColorSelectorIcon, { + color: value + }) + })); + }; +}; + +var block_colors_selector_renderContent = function renderContent(_ref4) { + var value = _ref4.value, + _ref4$onChange = _ref4.onChange, + onChange = _ref4$onChange === void 0 ? external_this_lodash_["noop"] : _ref4$onChange; + return function () { + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("div", { + className: "color-palette-controller-container" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ColorPaletteControl"], { + value: value, + onChange: onChange, + label: Object(external_this_wp_i18n_["__"])('Text Color') + }))); + }; +}; + +/* harmony default export */ var block_colors_selector = (function (colorControlProps) { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], { + position: "bottom right", + className: "block-library-colors-selector", + contentClassName: "block-library-colors-selector__popover", + renderToggle: block_colors_selector_renderToggleComponent(colorControlProps), + renderContent: block_colors_selector_renderContent(colorControlProps) + }); +}); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/icons.js + + +/** + * WordPress dependencies + */ + +var justifyLeftIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + width: "20", + height: "20", + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M11 16v-3h10v-2H11V8l-4 4 4 4zM5 4H3v16h2V4z" +})); +var justifyCenterIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + width: "20", + height: "20", + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M5 8v3H1v2h4v3l4-4-4-4zm14 8v-3h4v-2h-4V8l-4 4 4 4zM13 4h-2v16h2V4z" +})); +var justifyRightIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + width: "20", + height: "20", + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M13 8v3H3v2h10v3l4-4-4-4zm8-4h-2v16h2V4z" +})); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit.js + + + +/** + * External dependencies + */ + + +/** + * WordPress dependencies + */ + + + + + + + + +/** + * Internal dependencies + */ + + + + + + +function Navigation(_ref) { + var attributes = _ref.attributes, + clientId = _ref.clientId, + pages = _ref.pages, + isRequestingPages = _ref.isRequestingPages, + hasResolvedPages = _ref.hasResolvedPages, + hasExistingNavItems = _ref.hasExistingNavItems, + updateNavItemBlocks = _ref.updateNavItemBlocks, + setAttributes = _ref.setAttributes; + + // + // HOOKS + // + + /* eslint-disable @wordpress/no-unused-vars-before-return */ + var _experimentalUseColo = Object(external_this_wp_blockEditor_["__experimentalUseColors"])([{ + name: 'textColor', + property: 'color' + }]), + TextColor = _experimentalUseColo.TextColor; + /* eslint-enable @wordpress/no-unused-vars-before-return */ + + + var _useBlockNavigator = useBlockNavigator(clientId), + navigatorToolbarButton = _useBlockNavigator.navigatorToolbarButton, + navigatorModal = _useBlockNavigator.navigatorModal; // Builds navigation links from default Pages. + + + var defaultPagesNavigationItems = Object(external_this_wp_element_["useMemo"])(function () { + if (!pages) { + return null; + } + + return pages.map(function (_ref2) { + var title = _ref2.title, + type = _ref2.type, + url = _ref2.link, + id = _ref2.id; + return Object(external_this_wp_blocks_["createBlock"])('core/navigation-link', { + type: type, + id: id, + url: url, + label: Object(external_this_lodash_["escape"])(title.rendered), + title: Object(external_this_lodash_["escape"])(title.raw), + opensInNewTab: false + }); + }); + }, [pages]); // + // HANDLERS + // + + function handleItemsAlignment(align) { + return function () { + var itemsJustification = attributes.itemsJustification === align ? undefined : align; + setAttributes({ + itemsJustification: itemsJustification + }); + }; + } + + function handleCreateEmpty() { + var emptyNavLinkBlock = Object(external_this_wp_blocks_["createBlock"])('core/navigation-link'); + updateNavItemBlocks([emptyNavLinkBlock]); + } + + function handleCreateFromExistingPages() { + updateNavItemBlocks(defaultPagesNavigationItems); + } + + var hasPages = hasResolvedPages && pages && pages.length; + var blockClassNames = classnames_default()('wp-block-navigation', Object(defineProperty["a" /* default */])({}, "items-justification-".concat(attributes.itemsJustification), attributes.itemsJustification)); // If we don't have existing items or the User hasn't + // indicated they want to automatically add top level Pages + // then show the Placeholder + + if (!hasExistingNavItems) { + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], { + className: "wp-block-navigation-placeholder", + icon: "menu", + label: Object(external_this_wp_i18n_["__"])('Navigation'), + instructions: Object(external_this_wp_i18n_["__"])('Create a Navigation from all existing pages, or create an empty one.') + }, Object(external_this_wp_element_["createElement"])("div", { + className: "wp-block-navigation-placeholder__buttons" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + isDefault: true, + className: "wp-block-navigation-placeholder__button", + onClick: handleCreateFromExistingPages, + disabled: !hasPages + }, Object(external_this_wp_i18n_["__"])('Create from all top pages')), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + isLink: true, + className: "wp-block-navigation-placeholder__button", + onClick: handleCreateEmpty + }, Object(external_this_wp_i18n_["__"])('Create empty'))))); + } // UI State: rendered Block UI + + + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], { + icon: attributes.itemsJustification ? navigation_icons_namespaceObject["justify".concat(Object(external_this_lodash_["upperFirst"])(attributes.itemsJustification), "Icon")] : justifyLeftIcon, + label: Object(external_this_wp_i18n_["__"])('Change items justification'), + isCollapsed: true, + controls: [{ + icon: justifyLeftIcon, + title: Object(external_this_wp_i18n_["__"])('Justify items left'), + isActive: 'left' === attributes.itemsJustification, + onClick: handleItemsAlignment('left') + }, { + icon: justifyCenterIcon, + title: Object(external_this_wp_i18n_["__"])('Justify items center'), + isActive: 'center' === attributes.itemsJustification, + onClick: handleItemsAlignment('center') + }, { + icon: justifyRightIcon, + title: Object(external_this_wp_i18n_["__"])('Justify items right'), + isActive: 'right' === attributes.itemsJustification, + onClick: handleItemsAlignment('right') + }] + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, navigatorToolbarButton), Object(external_this_wp_element_["createElement"])(block_colors_selector, { + value: TextColor.color, + onChange: TextColor.setColor + })), navigatorModal, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + title: Object(external_this_wp_i18n_["__"])('Navigation Structure') + }, Object(external_this_wp_element_["createElement"])(BlockNavigationList, { + clientId: clientId + }))), Object(external_this_wp_element_["createElement"])(TextColor, null, Object(external_this_wp_element_["createElement"])("div", { + className: blockClassNames + }, !hasExistingNavItems && isRequestingPages && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null), " ", Object(external_this_wp_i18n_["__"])('Loading Navigation…'), " "), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], { + allowedBlocks: ['core/navigation-link'], + templateInsertUpdatesSelection: false, + __experimentalMoverDirection: 'horizontal' + })))); +} + +/* harmony default export */ var navigation_edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, _ref3) { + var _select, _select2; + + var clientId = _ref3.clientId; + var innerBlocks = select('core/block-editor').getBlocks(clientId); + var filterDefaultPages = { + parent: 0, + order: 'asc', + orderby: 'id' + }; + var pagesSelect = ['core', 'getEntityRecords', ['postType', 'page', filterDefaultPages]]; + return { + hasExistingNavItems: !!innerBlocks.length, + pages: select('core').getEntityRecords('postType', 'page', filterDefaultPages), + isRequestingPages: (_select = select('core/data')).isResolving.apply(_select, pagesSelect), + hasResolvedPages: (_select2 = select('core/data')).hasFinishedResolution.apply(_select2, pagesSelect) + }; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref4) { + var clientId = _ref4.clientId; + return { + updateNavItemBlocks: function updateNavItemBlocks(blocks) { + dispatch('core/block-editor').replaceInnerBlocks(clientId, blocks); + } + }; +})])(Navigation)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/save.js + + +/** + * WordPress dependencies + */ + +function navigation_save_save() { + return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/index.js +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + + +var navigation_name = 'core/navigation'; +var navigation_settings = { + title: Object(external_this_wp_i18n_["__"])('Navigation'), + icon: 'menu', + description: Object(external_this_wp_i18n_["__"])('Add a navigation block to your site.'), + keywords: [Object(external_this_wp_i18n_["__"])('menu'), Object(external_this_wp_i18n_["__"])('navigation'), Object(external_this_wp_i18n_["__"])('links')], + category: 'layout', + supports: { + align: ['wide', 'full'], + anchor: true, + html: false, + inserter: true + }, + styles: [{ + name: 'light', + label: Object(external_this_wp_i18n_["__"])('Light'), + isDefault: true + }, { + name: 'dark', + label: Object(external_this_wp_i18n_["__"])('Dark') + }], + edit: navigation_edit, + save: navigation_save_save +}; + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/edit.js + + + + +/** + * External dependencies + */ + + +/** + * WordPress dependencies + */ + + + + + + + + + +/** + * It updates the link attribute when the + * link settings changes. + * + * @param {Function} setter Setter attribute function. + */ + +var edit_updateLinkSetting = function updateLinkSetting(setter) { + return function (setting, value) { + setter(Object(defineProperty["a" /* default */])({}, setting, value)); + }; +}; +/** + * Updates the link attribute when it changes + * through of the `onLinkChange` LinkControl callback. + * + * @param {Function} setter Setter attribute function. + * @param {string} label Link label. + */ + + +var edit_updateLink = function updateLink(setter, label) { + return function () { + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + _ref$title = _ref.title, + newTitle = _ref$title === void 0 ? '' : _ref$title, + _ref$url = _ref.url, + newURL = _ref$url === void 0 ? '' : _ref$url; + + setter({ + title: Object(external_this_lodash_["escape"])(newTitle), + url: newURL + }); // Set the item label as well if it isn't already defined. + + if (!label) { + setter({ + label: Object(external_this_lodash_["escape"])(newTitle) + }); + } + }; +}; + +function NavigationLinkEdit(_ref2) { + var attributes = _ref2.attributes, + hasDescendants = _ref2.hasDescendants, + isSelected = _ref2.isSelected, + isParentOfSelectedBlock = _ref2.isParentOfSelectedBlock, + setAttributes = _ref2.setAttributes, + insertLinkBlock = _ref2.insertLinkBlock; + var label = attributes.label, + opensInNewTab = attributes.opensInNewTab, + title = attributes.title, + url = attributes.url, + nofollow = attributes.nofollow, + description = attributes.description; + var link = title ? { + title: Object(external_this_lodash_["unescape"])(title), + url: url + } : null; + + var _useState = Object(external_this_wp_element_["useState"])(!label && isSelected), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + isLinkOpen = _useState2[0], + setIsLinkOpen = _useState2[1]; + + var onCloseTimerId = null; + /** + * It's a kind of hack to handle closing the LinkControl popover + * clicking on the ToolbarButton link. + */ + + Object(external_this_wp_element_["useEffect"])(function () { + if (!isSelected) { + setIsLinkOpen(false); + } + + return function () { + // Clear LinkControl.OnClose timeout. + if (onCloseTimerId) { + clearTimeout(onCloseTimerId); + } + }; + }, [isSelected]); + /** + * Opens the LinkControl popup + */ + + var openLinkControl = function openLinkControl() { + if (isLinkOpen) { + return; + } + + setIsLinkOpen(!isLinkOpen); + }; + /** + * `onKeyDown` LinkControl handler. + * It takes over to stop the event propagation to make the + * navigation work, avoiding undesired behaviors. + * For instance, it will block to move between link blocks + * when the LinkControl is focused. + * + * @param {Event} event + */ + + + var handleLinkControlOnKeyDown = function handleLinkControlOnKeyDown(event) { + var keyCode = event.keyCode; + + if ([external_this_wp_keycodes_["LEFT"], external_this_wp_keycodes_["DOWN"], external_this_wp_keycodes_["RIGHT"], external_this_wp_keycodes_["UP"], external_this_wp_keycodes_["BACKSPACE"], external_this_wp_keycodes_["ENTER"]].indexOf(keyCode) > -1) { + // Stop the key event from propagating up to ObserveTyping.startTypingInTextField. + event.stopPropagation(); + } + }; + + var itemLabelPlaceholder = Object(external_this_wp_i18n_["__"])('Add link…'); + + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["KeyboardShortcuts"], { + bindGlobal: true, + shortcuts: Object(defineProperty["a" /* default */])({}, external_this_wp_keycodes_["rawShortcut"].primary('k'), openLinkControl) + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], { + name: "link", + icon: "admin-links", + title: Object(external_this_wp_i18n_["__"])('Link'), + shortcut: external_this_wp_keycodes_["displayShortcut"].primary('k'), + onClick: openLinkControl + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], { + name: "submenu", + icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + width: "24", + height: "24" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M14 5h8v2h-8zm0 5.5h8v2h-8zm0 5.5h8v2h-8zM2 11.5C2 15.08 4.92 18 8.5 18H9v2l3-3-3-3v2h-.5C6.02 16 4 13.98 4 11.5S6.02 7 8.5 7H12V5H8.5C4.92 5 2 7.92 2 11.5z" + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fill: "none", + d: "M0 0h24v24H0z" + })), + title: Object(external_this_wp_i18n_["__"])('Add Submenu'), + onClick: insertLinkBlock + }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + title: Object(external_this_wp_i18n_["__"])('Link Settings') + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextareaControl"], { + value: description || '', + onChange: function onChange(descriptionValue) { + setAttributes({ + description: descriptionValue + }); + }, + label: Object(external_this_wp_i18n_["__"])('Description') + })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + title: Object(external_this_wp_i18n_["__"])('SEO Settings') + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { + value: title || '', + onChange: function onChange(titleValue) { + setAttributes({ + title: titleValue + }); + }, + label: Object(external_this_wp_i18n_["__"])('Title Attribute'), + help: Object(external_this_wp_i18n_["__"])('Provide more context about where the link goes.') + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { + checked: nofollow, + onChange: function onChange(nofollowValue) { + setAttributes({ + nofollow: nofollowValue + }); + }, + label: Object(external_this_wp_i18n_["__"])('Add nofollow to link'), + help: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_i18n_["__"])('Don\'t let search engines follow this link.'), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], { + className: "wp-block-navigation-link__nofollow-external-link", + href: Object(external_this_wp_i18n_["__"])('https://codex.wordpress.org/Nofollow') + }, Object(external_this_wp_i18n_["__"])('What\'s this?'))) + }))), Object(external_this_wp_element_["createElement"])("div", { + className: classnames_default()('wp-block-navigation-link', { + 'is-editing': isSelected || isParentOfSelectedBlock, + 'is-selected': isSelected, + 'has-link': !!url + }) + }, Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { + className: "wp-block-navigation-link__content", + value: label, + onChange: function onChange(labelValue) { + return setAttributes({ + label: labelValue + }); + }, + placeholder: itemLabelPlaceholder, + withoutInteractiveFormatting: true + }), isLinkOpen && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalLinkControl"], { + className: "wp-block-navigation-link__inline-link-input", + onKeyDown: handleLinkControlOnKeyDown, + onKeyPress: function onKeyPress(event) { + return event.stopPropagation(); + }, + currentLink: link, + onLinkChange: edit_updateLink(setAttributes, label), + onClose: function onClose() { + onCloseTimerId = setTimeout(function () { + return setIsLinkOpen(false); + }, 100); + }, + currentSettings: [{ + id: 'opensInNewTab', + title: Object(external_this_wp_i18n_["__"])('Open in new tab'), + checked: opensInNewTab + }], + onSettingsChange: edit_updateLinkSetting(setAttributes) + })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], { + allowedBlocks: ['core/navigation-link'], + renderAppender: hasDescendants ? external_this_wp_blockEditor_["InnerBlocks"].ButtonBlockAppender : false + }))); +} + +/* harmony default export */ var navigation_link_edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, ownProps) { + var _select = select('core/block-editor'), + getClientIdsOfDescendants = _select.getClientIdsOfDescendants, + hasSelectedInnerBlock = _select.hasSelectedInnerBlock; + + var clientId = ownProps.clientId; + return { + isParentOfSelectedBlock: hasSelectedInnerBlock(clientId, true), + hasDescendants: !!getClientIdsOfDescendants([clientId]).length + }; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, registry) { + return { + insertLinkBlock: function insertLinkBlock() { + var clientId = ownProps.clientId; + + var _dispatch = dispatch('core/block-editor'), + insertBlock = _dispatch.insertBlock; + + var _registry$select = registry.select('core/block-editor'), + getClientIdsOfDescendants = _registry$select.getClientIdsOfDescendants; + + var navItems = getClientIdsOfDescendants([clientId]); + var insertionPoint = navItems.length ? navItems.length : 0; + var blockToInsert = Object(external_this_wp_blocks_["createBlock"])('core/navigation-link'); + insertBlock(blockToInsert, insertionPoint, clientId); + } + }; +})])(NavigationLinkEdit)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/save.js + + +/** + * WordPress dependencies + */ + +function navigation_link_save_save() { + return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/index.js + + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + +var navigation_link_metadata = { + name: "core/navigation-link", + category: "layout", + attributes: { + label: { + type: "string" + }, + nofollow: { + type: "boolean", + "default": false + }, + title: { + type: "string" + }, + type: { + type: "string" + }, + description: { + type: "string" + }, + id: { + type: "number" + }, + opensInNewTab: { + type: "boolean", + "default": false + }, + url: { + type: "string" + } + } +}; + + +var navigation_link_name = navigation_link_metadata.name; + +var navigation_link_settings = { + title: Object(external_this_wp_i18n_["__"])('Navigation Link'), + parent: ['core/navigation'], + icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + width: "24", + height: "24" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M12 7.27l4.28 10.43-3.47-1.53-.81-.36-.81.36-3.47 1.53L12 7.27M12 2L4.5 20.29l.71.71L12 18l6.79 3 .71-.71L12 2z" + })), + description: Object(external_this_wp_i18n_["__"])('Add a page, link, or other item to your navigation.'), + __experimentalDisplayName: 'label', + edit: navigation_link_edit, + save: navigation_link_save_save +}; + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-comments/edit.js @@ -13760,11 +14720,11 @@ var latest_comments_settings = { }; // EXTERNAL MODULE: external {"this":["wp","apiFetch"]} -var external_this_wp_apiFetch_ = __webpack_require__(34); +var external_this_wp_apiFetch_ = __webpack_require__(37); var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_); // EXTERNAL MODULE: external {"this":["wp","date"]} -var external_this_wp_date_ = __webpack_require__(52); +var external_this_wp_date_ = __webpack_require__(54); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-posts/edit.js @@ -13983,7 +14943,7 @@ function (_Component) { var dateFormat = Object(external_this_wp_date_["__experimentalGetSettings"])().formats.date; - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, inspectorControls, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, inspectorControls, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], { controls: layoutControls })), Object(external_this_wp_element_["createElement"])("ul", { className: classnames_default()(this.props.className, Object(defineProperty["a" /* default */])({ @@ -14191,6 +15151,7 @@ function ListEdit(_ref) { className = _ref.className; var ordered = attributes.ordered, values = attributes.values, + type = attributes.type, reversed = attributes.reversed, start = attributes.start; var tagName = ordered ? 'ol' : 'ul'; @@ -14226,7 +15187,7 @@ function ListEdit(_ref) { onUse: function onUse() { onChange(Object(external_this_wp_richText_["__unstableOutdentListItems"])(value)); } - }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], { + }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], { controls: [{ icon: 'editor-ul', title: Object(external_this_wp_i18n_["__"])('Convert to unordered list'), @@ -14261,6 +15222,7 @@ function ListEdit(_ref) { icon: 'editor-outdent', title: Object(external_this_wp_i18n_["__"])('Outdent list item'), shortcut: Object(external_this_wp_i18n_["_x"])('Backspace', 'keyboard key'), + isDisabled: !Object(external_this_wp_richText_["__unstableCanOutdentListItems"])(value), onClick: function onClick() { onChange(Object(external_this_wp_richText_["__unstableOutdentListItems"])(value)); } @@ -14268,6 +15230,7 @@ function ListEdit(_ref) { icon: 'editor-indent', title: Object(external_this_wp_i18n_["__"])('Indent list item'), shortcut: Object(external_this_wp_i18n_["_x"])('Space', 'keyboard key'), + isDisabled: !Object(external_this_wp_richText_["__unstableCanIndentListItems"])(value), onClick: function onClick() { onChange(Object(external_this_wp_richText_["__unstableIndentListItems"])(value, { type: tagName @@ -14287,7 +15250,6 @@ function ListEdit(_ref) { }); }, value: values, - wrapperClassName: "block-library-list", className: className, placeholder: Object(external_this_wp_i18n_["__"])('Write list…'), onMerge: mergeBlocks, @@ -14304,7 +15266,8 @@ function ListEdit(_ref) { return onReplace([]); }, start: start, - reversed: reversed + reversed: reversed, + type: type }, controls), ordered && Object(external_this_wp_element_["createElement"])(ordered_list_settings, { setAttributes: setAttributes, ordered: ordered, @@ -14338,12 +15301,14 @@ function list_save_save(_ref) { var attributes = _ref.attributes; var ordered = attributes.ordered, values = attributes.values, + type = attributes.type, reversed = attributes.reversed, start = attributes.start; var tagName = ordered ? 'ol' : 'ul'; return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, { tagName: tagName, value: values, + type: type, reversed: reversed, start: start, multiline: "li" @@ -14363,7 +15328,7 @@ function list_save_save(_ref) { var listContentSchema = Object(objectSpread["a" /* default */])({}, Object(external_this_wp_blocks_["getPhrasingContentSchema"])(), { ul: {}, ol: { - attributes: ['type'] + attributes: ['type', 'start', 'reversed'] } }); // Recursion is needed. // Possible: ul > li > ul. @@ -14426,9 +15391,30 @@ var list_transforms_transforms = { ul: listContentSchema.ul }, transform: function transform(node) { - return Object(external_this_wp_blocks_["createBlock"])('core/list', Object(objectSpread["a" /* default */])({}, Object(external_this_wp_blocks_["getBlockAttributes"])('core/list', node.outerHTML), { + var attributes = { ordered: node.nodeName === 'OL' - })); + }; + + if (attributes.ordered) { + var type = node.getAttribute('type'); + + if (type) { + attributes.type = type; + } + + if (node.getAttribute('reversed') !== null) { + attributes.reversed = true; + } + + var start = parseInt(node.getAttribute('start'), 10); + + if (!isNaN(start) && ( // start=1 only makes sense if the list is reversed. + start !== 1 || attributes.reversed)) { + attributes.start = start; + } + } + + return Object(external_this_wp_blocks_["createBlock"])('core/list', Object(objectSpread["a" /* default */])({}, Object(external_this_wp_blocks_["getBlockAttributes"])('core/list', node.outerHTML), attributes)); } }].concat(Object(toConsumableArray["a" /* default */])(['*', '-'].map(function (prefix) { return { @@ -14518,6 +15504,9 @@ var list_metadata = { __unstableMultilineWrapperTags: ["ol", "ul"], "default": "" }, + type: { + type: "string" + }, start: { type: "number" }, @@ -15009,22 +15998,22 @@ function PreformattedEdit(_ref) { var attributes = _ref.attributes, mergeBlocks = _ref.mergeBlocks, setAttributes = _ref.setAttributes, - className = _ref.className; + className = _ref.className, + style = _ref.style; var content = attributes.content; return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { - tagName: "pre" // Ensure line breaks are normalised to HTML. - , - value: content.replace(/\n/g, '
'), + tagName: "pre", + identifier: "content", + preserveWhiteSpace: true, + value: content, onChange: function onChange(nextContent) { setAttributes({ - // Ensure line breaks are normalised to characters. This - // saves space, is easier to read, and ensures display - // filters work correctly. - content: nextContent.replace(/
/g, '\n') + content: nextContent }); }, placeholder: Object(external_this_wp_i18n_["__"])('Write preformatted text…'), - wrapperClassName: className, + className: className, + style: style, onMerge: mergeBlocks }); } @@ -15137,7 +16126,8 @@ var preformatted_metadata = { type: "string", source: "html", selector: "pre", - "default": "" + "default": "", + __unstablePreserveWhiteSpace: true } } }; @@ -15564,8 +16554,7 @@ function (_Component) { }); }, placeholder: // translators: placeholder text used for the quote - Object(external_this_wp_i18n_["__"])('Write quote…'), - wrapperClassName: "block-library-pullquote__content" + Object(external_this_wp_i18n_["__"])('Write quote…') }), (!external_this_wp_blockEditor_["RichText"].isEmpty(citation) || isSelected) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { value: citation, placeholder: // translators: placeholder text used for the citation @@ -15889,30 +16878,6 @@ function (_Component) { /* harmony default export */ var edit_panel = (Object(external_this_wp_compose_["withInstanceId"])(edit_panel_ReusableBlockEditPanel)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/block/indicator/index.js - - -/** - * WordPress dependencies - */ - - - -function ReusableBlockIndicator(_ref) { - var title = _ref.title; - // translators: %s: title/name of the reusable block - var tooltipText = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Reusable Block: %s'), title); - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Tooltip"], { - text: tooltipText - }, Object(external_this_wp_element_["createElement"])("span", { - className: "reusable-block-indicator" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dashicon"], { - icon: "controls-repeat" - }))); -} - -/* harmony default export */ var indicator = (ReusableBlockIndicator); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/block/edit.js @@ -15943,7 +16908,6 @@ function ReusableBlockIndicator(_ref) { - var edit_ReusableBlockEdit = /*#__PURE__*/ function (_Component) { @@ -16094,8 +17058,6 @@ function (_Component) { onChangeTitle: this.setTitle, onSave: this.save, onCancel: this.stopEditing - }), !isSelected && !isEditing && Object(external_this_wp_element_["createElement"])(indicator, { - title: reusableBlock.title }), element); } }]); @@ -16290,7 +17252,7 @@ function (_Component) { }, isActive: blockLayout === 'grid' }]; - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], { controls: toolbarControls })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { title: Object(external_this_wp_i18n_["__"])('RSS Settings') @@ -16398,7 +17360,7 @@ function SearchEdit(_ref) { return Object(external_this_wp_element_["createElement"])("div", { className: className }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { - wrapperClassName: "wp-block-search__label", + className: "wp-block-search__label", "aria-label": Object(external_this_wp_i18n_["__"])('Label text'), placeholder: Object(external_this_wp_i18n_["__"])('Add label…'), withoutInteractiveFormatting: true, @@ -16422,8 +17384,7 @@ function SearchEdit(_ref) { }); } }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { - wrapperClassName: "wp-block-search__button", - className: "wp-block-search__button-rich-text", + className: "wp-block-search__button", "aria-label": Object(external_this_wp_i18n_["__"])('Button text'), placeholder: Object(external_this_wp_i18n_["__"])('Add button text…'), withoutInteractiveFormatting: true, @@ -16714,9 +17675,9 @@ var group_settings = { var alignments = ['wide', 'full']; // Determine the widest setting of all the blocks to be grouped - var widestAlignment = blocks.reduce(function (result, block) { + var widestAlignment = blocks.reduce(function (accumulator, block) { var align = block.attributes.align; - return alignments.indexOf(align) > alignments.indexOf(result) ? align : result; + return alignments.indexOf(align) > alignments.indexOf(accumulator) ? align : accumulator; }, undefined); // Clone the Blocks to be Grouped // Failing to create new block references causes the original blocks // to be replaced in the switchToBlockType call thereby meaning they @@ -16737,6 +17698,30 @@ var group_settings = { deprecated: group_deprecated }; +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/separator-settings.js + + +/** + * WordPress dependencies + */ + + + +var separator_settings_SeparatorSettings = function SeparatorSettings(_ref) { + var color = _ref.color, + setColor = _ref.setColor; + return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], { + title: Object(external_this_wp_i18n_["__"])('Color Settings'), + colorSettings: [{ + value: color.color, + onChange: setColor, + label: Object(external_this_wp_i18n_["__"])('Color') + }] + })); +}; + +/* harmony default export */ var separator_settings = (separator_settings_SeparatorSettings); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/edit.js @@ -16751,6 +17736,10 @@ var group_settings = { +/** + * Internal dependencies + */ + function SeparatorEdit(_ref) { @@ -16765,14 +17754,10 @@ function SeparatorEdit(_ref) { backgroundColor: color.color, color: color.color } - }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], { - title: Object(external_this_wp_i18n_["__"])('Color Settings'), - colorSettings: [{ - value: color.color, - onChange: setColor, - label: Object(external_this_wp_i18n_["__"])('Color') - }] - }))); + }), Object(external_this_wp_element_["createElement"])(separator_settings, { + color: color, + setColor: setColor + })); } /* harmony default export */ var separator_edit = (Object(external_this_wp_blockEditor_["withColors"])('color', { @@ -16883,7 +17868,7 @@ var separator_metadata = { var separator_name = separator_metadata.name; -var separator_settings = { +var build_module_separator_settings = { title: Object(external_this_wp_i18n_["__"])('Separator'), description: Object(external_this_wp_i18n_["__"])('Create a break between ideas or sections with a horizontal separator.'), icon: separator_icon, @@ -17202,7 +18187,7 @@ var spacer_settings = { }; // EXTERNAL MODULE: external {"this":["wp","deprecated"]} -var external_this_wp_deprecated_ = __webpack_require__(37); +var external_this_wp_deprecated_ = __webpack_require__(35); var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_deprecated_); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/subhead/edit.js @@ -17282,12 +18267,12 @@ function subhead_save_save(_ref) { }); } -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/subhead/tranforms.js +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/subhead/transforms.js /** * WordPress dependencies */ -var tranforms_transforms = { +var subhead_transforms_transforms = { to: [{ type: 'block', blocks: ['core/paragraph'], @@ -17296,7 +18281,7 @@ var tranforms_transforms = { } }] }; -/* harmony default export */ var tranforms = (tranforms_transforms); +/* harmony default export */ var subhead_transforms = (subhead_transforms_transforms); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/subhead/index.js /** @@ -17336,7 +18321,7 @@ var subhead_settings = { inserter: false, multiple: false }, - transforms: tranforms, + transforms: subhead_transforms, edit: SubheadEdit, save: subhead_save_save }; @@ -17353,133 +18338,109 @@ var subhead_settings = { */ -/** - * Internal dependencies - */ - -var deprecated_metadata = { - name: "core/table", - category: "formatting", +var table_deprecated_supports = { + align: true +}; +var table_deprecated_deprecated = [{ attributes: { hasFixedLayout: { - type: "boolean", - "default": false + type: 'boolean', + default: false }, backgroundColor: { - type: "string" + type: 'string' }, head: { - type: "array", - "default": [], - source: "query", - selector: "thead tr", + type: 'array', + default: [], + source: 'query', + selector: 'thead tr', query: { cells: { - type: "array", - "default": [], - source: "query", - selector: "td,th", + type: 'array', + default: [], + source: 'query', + selector: 'td,th', query: { content: { - type: "string", - source: "html" + type: 'string', + source: 'html' }, tag: { - type: "string", - "default": "td", - source: "tag" + type: 'string', + default: 'td', + source: 'tag' }, scope: { - type: "string", - source: "attribute", - attribute: "scope" - }, - align: { - type: "string", - source: "attribute", - attribute: "data-align" + type: 'string', + source: 'attribute', + attribute: 'scope' } } } } }, body: { - type: "array", - "default": [], - source: "query", - selector: "tbody tr", + type: 'array', + default: [], + source: 'query', + selector: 'tbody tr', query: { cells: { - type: "array", - "default": [], - source: "query", - selector: "td,th", + type: 'array', + default: [], + source: 'query', + selector: 'td,th', query: { content: { - type: "string", - source: "html" + type: 'string', + source: 'html' }, tag: { - type: "string", - "default": "td", - source: "tag" + type: 'string', + default: 'td', + source: 'tag' }, scope: { - type: "string", - source: "attribute", - attribute: "scope" - }, - align: { - type: "string", - source: "attribute", - attribute: "data-align" + type: 'string', + source: 'attribute', + attribute: 'scope' } } } } }, foot: { - type: "array", - "default": [], - source: "query", - selector: "tfoot tr", + type: 'array', + default: [], + source: 'query', + selector: 'tfoot tr', query: { cells: { - type: "array", - "default": [], - source: "query", - selector: "td,th", + type: 'array', + default: [], + source: 'query', + selector: 'td,th', query: { content: { - type: "string", - source: "html" + type: 'string', + source: 'html' }, tag: { - type: "string", - "default": "td", - source: "tag" + type: 'string', + default: 'td', + source: 'tag' }, scope: { - type: "string", - source: "attribute", - attribute: "scope" - }, - align: { - type: "string", - source: "attribute", - attribute: "data-align" + type: 'string', + source: 'attribute', + attribute: 'scope' } } } } } - } -}; -var table_deprecated_supports = { - align: true -}; -var table_deprecated_deprecated = [{ - attributes: deprecated_metadata.attributes, + }, supports: table_deprecated_supports, save: function save(_ref) { var attributes = _ref.attributes; @@ -18351,7 +19312,6 @@ function (_Component) { } var Tag = "t".concat(name); - var selectedCell = this.state.selectedCell; return Object(external_this_wp_element_["createElement"])(Tag, null, rows.map(function (_ref2, rowIndex) { var cells = _ref2.cells; return Object(external_this_wp_element_["createElement"])("tr", { @@ -18366,30 +19326,16 @@ function (_Component) { rowIndex: rowIndex, columnIndex: columnIndex }; - var isSelected = isCellSelected(cellLocation, selectedCell); - var cellClasses = classnames_default()(Object(defineProperty["a" /* default */])({ - 'is-selected': isSelected - }, "has-text-align-".concat(align), align)); - var richTextClassName = 'wp-block-table__cell-content'; - return Object(external_this_wp_element_["createElement"])(CellTag, { + var cellClasses = classnames_default()(Object(defineProperty["a" /* default */])({}, "has-text-align-".concat(align), align), 'wp-block-table__cell-content'); + return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { + tagName: CellTag, key: columnIndex, className: cellClasses, scope: CellTag === 'th' ? scope : undefined, - onClick: function onClick(event) { - // When a cell is selected, forward focus to the child RichText. This solves an issue where the - // user may click inside a cell, but outside of the RichText, resulting in nothing happening. - var richTextElement = event && event.target && event.target.querySelector(".".concat(richTextClassName)); - - if (richTextElement) { - richTextElement.focus(); - } - } - }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { - className: richTextClassName, value: content, onChange: _this3.onChange, unstableOnFocus: _this3.createOnFocus(cellLocation) - })); + }); })); })); } @@ -18414,11 +19360,13 @@ function (_Component) { attributes = _this$props10.attributes, className = _this$props10.className, backgroundColor = _this$props10.backgroundColor, - setBackgroundColor = _this$props10.setBackgroundColor; + setBackgroundColor = _this$props10.setBackgroundColor, + setAttributes = _this$props10.setAttributes; var _this$state2 = this.state, initialRowCount = _this$state2.initialRowCount, initialColumnCount = _this$state2.initialColumnCount; var hasFixedLayout = attributes.hasFixedLayout, + caption = attributes.caption, head = attributes.head, body = attributes.body, foot = attributes.foot; @@ -18462,7 +19410,7 @@ function (_Component) { 'has-fixed-layout': hasFixedLayout, 'has-background': !!backgroundColor.color }); - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropdownMenu"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropdownMenu"], { hasArrowIndicator: true, icon: "editor-table", label: Object(external_this_wp_i18n_["__"])('Edit table'), @@ -18513,7 +19461,22 @@ function (_Component) { }), Object(external_this_wp_element_["createElement"])(Section, { name: "foot", rows: foot - })))); + })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { + tagName: "figcaption", + placeholder: Object(external_this_wp_i18n_["__"])('Write caption…'), + value: caption, + onChange: function onChange(value) { + return setAttributes({ + caption: value + }); + } // Deselect the selected table cell when the caption is focused. + , + unstableOnFocus: function unstableOnFocus() { + return _this4.setState({ + selectedCell: null + }); + } + }))); } }]); @@ -18540,7 +19503,8 @@ function table_save_save(_ref) { head = attributes.head, body = attributes.body, foot = attributes.foot, - backgroundColor = attributes.backgroundColor; + backgroundColor = attributes.backgroundColor, + caption = attributes.caption; var isEmpty = !head.length && !body.length && !foot.length; if (isEmpty) { @@ -18552,6 +19516,7 @@ function table_save_save(_ref) { 'has-fixed-layout': hasFixedLayout, 'has-background': !!backgroundClass }); + var hasCaption = !external_this_wp_blockEditor_["RichText"].isEmpty(caption); var Section = function Section(_ref2) { var type = _ref2.type, @@ -18585,7 +19550,7 @@ function table_save_save(_ref) { }; return Object(external_this_wp_element_["createElement"])("figure", null, Object(external_this_wp_element_["createElement"])("table", { - className: classes + className: classes === '' ? undefined : classes }, Object(external_this_wp_element_["createElement"])(Section, { type: "head", rows: head @@ -18595,7 +19560,10 @@ function table_save_save(_ref) { }), Object(external_this_wp_element_["createElement"])(Section, { type: "foot", rows: foot - }))); + })), hasCaption && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, { + tagName: "figcaption", + value: caption + })); } // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/transforms.js @@ -18669,6 +19637,12 @@ var table_metadata = { backgroundColor: { type: "string" }, + caption: { + type: "string", + source: "html", + selector: "figcaption", + "default": "" + }, head: { type: "array", "default": [], @@ -18948,12 +19922,12 @@ function text_columns_save_save(_ref) { })); } -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/text-columns/tranforms.js +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/text-columns/transforms.js /** * WordPress dependencies */ -var text_columns_tranforms_transforms = { +var text_columns_transforms_transforms = { to: [{ type: 'block', blocks: ['core/columns'], @@ -18975,7 +19949,7 @@ var text_columns_tranforms_transforms = { } }] }; -/* harmony default export */ var text_columns_tranforms = (text_columns_tranforms_transforms); +/* harmony default export */ var text_columns_transforms = (text_columns_transforms_transforms); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/text-columns/index.js /** @@ -19024,7 +19998,7 @@ var text_columns_settings = { }, title: Object(external_this_wp_i18n_["__"])('Text Columns (deprecated)'), description: Object(external_this_wp_i18n_["__"])('This block is deprecated. Please use the Columns block instead.'), - transforms: text_columns_tranforms, + transforms: text_columns_transforms, getEditWrapperProps: function getEditWrapperProps(attributes) { var width = attributes.width; @@ -19103,6 +20077,7 @@ function VerseEdit(_ref) { } })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { tagName: "pre", + preserveWhiteSpace: true, value: content, onChange: function onChange(nextContent) { setAttributes({ @@ -19110,8 +20085,7 @@ function VerseEdit(_ref) { }); }, placeholder: Object(external_this_wp_i18n_["__"])('Write…'), - wrapperClassName: className, - className: classnames_default()(Object(defineProperty["a" /* default */])({}, "has-text-align-".concat(textAlign), textAlign)), + className: classnames_default()(className, Object(defineProperty["a" /* default */])({}, "has-text-align-".concat(textAlign), textAlign)), onMerge: mergeBlocks })); } @@ -19155,12 +20129,12 @@ function verse_save_save(_ref) { }); } -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/tranforms.js +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/transforms.js /** * WordPress dependencies */ -var verse_tranforms_transforms = { +var verse_transforms_transforms = { from: [{ type: 'block', blocks: ['core/paragraph'], @@ -19176,7 +20150,7 @@ var verse_tranforms_transforms = { } }] }; -/* harmony default export */ var verse_tranforms = (verse_tranforms_transforms); +/* harmony default export */ var verse_transforms = (verse_transforms_transforms); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/index.js /** @@ -19198,7 +20172,8 @@ var verse_metadata = { type: "string", source: "html", selector: "pre", - "default": "" + "default": "", + __unstablePreserveWhiteSpace: true }, textAlign: { type: "string" @@ -19215,11 +20190,12 @@ var verse_settings = { icon: verse_icon, example: { attributes: { - content: Object(external_this_wp_i18n_["__"])('WHAT was he doing, the great god Pan,') + '
' + Object(external_this_wp_i18n_["__"])(' Down in the reeds by the river?') + '
' + Object(external_this_wp_i18n_["__"])('Spreading ruin and scattering ban,') + '
' + Object(external_this_wp_i18n_["__"])('Splashing and paddling with hoofs of a goat,') + '
' + Object(external_this_wp_i18n_["__"])('And breaking the golden lilies afloat') + '
' + Object(external_this_wp_i18n_["__"])(' With the dragon-fly on the river.') + // translators: Sample content for the Verse block. Can be replaced with a locale-appropriate work. + content: Object(external_this_wp_i18n_["__"])('WHAT was he doing, the great god Pan,\n Down in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n With the dragon-fly on the river.') } }, keywords: [Object(external_this_wp_i18n_["__"])('poetry')], - transforms: verse_tranforms, + transforms: verse_transforms, deprecated: verse_deprecated, merge: function merge(attributes, attributesToMerge) { return { @@ -19247,10 +20223,83 @@ var verse_settings = { d: "M4 6.47L5.76 10H20v8H4V6.47M22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4z" }))); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/edit.js +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/edit-common-settings.js +/** + * WordPress dependencies + */ + + + +var edit_common_settings_VideoSettings = function VideoSettings(_ref) { + var setAttributes = _ref.setAttributes, + attributes = _ref.attributes; + var autoplay = attributes.autoplay, + controls = attributes.controls, + loop = attributes.loop, + muted = attributes.muted, + playsInline = attributes.playsInline, + preload = attributes.preload; + + var getAutoplayHelp = function getAutoplayHelp(checked) { + return checked ? Object(external_this_wp_i18n_["__"])('Note: Autoplaying videos may cause usability issues for some visitors.') : null; + }; + + var toggleAttribute = function toggleAttribute(attribute) { + return function (newValue) { + setAttributes(Object(defineProperty["a" /* default */])({}, attribute, newValue)); + }; + }; + + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { + label: Object(external_this_wp_i18n_["__"])('Autoplay'), + onChange: toggleAttribute('autoplay'), + checked: autoplay, + help: getAutoplayHelp + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { + label: Object(external_this_wp_i18n_["__"])('Loop'), + onChange: toggleAttribute('loop'), + checked: loop + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { + label: Object(external_this_wp_i18n_["__"])('Muted'), + onChange: toggleAttribute('muted'), + checked: muted + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { + label: Object(external_this_wp_i18n_["__"])('Playback Controls'), + onChange: toggleAttribute('controls'), + checked: controls + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { + label: Object(external_this_wp_i18n_["__"])('Play inline'), + onChange: toggleAttribute('playsInline'), + checked: playsInline + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], { + label: Object(external_this_wp_i18n_["__"])('Preload'), + value: preload, + onChange: function onChange(value) { + return setAttributes({ + preload: value + }); + }, + options: [{ + value: 'auto', + label: Object(external_this_wp_i18n_["__"])('Auto') + }, { + value: 'metadata', + label: Object(external_this_wp_i18n_["__"])('Metadata') + }, { + value: 'none', + label: Object(external_this_wp_i18n_["__"])('None') + }] + })); +}; + +/* harmony default export */ var edit_common_settings = (edit_common_settings_VideoSettings); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/edit.js + + @@ -19274,6 +20323,7 @@ var verse_settings = { + var video_edit_ALLOWED_MEDIA_TYPES = ['video']; var VIDEO_POSTER_ALLOWED_MEDIA_TYPES = ['image']; @@ -19295,7 +20345,6 @@ function (_Component) { }; _this.videoPlayer = Object(external_this_wp_element_["createRef"])(); _this.posterImageButton = Object(external_this_wp_element_["createRef"])(); - _this.toggleAttribute = _this.toggleAttribute.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onSelectURL = _this.onSelectURL.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onSelectPoster = _this.onSelectPoster.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onRemovePoster = _this.onRemovePoster.bind(Object(assertThisInitialized["a" /* default */])(_this)); @@ -19350,15 +20399,6 @@ function (_Component) { this.videoPlayer.current.load(); } } - }, { - key: "toggleAttribute", - value: function toggleAttribute(attribute) { - var _this3 = this; - - return function (newValue) { - _this3.props.setAttributes(Object(defineProperty["a" /* default */])({}, attribute, newValue)); - }; - } }, { key: "onSelectURL", value: function onSelectURL(newSrc) { @@ -19416,36 +20456,27 @@ function (_Component) { noticeOperations.removeAllNotices(); noticeOperations.createErrorNotice(message); } - }, { - key: "getAutoplayHelp", - value: function getAutoplayHelp(checked) { - return checked ? Object(external_this_wp_i18n_["__"])('Note: Autoplaying videos may cause usability issues for some visitors.') : null; - } }, { key: "render", value: function render() { - var _this4 = this; + var _this3 = this; var _this$props$attribute = this.props.attributes, - autoplay = _this$props$attribute.autoplay, caption = _this$props$attribute.caption, controls = _this$props$attribute.controls, - loop = _this$props$attribute.loop, - muted = _this$props$attribute.muted, - playsInline = _this$props$attribute.playsInline, poster = _this$props$attribute.poster, - preload = _this$props$attribute.preload, src = _this$props$attribute.src; var _this$props3 = this.props, className = _this$props3.className, instanceId = _this$props3.instanceId, isSelected = _this$props3.isSelected, noticeUI = _this$props3.noticeUI, + attributes = _this$props3.attributes, setAttributes = _this$props3.setAttributes; var editing = this.state.editing; var switchToEditing = function switchToEditing() { - _this4.setState({ + _this3.setState({ editing: true }); }; @@ -19469,7 +20500,7 @@ function (_Component) { id: media.id }); - _this4.setState({ + _this3.setState({ src: media.url, editing: false }); @@ -19492,52 +20523,16 @@ function (_Component) { } var videoPosterDescription = "video-block__poster-image-description-".concat(instanceId); - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { className: "components-icon-button components-toolbar__control", label: Object(external_this_wp_i18n_["__"])('Edit video'), onClick: switchToEditing, icon: "edit" }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { title: Object(external_this_wp_i18n_["__"])('Video Settings') - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { - label: Object(external_this_wp_i18n_["__"])('Autoplay'), - onChange: this.toggleAttribute('autoplay'), - checked: autoplay, - help: this.getAutoplayHelp - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { - label: Object(external_this_wp_i18n_["__"])('Loop'), - onChange: this.toggleAttribute('loop'), - checked: loop - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { - label: Object(external_this_wp_i18n_["__"])('Muted'), - onChange: this.toggleAttribute('muted'), - checked: muted - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { - label: Object(external_this_wp_i18n_["__"])('Playback Controls'), - onChange: this.toggleAttribute('controls'), - checked: controls - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { - label: Object(external_this_wp_i18n_["__"])('Play inline'), - onChange: this.toggleAttribute('playsInline'), - checked: playsInline - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], { - label: Object(external_this_wp_i18n_["__"])('Preload'), - value: preload, - onChange: function onChange(value) { - return setAttributes({ - preload: value - }); - }, - options: [{ - value: 'auto', - label: Object(external_this_wp_i18n_["__"])('Auto') - }, { - value: 'metadata', - label: Object(external_this_wp_i18n_["__"])('Metadata') - }, { - value: 'none', - label: Object(external_this_wp_i18n_["__"])('None') - }] + }, Object(external_this_wp_element_["createElement"])(edit_common_settings, { + setAttributes: setAttributes, + attributes: attributes }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUploadCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], { className: "editor-video-poster-control" }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"].VisualLabel, null, Object(external_this_wp_i18n_["__"])('Poster Image')), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], { @@ -19549,9 +20544,9 @@ function (_Component) { return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { isDefault: true, onClick: open, - ref: _this4.posterImageButton, + ref: _this3.posterImageButton, "aria-describedby": videoPosterDescription - }, !_this4.props.attributes.poster ? Object(external_this_wp_i18n_["__"])('Select Poster Image') : Object(external_this_wp_i18n_["__"])('Replace image')); + }, !_this3.props.attributes.poster ? Object(external_this_wp_i18n_["__"])('Select Poster Image') : Object(external_this_wp_i18n_["__"])('Replace image')); } }), Object(external_this_wp_element_["createElement"])("p", { id: videoPosterDescription, @@ -19589,10 +20584,10 @@ function (_Component) { getSettings = _select.getSettings; var _getSettings = getSettings(), - __experimentalMediaUpload = _getSettings.__experimentalMediaUpload; + mediaUpload = _getSettings.mediaUpload; return { - mediaUpload: __experimentalMediaUpload + mediaUpload: mediaUpload }; }), external_this_wp_components_["withNotices"], external_this_wp_compose_["withInstanceId"]])(edit_VideoEdit)); @@ -19629,13 +20624,13 @@ function video_save_save(_ref) { })); } -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/tranforms.js +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/transforms.js /** * WordPress dependencies */ -var video_tranforms_transforms = { +var video_transforms_transforms = { from: [{ type: 'files', isMatch: function isMatch(files) { @@ -19699,7 +20694,7 @@ var video_tranforms_transforms = { } }] }; -/* harmony default export */ var video_tranforms = (video_tranforms_transforms); +/* harmony default export */ var video_transforms = (video_transforms_transforms); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/index.js /** @@ -19785,7 +20780,7 @@ var video_settings = { description: Object(external_this_wp_i18n_["__"])('Embed a video from your media library or upload a new one.'), icon: video_icon, keywords: [Object(external_this_wp_i18n_["__"])('movie')], - transforms: video_tranforms, + transforms: video_transforms, supports: { align: true }, @@ -20355,6 +21350,11 @@ var classic_settings = { + + + + + // Full Site Editing Blocks @@ -20397,9 +21397,9 @@ var build_module_registerBlock = function registerBlock(block) { var build_module_registerCoreBlocks = function registerCoreBlocks() { [// Common blocks are grouped at the top to prioritize their display // in various contexts — like the inserter and auto-complete components. - paragraph_namespaceObject, image_namespaceObject, heading_namespaceObject, gallery_namespaceObject, list_namespaceObject, quote_namespaceObject, // Register all remaining core blocks. + paragraph_namespaceObject, image_namespaceObject, heading_namespaceObject, build_module_gallery_namespaceObject, list_namespaceObject, quote_namespaceObject, // Register all remaining core blocks. shortcode_namespaceObject, archives_namespaceObject, audio_namespaceObject, button_namespaceObject, calendar_namespaceObject, categories_namespaceObject, code_namespaceObject, columns_namespaceObject, column_namespaceObject, cover_namespaceObject, embed_namespaceObject].concat(Object(toConsumableArray["a" /* default */])(embed_common), Object(toConsumableArray["a" /* default */])(embed_others), [file_namespaceObject, group_namespaceObject, window.wp && window.wp.oldEditor ? classic_namespaceObject : null, // Only add the classic block in WP Context - html_namespaceObject, media_text_namespaceObject, latest_comments_namespaceObject, latest_posts_namespaceObject, missing_namespaceObject, more_namespaceObject, nextpage_namespaceObject, preformatted_namespaceObject, pullquote_namespaceObject, rss_namespaceObject, search_namespaceObject, separator_namespaceObject, block_namespaceObject, spacer_namespaceObject, subhead_namespaceObject, table_namespaceObject, tag_cloud_namespaceObject, text_columns_namespaceObject, verse_namespaceObject, video_namespaceObject]).forEach(build_module_registerBlock); + html_namespaceObject, media_text_namespaceObject, latest_comments_namespaceObject, latest_posts_namespaceObject, missing_namespaceObject, more_namespaceObject, navigation_namespaceObject, navigation_link_namespaceObject, nextpage_namespaceObject, preformatted_namespaceObject, pullquote_namespaceObject, rss_namespaceObject, search_namespaceObject, separator_namespaceObject, block_namespaceObject, spacer_namespaceObject, subhead_namespaceObject, table_namespaceObject, tag_cloud_namespaceObject, text_columns_namespaceObject, verse_namespaceObject, video_namespaceObject]).forEach(build_module_registerBlock); Object(external_this_wp_blocks_["setDefaultBlockName"])(paragraph_name); if (window.wp && window.wp.oldEditor) { @@ -20428,41 +21428,12 @@ var build_module_registerCoreBlocks = function registerCoreBlocks() { var __experimentalRegisterExperimentalCoreBlocks = false ? undefined : undefined; -/***/ }), - -/***/ 35: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["blob"]; }()); - /***/ }), /***/ 37: /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["deprecated"]; }()); - -/***/ }), - -/***/ 38: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); -function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; -} - -/***/ }), - -/***/ 39: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); -function _nonIterableRest() { - throw new TypeError("Invalid attempt to destructure non-iterable instance"); -} +(function() { module.exports = this["wp"]["apiFetch"]; }()); /***/ }), @@ -20473,14 +21444,29 @@ function _nonIterableRest() { /***/ }), -/***/ 42: -/***/ (function(module, exports) { +/***/ 40: +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["wp"]["viewport"]; }()); +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} /***/ }), -/***/ 44: +/***/ 42: /***/ (function(module, exports, __webpack_require__) { module.exports = function memize( fn, options ) { @@ -20598,14 +21584,7 @@ module.exports = function memize( fn, options ) { /***/ }), -/***/ 45: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["a11y"]; }()); - -/***/ }), - -/***/ 47: +/***/ 48: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.1 @@ -21807,6 +22786,41 @@ else {} /***/ }), /***/ 5: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["blockEditor"]; }()); + +/***/ }), + +/***/ 50: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["viewport"]; }()); + +/***/ }), + +/***/ 54: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["date"]; }()); + +/***/ }), + +/***/ 58: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["serverSideRender"]; }()); + +/***/ }), + +/***/ 59: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["escapeHtml"]; }()); + +/***/ }), + +/***/ 6: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -21821,28 +22835,7 @@ function _assertThisInitialized(self) { /***/ }), -/***/ 52: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["date"]; }()); - -/***/ }), - -/***/ 57: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["serverSideRender"]; }()); - -/***/ }), - -/***/ 6: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["blockEditor"]; }()); - -/***/ }), - -/***/ 64: +/***/ 61: /***/ (function(module, exports) { var g; @@ -21867,6 +22860,13 @@ try { module.exports = g; +/***/ }), + +/***/ 62: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["coreData"]; }()); + /***/ }), /***/ 68: @@ -21997,12 +22997,12 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(source); + var ownKeys = Object.keys(Object(source)); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -22027,7 +23027,7 @@ function _objectSpread(target) { /***/ }), -/***/ 81: +/***/ 84: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -22054,8 +23054,8 @@ function _objectSpread(target) { -var punycode = __webpack_require__(122); -var util = __webpack_require__(124); +var punycode = __webpack_require__(120); +var util = __webpack_require__(122); exports.parse = urlParse; exports.resolve = urlResolve; @@ -22130,7 +23130,7 @@ var protocolPattern = /^([a-z0-9.+-]+:)/i, 'gopher:': true, 'file:': true }, - querystring = __webpack_require__(125); + querystring = __webpack_require__(123); function urlParse(url, parseQueryString, slashesDenoteHost) { if (url && util.isObject(url) && url instanceof Url) return url; @@ -22765,19 +23765,27 @@ Url.prototype.parseHost = function() { }; -/***/ }), - -/***/ 88: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["coreData"]; }()); - /***/ }), /***/ 9: -/***/ (function(module, exports) { +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["wp"]["blocks"]; }()); +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} /***/ }) diff --git a/wp-includes/js/dist/block-library.min.js b/wp-includes/js/dist/block-library.min.js index 0b1b079644..5d94842309 100644 --- a/wp-includes/js/dist/block-library.min.js +++ b/wp-includes/js/dist/block-library.min.js @@ -1,14 +1,14 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.blockLibrary=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=341)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},11:function(e,t,n){"use strict";function r(e,t){for(var n=0;n= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=s-u,_=Math.floor,k=String.fromCharCode;function C(e){throw RangeError(j[e])}function w(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+w((e=e.replace(O,".")).split("."),t).join(".")}function x(e){for(var t,n,r=[],o=0,a=e.length;o=55296&&t<=56319&&o65535&&(t+=k((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=k(e)})).join("")}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function N(e,t,n){var r=0;for(e=n?_(e/d):e>>1,e+=_(e/t);e>y*b>>1;r+=s)e=_(e/y);return _(r+(y+1)*e/(e+m))}function R(e){var t,n,r,o,a,c,i,m,d,f,v,O=[],j=e.length,y=0,k=p,w=h;for((n=e.lastIndexOf(g))<0&&(n=0),r=0;r=128&&C("not-basic"),O.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=j&&C("invalid-input"),((m=(v=e.charCodeAt(o++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:s)>=s||m>_((l-y)/c))&&C("overflow"),y+=m*c,!(m<(d=i<=w?u:i>=w+b?b:i-w));i+=s)c>_(l/(f=s-d))&&C("overflow"),c*=f;w=N(y-a,t=O.length+1,0==a),_(y/t)>l-k&&C("overflow"),k+=_(y/t),y%=t,O.splice(y++,0,k)}return S(O)}function A(e){var t,n,r,o,a,c,i,m,d,f,v,O,j,y,w,E=[];for(O=(e=x(e)).length,t=p,n=0,a=h,c=0;c=t&&v_((l-n)/(j=r+1))&&C("overflow"),n+=(i-t)*j,t=i,c=0;cl&&C("overflow"),v==t){for(m=n,d=s;!(m<(f=d<=a?u:d>=a+b?b:d-a));d+=s)w=m-f,y=s-f,E.push(k(T(f+w%y,0))),m=_(w/y);E.push(k(T(m,0))),a=N(n,j,r==o),n=0,++r}++n,++t}return E.join("")}i={version:"1.3.2",ucs2:{decode:x,encode:S},decode:R,encode:A,toASCII:function(e){return E(e,(function(e){return v.test(e)?"xn--"+A(e):e}))},toUnicode:function(e){return E(e,(function(e){return f.test(e)?R(e.slice(4).toLowerCase()):e}))}},void 0===(o=function(){return i}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(123)(e),n(64))},123:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},124:function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},125:function(e,t,n){"use strict";t.decode=t.parse=n(126),t.encode=t.stringify=n(127)},126:function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,a){t=t||"&",n=n||"=";var c={};if("string"!=typeof e||0===e.length)return c;var i=/\+/g;e=e.split(t);var l=1e3;a&&"number"==typeof a.maxKeys&&(l=a.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var u=0;u=0?(b=p.substr(0,g),m=p.substr(g+1)):(b=p,m=""),d=decodeURIComponent(b),h=decodeURIComponent(m),r(c,d)?o(c[d])?c[d].push(h):c[d]=[c[d],h]:c[d]=h}return c};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},127:function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?a(c(e),(function(c){var i=encodeURIComponent(r(c))+n;return o(e[c])?a(e[c],(function(e){return i+encodeURIComponent(r(e))})).join(t):i+encodeURIComponent(r(e[c]))})).join(t):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},22:function(e,t){!function(){e.exports=this.wp.richText}()},220:function(e,t,n){ +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=s-u,_=Math.floor,k=String.fromCharCode;function C(e){throw RangeError(j[e])}function w(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+w((e=e.replace(O,".")).split("."),t).join(".")}function x(e){for(var t,n,r=[],o=0,a=e.length;o=55296&&t<=56319&&o65535&&(t+=k((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=k(e)})).join("")}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function N(e,t,n){var r=0;for(e=n?_(e/d):e>>1,e+=_(e/t);e>y*b>>1;r+=s)e=_(e/y);return _(r+(y+1)*e/(e+m))}function B(e){var t,n,r,o,a,c,i,m,d,f,v,O=[],j=e.length,y=0,k=p,w=h;for((n=e.lastIndexOf(g))<0&&(n=0),r=0;r=128&&C("not-basic"),O.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=j&&C("invalid-input"),((m=(v=e.charCodeAt(o++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:s)>=s||m>_((l-y)/c))&&C("overflow"),y+=m*c,!(m<(d=i<=w?u:i>=w+b?b:i-w));i+=s)c>_(l/(f=s-d))&&C("overflow"),c*=f;w=N(y-a,t=O.length+1,0==a),_(y/t)>l-k&&C("overflow"),k+=_(y/t),y%=t,O.splice(y++,0,k)}return S(O)}function R(e){var t,n,r,o,a,c,i,m,d,f,v,O,j,y,w,E=[];for(O=(e=x(e)).length,t=p,n=0,a=h,c=0;c=t&&v_((l-n)/(j=r+1))&&C("overflow"),n+=(i-t)*j,t=i,c=0;cl&&C("overflow"),v==t){for(m=n,d=s;!(m<(f=d<=a?u:d>=a+b?b:d-a));d+=s)w=m-f,y=s-f,E.push(k(T(f+w%y,0))),m=_(w/y);E.push(k(T(m,0))),a=N(n,j,r==o),n=0,++r}++n,++t}return E.join("")}i={version:"1.3.2",ucs2:{decode:x,encode:S},decode:B,encode:R,toASCII:function(e){return E(e,(function(e){return v.test(e)?"xn--"+R(e):e}))},toUnicode:function(e){return E(e,(function(e){return f.test(e)?B(e.slice(4).toLowerCase()):e}))}},void 0===(o=function(){return i}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(121)(e),n(61))},121:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},122:function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},123:function(e,t,n){"use strict";t.decode=t.parse=n(124),t.encode=t.stringify=n(125)},124:function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,a){t=t||"&",n=n||"=";var c={};if("string"!=typeof e||0===e.length)return c;var i=/\+/g;e=e.split(t);var l=1e3;a&&"number"==typeof a.maxKeys&&(l=a.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var u=0;u=0?(b=p.substr(0,g),m=p.substr(g+1)):(b=p,m=""),d=decodeURIComponent(b),h=decodeURIComponent(m),r(c,d)?o(c[d])?c[d].push(h):c[d]=[c[d],h]:c[d]=h}return c};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},125:function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?a(c(e),(function(c){var i=encodeURIComponent(r(c))+n;return o(e[c])?a(e[c],(function(e){return i+encodeURIComponent(r(e))})).join(t):i+encodeURIComponent(r(e[c]))})).join(t):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},219:function(e,t,n){ /*! Fast Average Color | © 2019 Denis Seleznev | MIT License | https://github.com/hcodes/fast-average-color/ */ -e.exports=function(){"use strict";function e(e,t){for(var n=0;nc?(n=a/c,i=100,l=Math.round(i/n)):(n=c/a,l=100,i=Math.round(l/n)),(i>a||l>c||i<10||l<10)&&(i=a,l=c),{srcLeft:r,srcTop:o,srcWidth:a,srcHeight:c,destWidth:i,destHeight:l})}},{key:"_simpleAlgorithm",value:function(e,t,n){for(var r=0,o=0,a=0,c=0,i=0,l=0;lr?-1:n===r?0:1}))[0],5),m=b[0],d=b[1],h=b[2],p=b[3],g=b[4];return p?[Math.round(m/p),Math.round(d/p),Math.round(h/p),Math.round(p/g)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,n){var r=this,o=(n=n||{})&&n.data,a=this._getDefaultColor(n),c=function(){s(),t.call(e,r.getColor(e,n),o)},i=function(){s(),t.call(e,r._prepareResult(a,new Error("Image error")),o)},l=function(){s(),t.call(e,r._prepareResult(a,new Error("Image abort")),o)},s=function(){e.removeEventListener("load",c),e.removeEventListener("error",i),e.removeEventListener("abort",l)};e.addEventListener("load",c),e.addEventListener("error",i),e.addEventListener("abort",l)}},{key:"_prepareResult",value:function(e,t){var n=e.slice(0,3),r=[].concat(n,e[3]/255),o=this._isDark(e);return{error:t,value:e,rgb:"rgb("+n.join(",")+")",rgba:"rgba("+r.join(",")+")",hex:this._arrayToHex(n),hexa:this._arrayToHex(e),isDark:o,isLight:!o}}},{key:"_getOriginalSize",value:function(e){return e instanceof HTMLImageElement?{width:e.naturalWidth,height:e.naturalHeight}:e instanceof HTMLVideoElement?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}},{key:"_toHex",value:function(e){var t=e.toString(16);return 1===t.length?"0"+t:t}},{key:"_arrayToHex",value:function(e){return"#"+e.map(this._toHex).join("")}},{key:"_isDark",value:function(e){return(299*e[0]+587*e[1]+114*e[2])/1e3<128}},{key:"_makeCanvas",value:function(){return"undefined"==typeof window?new OffscreenCanvas(1,1):document.createElement("canvas")}}])&&e(r.prototype,o),a&&e(r,a),n}()}()},23:function(e,t,n){"use strict";var r=n(38);var o=n(39);function a(e,t){return Object(r.a)(e)||function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var c,i=e[Symbol.iterator]();!(r=(c=i.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}return n}(e,t)||Object(o.a)()}n.d(t,"a",(function(){return a}))},24:function(e,t){!function(){e.exports=this.wp.editor}()},26:function(e,t){!function(){e.exports=this.wp.url}()},29:function(e,t){!function(){e.exports=this.moment}()},3:function(e,t){!function(){e.exports=this.wp.components}()},30:function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},31:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}n.d(t,"a",(function(){return o}))},34:function(e,t){!function(){e.exports=this.wp.apiFetch}()},341:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"metadata",(function(){return ve})),n.d(r,"name",(function(){return Oe})),n.d(r,"settings",(function(){return je}));var o={};n.r(o),n.d(o,"metadata",(function(){return gt})),n.d(o,"name",(function(){return ft})),n.d(o,"settings",(function(){return vt}));var a={};n.r(a),n.d(a,"metadata",(function(){return xt})),n.d(a,"name",(function(){return St})),n.d(a,"settings",(function(){return Tt}));var c={};n.r(c),n.d(c,"metadata",(function(){return Pt})),n.d(c,"name",(function(){return Lt})),n.d(c,"settings",(function(){return Ht}));var i={};n.r(i),n.d(i,"metadata",(function(){return Xt})),n.d(i,"name",(function(){return en})),n.d(i,"settings",(function(){return tn}));var l={};n.r(l),n.d(l,"name",(function(){return an})),n.d(l,"settings",(function(){return cn}));var s={};n.r(s),n.d(s,"metadata",(function(){return dn})),n.d(s,"name",(function(){return hn})),n.d(s,"settings",(function(){return pn}));var u={};n.r(u),n.d(u,"metadata",(function(){return Sn})),n.d(u,"name",(function(){return Tn})),n.d(u,"settings",(function(){return Nn}));var b={};n.r(b),n.d(b,"name",(function(){return Pn})),n.d(b,"settings",(function(){return Ln}));var m={};n.r(m),n.d(m,"name",(function(){return Dn})),n.d(m,"settings",(function(){return Fn}));var d={};n.r(d),n.d(d,"metadata",(function(){return Jn})),n.d(d,"name",(function(){return Xn})),n.d(d,"settings",(function(){return er}));var h={};n.r(h),n.d(h,"metadata",(function(){return pr})),n.d(h,"name",(function(){return gr})),n.d(h,"settings",(function(){return fr}));var p={};n.r(p),n.d(p,"metadata",(function(){return jr})),n.d(p,"name",(function(){return yr})),n.d(p,"settings",(function(){return _r}));var g={};n.r(g),n.d(g,"metadata",(function(){return qr})),n.d(g,"name",(function(){return Wr})),n.d(g,"settings",(function(){return Gr}));var f={};n.r(f),n.d(f,"name",(function(){return oo})),n.d(f,"settings",(function(){return ao})),n.d(f,"common",(function(){return co})),n.d(f,"others",(function(){return io}));var v={};n.r(v),n.d(v,"metadata",(function(){return ho})),n.d(v,"name",(function(){return po})),n.d(v,"settings",(function(){return go}));var O={};n.r(O),n.d(O,"metadata",(function(){return yo})),n.d(O,"name",(function(){return _o})),n.d(O,"settings",(function(){return ko}));var j={};n.r(j),n.d(j,"metadata",(function(){return Lo})),n.d(j,"name",(function(){return Ho})),n.d(j,"settings",(function(){return zo}));var y={};n.r(y),n.d(y,"name",(function(){return Fo})),n.d(y,"settings",(function(){return Uo}));var _={};n.r(_),n.d(_,"name",(function(){return Qo})),n.d(_,"settings",(function(){return Jo}));var k={};n.r(k),n.d(k,"metadata",(function(){return ra})),n.d(k,"name",(function(){return oa})),n.d(k,"settings",(function(){return aa}));var C={};n.r(C),n.d(C,"metadata",(function(){return ia})),n.d(C,"name",(function(){return la})),n.d(C,"settings",(function(){return sa}));var w={};n.r(w),n.d(w,"metadata",(function(){return da})),n.d(w,"name",(function(){return ha})),n.d(w,"settings",(function(){return pa}));var E={};n.r(E),n.d(E,"metadata",(function(){return va})),n.d(E,"name",(function(){return Oa})),n.d(E,"settings",(function(){return ja}));var x={};n.r(x),n.d(x,"metadata",(function(){return ka})),n.d(x,"name",(function(){return Ca})),n.d(x,"settings",(function(){return wa}));var S={};n.r(S),n.d(S,"metadata",(function(){return Ba})),n.d(S,"name",(function(){return Ia})),n.d(S,"settings",(function(){return Ma}));var T={};n.r(T),n.d(T,"name",(function(){return Da})),n.d(T,"settings",(function(){return Fa}));var N={};n.r(N),n.d(N,"name",(function(){return qa})),n.d(N,"settings",(function(){return Wa}));var R={};n.r(R),n.d(R,"name",(function(){return Ga})),n.d(R,"settings",(function(){return Ka}));var A={};n.r(A),n.d(A,"metadata",(function(){return Qa})),n.d(A,"name",(function(){return Ja})),n.d(A,"settings",(function(){return Xa}));var B={};n.r(B),n.d(B,"metadata",(function(){return rc})),n.d(B,"name",(function(){return oc})),n.d(B,"settings",(function(){return ac}));var I={};n.r(I),n.d(I,"name",(function(){return uc})),n.d(I,"settings",(function(){return bc}));var M={};n.r(M),n.d(M,"metadata",(function(){return hc})),n.d(M,"name",(function(){return pc})),n.d(M,"settings",(function(){return gc}));var P={};n.r(P),n.d(P,"metadata",(function(){return yc})),n.d(P,"name",(function(){return _c})),n.d(P,"settings",(function(){return kc}));var L={};n.r(L),n.d(L,"metadata",(function(){return Dc})),n.d(L,"name",(function(){return Fc})),n.d(L,"settings",(function(){return Uc}));var H={};n.r(H),n.d(H,"metadata",(function(){return Wc})),n.d(H,"name",(function(){return Gc})),n.d(H,"settings",(function(){return Kc}));var z={};n.r(z),n.d(z,"metadata",(function(){return Qc})),n.d(z,"name",(function(){return Jc})),n.d(z,"settings",(function(){return Xc}));var V={};n.r(V),n.d(V,"metadata",(function(){return ci})),n.d(V,"name",(function(){return ii})),n.d(V,"settings",(function(){return li}));var D={};n.r(D),n.d(D,"name",(function(){return bi})),n.d(D,"settings",(function(){return mi}));var F={};n.r(F),n.d(F,"metadata",(function(){return gi})),n.d(F,"name",(function(){return fi})),n.d(F,"settings",(function(){return vi}));var U=n(17),q=n(10),W=(n(88),n(6)),G=(n(24),n(9)),K=n(1),Z=n(7),$=n(0),Y=n(16),Q=n.n(Y),J=n(2),X={className:!1},ee={align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:""},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},direction:{type:"string",enum:["ltr","rtl"]}},te=[{supports:X,attributes:ee,save:function(e){var t,n=e.attributes,r=n.align,o=n.content,a=n.dropCap,c=n.backgroundColor,i=n.textColor,l=n.customBackgroundColor,s=n.customTextColor,u=n.fontSize,b=n.customFontSize,m=n.direction,d=Object(W.getColorClassName)("color",i),h=Object(W.getColorClassName)("background-color",c),p=Object(W.getFontSizeClass)(u),g=Q()((t={"has-text-color":i||s,"has-background":c||l,"has-drop-cap":a},Object(q.a)(t,p,p),Object(q.a)(t,d,d),Object(q.a)(t,h,h),t)),f={backgroundColor:h?void 0:l,color:d?void 0:s,fontSize:p?void 0:b,textAlign:r};return Object($.createElement)(W.RichText.Content,{tagName:"p",style:f,className:g||void 0,value:o,dir:m})}},{supports:X,attributes:Object(Z.a)({},ee,{width:{type:"string"}}),save:function(e){var t,n=e.attributes,r=n.width,o=n.align,a=n.content,c=n.dropCap,i=n.backgroundColor,l=n.textColor,s=n.customBackgroundColor,u=n.customTextColor,b=n.fontSize,m=n.customFontSize,d=Object(W.getColorClassName)("color",l),h=Object(W.getColorClassName)("background-color",i),p=b&&"is-".concat(b,"-text"),g=Q()((t={},Object(q.a)(t,"align".concat(r),r),Object(q.a)(t,"has-background",i||s),Object(q.a)(t,"has-drop-cap",c),Object(q.a)(t,p,p),Object(q.a)(t,d,d),Object(q.a)(t,h,h),t)),f={backgroundColor:h?void 0:s,color:d?void 0:u,fontSize:p?void 0:m,textAlign:o};return Object($.createElement)(W.RichText.Content,{tagName:"p",style:f,className:g||void 0,value:a})}},{supports:X,attributes:Object(J.omit)(Object(Z.a)({},ee,{fontSize:{type:"number"}}),"customFontSize","customTextColor","customBackgroundColor"),save:function(e){var t,n=e.attributes,r=n.width,o=n.align,a=n.content,c=n.dropCap,i=n.backgroundColor,l=n.textColor,s=n.fontSize,u=Q()((t={},Object(q.a)(t,"align".concat(r),r),Object(q.a)(t,"has-background",i),Object(q.a)(t,"has-drop-cap",c),t)),b={backgroundColor:i,color:l,fontSize:s,textAlign:o};return Object($.createElement)("p",{style:b,className:u||void 0},a)},migrate:function(e){return Object(J.omit)(Object(Z.a)({},e,{customFontSize:Object(J.isFinite)(e.fontSize)?e.fontSize:void 0,customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.backgroundColor&&"#"===e.backgroundColor[0]?e.backgroundColor:void 0}),["fontSize","textColor","backgroundColor"])}},{supports:X,attributes:Object(Z.a)({},ee,{content:{type:"string",source:"html",default:""}}),save:function(e){var t=e.attributes;return Object($.createElement)($.RawHTML,null,t.content)},migrate:function(e){return e}}],ne=n(18),re=n(12),oe=n(11),ae=n(13),ce=n(14),ie=n(5),le=n(15),se=n(3),ue=n(8),be=n(4),me=window.getComputedStyle,de=Object(se.withFallbackStyles)((function(e,t){var n=t.attributes,r=n.textColor,o=n.backgroundColor,a=n.fontSize,c=n.customFontSize,i=e.querySelector('[contenteditable="true"]'),l=i?me(i):null;return{fallbackBackgroundColor:o||!l?void 0:l.backgroundColor,fallbackTextColor:r||!l?void 0:l.color,fallbackFontSize:a||c||!l?void 0:parseInt(l.fontSize)||void 0}})),he=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).toggleDropCap=e.toggleDropCap.bind(Object(ie.a)(e)),e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"toggleDropCap",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({dropCap:!t.dropCap})}},{key:"getDropCapHelp",value:function(e){return e?Object(K.__)("Showing large initial letter."):Object(K.__)("Toggle to show a large initial letter.")}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.setAttributes,o=t.mergeBlocks,a=t.onReplace,c=t.className,i=t.backgroundColor,l=t.textColor,s=t.setBackgroundColor,u=t.setTextColor,b=t.fallbackBackgroundColor,m=t.fallbackTextColor,d=t.fallbackFontSize,h=t.fontSize,p=t.setFontSize,g=t.isRTL,f=n.align,v=n.content,O=n.dropCap,j=n.placeholder,y=n.direction;return Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(W.AlignmentToolbar,{value:f,onChange:function(e){r({align:e})}}),g&&Object($.createElement)(se.Toolbar,{controls:[{icon:"editor-ltr",title:Object(K._x)("Left to right","editor button"),isActive:"ltr"===y,onClick:function(){r({direction:"ltr"===y?void 0:"ltr"})}}]})),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,{title:Object(K.__)("Text Settings"),className:"blocks-font-size"},Object($.createElement)(W.FontSizePicker,{fallbackFontSize:d,value:h.size,onChange:p}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Drop Cap"),checked:!!O,onChange:this.toggleDropCap,help:this.getDropCapHelp})),Object($.createElement)(W.PanelColorSettings,{title:Object(K.__)("Color Settings"),initialOpen:!1,colorSettings:[{value:i.color,onChange:s,label:Object(K.__)("Background Color")},{value:l.color,onChange:u,label:Object(K.__)("Text Color")}]},Object($.createElement)(W.ContrastChecker,Object(ne.a)({textColor:l.color,backgroundColor:i.color,fallbackTextColor:m,fallbackBackgroundColor:b},{fontSize:h.size})))),Object($.createElement)(W.RichText,{identifier:"content",tagName:"p",className:Q()("wp-block-paragraph",c,(e={"has-text-color":l.color,"has-background":i.color,"has-drop-cap":O},Object(q.a)(e,"has-text-align-".concat(f),f),Object(q.a)(e,i.class,i.class),Object(q.a)(e,l.class,l.class),Object(q.a)(e,h.class,h.class),e)),style:{backgroundColor:i.color,color:l.color,fontSize:h.size?h.size+"px":void 0,direction:y},value:v,onChange:function(e){r({content:e})},onSplit:function(e){return e?Object(G.createBlock)("core/paragraph",Object(Z.a)({},n,{content:e})):Object(G.createBlock)("core/paragraph")},onMerge:o,onReplace:a,onRemove:a?function(){return a([])}:void 0,"aria-label":v?Object(K.__)("Paragraph block"):Object(K.__)("Empty block; start writing or type forward slash to choose a block"),placeholder:j||Object(K.__)("Start writing or type / to choose a block"),__unstableEmbedURLOnPaste:!0}))}}]),t}($.Component),pe=Object(ue.compose)([Object(W.withColors)("backgroundColor",{textColor:"color"}),Object(W.withFontSizes)("fontSize"),de,Object(be.withSelect)((function(e){return{isRTL:(0,e("core/block-editor").getSettings)().isRTL}}))])(he),ge=Object($.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object($.createElement)(se.Path,{d:"M11 5v7H9.5C7.6 12 6 10.4 6 8.5S7.6 5 9.5 5H11m8-2H9.5C6.5 3 4 5.5 4 8.5S6.5 14 9.5 14H11v7h2V5h2v16h2V5h2V3z"}));var fe={from:[{type:"raw",priority:20,selector:"p",schema:{p:{children:Object(G.getPhrasingContentSchema)()}}}]},ve={name:"core/paragraph",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:""},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},direction:{type:"string",enum:["ltr","rtl"]}}},Oe=ve.name,je={title:Object(K.__)("Paragraph"),description:Object(K.__)("Start with the building block of all narrative."),icon:ge,keywords:[Object(K.__)("text")],example:{attributes:{content:Object(K.__)("In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing."),customFontSize:28,dropCap:!0}},supports:{className:!1},transforms:fe,deprecated:te,merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},getEditWrapperProps:function(e){var t=e.width;if(-1!==["wide","full","left","right"].indexOf(t))return{"data-align":t}},edit:pe,save:function(e){var t,n=e.attributes,r=n.align,o=n.content,a=n.dropCap,c=n.backgroundColor,i=n.textColor,l=n.customBackgroundColor,s=n.customTextColor,u=n.fontSize,b=n.customFontSize,m=n.direction,d=Object(W.getColorClassName)("color",i),h=Object(W.getColorClassName)("background-color",c),p=Object(W.getFontSizeClass)(u),g=Q()((t={"has-text-color":i||s,"has-background":c||l,"has-drop-cap":a},Object(q.a)(t,"has-text-align-".concat(r),r),Object(q.a)(t,p,p),Object(q.a)(t,d,d),Object(q.a)(t,h,h),t)),f={backgroundColor:h?void 0:l,color:d?void 0:s,fontSize:p?void 0:b};return Object($.createElement)(W.RichText.Content,{tagName:"p",style:f,className:g||void 0,value:o,dir:m})}},ye={align:{type:"string"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},_e=[{attributes:ye,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,a=n.caption,c=n.align,i=n.href,l=n.width,s=n.height,u=n.id,b=Q()((t={},Object(q.a)(t,"align".concat(c),c),Object(q.a)(t,"is-resized",l||s),t)),m=Object($.createElement)("img",{src:r,alt:o,className:u?"wp-image-".concat(u):null,width:l,height:s});return Object($.createElement)("figure",{className:b},i?Object($.createElement)("a",{href:i},m):m,!W.RichText.isEmpty(a)&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:a}))}},{attributes:ye,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,c=t.href,i=t.width,l=t.height,s=t.id,u=Object($.createElement)("img",{src:n,alt:r,className:s?"wp-image-".concat(s):null,width:i,height:l});return Object($.createElement)("figure",{className:a?"align".concat(a):null},c?Object($.createElement)("a",{href:c},u):u,!W.RichText.isEmpty(o)&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:ye,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,c=t.href,i=t.width,l=t.height,s=i||l?{width:i,height:l}:{},u=Object($.createElement)("img",Object(ne.a)({src:n,alt:r},s)),b={};return i?b={width:i}:"left"!==a&&"right"!==a||(b={maxWidth:"50%"}),Object($.createElement)("figure",{className:a?"align".concat(a):null,style:b},c?Object($.createElement)("a",{href:c},u):u,!W.RichText.isEmpty(o)&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:o}))}}],ke=n(23),Ce=n(35),we=n(19),Ee=n(26),xe=n(42),Se=n(45),Te=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(se.Path,{d:"M19,4H5C3.89,4,3,4.9,3,6v12c0,1.1,0.89,2,2,2h14c1.1,0,2-0.9,2-2V6C21,4.9,20.11,4,19,4z M19,18H5V8h14V18z"})),Ne=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(se.Path,{d:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.02 1.64-1.35 2.97-3 2.97-1.66 0-3-1.34-3-3z"})),Re=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(se.Path,{d:"M21,4H3C1.9,4,1,4.9,1,6v12c0,1.1,0.9,2,2,2h18c1.1,0,2-0.9,2-2V6C23,4.9,22.1,4,21,4z M21,18H3V6h18V18z"}),Object($.createElement)(se.Polygon,{points:"14.5 11 11 15.51 8.5 12.5 5 17 19 17"})),Ae=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(se.Path,{d:"m10 8v8l5-4-5-4zm9-5h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2zm0 16h-14v-14h14v14z"})),Be={foreground:"#1da1f2",src:Object($.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object($.createElement)(se.G,null,Object($.createElement)(se.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"})))},Ie={foreground:"#ff0000",src:Object($.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object($.createElement)(se.Path,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"}))},Me={foreground:"#3b5998",src:Object($.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object($.createElement)(se.Path,{d:"M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"}))},Pe=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object($.createElement)(se.G,null,Object($.createElement)(se.Path,{d:"M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"}))),Le={foreground:"#0073AA",src:Object($.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object($.createElement)(se.G,null,Object($.createElement)(se.Path,{d:"M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})))},He={foreground:"#1db954",src:Object($.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object($.createElement)(se.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"}))},ze=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object($.createElement)(se.Path,{d:"m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})),Ve={foreground:"#1ab7ea",src:Object($.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object($.createElement)(se.G,null,Object($.createElement)(se.Path,{d:"M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"})))},De=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object($.createElement)(se.Path,{d:"M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z"})),Fe={foreground:"#35465c",src:Object($.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object($.createElement)(se.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))},Ue=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24"},Object($.createElement)(se.Path,{d:"M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"}),Object($.createElement)(se.Path,{d:"M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"}),Object($.createElement)(se.Path,{d:"M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"})),qe=[{name:"core-embed/twitter",settings:{title:"Twitter",icon:Be,keywords:["tweet"],description:Object(K.__)("Embed a tweet.")},patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i]},{name:"core-embed/youtube",settings:{title:"YouTube",icon:Ie,keywords:[Object(K.__)("music"),Object(K.__)("video")],description:Object(K.__)("Embed a YouTube video.")},patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i]},{name:"core-embed/facebook",settings:{title:"Facebook",icon:Me,description:Object(K.__)("Embed a Facebook post.")},patterns:[/^https?:\/\/www\.facebook.com\/.+/i]},{name:"core-embed/instagram",settings:{title:"Instagram",icon:Pe,keywords:[Object(K.__)("image")],description:Object(K.__)("Embed an Instagram post.")},patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]},{name:"core-embed/wordpress",settings:{title:"WordPress",icon:Le,keywords:[Object(K.__)("post"),Object(K.__)("blog")],responsive:!1,description:Object(K.__)("Embed a WordPress post.")}},{name:"core-embed/soundcloud",settings:{title:"SoundCloud",icon:Ne,keywords:[Object(K.__)("music"),Object(K.__)("audio")],description:Object(K.__)("Embed SoundCloud content.")},patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]},{name:"core-embed/spotify",settings:{title:"Spotify",icon:He,keywords:[Object(K.__)("music"),Object(K.__)("audio")],description:Object(K.__)("Embed Spotify content.")},patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i]},{name:"core-embed/flickr",settings:{title:"Flickr",icon:ze,keywords:[Object(K.__)("image")],description:Object(K.__)("Embed Flickr content.")},patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i]},{name:"core-embed/vimeo",settings:{title:"Vimeo",icon:Ve,keywords:[Object(K.__)("video")],description:Object(K.__)("Embed a Vimeo video.")},patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i]}],We=[{name:"core-embed/animoto",settings:{title:"Animoto",icon:Ae,description:Object(K.__)("Embed an Animoto video.")},patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]},{name:"core-embed/cloudup",settings:{title:"Cloudup",icon:Te,description:Object(K.__)("Embed Cloudup content.")},patterns:[/^https?:\/\/cloudup\.com\/.+/i]},{name:"core-embed/collegehumor",settings:{title:"CollegeHumor",icon:Ae,description:Object(K.__)("Embed CollegeHumor content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/crowdsignal",settings:{title:"Crowdsignal",icon:Te,keywords:["polldaddy"],transform:[{type:"block",blocks:["core-embed/polldaddy"],transform:function(e){return Object(G.createBlock)("core-embed/crowdsignal",{content:e})}}],description:Object(K.__)("Embed Crowdsignal (formerly Polldaddy) content.")},patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]},{name:"core-embed/dailymotion",settings:{title:"Dailymotion",icon:Ae,description:Object(K.__)("Embed a Dailymotion video.")},patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]},{name:"core-embed/hulu",settings:{title:"Hulu",icon:Ae,description:Object(K.__)("Embed Hulu content.")},patterns:[/^https?:\/\/(www\.)?hulu\.com\/.+/i]},{name:"core-embed/imgur",settings:{title:"Imgur",icon:Re,description:Object(K.__)("Embed Imgur content.")},patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i]},{name:"core-embed/issuu",settings:{title:"Issuu",icon:Te,description:Object(K.__)("Embed Issuu content.")},patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i]},{name:"core-embed/kickstarter",settings:{title:"Kickstarter",icon:Te,description:Object(K.__)("Embed Kickstarter content.")},patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i]},{name:"core-embed/meetup-com",settings:{title:"Meetup.com",icon:Te,description:Object(K.__)("Embed Meetup.com content.")},patterns:[/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]},{name:"core-embed/mixcloud",settings:{title:"Mixcloud",icon:Ne,keywords:[Object(K.__)("music"),Object(K.__)("audio")],description:Object(K.__)("Embed Mixcloud content.")},patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]},{name:"core-embed/polldaddy",settings:{title:"Polldaddy",icon:Te,description:Object(K.__)("Embed Polldaddy content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/reddit",settings:{title:"Reddit",icon:De,description:Object(K.__)("Embed a Reddit thread.")},patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i]},{name:"core-embed/reverbnation",settings:{title:"ReverbNation",icon:Ne,description:Object(K.__)("Embed ReverbNation content.")},patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]},{name:"core-embed/screencast",settings:{title:"Screencast",icon:Ae,description:Object(K.__)("Embed Screencast content.")},patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i]},{name:"core-embed/scribd",settings:{title:"Scribd",icon:Te,description:Object(K.__)("Embed Scribd content.")},patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i]},{name:"core-embed/slideshare",settings:{title:"Slideshare",icon:Te,description:Object(K.__)("Embed Slideshare content.")},patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]},{name:"core-embed/smugmug",settings:{title:"SmugMug",icon:Re,description:Object(K.__)("Embed SmugMug content.")},patterns:[/^https?:\/\/(www\.)?smugmug\.com\/.+/i]},{name:"core-embed/speaker",settings:{title:"Speaker",icon:Ne,supports:{inserter:!1}},patterns:[]},{name:"core-embed/speaker-deck",settings:{title:"Speaker Deck",icon:Te,transform:[{type:"block",blocks:["core-embed/speaker"],transform:function(e){return Object(G.createBlock)("core-embed/speaker-deck",{content:e})}}],description:Object(K.__)("Embed Speaker Deck content.")},patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]},{name:"core-embed/ted",settings:{title:"TED",icon:Ae,description:Object(K.__)("Embed a TED video.")},patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]},{name:"core-embed/tumblr",settings:{title:"Tumblr",icon:Fe,description:Object(K.__)("Embed a Tumblr post.")},patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i]},{name:"core-embed/videopress",settings:{title:"VideoPress",icon:Ae,keywords:[Object(K.__)("video")],description:Object(K.__)("Embed a VideoPress video.")},patterns:[/^https?:\/\/videopress\.com\/.+/i]},{name:"core-embed/wordpress-tv",settings:{title:"WordPress.tv",icon:Ae,description:Object(K.__)("Embed a WordPress.tv video.")},patterns:[/^https?:\/\/wordpress\.tv\/.+/i]},{name:"core-embed/amazon-kindle",settings:{title:"Amazon Kindle",icon:Ue,keywords:[Object(K.__)("ebook")],responsive:!1,description:Object(K.__)("Embed Amazon Kindle content.")},patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]}],Ge=["facebook.com","smugmug.com"],Ke=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.78",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],Ze=n(69),$e=n.n(Ze),Ye=n(44),Qe=n.n(Ye),Je=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.some((function(t){return e.match(t)}))},Xe=function(e){return Object(J.includes)(e,'class="wp-embedded-content"')},et=function(e,t){var n=e.preview,r=e.name,o=e.attributes.url;if(o){var a=function(e){for(var t=0,n=[].concat(Object(U.a)(qe),Object(U.a)(We));t1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n){for(var r={"wp-has-aspect-ratio":!1},o=0;o=u.ratio)return $e()(t,(s={},Object(q.a)(s,u.className,n),Object(q.a)(s,"wp-has-aspect-ratio",n),s))}return t}var nt=Qe()((function(e,t,n,r){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(!e)return{};var a={},c=e.type,i=void 0===c?"rich":c,l=e.html,s=e.provider_name,u=Object(J.kebabCase)(Object(J.toLower)(""!==s?s:t));return Xe(l)&&(i="wp-embed"),(l||"photo"===i)&&(a.type=i,a.providerNameSlug=u),a.className=tt(l,n,r&&o),a})),rt=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(se.Path,{d:"m19 5v14h-14v-14h14m0-2h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2z"}),Object($.createElement)(se.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"}));var ot=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(Object(ie.a)(e)),e.calculateSize=e.calculateSize.bind(Object(ie.a)(e)),e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"componentDidUpdate",value:function(e){this.props.src!==e.src&&(this.setState({width:void 0,height:void 0}),this.fetchImageSize()),this.props.dirtynessTrigger!==e.dirtynessTrigger&&this.calculateSize()}},{key:"componentDidMount",value:function(){this.fetchImageSize()}},{key:"componentWillUnmount",value:function(){this.image&&(this.image.onload=J.noop)}},{key:"fetchImageSize",value:function(){this.image=new window.Image,this.image.onload=this.calculateSize,this.image.src=this.props.src}},{key:"calculateSize",value:function(){var e,t,n,r,o,a=(e=this.image,t=this.container,n=t.clientWidth,r=e.width>n,o=e.height/e.width,{width:r?n:e.width,height:r?n*o:e.height}),c=a.width,i=a.height;this.setState({width:c,height:i})}},{key:"render",value:function(){var e={imageWidth:this.image&&this.image.width,imageHeight:this.image&&this.image.height,containerWidth:this.container&&this.container.clientWidth,containerHeight:this.container&&this.container.clientHeight,imageWidthWithinContainer:this.state.width,imageHeightWithinContainer:this.state.height};return Object($.createElement)("div",{ref:this.bindContainer},this.props.children(e))}}]),t}($.Component),at=Object(ue.withGlobalEvents)({resize:"calculateSize"})(ot),ct=["image"],it=function(e,t){return!e&&Object(Ce.isBlobURL)(t)},lt=function(e){e.stopPropagation()},st=function(e){[we.LEFT,we.DOWN,we.RIGHT,we.UP,we.BACKSPACE,we.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},ut=function(e){var t=e.advancedOptions,n=e.linkDestination,r=e.mediaLinks,o=e.onChangeUrl,a=e.url,c=Object($.useState)(!1),i=Object(ke.a)(c,2),l=i[0],s=i[1],u=Object($.useCallback)((function(){s(!0)})),b=Object($.useState)(!1),m=Object(ke.a)(b,2),d=m[0],h=m[1],p=Object($.useState)(null),g=Object(ke.a)(p,2),f=g[0],v=g[1],O=Object($.useCallback)((function(){"media"!==n&&"attachment"!==n||v(""),h(!0)})),j=Object($.useCallback)((function(){h(!1)})),y=Object($.useCallback)((function(){v(null),j(),s(!1)})),_=Object($.useRef)(null),k=Object($.useCallback)((function(){return function(e){var t=_.current;t&&t.contains(e.target)||(s(!1),v(null),j())}})),C=Object($.useCallback)((function(){return function(e){f&&o(f),j(),v(null),e.preventDefault()}})),w=Object($.useCallback)((function(){y(),o("")})),E=null!==f?f:a,x=(Object(J.find)(r,["linkDestination",n])||{}).title;return Object($.createElement)($.Fragment,null,Object($.createElement)(se.IconButton,{icon:"admin-links",className:"components-toolbar__control",label:a?Object(K.__)("Edit link"):Object(K.__)("Insert link"),"aria-expanded":l,onClick:u}),l&&Object($.createElement)(W.URLPopover,{onClickOutside:k(),onClose:y,renderSettings:function(){return t},additionalControls:!E&&Object($.createElement)(se.NavigableMenu,null,Object(J.map)(r,(function(e){return Object($.createElement)(se.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:function(){v(null),o(e.url),j()}},e.title)})))},(!a||d)&&Object($.createElement)(W.URLPopover.LinkEditor,{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",value:E,onChangeInputValue:v,onKeyDown:st,onKeyPress:lt,onSubmit:C(),autocompleteRef:_}),a&&!d&&Object($.createElement)($.Fragment,null,Object($.createElement)(W.URLPopover.LinkViewer,{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",onKeyPress:lt,url:a,onEditLinkClick:O,urlLabel:x}),Object($.createElement)(se.IconButton,{icon:"no",label:Object(K.__)("Remove link"),onClick:w}))))},bt=function(e){function t(e){var n,r=e.attributes;return Object(re.a)(this,t),(n=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).updateAlt=n.updateAlt.bind(Object(ie.a)(n)),n.updateAlignment=n.updateAlignment.bind(Object(ie.a)(n)),n.onFocusCaption=n.onFocusCaption.bind(Object(ie.a)(n)),n.onImageClick=n.onImageClick.bind(Object(ie.a)(n)),n.onSelectImage=n.onSelectImage.bind(Object(ie.a)(n)),n.onSelectURL=n.onSelectURL.bind(Object(ie.a)(n)),n.updateImage=n.updateImage.bind(Object(ie.a)(n)),n.updateWidth=n.updateWidth.bind(Object(ie.a)(n)),n.updateHeight=n.updateHeight.bind(Object(ie.a)(n)),n.updateDimensions=n.updateDimensions.bind(Object(ie.a)(n)),n.onSetHref=n.onSetHref.bind(Object(ie.a)(n)),n.onSetLinkClass=n.onSetLinkClass.bind(Object(ie.a)(n)),n.onSetLinkRel=n.onSetLinkRel.bind(Object(ie.a)(n)),n.onSetNewTab=n.onSetNewTab.bind(Object(ie.a)(n)),n.getFilename=n.getFilename.bind(Object(ie.a)(n)),n.toggleIsEditing=n.toggleIsEditing.bind(Object(ie.a)(n)),n.onUploadError=n.onUploadError.bind(Object(ie.a)(n)),n.onImageError=n.onImageError.bind(Object(ie.a)(n)),n.getLinkDestinations=n.getLinkDestinations.bind(Object(ie.a)(n)),n.state={captionFocused:!1,isEditing:!r.url},n}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,a=n.id,c=n.url,i=void 0===c?"":c;if(it(a,i)){var l=Object(Ce.getBlobByURL)(i);l&&r({filesList:[l],onFileChange:function(t){var n=Object(ke.a)(t,1)[0];e.onSelectImage(n)},allowedTypes:ct,onError:function(t){o.createErrorNotice(t),e.setState({isEditing:!0})}})}}},{key:"componentDidUpdate",value:function(e){var t=e.attributes,n=t.id,r=t.url,o=void 0===r?"":r,a=this.props.attributes,c=a.id,i=a.url,l=void 0===i?"":i;it(n,o)&&!it(c,l)&&Object(Ce.revokeBlobURL)(l),!this.props.isSelected&&e.isSelected&&this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e),this.setState({isEditing:!0})}},{key:"onSelectImage",value:function(e){if(e&&e.url){this.setState({isEditing:!1});var t,n,r,o=this.props.attributes,a=o.id,c=o.url,i=o.alt,l=o.caption,s=(t=e,(n=Object(J.pick)(t,["alt","id","link","caption"])).url=Object(J.get)(t,["sizes","large","url"])||Object(J.get)(t,["media_details","sizes","large","source_url"])||t.url,n);it(a,c)&&(i&&(s=Object(J.omit)(s,["alt"])),l&&(s=Object(J.omit)(s,["caption"]))),r=e.id&&e.id===a?{url:c}:{width:void 0,height:void 0,sizeSlug:"large"},this.props.setAttributes(Object(Z.a)({},s,r))}else this.props.setAttributes({url:void 0,alt:void 0,id:void 0,caption:void 0})}},{key:"onSelectURL",value:function(e){e!==this.props.attributes.url&&this.props.setAttributes({url:e,id:void 0,sizeSlug:"large"}),this.setState({isEditing:!1})}},{key:"onImageError",value:function(e){var t=et({attributes:{url:e}});void 0!==t&&this.props.onReplace(t)}},{key:"onSetHref",value:function(e){var t,n=this.getLinkDestinations();this.props.attributes.linkDestination===(t=e?(Object(J.find)(n,(function(t){return t.url===e}))||{linkDestination:"custom"}).linkDestination:"none")?this.props.setAttributes({href:e}):this.props.setAttributes({linkDestination:t,href:e})}},{key:"onSetLinkClass",value:function(e){this.props.setAttributes({linkClass:e})}},{key:"onSetLinkRel",value:function(e){this.props.setAttributes({rel:e})}},{key:"onSetNewTab",value:function(e){var t=this.props.attributes.rel,n=e?"_blank":void 0,r=t;n&&!t?r="noreferrer noopener":n||"noreferrer noopener"!==t||(r=void 0),this.props.setAttributes({linkTarget:n,rel:r})}},{key:"onFocusCaption",value:function(){this.state.captionFocused||this.setState({captionFocused:!0})}},{key:"onImageClick",value:function(){this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"updateAlt",value:function(e){this.props.setAttributes({alt:e})}},{key:"updateAlignment",value:function(e){var t=-1!==["wide","full"].indexOf(e)?{width:void 0,height:void 0}:{};this.props.setAttributes(Object(Z.a)({},t,{align:e}))}},{key:"updateImage",value:function(e){var t=this.props.image,n=Object(J.get)(t,["media_details","sizes",e,"source_url"]);if(!n)return null;this.props.setAttributes({url:n,width:void 0,height:void 0,sizeSlug:e})}},{key:"updateWidth",value:function(e){this.props.setAttributes({width:parseInt(e,10)})}},{key:"updateHeight",value:function(e){this.props.setAttributes({height:parseInt(e,10)})}},{key:"updateDimensions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return function(){e.props.setAttributes({width:t,height:n})}}},{key:"getFilename",value:function(e){var t=Object(Ee.getPath)(e);if(t)return Object(J.last)(t.split("/"))}},{key:"getLinkDestinations",value:function(){return[{linkDestination:"media",title:Object(K.__)("Media File"),url:this.props.image&&this.props.image.source_url||this.props.attributes.url,icon:rt},{linkDestination:"attachment",title:Object(K.__)("Attachment Page"),url:this.props.image&&this.props.image.link,icon:Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object($.createElement)(se.Path,{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z"}))}]}},{key:"toggleIsEditing",value:function(){this.setState({isEditing:!this.state.isEditing}),this.state.isEditing?Object(Se.speak)(Object(K.__)("You are now viewing the image in the image block.")):Object(Se.speak)(Object(K.__)("You are now editing the image in the image block."))}},{key:"getImageSizeOptions",value:function(){var e=this.props.imageSizes;return Object(J.map)(e,(function(e){var t=e.name;return{value:e.slug,label:t}}))}},{key:"render",value:function(){var e=this,t=this.state.isEditing,n=this.props,r=n.attributes,o=n.setAttributes,a=n.isLargeViewport,c=n.isSelected,i=n.className,l=n.maxWidth,s=n.noticeUI,u=n.isRTL,b=n.onResizeStart,m=n.onResizeStop,d=r.url,h=r.alt,p=r.caption,g=r.align,f=r.id,v=r.href,O=r.rel,j=r.linkClass,y=r.linkDestination,_=r.width,k=r.height,C=r.linkTarget,w=r.sizeSlug,E=function(e,t){return t&&!e&&!Object(Ce.isBlobURL)(t)}(f,d),x=Object($.createElement)(se.SVG,{width:20,height:20,viewBox:"0 0 20 20"},Object($.createElement)(se.Rect,{x:11,y:3,width:7,height:5,rx:1}),Object($.createElement)(se.Rect,{x:2,y:12,width:7,height:5,rx:1}),Object($.createElement)(se.Path,{d:"M13,12h1a3,3,0,0,1-3,3v2a5,5,0,0,0,5-5h1L15,9Z"}),Object($.createElement)(se.Path,{d:"M4,8H3l2,3L7,8H6A3,3,0,0,1,9,5V3A5,5,0,0,0,4,8Z"})),S=Object($.createElement)(W.BlockControls,null,Object($.createElement)(W.BlockAlignmentToolbar,{value:g,onChange:this.updateAlignment}),d&&Object($.createElement)($.Fragment,null,Object($.createElement)(se.Toolbar,null,Object($.createElement)(se.IconButton,{className:Q()("components-icon-button components-toolbar__control",{"is-active":this.state.isEditing}),label:Object(K.__)("Edit image"),"aria-pressed":this.state.isEditing,onClick:this.toggleIsEditing,icon:x})),Object($.createElement)(se.Toolbar,null,Object($.createElement)(ut,{url:v||"",onChangeUrl:this.onSetHref,mediaLinks:this.getLinkDestinations(),linkDestination:y,advancedOptions:Object($.createElement)($.Fragment,null,Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Open in New Tab"),onChange:this.onSetNewTab,checked:"_blank"===C}),Object($.createElement)(se.TextControl,{label:Object(K.__)("Link CSS Class"),value:j||"",onKeyPress:lt,onKeyDown:st,onChange:this.onSetLinkClass}),Object($.createElement)(se.TextControl,{label:Object(K.__)("Link Rel"),value:O||"",onChange:this.onSetLinkRel,onKeyPress:lt,onKeyDown:st}))})))),T=E?d:void 0,N={title:d?Object(K.__)("Edit image"):Object(K.__)("Image"),instructions:Object(K.__)("Upload an image file, pick one from your media library, or add one with a URL.")},R=!!d&&Object($.createElement)("img",{alt:Object(K.__)("Edit image"),title:Object(K.__)("Edit image"),className:"edit-image-preview",src:d}),A=Object($.createElement)(W.MediaPlaceholder,{icon:Object($.createElement)(W.BlockIcon,{icon:rt}),className:i,labels:N,onSelect:this.onSelectImage,onSelectURL:this.onSelectURL,onDoubleClick:this.toggleIsEditing,onCancel:!!d&&this.toggleIsEditing,notices:s,onError:this.onUploadError,accept:"image/*",allowedTypes:ct,value:{id:f,src:T},mediaPreview:R,dropZoneUIOnly:!t&&d});if(t||!d)return Object($.createElement)($.Fragment,null,S,A);var B=Q()(i,Object(q.a)({"is-transient":Object(Ce.isBlobURL)(d),"is-resized":!!_||!!k,"is-focused":c},"size-".concat(w),w)),I=-1===["wide","full"].indexOf(g)&&a,M=this.getImageSizeOptions(),P=function(t,n){return Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,{title:Object(K.__)("Image Settings")},Object($.createElement)(se.TextareaControl,{label:Object(K.__)("Alt Text (Alternative Text)"),value:h,onChange:e.updateAlt,help:Object($.createElement)($.Fragment,null,Object($.createElement)(se.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(K.__)("Describe the purpose of the image")),Object(K.__)("Leave empty if the image is purely decorative."))}),!Object(J.isEmpty)(M)&&Object($.createElement)(se.SelectControl,{label:Object(K.__)("Image Size"),value:w,options:M,onChange:e.updateImage}),I&&Object($.createElement)("div",{className:"block-library-image__dimensions"},Object($.createElement)("p",{className:"block-library-image__dimensions__row"},Object(K.__)("Image Dimensions")),Object($.createElement)("div",{className:"block-library-image__dimensions__row"},Object($.createElement)(se.TextControl,{type:"number",className:"block-library-image__dimensions__width",label:Object(K.__)("Width"),value:_||t||"",min:1,onChange:e.updateWidth}),Object($.createElement)(se.TextControl,{type:"number",className:"block-library-image__dimensions__height",label:Object(K.__)("Height"),value:k||n||"",min:1,onChange:e.updateHeight})),Object($.createElement)("div",{className:"block-library-image__dimensions__row"},Object($.createElement)(se.ButtonGroup,{"aria-label":Object(K.__)("Image Size")},[25,50,75,100].map((function(r){var o=Math.round(t*(r/100)),a=Math.round(n*(r/100)),c=_===o&&k===a;return Object($.createElement)(se.Button,{key:r,isSmall:!0,isPrimary:c,"aria-pressed":c,onClick:e.updateDimensions(o,a)},r,"%")}))),Object($.createElement)(se.Button,{isSmall:!0,onClick:e.updateDimensions()},Object(K.__)("Reset"))))))};return Object($.createElement)($.Fragment,null,S,Object($.createElement)("figure",{className:B},Object($.createElement)(at,{src:d,dirtynessTrigger:g},(function(t){var n,r=t.imageWidthWithinContainer,a=t.imageHeightWithinContainer,c=t.imageWidth,i=t.imageHeight,s=e.getFilename(d);n=h||(s?Object(K.sprintf)(Object(K.__)("This image has an empty alt attribute; its file name is %s"),s):Object(K.__)("This image has an empty alt attribute"));var p=Object($.createElement)($.Fragment,null,Object($.createElement)("img",{src:d,alt:n,onDoubleClick:e.toggleIsEditing,onClick:e.onImageClick,onError:function(){return e.onImageError(d)}}),Object(Ce.isBlobURL)(d)&&Object($.createElement)(se.Spinner,null));if(!I||!r)return Object($.createElement)($.Fragment,null,P(c,i),Object($.createElement)("div",{style:{width:_,height:k}},p));var f=_||r,v=k||a,O=c/i,j=c a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},sizeSlug:{type:"string"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}}},ft=gt.name,vt={title:Object(K.__)("Image"),description:Object(K.__)("Insert an image to make a visual statement."),icon:rt,keywords:["img",Object(K.__)("photo")],example:{attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg",caption:Object(K.__)("Mont Blanc appears—still, snowy, and serene.")}},styles:[{name:"default",label:Object(K._x)("Default","block style"),isDefault:!0},{name:"circle-mask",label:Object(K._x)("Circle Mask","block style")}],transforms:pt,getEditWrapperProps:function(e){var t=e.align,n=e.width;if("left"===t||"center"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t,"data-resized":!!n}},edit:mt,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,a=n.caption,c=n.align,i=n.href,l=n.rel,s=n.linkClass,u=n.width,b=n.height,m=n.id,d=n.linkTarget,h=n.sizeSlug,p=Q()((t={},Object(q.a)(t,"align".concat(c),c),Object(q.a)(t,"size-".concat(h),h),Object(q.a)(t,"is-resized",u||b),t)),g=Object($.createElement)("img",{src:r,alt:o,className:m?"wp-image-".concat(m):null,width:u,height:b}),f=Object($.createElement)($.Fragment,null,i?Object($.createElement)("a",{className:s,href:i,target:d,rel:l},g):g,!W.RichText.isEmpty(a)&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:a}));return"left"===c||"right"===c||"center"===c?Object($.createElement)("div",null,Object($.createElement)("figure",{className:p},f)):Object($.createElement)("figure",{className:p},f)},deprecated:_e},Ot={className:!1,anchor:!0},jt={align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},yt=[{attributes:jt,save:function(e){var t,n=e.attributes,r=n.align,o=n.content,a=n.customTextColor,c=n.level,i=n.textColor,l="h"+c,s=Object(W.getColorClassName)("color",i),u=Q()((t={},Object(q.a)(t,s,s),Object(q.a)(t,"has-text-align-".concat(r),r),t));return Object($.createElement)(W.RichText.Content,{className:u||void 0,tagName:l,style:{color:s?void 0:a},value:o})},supports:Ot},{supports:Ot,attributes:jt,save:function(e){var t=e.attributes,n=t.align,r=t.level,o=t.content,a=t.textColor,c=t.customTextColor,i="h"+r,l=Object(W.getColorClassName)("color",a),s=Q()(Object(q.a)({},l,l));return Object($.createElement)(W.RichText.Content,{className:s||void 0,tagName:i,style:{textAlign:n,color:l?void 0:c},value:o})}}];function _t(e){var t=e.level,n={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return n.hasOwnProperty(t)?Object($.createElement)(se.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{d:n[t]})):null}var kt=function(e){function t(){return Object(re.a)(this,t),Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"createLevelControl",value:function(e,t,n){return{icon:Object($.createElement)(_t,{level:e}),title:Object(K.sprintf)(Object(K.__)("Heading %d"),e),isActive:e===t,onClick:function(){return n(e)}}}},{key:"render",value:function(){var e=this,t=this.props,n=t.isCollapsed,r=void 0===n||n,o=t.minLevel,a=t.maxLevel,c=t.selectedLevel,i=t.onChange;return Object($.createElement)(se.Toolbar,{isCollapsed:r,icon:Object($.createElement)(_t,{level:c}),controls:Object(J.range)(o,a).map((function(t){return e.createLevelControl(t,c,i)}))})}}]),t}($.Component),Ct=Object($.memo)((function(e){var t=e.textColorValue,n=e.setTextColor;return Object($.createElement)(W.PanelColorSettings,{title:Object(K.__)("Color Settings"),initialOpen:!1,colorSettings:[{value:t,onChange:n,label:Object(K.__)("Text Color")}]})}));var wt=Object(ue.compose)([Object(W.withColors)("backgroundColor",{textColor:"color"})])((function(e){var t,n=e.attributes,r=e.setAttributes,o=e.mergeBlocks,a=e.onReplace,c=e.className,i=e.textColor,l=e.setTextColor,s=n.align,u=n.content,b=n.level,m=n.placeholder,d="h"+b;return Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(kt,{minLevel:2,maxLevel:5,selectedLevel:b,onChange:function(e){return r({level:e})}}),Object($.createElement)(W.AlignmentToolbar,{value:s,onChange:function(e){r({align:e})}})),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,{title:Object(K.__)("Heading Settings")},Object($.createElement)("p",null,Object(K.__)("Level")),Object($.createElement)(kt,{isCollapsed:!1,minLevel:1,maxLevel:7,selectedLevel:b,onChange:function(e){return r({level:e})}})),Object($.createElement)(Ct,{setTextColor:l,textColorValue:i.color})),Object($.createElement)(W.RichText,{identifier:"content",wrapperClassName:"wp-block-heading",tagName:d,value:u,onChange:function(e){return r({content:e})},onMerge:o,onSplit:function(e){return e?Object(G.createBlock)("core/heading",Object(Z.a)({},n,{content:e})):Object(G.createBlock)("core/paragraph")},onReplace:a,onRemove:function(){return a([])},className:Q()(c,(t={},Object(q.a)(t,"has-text-align-".concat(s),s),Object(q.a)(t,"has-text-color",i.color),Object(q.a)(t,i.class,i.class),t)),placeholder:m||Object(K.__)("Write heading…"),style:{color:i.color}}))}));var Et={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(G.createBlock)("core/heading",{content:t})}},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:{h1:{children:Object(G.getPhrasingContentSchema)()},h2:{children:Object(G.getPhrasingContentSchema)()},h3:{children:Object(G.getPhrasingContentSchema)()},h4:{children:Object(G.getPhrasingContentSchema)()},h5:{children:Object(G.getPhrasingContentSchema)()},h6:{children:Object(G.getPhrasingContentSchema)()}},transform:function(e){return Object(G.createBlock)("core/heading",Object(Z.a)({},Object(G.getBlockAttributes)("core/heading",e.outerHTML),{level:(t=e.nodeName,Number(t.substr(1)))}));var t}}].concat(Object(U.a)([2,3,4,5,6].map((function(e){return{type:"prefix",prefix:Array(e+1).join("#"),transform:function(t){return Object(G.createBlock)("core/heading",{level:e,content:t})}}})))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(G.createBlock)("core/paragraph",{content:t})}}]},xt={name:"core/heading",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}}},St=xt.name,Tt={title:Object(K.__)("Heading"),description:Object(K.__)("Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content."),icon:"heading",keywords:[Object(K.__)("title"),Object(K.__)("subtitle")],supports:{className:!1,anchor:!0},example:{attributes:{content:Object(K.__)("Code is Poetry"),level:2}},transforms:Et,deprecated:yt,merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},edit:wt,save:function(e){var t,n=e.attributes,r=n.align,o=n.content,a=n.customTextColor,c=n.level,i=n.textColor,l="h"+c,s=Object(W.getColorClassName)("color",i),u=Q()((t={},Object(q.a)(t,s,s),Object(q.a)(t,"has-text-color",i||a),Object(q.a)(t,"has-text-align-".concat(r),r),t));return Object($.createElement)(W.RichText.Content,{className:u||void 0,tagName:l,style:{color:s?void 0:a},value:o})}},Nt={value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}},Rt=[{attributes:Nt,save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation;return Object($.createElement)("blockquote",{style:{textAlign:n||null}},Object($.createElement)(W.RichText.Content,{multiline:!0,value:r}),!W.RichText.isEmpty(o)&&Object($.createElement)(W.RichText.Content,{tagName:"cite",value:o}))}},{attributes:Object(Z.a)({},Nt,{style:{type:"number",default:1}}),migrate:function(e){return 2===e.style?Object(Z.a)({},Object(J.omit)(e,["style"]),{className:e.className?e.className+" is-style-large":"is-style-large"}):e},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=t.style;return Object($.createElement)("blockquote",{className:2===a?"is-large":"",style:{textAlign:n||null}},Object($.createElement)(W.RichText.Content,{multiline:!0,value:r}),!W.RichText.isEmpty(o)&&Object($.createElement)(W.RichText.Content,{tagName:"cite",value:o}))}},{attributes:Object(Z.a)({},Nt,{citation:{type:"string",source:"html",selector:"footer",default:""},style:{type:"number",default:1}}),save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=t.style;return Object($.createElement)("blockquote",{className:"blocks-quote-style-".concat(a),style:{textAlign:n||null}},Object($.createElement)(W.RichText.Content,{multiline:!0,value:r}),!W.RichText.isEmpty(o)&&Object($.createElement)(W.RichText.Content,{tagName:"footer",value:o}))}}];var At=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(se.Path,{d:"M18.62 18h-5.24l2-4H13V6h8v7.24L18.62 18zm-2-2h.76L19 12.76V8h-4v4h3.62l-2 4zm-8 2H3.38l2-4H3V6h8v7.24L8.62 18zm-2-2h.76L9 12.76V8H5v4h3.62l-2 4z"}));var Bt=n(21),It=n(22),Mt={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(G.createBlock)("core/quote",{value:Object(It.toHTMLString)({value:Object(It.join)(e.map((function(e){var t=e.content;return Object(It.create)({html:t})})),"\u2028"),multilineTag:"p"})})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(G.createBlock)("core/quote",{value:"

".concat(t,"

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

".concat(e,"

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

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

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

"===t)return Object(G.createBlock)("core/heading",{content:n});var o=Object(It.split)(Object(It.create)({html:t,multilineTag:"p"}),"\u2028"),a=Object(G.createBlock)("core/heading",{content:Object(It.toHTMLString)({value:o[0]})});if(!n&&1===o.length)return a;var c=o.slice(1);return[a,Object(G.createBlock)("core/quote",Object(Z.a)({},r,{citation:n,value:Object(It.toHTMLString)({value:c.length?Object(It.join)(o.slice(1),"\u2028"):Object(It.create)(),multilineTag:"p"})}))]}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(G.createBlock)("core/pullquote",{value:t,citation:n})}}]},Pt={name:"core/quote",category:"common",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}}},Lt=Pt.name,Ht={title:Object(K.__)("Quote"),description:Object(K.__)('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'),icon:At,keywords:[Object(K.__)("blockquote"),Object(K.__)("cite")],example:{attributes:{value:"

"+Object(K.__)("In quoting others, we cite ourselves.")+"

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

"!==n?Object(Z.a)({},e,{value:e.value+n,citation:r}):Object(Z.a)({},e,{citation:r})},deprecated:Rt};function zt(e){return Math.min(3,e.images.length)}var Vt=function(e){var t=Object(J.pick)(e,["alt","id","link","caption"]);t.url=Object(J.get)(e,["sizes","large","url"])||Object(J.get)(e,["media_details","sizes","large","source_url"])||e.url;var n=Object(J.get)(e,["sizes","full","url"])||Object(J.get)(e,["media_details","sizes","full","source_url"]);return n&&(t.fullUrl=n),t},Dt=[{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?zt(t):r,a=t.imageCrop,c=t.linkTo;return Object($.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map((function(e){var t;switch(c){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var n=Object($.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object($.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object($.createElement)("figure",null,t?Object($.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},isEligible:function(e){var t=e.images,n=e.ids;return t&&t.length>0&&(!n&&t||n&&t&&n.length!==t.length||Object(J.some)(t,(function(e,t){return!e&&null!==n[t]||parseInt(e,10)!==n[t]})))},migrate:function(e){return Object(Z.a)({},e,{ids:Object(J.map)(e.images,(function(e){var t=e.id;return t?parseInt(t,10):null}))})},save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?zt(t):r,a=t.imageCrop,c=t.linkTo;return Object($.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map((function(e){var t;switch(c){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object($.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object($.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object($.createElement)("figure",null,t?Object($.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"div.wp-block-gallery figure.blocks-gallery-image img",query:{url:{source:"attribute",attribute:"src"},alt:{source:"attribute",attribute:"alt",default:""},id:{source:"attribute",attribute:"data-id"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},align:{type:"string",default:"none"}},save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?zt(t):r,a=t.align,c=t.imageCrop,i=t.linkTo,l=Q()("columns-".concat(o),{alignnone:"none"===a,"is-cropped":c});return Object($.createElement)("div",{className:l},n.map((function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object($.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object($.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object($.createElement)("a",{href:t},n):n)})))}}],Ft=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(se.G,null,Object($.createElement)(se.Path,{d:"M20 4v12H8V4h12m0-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 9.67l1.69 2.26 2.48-3.1L19 15H9zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}))),Ut=Object($.createElement)(se.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{d:"M5 8.70002L10.6 14.4L12 12.9L7.8 8.70002L12 4.50002L10.6 3.00002L5 8.70002Z"})),qt=Object($.createElement)(se.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{d:"M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z"})),Wt=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(ie.a)(e)),e.onSelectCaption=e.onSelectCaption.bind(Object(ie.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(ie.a)(e)),e.bindContainer=e.bindContainer.bind(Object(ie.a)(e)),e.state={captionSelected:!1},e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"onSelectCaption",value:function(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}},{key:"onSelectImage",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onRemoveImage",value:function(e){this.container===document.activeElement&&this.props.isSelected&&-1!==[we.BACKSPACE,we.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isSelected,r=t.image,o=t.url;r&&!o&&this.props.setAttributes({url:r.source_url,alt:r.alt_text}),this.state.captionSelected&&!n&&e.isSelected&&this.setState({captionSelected:!1})}},{key:"render",value:function(){var e,t=this.props,n=t.url,r=t.alt,o=t.id,a=t.linkTo,c=t.link,i=t.isFirstItem,l=t.isLastItem,s=t.isSelected,u=t.caption,b=t.onRemove,m=t.onMoveForward,d=t.onMoveBackward,h=t.setAttributes,p=t["aria-label"];switch(a){case"media":e=n;break;case"attachment":e=c}var g=Object($.createElement)($.Fragment,null,Object($.createElement)("img",{src:n,alt:r,"data-id":o,onClick:this.onSelectImage,onFocus:this.onSelectImage,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":p,ref:this.bindContainer}),Object(Ce.isBlobURL)(n)&&Object($.createElement)(se.Spinner,null)),f=Q()({"is-selected":s,"is-transient":Object(Ce.isBlobURL)(n)});return Object($.createElement)("figure",{className:f},e?Object($.createElement)("a",{href:e},g):g,Object($.createElement)("div",{className:"block-library-gallery-item__move-menu"},Object($.createElement)(se.IconButton,{icon:Ut,onClick:i?void 0:d,className:"blocks-gallery-item__move-backward",label:Object(K.__)("Move image backward"),"aria-disabled":i,disabled:!s}),Object($.createElement)(se.IconButton,{icon:qt,onClick:l?void 0:m,className:"blocks-gallery-item__move-forward",label:Object(K.__)("Move image forward"),"aria-disabled":l,disabled:!s})),Object($.createElement)("div",{className:"block-library-gallery-item__inline-menu"},Object($.createElement)(se.IconButton,{icon:"no-alt",onClick:b,className:"blocks-gallery-item__remove",label:Object(K.__)("Remove image"),disabled:!s})),(s||u)&&Object($.createElement)(W.RichText,{tagName:"figcaption",placeholder:s?Object(K.__)("Write caption…"):null,value:u,isSelected:this.state.captionSelected,onChange:function(e){return h({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}]),t}($.Component),Gt=Object(be.withSelect)((function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}}))(Wt),Kt=[{value:"attachment",label:Object(K.__)("Attachment Page")},{value:"media",label:Object(K.__)("Media File")},{value:"none",label:Object(K.__)("None")}],Zt=["image"],$t=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(ie.a)(e)),e.onSelectImages=e.onSelectImages.bind(Object(ie.a)(e)),e.setLinkTo=e.setLinkTo.bind(Object(ie.a)(e)),e.setColumnsNumber=e.setColumnsNumber.bind(Object(ie.a)(e)),e.toggleImageCrop=e.toggleImageCrop.bind(Object(ie.a)(e)),e.onMove=e.onMove.bind(Object(ie.a)(e)),e.onMoveForward=e.onMoveForward.bind(Object(ie.a)(e)),e.onMoveBackward=e.onMoveBackward.bind(Object(ie.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(ie.a)(e)),e.onUploadError=e.onUploadError.bind(Object(ie.a)(e)),e.setImageAttributes=e.setImageAttributes.bind(Object(ie.a)(e)),e.setAttributes=e.setAttributes.bind(Object(ie.a)(e)),e.onFocusGalleryCaption=e.onFocusGalleryCaption.bind(Object(ie.a)(e)),e.state={selectedImage:null,attachmentCaptions:null},e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=Object(Z.a)({},e,{ids:Object(J.map)(e.images,"id")})),this.props.setAttributes(e)}},{key:"onSelectImage",value:function(e){var t=this;return function(){t.state.selectedImage!==e&&t.setState({selectedImage:e})}}},{key:"onMove",value:function(e,t){var n=Object(U.a)(this.props.attributes.images);n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.setAttributes({images:n})}},{key:"onMoveForward",value:function(e){var t=this;return function(){e!==t.props.attributes.images.length-1&&t.onMove(e,e+1)}}},{key:"onMoveBackward",value:function(e){var t=this;return function(){0!==e&&t.onMove(e,e-1)}}},{key:"onRemoveImage",value:function(e){var t=this;return function(){var n=Object(J.filter)(t.props.attributes.images,(function(t,n){return e!==n})),r=t.props.attributes.columns;t.setState({selectedImage:null}),t.setAttributes({images:n,columns:r?Math.min(n.length,r):r})}}},{key:"selectCaption",value:function(e,t,n){var r=Object(J.find)(t,{id:e.id}),o=r?r.caption:e.caption;if(!n)return o;var a=Object(J.find)(n,{id:e.id});return a&&a.caption!==e.caption?e.caption:o}},{key:"onSelectImages",value:function(e){var t=this,n=this.props.attributes,r=n.columns,o=n.images,a=this.state.attachmentCaptions;this.setState({attachmentCaptions:e.map((function(e){return{id:e.id,caption:e.caption}}))}),this.setAttributes({images:e.map((function(e){return Object(Z.a)({},Vt(e),{caption:t.selectCaption(e,o,a)})})),columns:r?Math.min(e.length,r):r})}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"setLinkTo",value:function(e){this.setAttributes({linkTo:e})}},{key:"setColumnsNumber",value:function(e){this.setAttributes({columns:e})}},{key:"toggleImageCrop",value:function(){this.setAttributes({imageCrop:!this.props.attributes.imageCrop})}},{key:"getImageCropHelp",value:function(e){return e?Object(K.__)("Thumbnails are cropped to align."):Object(K.__)("Thumbnails are not cropped.")}},{key:"onFocusGalleryCaption",value:function(){this.setState({selectedImage:null})}},{key:"setImageAttributes",value:function(e,t){var n=this.props.attributes.images,r=this.setAttributes;n[e]&&r({images:[].concat(Object(U.a)(n.slice(0,e)),[Object(Z.a)({},n[e],t)],Object(U.a)(n.slice(e+1)))})}},{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.mediaUpload,r=t.images;if(Object(J.every)(r,(function(e){var t=e.url;return Object(Ce.isBlobURL)(t)}))){var o=Object(J.map)(r,(function(e){var t=e.url;return Object(Ce.getBlobByURL)(t)}));Object(J.forEach)(r,(function(e){var t=e.url;return Object(Ce.revokeBlobURL)(t)})),n({filesList:o,onFileChange:this.onSelectImages,allowedTypes:["image"]})}}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.attributes,o=n.className,a=n.isSelected,c=n.noticeUI,i=n.setAttributes,l=r.align,s=r.columns,u=void 0===s?zt(r):s,b=r.caption,m=r.imageCrop,d=r.images,h=r.linkTo,p=!!d.length,g=p&&Object(J.some)(d,(function(e){return e.id})),f=Object($.createElement)(W.MediaPlaceholder,{addToGallery:g,isAppender:p,className:o,dropZoneUIOnly:p&&!a,icon:!p&&Object($.createElement)(W.BlockIcon,{icon:Ft}),labels:{title:!p&&Object(K.__)("Gallery"),instructions:!p&&Object(K.__)("Drag images, upload new ones or select files from your library.")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:Zt,multiple:!0,value:g?d:void 0,onError:this.onUploadError,notices:p?void 0:c});if(!p)return f;var v=Q()("blocks-gallery-caption",{"screen-reader-text":!a&&W.RichText.isEmpty(b)});return Object($.createElement)($.Fragment,null,Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,{title:Object(K.__)("Gallery Settings")},d.length>1&&Object($.createElement)(se.RangeControl,{label:Object(K.__)("Columns"),value:u,onChange:this.setColumnsNumber,min:1,max:Math.min(8,d.length),required:!0}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Crop Images"),checked:!!m,onChange:this.toggleImageCrop,help:this.getImageCropHelp}),Object($.createElement)(se.SelectControl,{label:Object(K.__)("Link To"),value:h,onChange:this.setLinkTo,options:Kt}))),c,Object($.createElement)("figure",{className:Q()(o,(e={},Object(q.a)(e,"align".concat(l),l),Object(q.a)(e,"columns-".concat(u),u),Object(q.a)(e,"is-cropped",m),e))},Object($.createElement)("ul",{className:"blocks-gallery-grid"},d.map((function(e,n){var r=Object(K.sprintf)(Object(K.__)("image %1$d of %2$d in gallery"),n+1,d.length);return Object($.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object($.createElement)(Gt,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===n,isLastItem:n+1===d.length,isSelected:a&&t.state.selectedImage===n,onMoveBackward:t.onMoveBackward(n),onMoveForward:t.onMoveForward(n),onRemove:t.onRemoveImage(n),onSelect:t.onSelectImage(n),setAttributes:function(e){return t.setImageAttributes(n,e)},caption:e.caption,"aria-label":r}))}))),f,Object($.createElement)(W.RichText,{tagName:"figcaption",className:v,placeholder:Object(K.__)("Write gallery caption…"),value:b,unstableOnFocus:this.onFocusGalleryCaption,onChange:function(e){return i({caption:e})},inlineToolbar:!0})))}}]),t}($.Component),Yt=Object(ue.compose)([Object(be.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().__experimentalMediaUpload}})),se.withNotices])($t);var Qt=function(e){return e?e.split(",").map((function(e){return parseInt(e,10)})):[]},Jt={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=Object(J.every)(e,["align",t])?t:void 0;var n=Object(J.filter)(e,(function(e){return e.url}));return Object(G.createBlock)("core/gallery",{images:n.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),ids:n.map((function(e){return e.id})),align:t})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return Qt(t).map((function(e){return{id:e}}))}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return Qt(t)}},columns:{type:"number",shortcode:function(e){var t=e.named.columns;return parseInt(void 0===t?"3":t,10)}},linkTo:{type:"string",shortcode:function(e){var t=e.named.link,n=void 0===t?"attachment":t;return"file"===n?"media":n}}}},{type:"files",isMatch:function(e){return 1!==e.length&&Object(J.every)(e,(function(e){return 0===e.type.indexOf("image/")}))},transform:function(e){return Object(G.createBlock)("core/gallery",{images:e.map((function(e){return Vt({url:Object(Ce.createBlobURL)(e)})}))})}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,n=e.align;return t.length>0?t.map((function(e){var t=e.id,r=e.url,o=e.alt,a=e.caption;return Object(G.createBlock)("core/image",{id:t,url:r,alt:o,caption:a,align:n})})):Object(G.createBlock)("core/image",{align:n})}}]},Xt={name:"core/gallery",category:"common",attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",default:[]},columns:{type:"number"},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}}},en=Xt.name,tn={title:Object(K.__)("Gallery"),description:Object(K.__)("Display multiple images in a rich gallery."),icon:Ft,keywords:[Object(K.__)("images"),Object(K.__)("photos")],example:{attributes:{columns:2,images:[{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}]}},supports:{align:!0},transforms:Jt,edit:Yt,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?zt(t):r,a=t.imageCrop,c=t.caption,i=t.linkTo;return Object($.createElement)("figure",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},Object($.createElement)("ul",{className:"blocks-gallery-grid"},n.map((function(e){var t;switch(i){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var n=Object($.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object($.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object($.createElement)("figure",null,t?Object($.createElement)("a",{href:t},n):n,!W.RichText.isEmpty(e.caption)&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!W.RichText.isEmpty(c)&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:c}))},deprecated:Dt},nn=n(57),rn=n.n(nn);var on=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{d:"M21 6V20C21 21.1 20.1 22 19 22H5C3.89 22 3 21.1 3 20L3.01 6C3.01 4.9 3.89 4 5 4H6V2H8V4H16V2H18V4H19C20.1 4 21 4.9 21 6ZM5 8H19V6H5V8ZM19 20V10H5V20H19ZM11 12H17V14H11V12ZM17 16H11V18H17V16ZM7 12H9V14H7V12ZM9 18V16H7V18H9Z"})),an="core/archives",cn={title:Object(K.__)("Archives"),description:Object(K.__)("Display a monthly archive of your posts."),icon:on,category:"widgets",supports:{align:!0,html:!1},edit:function(e){var t=e.attributes,n=e.setAttributes,r=t.showPostCounts,o=t.displayAsDropdown;return Object($.createElement)($.Fragment,null,Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,{title:Object(K.__)("Archives Settings")},Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Display as Dropdown"),checked:o,onChange:function(){return n({displayAsDropdown:!o})}}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Show Post Counts"),checked:r,onChange:function(){return n({showPostCounts:!r})}}))),Object($.createElement)(se.Disabled,null,Object($.createElement)(rn.a,{block:"core/archives",attributes:t})))}},ln=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(se.Path,{d:"m12 3l0.01 10.55c-0.59-0.34-1.27-0.55-2-0.55-2.22 0-4.01 1.79-4.01 4s1.79 4 4.01 4 3.99-1.79 3.99-4v-10h4v-4h-6zm-1.99 16c-1.1 0-2-0.9-2-2s0.9-2 2-2 2 0.9 2 2-0.9 2-2 2z"})),sn=["audio"],un=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.toggleAttribute=e.toggleAttribute.bind(Object(ie.a)(e)),e.onSelectURL=e.onSelectURL.bind(Object(ie.a)(e)),e.onUploadError=e.onUploadError.bind(Object(ie.a)(e)),e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,a=t.setAttributes,c=n.id,i=n.src,l=void 0===i?"":i;if(!c&&Object(Ce.isBlobURL)(l)){var s=Object(Ce.getBlobByURL)(l);s&&r({filesList:[s],onFileChange:function(e){var t=Object(ke.a)(e,1)[0],n=t.id,r=t.url;a({id:n,src:r})},onError:function(t){a({src:void 0,id:void 0}),e.setState({editing:!0}),o.createErrorNotice(t)},allowedTypes:sn})}}},{key:"toggleAttribute",value:function(e){var t=this;return function(n){t.props.setAttributes(Object(q.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=et({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}this.setState({editing:!1})}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"getAutoplayHelp",value:function(e){return e?Object(K.__)("Note: Autoplaying audio may cause usability issues for some visitors."):null}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.autoplay,r=t.caption,o=t.loop,a=t.preload,c=t.src,i=this.props,l=i.setAttributes,s=i.isSelected,u=i.className,b=i.noticeUI,m=this.state.editing,d=function(){e.setState({editing:!0})};return m?Object($.createElement)(W.MediaPlaceholder,{icon:Object($.createElement)(W.BlockIcon,{icon:ln}),className:u,onSelect:function(t){if(!t||!t.url)return l({src:void 0,id:void 0}),void d();l({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"audio/*",allowedTypes:sn,value:this.props.attributes,notices:b,onError:this.onUploadError}):Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(se.Toolbar,null,Object($.createElement)(se.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(K.__)("Edit audio"),onClick:d,icon:"edit"}))),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,{title:Object(K.__)("Audio Settings")},Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n,help:this.getAutoplayHelp}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:o}),Object($.createElement)(se.SelectControl,{label:Object(K.__)("Preload"),value:void 0!==a?a:"none",onChange:function(e){return l({preload:"none"!==e?e:void 0})},options:[{value:"auto",label:Object(K.__)("Auto")},{value:"metadata",label:Object(K.__)("Metadata")},{value:"none",label:Object(K.__)("None")}]}))),Object($.createElement)("figure",{className:u},Object($.createElement)(se.Disabled,null,Object($.createElement)("audio",{controls:"controls",src:c})),(!W.RichText.isEmpty(r)||s)&&Object($.createElement)(W.RichText,{tagName:"figcaption",placeholder:Object(K.__)("Write caption…"),value:r,onChange:function(e){return l({caption:e})},inlineToolbar:!0})))}}]),t}($.Component),bn=Object(ue.compose)([Object(be.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().__experimentalMediaUpload}})),se.withNotices])(un);var mn={from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("audio/")},transform:function(e){var t=e[0];return Object(G.createBlock)("core/audio",{src:Object(Ce.createBlobURL)(t)})}},{type:"shortcode",tag:"audio",attributes:{src:{type:"string",shortcode:function(e){return e.named.src}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},dn={name:"core/audio",category:"common",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}}},hn=dn.name,pn={title:Object(K.__)("Audio"),description:Object(K.__)("Embed a simple audio player."),icon:ln,transforms:mn,supports:{align:!0},edit:bn,save:function(e){var t=e.attributes,n=t.autoplay,r=t.caption,o=t.loop,a=t.preload,c=t.src;return Object($.createElement)("figure",null,Object($.createElement)("audio",{controls:"controls",src:c,autoPlay:n,loop:o,preload:a}),!W.RichText.isEmpty(r)&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:r}))}},gn=function(e){return Object(J.omit)(Object(Z.a)({},e,{customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0}),["color","textColor"])},fn={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"}},vn=[{attributes:Object(Z.a)({},fn,{align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"}}),isEligible:function(e){return e.className&&e.className.includes("is-style-squared")},migrate:function(e){var t=e.className;return t&&(t=t.replace(/is-style-squared[\s]?/,"").trim()),Object(Z.a)({},e,{className:t||void 0,borderRadius:0})},save:function(e){var t,n=e.attributes,r=n.backgroundColor,o=n.customBackgroundColor,a=n.customTextColor,c=n.linkTarget,i=n.rel,l=n.text,s=n.textColor,u=n.title,b=n.url,m=Object(W.getColorClassName)("color",s),d=Object(W.getColorClassName)("background-color",r),h=Q()("wp-block-button__link",(t={"has-text-color":s||a},Object(q.a)(t,m,m),Object(q.a)(t,"has-background",r||o),Object(q.a)(t,d,d),t)),p={backgroundColor:d?void 0:o,color:m?void 0:a};return Object($.createElement)("div",null,Object($.createElement)(W.RichText.Content,{tagName:"a",className:h,href:b,title:u,style:p,value:l,target:c,rel:i}))}},{attributes:Object(Z.a)({},fn,{align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}}),save:function(e){var t,n=e.attributes,r=n.url,o=n.text,a=n.title,c=n.backgroundColor,i=n.textColor,l=n.customBackgroundColor,s=n.customTextColor,u=Object(W.getColorClassName)("color",i),b=Object(W.getColorClassName)("background-color",c),m=Q()("wp-block-button__link",(t={"has-text-color":i||s},Object(q.a)(t,u,u),Object(q.a)(t,"has-background",c||l),Object(q.a)(t,b,b),t)),d={backgroundColor:b?void 0:l,color:u?void 0:s};return Object($.createElement)("div",null,Object($.createElement)(W.RichText.Content,{tagName:"a",className:m,href:r,title:a,style:d,value:o}))},migrate:gn},{attributes:Object(Z.a)({},fn,{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,a=t.align,c={backgroundColor:t.color,color:t.textColor};return Object($.createElement)("div",{className:"align".concat(a)},Object($.createElement)(W.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:n,title:o,style:c,value:r}))},migrate:gn},{attributes:Object(Z.a)({},fn,{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,a=t.align,c=t.color,i=t.textColor;return Object($.createElement)("div",{className:"align".concat(a),style:{backgroundColor:c}},Object($.createElement)(W.RichText.Content,{tagName:"a",href:n,title:o,style:{color:i},value:r}))},migrate:gn}],On=window.getComputedStyle,jn=Object(se.withFallbackStyles)((function(e,t){var n=t.textColor,r=t.backgroundColor,o=r&&r.color,a=n&&n.color,c=!a&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:o||!e?void 0:On(e).backgroundColor,fallbackTextColor:a||!c?void 0:On(c).color}})),yn=0,_n=50,kn=5;function Cn(e){var t=e.borderRadius,n=void 0===t?"":t,r=e.setAttributes,o=Object($.useCallback)((function(e){r({borderRadius:e})}),[r]);return Object($.createElement)(se.PanelBody,{title:Object(K.__)("Border Settings")},Object($.createElement)(se.RangeControl,{value:n,label:Object(K.__)("Border Radius"),min:yn,max:_n,initialPosition:kn,allowReset:!0,onChange:o}))}var wn=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).nodeRef=null,e.bindRef=e.bindRef.bind(Object(ie.a)(e)),e.onSetLinkRel=e.onSetLinkRel.bind(Object(ie.a)(e)),e.onToggleOpenInNewTab=e.onToggleOpenInNewTab.bind(Object(ie.a)(e)),e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"onSetLinkRel",value:function(e){this.props.setAttributes({rel:e})}},{key:"onToggleOpenInNewTab",value:function(e){var t=this.props.attributes.rel,n=e?"_blank":void 0,r=t;n&&!t?r="noreferrer noopener":n||"noreferrer noopener"!==t||(r=void 0),this.props.setAttributes({linkTarget:n,rel:r})}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.backgroundColor,o=t.textColor,a=t.setBackgroundColor,c=t.setTextColor,i=t.fallbackBackgroundColor,l=t.fallbackTextColor,s=t.setAttributes,u=t.className,b=t.instanceId,m=t.isSelected,d=n.borderRadius,h=n.linkTarget,p=n.placeholder,g=n.rel,f=n.text,v=n.title,O=n.url,j="wp-block-button__inline-link-".concat(b);return Object($.createElement)("div",{className:u,title:v,ref:this.bindRef},Object($.createElement)(W.RichText,{placeholder:p||Object(K.__)("Add text…"),value:f,onChange:function(e){return s({text:e})},withoutInteractiveFormatting:!0,className:Q()("wp-block-button__link",(e={"has-background":r.color},Object(q.a)(e,r.class,r.class),Object(q.a)(e,"has-text-color",o.color),Object(q.a)(e,o.class,o.class),Object(q.a)(e,"no-border-radius",0===d),e)),style:{backgroundColor:r.color,color:o.color,borderRadius:d?d+"px":void 0}}),Object($.createElement)(se.BaseControl,{label:Object(K.__)("Link"),className:"wp-block-button__inline-link",id:j},Object($.createElement)(W.URLInput,{className:"wp-block-button__inline-link-input",value:O,autoFocus:!1,onChange:function(e){return s({url:e})},disableSuggestions:!m,id:j,isFullWidth:!0,hasBorder:!0})),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(W.PanelColorSettings,{title:Object(K.__)("Color Settings"),colorSettings:[{value:r.color,onChange:a,label:Object(K.__)("Background Color")},{value:o.color,onChange:c,label:Object(K.__)("Text Color")}]},Object($.createElement)(W.ContrastChecker,{isLargeText:!1,textColor:o.color,backgroundColor:r.color,fallbackBackgroundColor:i,fallbackTextColor:l})),Object($.createElement)(Cn,{borderRadius:d,setAttributes:s}),Object($.createElement)(se.PanelBody,{title:Object(K.__)("Link settings")},Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Open in new tab"),onChange:this.onToggleOpenInNewTab,checked:"_blank"===h}),Object($.createElement)(se.TextControl,{label:Object(K.__)("Link rel"),value:g||"",onChange:this.onSetLinkRel}))))}}]),t}($.Component),En=Object(ue.compose)([ue.withInstanceId,Object(W.withColors)("backgroundColor",{textColor:"color"}),jn])(wn),xn=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(se.G,null,Object($.createElement)(se.Path,{d:"M19 6H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H5V8h14v8z"})));var Sn={name:"core/button",category:"layout",attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"}}},Tn=Sn.name,Nn={title:Object(K.__)("Button"),description:Object(K.__)("Prompt visitors to take action with a button-style link."),icon:xn,keywords:[Object(K.__)("link")],example:{attributes:{className:"is-style-fill",backgroundColor:"vivid-green-cyan",text:Object(K.__)("Call to Action")}},supports:{align:!0,alignWide:!1},styles:[{name:"fill",label:Object(K.__)("Fill"),isDefault:!0},{name:"outline",label:Object(K.__)("Outline")}],edit:En,save:function(e){var t,n=e.attributes,r=n.backgroundColor,o=n.borderRadius,a=n.customBackgroundColor,c=n.customTextColor,i=n.linkTarget,l=n.rel,s=n.text,u=n.textColor,b=n.title,m=n.url,d=Object(W.getColorClassName)("color",u),h=Object(W.getColorClassName)("background-color",r),p=Q()("wp-block-button__link",(t={"has-text-color":u||c},Object(q.a)(t,d,d),Object(q.a)(t,"has-background",r||a),Object(q.a)(t,h,h),Object(q.a)(t,"no-border-radius",0===o),t)),g={backgroundColor:h?void 0:a,color:d?void 0:c,borderRadius:o?o+"px":void 0};return Object($.createElement)("div",null,Object($.createElement)(W.RichText.Content,{tagName:"a",className:p,href:m,title:b,style:g,value:s,target:i,rel:l}))},deprecated:vn},Rn=n(29),An=n.n(Rn),Bn=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).getYearMonth=Qe()(e.getYearMonth.bind(Object(ie.a)(e)),{maxSize:1}),e.getServerSideAttributes=Qe()(e.getServerSideAttributes.bind(Object(ie.a)(e)),{maxSize:1}),e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"getYearMonth",value:function(e){if(!e)return{};var t=An()(e);return{year:t.year(),month:t.month()+1}}},{key:"getServerSideAttributes",value:function(e,t){return Object(Z.a)({},e,this.getYearMonth(t))}},{key:"render",value:function(){return Object($.createElement)(se.Disabled,null,Object($.createElement)(rn.a,{block:"core/calendar",attributes:this.getServerSideAttributes(this.props.attributes,this.props.date)}))}}]),t}($.Component),In=Object(be.withSelect)((function(e){var t=e("core/editor");if(t){var n=t.getEditedPostAttribute;return{date:"post"===n("type")?n("date"):void 0}}}))(Bn),Mn=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(se.G,null,Object($.createElement)(se.Path,{d:"M7 11h2v2H7v-2zm14-5v14c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2l.01-14c0-1.1.88-2 1.99-2h1V2h2v2h8V2h2v2h1c1.1 0 2 .9 2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"}))),Pn="core/calendar",Ln={title:Object(K.__)("Calendar"),description:Object(K.__)("A calendar of your site’s posts."),icon:Mn,category:"widgets",keywords:[Object(K.__)("posts"),Object(K.__)("archive")],supports:{align:!0},example:{},edit:In},Hn=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(Object(ie.a)(e)),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(Object(ie.a)(e)),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(Object(ie.a)(e)),e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"toggleDisplayAsDropdown",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({displayAsDropdown:!t.displayAsDropdown})}},{key:"toggleShowPostCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showPostCounts:!t.showPostCounts})}},{key:"toggleShowHierarchy",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showHierarchy:!t.showHierarchy})}},{key:"getCategories",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.categories;return t&&t.length?null===e?t:t.filter((function(t){return t.parent===e})):[]}},{key:"getCategoryListClassName",value:function(e){return"wp-block-categories__list wp-block-categories__list-level-".concat(e)}},{key:"renderCategoryName",value:function(e){return e.name?Object(J.unescape)(e.name).trim():Object(K.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,n=this.getCategories(t);return Object($.createElement)("ul",{className:this.getCategoryListClassName(0)},n.map((function(t){return e.renderCategoryListItem(t,0)})))}},{key:"renderCategoryListItem",value:function(e,t){var n=this,r=this.props.attributes,o=r.showHierarchy,a=r.showPostCounts,c=this.getCategories(e.id);return Object($.createElement)("li",{key:e.id},Object($.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},this.renderCategoryName(e)),a&&Object($.createElement)("span",{className:"wp-block-categories__post-count"}," ","(",e.count,")"),o&&!!c.length&&Object($.createElement)("ul",{className:this.getCategoryListClassName(t+1)},c.map((function(e){return n.renderCategoryListItem(e,t+1)}))))}},{key:"renderCategoryDropdown",value:function(){var e=this,t=this.props.instanceId,n=this.props.attributes.showHierarchy?0:null,r=this.getCategories(n),o="blocks-category-select-".concat(t);return Object($.createElement)($.Fragment,null,Object($.createElement)("label",{htmlFor:o,className:"screen-reader-text"},Object(K.__)("Categories")),Object($.createElement)("select",{id:o,className:"wp-block-categories__dropdown"},r.map((function(t){return e.renderCategoryDropdownItem(t,0)}))))}},{key:"renderCategoryDropdownItem",value:function(e,t){var n=this,r=this.props.attributes,o=r.showHierarchy,a=r.showPostCounts,c=this.getCategories(e.id);return[Object($.createElement)("option",{key:e.id},Object(J.times)(3*t,(function(){return" "})),this.renderCategoryName(e),a?" (".concat(e.count,")"):""),o&&!!c.length&&c.map((function(e){return n.renderCategoryDropdownItem(e,t+1)}))]}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.isRequesting,r=t.displayAsDropdown,o=t.showHierarchy,a=t.showPostCounts,c=Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,{title:Object(K.__)("Categories Settings")},Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Display as Dropdown"),checked:r,onChange:this.toggleDisplayAsDropdown}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Show Hierarchy"),checked:o,onChange:this.toggleShowHierarchy}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Show Post Counts"),checked:a,onChange:this.toggleShowPostCounts})));return n?Object($.createElement)($.Fragment,null,c,Object($.createElement)(se.Placeholder,{icon:"admin-post",label:Object(K.__)("Categories")},Object($.createElement)(se.Spinner,null))):Object($.createElement)($.Fragment,null,c,Object($.createElement)("div",{className:this.props.className},r?this.renderCategoryDropdown():this.renderCategoryList()))}}]),t}($.Component),zn=Object(ue.compose)(Object(be.withSelect)((function(e){var t=e("core").getEntityRecords,n=e("core/data").isResolving,r={per_page:-1,hide_empty:!0};return{categories:t("taxonomy","category",r),isRequesting:n("core","getEntityRecords",["taxonomy","category",r])}})),ue.withInstanceId)(Hn),Vn=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(se.Path,{d:"M12,2l-5.5,9h11L12,2z M12,5.84L13.93,9h-3.87L12,5.84z"}),Object($.createElement)(se.Path,{d:"m17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"}),Object($.createElement)(se.Path,{d:"m3 21.5h8v-8h-8v8zm2-6h4v4h-4v-4z"})),Dn="core/categories",Fn={title:Object(K.__)("Categories"),description:Object(K.__)("Display a list of all categories."),icon:Vn,category:"widgets",supports:{align:!0,html:!1},edit:zn};function Un(e){return Object(J.flow)(qn,Gn,Zn)(e||"")}function qn(e){return e.replace(/&/g,"&")}function Wn(e){return e.replace(/&/g,"&")}function Gn(e){return e.replace(/\[/g,"[")}function Kn(e){return e.replace(/[/g,"[")}function Zn(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1//$2")}function $n(e){return e.replace(/^(\s*https?:)//([^\s<>"]+\s*)$/m,"$1//$2")}var Yn=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(se.Path,{d:"M9.4,16.6L4.8,12l4.6-4.6L8,6l-6,6l6,6L9.4,16.6z M14.6,16.6l4.6-4.6l-4.6-4.6L16,6l6,6l-6,6L14.6,16.6z"}));var Qn={from:[{type:"enter",regExp:/^```$/,transform:function(){return Object(G.createBlock)("core/code")}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName},schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]},Jn={name:"core/code",category:"formatting",attributes:{content:{type:"string",source:"text",selector:"code"}}},Xn=Jn.name,er={title:Object(K.__)("Code"),description:Object(K.__)("Display code snippets that respect your spacing and tabs."),icon:Yn,example:{attributes:{content:Object(K.__)('// A "block" is the abstract term used')+"\n"+Object(K.__)("// to describe units of markup that,")+"\n"+Object(K.__)("// when composed together, form the")+"\n"+Object(K.__)("// content or layout of a page.")+"\n"+Object(K.__)("registerBlockType( name, settings );")}},supports:{html:!1},transforms:Qn,edit:function(e){var t,n=e.attributes,r=e.setAttributes,o=e.className;return Object($.createElement)("div",{className:o},Object($.createElement)(W.PlainText,{value:(t=n.content,Object(J.flow)($n,Kn,Wn)(t||"")),onChange:function(e){return r({content:Un(e)})},placeholder:Object(K.__)("Write code…"),"aria-label":Object(K.__)("Code")}))},save:function(e){var t=e.attributes;return Object($.createElement)("pre",null,Object($.createElement)("code",null,t.content))}};function tr(e){var t,n=tr.doc;n||(n=document.implementation.createHTMLDocument(""),tr.doc=n),n.body.innerHTML=e;var r=!0,o=!1,a=void 0;try{for(var c,i=n.body.firstChild.classList[Symbol.iterator]();!(r=(c=i.next()).done);r=!0){if(t=c.value.match(/^layout-column-(\d+)$/))return Number(t[1])-1}}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}}var nr=[{attributes:{columns:{type:"number",default:2}},isEligible:function(e,t){return!!t.some((function(e){return/layout-column-\d+/.test(e.originalContent)}))&&t.some((function(e){return void 0!==tr(e.originalContent)}))},migrate:function(e,t){var n=t.reduce((function(e,t){var n=tr(t.originalContent);return void 0===n&&(n=0),e[n]||(e[n]=[]),e[n].push(t),e}),[]).map((function(e){return Object(G.createBlock)("core/column",{},e)}));return[Object(J.omit)(e,["columns"]),n]},save:function(e){var t=e.attributes.columns;return Object($.createElement)("div",{className:"has-".concat(t,"-columns")},Object($.createElement)(W.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},migrate:function(e,t){return[e=Object(J.omit)(e,["columns"]),t]},save:function(e){var t=e.attributes,n=t.verticalAlignment,r=t.columns,o=Q()("has-".concat(r,"-columns"),Object(q.a)({},"are-vertically-aligned-".concat(n),n));return Object($.createElement)("div",{className:o},Object($.createElement)(W.InnerBlocks.Content,null))}}],rr=Qe()((function(e){return void 0===e?null:Object(J.times)(e,(function(){return["core/column"]}))})),or=function(e){return Number.isFinite(e)?parseFloat(e.toFixed(2)):void 0};function ar(e,t){var n=e.attributes.width;return or(void 0===n?100/t:n)}function cr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return Object(J.sumBy)(e,(function(e){return ar(e,t)}))}function ir(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return e.reduce((function(e,n){var r=ar(n,t);return Object.assign(e,Object(q.a)({},n.clientId,r))}),{})}function lr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=(t-cr(e,n))/e.length;return Object(J.mapValues)(ir(e,n),(function(e){return or(e+r)}))}function sr(e,t){return e.map((function(e){return Object(J.merge)({},e,{attributes:{width:t[e.clientId]}})}))}var ur=["core/column"],br=[{title:Object(K.__)("Two columns; equal split"),icon:Object($.createElement)(se.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H25V34H39ZM23 34H9V14H23V34Z"})),template:[["core/column"],["core/column"]]},{title:Object(K.__)("Two columns; one-third, two-thirds split"),icon:Object($.createElement)(se.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z"})),template:[["core/column",{width:33.33}],["core/column",{width:66.66}]]},{title:Object(K.__)("Two columns; two-thirds, one-third split"),icon:Object($.createElement)(se.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z"})),template:[["core/column",{width:66.66}],["core/column",{width:33.33}]]},{title:Object(K.__)("Three columns; equal split"),icon:Object($.createElement)(se.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z"})),template:[["core/column"],["core/column"],["core/column"]]},{title:Object(K.__)("Three columns; wide center column"),icon:Object($.createElement)(se.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z"})),template:[["core/column",{width:25}],["core/column",{width:50}],["core/column",{width:25}]]}],mr=2;var dr=Object(be.withDispatch)((function(e,t,n){return{updateAlignment:function(r){var o=t.clientId,a=t.setAttributes,c=e("core/block-editor").updateBlockAttributes,i=n.select("core/block-editor").getBlockOrder;a({verticalAlignment:r}),i(o).forEach((function(e){c(e,{verticalAlignment:r})}))},updateColumns:function(r,o){var a=t.clientId,c=e("core/block-editor").replaceInnerBlocks,i=(0,n.select("core/block-editor").getBlocks)(a),l=i.some((function(e){return Number.isFinite(e.attributes.width)})),s=o>r;if(s&&l){var u=or(100/o),b=lr(i,100-u);i=[].concat(Object(U.a)(sr(i,b)),Object(U.a)(Object(J.times)(o-r,(function(){return Object(G.createBlock)("core/column",{width:u})}))))}else if(s)i=[].concat(Object(U.a)(i),Object(U.a)(Object(J.times)(o-r,(function(){return Object(G.createBlock)("core/column")}))));else{if(i=Object(J.dropRight)(i,r-o),l)i=sr(i,lr(i,100))}c(a,i,!1)}}}))((function(e){var t=e.attributes,n=e.className,r=e.updateAlignment,o=e.updateColumns,a=e.clientId,c=t.verticalAlignment,i=Object(be.useSelect)((function(e){return{count:e("core/block-editor").getBlockCount(a)}})).count,l=Object($.useState)(rr(i)),s=Object(ke.a)(l,2),u=s[0],b=s[1],m=Object($.useState)(!1),d=Object(ke.a)(m,2),h=d[0],p=d[1];Object($.useEffect)((function(){h&&p(!1)}),[h]);var g=Q()(n,Object(q.a)({},"are-vertically-aligned-".concat(c),c)),f=0===i&&!h||!u;return Object($.createElement)($.Fragment,null,!f&&Object($.createElement)($.Fragment,null,Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,null,Object($.createElement)(se.RangeControl,{label:Object(K.__)("Columns"),value:i,onChange:function(e){return o(i,e)},min:2,max:6}))),Object($.createElement)(W.BlockControls,null,Object($.createElement)(W.BlockVerticalAlignmentToolbar,{onChange:r,value:c}))),Object($.createElement)("div",{className:g},Object($.createElement)(W.InnerBlocks,{__experimentalTemplateOptions:br,__experimentalOnSelectTemplateOption:function(e){void 0===e&&(e=rr(mr)),b(e),p(!0)},__experimentalAllowTemplateOptionSkip:!0,template:f?null:u,templateLock:"all",allowedBlocks:ur})))})),hr=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(se.G,null,Object($.createElement)(se.Path,{d:"M4,4H20a2,2,0,0,1,2,2V18a2,2,0,0,1-2,2H4a2,2,0,0,1-2-2V6A2,2,0,0,1,4,4ZM4 6V18H8V6Zm6 0V18h4V6Zm6 0V18h4V6Z"})));var pr={name:"core/columns",category:"layout",attributes:{verticalAlignment:{type:"string"}}},gr=pr.name,fr={title:Object(K.__)("Columns"),icon:hr,description:Object(K.__)("Add a block that displays content in multiple columns, then add whatever content blocks you’d like."),supports:{align:["wide","full"],html:!1},example:{innerBlocks:[{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis."}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"}},{name:"core/paragraph",attributes:{content:"Suspendisse commodo neque lacus, a dictum orci interdum et."}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(K.__)("Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.")}},{name:"core/paragraph",attributes:{content:Object(K.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:nr,edit:dr,save:function(e){var t=e.attributes.verticalAlignment,n=Q()(Object(q.a)({},"are-vertically-aligned-".concat(t),t));return Object($.createElement)("div",{className:n},Object($.createElement)(W.InnerBlocks.Content,null))}};var vr=Object(ue.compose)(Object(be.withSelect)((function(e,t){var n=t.clientId;return{hasChildBlocks:(0,e("core/block-editor").getBlockOrder)(n).length>0}})),Object(be.withDispatch)((function(e,t,n){return{updateAlignment:function(r){var o=t.clientId,a=t.setAttributes,c=e("core/block-editor").updateBlockAttributes,i=n.select("core/block-editor").getBlockRootClientId;a({verticalAlignment:r}),c(i(o),{verticalAlignment:null})},updateWidth:function(r){var o=t.clientId,a=e("core/block-editor").updateBlockAttributes,c=n.select("core/block-editor"),i=c.getBlockRootClientId,l=(0,c.getBlocks)(i(o)),s=function(e,t){var n=Object(J.findIndex)(e,{clientId:t});return n===e.length-1?e.slice(0,n):e.slice(n+1)}(l,o),u=r+cr(Object(J.difference)(l,[Object(J.find)(l,{clientId:o})].concat(Object(U.a)(s)))),b=Object(Z.a)({},ir(l,l.length),Object(q.a)({},o,or(r)),lr(s,100-u,l.length));Object(J.forEach)(b,(function(e,t){a(t,{width:e})}))}}})))((function(e){var t=e.attributes,n=e.className,r=e.updateAlignment,o=e.updateWidth,a=e.hasChildBlocks,c=t.verticalAlignment,i=t.width,l=Q()(n,"block-core-columns",Object(q.a)({},"is-vertically-aligned-".concat(c),c));return Object($.createElement)("div",{className:l},Object($.createElement)(W.BlockControls,null,Object($.createElement)(W.BlockVerticalAlignmentToolbar,{onChange:r,value:c})),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,{title:Object(K.__)("Column Settings")},Object($.createElement)(se.RangeControl,{label:Object(K.__)("Percentage width"),value:i||"",onChange:o,min:0,max:100,required:!0,allowReset:!0}))),Object($.createElement)(W.InnerBlocks,{templateLock:!1,renderAppender:a?void 0:function(){return Object($.createElement)(W.InnerBlocks.ButtonBlockAppender,null)}}))})),Or=Object($.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object($.createElement)(se.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(se.Path,{d:"M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16zm0-11.47L17.74 9 12 13.47 6.26 9 12 4.53z"}));var jr={name:"core/column",category:"common",attributes:{verticalAlignment:{type:"string"},width:{type:"number",min:0,max:100}}},yr=jr.name,_r={title:Object(K.__)("Column"),parent:["core/columns"],icon:Or,description:Object(K.__)("A single column within a columns block."),supports:{inserter:!1,reusable:!1,html:!1},getEditWrapperProps:function(e){var t=e.width;if(Number.isFinite(t))return{style:{flexBasis:t+"%"}}},edit:vr,save:function(e){var t,n=e.attributes,r=n.verticalAlignment,o=n.width,a=Q()(Object(q.a)({},"is-vertically-aligned-".concat(r),r));return Number.isFinite(o)&&(t={flexBasis:o+"%"}),Object($.createElement)("div",{className:a,style:t},Object($.createElement)(W.InnerBlocks.Content,null))}},kr="image",Cr="video",wr=50;function Er(e){return e?{backgroundImage:"url(".concat(e,")")}:{}}function xr(e){return 0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)}var Sr={url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"}},Tr=[{attributes:Object(Z.a)({},Sr,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}}),supports:{align:!0},save:function(e){var t=e.attributes,n=t.backgroundType,r=t.contentAlign,o=t.customOverlayColor,a=t.dimRatio,c=t.focalPoint,i=t.hasParallax,l=t.overlayColor,s=t.title,u=t.url,b=Object(W.getColorClassName)("background-color",l),m=n===kr?Er(u):{};b||(m.backgroundColor=o),c&&!i&&(m.backgroundPosition="".concat(100*c.x,"% ").concat(100*c.y,"%"));var d=Q()(xr(a),b,Object(q.a)({"has-background-dim":0!==a,"has-parallax":i},"has-".concat(r,"-content"),"center"!==r));return Object($.createElement)("div",{className:d,style:m},Cr===n&&u&&Object($.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),!W.RichText.isEmpty(s)&&Object($.createElement)(W.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:s}))},migrate:function(e){return[Object(J.omit)(e,["title","contentAlign"]),[Object(G.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(K.__)("Write title…")})]]}},{attributes:Object(Z.a)({},Sr,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}}),supports:{className:!1},save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,a=t.dimRatio,c=t.align,i=t.contentAlign,l=t.overlayColor,s=t.customOverlayColor,u=Object(W.getColorClassName)("background-color",l),b=Er(n);u||(b.backgroundColor=s);var m=Q()("wp-block-cover-image",xr(a),u,Object(q.a)({"has-background-dim":0!==a,"has-parallax":o},"has-".concat(i,"-content"),"center"!==i),c?"align".concat(c):null);return Object($.createElement)("div",{className:m,style:b},!W.RichText.isEmpty(r)&&Object($.createElement)(W.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:r}))},migrate:function(e){return[Object(J.omit)(e,["title","contentAlign","align"]),[Object(G.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(K.__)("Write title…")})]]}},{attributes:Object(Z.a)({},Sr,{title:{type:"string",source:"html",selector:"h2"},align:{type:"string"},contentAlign:{type:"string",default:"center"}}),supports:{className:!1},save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,a=t.dimRatio,c=t.align,i=Er(n),l=Q()("wp-block-cover-image",xr(a),{"has-background-dim":0!==a,"has-parallax":o},c?"align".concat(c):null);return Object($.createElement)("section",{className:l,style:i},Object($.createElement)(W.RichText.Content,{tagName:"h2",value:r}))},migrate:function(e){return[Object(J.omit)(e,["title","contentAlign","align"]),[Object(G.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(K.__)("Write title…")})]]}}],Nr=n(220),Rr=n.n(Nr),Ar=n(47),Br=n.n(Ar),Ir=Object($.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object($.createElement)(se.Path,{d:"M4 4h7V2H4c-1.1 0-2 .9-2 2v7h2V4zm6 9l-4 5h12l-3-4-2.03 2.71L10 13zm7-4.5c0-.83-.67-1.5-1.5-1.5S14 7.67 14 8.5s.67 1.5 1.5 1.5S17 9.33 17 8.5zM20 2h-7v2h7v7h2V4c0-1.1-.9-2-2-2zm0 18h-7v2h7c1.1 0 2-.9 2-2v-7h-2v7zM4 13H2v7c0 1.1.9 2 2 2h7v-2H4v-7z"}),Object($.createElement)(se.Path,{d:"M0 0h24v24H0z",fill:"none"})),Mr=["image","video"],Pr=[["core/paragraph",{align:"center",fontSize:"large",placeholder:Object(K.__)("Write title…")}]];function Lr(){return Lr.fastAverageColor||(Lr.fastAverageColor=new Rr.a),Lr.fastAverageColor}var Hr=Object(ue.withInstanceId)((function(e){var t=e.value,n=void 0===t?"":t,r=e.instanceId,o=e.onChange,a=Object($.useState)(null),c=Object(ke.a)(a,2),i=c[0],l=c[1],s=Object($.useCallback)((function(e){var t=""!==e.target.value?parseInt(e.target.value,10):void 0;(isNaN(t)||t50){if(e&&e.attributes.dimRatio>50&&e.overlayColor.color===o.color)return;return o.color?void this.changeIsDarkIfRequired(Br()(o.color).isDark()):void this.changeIsDarkIfRequired(!0)}if(!(e&&e.attributes.dimRatio<=50&&e.attributes.url===c)){var i;switch(r.backgroundType){case kr:i=this.imageRef.current;break;case Cr:i=this.videoRef.current}i&&Lr().getColorAsync(i,(function(e){t.changeIsDarkIfRequired(e.isDark)}))}}},{key:"changeIsDarkIfRequired",value:function(e){this.state.isDark!==e&&this.setState({isDark:e})}}]),t}($.Component),Fr=Object(ue.compose)([Object(be.withDispatch)((function(e){return{toggleSelection:e("core/block-editor").toggleSelection}})),Object(W.withColors)({overlayColor:"background-color"}),se.withNotices,ue.withInstanceId])(Dr);var Ur={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.caption,n=e.url,r=e.align,o=e.id;return Object(G.createBlock)("core/cover",{title:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.caption,n=e.src,r=e.align,o=e.id;return Object(G.createBlock)("core/cover",{title:t,url:n,align:r,id:o,backgroundType:Cr})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.backgroundType;return!e.url||t===kr},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(G.createBlock)("core/image",{caption:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.backgroundType;return!e.url||t===Cr},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(G.createBlock)("core/video",{caption:t,src:n,id:o,align:r})}}]},qr={name:"core/cover",category:"common",attributes:{url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"},minHeight:{type:"number"}}},Wr=qr.name,Gr={title:Object(K.__)("Cover"),description:Object(K.__)("Add an image or video with a text overlay — great for headers."),icon:Ir,supports:{align:!0},example:{attributes:{customOverlayColor:"#065174",dimRatio:40,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:48,content:Object(K.__)("Snow Patrol"),align:"center"}}]},transforms:Ur,save:function(e){var t=e.attributes,n=t.backgroundType,r=t.customOverlayColor,o=t.dimRatio,a=t.focalPoint,c=t.hasParallax,i=t.overlayColor,l=t.url,s=t.minHeight,u=Object(W.getColorClassName)("background-color",i),b=n===kr?Er(l):{};u||(b.backgroundColor=r),a&&!c&&(b.backgroundPosition="".concat(100*a.x,"% ").concat(100*a.y,"%")),b.minHeight=s||void 0;var m=Q()(xr(o),u,{"has-background-dim":0!==o,"has-parallax":c});return Object($.createElement)("div",{className:m,style:b},Cr===n&&l&&Object($.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:l}),Object($.createElement)("div",{className:"wp-block-cover__inner-container"},Object($.createElement)(W.InnerBlocks.Content,null)))},edit:Fr,deprecated:Tr},Kr=function(e){var t=e.blockSupportsResponsive,n=e.showEditButton,r=e.themeSupportsResponsive,o=e.allowResponsive,a=e.getResponsiveHelp,c=e.toggleResponsive,i=e.switchBackToURLInput;return Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(se.Toolbar,null,n&&Object($.createElement)(se.IconButton,{className:"components-toolbar__control",label:Object(K.__)("Edit URL"),icon:"edit",onClick:i}))),r&&t&&Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,{title:Object(K.__)("Media Settings"),className:"blocks-responsive"},Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Resize for smaller devices"),checked:o,help:a,onChange:c}))))},Zr=function(){return Object($.createElement)("div",{className:"wp-block-embed is-loading"},Object($.createElement)(se.Spinner,null),Object($.createElement)("p",null,Object(K.__)("Embedding…")))},$r=function(e){var t=e.icon,n=e.label,r=e.value,o=e.onSubmit,a=e.onChange,c=e.cannotEmbed,i=e.fallback,l=e.tryAgain;return Object($.createElement)(se.Placeholder,{icon:Object($.createElement)(W.BlockIcon,{icon:t,showColors:!0}),label:n,className:"wp-block-embed",instructions:Object(K.__)("Paste a link to the content you want to display on your site.")},Object($.createElement)("form",{onSubmit:o},Object($.createElement)("input",{type:"url",value:r||"",className:"components-placeholder__input","aria-label":n,placeholder:Object(K.__)("Enter URL to embed here…"),onChange:a}),Object($.createElement)(se.Button,{isLarge:!0,type:"submit"},Object(K._x)("Embed","button label")),c&&Object($.createElement)("p",{className:"components-placeholder__error"},Object(K.__)("Sorry, this content could not be embedded."),Object($.createElement)("br",null),Object($.createElement)(se.Button,{isLarge:!0,onClick:l},Object(K._x)("Try again","button label"))," ",Object($.createElement)(se.Button,{isLarge:!0,onClick:i},Object(K._x)("Convert to link","button label")))),Object($.createElement)("div",{className:"components-placeholder__learn-more"},Object($.createElement)(se.ExternalLink,{href:Object(K.__)("https://wordpress.org/support/article/embeds/")},Object(K.__)("Learn more about embeds"))))},Yr=n(81),Qr=window.FocusEvent,Jr=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).checkFocus=e.checkFocus.bind(Object(ie.a)(e)),e.node=Object($.createRef)(),e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"checkFocus",value:function(){var e=document.activeElement;if("IFRAME"===e.tagName&&e.parentNode===this.node.current){var t=new Qr("focus",{bubbles:!0});e.dispatchEvent(t)}}},{key:"render",value:function(){var e=this.props.html;return Object($.createElement)("div",{ref:this.node,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:e}})}}]),t}($.Component),Xr=Object(ue.withGlobalEvents)({blur:"checkFocus"})(Jr),eo=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).hideOverlay=e.hideOverlay.bind(Object(ie.a)(e)),e.state={interactive:!1},e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"render",value:function(){var e,t,n,r=this.props,o=r.preview,a=r.url,c=r.type,i=r.caption,l=r.onCaptionChange,s=r.isSelected,u=r.className,b=r.icon,m=r.label,d=o.scripts,h=this.state.interactive,p="photo"===c?(t=(e=o).thumbnail_url?e.thumbnail_url:e.url,n=Object($.createElement)("p",null,Object($.createElement)("img",{src:t,alt:e.title,width:"100%"})),Object($.renderToString)(n)):o.html,g=Object(Yr.parse)(a).host.split("."),f=g.splice(g.length-2,g.length-1).join("."),v=Object(J.includes)(Ge,f),O=Object(K.sprintf)(Object(K.__)("Embedded content from %s"),f),j=$e()(c,u,"wp-block-embed__wrapper"),y="wp-embed"===c?Object($.createElement)(Xr,{html:p}):Object($.createElement)("div",{className:"wp-block-embed__wrapper"},Object($.createElement)(se.SandBox,{html:p,scripts:d,title:O,type:j,onFocus:this.hideOverlay}),!h&&Object($.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object($.createElement)("figure",{className:$e()(u,"wp-block-embed",{"is-type-video":"video"===c})},v?Object($.createElement)(se.Placeholder,{icon:Object($.createElement)(W.BlockIcon,{icon:b,showColors:!0}),label:m},Object($.createElement)("p",{className:"components-placeholder__error"},Object($.createElement)("a",{href:a},a)),Object($.createElement)("p",{className:"components-placeholder__error"},Object(K.sprintf)(Object(K.__)("Embedded content from %s can't be previewed in the editor."),f))):y,(!W.RichText.isEmpty(i)||s)&&Object($.createElement)(W.RichText,{tagName:"figcaption",placeholder:Object(K.__)("Write caption…"),value:i,onChange:l,inlineToolbar:!0}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}($.Component);function to(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return(function(r){function o(){var e;return Object(re.a)(this,o),(e=Object(ae.a)(this,Object(ce.a)(o).apply(this,arguments))).switchBackToURLInput=e.switchBackToURLInput.bind(Object(ie.a)(e)),e.setUrl=e.setUrl.bind(Object(ie.a)(e)),e.getMergedAttributes=e.getMergedAttributes.bind(Object(ie.a)(e)),e.setMergedAttributes=e.setMergedAttributes.bind(Object(ie.a)(e)),e.getResponsiveHelp=e.getResponsiveHelp.bind(Object(ie.a)(e)),e.toggleResponsive=e.toggleResponsive.bind(Object(ie.a)(e)),e.handleIncomingPreview=e.handleIncomingPreview.bind(Object(ie.a)(e)),e.state={editingURL:!1,url:e.props.attributes.url},e.props.preview&&e.handleIncomingPreview(),e}return Object(le.a)(o,r),Object(oe.a)(o,[{key:"handleIncomingPreview",value:function(){if(this.setMergedAttributes(),this.props.onReplace){var e=et(this.props,this.getMergedAttributes());e&&this.props.onReplace(e)}}},{key:"componentDidUpdate",value:function(e){var t=void 0!==this.props.preview,n=void 0!==e.preview,r=e.preview&&this.props.preview&&this.props.preview.html!==e.preview.html||t&&!n,o=this.props.attributes.url!==e.attributes.url;if(r||o){if(this.props.cannotEmbed)return void(this.props.fetching||this.resubmitWithoutTrailingSlash());this.handleIncomingPreview()}}},{key:"resubmitWithoutTrailingSlash",value:function(){this.setState((function(e){return{url:e.url.replace(/\/$/,"")}}),this.setUrl)}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;this.setState({editingURL:!1}),n({url:t})}},{key:"getMergedAttributes",value:function(){var t=this.props.preview,r=this.props.attributes,o=r.className,a=r.allowResponsive;return Object(Z.a)({},this.props.attributes,nt(t,e,o,n,a))}},{key:"setMergedAttributes",value:function(){(0,this.props.setAttributes)(this.getMergedAttributes())}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"getResponsiveHelp",value:function(e){return e?Object(K.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(K.__)("This embed may not preserve its aspect ratio when the browser is resized.")}},{key:"toggleResponsive",value:function(){var e=this.props.attributes,t=e.allowResponsive,r=e.className,o=this.props.preview.html,a=!t;this.props.setAttributes({allowResponsive:a,className:tt(o,r,n&&a)})}},{key:"render",value:function(){var r=this,o=this.state,a=o.url,c=o.editingURL,i=this.props,l=i.fetching,s=i.setAttributes,u=i.isSelected,b=i.preview,m=i.cannotEmbed,d=i.themeSupportsResponsive,h=i.tryAgain;if(l)return Object($.createElement)(Zr,null);var p=Object(K.sprintf)(Object(K.__)("%s URL"),e);if(!b||m||c)return Object($.createElement)($r,{icon:t,label:p,onSubmit:this.setUrl,value:a,cannotEmbed:m,onChange:function(e){return r.setState({url:e.target.value})},fallback:function(){return function(e,t){var n=Object($.createElement)("a",{href:e},e);t(Object(G.createBlock)("core/paragraph",{content:Object($.renderToString)(n)}))}(a,r.props.onReplace)},tryAgain:h});var g=this.getMergedAttributes(),f=g.caption,v=g.type,O=g.allowResponsive,j=Q()(g.className,this.props.className);return Object($.createElement)($.Fragment,null,Object($.createElement)(Kr,{showEditButton:b&&!m,themeSupportsResponsive:d,blockSupportsResponsive:n,allowResponsive:O,getResponsiveHelp:this.getResponsiveHelp,toggleResponsive:this.toggleResponsive,switchBackToURLInput:this.switchBackToURLInput}),Object($.createElement)(eo,{preview:b,className:j,url:a,type:v,caption:f,onCaptionChange:function(e){return s({caption:e})},isSelected:u,icon:t,label:p}))}}]),o}($.Component))}var no={url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0}};function ro(e){var t=e.title,n=e.description,r=e.icon,o=e.category,a=void 0===o?"embed":o,c=e.transforms,i=e.keywords,l=void 0===i?[]:i,s=e.supports,u=void 0===s?{}:s,b=e.responsive,m=void 0===b||b,d=n||Object(K.__)("Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube."),h=to(t,r,m);return{title:t,description:d,icon:r,category:a,keywords:l,attributes:no,supports:Object(Z.a)({align:!0},u),transforms:c,edit:Object(ue.compose)(Object(be.withSelect)((function(e,t){var n=t.attributes.url,r=e("core"),o=r.getEmbedPreview,a=r.isPreviewEmbedFallback,c=r.isRequestingEmbedPreview,i=r.getThemeSupports,l=void 0!==n&&o(n),s=void 0!==n&&a(n),u=void 0!==n&&c(n),b=i(),m=!!l&&void 0===l.type&&!1===l.html,d=!!l&&l.data&&404===l.data.status,h=!!l&&!m&&!d,p=void 0!==n&&(!h||s);return{preview:h?l:void 0,fetching:u,themeSupportsResponsive:b["responsive-embeds"],cannotEmbed:p}})),Object(be.withDispatch)((function(e,t){var n=t.attributes.url,r=e("core/data");return{tryAgain:function(){r.invalidateResolution("core","getEmbedPreview",[n])}}})))(h),save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,c=n.providerNameSlug;if(!r)return null;var i=$e()("wp-block-embed",(t={},Object(q.a)(t,"is-type-".concat(a),a),Object(q.a)(t,"is-provider-".concat(c),c),t));return Object($.createElement)("figure",{className:i},Object($.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(r,"\n")),!W.RichText.isEmpty(o)&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:o}))},deprecated:[{attributes:no,save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,c=n.providerNameSlug;if(!r)return null;var i=$e()("wp-block-embed",(t={},Object(q.a)(t,"is-type-".concat(a),a),Object(q.a)(t,"is-provider-".concat(c),c),t));return Object($.createElement)("figure",{className:i},"\n".concat(r,"\n"),!W.RichText.isEmpty(o)&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:o}))}}]}}var oo="core/embed",ao=ro({title:Object(K._x)("Embed","block title"),description:Object(K.__)("Embed videos, images, tweets, audio, and other content from external sources."),icon:Te,responsive:!1,transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)},transform:function(e){return Object(G.createBlock)("core/embed",{url:e.textContent.trim()})}}]}}),co=qe.map((function(e){return Object(Z.a)({},e,{settings:ro(e.settings)})})),io=We.map((function(e){return Object(Z.a)({},e,{settings:ro(e.settings)})})),lo=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(se.Path,{d:"M9.17 6l2 2H20v10H4V6h5.17M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"}));function so(e){var t=e.hrefs,n=e.openInNewWindow,r=e.showDownloadButton,o=e.changeLinkDestinationOption,a=e.changeOpenInNewWindow,c=e.changeShowDownloadButton,i=t.href,l=t.textLinkHref,s=t.attachmentPage,u=[{value:i,label:Object(K.__)("URL")}];return s&&(u=[{value:i,label:Object(K.__)("Media File")},{value:s,label:Object(K.__)("Attachment page")}]),Object($.createElement)($.Fragment,null,Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,{title:Object(K.__)("Text link settings")},Object($.createElement)(se.SelectControl,{label:Object(K.__)("Link To"),value:l,options:u,onChange:o}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Open in new tab"),checked:n,onChange:a})),Object($.createElement)(se.PanelBody,{title:Object(K.__)("Download button settings")},Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Show download button"),checked:r,onChange:c}))))}var uo=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).onSelectFile=e.onSelectFile.bind(Object(ie.a)(e)),e.confirmCopyURL=e.confirmCopyURL.bind(Object(ie.a)(e)),e.resetCopyConfirmation=e.resetCopyConfirmation.bind(Object(ie.a)(e)),e.changeLinkDestinationOption=e.changeLinkDestinationOption.bind(Object(ie.a)(e)),e.changeOpenInNewWindow=e.changeOpenInNewWindow.bind(Object(ie.a)(e)),e.changeShowDownloadButton=e.changeShowDownloadButton.bind(Object(ie.a)(e)),e.onUploadError=e.onUploadError.bind(Object(ie.a)(e)),e.state={hasError:!1,showCopyConfirmation:!1},e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,a=t.setAttributes,c=n.downloadButtonText,i=n.href;Object(Ce.isBlobURL)(i)&&(r({filesList:[Object(Ce.getBlobByURL)(i)],onFileChange:function(t){var n=Object(ke.a)(t,1)[0];return e.onSelectFile(n)},onError:function(t){e.setState({hasError:!0}),o.createErrorNotice(t)}}),Object(Ce.revokeBlobURL)(i));void 0===c&&a({downloadButtonText:Object(K._x)("Download","button label")})}},{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&this.setState({showCopyConfirmation:!1})}},{key:"onSelectFile",value:function(e){e&&e.url&&(this.setState({hasError:!1}),this.props.setAttributes({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id}))}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"confirmCopyURL",value:function(){this.setState({showCopyConfirmation:!0})}},{key:"resetCopyConfirmation",value:function(){this.setState({showCopyConfirmation:!1})}},{key:"changeLinkDestinationOption",value:function(e){this.props.setAttributes({textLinkHref:e})}},{key:"changeOpenInNewWindow",value:function(e){this.props.setAttributes({textLinkTarget:!!e&&"_blank"})}},{key:"changeShowDownloadButton",value:function(e){this.props.setAttributes({showDownloadButton:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.isSelected,o=t.attributes,a=t.setAttributes,c=t.noticeUI,i=t.media,l=o.fileName,s=o.href,u=o.textLinkHref,b=o.textLinkTarget,m=o.showDownloadButton,d=o.downloadButtonText,h=o.id,p=this.state,g=p.hasError,f=p.showCopyConfirmation,v=i&&i.link;if(!s||g)return Object($.createElement)(W.MediaPlaceholder,{icon:Object($.createElement)(W.BlockIcon,{icon:lo}),labels:{title:Object(K.__)("File"),instructions:Object(K.__)("Upload a file or pick one from your media library.")},onSelect:this.onSelectFile,notices:c,onError:this.onUploadError,accept:"*"});var O=Q()(n,{"is-transient":Object(Ce.isBlobURL)(s)});return Object($.createElement)($.Fragment,null,Object($.createElement)(so,Object(ne.a)({hrefs:{href:s,textLinkHref:u,attachmentPage:v}},{openInNewWindow:!!b,showDownloadButton:m,changeLinkDestinationOption:this.changeLinkDestinationOption,changeOpenInNewWindow:this.changeOpenInNewWindow,changeShowDownloadButton:this.changeShowDownloadButton})),Object($.createElement)(W.BlockControls,null,Object($.createElement)(W.MediaUploadCheck,null,Object($.createElement)(se.Toolbar,null,Object($.createElement)(W.MediaUpload,{onSelect:this.onSelectFile,value:h,render:function(e){var t=e.open;return Object($.createElement)(se.IconButton,{className:"components-toolbar__control",label:Object(K.__)("Edit file"),onClick:t,icon:"edit"})}})))),Object($.createElement)(se.Animate,{type:Object(Ce.isBlobURL)(s)?"loading":null},(function(t){var n=t.className;return Object($.createElement)("div",{className:Q()(O,n)},Object($.createElement)("div",{className:"wp-block-file__content-wrapper"},Object($.createElement)(W.RichText,{wrapperClassName:"wp-block-file__textlink",tagName:"div",value:l,placeholder:Object(K.__)("Write file name…"),withoutInteractiveFormatting:!0,onChange:function(e){return a({fileName:e})}}),m&&Object($.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},Object($.createElement)(W.RichText,{tagName:"div",className:"wp-block-file__button",value:d,withoutInteractiveFormatting:!0,placeholder:Object(K.__)("Add text…"),onChange:function(e){return a({downloadButtonText:e})}}))),r&&Object($.createElement)(se.ClipboardButton,{isDefault:!0,text:s,className:"wp-block-file__copy-url-button",onCopy:e.confirmCopyURL,onFinishCopy:e.resetCopyConfirmation,disabled:Object(Ce.isBlobURL)(s)},f?Object(K.__)("Copied!"):Object(K.__)("Copy URL")))})))}}]),t}($.Component),bo=Object(ue.compose)([Object(be.withSelect)((function(e,t){var n=e("core").getMedia,r=(0,e("core/block-editor").getSettings)().__experimentalMediaUpload,o=t.attributes.id;return{media:void 0===o?void 0:n(o),mediaUpload:r}})),se.withNotices])(uo);var mo={from:[{type:"files",isMatch:function(e){return e.length>0},priority:15,transform:function(e){var t=[];return e.forEach((function(e){var n=Object(Ce.createBlobURL)(e);t.push(Object(G.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))})),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object(G.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/video"],transform:function(e){return Object(G.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/image"],transform:function(e){return Object(G.createBlock)("core/file",{href:e.url,fileName:e.caption,textLinkHref:e.url,id:e.id})}}],to:[{type:"block",blocks:["core/audio"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(be.select)("core").getMedia)(t);return!!n&&Object(J.includes)(n.mime_type,"audio")},transform:function(e){return Object(G.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(be.select)("core").getMedia)(t);return!!n&&Object(J.includes)(n.mime_type,"video")},transform:function(e){return Object(G.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(be.select)("core").getMedia)(t);return!!n&&Object(J.includes)(n.mime_type,"image")},transform:function(e){return Object(G.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id})}}]},ho={name:"core/file",category:"common",attributes:{id:{type:"number"},href:{type:"string"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"}}},po=ho.name,go={title:Object(K.__)("File"),description:Object(K.__)("Add a link to a downloadable file."),icon:lo,keywords:[Object(K.__)("document"),Object(K.__)("pdf")],supports:{align:!0},transforms:mo,edit:bo,save:function(e){var t=e.attributes,n=t.href,r=t.fileName,o=t.textLinkHref,a=t.textLinkTarget,c=t.showDownloadButton,i=t.downloadButtonText;return n&&Object($.createElement)("div",null,!W.RichText.isEmpty(r)&&Object($.createElement)("a",{href:o,target:a,rel:!!a&&"noreferrer noopener"},Object($.createElement)(W.RichText.Content,{value:r})),c&&Object($.createElement)("a",{href:n,className:"wp-block-file__button",download:!0},Object($.createElement)(W.RichText.Content,{value:i})))}},fo=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).state={isPreview:!1,styles:[]},e.switchToHTML=e.switchToHTML.bind(Object(ie.a)(e)),e.switchToPreview=e.switchToPreview.bind(Object(ie.a)(e)),e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"componentDidMount",value:function(){var e=this.props.styles;this.setState({styles:["\n\t\t\thtml,body,:root {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\toverflow: visible !important;\n\t\t\t\tmin-height: auto !important;\n\t\t\t}\n\t\t"].concat(Object(U.a)(Object(W.transformStyles)(e)))})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"switchToHTML",value:function(){this.setState({isPreview:!1})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=this.state,o=r.isPreview,a=r.styles;return Object($.createElement)("div",{className:"wp-block-html"},Object($.createElement)(W.BlockControls,null,Object($.createElement)("div",{className:"components-toolbar"},Object($.createElement)("button",{className:"components-tab-button ".concat(o?"":"is-active"),onClick:this.switchToHTML},Object($.createElement)("span",null,"HTML")),Object($.createElement)("button",{className:"components-tab-button ".concat(o?"is-active":""),onClick:this.switchToPreview},Object($.createElement)("span",null,Object(K.__)("Preview"))))),Object($.createElement)(se.Disabled.Consumer,null,(function(e){return o||e?Object($.createElement)(se.SandBox,{html:t.content,styles:a}):Object($.createElement)(W.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(K.__)("Write HTML…"),"aria-label":Object(K.__)("HTML")})})))}}]),t}($.Component),vo=Object(be.withSelect)((function(e){return{styles:(0,e("core/block-editor").getSettings)().styles}}))(fo),Oo=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{d:"M4.5,11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5V11z M7,10.5h1.5V15H10v-4.5h1.5V9H7V10.5z M14.5,10l-1-1H12v6h1.5v-3.9 l1,1l1-1V15H17V9h-1.5L14.5,10z M19.5,13.5V9H18v6h5v-1.5H19.5z"}));var jo={from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("iframe")},schema:{figure:{require:["iframe"],children:{iframe:{attributes:["src","allowfullscreen","height","width"]},figcaption:{children:Object(G.getPhrasingContentSchema)()}}}}}]},yo={name:"core/html",category:"formatting",attributes:{content:{type:"string",source:"html"}}},_o=yo.name,ko={title:Object(K.__)("Custom HTML"),description:Object(K.__)("Add custom HTML code and preview it as you edit."),icon:Oo,keywords:[Object(K.__)("embed")],example:{attributes:{content:""+Object(K.__)("Welcome to the wonderful world of blocks…")+""}},supports:{customClassName:!1,className:!1,html:!1},transforms:jo,edit:vo,save:function(e){var t=e.attributes;return Object($.createElement)($.RawHTML,null,t.content)}},Co=[{attributes:{align:{type:"string",default:"wide"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaPosition:{type:"string",default:"left"},mediaId:{type:"number"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!1}},save:function(e){var t,n,r=e.attributes,o=r.backgroundColor,a=r.customBackgroundColor,c=r.isStackedOnMobile,i=r.mediaAlt,l=r.mediaPosition,s=r.mediaType,u=r.mediaUrl,b=r.mediaWidth,m={image:function(){return Object($.createElement)("img",{src:u,alt:i})},video:function(){return Object($.createElement)("video",{controls:!0,src:u})}},d=Object(W.getColorClassName)("background-color",o),h=Q()((t={"has-media-on-the-right":"right"===l},Object(q.a)(t,d,d),Object(q.a)(t,"is-stacked-on-mobile",c),t));50!==b&&(n="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var p={backgroundColor:d?void 0:a,gridTemplateColumns:n};return Object($.createElement)("div",{className:h,style:p},Object($.createElement)("figure",{className:"wp-block-media-text__media"},(m[s]||J.noop)()),Object($.createElement)("div",{className:"wp-block-media-text__content"},Object($.createElement)(W.InnerBlocks.Content,null)))}}],wo=Object($.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object($.createElement)(se.Path,{d:"M18 2l2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2zm2 12H10V4.4L11.8 8H20z"}),Object($.createElement)(se.Path,{d:"M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2z"}),Object($.createElement)(se.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"})),Eo=["image","video"];function xo(e,t){return e?{backgroundImage:"url(".concat(e,")"),backgroundPosition:t?"".concat(100*t.x,"% ").concat(100*t.y,"%"):"50% 50%"}:{}}var So=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).onUploadError=e.onUploadError.bind(Object(ie.a)(e)),e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"renderToolbarEditButton",value:function(){var e=this.props,t=e.mediaId,n=e.onSelectMedia;return Object($.createElement)(W.BlockControls,null,Object($.createElement)(se.Toolbar,null,Object($.createElement)(W.MediaUpload,{onSelect:n,allowedTypes:Eo,value:t,render:function(e){var t=e.open;return Object($.createElement)(se.IconButton,{className:"components-toolbar__control",label:Object(K.__)("Edit media"),icon:"edit",onClick:t})}})))}},{key:"renderImage",value:function(){var e=this.props,t=e.mediaAlt,n=e.mediaUrl,r=e.className,o=e.imageFill,a=e.focalPoint,c=o?xo(n,a):{};return Object($.createElement)($.Fragment,null,this.renderToolbarEditButton(),Object($.createElement)("figure",{className:r,style:c},Object($.createElement)("img",{src:n,alt:t})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,n=e.className;return Object($.createElement)($.Fragment,null,this.renderToolbarEditButton(),Object($.createElement)("figure",{className:n},Object($.createElement)("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,n=e.className,r=e.noticeUI;return Object($.createElement)(W.MediaPlaceholder,{icon:Object($.createElement)(W.BlockIcon,{icon:wo}),labels:{title:Object(K.__)("Media area")},className:n,onSelect:t,accept:"image/*,video/*",allowedTypes:Eo,notices:r,onError:this.onUploadError})}},{key:"render",value:function(){var e=this.props,t=e.mediaPosition,n=e.mediaUrl,r=e.mediaType,o=e.mediaWidth,a=e.commitWidthChange,c=e.onWidthChange,i=e.toggleSelection;if(r&&n){var l={right:"left"===t,left:"right"===t},s=null;switch(r){case"image":s=this.renderImage();break;case"video":s=this.renderVideo()}return Object($.createElement)(se.ResizableBox,{className:"editor-media-container__resizer",size:{width:o+"%"},minWidth:"10%",maxWidth:"100%",enable:l,onResizeStart:function(){i(!1)},onResize:function(e,t,n){c(parseInt(n.style.width))},onResizeStop:function(e,t,n){i(!0),a(parseInt(n.style.width))},axis:"x"},s)}return this.renderPlaceholder()}}]),t}($.Component),To=Object(ue.compose)([Object(be.withDispatch)((function(e){return{toggleSelection:e("core/block-editor").toggleSelection}})),se.withNotices])(So),No=[["core/paragraph",{fontSize:"large",placeholder:Object(K._x)("Content…","content placeholder")}]],Ro=function(e){return Math.max(15,Math.min(e,85))},Ao=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).onSelectMedia=e.onSelectMedia.bind(Object(ie.a)(e)),e.onWidthChange=e.onWidthChange.bind(Object(ie.a)(e)),e.commitWidthChange=e.commitWidthChange.bind(Object(ie.a)(e)),e.state={mediaWidth:null},e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"onSelectMedia",value:function(e){var t,n,r=this.props.setAttributes;"image"===(t=e.media_type?"image"===e.media_type?"image":"video":e.type)&&(n=Object(J.get)(e,["sizes","large","url"])||Object(J.get)(e,["media_details","sizes","large","source_url"])),r({mediaAlt:e.alt,mediaId:e.id,mediaType:t,mediaUrl:n||e.url,imageFill:void 0,focalPoint:void 0})}},{key:"onWidthChange",value:function(e){this.setState({mediaWidth:Ro(e)})}},{key:"commitWidthChange",value:function(e){(0,this.props.setAttributes)({mediaWidth:Ro(e)}),this.setState({mediaWidth:null})}},{key:"renderMediaArea",value:function(){var e=this.props.attributes,t=e.mediaAlt,n=e.mediaId,r=e.mediaPosition,o=e.mediaType,a=e.mediaUrl,c=e.mediaWidth,i=e.imageFill,l=e.focalPoint;return Object($.createElement)(To,Object(ne.a)({className:"block-library-media-text__media-container",onSelectMedia:this.onSelectMedia,onWidthChange:this.onWidthChange,commitWidthChange:this.commitWidthChange},{mediaAlt:t,mediaId:n,mediaType:o,mediaUrl:a,mediaPosition:r,mediaWidth:c,imageFill:i,focalPoint:l}))}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.className,o=t.backgroundColor,a=t.isSelected,c=t.setAttributes,i=t.setBackgroundColor,l=n.isStackedOnMobile,s=n.mediaAlt,u=n.mediaPosition,b=n.mediaType,m=n.mediaWidth,d=n.verticalAlignment,h=n.mediaUrl,p=n.imageFill,g=n.focalPoint,f=this.state.mediaWidth,v=Q()(r,(e={"has-media-on-the-right":"right"===u,"is-selected":a,"has-background":o.class||o.color},Object(q.a)(e,o.class,o.class),Object(q.a)(e,"is-stacked-on-mobile",l),Object(q.a)(e,"is-vertically-aligned-".concat(d),d),Object(q.a)(e,"is-image-fill",p),e)),O="".concat(f||m,"%"),j="right"===u?"1fr ".concat(O):"".concat(O," 1fr"),y={gridTemplateColumns:j,msGridColumns:j,backgroundColor:o.color},_=[{value:o.color,onChange:i,label:Object(K.__)("Background Color")}],k=[{icon:"align-pull-left",title:Object(K.__)("Show media on left"),isActive:"left"===u,onClick:function(){return c({mediaPosition:"left"})}},{icon:"align-pull-right",title:Object(K.__)("Show media on right"),isActive:"right"===u,onClick:function(){return c({mediaPosition:"right"})}}],C=Object($.createElement)(se.PanelBody,{title:Object(K.__)("Media & Text Settings")},Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Stack on mobile"),checked:l,onChange:function(){return c({isStackedOnMobile:!l})}}),"image"===b&&Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Crop image to fill entire column"),checked:p,onChange:function(){return c({imageFill:!p})}}),p&&Object($.createElement)(se.FocalPointPicker,{label:Object(K.__)("Focal Point Picker"),url:h,value:g,onChange:function(e){return c({focalPoint:e})}}),"image"===b&&Object($.createElement)(se.TextareaControl,{label:Object(K.__)("Alt Text (Alternative Text)"),value:s,onChange:function(e){c({mediaAlt:e})},help:Object($.createElement)($.Fragment,null,Object($.createElement)(se.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(K.__)("Describe the purpose of the image")),Object(K.__)("Leave empty if the image is purely decorative."))}));return Object($.createElement)($.Fragment,null,Object($.createElement)(W.InspectorControls,null,C,Object($.createElement)(W.PanelColorSettings,{title:Object(K.__)("Color Settings"),initialOpen:!1,colorSettings:_})),Object($.createElement)(W.BlockControls,null,Object($.createElement)(se.Toolbar,{controls:k}),Object($.createElement)(W.BlockVerticalAlignmentToolbar,{onChange:function(e){c({verticalAlignment:e})},value:d})),Object($.createElement)("div",{className:v,style:y},this.renderMediaArea(),Object($.createElement)(W.InnerBlocks,{template:No,templateInsertUpdatesSelection:!1})))}}]),t}($.Component),Bo=Object(W.withColors)("backgroundColor")(Ao),Io=Object($.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object($.createElement)(se.Path,{d:"M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z"})),Mo=50;var Po={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.alt,n=e.url,r=e.id;return Object(G.createBlock)("core/media-text",{mediaAlt:t,mediaId:r,mediaUrl:n,mediaType:"image"})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.src,n=e.id;return Object(G.createBlock)("core/media-text",{mediaId:n,mediaUrl:t,mediaType:"video"})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"image"===t},transform:function(e){var t=e.mediaAlt,n=e.mediaId,r=e.mediaUrl;return Object(G.createBlock)("core/image",{alt:t,id:n,url:r})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"video"===t},transform:function(e){var t=e.mediaId,n=e.mediaUrl;return Object(G.createBlock)("core/video",{id:t,src:n})}}]},Lo={name:"core/media-text",category:"layout",attributes:{align:{type:"string",default:"wide"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaPosition:{type:"string",default:"left"},mediaId:{type:"number"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!1},verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}}},Ho=Lo.name,zo={title:Object(K.__)("Media & Text"),description:Object(K.__)("Set media and words side-by-side for a richer layout."),icon:Io,keywords:[Object(K.__)("image"),Object(K.__)("video")],supports:{align:["wide","full"],html:!1},example:{attributes:{mediaType:"image",mediaUrl:"https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{content:Object(K.__)("The wren
Earns his living
Noiselessly.")}},{name:"core/paragraph",attributes:{content:Object(K.__)("— Kobayashi Issa (一茶)")}}]},transforms:Po,edit:Bo,save:function(e){var t,n,r=e.attributes,o=r.backgroundColor,a=r.customBackgroundColor,c=r.isStackedOnMobile,i=r.mediaAlt,l=r.mediaPosition,s=r.mediaType,u=r.mediaUrl,b=r.mediaWidth,m=r.mediaId,d=r.verticalAlignment,h=r.imageFill,p=r.focalPoint,g={image:function(){return Object($.createElement)("img",{src:u,alt:i,className:m&&"image"===s?"wp-image-".concat(m):null})},video:function(){return Object($.createElement)("video",{controls:!0,src:u})}},f=Object(W.getColorClassName)("background-color",o),v=Q()((t={"has-media-on-the-right":"right"===l,"has-background":f||a},Object(q.a)(t,f,f),Object(q.a)(t,"is-stacked-on-mobile",c),Object(q.a)(t,"is-vertically-aligned-".concat(d),d),Object(q.a)(t,"is-image-fill",h),t)),O=h?xo(u,p):{};b!==Mo&&(n="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var j={backgroundColor:f?void 0:a,gridTemplateColumns:n};return Object($.createElement)("div",{className:v,style:j},Object($.createElement)("figure",{className:"wp-block-media-text__media",style:O},(g[s]||J.noop)()),Object($.createElement)("div",{className:"wp-block-media-text__content"},Object($.createElement)(W.InnerBlocks.Content,null)))},deprecated:Co},Vo=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).setCommentsToShow=e.setCommentsToShow.bind(Object(ie.a)(e)),e.toggleDisplayAvatar=e.createToggleAttribute("displayAvatar"),e.toggleDisplayDate=e.createToggleAttribute("displayDate"),e.toggleDisplayExcerpt=e.createToggleAttribute("displayExcerpt"),e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"createToggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(q.a)({},e,!n))}}},{key:"setCommentsToShow",value:function(e){this.props.setAttributes({commentsToShow:e})}},{key:"render",value:function(){var e=this.props.attributes,t=e.commentsToShow,n=e.displayAvatar,r=e.displayDate,o=e.displayExcerpt;return Object($.createElement)($.Fragment,null,Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,{title:Object(K.__)("Latest Comments Settings")},Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Display Avatar"),checked:n,onChange:this.toggleDisplayAvatar}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Display Date"),checked:r,onChange:this.toggleDisplayDate}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Display Excerpt"),checked:o,onChange:this.toggleDisplayExcerpt}),Object($.createElement)(se.RangeControl,{label:Object(K.__)("Number of Comments"),value:t,onChange:this.setCommentsToShow,min:1,max:100,required:!0}))),Object($.createElement)(se.Disabled,null,Object($.createElement)(rn.a,{block:"core/latest-comments",attributes:this.props.attributes})))}}]),t}($.Component),Do=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(se.G,null,Object($.createElement)(se.Path,{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM20 4v13.17L18.83 16H4V4h16zM6 12h12v2H6zm0-3h12v2H6zm0-3h12v2H6z"}))),Fo="core/latest-comments",Uo={title:Object(K.__)("Latest Comments"),description:Object(K.__)("Display a list of your most recent comments."),icon:Do,category:"widgets",keywords:[Object(K.__)("recent comments")],supports:{align:!0,html:!1},edit:Vo},qo=n(34),Wo=n.n(qo),Go=n(52),Ko={per_page:-1},Zo=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).state={categoriesList:[]},e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=Wo()({path:Object(Ee.addQueryArgs)("/wp/v2/categories",Ko)}).then((function(t){e.isStillMounted&&e.setState({categoriesList:t})})).catch((function(){e.isStillMounted&&e.setState({categoriesList:[]})}))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.latestPosts,o=this.state.categoriesList,a=t.displayPostContentRadio,c=t.displayPostContent,i=t.displayPostDate,l=t.postLayout,s=t.columns,u=t.order,b=t.orderBy,m=t.categories,d=t.postsToShow,h=t.excerptLength,p=Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,{title:Object(K.__)("Post Content Settings")},Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Post Content"),checked:c,onChange:function(e){return n({displayPostContent:e})}}),c&&Object($.createElement)(se.RadioControl,{label:"Show:",selected:a,options:[{label:"Excerpt",value:"excerpt"},{label:"Full Post",value:"full_post"}],onChange:function(e){return n({displayPostContentRadio:e})}}),c&&"excerpt"===a&&Object($.createElement)(se.RangeControl,{label:Object(K.__)("Max number of words in excerpt"),value:h,onChange:function(e){return n({excerptLength:e})},min:10,max:100})),Object($.createElement)(se.PanelBody,{title:Object(K.__)("Post Meta Settings")},Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Display post date"),checked:i,onChange:function(e){return n({displayPostDate:e})}})),Object($.createElement)(se.PanelBody,{title:Object(K.__)("Sorting and Filtering")},Object($.createElement)(se.QueryControls,Object(ne.a)({order:u,orderBy:b},{numberOfItems:d,categoriesList:o,selectedCategoryId:m,onOrderChange:function(e){return n({order:e})},onOrderByChange:function(e){return n({orderBy:e})},onCategoryChange:function(e){return n({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return n({postsToShow:e})}})),"grid"===l&&Object($.createElement)(se.RangeControl,{label:Object(K.__)("Columns"),value:s,onChange:function(e){return n({columns:e})},min:2,max:g?Math.min(6,r.length):6,required:!0}))),g=Array.isArray(r)&&r.length;if(!g)return Object($.createElement)($.Fragment,null,p,Object($.createElement)(se.Placeholder,{icon:"admin-post",label:Object(K.__)("Latest Posts")},Array.isArray(r)?Object(K.__)("No posts found."):Object($.createElement)(se.Spinner,null)));var f=r.length>d?r.slice(0,d):r,v=[{icon:"list-view",title:Object(K.__)("List view"),onClick:function(){return n({postLayout:"list"})},isActive:"list"===l},{icon:"grid-view",title:Object(K.__)("Grid view"),onClick:function(){return n({postLayout:"grid"})},isActive:"grid"===l}],O=Object(Go.__experimentalGetSettings)().formats.date;return Object($.createElement)($.Fragment,null,p,Object($.createElement)(W.BlockControls,null,Object($.createElement)(se.Toolbar,{controls:v})),Object($.createElement)("ul",{className:Q()(this.props.className,Object(q.a)({"wp-block-latest-posts__list":!0,"is-grid":"grid"===l,"has-dates":i},"columns-".concat(s),"grid"===l))},f.map((function(e,t){var n=e.title.rendered.trim(),r=e.excerpt.rendered;""===e.excerpt.raw&&(r=e.content.raw);var o=document.createElement("div");return o.innerHTML=r,r=o.textContent||o.innerText||"",Object($.createElement)("li",{key:t},Object($.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},n?Object($.createElement)($.RawHTML,null,n):Object(K.__)("(no title)")),i&&e.date_gmt&&Object($.createElement)("time",{dateTime:Object(Go.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(Go.dateI18n)(O,e.date_gmt)),c&&"excerpt"===a&&Object($.createElement)("div",{className:"wp-block-latest-posts__post-excerpt"},Object($.createElement)($.RawHTML,{key:"html"},h'+Object(K.__)("Read more")+"":r.trim().split(" ",h).join(" "))),c&&"full_post"===a&&Object($.createElement)("div",{className:"wp-block-latest-posts__post-full-content"},Object($.createElement)($.RawHTML,{key:"html"},e.content.raw.trim())))}))))}}]),t}($.Component),$o=Object(be.withSelect)((function(e,t){var n=t.attributes,r=n.postsToShow,o=n.order,a=n.orderBy,c=n.categories;return{latestPosts:(0,e("core").getEntityRecords)("postType","post",Object(J.pickBy)({categories:c,order:o,orderby:a,per_page:r},(function(e){return!Object(J.isUndefined)(e)})))}}))(Zo),Yo=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(se.Rect,{x:"11",y:"7",width:"6",height:"2"}),Object($.createElement)(se.Rect,{x:"11",y:"11",width:"6",height:"2"}),Object($.createElement)(se.Rect,{x:"11",y:"15",width:"6",height:"2"}),Object($.createElement)(se.Rect,{x:"7",y:"7",width:"2",height:"2"}),Object($.createElement)(se.Rect,{x:"7",y:"11",width:"2",height:"2"}),Object($.createElement)(se.Rect,{x:"7",y:"15",width:"2",height:"2"}),Object($.createElement)(se.Path,{d:"M20.1,3H3.9C3.4,3,3,3.4,3,3.9v16.2C3,20.5,3.4,21,3.9,21h16.2c0.4,0,0.9-0.5,0.9-0.9V3.9C21,3.4,20.5,3,20.1,3z M19,19H5V5h14V19z"})),Qo="core/latest-posts",Jo={title:Object(K.__)("Latest Posts"),description:Object(K.__)("Display a list of your most recent posts."),icon:Yo,category:"widgets",keywords:[Object(K.__)("recent posts")],supports:{align:!0,html:!1},edit:$o},Xo=function(e){var t=e.setAttributes,n=e.reversed,r=e.start;return Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,{title:Object(K.__)("Ordered List Settings")},Object($.createElement)(se.TextControl,{label:Object(K.__)("Start Value"),type:"number",onChange:function(e){var n=parseInt(e,10);t({start:isNaN(n)?void 0:n})},value:Number.isInteger(r)?r.toString(10):"",step:"1"}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Reverse List Numbering"),checked:n||!1,onChange:function(e){t({reversed:e||void 0})}})))};var ea=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.G,null,Object($.createElement)(se.Path,{d:"M9 19h12v-2H9v2zm0-6h12v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"})));var ta=Object(Z.a)({},Object(G.getPhrasingContentSchema)(),{ul:{},ol:{attributes:["type"]}});["ul","ol"].forEach((function(e){ta[e].children={li:{children:ta}}}));var na={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(G.createBlock)("core/list",{values:Object(It.toHTMLString)({value:Object(It.join)(e.map((function(t){var n=t.content,r=Object(It.create)({html:n});return e.length>1?r:Object(It.replace)(r,/\n/g,It.__UNSTABLE_LINE_SEPARATOR)})),It.__UNSTABLE_LINE_SEPARATOR),multilineTag:"li"})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value;return Object(G.createBlock)("core/list",{values:Object(It.toHTMLString)({value:Object(It.create)({html:t,multilineTag:"p"}),multilineTag:"li"})})}},{type:"raw",selector:"ol,ul",schema:{ol:ta.ol,ul:ta.ul},transform:function(e){return Object(G.createBlock)("core/list",Object(Z.a)({},Object(G.getBlockAttributes)("core/list",e.outerHTML),{ordered:"OL"===e.nodeName}))}}].concat(Object(U.a)(["*","-"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(G.createBlock)("core/list",{values:"
  • ".concat(e,"
  • ")})}}}))),Object(U.a)(["1.","1)"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(G.createBlock)("core/list",{ordered:!0,values:"
  • ".concat(e,"
  • ")})}}})))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(It.split)(Object(It.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),It.__UNSTABLE_LINE_SEPARATOR).map((function(e){return Object(G.createBlock)("core/paragraph",{content:Object(It.toHTMLString)({value:e})})}))}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(G.createBlock)("core/quote",{value:Object(It.toHTMLString)({value:Object(It.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"})})}}]},ra={name:"core/list",category:"common",attributes:{ordered:{type:"boolean",default:!1},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",__unstableMultilineWrapperTags:["ol","ul"],default:""},start:{type:"number"},reversed:{type:"boolean"}}},oa=ra.name,aa={title:Object(K.__)("List"),description:Object(K.__)("Create a bulleted or numbered list."),icon:ea,keywords:[Object(K.__)("bullet list"),Object(K.__)("ordered list"),Object(K.__)("numbered list")],supports:{className:!1},example:{attributes:{values:"
  • Alice.
  • The White Rabbit.
  • The Cheshire Cat.
  • The Mad Hatter.
  • The Queen of Hearts.
  • "}},transforms:na,merge:function(e,t){var n=t.values;return n&&"
  • "!==n?Object(Z.a)({},e,{values:e.values+n}):e},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.mergeBlocks,o=e.onReplace,a=e.className,c=t.ordered,i=t.values,l=t.reversed,s=t.start,u=c?"ol":"ul";return Object($.createElement)($.Fragment,null,Object($.createElement)(W.RichText,{identifier:"values",multiline:"li",tagName:u,onChange:function(e){return n({values:e})},value:i,wrapperClassName:"block-library-list",className:a,placeholder:Object(K.__)("Write list…"),onMerge:r,onSplit:function(e){return Object(G.createBlock)(oa,Object(Z.a)({},t,{values:e}))},__unstableOnSplitMiddle:function(){return Object(G.createBlock)("core/paragraph")},onReplace:o,onRemove:function(){return o([])},start:s,reversed:l},(function(e){var t=e.value,r=e.onChange;return Object($.createElement)($.Fragment,null,Object($.createElement)(W.RichTextShortcut,{type:"primary",character:"[",onUse:function(){r(Object(It.__unstableOutdentListItems)(t))}}),Object($.createElement)(W.RichTextShortcut,{type:"primary",character:"]",onUse:function(){r(Object(It.__unstableIndentListItems)(t,{type:u}))}}),Object($.createElement)(W.RichTextShortcut,{type:"primary",character:"m",onUse:function(){r(Object(It.__unstableIndentListItems)(t,{type:u}))}}),Object($.createElement)(W.RichTextShortcut,{type:"primaryShift",character:"m",onUse:function(){r(Object(It.__unstableOutdentListItems)(t))}}),Object($.createElement)(W.BlockControls,null,Object($.createElement)(se.Toolbar,{controls:[{icon:"editor-ul",title:Object(K.__)("Convert to unordered list"),isActive:Object(It.__unstableIsActiveListType)(t,"ul",u),onClick:function(){r(Object(It.__unstableChangeListType)(t,{type:"ul"})),Object(It.__unstableIsListRootSelected)(t)&&n({ordered:!1})}},{icon:"editor-ol",title:Object(K.__)("Convert to ordered list"),isActive:Object(It.__unstableIsActiveListType)(t,"ol",u),onClick:function(){r(Object(It.__unstableChangeListType)(t,{type:"ol"})),Object(It.__unstableIsListRootSelected)(t)&&n({ordered:!0})}},{icon:"editor-outdent",title:Object(K.__)("Outdent list item"),shortcut:Object(K._x)("Backspace","keyboard key"),onClick:function(){r(Object(It.__unstableOutdentListItems)(t))}},{icon:"editor-indent",title:Object(K.__)("Indent list item"),shortcut:Object(K._x)("Space","keyboard key"),onClick:function(){r(Object(It.__unstableIndentListItems)(t,{type:u}))}}]})))})),c&&Object($.createElement)(Xo,{setAttributes:n,ordered:c,reversed:l,start:s}))},save:function(e){var t=e.attributes,n=t.ordered,r=t.values,o=t.reversed,a=t.start,c=n?"ol":"ul";return Object($.createElement)(W.RichText.Content,{tagName:c,value:r,reversed:o,start:a,multiline:"li"})}};var ca=Object(be.withDispatch)((function(e,t){var n=t.clientId,r=t.attributes,o=e("core/block-editor").replaceBlock;return{convertToHTML:function(){o(n,Object(G.createBlock)("core/html",{content:r.originalUndelimitedContent}))}}}))((function(e){var t,n=e.attributes,r=e.convertToHTML,o=n.originalName,a=n.originalUndelimitedContent,c=!!a,i=Object(G.getBlockType)("core/html"),l=[];return c&&i?(t=Object(K.sprintf)(Object(K.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.'),o),l.push(Object($.createElement)(se.Button,{key:"convert",onClick:r,isLarge:!0,isPrimary:!0},Object(K.__)("Keep as HTML")))):t=Object(K.sprintf)(Object(K.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'),o),Object($.createElement)($.Fragment,null,Object($.createElement)(W.Warning,{actions:l},t),Object($.createElement)($.RawHTML,null,a))}));var ia={name:"core/missing",category:"common",attributes:{originalName:{type:"string"},originalUndelimitedContent:{type:"string"},originalContent:{type:"string",source:"html"}}},la=ia.name,sa={name:la,title:Object(K.__)("Unrecognized Block"),description:Object(K.__)("Your site doesn’t include support for this block."),supports:{className:!1,customClassName:!1,inserter:!1,html:!1,reusable:!1},edit:ca,save:function(e){var t=e.attributes;return Object($.createElement)($.RawHTML,null,t.originalContent)}},ua=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).onChangeInput=e.onChangeInput.bind(Object(ie.a)(e)),e.onKeyDown=e.onKeyDown.bind(Object(ie.a)(e)),e.state={defaultText:Object(K.__)("Read more")},e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"onChangeInput",value:function(e){this.setState({defaultText:""});var t=0===e.target.value.length?void 0:e.target.value;this.props.setAttributes({customText:t})}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=this.props.insertBlocksAfter;t===we.ENTER&&n([Object(G.createBlock)(Object(G.getDefaultBlockName)())])}},{key:"getHideExcerptHelp",value:function(e){return e?Object(K.__)("The excerpt is hidden."):Object(K.__)("The excerpt is visible.")}},{key:"render",value:function(){var e=this.props.attributes,t=e.customText,n=e.noTeaser,r=this.props.setAttributes,o=this.state.defaultText,a=void 0!==t?t:o,c=a.length+1;return Object($.createElement)($.Fragment,null,Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,null,Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Hide the excerpt on the full content page"),checked:!!n,onChange:function(){return r({noTeaser:!n})},help:this.getHideExcerptHelp}))),Object($.createElement)("div",{className:"wp-block-more"},Object($.createElement)("input",{type:"text",value:a,size:c,onChange:this.onChangeInput,onKeyDown:this.onKeyDown})))}}]),t}($.Component),ba=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(se.G,null,Object($.createElement)(se.Path,{d:"M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z"})));var ma={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/more"===e.dataset.block},transform:function(e){var t=e.dataset,n=t.customText,r=t.noTeaser,o={};return n&&(o.customText=n),""===r&&(o.noTeaser=!0),Object(G.createBlock)("core/more",o)}}]},da={name:"core/more",category:"layout",attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}}},ha=da.name,pa={title:Object(K._x)("More","block name"),description:Object(K.__)("Content before this block will be shown in the excerpt on your archives page."),icon:ba,supports:{customClassName:!1,className:!1,html:!1,multiple:!1},example:{},transforms:ma,edit:ua,save:function(e){var t=e.attributes,n=t.customText,r=t.noTeaser,o=n?"\x3c!--more ".concat(n,"--\x3e"):"\x3c!--more--\x3e",a=r?"\x3c!--noteaser--\x3e":"";return Object($.createElement)($.RawHTML,null,Object(J.compact)([o,a]).join("\n"))}};var ga=Object($.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24px",height:"24px",viewBox:"0 0 24 24"},Object($.createElement)(se.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object($.createElement)(se.Path,{d:"M9 11h6v2H9zM2 11h5v2H2zM17 11h5v2h-5zM6 4h7v5h7V8l-6-6H6a2 2 0 0 0-2 2v5h2zM18 20H6v-5H4v5a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5h-2z"}));var fa={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return Object(G.createBlock)("core/nextpage",{})}}]},va={name:"core/nextpage",category:"layout"},Oa=va.name,ja={title:Object(K.__)("Page Break"),description:Object(K.__)("Separate your content into a multi-page experience."),icon:ga,keywords:[Object(K.__)("next page"),Object(K.__)("pagination")],supports:{customClassName:!1,className:!1,html:!1},example:{},transforms:fa,edit:function(){return Object($.createElement)("div",{className:"wp-block-nextpage"},Object($.createElement)("span",null,Object(K.__)("Page break")))},save:function(){return Object($.createElement)($.RawHTML,null,"\x3c!--nextpage--\x3e")}};var ya=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(se.Path,{d:"M20,4H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V6C22,4.9,21.1,4,20,4z M20,18H4V6h16V18z"}),Object($.createElement)(se.Rect,{x:"6",y:"10",width:"2",height:"2"}),Object($.createElement)(se.Rect,{x:"6",y:"14",width:"8",height:"2"}),Object($.createElement)(se.Rect,{x:"16",y:"14",width:"2",height:"2"}),Object($.createElement)(se.Rect,{x:"10",y:"10",width:"8",height:"2"}));var _a={from:[{type:"block",blocks:["core/code","core/paragraph"],transform:function(e){var t=e.content;return Object(G.createBlock)("core/preformatted",{content:t})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName)},schema:{pre:{children:Object(G.getPhrasingContentSchema)()}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(G.createBlock)("core/paragraph",e)}}]},ka={name:"core/preformatted",category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:""}}},Ca=ka.name,wa={title:Object(K.__)("Preformatted"),description:Object(K.__)("Add text that respects your spacing and tabs, and also allows styling."),icon:ya,example:{attributes:{content:Object(K.__)("EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)")+"\n"+Object(K.__)("Window, very small in the distance, illuminated.")+"\n"+Object(K.__)("All around this is an almost totally black screen. Now, as the camera moves slowly towards the window which is almost a postage stamp in the frame, other forms appear;")}},transforms:_a,edit:function(e){var t=e.attributes,n=e.mergeBlocks,r=e.setAttributes,o=e.className,a=t.content;return Object($.createElement)(W.RichText,{tagName:"pre",value:a.replace(/\n/g,"
    "),onChange:function(e){r({content:e.replace(/
    /g,"\n")})},placeholder:Object(K.__)("Write preformatted text…"),wrapperClassName:o,onMerge:n})},save:function(e){var t=e.attributes.content;return Object($.createElement)(W.RichText.Content,{tagName:"pre",value:t})},merge:function(e,t){return{content:e.content+t.content}}},Ea="is-style-".concat("solid-color"),xa={value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}};function Sa(e){if(e){var t=e.match(/border-color:([^;]+)[;]?/);return t&&t[1]?t[1]:void 0}}var Ta=[{attributes:Object(Z.a)({},xa,{figureStyle:{source:"attribute",selector:"figure",attribute:"style"}}),save:function(e){var t,n,r=e.attributes,o=r.mainColor,a=r.customMainColor,c=r.textColor,i=r.customTextColor,l=r.value,s=r.citation,u=r.className,b=r.figureStyle;if(Object(J.includes)(u,Ea)){var m=Object(W.getColorClassName)("background-color",o);t=Q()(Object(q.a)({"has-background":m||a},m,m)),n={backgroundColor:m?void 0:a}}else if(a)n={borderColor:a};else if(o){n={borderColor:Sa(b)}}var d=Object(W.getColorClassName)("color",c),h=(c||i)&&Q()("has-text-color",Object(q.a)({},d,d)),p=d?void 0:{color:i};return Object($.createElement)("figure",{className:t,style:n},Object($.createElement)("blockquote",{className:h,style:p},Object($.createElement)(W.RichText.Content,{value:l,multiline:!0}),!W.RichText.isEmpty(s)&&Object($.createElement)(W.RichText.Content,{tagName:"cite",value:s})))},migrate:function(e){var t=e.className,n=e.figureStyle,r=e.mainColor,o=Object(Bt.a)(e,["className","figureStyle","mainColor"]);if(!Object(J.includes)(t,Ea)&&r&&n){var a=Sa(n);if(a)return Object(Z.a)({},o,{className:t,customMainColor:a})}return Object(Z.a)({className:t,mainColor:r},o)}},{attributes:xa,save:function(e){var t,n,r=e.attributes,o=r.mainColor,a=r.customMainColor,c=r.textColor,i=r.customTextColor,l=r.value,s=r.citation,u=r.className;if(Object(J.includes)(u,Ea))(t=Object(W.getColorClassName)("background-color",o))||(n={backgroundColor:a});else if(a)n={borderColor:a};else if(o){var b=Object(J.get)(Object(be.select)("core/block-editor").getSettings(),["colors"],[]);n={borderColor:Object(W.getColorObjectByAttributeValues)(b,o).color}}var m=Object(W.getColorClassName)("color",c),d=c||i?Q()("has-text-color",Object(q.a)({},m,m)):void 0,h=m?void 0:{color:i};return Object($.createElement)("figure",{className:t,style:n},Object($.createElement)("blockquote",{className:d,style:h},Object($.createElement)(W.RichText.Content,{value:l,multiline:!0}),!W.RichText.isEmpty(s)&&Object($.createElement)(W.RichText.Content,{tagName:"cite",value:s})))}},{attributes:Object(Z.a)({},xa),save:function(e){var t=e.attributes,n=t.value,r=t.citation;return Object($.createElement)("blockquote",null,Object($.createElement)(W.RichText.Content,{value:n,multiline:!0}),!W.RichText.isEmpty(r)&&Object($.createElement)(W.RichText.Content,{tagName:"cite",value:r}))}},{attributes:Object(Z.a)({},xa,{citation:{type:"string",source:"html",selector:"footer"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.value,r=t.citation,o=t.align;return Object($.createElement)("blockquote",{className:"align".concat(o)},Object($.createElement)(W.RichText.Content,{value:n,multiline:!0}),!W.RichText.isEmpty(r)&&Object($.createElement)(W.RichText.Content,{tagName:"footer",value:r}))}}],Na=function(e){function t(e){var n;return Object(re.a)(this,t),(n=Object(ae.a)(this,Object(ce.a)(t).call(this,e))).wasTextColorAutomaticallyComputed=!1,n.pullQuoteMainColorSetter=n.pullQuoteMainColorSetter.bind(Object(ie.a)(n)),n.pullQuoteTextColorSetter=n.pullQuoteTextColorSetter.bind(Object(ie.a)(n)),n}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"pullQuoteMainColorSetter",value:function(e){var t=this.props,n=t.colorUtils,r=t.textColor,o=t.setAttributes,a=t.setTextColor,c=t.setMainColor,i=t.className,l=Object(J.includes)(i,Ea),s=!r.color||this.wasTextColorAutomaticallyComputed,u=l&&s&&e;l?c(e):o({customMainColor:e}),u&&(this.wasTextColorAutomaticallyComputed=!0,a(n.getMostReadableColor(e)))}},{key:"pullQuoteTextColorSetter",value:function(e){(0,this.props.setTextColor)(e),this.wasTextColorAutomaticallyComputed=!1}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.attributes,r=t.className,o=t.mainColor,a=t.setAttributes;n.mainColor&&!Object(J.includes)(r,Ea)&&Object(J.includes)(e.className,Ea)&&a({mainColor:void 0,customMainColor:o.color})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.mainColor,r=e.textColor,o=e.setAttributes,a=e.isSelected,c=e.className,i=t.value,l=t.citation,s=Object(J.includes)(c,Ea),u=s?{backgroundColor:n.color}:{borderColor:n.color},b=Q()(c,Object(q.a)({"has-background":s&&n.color},n.class,s&&n.class)),m={color:r.color},d=r.color&&Q()("has-text-color",Object(q.a)({},r.class,r.class));return Object($.createElement)($.Fragment,null,Object($.createElement)("figure",{style:u,className:b},Object($.createElement)("blockquote",{style:m,className:d},Object($.createElement)(W.RichText,{multiline:!0,value:i,onChange:function(e){return o({value:e})},placeholder:Object(K.__)("Write quote…"),wrapperClassName:"block-library-pullquote__content"}),(!W.RichText.isEmpty(l)||a)&&Object($.createElement)(W.RichText,{value:l,placeholder:Object(K.__)("Write citation…"),onChange:function(e){return o({citation:e})},className:"wp-block-pullquote__citation"}))),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(W.PanelColorSettings,{title:Object(K.__)("Color Settings"),colorSettings:[{value:n.color,onChange:this.pullQuoteMainColorSetter,label:Object(K.__)("Main Color")},{value:r.color,onChange:this.pullQuoteTextColorSetter,label:Object(K.__)("Text Color")}]},s&&Object($.createElement)(W.ContrastChecker,Object(ne.a)({textColor:r.color,backgroundColor:n.color},{isLargeText:!1})))))}}]),t}($.Component),Ra=Object(W.withColors)({mainColor:"background-color",textColor:"color"})(Na),Aa=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(se.Polygon,{points:"21 18 2 18 2 20 21 20"}),Object($.createElement)(se.Path,{d:"m19 10v4h-15v-4h15m1-2h-17c-0.55 0-1 0.45-1 1v6c0 0.55 0.45 1 1 1h17c0.55 0 1-0.45 1-1v-6c0-0.55-0.45-1-1-1z"}),Object($.createElement)(se.Polygon,{points:"21 4 2 4 2 6 21 6"}));var Ba={name:"core/pullquote",category:"formatting",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}}},Ia=Ba.name,Ma={title:Object(K.__)("Pullquote"),description:Object(K.__)("Give special visual emphasis to a quote from your text."),icon:Aa,example:{attributes:{value:"

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

    ",citation:"Matt Mullenweg"}},styles:[{name:"default",label:Object(K._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(K.__)("Solid Color")}],supports:{align:["left","right","wide","full"]},edit:Ra,save:function(e){var t,n,r=e.attributes,o=r.mainColor,a=r.customMainColor,c=r.textColor,i=r.customTextColor,l=r.value,s=r.citation,u=r.className;if(Object(J.includes)(u,Ea)){var b=Object(W.getColorClassName)("background-color",o);t=Q()(Object(q.a)({"has-background":b||a},b,b)),n={backgroundColor:b?void 0:a}}else a&&(n={borderColor:a});var m=Object(W.getColorClassName)("color",c),d=(c||i)&&Q()("has-text-color",Object(q.a)({},m,m)),h=m?void 0:{color:i};return Object($.createElement)("figure",{className:t,style:n},Object($.createElement)("blockquote",{className:d,style:h},Object($.createElement)(W.RichText.Content,{value:l,multiline:!0}),!W.RichText.isEmpty(s)&&Object($.createElement)(W.RichText.Content,{tagName:"cite",value:s})))},deprecated:Ta},Pa=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).titleField=Object($.createRef)(),e.editButton=Object($.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(Object(ie.a)(e)),e.handleTitleChange=e.handleTitleChange.bind(Object(ie.a)(e)),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(Object(ie.a)(e)),e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"componentDidMount",value:function(){this.props.isEditing&&this.titleField.current&&this.titleField.current.select()}},{key:"componentDidUpdate",value:function(e){!e.isEditing&&this.props.isEditing&&this.titleField.current.select(),!e.isEditing&&!e.isSaving||this.props.isEditing||this.props.isSaving||this.editButton.current.focus()}},{key:"handleFormSubmit",value:function(e){e.preventDefault(),this.props.onSave()}},{key:"handleTitleChange",value:function(e){this.props.onChangeTitle(e.target.value)}},{key:"handleTitleKeyDown",value:function(e){e.keyCode===we.ESCAPE&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,n=e.title,r=e.isSaving,o=e.isEditDisabled,a=e.onEdit,c=e.instanceId;return Object($.createElement)($.Fragment,null,!t&&!r&&Object($.createElement)("div",{className:"reusable-block-edit-panel"},Object($.createElement)("b",{className:"reusable-block-edit-panel__info"},n),Object($.createElement)(se.Button,{ref:this.editButton,isLarge:!0,className:"reusable-block-edit-panel__button",disabled:o,onClick:a},Object(K.__)("Edit"))),(t||r)&&Object($.createElement)("form",{className:"reusable-block-edit-panel",onSubmit:this.handleFormSubmit},Object($.createElement)("label",{htmlFor:"reusable-block-edit-panel__title-".concat(c),className:"reusable-block-edit-panel__label"},Object(K.__)("Name:")),Object($.createElement)("input",{ref:this.titleField,type:"text",disabled:r,className:"reusable-block-edit-panel__title",value:n,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown,id:"reusable-block-edit-panel__title-".concat(c)}),Object($.createElement)(se.Button,{type:"submit",isLarge:!0,isBusy:r,disabled:!n||r,className:"reusable-block-edit-panel__button"},Object(K.__)("Save"))))}}]),t}($.Component),La=Object(ue.withInstanceId)(Pa);var Ha=function(e){var t=e.title,n=Object(K.sprintf)(Object(K.__)("Reusable Block: %s"),t);return Object($.createElement)(se.Tooltip,{text:n},Object($.createElement)("span",{className:"reusable-block-indicator"},Object($.createElement)(se.Dashicon,{icon:"controls-repeat"})))},za=function(e){function t(e){var n,r=e.reusableBlock;return Object(re.a)(this,t),(n=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).startEditing=n.startEditing.bind(Object(ie.a)(n)),n.stopEditing=n.stopEditing.bind(Object(ie.a)(n)),n.setBlocks=n.setBlocks.bind(Object(ie.a)(n)),n.setTitle=n.setTitle.bind(Object(ie.a)(n)),n.save=n.save.bind(Object(ie.a)(n)),n.state=r?{isEditing:r.isTemporary,title:r.title,blocks:Object(G.parse)(r.content)}:{isEditing:!1,title:null,blocks:[]},n}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"componentDidMount",value:function(){this.props.reusableBlock||this.props.fetchReusableBlock()}},{key:"componentDidUpdate",value:function(e){e.reusableBlock!==this.props.reusableBlock&&null===this.state.title&&this.setState({title:this.props.reusableBlock.title,blocks:Object(G.parse)(this.props.reusableBlock.content)})}},{key:"startEditing",value:function(){var e=this.props.reusableBlock;this.setState({isEditing:!0,title:e.title,blocks:Object(G.parse)(e.content)})}},{key:"stopEditing",value:function(){this.setState({isEditing:!1,title:null,blocks:[]})}},{key:"setBlocks",value:function(e){this.setState({blocks:e})}},{key:"setTitle",value:function(e){this.setState({title:e})}},{key:"save",value:function(){var e=this.props,t=e.onChange,n=e.onSave,r=this.state,o=r.blocks;t({title:r.title,content:Object(G.serialize)(o)}),n(),this.stopEditing()}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.reusableBlock,r=e.isFetching,o=e.isSaving,a=e.canUpdateBlock,c=e.settings,i=this.state,l=i.isEditing,s=i.title,u=i.blocks;if(!n&&r)return Object($.createElement)(se.Placeholder,null,Object($.createElement)(se.Spinner,null));if(!n)return Object($.createElement)(se.Placeholder,null,Object(K.__)("Block has been deleted or is unavailable."));var b=Object($.createElement)(W.BlockEditorProvider,{settings:c,value:u,onChange:this.setBlocks,onInput:this.setBlocks},Object($.createElement)(W.WritingFlow,null,Object($.createElement)(W.BlockList,null)));return l||(b=Object($.createElement)(se.Disabled,null,b)),Object($.createElement)("div",{className:"block-library-block__reusable-block-container"},(t||l)&&Object($.createElement)(La,{isEditing:l,title:null!==s?s:n.title,isSaving:o&&!n.isTemporary,isEditDisabled:!a,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),!t&&!l&&Object($.createElement)(Ha,{title:n.title}),b)}}]),t}($.Component),Va=Object(ue.compose)([Object(be.withSelect)((function(e,t){var n=e("core/editor"),r=n.__experimentalGetReusableBlock,o=n.__experimentalIsFetchingReusableBlock,a=n.__experimentalIsSavingReusableBlock,c=e("core").canUser,i=e("core/block-editor"),l=i.__experimentalGetParsedReusableBlock,s=i.getSettings,u=t.attributes.ref,b=r(u);return{reusableBlock:b,isFetching:o(u),isSaving:a(u),blocks:b?l(b.id):null,canUpdateBlock:!!b&&!b.isTemporary&&!!c("update","blocks",u),settings:s()}})),Object(be.withDispatch)((function(e,t){var n=e("core/editor"),r=n.__experimentalFetchReusableBlocks,o=n.__experimentalUpdateReusableBlock,a=n.__experimentalSaveReusableBlock,c=t.attributes.ref;return{fetchReusableBlock:Object(J.partial)(r,c),onChange:Object(J.partial)(o,c),onSave:Object(J.partial)(a,c)}}))])(za),Da="core/block",Fa={title:Object(K.__)("Reusable Block"),category:"reusable",description:Object(K.__)("Create content, and save it for you and other contributors to reuse across your site. Update the block, and the changes apply everywhere it’s used."),supports:{customClassName:!1,html:!1,inserter:!1},edit:Va},Ua=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.feedURL},e.toggleAttribute=e.toggleAttribute.bind(Object(ie.a)(e)),e.onSubmitURL=e.onSubmitURL.bind(Object(ie.a)(e)),e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"toggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(q.a)({},e,!n))}}},{key:"onSubmitURL",value:function(e){e.preventDefault(),this.props.attributes.feedURL&&this.setState({editing:!1})}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.blockLayout,r=t.columns,o=t.displayAuthor,a=t.displayExcerpt,c=t.displayDate,i=t.excerptLength,l=t.feedURL,s=t.itemsToShow,u=this.props.setAttributes;if(this.state.editing)return Object($.createElement)(se.Placeholder,{icon:"rss",label:"RSS"},Object($.createElement)("form",{onSubmit:this.onSubmitURL},Object($.createElement)(se.TextControl,{placeholder:Object(K.__)("Enter URL here…"),value:l,onChange:function(e){return u({feedURL:e})},className:"components-placeholder__input"}),Object($.createElement)(se.Button,{isLarge:!0,type:"submit"},Object(K.__)("Use URL"))));var b=[{icon:"edit",title:Object(K.__)("Edit RSS URL"),onClick:function(){return e.setState({editing:!0})}},{icon:"list-view",title:Object(K.__)("List view"),onClick:function(){return u({blockLayout:"list"})},isActive:"list"===n},{icon:"grid-view",title:Object(K.__)("Grid view"),onClick:function(){return u({blockLayout:"grid"})},isActive:"grid"===n}];return Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(se.Toolbar,{controls:b})),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,{title:Object(K.__)("RSS Settings")},Object($.createElement)(se.RangeControl,{label:Object(K.__)("Number of items"),value:s,onChange:function(e){return u({itemsToShow:e})},min:1,max:10,required:!0}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Display author"),checked:o,onChange:this.toggleAttribute("displayAuthor")}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Display date"),checked:c,onChange:this.toggleAttribute("displayDate")}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Display excerpt"),checked:a,onChange:this.toggleAttribute("displayExcerpt")}),a&&Object($.createElement)(se.RangeControl,{label:Object(K.__)("Max number of words in excerpt"),value:i,onChange:function(e){return u({excerptLength:e})},min:10,max:100,required:!0}),"grid"===n&&Object($.createElement)(se.RangeControl,{label:Object(K.__)("Columns"),value:r,onChange:function(e){return u({columns:e})},min:2,max:6,required:!0}))),Object($.createElement)(se.Disabled,null,Object($.createElement)(rn.a,{block:"core/rss",attributes:this.props.attributes})))}}]),t}($.Component),qa="core/rss",Wa={title:Object(K.__)("RSS"),description:Object(K.__)("Display entries from any RSS or Atom feed."),icon:"rss",category:"widgets",keywords:[Object(K.__)("atom"),Object(K.__)("feed")],supports:{align:!0,html:!1},example:{attributes:{feedURL:"https://wordpress.org"}},edit:Ua};var Ga="core/search",Ka={title:Object(K.__)("Search"),description:Object(K.__)("Help visitors find your content."),icon:"search",category:"widgets",keywords:[Object(K.__)("find")],supports:{align:!0},example:{},edit:function(e){var t=e.className,n=e.attributes,r=e.setAttributes,o=n.label,a=n.placeholder,c=n.buttonText;return Object($.createElement)("div",{className:t},Object($.createElement)(W.RichText,{wrapperClassName:"wp-block-search__label","aria-label":Object(K.__)("Label text"),placeholder:Object(K.__)("Add label…"),withoutInteractiveFormatting:!0,value:o,onChange:function(e){return r({label:e})}}),Object($.createElement)("input",{className:"wp-block-search__input","aria-label":Object(K.__)("Optional placeholder text"),placeholder:a?void 0:Object(K.__)("Optional placeholder…"),value:a,onChange:function(e){return r({placeholder:e.target.value})}}),Object($.createElement)(W.RichText,{wrapperClassName:"wp-block-search__button",className:"wp-block-search__button-rich-text","aria-label":Object(K.__)("Button text"),placeholder:Object(K.__)("Add button text…"),withoutInteractiveFormatting:!0,value:c,onChange:function(e){return r({buttonText:e})}}))}},Za=[{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},save:function(e){var t=e.attributes,n=t.backgroundColor,r=t.customBackgroundColor,o=Object(W.getColorClassName)("background-color",n),a=Q()(o,{"has-background":n||r}),c={backgroundColor:o?void 0:r};return Object($.createElement)("div",{className:a,style:c},Object($.createElement)(W.InnerBlocks.Content,null))}}];var $a=Object(ue.compose)([Object(W.withColors)("backgroundColor"),Object(be.withSelect)((function(e,t){var n=t.clientId,r=(0,e("core/block-editor").getBlock)(n);return{hasInnerBlocks:!(!r||!r.innerBlocks.length)}}))])((function(e){var t=e.className,n=e.setBackgroundColor,r=e.backgroundColor,o=e.hasInnerBlocks,a={backgroundColor:r.color},c=Q()(t,r.class,{"has-background":!!r.color});return Object($.createElement)($.Fragment,null,Object($.createElement)(W.InspectorControls,null,Object($.createElement)(W.PanelColorSettings,{title:Object(K.__)("Color Settings"),colorSettings:[{value:r.color,onChange:n,label:Object(K.__)("Background Color")}]})),Object($.createElement)("div",{className:c,style:a},Object($.createElement)("div",{className:"wp-block-group__inner-container"},Object($.createElement)(W.InnerBlocks,{renderAppender:!o&&W.InnerBlocks.ButtonBlockAppender}))))})),Ya=Object($.createElement)(se.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9 8a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-1v3a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h1V8zm2 3h4V9h-4v2zm2 2H9v2h4v-2z"}),Object($.createElement)(se.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4.732A2 2 0 1 1 4.732 2h14.536A2 2 0 1 1 22 4.732v14.536A2 2 0 1 1 19.268 22H4.732A2 2 0 1 1 2 19.268V4.732zM4.732 4h14.536c.175.304.428.557.732.732v14.536a2.01 2.01 0 0 0-.732.732H4.732A2.01 2.01 0 0 0 4 19.268V4.732A2.01 2.01 0 0 0 4.732 4z"}));var Qa={name:"core/group",category:"layout",attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}}},Ja=Qa.name,Xa={title:Object(K.__)("Group"),icon:Ya,description:Object(K.__)("A block that groups other blocks."),keywords:[Object(K.__)("container"),Object(K.__)("wrapper"),Object(K.__)("row"),Object(K.__)("section")],example:{attributes:{customBackgroundColor:"#ffffff"},innerBlocks:[{name:"core/paragraph",attributes:{customTextColor:"#cf2e2e",fontSize:"large",content:Object(K.__)("One.")}},{name:"core/paragraph",attributes:{customTextColor:"#ff6900",fontSize:"large",content:Object(K.__)("Two.")}},{name:"core/paragraph",attributes:{customTextColor:"#fcb900",fontSize:"large",content:Object(K.__)("Three.")}},{name:"core/paragraph",attributes:{customTextColor:"#00d084",fontSize:"large",content:Object(K.__)("Four.")}},{name:"core/paragraph",attributes:{customTextColor:"#0693e3",fontSize:"large",content:Object(K.__)("Five.")}},{name:"core/paragraph",attributes:{customTextColor:"#9b51e0",fontSize:"large",content:Object(K.__)("Six.")}}]},supports:{align:["wide","full"],anchor:!0,html:!1},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert:function(e){if(1!==e.length||"core/group"!==e[0].name){var t=["wide","full"],n=e.reduce((function(e,n){var r=n.attributes.align;return t.indexOf(r)>t.indexOf(e)?r:e}),void 0),r=e.map((function(e){return Object(G.createBlock)(e.name,e.attributes,e.innerBlocks)}));return Object(G.createBlock)("core/group",{align:n},r)}}}]},edit:$a,save:function(e){var t=e.attributes,n=t.backgroundColor,r=t.customBackgroundColor,o=Object(W.getColorClassName)("background-color",n),a=Q()(o,{"has-background":n||r}),c={backgroundColor:o?void 0:r};return Object($.createElement)("div",{className:a,style:c},Object($.createElement)("div",{className:"wp-block-group__inner-container"},Object($.createElement)(W.InnerBlocks.Content,null)))},deprecated:Za};var ec=Object(W.withColors)("color",{textColor:"color"})((function(e){var t=e.color,n=e.setColor,r=e.className;return Object($.createElement)($.Fragment,null,Object($.createElement)(se.HorizontalRule,{className:Q()(r,Object(q.a)({"has-background":t.color},t.class,t.class)),style:{backgroundColor:t.color,color:t.color}}),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(W.PanelColorSettings,{title:Object(K.__)("Color Settings"),colorSettings:[{value:t.color,onChange:n,label:Object(K.__)("Color")}]})))})),tc=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(se.Path,{d:"M19 13H5v-2h14v2z"}));var nc={from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object(G.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},rc={name:"core/separator",category:"layout",attributes:{color:{type:"string"},customColor:{type:"string"}}},oc=rc.name,ac={title:Object(K.__)("Separator"),description:Object(K.__)("Create a break between ideas or sections with a horizontal separator."),icon:tc,keywords:[Object(K.__)("horizontal-line"),"hr",Object(K.__)("divider")],example:{attributes:{customColor:"#065174",className:"is-style-wide"}},styles:[{name:"default",label:Object(K.__)("Default"),isDefault:!0},{name:"wide",label:Object(K.__)("Wide Line")},{name:"dots",label:Object(K.__)("Dots")}],transforms:nc,edit:ec,save:function(e){var t,n=e.attributes,r=n.color,o=n.customColor,a=Object(W.getColorClassName)("background-color",r),c=Object(W.getColorClassName)("color",r),i=Q()((t={"has-text-color has-background":r||o},Object(q.a)(t,a,a),Object(q.a)(t,c,c),t)),l={backgroundColor:a?void 0:o,color:c?void 0:o};return Object($.createElement)("hr",{className:i,style:l})}},cc=Object(ue.withInstanceId)((function(e){var t=e.attributes,n=e.setAttributes,r=e.instanceId,o="blocks-shortcode-input-".concat(r);return Object($.createElement)("div",{className:"wp-block-shortcode components-placeholder"},Object($.createElement)("label",{htmlFor:o,className:"components-placeholder__label"},Object($.createElement)(se.Dashicon,{icon:"shortcode"}),Object(K.__)("Shortcode")),Object($.createElement)(W.PlainText,{className:"input-control",id:o,value:t.text,placeholder:Object(K.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))})),ic=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{d:"M8.5,21.4l1.9,0.5l5.2-19.3l-1.9-0.5L8.5,21.4z M3,19h4v-2H5V7h2V5H3V19z M17,5v2h2v10h-2v2h4V5H17z"}));var lc=n(68),sc={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var n=t.content;return Object(lc.removep)(Object(lc.autop)(n))}}},priority:20}]},uc="core/shortcode",bc={title:Object(K.__)("Shortcode"),description:Object(K.__)("Insert additional custom elements with a WordPress shortcode."),icon:ic,category:"widgets",transforms:sc,supports:{customClassName:!1,className:!1,html:!1},edit:cc,save:function(e){var t=e.attributes;return Object($.createElement)($.RawHTML,null,t.text)}},mc=Object(ue.compose)([Object(be.withDispatch)((function(e){var t=e("core/block-editor").toggleSelection;return{onResizeStart:function(){return t(!1)},onResizeStop:function(){return t(!0)}}})),ue.withInstanceId])((function(e){var t=e.attributes,n=e.isSelected,r=e.setAttributes,o=e.instanceId,a=e.onResizeStart,c=e.onResizeStop,i=t.height,l="block-spacer-height-input-".concat(o),s=Object($.useState)(i),u=Object(ke.a)(s,2),b=u[0],m=u[1];return Object($.createElement)($.Fragment,null,Object($.createElement)(se.ResizableBox,{className:Q()("block-library-spacer__resize-container",{"is-selected":n}),size:{height:i},minHeight:"20",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:a,onResizeStop:function(e,t,n,o){c();var a=parseInt(i+o.height,10);r({height:a}),m(a)}}),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,{title:Object(K.__)("Spacer Settings")},Object($.createElement)(se.BaseControl,{label:Object(K.__)("Height in pixels"),id:l},Object($.createElement)("input",{type:"number",id:l,onChange:function(e){var t=parseInt(e.target.value,10);m(t),isNaN(t)?(m(""),t=100):t<20&&(t=20),r({height:t})},value:b,min:"20",step:"10"})))))})),dc=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.G,null,Object($.createElement)(se.Path,{d:"M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7"})));var hc={name:"core/spacer",category:"layout",attributes:{height:{type:"number",default:100}}},pc=hc.name,gc={title:Object(K.__)("Spacer"),description:Object(K.__)("Add white space between blocks and customize its height."),icon:dc,edit:mc,save:function(e){var t=e.attributes;return Object($.createElement)("div",{style:{height:t.height},"aria-hidden":!0})}},fc=n(37),vc=n.n(fc);var Oc=Object($.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object($.createElement)(se.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"}));var jc={to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(G.createBlock)("core/paragraph",e)}}]},yc={name:"core/subhead",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p"}}},_c=yc.name,kc={title:Object(K.__)("Subheading (deprecated)"),description:Object(K.__)("This block is deprecated. Please use the Paragraph block instead."),icon:Oc,supports:{inserter:!1,multiple:!1},transforms:jc,edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.align,a=t.content,c=t.placeholder;return vc()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(W.AlignmentToolbar,{value:o,onChange:function(e){n({align:e})}})),Object($.createElement)(W.RichText,{tagName:"p",value:a,onChange:function(e){n({content:e})},style:{textAlign:o},className:r,placeholder:c||Object(K.__)("Write subheading…")}))},save:function(e){var t=e.attributes,n=t.align,r=t.content;return Object($.createElement)(W.RichText.Content,{tagName:"p",style:{textAlign:n},value:r})}},Cc=[{attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}}},supports:{align:!0},save:function(e){var t=e.attributes,n=t.hasFixedLayout,r=t.head,o=t.body,a=t.foot,c=t.backgroundColor;if(!r.length&&!o.length&&!a.length)return null;var i=Object(W.getColorClassName)("background-color",c),l=Q()(i,{"has-fixed-layout":n,"has-background":!!i}),s=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var r="t".concat(t);return Object($.createElement)(r,null,n.map((function(e,t){var n=e.cells;return Object($.createElement)("tr",{key:t},n.map((function(e,t){var n=e.content,r=e.tag,o=e.scope;return Object($.createElement)(W.RichText.Content,{tagName:r,value:n,key:t,scope:"th"===r?o:void 0})})))})))};return Object($.createElement)("table",{className:l},Object($.createElement)(s,{type:"head",rows:r}),Object($.createElement)(s,{type:"body",rows:o}),Object($.createElement)(s,{type:"foot",rows:a}))}}],wc=["align"];function Ec(e,t,n){if(!t)return e;var r=Object(J.pick)(e,["head","body","foot"]),o=t.sectionName,a=t.rowIndex;return Object(J.mapValues)(r,(function(e,r){return o&&o!==r?e:e.map((function(e,o){return a&&a!==o?e:{cells:e.cells.map((function(e,a){return xc({sectionName:r,columnIndex:a,rowIndex:o},t)?n(e):e}))}}))}))}function xc(e,t){if(!e||!t)return!1;switch(t.type){case"column":return"column"===t.type&&e.columnIndex===t.columnIndex;case"cell":return"cell"===t.type&&e.sectionName===t.sectionName&&e.columnIndex===t.columnIndex&&e.rowIndex===t.rowIndex}}function Sc(e,t){var n=t.sectionName,r=t.rowIndex,o=t.columnCount,a=function(e){return Rc(e.head)?Rc(e.body)?Rc(e.foot)?void 0:e.foot[0]:e.body[0]:e.head[0]}(e),c=void 0===o?Object(J.get)(a,["cells","length"]):o;return c?Object(q.a)({},n,[].concat(Object(U.a)(e[n].slice(0,r)),[{cells:Object(J.times)(c,(function(e){var t=Object(J.get)(a,["cells",e],{}),r=Object(J.pick)(t,wc);return Object(Z.a)({},r,{content:"",tag:"head"===n?"th":"td"})}))}],Object(U.a)(e[n].slice(r)))):e}function Tc(e,t){var n=t.columnIndex,r=Object(J.pick)(e,["head","body","foot"]);return Object(J.mapValues)(r,(function(e,t){return Rc(e)?e:e.map((function(e){return Ac(e)||e.cells.length0&&void 0!==arguments[0]?arguments[0]:0,t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,a=t.columnIndex;this.setState({selectedCell:null}),o(Tc(r,{columnIndex:a+e}))}}},{key:"onInsertColumnBefore",value:function(){this.onInsertColumn(0)}},{key:"onInsertColumnAfter",value:function(){this.onInsertColumn(1)}},{key:"onDeleteColumn",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.sectionName,a=e.columnIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.columnIndex,r=Object(J.pick)(e,["head","body","foot"]);return Object(J.mapValues)(r,(function(e){return Rc(e)?e:e.map((function(e){return{cells:e.cells.length>=n?e.cells.filter((function(e,t){return t!==n})):e.cells}})).filter((function(e){return e.cells.length}))}))}(n,{sectionName:o,columnIndex:a}))}}},{key:"createOnFocus",value:function(e){var t=this;return function(){t.setState({selectedCell:Object(Z.a)({},e,{type:"cell"})})}}},{key:"getTableControls",value:function(){var e=this.state.selectedCell;return[{icon:"table-row-before",title:Object(K.__)("Add Row Before"),isDisabled:!e,onClick:this.onInsertRowBefore},{icon:"table-row-after",title:Object(K.__)("Add Row After"),isDisabled:!e,onClick:this.onInsertRowAfter},{icon:"table-row-delete",title:Object(K.__)("Delete Row"),isDisabled:!e,onClick:this.onDeleteRow},{icon:"table-col-before",title:Object(K.__)("Add Column Before"),isDisabled:!e,onClick:this.onInsertColumnBefore},{icon:"table-col-after",title:Object(K.__)("Add Column After"),isDisabled:!e,onClick:this.onInsertColumnAfter},{icon:"table-col-delete",title:Object(K.__)("Delete Column"),isDisabled:!e,onClick:this.onDeleteColumn}]}},{key:"renderSection",value:function(e){var t=this,n=e.name,r=e.rows;if(Rc(r))return null;var o="t".concat(n),a=this.state.selectedCell;return Object($.createElement)(o,null,r.map((function(e,r){var o=e.cells;return Object($.createElement)("tr",{key:r},o.map((function(e,o){var c=e.content,i=e.tag,l=e.scope,s=e.align,u={sectionName:n,rowIndex:r,columnIndex:o},b=xc(u,a),m=Q()(Object(q.a)({"is-selected":b},"has-text-align-".concat(s),s));return Object($.createElement)(i,{key:o,className:m,scope:"th"===i?l:void 0,onClick:function(e){var t=e&&e.target&&e.target.querySelector(".".concat("wp-block-table__cell-content"));t&&t.focus()}},Object($.createElement)(W.RichText,{className:"wp-block-table__cell-content",value:c,onChange:t.onChange,unstableOnFocus:t.createOnFocus(u)}))})))})))}},{key:"componentDidUpdate",value:function(){var e=this.props.isSelected,t=this.state.selectedCell;!e&&t&&this.setState({selectedCell:null})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,o=t.backgroundColor,a=t.setBackgroundColor,c=this.state,i=c.initialRowCount,l=c.initialColumnCount,s=n.hasFixedLayout,u=n.head,b=n.body,m=n.foot,d=Rc(u)&&Rc(b)&&Rc(m),h=this.renderSection;if(d)return Object($.createElement)(se.Placeholder,{label:Object(K.__)("Table"),icon:Object($.createElement)(W.BlockIcon,{icon:Bc,showColors:!0}),instructions:Object(K.__)("Insert a table for sharing data."),isColumnLayout:!0},Object($.createElement)("form",{className:"wp-block-table__placeholder-form",onSubmit:this.onCreateTable},Object($.createElement)(se.TextControl,{type:"number",label:Object(K.__)("Column Count"),value:l,onChange:this.onChangeInitialColumnCount,min:"1",className:"wp-block-table__placeholder-input"}),Object($.createElement)(se.TextControl,{type:"number",label:Object(K.__)("Row Count"),value:i,onChange:this.onChangeInitialRowCount,min:"1",className:"wp-block-table__placeholder-input"}),Object($.createElement)(se.Button,{className:"wp-block-table__placeholder-button",isDefault:!0,type:"submit"},Object(K.__)("Create Table"))));var p=Q()(o.class,{"has-fixed-layout":s,"has-background":!!o.color});return Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(se.Toolbar,null,Object($.createElement)(se.DropdownMenu,{hasArrowIndicator:!0,icon:"editor-table",label:Object(K.__)("Edit table"),controls:this.getTableControls()})),Object($.createElement)(W.AlignmentToolbar,{label:Object(K.__)("Change column alignment"),alignmentControls:Mc,value:this.getCellAlignment(),onChange:function(t){return e.onChangeColumnAlignment(t)},onHover:this.onHoverAlignment})),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,{title:Object(K.__)("Table Settings"),className:"blocks-table-settings"},Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Fixed width table cells"),checked:!!s,onChange:this.onChangeFixedLayout}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Header section"),checked:!(!u||!u.length),onChange:this.onToggleHeaderSection}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Footer section"),checked:!(!m||!m.length),onChange:this.onToggleFooterSection})),Object($.createElement)(W.PanelColorSettings,{title:Object(K.__)("Color Settings"),initialOpen:!1,colorSettings:[{value:o.color,onChange:a,label:Object(K.__)("Background Color"),disableCustomColors:!0,colors:Ic}]})),Object($.createElement)("figure",{className:r},Object($.createElement)("table",{className:p},Object($.createElement)(h,{name:"head",rows:u}),Object($.createElement)(h,{name:"body",rows:b}),Object($.createElement)(h,{name:"foot",rows:m}))))}}]),t}($.Component),Hc=Pc("backgroundColor")(Lc);var zc={tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:Object(G.getPhrasingContentSchema)(),attributes:["scope"]},td:{allowEmpty:!0,children:Object(G.getPhrasingContentSchema)()}}}},Vc={from:[{type:"raw",selector:"table",schema:{table:{children:{thead:{allowEmpty:!0,children:zc},tfoot:{allowEmpty:!0,children:zc},tbody:{allowEmpty:!0,children:zc}}}}}]},Dc={name:"core/table",category:"formatting",attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}}}},Fc=Dc.name,Uc={title:Object(K.__)("Table"),description:Object(K.__)("Insert a table — perfect for sharing charts and data."),icon:Bc,example:{attributes:{head:[{cells:[{content:Object(K.__)("Version"),tag:"th"},{content:Object(K.__)("Jazz Musician"),tag:"th"},{content:Object(K.__)("Release Date"),tag:"th"}]}],body:[{cells:[{content:"5.2",tag:"td"},{content:"Jaco Pastorius",tag:"td"},{content:Object(K.__)("May 7, 2019"),tag:"td"}]},{cells:[{content:"5.1",tag:"td"},{content:"Betty Carter",tag:"td"},{content:Object(K.__)("February 21, 2019"),tag:"td"}]},{cells:[{content:"5.0",tag:"td"},{content:"Bebo Valdés",tag:"td"},{content:Object(K.__)("December 6, 2018"),tag:"td"}]}]}},styles:[{name:"regular",label:Object(K._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(K.__)("Stripes")}],supports:{align:!0},transforms:Vc,edit:Hc,save:function(e){var t=e.attributes,n=t.hasFixedLayout,r=t.head,o=t.body,a=t.foot,c=t.backgroundColor;if(!r.length&&!o.length&&!a.length)return null;var i=Object(W.getColorClassName)("background-color",c),l=Q()(i,{"has-fixed-layout":n,"has-background":!!i}),s=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var r="t".concat(t);return Object($.createElement)(r,null,n.map((function(e,t){var n=e.cells;return Object($.createElement)("tr",{key:t},n.map((function(e,t){var n=e.content,r=e.tag,o=e.scope,a=e.align,c=Q()(Object(q.a)({},"has-text-align-".concat(a),a));return Object($.createElement)(W.RichText.Content,{className:c||void 0,"data-align":a,tagName:r,value:n,key:t,scope:"th"===r?o:void 0})})))})))};return Object($.createElement)("figure",null,Object($.createElement)("table",{className:l},Object($.createElement)(s,{type:"head",rows:r}),Object($.createElement)(s,{type:"body",rows:o}),Object($.createElement)(s,{type:"foot",rows:a})))},deprecated:Cc};var qc={to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,n=e.columns,r=e.content,o=e.width;return Object(G.createBlock)("core/columns",{align:"wide"===o||"full"===o?o:void 0,className:t,columns:n},r.map((function(e){var t=e.children;return Object(G.createBlock)("core/column",{},[Object(G.createBlock)("core/paragraph",{content:t})])})))}}]},Wc={name:"core/text-columns",icon:"columns",category:"layout",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{type:"string",source:"html"}},default:[{},{}]},columns:{type:"number",default:2},width:{type:"string"}}},Gc=Wc.name,Kc={supports:{inserter:!1},title:Object(K.__)("Text Columns (deprecated)"),description:Object(K.__)("This block is deprecated. Please use the Columns block instead."),transforms:qc,getEditWrapperProps:function(e){var t=e.width;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.width,a=t.content,c=t.columns;return vc()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(W.BlockAlignmentToolbar,{value:o,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,null,Object($.createElement)(se.RangeControl,{label:Object(K.__)("Columns"),value:c,onChange:function(e){return n({columns:e})},min:2,max:4,required:!0}))),Object($.createElement)("div",{className:"".concat(r," align").concat(o," columns-").concat(c)},Object(J.times)(c,(function(e){return Object($.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object($.createElement)(W.RichText,{tagName:"p",value:Object(J.get)(a,[e,"children"]),onChange:function(t){n({content:[].concat(Object(U.a)(a.slice(0,e)),[{children:t}],Object(U.a)(a.slice(e+1)))})},placeholder:Object(K.__)("New Column")}))}))))},save:function(e){var t=e.attributes,n=t.width,r=t.content,o=t.columns;return Object($.createElement)("div",{className:"align".concat(n," columns-").concat(o)},Object(J.times)(o,(function(e){return Object($.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object($.createElement)(W.RichText.Content,{tagName:"p",value:Object(J.get)(r,[e,"children"])}))})))}},Zc=[{attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},save:function(e){var t=e.attributes,n=t.textAlign,r=t.content;return Object($.createElement)(W.RichText.Content,{tagName:"pre",style:{textAlign:n},value:r})}}];var $c=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{d:"M21 11.01L3 11V13H21V11.01ZM3 16H17V18H3V16ZM15 6H3V8.01L15 8V6Z"}));var Yc={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(G.createBlock)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(G.createBlock)("core/paragraph",e)}}]},Qc={name:"core/verse",category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}}},Jc=Qc.name,Xc={title:Object(K.__)("Verse"),description:Object(K.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:$c,example:{attributes:{content:Object(K.__)("WHAT was he doing, the great god Pan,")+"
    "+Object(K.__)(" Down in the reeds by the river?")+"
    "+Object(K.__)("Spreading ruin and scattering ban,")+"
    "+Object(K.__)("Splashing and paddling with hoofs of a goat,")+"
    "+Object(K.__)("And breaking the golden lilies afloat")+"
    "+Object(K.__)(" With the dragon-fly on the river.")}},keywords:[Object(K.__)("poetry")],transforms:Yc,deprecated:Zc,merge:function(e,t){return{content:e.content+t.content}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=e.mergeBlocks,a=t.textAlign,c=t.content;return Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(W.AlignmentToolbar,{value:a,onChange:function(e){n({textAlign:e})}})),Object($.createElement)(W.RichText,{tagName:"pre",value:c,onChange:function(e){n({content:e})},placeholder:Object(K.__)("Write…"),wrapperClassName:r,className:Q()(Object(q.a)({},"has-text-align-".concat(a),a)),onMerge:o}))},save:function(e){var t=e.attributes,n=t.textAlign,r=t.content,o=Q()(Object(q.a)({},"has-text-align-".concat(n),n));return Object($.createElement)(W.RichText.Content,{tagName:"pre",className:o,value:r})}},ei=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(se.Path,{d:"M4 6.47L5.76 10H20v8H4V6.47M22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4z"})),ti=["video"],ni=["image"],ri=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.videoPlayer=Object($.createRef)(),e.posterImageButton=Object($.createRef)(),e.toggleAttribute=e.toggleAttribute.bind(Object(ie.a)(e)),e.onSelectURL=e.onSelectURL.bind(Object(ie.a)(e)),e.onSelectPoster=e.onSelectPoster.bind(Object(ie.a)(e)),e.onRemovePoster=e.onRemovePoster.bind(Object(ie.a)(e)),e.onUploadError=e.onUploadError.bind(Object(ie.a)(e)),e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,a=t.setAttributes,c=n.id,i=n.src,l=void 0===i?"":i;if(!c&&Object(Ce.isBlobURL)(l)){var s=Object(Ce.getBlobByURL)(l);s&&r({filesList:[s],onFileChange:function(e){var t=Object(ke.a)(e,1)[0].url;a({src:t})},onError:function(t){e.setState({editing:!0}),o.createErrorNotice(t)},allowedTypes:ti})}}},{key:"componentDidUpdate",value:function(e){this.props.attributes.poster!==e.attributes.poster&&this.videoPlayer.current.load()}},{key:"toggleAttribute",value:function(e){var t=this;return function(n){t.props.setAttributes(Object(q.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=et({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}this.setState({editing:!1})}},{key:"onSelectPoster",value:function(e){(0,this.props.setAttributes)({poster:e.url})}},{key:"onRemovePoster",value:function(){(0,this.props.setAttributes)({poster:""}),this.posterImageButton.current.focus()}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"getAutoplayHelp",value:function(e){return e?Object(K.__)("Note: Autoplaying videos may cause usability issues for some visitors."):null}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.autoplay,r=t.caption,o=t.controls,a=t.loop,c=t.muted,i=t.playsInline,l=t.poster,s=t.preload,u=t.src,b=this.props,m=b.className,d=b.instanceId,h=b.isSelected,p=b.noticeUI,g=b.setAttributes,f=this.state.editing,v=function(){e.setState({editing:!0})};if(f)return Object($.createElement)(W.MediaPlaceholder,{icon:Object($.createElement)(W.BlockIcon,{icon:ei}),className:m,onSelect:function(t){if(!t||!t.url)return g({src:void 0,id:void 0}),void v();g({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"video/*",allowedTypes:ti,value:this.props.attributes,notices:p,onError:this.onUploadError});var O="video-block__poster-image-description-".concat(d);return Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(se.Toolbar,null,Object($.createElement)(se.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(K.__)("Edit video"),onClick:v,icon:"edit"}))),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,{title:Object(K.__)("Video Settings")},Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n,help:this.getAutoplayHelp}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:a}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Muted"),onChange:this.toggleAttribute("muted"),checked:c}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Playback Controls"),onChange:this.toggleAttribute("controls"),checked:o}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Play inline"),onChange:this.toggleAttribute("playsInline"),checked:i}),Object($.createElement)(se.SelectControl,{label:Object(K.__)("Preload"),value:s,onChange:function(e){return g({preload:e})},options:[{value:"auto",label:Object(K.__)("Auto")},{value:"metadata",label:Object(K.__)("Metadata")},{value:"none",label:Object(K.__)("None")}]}),Object($.createElement)(W.MediaUploadCheck,null,Object($.createElement)(se.BaseControl,{className:"editor-video-poster-control"},Object($.createElement)(se.BaseControl.VisualLabel,null,Object(K.__)("Poster Image")),Object($.createElement)(W.MediaUpload,{title:Object(K.__)("Select Poster Image"),onSelect:this.onSelectPoster,allowedTypes:ni,render:function(t){var n=t.open;return Object($.createElement)(se.Button,{isDefault:!0,onClick:n,ref:e.posterImageButton,"aria-describedby":O},e.props.attributes.poster?Object(K.__)("Replace image"):Object(K.__)("Select Poster Image"))}}),Object($.createElement)("p",{id:O,hidden:!0},this.props.attributes.poster?Object(K.sprintf)(Object(K.__)("The current poster image url is %s"),this.props.attributes.poster):Object(K.__)("There is no poster image currently selected")),!!this.props.attributes.poster&&Object($.createElement)(se.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(K.__)("Remove Poster Image")))))),Object($.createElement)("figure",{className:m},Object($.createElement)(se.Disabled,null,Object($.createElement)("video",{controls:o,poster:l,src:u,ref:this.videoPlayer})),(!W.RichText.isEmpty(r)||h)&&Object($.createElement)(W.RichText,{tagName:"figcaption",placeholder:Object(K.__)("Write caption…"),value:r,onChange:function(e){return g({caption:e})},inlineToolbar:!0})))}}]),t}($.Component),oi=Object(ue.compose)([Object(be.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().__experimentalMediaUpload}})),se.withNotices,ue.withInstanceId])(ri);var ai={from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("video/")},transform:function(e){var t=e[0];return Object(G.createBlock)("core/video",{src:Object(Ce.createBlobURL)(t)})}},{type:"shortcode",tag:"video",attributes:{src:{type:"string",shortcode:function(e){var t=e.named,n=t.src,r=t.mp4,o=t.m4v,a=t.webm,c=t.ogv,i=t.flv;return n||r||o||a||c||i}},poster:{type:"string",shortcode:function(e){return e.named.poster}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},ci={name:"core/video",category:"common",attributes:{autoplay:{type:"boolean",source:"attribute",selector:"video",attribute:"autoplay"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",source:"attribute",selector:"video",attribute:"controls",default:!0},id:{type:"number"},loop:{type:"boolean",source:"attribute",selector:"video",attribute:"loop"},muted:{type:"boolean",source:"attribute",selector:"video",attribute:"muted"},poster:{type:"string",source:"attribute",selector:"video",attribute:"poster"},preload:{type:"string",source:"attribute",selector:"video",attribute:"preload",default:"metadata"},src:{type:"string",source:"attribute",selector:"video",attribute:"src"},playsInline:{type:"boolean",source:"attribute",selector:"video",attribute:"playsinline"}}},ii=ci.name,li={title:Object(K.__)("Video"),description:Object(K.__)("Embed a video from your media library or upload a new one."),icon:ei,keywords:[Object(K.__)("movie")],transforms:ai,supports:{align:!0},edit:oi,save:function(e){var t=e.attributes,n=t.autoplay,r=t.caption,o=t.controls,a=t.loop,c=t.muted,i=t.poster,l=t.preload,s=t.src,u=t.playsInline;return Object($.createElement)("figure",null,s&&Object($.createElement)("video",{autoPlay:n,controls:o,loop:a,muted:c,poster:i,preload:"metadata"!==l?l:void 0,src:s,playsInline:u}),!W.RichText.isEmpty(r)&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:r}))}},si=function(e){function t(){var e;return Object(re.a)(this,t),(e=Object(ae.a)(this,Object(ce.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.taxonomy},e.setTaxonomy=e.setTaxonomy.bind(Object(ie.a)(e)),e.toggleShowTagCounts=e.toggleShowTagCounts.bind(Object(ie.a)(e)),e}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"getTaxonomyOptions",value:function(){var e=Object(J.filter)(this.props.taxonomies,"show_cloud"),t={label:Object(K.__)("- Select -"),value:"",disabled:!0},n=Object(J.map)(e,(function(e){return{value:e.slug,label:e.name}}));return[t].concat(Object(U.a)(n))}},{key:"setTaxonomy",value:function(e){(0,this.props.setAttributes)({taxonomy:e})}},{key:"toggleShowTagCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showTagCounts:!t.showTagCounts})}},{key:"render",value:function(){var e=this.props.attributes,t=e.taxonomy,n=e.showTagCounts,r=this.getTaxonomyOptions(),o=Object($.createElement)(W.InspectorControls,null,Object($.createElement)(se.PanelBody,{title:Object(K.__)("Tag Cloud Settings")},Object($.createElement)(se.SelectControl,{label:Object(K.__)("Taxonomy"),options:r,value:t,onChange:this.setTaxonomy}),Object($.createElement)(se.ToggleControl,{label:Object(K.__)("Show post counts"),checked:n,onChange:this.toggleShowTagCounts})));return Object($.createElement)($.Fragment,null,o,Object($.createElement)(rn.a,{key:"tag-cloud",block:"core/tag-cloud",attributes:e}))}}]),t}($.Component),ui=Object(be.withSelect)((function(e){return{taxonomies:e("core").getTaxonomies()}}))(si),bi="core/tag-cloud",mi={title:Object(K.__)("Tag Cloud"),description:Object(K.__)("A cloud of your most used tags."),icon:"tag",category:"widgets",supports:{html:!1,align:!0},edit:ui},di=window.wp;var hi=function(e){function t(e){var n;return Object(re.a)(this,t),(n=Object(ae.a)(this,Object(ce.a)(t).call(this,e))).initialize=n.initialize.bind(Object(ie.a)(n)),n.onSetup=n.onSetup.bind(Object(ie.a)(n)),n.focus=n.focus.bind(Object(ie.a)(n)),n}return Object(le.a)(t,e),Object(oe.a)(t,[{key:"componentDidMount",value:function(){var e=window.wpEditorL10n.tinymce,t=e.baseURL,n=e.suffix;window.tinymce.EditorManager.overrideDefaults({base_url:t,suffix:n}),"complete"===document.readyState?this.initialize():window.addEventListener("DOMContentLoaded",this.initialize)}},{key:"componentWillUnmount",value:function(){window.addEventListener("DOMContentLoaded",this.initialize),di.oldEditor.remove("editor-".concat(this.props.clientId))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.clientId,r=t.attributes.content,o=window.tinymce.get("editor-".concat(n));e.attributes.content!==r&&o.setContent(r||"")}},{key:"initialize",value:function(){var e=this.props.clientId,t=window.wpEditorL10n.tinymce.settings;di.oldEditor.initialize("editor-".concat(e),{tinymce:Object(Z.a)({},t,{inline:!0,content_css:!1,fixed_toolbar_container:"#toolbar-".concat(e),setup:this.onSetup})})}},{key:"onSetup",value:function(e){var t,n=this,r=this.props,o=r.attributes.content,a=r.setAttributes,c=this.ref;this.editor=e,o&&e.on("loadContent",(function(){return e.setContent(o)})),e.on("blur",(function(){return t=e.selection.getBookmark(2,!0),a({content:e.getContent()}),e.once("focus",(function(){t&&e.selection.moveToBookmark(t)})),!1})),e.on("mousedown touchstart",(function(){t=null})),e.on("keydown",(function(t){t.keyCode!==we.BACKSPACE&&t.keyCode!==we.DELETE||!function(e){var t=e.getBody();return!(t.childNodes.length>1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}(e)||(n.props.onReplace([]),t.preventDefault(),t.stopImmediatePropagation()),t.altKey&&t.keyCode===we.F10&&t.stopPropagation()})),e.addButton("kitchensink",{tooltip:Object(K._x)("More","button to expand options"),icon:"dashicon dashicons-editor-kitchensink",onClick:function(){var t=!this.active();this.active(t),e.dom.toggleClass(c,"has-advanced-toolbar",t)}}),e.on("init",(function(){e.settings.toolbar1&&-1===e.settings.toolbar1.indexOf("kitchensink")&&e.dom.addClass(c,"has-advanced-toolbar")})),e.addButton("wp_add_media",{tooltip:Object(K.__)("Insert Media"),icon:"dashicon dashicons-admin-media",cmd:"WP_Medialib"}),e.on("init",(function(){var e=n.editor.getBody();document.activeElement===e&&(e.blur(),n.editor.focus())}))}},{key:"focus",value:function(){this.editor&&this.editor.focus()}},{key:"onToolbarKeyDown",value:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},{key:"render",value:function(){var e=this,t=this.props.clientId;return[Object($.createElement)("div",{key:"toolbar",id:"toolbar-".concat(t),ref:function(t){return e.ref=t},className:"block-library-classic__toolbar",onClick:this.focus,"data-placeholder":Object(K.__)("Classic"),onKeyDown:this.onToolbarKeyDown}),Object($.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})]}}]),t}($.Component),pi=Object($.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(se.Path,{d:"M0,0h24v24H0V0z M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(se.Path,{d:"m20 7v10h-16v-10h16m0-2h-16c-1.1 0-1.99 0.9-1.99 2l-0.01 10c0 1.1 0.9 2 2 2h16c1.1 0 2-0.9 2-2v-10c0-1.1-0.9-2-2-2z"}),Object($.createElement)(se.Rect,{x:"11",y:"8",width:"2",height:"2"}),Object($.createElement)(se.Rect,{x:"11",y:"11",width:"2",height:"2"}),Object($.createElement)(se.Rect,{x:"8",y:"8",width:"2",height:"2"}),Object($.createElement)(se.Rect,{x:"8",y:"11",width:"2",height:"2"}),Object($.createElement)(se.Rect,{x:"5",y:"11",width:"2",height:"2"}),Object($.createElement)(se.Rect,{x:"5",y:"8",width:"2",height:"2"}),Object($.createElement)(se.Rect,{x:"8",y:"14",width:"8",height:"2"}),Object($.createElement)(se.Rect,{x:"14",y:"11",width:"2",height:"2"}),Object($.createElement)(se.Rect,{x:"14",y:"8",width:"2",height:"2"}),Object($.createElement)(se.Rect,{x:"17",y:"11",width:"2",height:"2"}),Object($.createElement)(se.Rect,{x:"17",y:"8",width:"2",height:"2"}));var gi={name:"core/freeform",category:"formatting",attributes:{content:{type:"string",source:"html"}}},fi=gi.name,vi={title:Object(K._x)("Classic","block title"),description:Object(K.__)("Use the classic WordPress editor."),icon:pi,supports:{className:!1,customClassName:!1,reusable:!1},edit:hi,save:function(e){var t=e.attributes.content;return Object($.createElement)($.RawHTML,null,t)}};n.d(t,"registerCoreBlocks",(function(){return ji})),n.d(t,"__experimentalRegisterExperimentalCoreBlocks",(function(){return yi}));var Oi=function(e){if(e){var t=e.metadata,n=e.settings,r=e.name;t&&Object(G.unstable__bootstrapServerSideBlockDefinitions)(Object(q.a)({},r,t)),Object(G.registerBlockType)(r,n)}},ji=function(){[r,o,a,i,k,c,I,l,s,u,b,m,d,h,p,g,f].concat(Object(U.a)(co),Object(U.a)(io),[v,A,window.wp&&window.wp.oldEditor?F:null,O,j,y,_,C,w,E,x,S,N,R,B,T,M,P,L,D,H,z,V]).forEach(Oi),Object(G.setDefaultBlockName)(Oe),window.wp&&window.wp.oldEditor&&Object(G.setFreeformContentHandlerName)(fi),Object(G.setUnregisteredTypeHandlerName)(la),A&&Object(G.setGroupingBlockName)(Ja)},yi=void 0},35:function(e,t){!function(){e.exports=this.wp.blob}()},37:function(e,t){!function(){e.exports=this.wp.deprecated}()},38:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},39:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",(function(){return r}))},4:function(e,t){!function(){e.exports=this.wp.data}()},42:function(e,t){!function(){e.exports=this.wp.viewport}()},44:function(e,t,n){e.exports=function(e,t){var n,r,o,a=0;function c(){var t,c,i=r,l=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(c=0;c1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=B(e,360),t=B(t,100),n=B(n,100),0===t)r=o=a=n;else{var i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;r=c(l,i,e+1/3),o=c(l,i,e),a=c(l,i,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,r,l),b=!0,m="hsl"),e.hasOwnProperty("a")&&(n=e.a));var d,h,p;return n=A(n),{ok:b,format:e.format||m,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=i++}function d(e,t,n){e=B(e,255),t=B(t,255),n=B(n,255);var r,o,a=u(e,t,n),c=s(e,t,n),i=(a+c)/2;if(a==c)r=o=0;else{var l=a-c;switch(o=i>.5?l/(2-a-c):l/(a+c),a){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(m(r));return a}function T(e,t){t=t||6;for(var n=m(e).toHsv(),r=n.h,o=n.s,a=n.v,c=[],i=1/t;t--;)c.push(m({h:r,s:o,v:a})),a=(a+i)%1;return c}m.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=A(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=d(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return p(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var a=[P(l(e).toString(16)),P(l(t).toString(16)),P(l(n).toString(16)),P(H(r))];if(o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*B(this._r,255))+"%",g:l(100*B(this._g,255))+"%",b:l(100*B(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*B(this._r,255))+"%, "+l(100*B(this._g,255))+"%, "+l(100*B(this._b,255))+"%)":"rgba("+l(100*B(this._r,255))+"%, "+l(100*B(this._g,255))+"%, "+l(100*B(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(R[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=m(e);n="#"+g(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return m(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(j,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(O,arguments)},spin:function(){return this._applyModification(k,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(C,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},m.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:L(e[r]));e=n}return m(e,t)},m.equals=function(e,t){return!(!e||!t)&&m(e).toRgbString()==m(t).toRgbString()},m.random=function(){return m.fromRatio({r:b(),g:b(),b:b()})},m.mix=function(e,t,n){n=0===n?0:n||50;var r=m(e).toRgb(),o=m(t).toRgb(),a=n/100;return m({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},m.readability=function(e,t){var n=m(e),r=m(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},m.isReadable=function(e,t,n){var r,o,a=m.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},m.mostReadable=function(e,t,n){var r,o,a,c,i=null,l=0;o=(n=n||{}).includeFallbackColors,a=n.level,c=n.size;for(var s=0;sl&&(l=r,i=m(t[s]));return m.isReadable(e,i,{level:a,size:c})||!o?i:(n.includeFallbackColors=!1,m.mostReadable(e,["#fff","#000"],n))};var N=m.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},R=m.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(N);function A(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function B(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function I(e){return s(1,u(0,e))}function M(e){return parseInt(e,16)}function P(e){return 1==e.length?"0"+e:""+e}function L(e){return e<=1&&(e=100*e+"%"),e}function H(e){return o.round(255*parseFloat(e)).toString(16)}function z(e){return M(e)/255}var V,D,F,U=(D="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",F="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+D),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+D),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+D),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function q(e){return!!U.CSS_UNIT.exec(e)}e.exports?e.exports=m:void 0===(r=function(){return m}.call(t,n,t,e))||(e.exports=r)}(Math)},5:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},52:function(e,t){!function(){e.exports=this.wp.date}()},57:function(e,t){!function(){e.exports=this.wp.serverSideRender}()},6:function(e,t){!function(){e.exports=this.wp.blockEditor}()},64:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},68:function(e,t){!function(){e.exports=this.wp.autop}()},69:function(e,t,n){var r; +e.exports=function(){"use strict";function e(e,t){for(var n=0;nc?(n=a/c,i=100,l=Math.round(i/n)):(n=c/a,l=100,i=Math.round(l/n)),(i>a||l>c||i<10||l<10)&&(i=a,l=c),{srcLeft:r,srcTop:o,srcWidth:a,srcHeight:c,destWidth:i,destHeight:l})}},{key:"_simpleAlgorithm",value:function(e,t,n){for(var r=0,o=0,a=0,c=0,i=0,l=0;lr?-1:n===r?0:1}))[0],5),m=b[0],d=b[1],h=b[2],p=b[3],g=b[4];return p?[Math.round(m/p),Math.round(d/p),Math.round(h/p),Math.round(p/g)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,n){var r=this,o=(n=n||{})&&n.data,a=this._getDefaultColor(n),c=function(){s(),t.call(e,r.getColor(e,n),o)},i=function(){s(),t.call(e,r._prepareResult(a,new Error("Image error")),o)},l=function(){s(),t.call(e,r._prepareResult(a,new Error("Image abort")),o)},s=function(){e.removeEventListener("load",c),e.removeEventListener("error",i),e.removeEventListener("abort",l)};e.addEventListener("load",c),e.addEventListener("error",i),e.addEventListener("abort",l)}},{key:"_prepareResult",value:function(e,t){var n=e.slice(0,3),r=[].concat(n,e[3]/255),o=this._isDark(e);return{error:t,value:e,rgb:"rgb("+n.join(",")+")",rgba:"rgba("+r.join(",")+")",hex:this._arrayToHex(n),hexa:this._arrayToHex(e),isDark:o,isLight:!o}}},{key:"_getOriginalSize",value:function(e){return e instanceof HTMLImageElement?{width:e.naturalWidth,height:e.naturalHeight}:e instanceof HTMLVideoElement?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}},{key:"_toHex",value:function(e){var t=e.toString(16);return 1===t.length?"0"+t:t}},{key:"_arrayToHex",value:function(e){return"#"+e.map(this._toHex).join("")}},{key:"_isDark",value:function(e){return(299*e[0]+587*e[1]+114*e[2])/1e3<128}},{key:"_makeCanvas",value:function(){return"undefined"==typeof window?new OffscreenCanvas(1,1):document.createElement("canvas")}}])&&e(r.prototype,o),a&&e(r,a),n}()}()},22:function(e,t,n){"use strict";var r=n(33);var o=n(34);function a(e,t){return Object(r.a)(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var c,i=e[Symbol.iterator]();!(r=(c=i.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}return n}}(e,t)||Object(o.a)()}n.d(t,"a",(function(){return a}))},24:function(e,t){!function(){e.exports=this.wp.richText}()},25:function(e,t){!function(){e.exports=this.wp.url}()},26:function(e,t){!function(){e.exports=this.wp.editor}()},3:function(e,t){!function(){e.exports=this.wp.components}()},30:function(e,t){!function(){e.exports=this.moment}()},31:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},32:function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},33:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},34:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",(function(){return r}))},35:function(e,t){!function(){e.exports=this.wp.deprecated}()},36:function(e,t){!function(){e.exports=this.wp.blob}()},360:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"metadata",(function(){return fe})),n.d(r,"name",(function(){return ve})),n.d(r,"settings",(function(){return Oe}));var o={};n.r(o),n.d(o,"metadata",(function(){return _t})),n.d(o,"name",(function(){return kt})),n.d(o,"settings",(function(){return Ct}));var a={};n.r(a),n.d(a,"metadata",(function(){return Rt})),n.d(a,"name",(function(){return At})),n.d(a,"settings",(function(){return It}));var c={};n.r(c),n.d(c,"metadata",(function(){return Dt})),n.d(c,"name",(function(){return Ft})),n.d(c,"settings",(function(){return Ut}));var i={};n.r(i),n.d(i,"metadata",(function(){return sn})),n.d(i,"name",(function(){return un})),n.d(i,"settings",(function(){return bn}));var l={};n.r(l),n.d(l,"name",(function(){return pn})),n.d(l,"settings",(function(){return gn}));var s={};n.r(s),n.d(s,"metadata",(function(){return _n})),n.d(s,"name",(function(){return kn})),n.d(s,"settings",(function(){return Cn}));var u={};n.r(u),n.d(u,"metadata",(function(){return Ln})),n.d(u,"name",(function(){return Hn})),n.d(u,"settings",(function(){return zn}));var b={};n.r(b),n.d(b,"name",(function(){return qn})),n.d(b,"settings",(function(){return Wn}));var m={};n.r(m),n.d(m,"name",(function(){return Jn})),n.d(m,"settings",(function(){return Qn}));var d={};n.r(d),n.d(d,"metadata",(function(){return rr})),n.d(d,"name",(function(){return or})),n.d(d,"settings",(function(){return ar}));var h={};n.r(h),n.d(h,"metadata",(function(){return jr})),n.d(h,"name",(function(){return yr})),n.d(h,"settings",(function(){return _r}));var p={};n.r(p),n.d(p,"metadata",(function(){return wr})),n.d(p,"name",(function(){return Er})),n.d(p,"settings",(function(){return xr}));var g={};n.r(g),n.d(g,"metadata",(function(){return Zr})),n.d(g,"name",(function(){return $r})),n.d(g,"settings",(function(){return Jr}));var f={};n.r(f),n.d(f,"name",(function(){return lo})),n.d(f,"settings",(function(){return so})),n.d(f,"common",(function(){return uo})),n.d(f,"others",(function(){return bo}));var v={};n.r(v),n.d(v,"metadata",(function(){return vo})),n.d(v,"name",(function(){return Oo})),n.d(v,"settings",(function(){return jo}));var O={};n.r(O),n.d(O,"metadata",(function(){return wo})),n.d(O,"name",(function(){return Eo})),n.d(O,"settings",(function(){return xo}));var j={};n.r(j),n.d(j,"metadata",(function(){return Fo})),n.d(j,"name",(function(){return Uo})),n.d(j,"settings",(function(){return Go}));var y={};n.r(y),n.d(y,"justifyLeftIcon",(function(){return Qo})),n.d(y,"justifyCenterIcon",(function(){return Yo})),n.d(y,"justifyRightIcon",(function(){return Xo}));var _={};n.r(_),n.d(_,"name",(function(){return ta})),n.d(_,"settings",(function(){return na}));var k={};n.r(k),n.d(k,"metadata",(function(){return ca})),n.d(k,"name",(function(){return ia})),n.d(k,"settings",(function(){return la}));var C={};n.r(C),n.d(C,"name",(function(){return ba})),n.d(C,"settings",(function(){return ma}));var w={};n.r(w),n.d(w,"name",(function(){return ja})),n.d(w,"settings",(function(){return ya}));var E={};n.r(E),n.d(E,"metadata",(function(){return Ea})),n.d(E,"name",(function(){return xa})),n.d(E,"settings",(function(){return Sa}));var x={};n.r(x),n.d(x,"metadata",(function(){return Na})),n.d(x,"name",(function(){return Ba})),n.d(x,"settings",(function(){return Ra}));var S={};n.r(S),n.d(S,"metadata",(function(){return Ma})),n.d(S,"name",(function(){return La})),n.d(S,"settings",(function(){return Ha}));var T={};n.r(T),n.d(T,"metadata",(function(){return Da})),n.d(T,"name",(function(){return Fa})),n.d(T,"settings",(function(){return Ua}));var N={};n.r(N),n.d(N,"metadata",(function(){return Wa})),n.d(N,"name",(function(){return Ka})),n.d(N,"settings",(function(){return Za}));var B={};n.r(B),n.d(B,"metadata",(function(){return nc})),n.d(B,"name",(function(){return rc})),n.d(B,"settings",(function(){return oc}));var R={};n.r(R),n.d(R,"name",(function(){return sc})),n.d(R,"settings",(function(){return uc}));var A={};n.r(A),n.d(A,"name",(function(){return mc})),n.d(A,"settings",(function(){return dc}));var I={};n.r(I),n.d(I,"name",(function(){return hc})),n.d(I,"settings",(function(){return pc}));var P={};n.r(P),n.d(P,"metadata",(function(){return Oc})),n.d(P,"name",(function(){return jc})),n.d(P,"settings",(function(){return yc}));var M={};n.r(M),n.d(M,"metadata",(function(){return Ec})),n.d(M,"name",(function(){return xc})),n.d(M,"settings",(function(){return Sc}));var L={};n.r(L),n.d(L,"name",(function(){return Ac})),n.d(L,"settings",(function(){return Ic}));var H={};n.r(H),n.d(H,"metadata",(function(){return Lc})),n.d(H,"name",(function(){return Hc})),n.d(H,"settings",(function(){return zc}));var z={};n.r(z),n.d(z,"metadata",(function(){return Gc})),n.d(z,"name",(function(){return qc})),n.d(z,"settings",(function(){return Wc}));var V={};n.r(V),n.d(V,"metadata",(function(){return si})),n.d(V,"name",(function(){return ui})),n.d(V,"settings",(function(){return bi}));var D={};n.r(D),n.d(D,"metadata",(function(){return di})),n.d(D,"name",(function(){return hi})),n.d(D,"settings",(function(){return pi}));var F={};n.r(F),n.d(F,"metadata",(function(){return Oi})),n.d(F,"name",(function(){return ji})),n.d(F,"settings",(function(){return yi}));var U={};n.r(U),n.d(U,"metadata",(function(){return Ti})),n.d(U,"name",(function(){return Ni})),n.d(U,"settings",(function(){return Bi}));var G={};n.r(G),n.d(G,"name",(function(){return Ii})),n.d(G,"settings",(function(){return Pi}));var q={};n.r(q),n.d(q,"metadata",(function(){return zi})),n.d(q,"name",(function(){return Vi})),n.d(q,"settings",(function(){return Di}));var W=n(18),K=n(9),Z=(n(62),n(5)),$=(n(26),n(10)),J=n(1),Q=n(7),Y=n(0),X=n(11),ee=n.n(X),te=n(2),ne={className:!1},re={align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:""},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},direction:{type:"string",enum:["ltr","rtl"]}},oe=[{supports:ne,attributes:re,save:function(e){var t,n=e.attributes,r=n.align,o=n.content,a=n.dropCap,c=n.backgroundColor,i=n.textColor,l=n.customBackgroundColor,s=n.customTextColor,u=n.fontSize,b=n.customFontSize,m=n.direction,d=Object(Z.getColorClassName)("color",i),h=Object(Z.getColorClassName)("background-color",c),p=Object(Z.getFontSizeClass)(u),g=ee()((t={"has-text-color":i||s,"has-background":c||l,"has-drop-cap":a},Object(K.a)(t,p,p),Object(K.a)(t,d,d),Object(K.a)(t,h,h),t)),f={backgroundColor:h?void 0:l,color:d?void 0:s,fontSize:p?void 0:b,textAlign:r};return Object(Y.createElement)(Z.RichText.Content,{tagName:"p",style:f,className:g||void 0,value:o,dir:m})}},{supports:ne,attributes:Object(Q.a)({},re,{width:{type:"string"}}),save:function(e){var t,n=e.attributes,r=n.width,o=n.align,a=n.content,c=n.dropCap,i=n.backgroundColor,l=n.textColor,s=n.customBackgroundColor,u=n.customTextColor,b=n.fontSize,m=n.customFontSize,d=Object(Z.getColorClassName)("color",l),h=Object(Z.getColorClassName)("background-color",i),p=b&&"is-".concat(b,"-text"),g=ee()((t={},Object(K.a)(t,"align".concat(r),r),Object(K.a)(t,"has-background",i||s),Object(K.a)(t,"has-drop-cap",c),Object(K.a)(t,p,p),Object(K.a)(t,d,d),Object(K.a)(t,h,h),t)),f={backgroundColor:h?void 0:s,color:d?void 0:u,fontSize:p?void 0:m,textAlign:o};return Object(Y.createElement)(Z.RichText.Content,{tagName:"p",style:f,className:g||void 0,value:a})}},{supports:ne,attributes:Object(te.omit)(Object(Q.a)({},re,{fontSize:{type:"number"}}),"customFontSize","customTextColor","customBackgroundColor"),save:function(e){var t,n=e.attributes,r=n.width,o=n.align,a=n.content,c=n.dropCap,i=n.backgroundColor,l=n.textColor,s=n.fontSize,u=ee()((t={},Object(K.a)(t,"align".concat(r),r),Object(K.a)(t,"has-background",i),Object(K.a)(t,"has-drop-cap",c),t)),b={backgroundColor:i,color:l,fontSize:s,textAlign:o};return Object(Y.createElement)("p",{style:b,className:u||void 0},a)},migrate:function(e){return Object(te.omit)(Object(Q.a)({},e,{customFontSize:Object(te.isFinite)(e.fontSize)?e.fontSize:void 0,customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.backgroundColor&&"#"===e.backgroundColor[0]?e.backgroundColor:void 0}),["fontSize","textColor","backgroundColor"])}},{supports:ne,attributes:Object(Q.a)({},re,{content:{type:"string",source:"html",default:""}}),save:function(e){var t=e.attributes;return Object(Y.createElement)(Y.RawHTML,null,t.content)},migrate:function(e){return e}}],ae=n(22),ce=n(3),ie=n(8),le=n(4),se=window.getComputedStyle,ue=window.document.querySelector.bind(document),be="core/paragraph",me="p.has-drop-cap";function de(e){var t=e.direction,n=e.setDirection;return Object(le.useSelect)((function(e){return!!e("core/block-editor").getSettings().isRTL}))&&Object(Y.createElement)(ce.ToolbarGroup,{controls:[{icon:"editor-ltr",title:Object(J._x)("Left to right","editor button"),isActive:"ltr"===t,onClick:function(){n("ltr"===t?void 0:"ltr")}}]})}var he=Object(ie.compose)([Object(Z.withFontSizes)("fontSize")])((function(e){var t,n,r,o,a,c,i,l=e.attributes,s=e.className,u=e.fontSize,b=e.mergeBlocks,m=e.onReplace,d=e.setAttributes,h=e.setFontSize,p=l.align,g=l.content,f=l.dropCap,v=l.placeholder,O=l.direction,j=(n=f,r=[u.size],o=Object(Y.useState)(),a=Object(ae.a)(o,2),c=a[0],i=a[1],Object(Y.useEffect)((function(){var e=ue(me);n&&e?i(se(e,"first-letter").height):c&&i(void 0)}),[n,c,i].concat(Object(W.a)(r))),c),y=Object(Z.__experimentalUseColors)([{name:"textColor",property:"color"},{name:"backgroundColor",className:"has-background"}],{contrastCheckers:[{backgroundColor:!0,textColor:!0,fontSize:u.size}]},[u.size]),_=y.TextColor,k=y.BackgroundColor,C=y.InspectorControlsColorPanel,w=y.ColorDetector;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(Z.AlignmentToolbar,{value:p,onChange:function(e){return d({align:e})}}),Object(Y.createElement)(de,{direction:O,setDirection:function(e){return d({direction:e})}})),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Text Settings"),className:"blocks-font-size"},Object(Y.createElement)(Z.FontSizePicker,{value:u.size,onChange:h}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Drop Cap"),checked:!!f,onChange:function(){return d({dropCap:!f})},help:f?Object(J.__)("Showing large initial letter."):Object(J.__)("Toggle to show a large initial letter.")}))),C,Object(Y.createElement)(k,null,Object(Y.createElement)(_,null,Object(Y.createElement)(w,{querySelector:'[contenteditable="true"]'}),Object(Y.createElement)(Z.RichText,{identifier:"content",tagName:"p",className:ee()("wp-block-paragraph",s,(t={"has-drop-cap":f},Object(K.a)(t,"has-text-align-".concat(p),p),Object(K.a)(t,u.class,u.class),t)),style:{fontSize:u.size?u.size+"px":void 0,direction:O,minHeight:j},value:g,onChange:function(e){return d({content:e})},onSplit:function(e){return e?Object($.createBlock)(be,Object(Q.a)({},l,{content:e})):Object($.createBlock)(be)},onMerge:b,onReplace:m,onRemove:m?function(){return m([])}:void 0,"aria-label":g?Object(J.__)("Paragraph block"):Object(J.__)("Empty block; start writing or type forward slash to choose a block"),placeholder:v||Object(J.__)("Start writing or type / to choose a block"),__unstableEmbedURLOnPaste:!0}))))})),pe=Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M11 5v7H9.5C7.6 12 6 10.4 6 8.5S7.6 5 9.5 5H11m8-2H9.5C6.5 3 4 5.5 4 8.5S6.5 14 9.5 14H11v7h2V5h2v16h2V5h2V3z"}));var ge={from:[{type:"raw",priority:20,selector:"p",schema:{p:{children:Object($.getPhrasingContentSchema)()}}}]},fe={name:"core/paragraph",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:""},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},direction:{type:"string",enum:["ltr","rtl"]}}},ve=fe.name,Oe={title:Object(J.__)("Paragraph"),description:Object(J.__)("Start with the building block of all narrative."),icon:pe,keywords:[Object(J.__)("text")],example:{attributes:{content:Object(J.__)("In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing."),customFontSize:28,dropCap:!0}},supports:{className:!1},transforms:ge,deprecated:oe,merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},getEditWrapperProps:function(e){var t=e.width;if(-1!==["wide","full","left","right"].indexOf(t))return{"data-align":t}},edit:he,save:function(e){var t,n=e.attributes,r=n.align,o=n.content,a=n.dropCap,c=n.backgroundColor,i=n.textColor,l=n.customBackgroundColor,s=n.customTextColor,u=n.fontSize,b=n.customFontSize,m=n.direction,d=Object(Z.getColorClassName)("color",i),h=Object(Z.getColorClassName)("background-color",c),p=Object(Z.getFontSizeClass)(u),g=ee()((t={"has-text-color":i||s,"has-background":c||l,"has-drop-cap":a},Object(K.a)(t,"has-text-align-".concat(r),r),Object(K.a)(t,p,p),Object(K.a)(t,d,d),Object(K.a)(t,h,h),t)),f={backgroundColor:h?void 0:l,color:d?void 0:s,fontSize:p?void 0:b};return Object(Y.createElement)(Z.RichText.Content,{tagName:"p",style:f,className:g||void 0,value:o,dir:m})}},je=n(14),ye={align:{type:"string"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},_e=[{attributes:ye,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,a=n.caption,c=n.align,i=n.href,l=n.width,s=n.height,u=n.id,b=ee()((t={},Object(K.a)(t,"align".concat(c),c),Object(K.a)(t,"is-resized",l||s),t)),m=Object(Y.createElement)("img",{src:r,alt:o,className:u?"wp-image-".concat(u):null,width:l,height:s});return Object(Y.createElement)("figure",{className:b},i?Object(Y.createElement)("a",{href:i},m):m,!Z.RichText.isEmpty(a)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:a}))}},{attributes:ye,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,c=t.href,i=t.width,l=t.height,s=t.id,u=Object(Y.createElement)("img",{src:n,alt:r,className:s?"wp-image-".concat(s):null,width:i,height:l});return Object(Y.createElement)("figure",{className:a?"align".concat(a):null},c?Object(Y.createElement)("a",{href:c},u):u,!Z.RichText.isEmpty(o)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:ye,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,c=t.href,i=t.width,l=t.height,s=i||l?{width:i,height:l}:{},u=Object(Y.createElement)("img",Object(je.a)({src:n,alt:r},s)),b={};return i?b={width:i}:"left"!==a&&"right"!==a||(b={maxWidth:"50%"}),Object(Y.createElement)("figure",{className:a?"align".concat(a):null,style:b},c?Object(Y.createElement)("a",{href:c},u):u,!Z.RichText.isEmpty(o)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:o}))}}],ke=n(13),Ce=n(12),we=n(15),Ee=n(16),xe=n(6),Se=n(17),Te=n(36),Ne=n(19),Be=n(25),Re=n(50),Ae=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"M19,4H5C3.89,4,3,4.9,3,6v12c0,1.1,0.89,2,2,2h14c1.1,0,2-0.9,2-2V6C21,4.9,20.11,4,19,4z M19,18H5V8h14V18z"})),Ie=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.Path,{d:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.02 1.64-1.35 2.97-3 2.97-1.66 0-3-1.34-3-3z"})),Pe=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"M21,4H3C1.9,4,1,4.9,1,6v12c0,1.1,0.9,2,2,2h18c1.1,0,2-0.9,2-2V6C23,4.9,22.1,4,21,4z M21,18H3V6h18V18z"}),Object(Y.createElement)(ce.Polygon,{points:"14.5 11 11 15.51 8.5 12.5 5 17 19 17"})),Me=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"m10 8v8l5-4-5-4zm9-5h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2zm0 16h-14v-14h14v14z"})),Le={foreground:"#1da1f2",src:Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"})))},He={foreground:"#ff0000",src:Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"}))},ze={foreground:"#3b5998",src:Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"}))},Ve=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24"},Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"}))),De={foreground:"#0073AA",src:Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24"},Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})))},Fe={foreground:"#1db954",src:Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"}))},Ue=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})),Ge={foreground:"#1ab7ea",src:Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"})))},qe=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z"})),We={foreground:"#35465c",src:Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))},Ke=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"}),Object(Y.createElement)(ce.Path,{d:"M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"}),Object(Y.createElement)(ce.Path,{d:"M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"})),Ze=[{name:"core-embed/twitter",settings:{title:"Twitter",icon:Le,keywords:["tweet"],description:Object(J.__)("Embed a tweet.")},patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i]},{name:"core-embed/youtube",settings:{title:"YouTube",icon:He,keywords:[Object(J.__)("music"),Object(J.__)("video")],description:Object(J.__)("Embed a YouTube video.")},patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i]},{name:"core-embed/facebook",settings:{title:"Facebook",icon:ze,description:Object(J.__)("Embed a Facebook post.")},patterns:[/^https?:\/\/www\.facebook.com\/.+/i]},{name:"core-embed/instagram",settings:{title:"Instagram",icon:Ve,keywords:[Object(J.__)("image")],description:Object(J.__)("Embed an Instagram post.")},patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]},{name:"core-embed/wordpress",settings:{title:"WordPress",icon:De,keywords:[Object(J.__)("post"),Object(J.__)("blog")],responsive:!1,description:Object(J.__)("Embed a WordPress post.")}},{name:"core-embed/soundcloud",settings:{title:"SoundCloud",icon:Ie,keywords:[Object(J.__)("music"),Object(J.__)("audio")],description:Object(J.__)("Embed SoundCloud content.")},patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]},{name:"core-embed/spotify",settings:{title:"Spotify",icon:Fe,keywords:[Object(J.__)("music"),Object(J.__)("audio")],description:Object(J.__)("Embed Spotify content.")},patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i]},{name:"core-embed/flickr",settings:{title:"Flickr",icon:Ue,keywords:[Object(J.__)("image")],description:Object(J.__)("Embed Flickr content.")},patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i]},{name:"core-embed/vimeo",settings:{title:"Vimeo",icon:Ge,keywords:[Object(J.__)("video")],description:Object(J.__)("Embed a Vimeo video.")},patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i]}],$e=[{name:"core-embed/animoto",settings:{title:"Animoto",icon:Me,description:Object(J.__)("Embed an Animoto video.")},patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]},{name:"core-embed/cloudup",settings:{title:"Cloudup",icon:Ae,description:Object(J.__)("Embed Cloudup content.")},patterns:[/^https?:\/\/cloudup\.com\/.+/i]},{name:"core-embed/collegehumor",settings:{title:"CollegeHumor",icon:Me,description:Object(J.__)("Embed CollegeHumor content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/crowdsignal",settings:{title:"Crowdsignal",icon:Ae,keywords:["polldaddy"],transform:[{type:"block",blocks:["core-embed/polldaddy"],transform:function(e){return Object($.createBlock)("core-embed/crowdsignal",{content:e})}}],description:Object(J.__)("Embed Crowdsignal (formerly Polldaddy) content.")},patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]},{name:"core-embed/dailymotion",settings:{title:"Dailymotion",icon:Me,description:Object(J.__)("Embed a Dailymotion video.")},patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]},{name:"core-embed/hulu",settings:{title:"Hulu",icon:Me,description:Object(J.__)("Embed Hulu content.")},patterns:[/^https?:\/\/(www\.)?hulu\.com\/.+/i]},{name:"core-embed/imgur",settings:{title:"Imgur",icon:Pe,description:Object(J.__)("Embed Imgur content.")},patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i]},{name:"core-embed/issuu",settings:{title:"Issuu",icon:Ae,description:Object(J.__)("Embed Issuu content.")},patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i]},{name:"core-embed/kickstarter",settings:{title:"Kickstarter",icon:Ae,description:Object(J.__)("Embed Kickstarter content.")},patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i]},{name:"core-embed/meetup-com",settings:{title:"Meetup.com",icon:Ae,description:Object(J.__)("Embed Meetup.com content.")},patterns:[/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]},{name:"core-embed/mixcloud",settings:{title:"Mixcloud",icon:Ie,keywords:[Object(J.__)("music"),Object(J.__)("audio")],description:Object(J.__)("Embed Mixcloud content.")},patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]},{name:"core-embed/polldaddy",settings:{title:"Polldaddy",icon:Ae,description:Object(J.__)("Embed Polldaddy content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/reddit",settings:{title:"Reddit",icon:qe,description:Object(J.__)("Embed a Reddit thread.")},patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i]},{name:"core-embed/reverbnation",settings:{title:"ReverbNation",icon:Ie,description:Object(J.__)("Embed ReverbNation content.")},patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]},{name:"core-embed/screencast",settings:{title:"Screencast",icon:Me,description:Object(J.__)("Embed Screencast content.")},patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i]},{name:"core-embed/scribd",settings:{title:"Scribd",icon:Ae,description:Object(J.__)("Embed Scribd content.")},patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i]},{name:"core-embed/slideshare",settings:{title:"Slideshare",icon:Ae,description:Object(J.__)("Embed Slideshare content.")},patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]},{name:"core-embed/smugmug",settings:{title:"SmugMug",icon:Pe,description:Object(J.__)("Embed SmugMug content.")},patterns:[/^https?:\/\/(www\.)?smugmug\.com\/.+/i]},{name:"core-embed/speaker",settings:{title:"Speaker",icon:Ie,supports:{inserter:!1}},patterns:[]},{name:"core-embed/speaker-deck",settings:{title:"Speaker Deck",icon:Ae,transform:[{type:"block",blocks:["core-embed/speaker"],transform:function(e){return Object($.createBlock)("core-embed/speaker-deck",{content:e})}}],description:Object(J.__)("Embed Speaker Deck content.")},patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]},{name:"core-embed/ted",settings:{title:"TED",icon:Me,description:Object(J.__)("Embed a TED video.")},patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]},{name:"core-embed/tumblr",settings:{title:"Tumblr",icon:We,description:Object(J.__)("Embed a Tumblr post.")},patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i]},{name:"core-embed/videopress",settings:{title:"VideoPress",icon:Me,keywords:[Object(J.__)("video")],description:Object(J.__)("Embed a VideoPress video.")},patterns:[/^https?:\/\/videopress\.com\/.+/i]},{name:"core-embed/wordpress-tv",settings:{title:"WordPress.tv",icon:Me,description:Object(J.__)("Embed a WordPress.tv video.")},patterns:[/^https?:\/\/wordpress\.tv\/.+/i]},{name:"core-embed/amazon-kindle",settings:{title:"Amazon Kindle",icon:Ke,keywords:[Object(J.__)("ebook")],responsive:!1,description:Object(J.__)("Embed Amazon Kindle content.")},patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]}],Je=["facebook.com","smugmug.com"],Qe=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.78",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],Ye=n(69),Xe=n.n(Ye),et=n(42),tt=n.n(et),nt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.some((function(t){return e.match(t)}))},rt=function(e){return Object(te.includes)(e,'class="wp-embedded-content"')},ot=function(e,t){var n=e.preview,r=e.name,o=e.attributes.url;if(o){var a=function(e){for(var t=0,n=[].concat(Object(W.a)(Ze),Object(W.a)($e));t1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n){for(var r={"wp-has-aspect-ratio":!1},o=0;o=u.ratio)return Xe()(t,(s={},Object(K.a)(s,u.className,n),Object(K.a)(s,"wp-has-aspect-ratio",n),s))}return t}var ct=tt()((function(e,t,n,r){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(!e)return{};var a={},c=e.type,i=void 0===c?"rich":c,l=e.html,s=e.provider_name,u=Object(te.kebabCase)(Object(te.toLower)(""!==s?s:t));return rt(l)&&(i="wp-embed"),(l||"photo"===i)&&(a.type=i,a.providerNameSlug=u),a.className=at(l,n,r&&o),a})),it=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"m19 5v14h-14v-14h14m0-2h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2z"}),Object(Y.createElement)(ce.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),lt=(Object(Y.createElement)(ce.SVG,{width:20,height:20,viewBox:"0 0 20 20"},Object(Y.createElement)(ce.Rect,{x:11,y:3,width:7,height:5,rx:1}),Object(Y.createElement)(ce.Rect,{x:2,y:12,width:7,height:5,rx:1}),Object(Y.createElement)(ce.Path,{d:"M13,12h1a3,3,0,0,1-3,3v2a5,5,0,0,0,5-5h1L15,9Z"}),Object(Y.createElement)(ce.Path,{d:"M4,8H3l2,3L7,8H6A3,3,0,0,1,9,5V3A5,5,0,0,0,4,8Z"})),["noreferrer","noopener"]),st=["image"];function ut(e){var t=e;return void 0===e||Object(te.isEmpty)(t)||Object(te.isEmpty)(t)||(Object(te.each)(lt,(function(e){var n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")})),t!==e&&(t=t.trim()),Object(te.isEmpty)(t)&&(t=void 0)),t}var bt=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(Object(xe.a)(e)),e.calculateSize=e.calculateSize.bind(Object(xe.a)(e)),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"componentDidUpdate",value:function(e){this.props.src!==e.src&&(this.setState({width:void 0,height:void 0}),this.fetchImageSize()),this.props.dirtynessTrigger!==e.dirtynessTrigger&&this.calculateSize()}},{key:"componentDidMount",value:function(){this.fetchImageSize()}},{key:"componentWillUnmount",value:function(){this.image&&(this.image.onload=te.noop)}},{key:"fetchImageSize",value:function(){this.image=new window.Image,this.image.onload=this.calculateSize,this.image.src=this.props.src}},{key:"calculateSize",value:function(){var e,t,n,r,o,a=(e=this.image,t=this.container,n=t.clientWidth,r=e.width>n,o=e.height/e.width,{width:r?n:e.width,height:r?n*o:e.height}),c=a.width,i=a.height;this.setState({width:c,height:i})}},{key:"render",value:function(){var e={imageWidth:this.image&&this.image.width,imageHeight:this.image&&this.image.height,containerWidth:this.container&&this.container.clientWidth,containerHeight:this.container&&this.container.clientHeight,imageWidthWithinContainer:this.state.width,imageHeightWithinContainer:this.state.height};return Object(Y.createElement)("div",{ref:this.bindContainer},this.props.children(e))}}]),t}(Y.Component),mt=Object(ie.withGlobalEvents)({resize:"calculateSize"})(bt),dt=function(e,t){return!e&&Object(Te.isBlobURL)(t)},ht=function(e){e.stopPropagation()},pt=function(e){[Ne.LEFT,Ne.DOWN,Ne.RIGHT,Ne.UP,Ne.BACKSPACE,Ne.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},gt=function(e){var t=e.advancedOptions,n=e.linkDestination,r=e.mediaLinks,o=e.onChangeUrl,a=e.url,c=Object(Y.useState)(!1),i=Object(ae.a)(c,2),l=i[0],s=i[1],u=Object(Y.useCallback)((function(){s(!0)})),b=Object(Y.useState)(!1),m=Object(ae.a)(b,2),d=m[0],h=m[1],p=Object(Y.useState)(null),g=Object(ae.a)(p,2),f=g[0],v=g[1],O=Object(Y.useCallback)((function(){"media"!==n&&"attachment"!==n||v(""),h(!0)})),j=Object(Y.useCallback)((function(){h(!1)})),y=Object(Y.useCallback)((function(){v(null),j(),s(!1)})),_=Object(Y.useRef)(null),k=Object(Y.useCallback)((function(){return function(e){var t=_.current;t&&t.contains(e.target)||(s(!1),v(null),j())}})),C=Object(Y.useCallback)((function(){return function(e){f&&o(f),j(),v(null),e.preventDefault()}})),w=Object(Y.useCallback)((function(){y(),o("")})),E=null!==f?f:a,x=(Object(te.find)(r,["linkDestination",n])||{}).title;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.IconButton,{icon:"admin-links",className:"components-toolbar__control",label:a?Object(J.__)("Edit link"):Object(J.__)("Insert link"),"aria-expanded":l,onClick:u}),l&&Object(Y.createElement)(Z.URLPopover,{onClickOutside:k(),onClose:y,renderSettings:function(){return t},additionalControls:!E&&Object(Y.createElement)(ce.NavigableMenu,null,Object(te.map)(r,(function(e){return Object(Y.createElement)(ce.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:function(){v(null),o(e.url),j()}},e.title)})))},(!a||d)&&Object(Y.createElement)(Z.URLPopover.LinkEditor,{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",value:E,onChangeInputValue:v,onKeyDown:pt,onKeyPress:ht,onSubmit:C(),autocompleteRef:_}),a&&!d&&Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.URLPopover.LinkViewer,{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",onKeyPress:ht,url:a,onEditLinkClick:O,urlLabel:x}),Object(Y.createElement)(ce.IconButton,{icon:"no",label:Object(J.__)("Remove link"),onClick:w}))))},ft=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).updateAlt=e.updateAlt.bind(Object(xe.a)(e)),e.updateAlignment=e.updateAlignment.bind(Object(xe.a)(e)),e.onFocusCaption=e.onFocusCaption.bind(Object(xe.a)(e)),e.onImageClick=e.onImageClick.bind(Object(xe.a)(e)),e.onSelectImage=e.onSelectImage.bind(Object(xe.a)(e)),e.onSelectURL=e.onSelectURL.bind(Object(xe.a)(e)),e.updateImage=e.updateImage.bind(Object(xe.a)(e)),e.updateWidth=e.updateWidth.bind(Object(xe.a)(e)),e.updateHeight=e.updateHeight.bind(Object(xe.a)(e)),e.updateDimensions=e.updateDimensions.bind(Object(xe.a)(e)),e.onSetHref=e.onSetHref.bind(Object(xe.a)(e)),e.onSetLinkClass=e.onSetLinkClass.bind(Object(xe.a)(e)),e.onSetLinkRel=e.onSetLinkRel.bind(Object(xe.a)(e)),e.onSetNewTab=e.onSetNewTab.bind(Object(xe.a)(e)),e.onSetTitle=e.onSetTitle.bind(Object(xe.a)(e)),e.getFilename=e.getFilename.bind(Object(xe.a)(e)),e.onUploadError=e.onUploadError.bind(Object(xe.a)(e)),e.onImageError=e.onImageError.bind(Object(xe.a)(e)),e.getLinkDestinations=e.getLinkDestinations.bind(Object(xe.a)(e)),e.state={captionFocused:!1},e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,a=n.id,c=n.url,i=void 0===c?"":c;if(dt(a,i)){var l=Object(Te.getBlobByURL)(i);l&&r({filesList:[l],onFileChange:function(t){var n=Object(ae.a)(t,1)[0];e.onSelectImage(n)},allowedTypes:st,onError:function(e){o.createErrorNotice(e)}})}}},{key:"componentDidUpdate",value:function(e){var t=e.attributes,n=t.id,r=t.url,o=void 0===r?"":r,a=this.props.attributes,c=a.id,i=a.url,l=void 0===i?"":i;dt(n,o)&&!dt(c,l)&&Object(Te.revokeBlobURL)(l),!this.props.isSelected&&e.isSelected&&this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"onSelectImage",value:function(e){if(e&&e.url){var t,n,r,o=this.props.attributes,a=o.id,c=o.url,i=o.alt,l=o.caption,s=o.linkDestination,u=(t=e,(n=Object(te.pick)(t,["alt","id","link","caption"])).url=Object(te.get)(t,["sizes","large","url"])||Object(te.get)(t,["media_details","sizes","large","source_url"])||t.url,n);dt(a,c)&&(i&&(u=Object(te.omit)(u,["alt"])),l&&(u=Object(te.omit)(u,["caption"]))),r=e.id&&e.id===a?{url:c}:{width:void 0,height:void 0,sizeSlug:"large"},"media"===s&&(u.href=e.url),"attachment"===s&&(u.href=e.link),this.props.setAttributes(Object(Q.a)({},u,r))}else this.props.setAttributes({url:void 0,alt:void 0,id:void 0,title:void 0,caption:void 0})}},{key:"onSelectURL",value:function(e){e!==this.props.attributes.url&&this.props.setAttributes({url:e,id:void 0,sizeSlug:"large"})}},{key:"onImageError",value:function(e){var t=ot({attributes:{url:e}});void 0!==t&&this.props.onReplace(t)}},{key:"onSetHref",value:function(e){var t,n=this.getLinkDestinations();this.props.attributes.linkDestination===(t=e?(Object(te.find)(n,(function(t){return t.url===e}))||{linkDestination:"custom"}).linkDestination:"none")?this.props.setAttributes({href:e}):this.props.setAttributes({linkDestination:t,href:e})}},{key:"onSetTitle",value:function(e){this.props.setAttributes({title:e})}},{key:"onSetLinkClass",value:function(e){this.props.setAttributes({linkClass:e})}},{key:"onSetLinkRel",value:function(e){this.props.setAttributes({rel:e})}},{key:"onSetNewTab",value:function(e){var t=function(e,t){var n=t.rel,r=e?"_blank":void 0;return{linkTarget:r,rel:r||n?ut(n):void 0}}(e,this.props.attributes);this.props.setAttributes(t)}},{key:"onFocusCaption",value:function(){this.state.captionFocused||this.setState({captionFocused:!0})}},{key:"onImageClick",value:function(){this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"updateAlt",value:function(e){this.props.setAttributes({alt:e})}},{key:"updateAlignment",value:function(e){var t=-1!==["wide","full"].indexOf(e)?{width:void 0,height:void 0}:{};this.props.setAttributes(Object(Q.a)({},t,{align:e}))}},{key:"updateImage",value:function(e){var t=this.props.image,n=Object(te.get)(t,["media_details","sizes",e,"source_url"]);if(!n)return null;this.props.setAttributes({url:n,width:void 0,height:void 0,sizeSlug:e})}},{key:"updateWidth",value:function(e){this.props.setAttributes({width:parseInt(e,10)})}},{key:"updateHeight",value:function(e){this.props.setAttributes({height:parseInt(e,10)})}},{key:"updateDimensions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return function(){e.props.setAttributes({width:t,height:n})}}},{key:"getFilename",value:function(e){var t=Object(Be.getPath)(e);if(t)return Object(te.last)(t.split("/"))}},{key:"getLinkDestinations",value:function(){return[{linkDestination:"media",title:Object(J.__)("Media File"),url:this.props.image&&this.props.image.source_url||this.props.attributes.url,icon:it},{linkDestination:"attachment",title:Object(J.__)("Attachment Page"),url:this.props.image&&this.props.image.link,icon:Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z"}))}]}},{key:"getImageSizeOptions",value:function(){var e=this.props.imageSizes;return Object(te.map)(e,(function(e){var t=e.name;return{value:e.slug,label:t}}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.isLargeViewport,a=t.isSelected,c=t.className,i=t.maxWidth,l=t.noticeUI,s=t.isRTL,u=t.onResizeStart,b=t.onResizeStop,m=n.url,d=n.alt,h=n.caption,p=n.align,g=n.id,f=n.href,v=n.rel,O=n.linkClass,j=n.linkDestination,y=n.title,_=n.width,k=n.height,C=n.linkTarget,w=n.sizeSlug,E=ut(v),x=function(e,t){return t&&!e&&!Object(Te.isBlobURL)(t)}(g,m),S=Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(Z.BlockAlignmentToolbar,{value:p,onChange:this.updateAlignment}),m&&Object(Y.createElement)(Z.MediaReplaceFlow,{mediaURL:m,allowedTypes:st,accept:"image/*",onSelect:this.onSelectImage,onSelectURL:this.onSelectURL,onError:this.onUploadError}),m&&Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(gt,{url:f||"",onChangeUrl:this.onSetHref,mediaLinks:this.getLinkDestinations(),linkDestination:j,advancedOptions:Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Open in New Tab"),onChange:this.onSetNewTab,checked:"_blank"===C}),Object(Y.createElement)(ce.TextControl,{label:Object(J.__)("Link Rel"),value:E||"",onChange:this.onSetLinkRel,onKeyPress:ht,onKeyDown:pt}),Object(Y.createElement)(ce.TextControl,{label:Object(J.__)("Link CSS Class"),value:O||"",onKeyPress:ht,onKeyDown:pt,onChange:this.onSetLinkClass}))}))),T=x?m:void 0,N={title:m?Object(J.__)("Edit image"):Object(J.__)("Image"),instructions:Object(J.__)("Upload an image file, pick one from your media library, or add one with a URL.")},B=!!m&&Object(Y.createElement)("img",{alt:Object(J.__)("Edit image"),title:Object(J.__)("Edit image"),className:"edit-image-preview",src:m}),R=Object(Y.createElement)(Z.MediaPlaceholder,{icon:Object(Y.createElement)(Z.BlockIcon,{icon:it}),className:c,labels:N,onSelect:this.onSelectImage,onSelectURL:this.onSelectURL,notices:l,onError:this.onUploadError,accept:"image/*",allowedTypes:st,value:{id:g,src:T},mediaPreview:B,disableMediaButtons:m});if(!m)return Object(Y.createElement)(Y.Fragment,null,S,R);var A=ee()(c,Object(K.a)({"is-transient":Object(Te.isBlobURL)(m),"is-resized":!!_||!!k,"is-focused":a},"size-".concat(w),w)),I=-1===["wide","full"].indexOf(p)&&o,P=this.getImageSizeOptions(),M=function(t,n){return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Image Settings")},Object(Y.createElement)(ce.TextareaControl,{label:Object(J.__)("Alt Text (Alternative Text)"),value:d,onChange:e.updateAlt,help:Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(J.__)("Describe the purpose of the image")),Object(J.__)("Leave empty if the image is purely decorative."))}),!Object(te.isEmpty)(P)&&Object(Y.createElement)(ce.SelectControl,{label:Object(J.__)("Image Size"),value:w,options:P,onChange:e.updateImage}),I&&Object(Y.createElement)("div",{className:"block-library-image__dimensions"},Object(Y.createElement)("p",{className:"block-library-image__dimensions__row"},Object(J.__)("Image Dimensions")),Object(Y.createElement)("div",{className:"block-library-image__dimensions__row"},Object(Y.createElement)(ce.TextControl,{type:"number",className:"block-library-image__dimensions__width",label:Object(J.__)("Width"),value:_||t||"",min:1,onChange:e.updateWidth}),Object(Y.createElement)(ce.TextControl,{type:"number",className:"block-library-image__dimensions__height",label:Object(J.__)("Height"),value:k||n||"",min:1,onChange:e.updateHeight})),Object(Y.createElement)("div",{className:"block-library-image__dimensions__row"},Object(Y.createElement)(ce.ButtonGroup,{"aria-label":Object(J.__)("Image Size")},[25,50,75,100].map((function(r){var o=Math.round(t*(r/100)),a=Math.round(n*(r/100)),c=_===o&&k===a;return Object(Y.createElement)(ce.Button,{key:r,isSmall:!0,isPrimary:c,"aria-pressed":c,onClick:e.updateDimensions(o,a)},r,"%")}))),Object(Y.createElement)(ce.Button,{isSmall:!0,onClick:e.updateDimensions()},Object(J.__)("Reset")))))),Object(Y.createElement)(Z.InspectorAdvancedControls,null,Object(Y.createElement)(ce.TextControl,{label:Object(J.__)("Title Attribute"),value:y||"",onChange:e.onSetTitle,help:Object(Y.createElement)(Y.Fragment,null,Object(J.__)("Describe the role of this image on the page."),Object(Y.createElement)(ce.ExternalLink,{href:"https://www.w3.org/TR/html52/dom.html#the-title-attribute"},Object(J.__)("(Note: many devices and browsers do not display this text.)")))})))};return Object(Y.createElement)(Y.Fragment,null,S,Object(Y.createElement)("figure",{className:A},Object(Y.createElement)(mt,{src:m,dirtynessTrigger:p},(function(t){var n,o=t.imageWidthWithinContainer,a=t.imageHeightWithinContainer,c=t.imageWidth,l=t.imageHeight,h=e.getFilename(m);n=d||(h?Object(J.sprintf)(Object(J.__)("This image has an empty alt attribute; its file name is %s"),h):Object(J.__)("This image has an empty alt attribute"));var g=Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)("img",{src:m,alt:n,onClick:e.onImageClick,onError:function(){return e.onImageError(m)}}),Object(Te.isBlobURL)(m)&&Object(Y.createElement)(ce.Spinner,null));if(!I||!o)return Object(Y.createElement)(Y.Fragment,null,M(c,l),Object(Y.createElement)("div",{style:{width:_,height:k}},g));var f=_||o,v=k||a,O=c/l,j=c a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},sizeSlug:{type:"string"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}}},kt=_t.name,Ct={title:Object(J.__)("Image"),description:Object(J.__)("Insert an image to make a visual statement."),icon:it,keywords:["img",Object(J.__)("photo")],example:{attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg",caption:Object(J.__)("Mont Blanc appears—still, snowy, and serene.")}},styles:[{name:"default",label:Object(J._x)("Default","block style"),isDefault:!0},{name:"circle-mask",label:Object(J._x)("Circle Mask","block style")}],transforms:yt,getEditWrapperProps:function(e){var t=e.align,n=e.width;if("left"===t||"center"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t,"data-resized":!!n}},edit:vt,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,a=n.caption,c=n.align,i=n.href,l=n.rel,s=n.linkClass,u=n.width,b=n.height,m=n.id,d=n.linkTarget,h=n.sizeSlug,p=n.title,g=Object(te.isEmpty)(l)?void 0:l,f=ee()((t={},Object(K.a)(t,"align".concat(c),c),Object(K.a)(t,"size-".concat(h),h),Object(K.a)(t,"is-resized",u||b),t)),v=Object(Y.createElement)("img",{src:r,alt:o,className:m?"wp-image-".concat(m):null,width:u,height:b,title:p}),O=Object(Y.createElement)(Y.Fragment,null,i?Object(Y.createElement)("a",{className:s,href:i,target:d,rel:g},v):v,!Z.RichText.isEmpty(a)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:a}));return"left"===c||"right"===c||"center"===c?Object(Y.createElement)("div",null,Object(Y.createElement)("figure",{className:f},O)):Object(Y.createElement)("figure",{className:f},O)},deprecated:_e},wt={className:!1,anchor:!0},Et={align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},xt=[{attributes:Et,save:function(e){var t,n=e.attributes,r=n.align,o=n.content,a=n.customTextColor,c=n.level,i=n.textColor,l="h"+c,s=Object(Z.getColorClassName)("color",i),u=ee()((t={},Object(K.a)(t,s,s),Object(K.a)(t,"has-text-align-".concat(r),r),t));return Object(Y.createElement)(Z.RichText.Content,{className:u||void 0,tagName:l,style:{color:s?void 0:a},value:o})},supports:wt},{supports:wt,attributes:Et,save:function(e){var t=e.attributes,n=t.align,r=t.level,o=t.content,a=t.textColor,c=t.customTextColor,i="h"+r,l=Object(Z.getColorClassName)("color",a),s=ee()(Object(K.a)({},l,l));return Object(Y.createElement)(Z.RichText.Content,{className:s||void 0,tagName:i,style:{textAlign:n,color:l?void 0:c},value:o})}}];function St(e){var t=e.level,n=e.__unstableActive,r={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return r.hasOwnProperty(t)?Object(Y.createElement)(ce.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",__unstableActive:n},Object(Y.createElement)(ce.Path,{d:r[t]})):null}var Tt=function(e){function t(){return Object(ke.a)(this,t),Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"createLevelControl",value:function(e,t,n){var r=e===t;return{icon:Object(Y.createElement)(St,{level:e,__unstableActive:r}),title:Object(J.sprintf)(Object(J.__)("Heading %d"),e),isActive:r,onClick:function(){return n(e)}}}},{key:"render",value:function(){var e=this,t=this.props,n=t.isCollapsed,r=void 0===n||n,o=t.minLevel,a=t.maxLevel,c=t.selectedLevel,i=t.onChange;return Object(Y.createElement)(ce.ToolbarGroup,{isCollapsed:r,icon:Object(Y.createElement)(St,{level:c}),controls:Object(te.range)(o,a).map((function(t){return e.createLevelControl(t,c,i)}))})}}]),t}(Y.Component);var Nt=function(e){var t=e.attributes,n=e.setAttributes,r=e.mergeBlocks,o=e.onReplace,a=e.className,c=Object(Z.__experimentalUseColors)([{name:"textColor",property:"color"}],{contrastCheckers:{backgroundColor:!0,textColor:!0}},[]),i=c.TextColor,l=c.InspectorControlsColorPanel,s=c.ColorDetector,u=t.align,b=t.content,m=t.level,d=t.placeholder,h="h"+m;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(Tt,{minLevel:2,maxLevel:5,selectedLevel:m,onChange:function(e){return n({level:e})}}),Object(Y.createElement)(Z.AlignmentToolbar,{value:u,onChange:function(e){n({align:e})}})),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Heading Settings")},Object(Y.createElement)("p",null,Object(J.__)("Level")),Object(Y.createElement)(Tt,{isCollapsed:!1,minLevel:1,maxLevel:7,selectedLevel:m,onChange:function(e){return n({level:e})}}))),l,Object(Y.createElement)(i,null,Object(Y.createElement)(s,{querySelector:'[contenteditable="true"]'}),Object(Y.createElement)(Z.RichText,{identifier:"content",tagName:h,value:b,onChange:function(e){return n({content:e})},onMerge:r,onSplit:function(e){return e?Object($.createBlock)("core/heading",Object(Q.a)({},t,{content:e})):Object($.createBlock)("core/paragraph")},onReplace:o,onRemove:function(){return o([])},className:ee()(a,Object(K.a)({},"has-text-align-".concat(u),u)),placeholder:d||Object(J.__)("Write heading…")})))};var Bt={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object($.createBlock)("core/heading",{content:t})}},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:{h1:{children:Object($.getPhrasingContentSchema)()},h2:{children:Object($.getPhrasingContentSchema)()},h3:{children:Object($.getPhrasingContentSchema)()},h4:{children:Object($.getPhrasingContentSchema)()},h5:{children:Object($.getPhrasingContentSchema)()},h6:{children:Object($.getPhrasingContentSchema)()}},transform:function(e){return Object($.createBlock)("core/heading",Object(Q.a)({},Object($.getBlockAttributes)("core/heading",e.outerHTML),{level:(t=e.nodeName,Number(t.substr(1)))}));var t}}].concat(Object(W.a)([2,3,4,5,6].map((function(e){return{type:"prefix",prefix:Array(e+1).join("#"),transform:function(t){return Object($.createBlock)("core/heading",{level:e,content:t})}}})))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object($.createBlock)("core/paragraph",{content:t})}}]},Rt={name:"core/heading",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}}},At=Rt.name,It={title:Object(J.__)("Heading"),description:Object(J.__)("Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content."),icon:"heading",keywords:[Object(J.__)("title"),Object(J.__)("subtitle")],supports:{className:!1,anchor:!0},example:{attributes:{content:Object(J.__)("Code is Poetry"),level:2}},transforms:Bt,deprecated:xt,merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},edit:Nt,save:function(e){var t,n=e.attributes,r=n.align,o=n.content,a=n.customTextColor,c=n.level,i=n.textColor,l="h"+c,s=Object(Z.getColorClassName)("color",i),u=ee()((t={},Object(K.a)(t,s,s),Object(K.a)(t,"has-text-color",i||a),Object(K.a)(t,"has-text-align-".concat(r),r),t));return Object(Y.createElement)(Z.RichText.Content,{className:u||void 0,tagName:l,style:{color:s?void 0:a},value:o})}},Pt={value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}},Mt=[{attributes:Pt,save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation;return Object(Y.createElement)("blockquote",{style:{textAlign:n||null}},Object(Y.createElement)(Z.RichText.Content,{multiline:!0,value:r}),!Z.RichText.isEmpty(o)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"cite",value:o}))}},{attributes:Object(Q.a)({},Pt,{style:{type:"number",default:1}}),migrate:function(e){return 2===e.style?Object(Q.a)({},Object(te.omit)(e,["style"]),{className:e.className?e.className+" is-style-large":"is-style-large"}):e},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=t.style;return Object(Y.createElement)("blockquote",{className:2===a?"is-large":"",style:{textAlign:n||null}},Object(Y.createElement)(Z.RichText.Content,{multiline:!0,value:r}),!Z.RichText.isEmpty(o)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"cite",value:o}))}},{attributes:Object(Q.a)({},Pt,{citation:{type:"string",source:"html",selector:"footer",default:""},style:{type:"number",default:1}}),save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=t.style;return Object(Y.createElement)("blockquote",{className:"blocks-quote-style-".concat(a),style:{textAlign:n||null}},Object(Y.createElement)(Z.RichText.Content,{multiline:!0,value:r}),!Z.RichText.isEmpty(o)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"footer",value:o}))}}];var Lt=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.Path,{d:"M18.62 18h-5.24l2-4H13V6h8v7.24L18.62 18zm-2-2h.76L19 12.76V8h-4v4h3.62l-2 4zm-8 2H3.38l2-4H3V6h8v7.24L8.62 18zm-2-2h.76L9 12.76V8H5v4h3.62l-2 4z"}));var Ht=n(21),zt=n(24),Vt={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object($.createBlock)("core/quote",{value:Object(zt.toHTMLString)({value:Object(zt.join)(e.map((function(e){var t=e.content;return Object(zt.create)({html:t})})),"\u2028"),multilineTag:"p"})})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object($.createBlock)("core/quote",{value:"

    ".concat(t,"

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

    ".concat(e,"

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

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

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

    "===t)return Object($.createBlock)("core/heading",{content:n});var o=Object(zt.split)(Object(zt.create)({html:t,multilineTag:"p"}),"\u2028"),a=Object($.createBlock)("core/heading",{content:Object(zt.toHTMLString)({value:o[0]})});if(!n&&1===o.length)return a;var c=o.slice(1);return[a,Object($.createBlock)("core/quote",Object(Q.a)({},r,{citation:n,value:Object(zt.toHTMLString)({value:c.length?Object(zt.join)(o.slice(1),"\u2028"):Object(zt.create)(),multilineTag:"p"})}))]}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object($.createBlock)("core/pullquote",{value:t,citation:n})}}]},Dt={name:"core/quote",category:"common",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}}},Ft=Dt.name,Ut={title:Object(J.__)("Quote"),description:Object(J.__)('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'),icon:Lt,keywords:[Object(J.__)("blockquote"),Object(J.__)("cite")],example:{attributes:{value:"

    "+Object(J.__)("In quoting others, we cite ourselves.")+"

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

    "!==n?Object(Q.a)({},e,{value:e.value+n,citation:r}):Object(Q.a)({},e,{citation:r})},deprecated:Mt};function Gt(e){return Math.min(3,e.images.length)}var qt=function(e){var t=Object(te.pick)(e,["alt","id","link","caption"]);t.url=Object(te.get)(e,["sizes","large","url"])||Object(te.get)(e,["media_details","sizes","large","source_url"])||e.url;var n=Object(te.get)(e,["sizes","full","url"])||Object(te.get)(e,["media_details","sizes","full","source_url"]);return n&&(t.fullUrl=n),t},Wt=[{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Gt(t):r,a=t.imageCrop,c=t.linkTo;return Object(Y.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map((function(e){var t;switch(c){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var n=Object(Y.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(Y.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(Y.createElement)("figure",null,t?Object(Y.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},isEligible:function(e){var t=e.images,n=e.ids;return t&&t.length>0&&(!n&&t||n&&t&&n.length!==t.length||Object(te.some)(t,(function(e,t){return!e&&null!==n[t]||parseInt(e,10)!==n[t]})))},migrate:function(e){return Object(Q.a)({},e,{ids:Object(te.map)(e.images,(function(e){var t=e.id;return t?parseInt(t,10):null}))})},save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Gt(t):r,a=t.imageCrop,c=t.linkTo;return Object(Y.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map((function(e){var t;switch(c){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(Y.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(Y.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(Y.createElement)("figure",null,t?Object(Y.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"div.wp-block-gallery figure.blocks-gallery-image img",query:{url:{source:"attribute",attribute:"src"},alt:{source:"attribute",attribute:"alt",default:""},id:{source:"attribute",attribute:"data-id"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},align:{type:"string",default:"none"}},save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Gt(t):r,a=t.align,c=t.imageCrop,i=t.linkTo,l=ee()("columns-".concat(o),{alignnone:"none"===a,"is-cropped":c});return Object(Y.createElement)("div",{className:l},n.map((function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(Y.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(Y.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(Y.createElement)("a",{href:t},n):n)})))}}],Kt=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M20 4v12H8V4h12m0-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 9.67l1.69 2.26 2.48-3.1L19 15H9zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}))),Zt=Object(Y.createElement)(ce.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M5 8.70002L10.6 14.4L12 12.9L7.8 8.70002L12 4.50002L10.6 3.00002L5 8.70002Z"})),$t=Object(Y.createElement)(ce.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z"})),Jt=Object(Y.createElement)(Z.BlockIcon,{icon:Kt}),Qt=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(xe.a)(e)),e.onSelectCaption=e.onSelectCaption.bind(Object(xe.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(xe.a)(e)),e.bindContainer=e.bindContainer.bind(Object(xe.a)(e)),e.state={captionSelected:!1},e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"onSelectCaption",value:function(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}},{key:"onSelectImage",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onRemoveImage",value:function(e){this.container===document.activeElement&&this.props.isSelected&&-1!==[Ne.BACKSPACE,Ne.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isSelected,r=t.image,o=t.url;r&&!o&&this.props.setAttributes({url:r.source_url,alt:r.alt_text}),this.state.captionSelected&&!n&&e.isSelected&&this.setState({captionSelected:!1})}},{key:"render",value:function(){var e,t=this.props,n=t.url,r=t.alt,o=t.id,a=t.linkTo,c=t.link,i=t.isFirstItem,l=t.isLastItem,s=t.isSelected,u=t.caption,b=t.onRemove,m=t.onMoveForward,d=t.onMoveBackward,h=t.setAttributes,p=t["aria-label"];switch(a){case"media":e=n;break;case"attachment":e=c}var g=Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)("img",{src:n,alt:r,"data-id":o,onClick:this.onSelectImage,onFocus:this.onSelectImage,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":p,ref:this.bindContainer}),Object(Te.isBlobURL)(n)&&Object(Y.createElement)(ce.Spinner,null)),f=ee()({"is-selected":s,"is-transient":Object(Te.isBlobURL)(n)});return Object(Y.createElement)("figure",{className:f},e?Object(Y.createElement)("a",{href:e},g):g,Object(Y.createElement)("div",{className:"block-library-gallery-item__move-menu"},Object(Y.createElement)(ce.IconButton,{icon:Zt,onClick:i?void 0:d,className:"blocks-gallery-item__move-backward",label:Object(J.__)("Move image backward"),"aria-disabled":i,disabled:!s}),Object(Y.createElement)(ce.IconButton,{icon:$t,onClick:l?void 0:m,className:"blocks-gallery-item__move-forward",label:Object(J.__)("Move image forward"),"aria-disabled":l,disabled:!s})),Object(Y.createElement)("div",{className:"block-library-gallery-item__inline-menu"},Object(Y.createElement)(ce.IconButton,{icon:"no-alt",onClick:b,className:"blocks-gallery-item__remove",label:Object(J.__)("Remove image"),disabled:!s})),(s||u)&&Object(Y.createElement)(Z.RichText,{tagName:"figcaption",placeholder:s?Object(J.__)("Write caption…"):null,value:u,isSelected:this.state.captionSelected,onChange:function(e){return h({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}]),t}(Y.Component),Yt=Object(le.withSelect)((function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}}))(Qt),Xt=function(e){var t,n=e.attributes,r=e.className,o=e.isSelected,a=e.setAttributes,c=e.selectedImage,i=e.mediaPlaceholder,l=e.onMoveBackward,s=e.onMoveForward,u=e.onRemoveImage,b=e.onSelectImage,m=e.onSetImageAttributes,d=e.onFocusGalleryCaption,h=n.align,p=n.columns,g=void 0===p?Gt(n):p,f=n.caption,v=n.imageCrop,O=n.images,j=ee()("blocks-gallery-caption",{"screen-reader-text":!o&&Z.RichText.isEmpty(f)});return Object(Y.createElement)("figure",{className:ee()(r,(t={},Object(K.a)(t,"align".concat(h),h),Object(K.a)(t,"columns-".concat(g),g),Object(K.a)(t,"is-cropped",v),t))},Object(Y.createElement)("ul",{className:"blocks-gallery-grid"},O.map((function(e,t){var n=Object(J.sprintf)(Object(J.__)("image %1$d of %2$d in gallery"),t+1,O.length);return Object(Y.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object(Y.createElement)(Yt,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===t,isLastItem:t+1===O.length,isSelected:o&&c===t,onMoveBackward:l(t),onMoveForward:s(t),onRemove:u(t),onSelect:b(t),setAttributes:function(e){return m(t,e)},caption:e.caption,"aria-label":n}))}))),i,Object(Y.createElement)(Z.RichText,{tagName:"figcaption",className:j,placeholder:Object(J.__)("Write gallery caption…"),value:f,unstableOnFocus:d,onChange:function(e){return a({caption:e})},inlineToolbar:!0}))},en=[{value:"attachment",label:Object(J.__)("Attachment Page")},{value:"media",label:Object(J.__)("Media File")},{value:"none",label:Object(J.__)("None")}],tn=["image"],nn=Y.Platform.select({web:Object(J.__)("Drag images, upload new ones or select files from your library."),native:Object(J.__)("ADD MEDIA")}),rn=Y.Platform.select({web:{},native:{separatorType:"fullWidth"}}),on=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(xe.a)(e)),e.onSelectImages=e.onSelectImages.bind(Object(xe.a)(e)),e.setLinkTo=e.setLinkTo.bind(Object(xe.a)(e)),e.setColumnsNumber=e.setColumnsNumber.bind(Object(xe.a)(e)),e.toggleImageCrop=e.toggleImageCrop.bind(Object(xe.a)(e)),e.onMove=e.onMove.bind(Object(xe.a)(e)),e.onMoveForward=e.onMoveForward.bind(Object(xe.a)(e)),e.onMoveBackward=e.onMoveBackward.bind(Object(xe.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(xe.a)(e)),e.onUploadError=e.onUploadError.bind(Object(xe.a)(e)),e.setImageAttributes=e.setImageAttributes.bind(Object(xe.a)(e)),e.setAttributes=e.setAttributes.bind(Object(xe.a)(e)),e.onFocusGalleryCaption=e.onFocusGalleryCaption.bind(Object(xe.a)(e)),e.state={selectedImage:null,attachmentCaptions:null},e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=Object(Q.a)({},e,{ids:Object(te.map)(e.images,"id")})),this.props.setAttributes(e)}},{key:"onSelectImage",value:function(e){var t=this;return function(){t.state.selectedImage!==e&&t.setState({selectedImage:e})}}},{key:"onMove",value:function(e,t){var n=Object(W.a)(this.props.attributes.images);n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.setAttributes({images:n})}},{key:"onMoveForward",value:function(e){var t=this;return function(){e!==t.props.attributes.images.length-1&&t.onMove(e,e+1)}}},{key:"onMoveBackward",value:function(e){var t=this;return function(){0!==e&&t.onMove(e,e-1)}}},{key:"onRemoveImage",value:function(e){var t=this;return function(){var n=Object(te.filter)(t.props.attributes.images,(function(t,n){return e!==n})),r=t.props.attributes.columns;t.setState({selectedImage:null}),t.setAttributes({images:n,columns:r?Math.min(n.length,r):r})}}},{key:"selectCaption",value:function(e,t,n){var r=Object(te.find)(t,{id:e.id}),o=r?r.caption:e.caption;if(!n)return o;var a=Object(te.find)(n,{id:e.id});return a&&a.caption!==e.caption?e.caption:o}},{key:"onSelectImages",value:function(e){var t=this,n=this.props.attributes,r=n.columns,o=n.images,a=this.state.attachmentCaptions;this.setState({attachmentCaptions:e.map((function(e){return{id:e.id,caption:e.caption}}))}),this.setAttributes({images:e.map((function(e){return Object(Q.a)({},qt(e),{caption:t.selectCaption(e,o,a)})})),columns:r?Math.min(e.length,r):r})}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"setLinkTo",value:function(e){this.setAttributes({linkTo:e})}},{key:"setColumnsNumber",value:function(e){this.setAttributes({columns:e})}},{key:"toggleImageCrop",value:function(){this.setAttributes({imageCrop:!this.props.attributes.imageCrop})}},{key:"getImageCropHelp",value:function(e){return e?Object(J.__)("Thumbnails are cropped to align."):Object(J.__)("Thumbnails are not cropped.")}},{key:"onFocusGalleryCaption",value:function(){this.setState({selectedImage:null})}},{key:"setImageAttributes",value:function(e,t){var n=this.props.attributes.images,r=this.setAttributes;n[e]&&r({images:[].concat(Object(W.a)(n.slice(0,e)),[Object(Q.a)({},n[e],t)],Object(W.a)(n.slice(e+1)))})}},{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.mediaUpload,r=t.images;if("web"===Y.Platform.OS&&r&&r.length>0&&Object(te.every)(r,(function(e){var t=e.url;return Object(Te.isBlobURL)(t)}))){var o=Object(te.map)(r,(function(e){var t=e.url;return Object(Te.getBlobByURL)(t)}));Object(te.forEach)(r,(function(e){var t=e.url;return Object(Te.revokeBlobURL)(t)})),n({filesList:o,onFileChange:this.onSelectImages,allowedTypes:["image"]})}}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=e.noticeUI,a=t.columns,c=void 0===a?Gt(t):a,i=t.imageCrop,l=t.images,s=t.linkTo,u=!!l.length,b=u&&Object(te.some)(l,(function(e){return e.id})),m=Object(Y.createElement)(Z.MediaPlaceholder,{addToGallery:b,isAppender:u,className:n,disableMediaButtons:u&&!r,icon:!u&&Jt,labels:{title:!u&&Object(J.__)("Gallery"),instructions:!u&&nn},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:tn,multiple:!0,value:b?l:void 0,onError:this.onUploadError,notices:u?void 0:o,onFocus:this.props.onFocus});return u?Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Gallery Settings")},l.length>1&&Object(Y.createElement)(ce.RangeControl,Object(je.a)({label:Object(J.__)("Columns")},rn,{value:c,onChange:this.setColumnsNumber,min:1,max:Math.min(8,l.length),required:!0})),Object(Y.createElement)(ce.ToggleControl,Object(je.a)({label:Object(J.__)("Crop Images")},rn,{checked:!!i,onChange:this.toggleImageCrop,help:this.getImageCropHelp})),Object(Y.createElement)(ce.SelectControl,Object(je.a)({label:Object(J.__)("Link To")},rn,{value:s,onChange:this.setLinkTo,options:en})))),o,Object(Y.createElement)(Xt,Object(je.a)({},this.props,{selectedImage:this.state.selectedImage,mediaPlaceholder:m,onMoveBackward:this.onMoveBackward,onMoveForward:this.onMoveForward,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,onSetImageAttributes:this.setImageAttributes,onFocusGalleryCaption:this.onFocusGalleryCaption}))):m}}]),t}(Y.Component),an=Object(ie.compose)([Object(le.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),ce.withNotices,Object(Re.withViewportMatch)({isNarrow:"< small"})])(on);var cn=function(e){return e?e.split(",").map((function(e){return parseInt(e,10)})):[]},ln={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=Object(te.every)(e,["align",t])?t:void 0;var n=Object(te.filter)(e,(function(e){return e.url}));return Object($.createBlock)("core/gallery",{images:n.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),ids:n.map((function(e){return e.id})),align:t})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return cn(t).map((function(e){return{id:e}}))}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return cn(t)}},columns:{type:"number",shortcode:function(e){var t=e.named.columns;return parseInt(void 0===t?"3":t,10)}},linkTo:{type:"string",shortcode:function(e){var t=e.named.link,n=void 0===t?"attachment":t;return"file"===n?"media":n}}}},{type:"files",isMatch:function(e){return 1!==e.length&&Object(te.every)(e,(function(e){return 0===e.type.indexOf("image/")}))},transform:function(e){return Object($.createBlock)("core/gallery",{images:e.map((function(e){return qt({url:Object(Te.createBlobURL)(e)})}))})}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,n=e.align;return t.length>0?t.map((function(e){var t=e.id,r=e.url,o=e.alt,a=e.caption;return Object($.createBlock)("core/image",{id:t,url:r,alt:o,caption:a,align:n})})):Object($.createBlock)("core/image",{align:n})}}]},sn={name:"core/gallery",category:"common",attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",default:[]},columns:{type:"number"},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}}},un=sn.name,bn={title:Object(J.__)("Gallery"),description:Object(J.__)("Display multiple images in a rich gallery."),icon:Kt,keywords:[Object(J.__)("images"),Object(J.__)("photos")],example:{attributes:{columns:2,images:[{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}]}},supports:{align:!0},transforms:ln,edit:an,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Gt(t):r,a=t.imageCrop,c=t.caption,i=t.linkTo;return Object(Y.createElement)("figure",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},Object(Y.createElement)("ul",{className:"blocks-gallery-grid"},n.map((function(e){var t;switch(i){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var n=Object(Y.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(Y.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(Y.createElement)("figure",null,t?Object(Y.createElement)("a",{href:t},n):n,!Z.RichText.isEmpty(e.caption)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!Z.RichText.isEmpty(c)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:c}))},deprecated:Wt},mn=n(58),dn=n.n(mn);var hn=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M21 6V20C21 21.1 20.1 22 19 22H5C3.89 22 3 21.1 3 20L3.01 6C3.01 4.9 3.89 4 5 4H6V2H8V4H16V2H18V4H19C20.1 4 21 4.9 21 6ZM5 8H19V6H5V8ZM19 20V10H5V20H19ZM11 12H17V14H11V12ZM17 16H11V18H17V16ZM7 12H9V14H7V12ZM9 18V16H7V18H9Z"})),pn="core/archives",gn={title:Object(J.__)("Archives"),description:Object(J.__)("Display a monthly archive of your posts."),icon:hn,category:"widgets",supports:{align:!0,html:!1},edit:function(e){var t=e.attributes,n=e.setAttributes,r=t.showPostCounts,o=t.displayAsDropdown;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Archives Settings")},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Display as Dropdown"),checked:o,onChange:function(){return n({displayAsDropdown:!o})}}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Show Post Counts"),checked:r,onChange:function(){return n({showPostCounts:!r})}}))),Object(Y.createElement)(ce.Disabled,null,Object(Y.createElement)(dn.a,{block:"core/archives",attributes:t})))}},fn=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"m12 3l0.01 10.55c-0.59-0.34-1.27-0.55-2-0.55-2.22 0-4.01 1.79-4.01 4s1.79 4 4.01 4 3.99-1.79 3.99-4v-10h4v-4h-6zm-1.99 16c-1.1 0-2-0.9-2-2s0.9-2 2-2 2 0.9 2 2-0.9 2-2 2z"})),vn=["audio"],On=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.toggleAttribute=e.toggleAttribute.bind(Object(xe.a)(e)),e.onSelectURL=e.onSelectURL.bind(Object(xe.a)(e)),e.onUploadError=e.onUploadError.bind(Object(xe.a)(e)),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,a=t.setAttributes,c=n.id,i=n.src,l=void 0===i?"":i;if(!c&&Object(Te.isBlobURL)(l)){var s=Object(Te.getBlobByURL)(l);s&&r({filesList:[s],onFileChange:function(e){var t=Object(ae.a)(e,1)[0],n=t.id,r=t.url;a({id:n,src:r})},onError:function(t){a({src:void 0,id:void 0}),e.setState({editing:!0}),o.createErrorNotice(t)},allowedTypes:vn})}}},{key:"toggleAttribute",value:function(e){var t=this;return function(n){t.props.setAttributes(Object(K.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=ot({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}this.setState({editing:!1})}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"getAutoplayHelp",value:function(e){return e?Object(J.__)("Note: Autoplaying audio may cause usability issues for some visitors."):null}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.autoplay,r=t.caption,o=t.loop,a=t.preload,c=t.src,i=this.props,l=i.setAttributes,s=i.isSelected,u=i.className,b=i.noticeUI,m=this.state.editing,d=function(){e.setState({editing:!0})};return m?Object(Y.createElement)(Z.MediaPlaceholder,{icon:Object(Y.createElement)(Z.BlockIcon,{icon:fn}),className:u,onSelect:function(t){if(!t||!t.url)return l({src:void 0,id:void 0}),void d();l({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"audio/*",allowedTypes:vn,value:this.props.attributes,notices:b,onError:this.onUploadError}):Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(ce.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(J.__)("Edit audio"),onClick:d,icon:"edit"}))),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Audio Settings")},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n,help:this.getAutoplayHelp}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:o}),Object(Y.createElement)(ce.SelectControl,{label:Object(J.__)("Preload"),value:void 0!==a?a:"none",onChange:function(e){return l({preload:"none"!==e?e:void 0})},options:[{value:"auto",label:Object(J.__)("Auto")},{value:"metadata",label:Object(J.__)("Metadata")},{value:"none",label:Object(J.__)("None")}]}))),Object(Y.createElement)("figure",{className:u},Object(Y.createElement)(ce.Disabled,null,Object(Y.createElement)("audio",{controls:"controls",src:c})),(!Z.RichText.isEmpty(r)||s)&&Object(Y.createElement)(Z.RichText,{tagName:"figcaption",placeholder:Object(J.__)("Write caption…"),value:r,onChange:function(e){return l({caption:e})},inlineToolbar:!0})))}}]),t}(Y.Component),jn=Object(ie.compose)([Object(le.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),ce.withNotices])(On);var yn={from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("audio/")},transform:function(e){var t=e[0];return Object($.createBlock)("core/audio",{src:Object(Te.createBlobURL)(t)})}},{type:"shortcode",tag:"audio",attributes:{src:{type:"string",shortcode:function(e){return e.named.src}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},_n={name:"core/audio",category:"common",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}}},kn=_n.name,Cn={title:Object(J.__)("Audio"),description:Object(J.__)("Embed a simple audio player."),keywords:[Object(J.__)("music"),Object(J.__)("sound"),Object(J.__)("podcast"),Object(J.__)("recording")],icon:fn,transforms:yn,supports:{align:!0},edit:jn,save:function(e){var t=e.attributes,n=t.autoplay,r=t.caption,o=t.loop,a=t.preload,c=t.src;return Object(Y.createElement)("figure",null,Object(Y.createElement)("audio",{controls:"controls",src:c,autoPlay:n,loop:o,preload:a}),!Z.RichText.isEmpty(r)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:r}))}},wn=function(e){return Object(te.omit)(Object(Q.a)({},e,{customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0}),["color","textColor"])},En={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"}},xn=[{attributes:Object(Q.a)({},En,{align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"}}),isEligible:function(e){return e.className&&e.className.includes("is-style-squared")},migrate:function(e){var t=e.className;return t&&(t=t.replace(/is-style-squared[\s]?/,"").trim()),Object(Q.a)({},e,{className:t||void 0,borderRadius:0})},save:function(e){var t,n=e.attributes,r=n.backgroundColor,o=n.customBackgroundColor,a=n.customTextColor,c=n.linkTarget,i=n.rel,l=n.text,s=n.textColor,u=n.title,b=n.url,m=Object(Z.getColorClassName)("color",s),d=Object(Z.getColorClassName)("background-color",r),h=ee()("wp-block-button__link",(t={"has-text-color":s||a},Object(K.a)(t,m,m),Object(K.a)(t,"has-background",r||o),Object(K.a)(t,d,d),t)),p={backgroundColor:d?void 0:o,color:m?void 0:a};return Object(Y.createElement)("div",null,Object(Y.createElement)(Z.RichText.Content,{tagName:"a",className:h,href:b,title:u,style:p,value:l,target:c,rel:i}))}},{attributes:Object(Q.a)({},En,{align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}}),save:function(e){var t,n=e.attributes,r=n.url,o=n.text,a=n.title,c=n.backgroundColor,i=n.textColor,l=n.customBackgroundColor,s=n.customTextColor,u=Object(Z.getColorClassName)("color",i),b=Object(Z.getColorClassName)("background-color",c),m=ee()("wp-block-button__link",(t={"has-text-color":i||s},Object(K.a)(t,u,u),Object(K.a)(t,"has-background",c||l),Object(K.a)(t,b,b),t)),d={backgroundColor:b?void 0:l,color:u?void 0:s};return Object(Y.createElement)("div",null,Object(Y.createElement)(Z.RichText.Content,{tagName:"a",className:m,href:r,title:a,style:d,value:o}))},migrate:wn},{attributes:Object(Q.a)({},En,{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,a=t.align,c={backgroundColor:t.color,color:t.textColor};return Object(Y.createElement)("div",{className:"align".concat(a)},Object(Y.createElement)(Z.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:n,title:o,style:c,value:r}))},migrate:wn},{attributes:Object(Q.a)({},En,{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,a=t.align,c=t.color,i=t.textColor;return Object(Y.createElement)("div",{className:"align".concat(a),style:{backgroundColor:c}},Object(Y.createElement)(Z.RichText.Content,{tagName:"a",href:n,title:o,style:{color:i},value:r}))},migrate:wn}],Sn=window.getComputedStyle,Tn=Object(ce.withFallbackStyles)((function(e,t){var n=t.textColor,r=t.backgroundColor,o=r&&r.color,a=n&&n.color,c=!a&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:o||!e?void 0:Sn(e).backgroundColor,fallbackTextColor:a||!c?void 0:Sn(c).color}})),Nn="noreferrer noopener",Bn=0,Rn=50,An=5;function In(e){var t=e.borderRadius,n=void 0===t?"":t,r=e.setAttributes,o=Object(Y.useCallback)((function(e){r({borderRadius:e})}),[r]);return Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Border Settings")},Object(Y.createElement)(ce.RangeControl,{value:n,label:Object(J.__)("Border Radius"),min:Bn,max:Rn,initialPosition:An,allowReset:!0,onChange:o}))}var Pn=Object(ie.compose)([ie.withInstanceId,Object(Z.withColors)("backgroundColor",{textColor:"color"}),Tn])((function(e){var t,n=e.attributes,r=e.backgroundColor,o=e.textColor,a=e.setBackgroundColor,c=e.setTextColor,i=e.fallbackBackgroundColor,l=e.fallbackTextColor,s=e.setAttributes,u=e.className,b=e.isSelected,m=n.borderRadius,d=n.linkTarget,h=n.placeholder,p=n.rel,g=n.text,f=n.title,v=n.url,O=Object(Y.useCallback)((function(e){s({rel:e})}),[s]),j=Object(Y.useCallback)((function(e){var t=e?"_blank":void 0,n=p;t&&!p?n=Nn:t||p!==Nn||(n=void 0),s({linkTarget:t,rel:n})}),[p,s]),y=Object(Z.__experimentalUseGradient)(),_=y.gradientClass,k=y.gradientValue,C=y.setGradient;return Object(Y.createElement)("div",{className:u,title:f},Object(Y.createElement)(Z.RichText,{placeholder:h||Object(J.__)("Add text…"),value:g,onChange:function(e){return s({text:e})},withoutInteractiveFormatting:!0,className:ee()("wp-block-button__link",(t={"has-background":r.color||k},Object(K.a)(t,r.class,!k&&r.class),Object(K.a)(t,"has-text-color",o.color),Object(K.a)(t,o.class,o.class),Object(K.a)(t,_,_),Object(K.a)(t,"no-border-radius",0===m),t)),style:Object(Q.a)({},!r.color&&k?{background:k}:{backgroundColor:r.color},{color:o.color,borderRadius:m?m+"px":void 0})}),Object(Y.createElement)(Z.URLInput,{label:Object(J.__)("Link"),className:"wp-block-button__inline-link",value:v,autoFocus:!1,onChange:function(e){return s({url:e})},disableSuggestions:!b,isFullWidth:!0,hasBorder:!0}),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(Z.PanelColorSettings,{title:Object(J.__)("Color Settings"),colorSettings:[{value:r.color,onChange:function(e){s({customGradient:void 0}),a(e)},label:Object(J.__)("Background Color")},{value:o.color,onChange:c,label:Object(J.__)("Text Color")}]},Object(Y.createElement)(Z.ContrastChecker,{isLargeText:!1,textColor:o.color,backgroundColor:r.color,fallbackBackgroundColor:i,fallbackTextColor:l})),Object(Y.createElement)(Z.__experimentalGradientPickerPanel,{onChange:function(e){C(e),a()},value:k}),Object(Y.createElement)(In,{borderRadius:m,setAttributes:s}),Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Link settings")},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Open in new tab"),onChange:j,checked:"_blank"===d}),Object(Y.createElement)(ce.TextControl,{label:Object(J.__)("Link rel"),value:p||"",onChange:O}))))})),Mn=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M19 6H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H5V8h14v8z"})));var Ln={name:"core/button",category:"layout",attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}}},Hn=Ln.name,zn={title:Object(J.__)("Button"),description:Object(J.__)("Prompt visitors to take action with a button-style link."),icon:Mn,keywords:[Object(J.__)("link")],example:{attributes:{className:"is-style-fill",backgroundColor:"vivid-green-cyan",text:Object(J.__)("Call to Action")}},supports:{align:!0,alignWide:!1},styles:[{name:"fill",label:Object(J.__)("Fill"),isDefault:!0},{name:"outline",label:Object(J.__)("Outline")}],edit:Pn,save:function(e){var t,n=e.attributes,r=n.backgroundColor,o=n.borderRadius,a=n.customBackgroundColor,c=n.customTextColor,i=n.customGradient,l=n.linkTarget,s=n.gradient,u=n.rel,b=n.text,m=n.textColor,d=n.title,h=n.url,p=Object(Z.getColorClassName)("color",m),g=!i&&Object(Z.getColorClassName)("background-color",r),f=Object(Z.__experimentalGetGradientClass)(s),v=ee()("wp-block-button__link",(t={"has-text-color":m||c},Object(K.a)(t,p,p),Object(K.a)(t,"has-background",r||a||i||s),Object(K.a)(t,g,g),Object(K.a)(t,"no-border-radius",0===o),Object(K.a)(t,f,f),t)),O={background:i||void 0,backgroundColor:g||i||s?void 0:a,color:p?void 0:c,borderRadius:o?o+"px":void 0};return Object(Y.createElement)("div",null,Object(Y.createElement)(Z.RichText.Content,{tagName:"a",className:v,href:h,title:d,style:O,value:b,target:l,rel:u}))},deprecated:xn},Vn=n(30),Dn=n.n(Vn),Fn=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).getYearMonth=tt()(e.getYearMonth.bind(Object(xe.a)(e)),{maxSize:1}),e.getServerSideAttributes=tt()(e.getServerSideAttributes.bind(Object(xe.a)(e)),{maxSize:1}),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"getYearMonth",value:function(e){if(!e)return{};var t=Dn()(e);return{year:t.year(),month:t.month()+1}}},{key:"getServerSideAttributes",value:function(e,t){return Object(Q.a)({},e,this.getYearMonth(t))}},{key:"render",value:function(){return Object(Y.createElement)(ce.Disabled,null,Object(Y.createElement)(dn.a,{block:"core/calendar",attributes:this.getServerSideAttributes(this.props.attributes,this.props.date)}))}}]),t}(Y.Component),Un=Object(le.withSelect)((function(e){var t=e("core/editor");if(t){var n=t.getEditedPostAttribute;return{date:"post"===n("type")?n("date"):void 0}}}))(Fn),Gn=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M7 11h2v2H7v-2zm14-5v14c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2l.01-14c0-1.1.88-2 1.99-2h1V2h2v2h8V2h2v2h1c1.1 0 2 .9 2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"}))),qn="core/calendar",Wn={title:Object(J.__)("Calendar"),description:Object(J.__)("A calendar of your site’s posts."),icon:Gn,category:"widgets",keywords:[Object(J.__)("posts"),Object(J.__)("archive")],supports:{align:!0},example:{},edit:Un},Kn=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(Object(xe.a)(e)),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(Object(xe.a)(e)),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(Object(xe.a)(e)),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"toggleDisplayAsDropdown",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({displayAsDropdown:!t.displayAsDropdown})}},{key:"toggleShowPostCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showPostCounts:!t.showPostCounts})}},{key:"toggleShowHierarchy",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showHierarchy:!t.showHierarchy})}},{key:"getCategories",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.categories;return t&&t.length?null===e?t:t.filter((function(t){return t.parent===e})):[]}},{key:"getCategoryListClassName",value:function(e){return"wp-block-categories__list wp-block-categories__list-level-".concat(e)}},{key:"renderCategoryName",value:function(e){return e.name?Object(te.unescape)(e.name).trim():Object(J.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,n=this.getCategories(t);return Object(Y.createElement)("ul",{className:this.getCategoryListClassName(0)},n.map((function(t){return e.renderCategoryListItem(t,0)})))}},{key:"renderCategoryListItem",value:function(e,t){var n=this,r=this.props.attributes,o=r.showHierarchy,a=r.showPostCounts,c=this.getCategories(e.id);return Object(Y.createElement)("li",{key:e.id},Object(Y.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},this.renderCategoryName(e)),a&&Object(Y.createElement)("span",{className:"wp-block-categories__post-count"}," ","(",e.count,")"),o&&!!c.length&&Object(Y.createElement)("ul",{className:this.getCategoryListClassName(t+1)},c.map((function(e){return n.renderCategoryListItem(e,t+1)}))))}},{key:"renderCategoryDropdown",value:function(){var e=this,t=this.props.instanceId,n=this.props.attributes.showHierarchy?0:null,r=this.getCategories(n),o="blocks-category-select-".concat(t);return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)("label",{htmlFor:o,className:"screen-reader-text"},Object(J.__)("Categories")),Object(Y.createElement)("select",{id:o,className:"wp-block-categories__dropdown"},r.map((function(t){return e.renderCategoryDropdownItem(t,0)}))))}},{key:"renderCategoryDropdownItem",value:function(e,t){var n=this,r=this.props.attributes,o=r.showHierarchy,a=r.showPostCounts,c=this.getCategories(e.id);return[Object(Y.createElement)("option",{key:e.id},Object(te.times)(3*t,(function(){return" "})),this.renderCategoryName(e),a?" (".concat(e.count,")"):""),o&&!!c.length&&c.map((function(e){return n.renderCategoryDropdownItem(e,t+1)}))]}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.isRequesting,r=t.displayAsDropdown,o=t.showHierarchy,a=t.showPostCounts,c=Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Categories Settings")},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Display as Dropdown"),checked:r,onChange:this.toggleDisplayAsDropdown}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Show Hierarchy"),checked:o,onChange:this.toggleShowHierarchy}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Show Post Counts"),checked:a,onChange:this.toggleShowPostCounts})));return n?Object(Y.createElement)(Y.Fragment,null,c,Object(Y.createElement)(ce.Placeholder,{icon:"admin-post",label:Object(J.__)("Categories")},Object(Y.createElement)(ce.Spinner,null))):Object(Y.createElement)(Y.Fragment,null,c,Object(Y.createElement)("div",{className:this.props.className},r?this.renderCategoryDropdown():this.renderCategoryList()))}}]),t}(Y.Component),Zn=Object(ie.compose)(Object(le.withSelect)((function(e){var t=e("core").getEntityRecords,n=e("core/data").isResolving,r={per_page:-1,hide_empty:!0};return{categories:t("taxonomy","category",r),isRequesting:n("core","getEntityRecords",["taxonomy","category",r])}})),ie.withInstanceId)(Kn),$n=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"M12,2l-5.5,9h11L12,2z M12,5.84L13.93,9h-3.87L12,5.84z"}),Object(Y.createElement)(ce.Path,{d:"m17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"}),Object(Y.createElement)(ce.Path,{d:"m3 21.5h8v-8h-8v8zm2-6h4v4h-4v-4z"})),Jn="core/categories",Qn={title:Object(J.__)("Categories"),description:Object(J.__)("Display a list of all categories."),icon:$n,category:"widgets",supports:{align:!0,html:!1},edit:Zn};var Yn=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"M9.4,16.6L4.8,12l4.6-4.6L8,6l-6,6l6,6L9.4,16.6z M14.6,16.6l4.6-4.6l-4.6-4.6L16,6l6,6l-6,6L14.6,16.6z"})),Xn=n(59);function er(e){return e.replace(/\[/g,"[")}function tr(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1//$2")}var nr={from:[{type:"enter",regExp:/^```$/,transform:function(){return Object($.createBlock)("core/code")}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName},schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]},rr={name:"core/code",category:"formatting",attributes:{content:{type:"string",source:"text",selector:"code"}}},or=rr.name,ar={title:Object(J.__)("Code"),description:Object(J.__)("Display code snippets that respect your spacing and tabs."),icon:Yn,example:{attributes:{content:Object(J.__)('// A "block" is the abstract term used\n// to describe units of markup that\n// when composed together, form the\n// content or layout of a page.\nregisterBlockType( name, settings );')}},supports:{html:!1},transforms:nr,edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className;return Object(Y.createElement)("div",{className:r},Object(Y.createElement)(Z.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(J.__)("Write code…"),"aria-label":Object(J.__)("Code")}))},save:function(e){var t,n=e.attributes;return Object(Y.createElement)("pre",null,Object(Y.createElement)("code",null,(t=n.content,Object(te.flow)(Xn.escapeEditableHTML,er,tr)(t||""))))}};function cr(e){var t,n=cr.doc;n||(n=document.implementation.createHTMLDocument(""),cr.doc=n),n.body.innerHTML=e;var r=!0,o=!1,a=void 0;try{for(var c,i=n.body.firstChild.classList[Symbol.iterator]();!(r=(c=i.next()).done);r=!0){if(t=c.value.match(/^layout-column-(\d+)$/))return Number(t[1])-1}}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}}var ir=[{attributes:{columns:{type:"number",default:2}},isEligible:function(e,t){return!!t.some((function(e){return/layout-column-\d+/.test(e.originalContent)}))&&t.some((function(e){return void 0!==cr(e.originalContent)}))},migrate:function(e,t){var n=t.reduce((function(e,t){var n=cr(t.originalContent);return void 0===n&&(n=0),e[n]||(e[n]=[]),e[n].push(t),e}),[]).map((function(e){return Object($.createBlock)("core/column",{},e)}));return[Object(te.omit)(e,["columns"]),n]},save:function(e){var t=e.attributes.columns;return Object(Y.createElement)("div",{className:"has-".concat(t,"-columns")},Object(Y.createElement)(Z.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},migrate:function(e,t){return[e=Object(te.omit)(e,["columns"]),t]},save:function(e){var t=e.attributes,n=t.verticalAlignment,r=t.columns,o=ee()("has-".concat(r,"-columns"),Object(K.a)({},"are-vertically-aligned-".concat(n),n));return Object(Y.createElement)("div",{className:o},Object(Y.createElement)(Z.InnerBlocks.Content,null))}}],lr=function(e){return Number.isFinite(e)?parseFloat(e.toFixed(2)):void 0};function sr(e,t){var n=e.attributes.width;return lr(void 0===n?100/t:n)}function ur(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return Object(te.sumBy)(e,(function(e){return sr(e,t)}))}function br(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return e.reduce((function(e,n){var r=sr(n,t);return Object.assign(e,Object(K.a)({},n.clientId,r))}),{})}function mr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=(t-ur(e,n))/e.length;return Object(te.mapValues)(br(e,n),(function(e){return lr(e+r)}))}function dr(e,t){return e.map((function(e){return Object(te.merge)({},e,{attributes:{width:t[e.clientId]}})}))}var hr=["core/column"];var pr=Object(le.withDispatch)((function(e,t,n){return{updateAlignment:function(r){var o=t.clientId,a=t.setAttributes,c=e("core/block-editor").updateBlockAttributes,i=n.select("core/block-editor").getBlockOrder;a({verticalAlignment:r}),i(o).forEach((function(e){c(e,{verticalAlignment:r})}))},updateColumns:function(r,o){var a=t.clientId,c=e("core/block-editor").replaceInnerBlocks,i=(0,n.select("core/block-editor").getBlocks)(a),l=i.some((function(e){return Number.isFinite(e.attributes.width)})),s=o>r;if(s&&l){var u=lr(100/o),b=mr(i,100-u);i=[].concat(Object(W.a)(dr(i,b)),Object(W.a)(Object(te.times)(o-r,(function(){return Object($.createBlock)("core/column",{width:u})}))))}else if(s)i=[].concat(Object(W.a)(i),Object(W.a)(Object(te.times)(o-r,(function(){return Object($.createBlock)("core/column")}))));else{if(i=Object(te.dropRight)(i,r-o),l)i=dr(i,mr(i,100))}c(a,i,!1)}}}))((function(e){var t=e.attributes,n=e.className,r=e.updateAlignment,o=e.updateColumns,a=e.clientId,c=t.verticalAlignment,i=Object(le.useSelect)((function(e){return{count:e("core/block-editor").getBlockCount(a)}})).count,l=ee()(n,Object(K.a)({},"are-vertically-aligned-".concat(c),c));return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,null,Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Columns"),value:i,onChange:function(e){return o(i,e)},min:2,max:6}))),Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(Z.BlockVerticalAlignmentToolbar,{onChange:r,value:c})),Object(Y.createElement)("div",{className:l},Object(Y.createElement)(Z.InnerBlocks,{templateLock:"all",allowedBlocks:hr})))})),gr=function e(t){return Object(te.map)(t,(function(t){var n=Object(ae.a)(t,3),r=n[0],o=n[1],a=n[2],c=void 0===a?[]:a;return Object($.createBlock)(r,o,e(c))}))},fr=function(e){var t=e.clientId,n=e.name,r=Object(le.useSelect)((function(e){var r=e("core/blocks"),o=r.__experimentalGetBlockPatterns,a=r.getBlockType,c=r.__experimentalGetDefaultBlockPattern;return{blockType:a(n),defaultPattern:c(n),hasInnerBlocks:e("core/block-editor").getBlocks(t).length>0,patterns:o(n)}}),[t,n]),o=r.blockType,a=r.defaultPattern,c=r.hasInnerBlocks,i=r.patterns,l=Object(le.useDispatch)("core/block-editor").replaceInnerBlocks;return c?Object(Y.createElement)(pr,e):Object(Y.createElement)(Z.__experimentalBlockPatternPicker,{icon:Object(te.get)(o,["icon","src"]),label:Object(te.get)(o,["title"]),patterns:i,onSelect:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;t.attributes&&e.setAttributes(t.attributes),t.innerBlocks&&l(e.clientId,gr(t.innerBlocks))},allowSkip:!0})},vr=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M4,4H20a2,2,0,0,1,2,2V18a2,2,0,0,1-2,2H4a2,2,0,0,1-2-2V6A2,2,0,0,1,4,4ZM4 6V18H8V6Zm6 0V18h4V6Zm6 0V18h4V6Z"}))),Or=[{name:"two-columns-equal",label:Object(J.__)("Two columns; equal split"),icon:Object(Y.createElement)(ce.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H25V34H39ZM23 34H9V14H23V34Z"})),isDefault:!0,innerBlocks:[["core/column"],["core/column"]]},{name:"two-columns-one-third-two-thirds",label:Object(J.__)("Two columns; one-third, two-thirds split"),icon:Object(Y.createElement)(ce.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z"})),innerBlocks:[["core/column",{width:33.33}],["core/column",{width:66.66}]]},{name:"two-columns-two-thirds-one-third",label:Object(J.__)("Two columns; two-thirds, one-third split"),icon:Object(Y.createElement)(ce.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z"})),innerBlocks:[["core/column",{width:66.66}],["core/column",{width:33.33}]]},{name:"three-columns-equal",label:Object(J.__)("Three columns; equal split"),icon:Object(Y.createElement)(ce.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z"})),innerBlocks:[["core/column"],["core/column"],["core/column"]]},{name:"three-columns-wider-center",label:Object(J.__)("Three columns; wide center column"),icon:Object(Y.createElement)(ce.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z"})),innerBlocks:[["core/column",{width:25}],["core/column",{width:50}],["core/column",{width:25}]]}];var jr={name:"core/columns",category:"layout",attributes:{verticalAlignment:{type:"string"}}},yr=jr.name,_r={title:Object(J.__)("Columns"),icon:vr,description:Object(J.__)("Add a block that displays content in multiple columns, then add whatever content blocks you’d like."),supports:{align:["wide","full"],html:!1},patterns:Or,example:{innerBlocks:[{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis."}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"}},{name:"core/paragraph",attributes:{content:"Suspendisse commodo neque lacus, a dictum orci interdum et."}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(J.__)("Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.")}},{name:"core/paragraph",attributes:{content:Object(J.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:ir,edit:fr,save:function(e){var t=e.attributes.verticalAlignment,n=ee()(Object(K.a)({},"are-vertically-aligned-".concat(t),t));return Object(Y.createElement)("div",{className:n},Object(Y.createElement)(Z.InnerBlocks.Content,null))}};var kr=Object(ie.compose)(Object(le.withSelect)((function(e,t){var n=t.clientId;return{hasChildBlocks:(0,e("core/block-editor").getBlockOrder)(n).length>0}})),Object(le.withDispatch)((function(e,t,n){return{updateAlignment:function(r){var o=t.clientId,a=t.setAttributes,c=e("core/block-editor").updateBlockAttributes,i=n.select("core/block-editor").getBlockRootClientId;a({verticalAlignment:r}),c(i(o),{verticalAlignment:null})},updateWidth:function(r){var o=t.clientId,a=e("core/block-editor").updateBlockAttributes,c=n.select("core/block-editor"),i=c.getBlockRootClientId,l=(0,c.getBlocks)(i(o)),s=function(e,t){var n=Object(te.findIndex)(e,{clientId:t});return n===e.length-1?e.slice(0,n):e.slice(n+1)}(l,o),u=r+ur(Object(te.difference)(l,[Object(te.find)(l,{clientId:o})].concat(Object(W.a)(s)))),b=Object(Q.a)({},br(l,l.length),Object(K.a)({},o,lr(r)),mr(s,100-u,l.length));Object(te.forEach)(b,(function(e,t){a(t,{width:e})}))}}})))((function(e){var t=e.attributes,n=e.className,r=e.updateAlignment,o=e.updateWidth,a=e.hasChildBlocks,c=t.verticalAlignment,i=t.width,l=ee()(n,"block-core-columns",Object(K.a)({},"is-vertically-aligned-".concat(c),c));return Object(Y.createElement)("div",{className:l},Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(Z.BlockVerticalAlignmentToolbar,{onChange:r,value:c})),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Column Settings")},Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Percentage width"),value:i||"",onChange:o,min:0,max:100,required:!0,allowReset:!0}))),Object(Y.createElement)(Z.InnerBlocks,{templateLock:!1,renderAppender:a?void 0:function(){return Object(Y.createElement)(Z.InnerBlocks.ButtonBlockAppender,null)}}))})),Cr=Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.Path,{d:"M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16zm0-11.47L17.74 9 12 13.47 6.26 9 12 4.53z"}));var wr={name:"core/column",category:"common",attributes:{verticalAlignment:{type:"string"},width:{type:"number",min:0,max:100}}},Er=wr.name,xr={title:Object(J.__)("Column"),parent:["core/columns"],icon:Cr,description:Object(J.__)("A single column within a columns block."),supports:{inserter:!1,reusable:!1,html:!1},getEditWrapperProps:function(e){var t=e.width;if(Number.isFinite(t))return{style:{flexBasis:t+"%"}}},edit:kr,save:function(e){var t,n=e.attributes,r=n.verticalAlignment,o=n.width,a=ee()(Object(K.a)({},"is-vertically-aligned-".concat(r),r));return Number.isFinite(o)&&(t={flexBasis:o+"%"}),Object(Y.createElement)("div",{className:a,style:t},Object(Y.createElement)(Z.InnerBlocks.Content,null))}},Sr="image",Tr="video",Nr=50;function Br(e){return e?{backgroundImage:"url(".concat(e,")")}:{}}function Rr(e){return 0!==e&&50!==e&&e?"has-background-dim-"+10*Math.round(e/10):null}var Ar={url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"}},Ir=[{attributes:Object(Q.a)({},Ar,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}}),supports:{align:!0},save:function(e){var t=e.attributes,n=t.backgroundType,r=t.contentAlign,o=t.customOverlayColor,a=t.dimRatio,c=t.focalPoint,i=t.hasParallax,l=t.overlayColor,s=t.title,u=t.url,b=Object(Z.getColorClassName)("background-color",l),m=n===Sr?Br(u):{};b||(m.backgroundColor=o),c&&!i&&(m.backgroundPosition="".concat(100*c.x,"% ").concat(100*c.y,"%"));var d=ee()(Rr(a),b,Object(K.a)({"has-background-dim":0!==a,"has-parallax":i},"has-".concat(r,"-content"),"center"!==r));return Object(Y.createElement)("div",{className:d,style:m},Tr===n&&u&&Object(Y.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),!Z.RichText.isEmpty(s)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:s}))},migrate:function(e){return[Object(te.omit)(e,["title","contentAlign"]),[Object($.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(J.__)("Write title…")})]]}},{attributes:Object(Q.a)({},Ar,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}}),supports:{className:!1},save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,a=t.dimRatio,c=t.align,i=t.contentAlign,l=t.overlayColor,s=t.customOverlayColor,u=Object(Z.getColorClassName)("background-color",l),b=Br(n);u||(b.backgroundColor=s);var m=ee()("wp-block-cover-image",Rr(a),u,Object(K.a)({"has-background-dim":0!==a,"has-parallax":o},"has-".concat(i,"-content"),"center"!==i),c?"align".concat(c):null);return Object(Y.createElement)("div",{className:m,style:b},!Z.RichText.isEmpty(r)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:r}))},migrate:function(e){return[Object(te.omit)(e,["title","contentAlign","align"]),[Object($.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(J.__)("Write title…")})]]}},{attributes:Object(Q.a)({},Ar,{title:{type:"string",source:"html",selector:"h2"},align:{type:"string"},contentAlign:{type:"string",default:"center"}}),supports:{className:!1},save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,a=t.dimRatio,c=t.align,i=Br(n),l=ee()("wp-block-cover-image",Rr(a),{"has-background-dim":0!==a,"has-parallax":o},c?"align".concat(c):null);return Object(Y.createElement)("section",{className:l,style:i},Object(Y.createElement)(Z.RichText.Content,{tagName:"h2",value:r}))},migrate:function(e){return[Object(te.omit)(e,["title","contentAlign","align"]),[Object($.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(J.__)("Write title…")})]]}}],Pr=n(219),Mr=n.n(Pr),Lr=n(48),Hr=n.n(Lr),zr=Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M4 4h7V2H4c-1.1 0-2 .9-2 2v7h2V4zm6 9l-4 5h12l-3-4-2.03 2.71L10 13zm7-4.5c0-.83-.67-1.5-1.5-1.5S14 7.67 14 8.5s.67 1.5 1.5 1.5S17 9.33 17 8.5zM20 2h-7v2h7v7h2V4c0-1.1-.9-2-2-2zm0 18h-7v2h7c1.1 0 2-.9 2-2v-7h-2v7zM4 13H2v7c0 1.1.9 2 2 2h7v-2H4v-7z"}),Object(Y.createElement)(ce.Path,{d:"M0 0h24v24H0z",fill:"none"})),Vr=["image","video"],Dr=[["core/paragraph",{align:"center",fontSize:"large",placeholder:Object(J.__)("Write title…")}]];function Fr(){return Fr.fastAverageColor||(Fr.fastAverageColor=new Mr.a),Fr.fastAverageColor}var Ur=Object(ie.withInstanceId)((function(e){var t=e.value,n=void 0===t?"":t,r=e.instanceId,o=e.onChange,a=Object(Y.useState)(null),c=Object(ae.a)(a,2),i=c[0],l=c[1],s="block-cover-height-input-".concat(r);return Object(Y.createElement)(ce.BaseControl,{label:Object(J.__)("Minimum height in pixels"),id:s},Object(Y.createElement)("input",{type:"number",id:s,onChange:function(e){var t=""!==e.target.value?parseInt(e.target.value,10):void 0;(isNaN(t)||t1&&void 0!==arguments[1]?arguments[1]:50,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=Object(Y.useState)(!1),a=Object(ae.a)(o,2),c=a[0],i=a[1];return Object(Y.useEffect)((function(){e&&t<=50&&r.current&&Fr().getColorAsync(r.current,(function(e){i(e.isDark)}))}),[e,e&&t<=50&&r.current,i]),Object(Y.useEffect)((function(){if(t>50||!e){if(!n)return void i(!0);i(Hr()(n).isDark())}}),[n,t>50||!e,i]),Object(Y.useEffect)((function(){e||n||i(!1)}),[!e&&!n,i]),c}(f,m,i.color,k),w=Object(Y.useState)(null),E=Object(ae.a)(w,2),x=E[0],S=E[1],T=u.removeAllNotices,N=u.createErrorNotice,B=Object(Q.a)({},b===Sr?Br(f):{},{backgroundColor:i.color,minHeight:x||g});j&&!f&&(B.background=j),d&&(B.backgroundPosition="".concat(100*d.x,"% ").concat(100*d.y,"%"));var R=!!(f||i.color||j),A=Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,R&&Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.MediaUploadCheck,null,Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(Z.MediaUpload,{onSelect:_,allowedTypes:Vr,value:p,render:function(e){var t=e.open;return Object(Y.createElement)(ce.IconButton,{className:"components-toolbar__control",label:Object(J.__)("Edit media"),icon:"edit",onClick:t})}}))))),Object(Y.createElement)(Z.InspectorControls,null,!!f&&Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Media Settings")},Sr===b&&Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Fixed Background"),checked:h,onChange:function(){r(Object(Q.a)({hasParallax:!h},h?{}:{focalPoint:void 0}))}}),Sr===b&&!h&&Object(Y.createElement)(ce.FocalPointPicker,{label:Object(J.__)("Focal Point Picker"),url:f,value:d,onChange:function(e){return r({focalPoint:e})}}),Tr===b&&Object(Y.createElement)("video",{autoPlay:!0,muted:!0,loop:!0,src:f}),Object(Y.createElement)(ce.PanelRow,null,Object(Y.createElement)(ce.Button,{isDefault:!0,isSmall:!0,className:"block-library-cover__reset-button",onClick:function(){return r({url:void 0,id:void 0,backgroundType:void 0,dimRatio:void 0,focalPoint:void 0,hasParallax:void 0})}},Object(J.__)("Clear Media")))),R&&Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Dimensions")},Object(Y.createElement)(Ur,{value:x||g,onChange:function(e){return r({minHeight:e})}})),Object(Y.createElement)(Z.PanelColorSettings,{title:Object(J.__)("Overlay"),initialOpen:!0,colorSettings:[{value:i.color,onChange:function(){r({customGradient:void 0}),l.apply(void 0,arguments)},label:Object(J.__)("Overlay Color")}]},Object(Y.createElement)(Z.__experimentalGradientPickerControl,{label:Object(J.__)("Overlay Gradient"),onChange:function(e){y(e),r({overlayColor:void 0})},value:j}),!!f&&Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Background Opacity"),value:m,onChange:function(e){return r({dimRatio:e})},min:0,max:100,step:10,required:!0})))));if(!R){var I=Object(Y.createElement)(Z.BlockIcon,{icon:zr}),P=Object(J.__)("Cover");return Object(Y.createElement)(Y.Fragment,null,A,Object(Y.createElement)(Z.MediaPlaceholder,{icon:I,className:a,labels:{title:P,instructions:Object(J.__)("Upload an image or video file, or pick one from your media library.")},onSelect:_,accept:"image/*,video/*",allowedTypes:Vr,notices:c,onError:function(e){T(),N(e)}},Object(Y.createElement)("div",{className:"wp-block-cover__placeholder-background-options"},Object(Y.createElement)(Z.ColorPalette,{disableCustomColors:!0,value:i.color,onChange:l,clearable:!1}),Object(Y.createElement)(Z.__experimentalGradientPicker,{disableCustomGradients:!0,onChange:function(e){y(e),r({overlayColor:void 0})},value:j,clearable:!1}))))}var M=ee()(a,Rr(m),(t={"is-dark-theme":C,"has-background-dim":0!==m,"has-parallax":h},Object(K.a)(t,i.class,i.class),Object(K.a)(t,"has-background-gradient",j),Object(K.a)(t,O,!f&&O),t));return Object(Y.createElement)(Y.Fragment,null,A,Object(Y.createElement)(qr,{className:ee()("block-library-cover__resize-container",{"is-selected":o}),onResizeStart:function(){return s(!1)},onResize:S,onResizeStop:function(e){s(!0),r({minHeight:e}),S(null)}},Object(Y.createElement)("div",{"data-url":f,style:B,className:M},Sr===b&&Object(Y.createElement)("img",{ref:k,"aria-hidden":!0,alt:"",style:{display:"none"},src:f}),f&&j&&0!==m&&Object(Y.createElement)("span",{"aria-hidden":"true",className:ee()("wp-block-cover__gradient-background",O),style:{background:j}}),Tr===b&&Object(Y.createElement)("video",{ref:k,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:f}),Object(Y.createElement)("div",{className:"wp-block-cover__inner-container"},Object(Y.createElement)(Z.InnerBlocks,{template:Dr})))))}));var Kr={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.caption,n=e.url,r=e.align,o=e.id;return Object($.createBlock)("core/cover",{title:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.caption,n=e.src,r=e.align,o=e.id;return Object($.createBlock)("core/cover",{title:t,url:n,align:r,id:o,backgroundType:Tr})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.backgroundType,n=e.url,r=e.overlayColor,o=e.customOverlayColor,a=e.gradient,c=e.customGradient;return n?t===Sr:!(r||o||a||c)},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object($.createBlock)("core/image",{caption:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.backgroundType,n=e.url,r=e.overlayColor,o=e.customOverlayColor,a=e.gradient,c=e.customGradient;return n?t===Tr:!(r||o||a||c)},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object($.createBlock)("core/video",{caption:t,src:n,id:o,align:r})}}]},Zr={name:"core/cover",category:"common",attributes:{url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"},minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}}},$r=Zr.name,Jr={title:Object(J.__)("Cover"),description:Object(J.__)("Add an image or video with a text overlay — great for headers."),icon:zr,supports:{align:!0,html:!1},example:{attributes:{customOverlayColor:"#065174",dimRatio:40,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:48,content:Object(J.__)("Snow Patrol"),align:"center"}}]},transforms:Kr,save:function(e){var t=e.attributes,n=t.backgroundType,r=t.gradient,o=t.customGradient,a=t.customOverlayColor,c=t.dimRatio,i=t.focalPoint,l=t.hasParallax,s=t.overlayColor,u=t.url,b=t.minHeight,m=Object(Z.getColorClassName)("background-color",s),d=Object(Z.__experimentalGetGradientClass)(r),h=n===Sr?Br(u):{};m||(h.backgroundColor=a),i&&!l&&(h.backgroundPosition="".concat(100*i.x,"% ").concat(100*i.y,"%")),o&&!u&&(h.background=o),h.minHeight=b||void 0;var p=ee()(Rr(c),m,Object(K.a)({"has-background-dim":0!==c,"has-parallax":l,"has-background-gradient":o},d,!u&&d));return Object(Y.createElement)("div",{className:p,style:h},u&&(r||o)&&0!==c&&Object(Y.createElement)("span",{"aria-hidden":"true",className:ee()("wp-block-cover__gradient-background",d),style:o?{background:o}:void 0}),Tr===n&&u&&Object(Y.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),Object(Y.createElement)("div",{className:"wp-block-cover__inner-container"},Object(Y.createElement)(Z.InnerBlocks.Content,null)))},edit:Wr,deprecated:Ir},Qr=function(e){var t=e.blockSupportsResponsive,n=e.showEditButton,r=e.themeSupportsResponsive,o=e.allowResponsive,a=e.getResponsiveHelp,c=e.toggleResponsive,i=e.switchBackToURLInput;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,null,n&&Object(Y.createElement)(ce.IconButton,{className:"components-toolbar__control",label:Object(J.__)("Edit URL"),icon:"edit",onClick:i}))),r&&t&&Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Media Settings"),className:"blocks-responsive"},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Resize for smaller devices"),checked:o,help:a,onChange:c}))))},Yr=function(){return Object(Y.createElement)("div",{className:"wp-block-embed is-loading"},Object(Y.createElement)(ce.Spinner,null),Object(Y.createElement)("p",null,Object(J.__)("Embedding…")))},Xr=function(e){var t=e.icon,n=e.label,r=e.value,o=e.onSubmit,a=e.onChange,c=e.cannotEmbed,i=e.fallback,l=e.tryAgain;return Object(Y.createElement)(ce.Placeholder,{icon:Object(Y.createElement)(Z.BlockIcon,{icon:t,showColors:!0}),label:n,className:"wp-block-embed",instructions:Object(J.__)("Paste a link to the content you want to display on your site.")},Object(Y.createElement)("form",{onSubmit:o},Object(Y.createElement)("input",{type:"url",value:r||"",className:"components-placeholder__input","aria-label":n,placeholder:Object(J.__)("Enter URL to embed here…"),onChange:a}),Object(Y.createElement)(ce.Button,{isLarge:!0,type:"submit"},Object(J._x)("Embed","button label")),c&&Object(Y.createElement)("p",{className:"components-placeholder__error"},Object(J.__)("Sorry, this content could not be embedded."),Object(Y.createElement)("br",null),Object(Y.createElement)(ce.Button,{isLarge:!0,onClick:l},Object(J._x)("Try again","button label"))," ",Object(Y.createElement)(ce.Button,{isLarge:!0,onClick:i},Object(J._x)("Convert to link","button label")))),Object(Y.createElement)("div",{className:"components-placeholder__learn-more"},Object(Y.createElement)(ce.ExternalLink,{href:Object(J.__)("https://wordpress.org/support/article/embeds/")},Object(J.__)("Learn more about embeds"))))},eo=n(84),to=window.FocusEvent,no=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).checkFocus=e.checkFocus.bind(Object(xe.a)(e)),e.node=Object(Y.createRef)(),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"checkFocus",value:function(){var e=document.activeElement;if("IFRAME"===e.tagName&&e.parentNode===this.node.current){var t=new to("focus",{bubbles:!0});e.dispatchEvent(t)}}},{key:"render",value:function(){var e=this.props.html;return Object(Y.createElement)("div",{ref:this.node,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:e}})}}]),t}(Y.Component),ro=Object(ie.withGlobalEvents)({blur:"checkFocus"})(no),oo=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).hideOverlay=e.hideOverlay.bind(Object(xe.a)(e)),e.state={interactive:!1},e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"render",value:function(){var e,t,n,r=this.props,o=r.preview,a=r.url,c=r.type,i=r.caption,l=r.onCaptionChange,s=r.isSelected,u=r.className,b=r.icon,m=r.label,d=o.scripts,h=this.state.interactive,p="photo"===c?(t=(e=o).thumbnail_url?e.thumbnail_url:e.url,n=Object(Y.createElement)("p",null,Object(Y.createElement)("img",{src:t,alt:e.title,width:"100%"})),Object(Y.renderToString)(n)):o.html,g=Object(eo.parse)(a).host.split("."),f=g.splice(g.length-2,g.length-1).join("."),v=Object(te.includes)(Je,f),O=Object(J.sprintf)(Object(J.__)("Embedded content from %s"),f),j=Xe()(c,u,"wp-block-embed__wrapper"),y="wp-embed"===c?Object(Y.createElement)(ro,{html:p}):Object(Y.createElement)("div",{className:"wp-block-embed__wrapper"},Object(Y.createElement)(ce.SandBox,{html:p,scripts:d,title:O,type:j,onFocus:this.hideOverlay}),!h&&Object(Y.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object(Y.createElement)("figure",{className:Xe()(u,"wp-block-embed",{"is-type-video":"video"===c})},v?Object(Y.createElement)(ce.Placeholder,{icon:Object(Y.createElement)(Z.BlockIcon,{icon:b,showColors:!0}),label:m},Object(Y.createElement)("p",{className:"components-placeholder__error"},Object(Y.createElement)("a",{href:a},a)),Object(Y.createElement)("p",{className:"components-placeholder__error"},Object(J.sprintf)(Object(J.__)("Embedded content from %s can't be previewed in the editor."),f))):y,(!Z.RichText.isEmpty(i)||s)&&Object(Y.createElement)(Z.RichText,{tagName:"figcaption",placeholder:Object(J.__)("Write caption…"),value:i,onChange:l,inlineToolbar:!0}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(Y.Component);function ao(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return(function(r){function o(){var e;return Object(ke.a)(this,o),(e=Object(we.a)(this,Object(Ee.a)(o).apply(this,arguments))).switchBackToURLInput=e.switchBackToURLInput.bind(Object(xe.a)(e)),e.setUrl=e.setUrl.bind(Object(xe.a)(e)),e.getMergedAttributes=e.getMergedAttributes.bind(Object(xe.a)(e)),e.setMergedAttributes=e.setMergedAttributes.bind(Object(xe.a)(e)),e.getResponsiveHelp=e.getResponsiveHelp.bind(Object(xe.a)(e)),e.toggleResponsive=e.toggleResponsive.bind(Object(xe.a)(e)),e.handleIncomingPreview=e.handleIncomingPreview.bind(Object(xe.a)(e)),e.state={editingURL:!1,url:e.props.attributes.url},e.props.preview&&e.handleIncomingPreview(),e}return Object(Se.a)(o,r),Object(Ce.a)(o,[{key:"handleIncomingPreview",value:function(){if(this.setMergedAttributes(),this.props.onReplace){var e=ot(this.props,this.getMergedAttributes());e&&this.props.onReplace(e)}}},{key:"componentDidUpdate",value:function(e){var t=void 0!==this.props.preview,n=void 0!==e.preview,r=e.preview&&this.props.preview&&this.props.preview.html!==e.preview.html||t&&!n,o=this.props.attributes.url!==e.attributes.url;if(r||o){if(this.props.cannotEmbed)return void(this.props.fetching||this.resubmitWithoutTrailingSlash());this.handleIncomingPreview()}}},{key:"resubmitWithoutTrailingSlash",value:function(){this.setState((function(e){return{url:e.url.replace(/\/$/,"")}}),this.setUrl)}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;this.setState({editingURL:!1}),n({url:t})}},{key:"getMergedAttributes",value:function(){var t=this.props.preview,r=this.props.attributes,o=r.className,a=r.allowResponsive;return Object(Q.a)({},this.props.attributes,ct(t,e,o,n,a))}},{key:"setMergedAttributes",value:function(){(0,this.props.setAttributes)(this.getMergedAttributes())}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"getResponsiveHelp",value:function(e){return e?Object(J.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(J.__)("This embed may not preserve its aspect ratio when the browser is resized.")}},{key:"toggleResponsive",value:function(){var e=this.props.attributes,t=e.allowResponsive,r=e.className,o=this.props.preview.html,a=!t;this.props.setAttributes({allowResponsive:a,className:at(o,r,n&&a)})}},{key:"render",value:function(){var r=this,o=this.state,a=o.url,c=o.editingURL,i=this.props,l=i.fetching,s=i.setAttributes,u=i.isSelected,b=i.preview,m=i.cannotEmbed,d=i.themeSupportsResponsive,h=i.tryAgain;if(l)return Object(Y.createElement)(Yr,null);var p=Object(J.sprintf)(Object(J.__)("%s URL"),e);if(!b||m||c)return Object(Y.createElement)(Xr,{icon:t,label:p,onSubmit:this.setUrl,value:a,cannotEmbed:m,onChange:function(e){return r.setState({url:e.target.value})},fallback:function(){return function(e,t){var n=Object(Y.createElement)("a",{href:e},e);t(Object($.createBlock)("core/paragraph",{content:Object(Y.renderToString)(n)}))}(a,r.props.onReplace)},tryAgain:h});var g=this.getMergedAttributes(),f=g.caption,v=g.type,O=g.allowResponsive,j=ee()(g.className,this.props.className);return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Qr,{showEditButton:b&&!m,themeSupportsResponsive:d,blockSupportsResponsive:n,allowResponsive:O,getResponsiveHelp:this.getResponsiveHelp,toggleResponsive:this.toggleResponsive,switchBackToURLInput:this.switchBackToURLInput}),Object(Y.createElement)(oo,{preview:b,className:j,url:a,type:v,caption:f,onCaptionChange:function(e){return s({caption:e})},isSelected:u,icon:t,label:p}))}}]),o}(Y.Component))}var co={url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0}};function io(e){var t=e.title,n=e.description,r=e.icon,o=e.category,a=void 0===o?"embed":o,c=e.transforms,i=e.keywords,l=void 0===i?[]:i,s=e.supports,u=void 0===s?{}:s,b=e.responsive,m=void 0===b||b,d=n||Object(J.__)("Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube."),h=ao(t,r,m);return{title:t,description:d,icon:r,category:a,keywords:l,attributes:co,supports:Object(Q.a)({align:!0},u),transforms:c,edit:Object(ie.compose)(Object(le.withSelect)((function(e,t){var n=t.attributes.url,r=e("core"),o=r.getEmbedPreview,a=r.isPreviewEmbedFallback,c=r.isRequestingEmbedPreview,i=r.getThemeSupports,l=void 0!==n&&o(n),s=void 0!==n&&a(n),u=void 0!==n&&c(n),b=i(),m=!!l&&void 0===l.type&&!1===l.html,d=!!l&&l.data&&404===l.data.status,h=!!l&&!m&&!d,p=void 0!==n&&(!h||s);return{preview:h?l:void 0,fetching:u,themeSupportsResponsive:b["responsive-embeds"],cannotEmbed:p}})),Object(le.withDispatch)((function(e,t){var n=t.attributes.url,r=e("core/data");return{tryAgain:function(){r.invalidateResolution("core","getEmbedPreview",[n])}}})))(h),save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,c=n.providerNameSlug;if(!r)return null;var i=Xe()("wp-block-embed",(t={},Object(K.a)(t,"is-type-".concat(a),a),Object(K.a)(t,"is-provider-".concat(c),c),t));return Object(Y.createElement)("figure",{className:i},Object(Y.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(r,"\n")),!Z.RichText.isEmpty(o)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:o}))},deprecated:[{attributes:co,save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,c=n.providerNameSlug;if(!r)return null;var i=Xe()("wp-block-embed",(t={},Object(K.a)(t,"is-type-".concat(a),a),Object(K.a)(t,"is-provider-".concat(c),c),t));return Object(Y.createElement)("figure",{className:i},"\n".concat(r,"\n"),!Z.RichText.isEmpty(o)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:o}))}}]}}var lo="core/embed",so=io({title:Object(J._x)("Embed","block title"),description:Object(J.__)("Embed videos, images, tweets, audio, and other content from external sources."),icon:Ae,responsive:!1,transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)},transform:function(e){return Object($.createBlock)("core/embed",{url:e.textContent.trim()})}}]}}),uo=Ze.map((function(e){return Object(Q.a)({},e,{settings:io(e.settings)})})),bo=$e.map((function(e){return Object(Q.a)({},e,{settings:io(e.settings)})})),mo=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.Path,{d:"M9.17 6l2 2H20v10H4V6h5.17M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"}));function ho(e){var t=e.hrefs,n=e.openInNewWindow,r=e.showDownloadButton,o=e.changeLinkDestinationOption,a=e.changeOpenInNewWindow,c=e.changeShowDownloadButton,i=t.href,l=t.textLinkHref,s=t.attachmentPage,u=[{value:i,label:Object(J.__)("URL")}];return s&&(u=[{value:i,label:Object(J.__)("Media File")},{value:s,label:Object(J.__)("Attachment page")}]),Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Text link settings")},Object(Y.createElement)(ce.SelectControl,{label:Object(J.__)("Link To"),value:l,options:u,onChange:o}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Open in new tab"),checked:n,onChange:a})),Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Download button settings")},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Show download button"),checked:r,onChange:c}))))}var po=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).onSelectFile=e.onSelectFile.bind(Object(xe.a)(e)),e.confirmCopyURL=e.confirmCopyURL.bind(Object(xe.a)(e)),e.resetCopyConfirmation=e.resetCopyConfirmation.bind(Object(xe.a)(e)),e.changeLinkDestinationOption=e.changeLinkDestinationOption.bind(Object(xe.a)(e)),e.changeOpenInNewWindow=e.changeOpenInNewWindow.bind(Object(xe.a)(e)),e.changeShowDownloadButton=e.changeShowDownloadButton.bind(Object(xe.a)(e)),e.onUploadError=e.onUploadError.bind(Object(xe.a)(e)),e.state={hasError:!1,showCopyConfirmation:!1},e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,a=t.setAttributes,c=n.downloadButtonText,i=n.href;Object(Te.isBlobURL)(i)&&(r({filesList:[Object(Te.getBlobByURL)(i)],onFileChange:function(t){var n=Object(ae.a)(t,1)[0];return e.onSelectFile(n)},onError:function(t){e.setState({hasError:!0}),o.createErrorNotice(t)}}),Object(Te.revokeBlobURL)(i));void 0===c&&a({downloadButtonText:Object(J._x)("Download","button label")})}},{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&this.setState({showCopyConfirmation:!1})}},{key:"onSelectFile",value:function(e){e&&e.url&&(this.setState({hasError:!1}),this.props.setAttributes({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id}))}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"confirmCopyURL",value:function(){this.setState({showCopyConfirmation:!0})}},{key:"resetCopyConfirmation",value:function(){this.setState({showCopyConfirmation:!1})}},{key:"changeLinkDestinationOption",value:function(e){this.props.setAttributes({textLinkHref:e})}},{key:"changeOpenInNewWindow",value:function(e){this.props.setAttributes({textLinkTarget:!!e&&"_blank"})}},{key:"changeShowDownloadButton",value:function(e){this.props.setAttributes({showDownloadButton:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.isSelected,o=t.attributes,a=t.setAttributes,c=t.noticeUI,i=t.media,l=o.fileName,s=o.href,u=o.textLinkHref,b=o.textLinkTarget,m=o.showDownloadButton,d=o.downloadButtonText,h=o.id,p=this.state,g=p.hasError,f=p.showCopyConfirmation,v=i&&i.link;if(!s||g)return Object(Y.createElement)(Z.MediaPlaceholder,{icon:Object(Y.createElement)(Z.BlockIcon,{icon:mo}),labels:{title:Object(J.__)("File"),instructions:Object(J.__)("Upload a file or pick one from your media library.")},onSelect:this.onSelectFile,notices:c,onError:this.onUploadError,accept:"*"});var O=ee()(n,{"is-transient":Object(Te.isBlobURL)(s)});return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ho,Object(je.a)({hrefs:{href:s,textLinkHref:u,attachmentPage:v}},{openInNewWindow:!!b,showDownloadButton:m,changeLinkDestinationOption:this.changeLinkDestinationOption,changeOpenInNewWindow:this.changeOpenInNewWindow,changeShowDownloadButton:this.changeShowDownloadButton})),Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(Z.MediaUploadCheck,null,Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(Z.MediaUpload,{onSelect:this.onSelectFile,value:h,render:function(e){var t=e.open;return Object(Y.createElement)(ce.IconButton,{className:"components-toolbar__control",label:Object(J.__)("Edit file"),onClick:t,icon:"edit"})}})))),Object(Y.createElement)(ce.Animate,{type:Object(Te.isBlobURL)(s)?"loading":null},(function(t){var n=t.className;return Object(Y.createElement)("div",{className:ee()(O,n)},Object(Y.createElement)("div",{className:"wp-block-file__content-wrapper"},Object(Y.createElement)("div",{className:"wp-block-file__textlink"},Object(Y.createElement)(Z.RichText,{tagName:"div",value:l,placeholder:Object(J.__)("Write file name…"),withoutInteractiveFormatting:!0,onChange:function(e){return a({fileName:e})}})),m&&Object(Y.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},Object(Y.createElement)(Z.RichText,{tagName:"div",className:"wp-block-file__button",value:d,withoutInteractiveFormatting:!0,placeholder:Object(J.__)("Add text…"),onChange:function(e){return a({downloadButtonText:e})}}))),r&&Object(Y.createElement)(ce.ClipboardButton,{isDefault:!0,text:s,className:"wp-block-file__copy-url-button",onCopy:e.confirmCopyURL,onFinishCopy:e.resetCopyConfirmation,disabled:Object(Te.isBlobURL)(s)},f?Object(J.__)("Copied!"):Object(J.__)("Copy URL")))})))}}]),t}(Y.Component),go=Object(ie.compose)([Object(le.withSelect)((function(e,t){var n=e("core").getMedia,r=(0,e("core/block-editor").getSettings)().mediaUpload,o=t.attributes.id;return{media:void 0===o?void 0:n(o),mediaUpload:r}})),ce.withNotices])(po);var fo={from:[{type:"files",isMatch:function(e){return e.length>0},priority:15,transform:function(e){var t=[];return e.forEach((function(e){var n=Object(Te.createBlobURL)(e);t.push(Object($.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))})),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object($.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/video"],transform:function(e){return Object($.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/image"],transform:function(e){return Object($.createBlock)("core/file",{href:e.url,fileName:e.caption,textLinkHref:e.url,id:e.id})}}],to:[{type:"block",blocks:["core/audio"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(le.select)("core").getMedia)(t);return!!n&&Object(te.includes)(n.mime_type,"audio")},transform:function(e){return Object($.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(le.select)("core").getMedia)(t);return!!n&&Object(te.includes)(n.mime_type,"video")},transform:function(e){return Object($.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(le.select)("core").getMedia)(t);return!!n&&Object(te.includes)(n.mime_type,"image")},transform:function(e){return Object($.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id})}}]},vo={name:"core/file",category:"common",attributes:{id:{type:"number"},href:{type:"string"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"}}},Oo=vo.name,jo={title:Object(J.__)("File"),description:Object(J.__)("Add a link to a downloadable file."),icon:mo,keywords:[Object(J.__)("document"),Object(J.__)("pdf")],supports:{align:!0},transforms:fo,edit:go,save:function(e){var t=e.attributes,n=t.href,r=t.fileName,o=t.textLinkHref,a=t.textLinkTarget,c=t.showDownloadButton,i=t.downloadButtonText;return n&&Object(Y.createElement)("div",null,!Z.RichText.isEmpty(r)&&Object(Y.createElement)("a",{href:o,target:a,rel:!!a&&"noreferrer noopener"},Object(Y.createElement)(Z.RichText.Content,{value:r})),c&&Object(Y.createElement)("a",{href:n,className:"wp-block-file__button",download:!0},Object(Y.createElement)(Z.RichText.Content,{value:i})))}},yo=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).state={isPreview:!1,styles:[]},e.switchToHTML=e.switchToHTML.bind(Object(xe.a)(e)),e.switchToPreview=e.switchToPreview.bind(Object(xe.a)(e)),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"componentDidMount",value:function(){var e=this.props.styles;this.setState({styles:["\n\t\t\thtml,body,:root {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\toverflow: visible !important;\n\t\t\t\tmin-height: auto !important;\n\t\t\t}\n\t\t"].concat(Object(W.a)(Object(Z.transformStyles)(e)))})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"switchToHTML",value:function(){this.setState({isPreview:!1})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=this.state,o=r.isPreview,a=r.styles;return Object(Y.createElement)("div",{className:"wp-block-html"},Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(ce.Button,{className:"components-tab-button ".concat(o?"":"is-active"),onClick:this.switchToHTML},Object(Y.createElement)("span",null,"HTML")),Object(Y.createElement)(ce.Button,{className:"components-tab-button ".concat(o?"is-active":""),onClick:this.switchToPreview},Object(Y.createElement)("span",null,Object(J.__)("Preview"))))),Object(Y.createElement)(ce.Disabled.Consumer,null,(function(e){return o||e?Object(Y.createElement)(ce.SandBox,{html:t.content,styles:a}):Object(Y.createElement)(Z.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(J.__)("Write HTML…"),"aria-label":Object(J.__)("HTML")})})))}}]),t}(Y.Component),_o=Object(le.withSelect)((function(e){return{styles:(0,e("core/block-editor").getSettings)().styles}}))(yo),ko=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M4.5,11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5V11z M7,10.5h1.5V15H10v-4.5h1.5V9H7V10.5z M14.5,10l-1-1H12v6h1.5v-3.9 l1,1l1-1V15H17V9h-1.5L14.5,10z M19.5,13.5V9H18v6h5v-1.5H19.5z"}));var Co={from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("iframe")},schema:{figure:{require:["iframe"],children:{iframe:{attributes:["src","allowfullscreen","height","width"]},figcaption:{children:Object($.getPhrasingContentSchema)()}}}}}]},wo={name:"core/html",category:"formatting",attributes:{content:{type:"string",source:"html"}}},Eo=wo.name,xo={title:Object(J.__)("Custom HTML"),description:Object(J.__)("Add custom HTML code and preview it as you edit."),icon:ko,keywords:[Object(J.__)("embed")],example:{attributes:{content:""+Object(J.__)("Welcome to the wonderful world of blocks…")+""}},supports:{customClassName:!1,className:!1,html:!1},transforms:Co,edit:_o,save:function(e){var t=e.attributes;return Object(Y.createElement)(Y.RawHTML,null,t.content)}},So=Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M18 2l2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2zm2 12H10V4.4L11.8 8H20z"}),Object(Y.createElement)(ce.Path,{d:"M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2z"}),Object(Y.createElement)(ce.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"})),To=["image","video"];function No(e,t){return e?{backgroundImage:"url(".concat(e,")"),backgroundPosition:t?"".concat(100*t.x,"% ").concat(100*t.y,"%"):"50% 50%"}:{}}var Bo=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).onUploadError=e.onUploadError.bind(Object(xe.a)(e)),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"renderToolbarEditButton",value:function(){var e=this.props,t=e.mediaId,n=e.onSelectMedia;return Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(Z.MediaUpload,{onSelect:n,allowedTypes:To,value:t,render:function(e){var t=e.open;return Object(Y.createElement)(ce.IconButton,{className:"components-toolbar__control",label:Object(J.__)("Edit media"),icon:"edit",onClick:t})}})))}},{key:"renderImage",value:function(){var e=this.props,t=e.mediaAlt,n=e.mediaUrl,r=e.className,o=e.imageFill,a=e.focalPoint,c=o?No(n,a):{};return Object(Y.createElement)(Y.Fragment,null,this.renderToolbarEditButton(),Object(Y.createElement)("figure",{className:r,style:c},Object(Y.createElement)("img",{src:n,alt:t})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,n=e.className;return Object(Y.createElement)(Y.Fragment,null,this.renderToolbarEditButton(),Object(Y.createElement)("figure",{className:n},Object(Y.createElement)("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,n=e.className,r=e.noticeUI;return Object(Y.createElement)(Z.MediaPlaceholder,{icon:Object(Y.createElement)(Z.BlockIcon,{icon:So}),labels:{title:Object(J.__)("Media area")},className:n,onSelect:t,accept:"image/*,video/*",allowedTypes:To,notices:r,onError:this.onUploadError})}},{key:"render",value:function(){var e=this.props,t=e.mediaPosition,n=e.mediaUrl,r=e.mediaType,o=e.mediaWidth,a=e.commitWidthChange,c=e.onWidthChange,i=e.toggleSelection;if(r&&n){var l={right:"left"===t,left:"right"===t},s=null;switch(r){case"image":s=this.renderImage();break;case"video":s=this.renderVideo()}return Object(Y.createElement)(ce.ResizableBox,{className:"editor-media-container__resizer",size:{width:o+"%"},minWidth:"10%",maxWidth:"100%",enable:l,onResizeStart:function(){i(!1)},onResize:function(e,t,n){c(parseInt(n.style.width))},onResizeStop:function(e,t,n){i(!0),a(parseInt(n.style.width))},axis:"x"},s)}return this.renderPlaceholder()}}]),t}(Y.Component),Ro=Object(ie.compose)([Object(le.withDispatch)((function(e){return{toggleSelection:e("core/block-editor").toggleSelection}})),ce.withNotices])(Bo),Ao={align:{type:"string",default:"wide"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaPosition:{type:"string",default:"left"},mediaId:{type:"number"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!1}},Io=[{attributes:Object(Q.a)({},Ao,{verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}}),save:function(e){var t,n,r=e.attributes,o=r.backgroundColor,a=r.customBackgroundColor,c=r.isStackedOnMobile,i=r.mediaAlt,l=r.mediaPosition,s=r.mediaType,u=r.mediaUrl,b=r.mediaWidth,m=r.mediaId,d=r.verticalAlignment,h=r.imageFill,p=r.focalPoint,g={image:function(){return Object(Y.createElement)("img",{src:u,alt:i,className:m&&"image"===s?"wp-image-".concat(m):null})},video:function(){return Object(Y.createElement)("video",{controls:!0,src:u})}},f=Object(Z.getColorClassName)("background-color",o),v=ee()((t={"has-media-on-the-right":"right"===l},Object(K.a)(t,f,f),Object(K.a)(t,"is-stacked-on-mobile",c),Object(K.a)(t,"is-vertically-aligned-".concat(d),d),Object(K.a)(t,"is-image-fill",h),t)),O=h?No(u,p):{};50!==b&&(n="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var j={backgroundColor:f?void 0:a,gridTemplateColumns:n};return Object(Y.createElement)("div",{className:v,style:j},Object(Y.createElement)("figure",{className:"wp-block-media-text__media",style:O},(g[s]||te.noop)()),Object(Y.createElement)("div",{className:"wp-block-media-text__content"},Object(Y.createElement)(Z.InnerBlocks.Content,null)))}},{attributes:Ao,save:function(e){var t,n,r=e.attributes,o=r.backgroundColor,a=r.customBackgroundColor,c=r.isStackedOnMobile,i=r.mediaAlt,l=r.mediaPosition,s=r.mediaType,u=r.mediaUrl,b=r.mediaWidth,m={image:function(){return Object(Y.createElement)("img",{src:u,alt:i})},video:function(){return Object(Y.createElement)("video",{controls:!0,src:u})}},d=Object(Z.getColorClassName)("background-color",o),h=ee()((t={"has-media-on-the-right":"right"===l},Object(K.a)(t,d,d),Object(K.a)(t,"is-stacked-on-mobile",c),t));50!==b&&(n="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var p={backgroundColor:d?void 0:a,gridTemplateColumns:n};return Object(Y.createElement)("div",{className:h,style:p},Object(Y.createElement)("figure",{className:"wp-block-media-text__media"},(m[s]||te.noop)()),Object(Y.createElement)("div",{className:"wp-block-media-text__content"},Object(Y.createElement)(Z.InnerBlocks.Content,null)))}}],Po=[["core/paragraph",{fontSize:"large",placeholder:Object(J._x)("Content…","content placeholder")}]],Mo=function(e){return Math.max(15,Math.min(e,85))},Lo=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).onSelectMedia=e.onSelectMedia.bind(Object(xe.a)(e)),e.onWidthChange=e.onWidthChange.bind(Object(xe.a)(e)),e.commitWidthChange=e.commitWidthChange.bind(Object(xe.a)(e)),e.state={mediaWidth:null},e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"onSelectMedia",value:function(e){var t,n,r=this.props.setAttributes;"image"===(t=e.media_type?"image"===e.media_type?"image":"video":e.type)&&(n=Object(te.get)(e,["sizes","large","url"])||Object(te.get)(e,["media_details","sizes","large","source_url"])),r({mediaAlt:e.alt,mediaId:e.id,mediaType:t,mediaUrl:n||e.url,focalPoint:void 0})}},{key:"onWidthChange",value:function(e){this.setState({mediaWidth:Mo(e)})}},{key:"commitWidthChange",value:function(e){(0,this.props.setAttributes)({mediaWidth:Mo(e)}),this.setState({mediaWidth:null})}},{key:"renderMediaArea",value:function(){var e=this.props.attributes,t=e.mediaAlt,n=e.mediaId,r=e.mediaPosition,o=e.mediaType,a=e.mediaUrl,c=e.mediaWidth,i=e.imageFill,l=e.focalPoint;return Object(Y.createElement)(Ro,Object(je.a)({className:"block-library-media-text__media-container",onSelectMedia:this.onSelectMedia,onWidthChange:this.onWidthChange,commitWidthChange:this.commitWidthChange},{mediaAlt:t,mediaId:n,mediaType:o,mediaUrl:a,mediaPosition:r,mediaWidth:c,imageFill:i,focalPoint:l}))}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.className,o=t.backgroundColor,a=t.isSelected,c=t.setAttributes,i=t.setBackgroundColor,l=n.isStackedOnMobile,s=n.mediaAlt,u=n.mediaPosition,b=n.mediaType,m=n.mediaWidth,d=n.verticalAlignment,h=n.mediaUrl,p=n.imageFill,g=n.focalPoint,f=this.state.mediaWidth,v=ee()(r,(e={"has-media-on-the-right":"right"===u,"is-selected":a,"has-background":o.class||o.color},Object(K.a)(e,o.class,o.class),Object(K.a)(e,"is-stacked-on-mobile",l),Object(K.a)(e,"is-vertically-aligned-".concat(d),d),Object(K.a)(e,"is-image-fill",p),e)),O="".concat(f||m,"%"),j="right"===u?"1fr ".concat(O):"".concat(O," 1fr"),y={gridTemplateColumns:j,msGridColumns:j,backgroundColor:o.color},_=[{value:o.color,onChange:i,label:Object(J.__)("Background Color")}],k=[{icon:"align-pull-left",title:Object(J.__)("Show media on left"),isActive:"left"===u,onClick:function(){return c({mediaPosition:"left"})}},{icon:"align-pull-right",title:Object(J.__)("Show media on right"),isActive:"right"===u,onClick:function(){return c({mediaPosition:"right"})}}],C=Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Media & Text Settings")},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Stack on mobile"),checked:l,onChange:function(){return c({isStackedOnMobile:!l})}}),"image"===b&&Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Crop image to fill entire column"),checked:p,onChange:function(){return c({imageFill:!p})}}),p&&Object(Y.createElement)(ce.FocalPointPicker,{label:Object(J.__)("Focal Point Picker"),url:h,value:g,onChange:function(e){return c({focalPoint:e})}}),"image"===b&&Object(Y.createElement)(ce.TextareaControl,{label:Object(J.__)("Alt Text (Alternative Text)"),value:s,onChange:function(e){c({mediaAlt:e})},help:Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(J.__)("Describe the purpose of the image")),Object(J.__)("Leave empty if the image is purely decorative."))}));return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.InspectorControls,null,C,Object(Y.createElement)(Z.PanelColorSettings,{title:Object(J.__)("Color Settings"),initialOpen:!1,colorSettings:_})),Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,{controls:k}),Object(Y.createElement)(Z.BlockVerticalAlignmentToolbar,{onChange:function(e){c({verticalAlignment:e})},value:d})),Object(Y.createElement)("div",{className:v,style:y},this.renderMediaArea(),Object(Y.createElement)(Z.InnerBlocks,{template:Po,templateInsertUpdatesSelection:!1})))}}]),t}(Y.Component),Ho=Object(Z.withColors)("backgroundColor")(Lo),zo=Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z"})),Vo=50;var Do={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.alt,n=e.url,r=e.id;return Object($.createBlock)("core/media-text",{mediaAlt:t,mediaId:r,mediaUrl:n,mediaType:"image"})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.src,n=e.id;return Object($.createBlock)("core/media-text",{mediaId:n,mediaUrl:t,mediaType:"video"})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"image"===t},transform:function(e){var t=e.mediaAlt,n=e.mediaId,r=e.mediaUrl;return Object($.createBlock)("core/image",{alt:t,id:n,url:r})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"video"===t},transform:function(e){var t=e.mediaId,n=e.mediaUrl;return Object($.createBlock)("core/video",{id:t,src:n})}}]},Fo={name:"core/media-text",category:"layout",attributes:{align:{type:"string",default:"wide"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaPosition:{type:"string",default:"left"},mediaId:{type:"number"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!0},verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}}},Uo=Fo.name,Go={title:Object(J.__)("Media & Text"),description:Object(J.__)("Set media and words side-by-side for a richer layout."),icon:zo,keywords:[Object(J.__)("image"),Object(J.__)("video")],supports:{align:["wide","full"],html:!1},example:{attributes:{mediaType:"image",mediaUrl:"https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{content:Object(J.__)("The wren
    Earns his living
    Noiselessly.")}},{name:"core/paragraph",attributes:{content:Object(J.__)("— Kobayashi Issa (一茶)")}}]},transforms:Do,edit:Ho,save:function(e){var t,n,r=e.attributes,o=r.backgroundColor,a=r.customBackgroundColor,c=r.isStackedOnMobile,i=r.mediaAlt,l=r.mediaPosition,s=r.mediaType,u=r.mediaUrl,b=r.mediaWidth,m=r.mediaId,d=r.verticalAlignment,h=r.imageFill,p=r.focalPoint,g={image:function(){return Object(Y.createElement)("img",{src:u,alt:i,className:m&&"image"===s?"wp-image-".concat(m):null})},video:function(){return Object(Y.createElement)("video",{controls:!0,src:u})}},f=Object(Z.getColorClassName)("background-color",o),v=ee()((t={"has-media-on-the-right":"right"===l,"has-background":f||a},Object(K.a)(t,f,f),Object(K.a)(t,"is-stacked-on-mobile",c),Object(K.a)(t,"is-vertically-aligned-".concat(d),d),Object(K.a)(t,"is-image-fill",h),t)),O=h?No(u,p):{};b!==Vo&&(n="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var j={backgroundColor:f?void 0:a,gridTemplateColumns:n};return Object(Y.createElement)("div",{className:v,style:j},Object(Y.createElement)("figure",{className:"wp-block-media-text__media",style:O},(g[s]||te.noop)()),Object(Y.createElement)("div",{className:"wp-block-media-text__content"},Object(Y.createElement)(Z.InnerBlocks.Content,null)))},deprecated:Io};function qo(e){var t=e.clientId,n=Object(le.useSelect)((function(e){var n=e("core/block-editor"),r=n.getSelectedBlockClientId;return{block:(0,n.getBlock)(t),selectedBlockClientId:r()}}),[t]),r=n.block,o=n.selectedBlockClientId,a=Object(le.useDispatch)("core/block-editor").selectBlock;return Object(Y.createElement)(Z.__experimentalBlockNavigationList,{blocks:[r],selectedBlockClientId:o,selectBlock:a,showNestedBlocks:!0,showAppender:!0})}var Wo=Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(Y.createElement)(ce.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));var Ko=function(){return Object(Y.createElement)(ce.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(Y.createElement)(ce.Path,{d:"M7.434 5l3.18 9.16H8.538l-.692-2.184H4.628l-.705 2.184H2L5.18 5h2.254zm-1.13 1.904h-.115l-1.148 3.593H7.44L6.304 6.904zM14.348 7.006c1.853 0 2.9.876 2.9 2.374v4.78h-1.79v-.914h-.114c-.362.64-1.123 1.022-2.031 1.022-1.346 0-2.292-.826-2.292-2.108 0-1.27.972-2.006 2.71-2.107l1.696-.102V9.38c0-.584-.42-.914-1.18-.914-.667 0-1.112.228-1.264.647h-1.701c.12-1.295 1.307-2.107 3.066-2.107zm1.079 4.1l-1.416.09c-.793.056-1.18.342-1.18.844 0 .52.45.837 1.091.837.857 0 1.505-.545 1.505-1.256v-.515z"}))},Zo=function(e){var t=e.color;return Object(Y.createElement)("div",{className:"block-library-colors-selector__icon-container"},Object(Y.createElement)("div",{className:"block-library-colors-selector__state-selection",style:Object(Q.a)({},t&&{color:t})},Object(Y.createElement)(Ko,null)))},$o=function(e){var t=e.value,n=e.onChange,r=void 0===n?te.noop:n;return function(){return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)("div",{className:"color-palette-controller-container"},Object(Y.createElement)(Z.ColorPaletteControl,{value:t,onChange:r,label:Object(J.__)("Text Color")})))}},Jo=function(e){return Object(Y.createElement)(ce.Dropdown,{position:"bottom right",className:"block-library-colors-selector",contentClassName:"block-library-colors-selector__popover",renderToggle:(t=e,n=t.value,function(e){var t=e.onToggle,r=e.isOpen;return Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(ce.IconButton,{className:"components-icon-button components-toolbar__control block-library-colors-selector__toggle",label:Object(J.__)("Open Colors Selector"),onClick:t,onKeyDown:function(e){r||e.keyCode!==Ne.DOWN||(e.preventDefault(),e.stopPropagation(),t())},icon:Object(Y.createElement)(Zo,{color:n})}))}),renderContent:$o(e)});var t,n},Qo=Object(Y.createElement)(ce.SVG,{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M11 16v-3h10v-2H11V8l-4 4 4 4zM5 4H3v16h2V4z"})),Yo=Object(Y.createElement)(ce.SVG,{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M5 8v3H1v2h4v3l4-4-4-4zm14 8v-3h4v-2h-4V8l-4 4 4 4zM13 4h-2v16h2V4z"})),Xo=Object(Y.createElement)(ce.SVG,{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M13 8v3H3v2h10v3l4-4-4-4zm8-4h-2v16h2V4z"}));var ea=Object(ie.compose)([Object(le.withSelect)((function(e,t){var n,r,o=t.clientId,a={parent:0,order:"asc",orderby:"id"},c=["core","getEntityRecords",["postType","page",a]];return{hasExistingNavItems:!!e("core/block-editor").getBlocks(o).length,pages:e("core").getEntityRecords("postType","page",a),isRequestingPages:(n=e("core/data")).isResolving.apply(n,c),hasResolvedPages:(r=e("core/data")).hasFinishedResolution.apply(r,c)}})),Object(le.withDispatch)((function(e,t){var n=t.clientId;return{updateNavItemBlocks:function(t){e("core/block-editor").replaceInnerBlocks(n,t)}}}))])((function(e){var t=e.attributes,n=e.clientId,r=e.pages,o=e.isRequestingPages,a=e.hasResolvedPages,c=e.hasExistingNavItems,i=e.updateNavItemBlocks,l=e.setAttributes,s=Object(Z.__experimentalUseColors)([{name:"textColor",property:"color"}]).TextColor,u=function(e){var t=Object(Y.useState)(!1),n=Object(ae.a)(t,2),r=n[0],o=n[1];return{navigatorToolbarButton:Object(Y.createElement)(ce.IconButton,{className:"components-toolbar__control",label:Object(J.__)("Open block navigator"),onClick:function(){return o(!0)},icon:Wo}),navigatorModal:r&&Object(Y.createElement)(ce.Modal,{title:Object(J.__)("Block Navigator"),closeLabel:Object(J.__)("Close"),onRequestClose:function(){o(!1)}},Object(Y.createElement)(qo,{clientId:e}))}}(n),b=u.navigatorToolbarButton,m=u.navigatorModal,d=Object(Y.useMemo)((function(){return r?r.map((function(e){var t=e.title,n=e.type,r=e.link,o=e.id;return Object($.createBlock)("core/navigation-link",{type:n,id:o,url:r,label:Object(te.escape)(t.rendered),title:Object(te.escape)(t.raw),opensInNewTab:!1})})):null}),[r]);function h(e){return function(){var n=t.itemsJustification===e?void 0:e;l({itemsJustification:n})}}var p=a&&r&&r.length,g=ee()("wp-block-navigation",Object(K.a)({},"items-justification-".concat(t.itemsJustification),t.itemsJustification));return c?Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.Toolbar,{icon:t.itemsJustification?y["justify".concat(Object(te.upperFirst)(t.itemsJustification),"Icon")]:Qo,label:Object(J.__)("Change items justification"),isCollapsed:!0,controls:[{icon:Qo,title:Object(J.__)("Justify items left"),isActive:"left"===t.itemsJustification,onClick:h("left")},{icon:Yo,title:Object(J.__)("Justify items center"),isActive:"center"===t.itemsJustification,onClick:h("center")},{icon:Xo,title:Object(J.__)("Justify items right"),isActive:"right"===t.itemsJustification,onClick:h("right")}]}),Object(Y.createElement)(ce.ToolbarGroup,null,b),Object(Y.createElement)(Jo,{value:s.color,onChange:s.setColor})),m,Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Navigation Structure")},Object(Y.createElement)(qo,{clientId:n}))),Object(Y.createElement)(s,null,Object(Y.createElement)("div",{className:g},!c&&o&&Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.Spinner,null)," ",Object(J.__)("Loading Navigation…")," "),Object(Y.createElement)(Z.InnerBlocks,{allowedBlocks:["core/navigation-link"],templateInsertUpdatesSelection:!1,__experimentalMoverDirection:"horizontal"})))):Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.Placeholder,{className:"wp-block-navigation-placeholder",icon:"menu",label:Object(J.__)("Navigation"),instructions:Object(J.__)("Create a Navigation from all existing pages, or create an empty one.")},Object(Y.createElement)("div",{className:"wp-block-navigation-placeholder__buttons"},Object(Y.createElement)(ce.Button,{isDefault:!0,className:"wp-block-navigation-placeholder__button",onClick:function(){i(d)},disabled:!p},Object(J.__)("Create from all top pages")),Object(Y.createElement)(ce.Button,{isLink:!0,className:"wp-block-navigation-placeholder__button",onClick:function(){var e=Object($.createBlock)("core/navigation-link");i([e])}},Object(J.__)("Create empty")))))}));var ta="core/navigation",na={title:Object(J.__)("Navigation"),icon:"menu",description:Object(J.__)("Add a navigation block to your site."),keywords:[Object(J.__)("menu"),Object(J.__)("navigation"),Object(J.__)("links")],category:"layout",supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0},styles:[{name:"light",label:Object(J.__)("Light"),isDefault:!0},{name:"dark",label:Object(J.__)("Dark")}],edit:ea,save:function(){return Object(Y.createElement)(Z.InnerBlocks.Content,null)}},ra=function(e){return function(t,n){e(Object(K.a)({},t,n))}},oa=function(e,t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.title,o=void 0===r?"":r,a=n.url,c=void 0===a?"":a;e({title:Object(te.escape)(o),url:c}),t||e({label:Object(te.escape)(o)})}};var aa=Object(ie.compose)([Object(le.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.getClientIdsOfDescendants,o=n.hasSelectedInnerBlock,a=t.clientId;return{isParentOfSelectedBlock:o(a,!0),hasDescendants:!!r([a]).length}})),Object(le.withDispatch)((function(e,t,n){return{insertLinkBlock:function(){var r=t.clientId,o=e("core/block-editor").insertBlock,a=(0,n.select("core/block-editor").getClientIdsOfDescendants)([r]),c=a.length?a.length:0;o(Object($.createBlock)("core/navigation-link"),c,r)}}}))])((function(e){var t=e.attributes,n=e.hasDescendants,r=e.isSelected,o=e.isParentOfSelectedBlock,a=e.setAttributes,c=e.insertLinkBlock,i=t.label,l=t.opensInNewTab,s=t.title,u=t.url,b=t.nofollow,m=t.description,d=s?{title:Object(te.unescape)(s),url:u}:null,h=Object(Y.useState)(!i&&r),p=Object(ae.a)(h,2),g=p[0],f=p[1],v=null;Object(Y.useEffect)((function(){return r||f(!1),function(){v&&clearTimeout(v)}}),[r]);var O=function(){g||f(!g)},j=Object(J.__)("Add link…");return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(ce.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(K.a)({},Ne.rawShortcut.primary("k"),O)}),Object(Y.createElement)(ce.ToolbarButton,{name:"link",icon:"admin-links",title:Object(J.__)("Link"),shortcut:Ne.displayShortcut.primary("k"),onClick:O}),Object(Y.createElement)(ce.ToolbarButton,{name:"submenu",icon:Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},Object(Y.createElement)(ce.Path,{d:"M14 5h8v2h-8zm0 5.5h8v2h-8zm0 5.5h8v2h-8zM2 11.5C2 15.08 4.92 18 8.5 18H9v2l3-3-3-3v2h-.5C6.02 16 4 13.98 4 11.5S6.02 7 8.5 7H12V5H8.5C4.92 5 2 7.92 2 11.5z"}),Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0z"})),title:Object(J.__)("Add Submenu"),onClick:c}))),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Link Settings")},Object(Y.createElement)(ce.TextareaControl,{value:m||"",onChange:function(e){a({description:e})},label:Object(J.__)("Description")})),Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("SEO Settings")},Object(Y.createElement)(ce.TextControl,{value:s||"",onChange:function(e){a({title:e})},label:Object(J.__)("Title Attribute"),help:Object(J.__)("Provide more context about where the link goes.")}),Object(Y.createElement)(ce.ToggleControl,{checked:b,onChange:function(e){a({nofollow:e})},label:Object(J.__)("Add nofollow to link"),help:Object(Y.createElement)(Y.Fragment,null,Object(J.__)("Don't let search engines follow this link."),Object(Y.createElement)(ce.ExternalLink,{className:"wp-block-navigation-link__nofollow-external-link",href:Object(J.__)("https://codex.wordpress.org/Nofollow")},Object(J.__)("What's this?")))}))),Object(Y.createElement)("div",{className:ee()("wp-block-navigation-link",{"is-editing":r||o,"is-selected":r,"has-link":!!u})},Object(Y.createElement)("div",null,Object(Y.createElement)(Z.RichText,{className:"wp-block-navigation-link__content",value:i,onChange:function(e){return a({label:e})},placeholder:j,withoutInteractiveFormatting:!0}),g&&Object(Y.createElement)(Z.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",onKeyDown:function(e){var t=e.keyCode;[Ne.LEFT,Ne.DOWN,Ne.RIGHT,Ne.UP,Ne.BACKSPACE,Ne.ENTER].indexOf(t)>-1&&e.stopPropagation()},onKeyPress:function(e){return e.stopPropagation()},currentLink:d,onLinkChange:oa(a,i),onClose:function(){v=setTimeout((function(){return f(!1)}),100)},currentSettings:[{id:"opensInNewTab",title:Object(J.__)("Open in new tab"),checked:l}],onSettingsChange:ra(a)})),Object(Y.createElement)(Z.InnerBlocks,{allowedBlocks:["core/navigation-link"],renderAppender:!!n&&Z.InnerBlocks.ButtonBlockAppender})))}));var ca={name:"core/navigation-link",category:"layout",attributes:{label:{type:"string"},nofollow:{type:"boolean",default:!1},title:{type:"string"},type:{type:"string"},description:{type:"string"},id:{type:"number"},opensInNewTab:{type:"boolean",default:!1},url:{type:"string"}}},ia=ca.name,la={title:Object(J.__)("Navigation Link"),parent:["core/navigation"],icon:Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},Object(Y.createElement)(ce.Path,{d:"M12 7.27l4.28 10.43-3.47-1.53-.81-.36-.81.36-3.47 1.53L12 7.27M12 2L4.5 20.29l.71.71L12 18l6.79 3 .71-.71L12 2z"})),description:Object(J.__)("Add a page, link, or other item to your navigation."),__experimentalDisplayName:"label",edit:aa,save:function(){return Object(Y.createElement)(Z.InnerBlocks.Content,null)}},sa=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).setCommentsToShow=e.setCommentsToShow.bind(Object(xe.a)(e)),e.toggleDisplayAvatar=e.createToggleAttribute("displayAvatar"),e.toggleDisplayDate=e.createToggleAttribute("displayDate"),e.toggleDisplayExcerpt=e.createToggleAttribute("displayExcerpt"),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"createToggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(K.a)({},e,!n))}}},{key:"setCommentsToShow",value:function(e){this.props.setAttributes({commentsToShow:e})}},{key:"render",value:function(){var e=this.props.attributes,t=e.commentsToShow,n=e.displayAvatar,r=e.displayDate,o=e.displayExcerpt;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Latest Comments Settings")},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Display Avatar"),checked:n,onChange:this.toggleDisplayAvatar}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Display Date"),checked:r,onChange:this.toggleDisplayDate}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Display Excerpt"),checked:o,onChange:this.toggleDisplayExcerpt}),Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Number of Comments"),value:t,onChange:this.setCommentsToShow,min:1,max:100,required:!0}))),Object(Y.createElement)(ce.Disabled,null,Object(Y.createElement)(dn.a,{block:"core/latest-comments",attributes:this.props.attributes})))}}]),t}(Y.Component),ua=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM20 4v13.17L18.83 16H4V4h16zM6 12h12v2H6zm0-3h12v2H6zm0-3h12v2H6z"}))),ba="core/latest-comments",ma={title:Object(J.__)("Latest Comments"),description:Object(J.__)("Display a list of your most recent comments."),icon:ua,category:"widgets",keywords:[Object(J.__)("recent comments")],supports:{align:!0,html:!1},edit:sa},da=n(37),ha=n.n(da),pa=n(54),ga={per_page:-1},fa=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).state={categoriesList:[]},e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=ha()({path:Object(Be.addQueryArgs)("/wp/v2/categories",ga)}).then((function(t){e.isStillMounted&&e.setState({categoriesList:t})})).catch((function(){e.isStillMounted&&e.setState({categoriesList:[]})}))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.latestPosts,o=this.state.categoriesList,a=t.displayPostContentRadio,c=t.displayPostContent,i=t.displayPostDate,l=t.postLayout,s=t.columns,u=t.order,b=t.orderBy,m=t.categories,d=t.postsToShow,h=t.excerptLength,p=Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Post Content Settings")},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Post Content"),checked:c,onChange:function(e){return n({displayPostContent:e})}}),c&&Object(Y.createElement)(ce.RadioControl,{label:"Show:",selected:a,options:[{label:"Excerpt",value:"excerpt"},{label:"Full Post",value:"full_post"}],onChange:function(e){return n({displayPostContentRadio:e})}}),c&&"excerpt"===a&&Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Max number of words in excerpt"),value:h,onChange:function(e){return n({excerptLength:e})},min:10,max:100})),Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Post Meta Settings")},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Display post date"),checked:i,onChange:function(e){return n({displayPostDate:e})}})),Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Sorting and Filtering")},Object(Y.createElement)(ce.QueryControls,Object(je.a)({order:u,orderBy:b},{numberOfItems:d,categoriesList:o,selectedCategoryId:m,onOrderChange:function(e){return n({order:e})},onOrderByChange:function(e){return n({orderBy:e})},onCategoryChange:function(e){return n({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return n({postsToShow:e})}})),"grid"===l&&Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Columns"),value:s,onChange:function(e){return n({columns:e})},min:2,max:g?Math.min(6,r.length):6,required:!0}))),g=Array.isArray(r)&&r.length;if(!g)return Object(Y.createElement)(Y.Fragment,null,p,Object(Y.createElement)(ce.Placeholder,{icon:"admin-post",label:Object(J.__)("Latest Posts")},Array.isArray(r)?Object(J.__)("No posts found."):Object(Y.createElement)(ce.Spinner,null)));var f=r.length>d?r.slice(0,d):r,v=[{icon:"list-view",title:Object(J.__)("List view"),onClick:function(){return n({postLayout:"list"})},isActive:"list"===l},{icon:"grid-view",title:Object(J.__)("Grid view"),onClick:function(){return n({postLayout:"grid"})},isActive:"grid"===l}],O=Object(pa.__experimentalGetSettings)().formats.date;return Object(Y.createElement)(Y.Fragment,null,p,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,{controls:v})),Object(Y.createElement)("ul",{className:ee()(this.props.className,Object(K.a)({"wp-block-latest-posts__list":!0,"is-grid":"grid"===l,"has-dates":i},"columns-".concat(s),"grid"===l))},f.map((function(e,t){var n=e.title.rendered.trim(),r=e.excerpt.rendered;""===e.excerpt.raw&&(r=e.content.raw);var o=document.createElement("div");return o.innerHTML=r,r=o.textContent||o.innerText||"",Object(Y.createElement)("li",{key:t},Object(Y.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},n?Object(Y.createElement)(Y.RawHTML,null,n):Object(J.__)("(no title)")),i&&e.date_gmt&&Object(Y.createElement)("time",{dateTime:Object(pa.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(pa.dateI18n)(O,e.date_gmt)),c&&"excerpt"===a&&Object(Y.createElement)("div",{className:"wp-block-latest-posts__post-excerpt"},Object(Y.createElement)(Y.RawHTML,{key:"html"},h'+Object(J.__)("Read more")+"":r.trim().split(" ",h).join(" "))),c&&"full_post"===a&&Object(Y.createElement)("div",{className:"wp-block-latest-posts__post-full-content"},Object(Y.createElement)(Y.RawHTML,{key:"html"},e.content.raw.trim())))}))))}}]),t}(Y.Component),va=Object(le.withSelect)((function(e,t){var n=t.attributes,r=n.postsToShow,o=n.order,a=n.orderBy,c=n.categories;return{latestPosts:(0,e("core").getEntityRecords)("postType","post",Object(te.pickBy)({categories:c,order:o,orderby:a,per_page:r},(function(e){return!Object(te.isUndefined)(e)})))}}))(fa),Oa=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Rect,{x:"11",y:"7",width:"6",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"11",y:"11",width:"6",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"11",y:"15",width:"6",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"7",y:"7",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"7",y:"11",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"7",y:"15",width:"2",height:"2"}),Object(Y.createElement)(ce.Path,{d:"M20.1,3H3.9C3.4,3,3,3.4,3,3.9v16.2C3,20.5,3.4,21,3.9,21h16.2c0.4,0,0.9-0.5,0.9-0.9V3.9C21,3.4,20.5,3,20.1,3z M19,19H5V5h14V19z"})),ja="core/latest-posts",ya={title:Object(J.__)("Latest Posts"),description:Object(J.__)("Display a list of your most recent posts."),icon:Oa,category:"widgets",keywords:[Object(J.__)("recent posts")],supports:{align:!0,html:!1},edit:va},_a=function(e){var t=e.setAttributes,n=e.reversed,r=e.start;return Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Ordered List Settings")},Object(Y.createElement)(ce.TextControl,{label:Object(J.__)("Start Value"),type:"number",onChange:function(e){var n=parseInt(e,10);t({start:isNaN(n)?void 0:n})},value:Number.isInteger(r)?r.toString(10):"",step:"1"}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Reverse List Numbering"),checked:n||!1,onChange:function(e){t({reversed:e||void 0})}})))};var ka=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M9 19h12v-2H9v2zm0-6h12v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"})));var Ca=Object(Q.a)({},Object($.getPhrasingContentSchema)(),{ul:{},ol:{attributes:["type","start","reversed"]}});["ul","ol"].forEach((function(e){Ca[e].children={li:{children:Ca}}}));var wa={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object($.createBlock)("core/list",{values:Object(zt.toHTMLString)({value:Object(zt.join)(e.map((function(t){var n=t.content,r=Object(zt.create)({html:n});return e.length>1?r:Object(zt.replace)(r,/\n/g,zt.__UNSTABLE_LINE_SEPARATOR)})),zt.__UNSTABLE_LINE_SEPARATOR),multilineTag:"li"})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value;return Object($.createBlock)("core/list",{values:Object(zt.toHTMLString)({value:Object(zt.create)({html:t,multilineTag:"p"}),multilineTag:"li"})})}},{type:"raw",selector:"ol,ul",schema:{ol:Ca.ol,ul:Ca.ul},transform:function(e){var t={ordered:"OL"===e.nodeName};if(t.ordered){var n=e.getAttribute("type");n&&(t.type=n),null!==e.getAttribute("reversed")&&(t.reversed=!0);var r=parseInt(e.getAttribute("start"),10);isNaN(r)||1===r&&!t.reversed||(t.start=r)}return Object($.createBlock)("core/list",Object(Q.a)({},Object($.getBlockAttributes)("core/list",e.outerHTML),t))}}].concat(Object(W.a)(["*","-"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object($.createBlock)("core/list",{values:"
  • ".concat(e,"
  • ")})}}}))),Object(W.a)(["1.","1)"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object($.createBlock)("core/list",{ordered:!0,values:"
  • ".concat(e,"
  • ")})}}})))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(zt.split)(Object(zt.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),zt.__UNSTABLE_LINE_SEPARATOR).map((function(e){return Object($.createBlock)("core/paragraph",{content:Object(zt.toHTMLString)({value:e})})}))}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object($.createBlock)("core/quote",{value:Object(zt.toHTMLString)({value:Object(zt.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"})})}}]},Ea={name:"core/list",category:"common",attributes:{ordered:{type:"boolean",default:!1},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",__unstableMultilineWrapperTags:["ol","ul"],default:""},type:{type:"string"},start:{type:"number"},reversed:{type:"boolean"}}},xa=Ea.name,Sa={title:Object(J.__)("List"),description:Object(J.__)("Create a bulleted or numbered list."),icon:ka,keywords:[Object(J.__)("bullet list"),Object(J.__)("ordered list"),Object(J.__)("numbered list")],supports:{className:!1},example:{attributes:{values:"
  • Alice.
  • The White Rabbit.
  • The Cheshire Cat.
  • The Mad Hatter.
  • The Queen of Hearts.
  • "}},transforms:wa,merge:function(e,t){var n=t.values;return n&&"
  • "!==n?Object(Q.a)({},e,{values:e.values+n}):e},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.mergeBlocks,o=e.onReplace,a=e.className,c=t.ordered,i=t.values,l=t.type,s=t.reversed,u=t.start,b=c?"ol":"ul";return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.RichText,{identifier:"values",multiline:"li",tagName:b,onChange:function(e){return n({values:e})},value:i,className:a,placeholder:Object(J.__)("Write list…"),onMerge:r,onSplit:function(e){return Object($.createBlock)(xa,Object(Q.a)({},t,{values:e}))},__unstableOnSplitMiddle:function(){return Object($.createBlock)("core/paragraph")},onReplace:o,onRemove:function(){return o([])},start:u,reversed:s,type:l},(function(e){var t=e.value,r=e.onChange;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.RichTextShortcut,{type:"primary",character:"[",onUse:function(){r(Object(zt.__unstableOutdentListItems)(t))}}),Object(Y.createElement)(Z.RichTextShortcut,{type:"primary",character:"]",onUse:function(){r(Object(zt.__unstableIndentListItems)(t,{type:b}))}}),Object(Y.createElement)(Z.RichTextShortcut,{type:"primary",character:"m",onUse:function(){r(Object(zt.__unstableIndentListItems)(t,{type:b}))}}),Object(Y.createElement)(Z.RichTextShortcut,{type:"primaryShift",character:"m",onUse:function(){r(Object(zt.__unstableOutdentListItems)(t))}}),Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,{controls:[{icon:"editor-ul",title:Object(J.__)("Convert to unordered list"),isActive:Object(zt.__unstableIsActiveListType)(t,"ul",b),onClick:function(){r(Object(zt.__unstableChangeListType)(t,{type:"ul"})),Object(zt.__unstableIsListRootSelected)(t)&&n({ordered:!1})}},{icon:"editor-ol",title:Object(J.__)("Convert to ordered list"),isActive:Object(zt.__unstableIsActiveListType)(t,"ol",b),onClick:function(){r(Object(zt.__unstableChangeListType)(t,{type:"ol"})),Object(zt.__unstableIsListRootSelected)(t)&&n({ordered:!0})}},{icon:"editor-outdent",title:Object(J.__)("Outdent list item"),shortcut:Object(J._x)("Backspace","keyboard key"),isDisabled:!Object(zt.__unstableCanOutdentListItems)(t),onClick:function(){r(Object(zt.__unstableOutdentListItems)(t))}},{icon:"editor-indent",title:Object(J.__)("Indent list item"),shortcut:Object(J._x)("Space","keyboard key"),isDisabled:!Object(zt.__unstableCanIndentListItems)(t),onClick:function(){r(Object(zt.__unstableIndentListItems)(t,{type:b}))}}]})))})),c&&Object(Y.createElement)(_a,{setAttributes:n,ordered:c,reversed:s,start:u}))},save:function(e){var t=e.attributes,n=t.ordered,r=t.values,o=t.type,a=t.reversed,c=t.start,i=n?"ol":"ul";return Object(Y.createElement)(Z.RichText.Content,{tagName:i,value:r,type:o,reversed:a,start:c,multiline:"li"})}};var Ta=Object(le.withDispatch)((function(e,t){var n=t.clientId,r=t.attributes,o=e("core/block-editor").replaceBlock;return{convertToHTML:function(){o(n,Object($.createBlock)("core/html",{content:r.originalUndelimitedContent}))}}}))((function(e){var t,n=e.attributes,r=e.convertToHTML,o=n.originalName,a=n.originalUndelimitedContent,c=!!a,i=Object($.getBlockType)("core/html"),l=[];return c&&i?(t=Object(J.sprintf)(Object(J.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.'),o),l.push(Object(Y.createElement)(ce.Button,{key:"convert",onClick:r,isLarge:!0,isPrimary:!0},Object(J.__)("Keep as HTML")))):t=Object(J.sprintf)(Object(J.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'),o),Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.Warning,{actions:l},t),Object(Y.createElement)(Y.RawHTML,null,a))}));var Na={name:"core/missing",category:"common",attributes:{originalName:{type:"string"},originalUndelimitedContent:{type:"string"},originalContent:{type:"string",source:"html"}}},Ba=Na.name,Ra={name:Ba,title:Object(J.__)("Unrecognized Block"),description:Object(J.__)("Your site doesn’t include support for this block."),supports:{className:!1,customClassName:!1,inserter:!1,html:!1,reusable:!1},edit:Ta,save:function(e){var t=e.attributes;return Object(Y.createElement)(Y.RawHTML,null,t.originalContent)}},Aa=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).onChangeInput=e.onChangeInput.bind(Object(xe.a)(e)),e.onKeyDown=e.onKeyDown.bind(Object(xe.a)(e)),e.state={defaultText:Object(J.__)("Read more")},e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"onChangeInput",value:function(e){this.setState({defaultText:""});var t=0===e.target.value.length?void 0:e.target.value;this.props.setAttributes({customText:t})}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=this.props.insertBlocksAfter;t===Ne.ENTER&&n([Object($.createBlock)(Object($.getDefaultBlockName)())])}},{key:"getHideExcerptHelp",value:function(e){return e?Object(J.__)("The excerpt is hidden."):Object(J.__)("The excerpt is visible.")}},{key:"render",value:function(){var e=this.props.attributes,t=e.customText,n=e.noTeaser,r=this.props.setAttributes,o=this.state.defaultText,a=void 0!==t?t:o,c=a.length+1;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,null,Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Hide the excerpt on the full content page"),checked:!!n,onChange:function(){return r({noTeaser:!n})},help:this.getHideExcerptHelp}))),Object(Y.createElement)("div",{className:"wp-block-more"},Object(Y.createElement)("input",{type:"text",value:a,size:c,onChange:this.onChangeInput,onKeyDown:this.onKeyDown})))}}]),t}(Y.Component),Ia=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z"})));var Pa={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/more"===e.dataset.block},transform:function(e){var t=e.dataset,n=t.customText,r=t.noTeaser,o={};return n&&(o.customText=n),""===r&&(o.noTeaser=!0),Object($.createBlock)("core/more",o)}}]},Ma={name:"core/more",category:"layout",attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}}},La=Ma.name,Ha={title:Object(J._x)("More","block name"),description:Object(J.__)("Content before this block will be shown in the excerpt on your archives page."),icon:Ia,supports:{customClassName:!1,className:!1,html:!1,multiple:!1},example:{},transforms:Pa,edit:Aa,save:function(e){var t=e.attributes,n=t.customText,r=t.noTeaser,o=n?"\x3c!--more ".concat(n,"--\x3e"):"\x3c!--more--\x3e",a=r?"\x3c!--noteaser--\x3e":"";return Object(Y.createElement)(Y.RawHTML,null,Object(te.compact)([o,a]).join("\n"))}};var za=Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24px",height:"24px",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"M9 11h6v2H9zM2 11h5v2H2zM17 11h5v2h-5zM6 4h7v5h7V8l-6-6H6a2 2 0 0 0-2 2v5h2zM18 20H6v-5H4v5a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5h-2z"}));var Va={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return Object($.createBlock)("core/nextpage",{})}}]},Da={name:"core/nextpage",category:"layout"},Fa=Da.name,Ua={title:Object(J.__)("Page Break"),description:Object(J.__)("Separate your content into a multi-page experience."),icon:za,keywords:[Object(J.__)("next page"),Object(J.__)("pagination")],supports:{customClassName:!1,className:!1,html:!1},example:{},transforms:Va,edit:function(){return Object(Y.createElement)("div",{className:"wp-block-nextpage"},Object(Y.createElement)("span",null,Object(J.__)("Page break")))},save:function(){return Object(Y.createElement)(Y.RawHTML,null,"\x3c!--nextpage--\x3e")}};var Ga=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"M20,4H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V6C22,4.9,21.1,4,20,4z M20,18H4V6h16V18z"}),Object(Y.createElement)(ce.Rect,{x:"6",y:"10",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"6",y:"14",width:"8",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"16",y:"14",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"10",y:"10",width:"8",height:"2"}));var qa={from:[{type:"block",blocks:["core/code","core/paragraph"],transform:function(e){var t=e.content;return Object($.createBlock)("core/preformatted",{content:t})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName)},schema:{pre:{children:Object($.getPhrasingContentSchema)()}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object($.createBlock)("core/paragraph",e)}}]},Wa={name:"core/preformatted",category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0}}},Ka=Wa.name,Za={title:Object(J.__)("Preformatted"),description:Object(J.__)("Add text that respects your spacing and tabs, and also allows styling."),icon:Ga,example:{attributes:{content:Object(J.__)("EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)")+"\n"+Object(J.__)("Window, very small in the distance, illuminated.")+"\n"+Object(J.__)("All around this is an almost totally black screen. Now, as the camera moves slowly towards the window which is almost a postage stamp in the frame, other forms appear;")}},transforms:qa,edit:function(e){var t=e.attributes,n=e.mergeBlocks,r=e.setAttributes,o=e.className,a=e.style,c=t.content;return Object(Y.createElement)(Z.RichText,{tagName:"pre",identifier:"content",preserveWhiteSpace:!0,value:c,onChange:function(e){r({content:e})},placeholder:Object(J.__)("Write preformatted text…"),className:o,style:a,onMerge:n})},save:function(e){var t=e.attributes.content;return Object(Y.createElement)(Z.RichText.Content,{tagName:"pre",value:t})},merge:function(e,t){return{content:e.content+t.content}}},$a="is-style-".concat("solid-color"),Ja={value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}};function Qa(e){if(e){var t=e.match(/border-color:([^;]+)[;]?/);return t&&t[1]?t[1]:void 0}}var Ya=[{attributes:Object(Q.a)({},Ja,{figureStyle:{source:"attribute",selector:"figure",attribute:"style"}}),save:function(e){var t,n,r=e.attributes,o=r.mainColor,a=r.customMainColor,c=r.textColor,i=r.customTextColor,l=r.value,s=r.citation,u=r.className,b=r.figureStyle;if(Object(te.includes)(u,$a)){var m=Object(Z.getColorClassName)("background-color",o);t=ee()(Object(K.a)({"has-background":m||a},m,m)),n={backgroundColor:m?void 0:a}}else if(a)n={borderColor:a};else if(o){n={borderColor:Qa(b)}}var d=Object(Z.getColorClassName)("color",c),h=(c||i)&&ee()("has-text-color",Object(K.a)({},d,d)),p=d?void 0:{color:i};return Object(Y.createElement)("figure",{className:t,style:n},Object(Y.createElement)("blockquote",{className:h,style:p},Object(Y.createElement)(Z.RichText.Content,{value:l,multiline:!0}),!Z.RichText.isEmpty(s)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"cite",value:s})))},migrate:function(e){var t=e.className,n=e.figureStyle,r=e.mainColor,o=Object(Ht.a)(e,["className","figureStyle","mainColor"]);if(!Object(te.includes)(t,$a)&&r&&n){var a=Qa(n);if(a)return Object(Q.a)({},o,{className:t,customMainColor:a})}return Object(Q.a)({className:t,mainColor:r},o)}},{attributes:Ja,save:function(e){var t,n,r=e.attributes,o=r.mainColor,a=r.customMainColor,c=r.textColor,i=r.customTextColor,l=r.value,s=r.citation,u=r.className;if(Object(te.includes)(u,$a))(t=Object(Z.getColorClassName)("background-color",o))||(n={backgroundColor:a});else if(a)n={borderColor:a};else if(o){var b=Object(te.get)(Object(le.select)("core/block-editor").getSettings(),["colors"],[]);n={borderColor:Object(Z.getColorObjectByAttributeValues)(b,o).color}}var m=Object(Z.getColorClassName)("color",c),d=c||i?ee()("has-text-color",Object(K.a)({},m,m)):void 0,h=m?void 0:{color:i};return Object(Y.createElement)("figure",{className:t,style:n},Object(Y.createElement)("blockquote",{className:d,style:h},Object(Y.createElement)(Z.RichText.Content,{value:l,multiline:!0}),!Z.RichText.isEmpty(s)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"cite",value:s})))}},{attributes:Object(Q.a)({},Ja),save:function(e){var t=e.attributes,n=t.value,r=t.citation;return Object(Y.createElement)("blockquote",null,Object(Y.createElement)(Z.RichText.Content,{value:n,multiline:!0}),!Z.RichText.isEmpty(r)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"cite",value:r}))}},{attributes:Object(Q.a)({},Ja,{citation:{type:"string",source:"html",selector:"footer"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.value,r=t.citation,o=t.align;return Object(Y.createElement)("blockquote",{className:"align".concat(o)},Object(Y.createElement)(Z.RichText.Content,{value:n,multiline:!0}),!Z.RichText.isEmpty(r)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"footer",value:r}))}}],Xa=function(e){function t(e){var n;return Object(ke.a)(this,t),(n=Object(we.a)(this,Object(Ee.a)(t).call(this,e))).wasTextColorAutomaticallyComputed=!1,n.pullQuoteMainColorSetter=n.pullQuoteMainColorSetter.bind(Object(xe.a)(n)),n.pullQuoteTextColorSetter=n.pullQuoteTextColorSetter.bind(Object(xe.a)(n)),n}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"pullQuoteMainColorSetter",value:function(e){var t=this.props,n=t.colorUtils,r=t.textColor,o=t.setAttributes,a=t.setTextColor,c=t.setMainColor,i=t.className,l=Object(te.includes)(i,$a),s=!r.color||this.wasTextColorAutomaticallyComputed,u=l&&s&&e;l?c(e):o({customMainColor:e}),u&&(this.wasTextColorAutomaticallyComputed=!0,a(n.getMostReadableColor(e)))}},{key:"pullQuoteTextColorSetter",value:function(e){(0,this.props.setTextColor)(e),this.wasTextColorAutomaticallyComputed=!1}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.attributes,r=t.className,o=t.mainColor,a=t.setAttributes;n.mainColor&&!Object(te.includes)(r,$a)&&Object(te.includes)(e.className,$a)&&a({mainColor:void 0,customMainColor:o.color})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.mainColor,r=e.textColor,o=e.setAttributes,a=e.isSelected,c=e.className,i=t.value,l=t.citation,s=Object(te.includes)(c,$a),u=s?{backgroundColor:n.color}:{borderColor:n.color},b=ee()(c,Object(K.a)({"has-background":s&&n.color},n.class,s&&n.class)),m={color:r.color},d=r.color&&ee()("has-text-color",Object(K.a)({},r.class,r.class));return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)("figure",{style:u,className:b},Object(Y.createElement)("blockquote",{style:m,className:d},Object(Y.createElement)(Z.RichText,{multiline:!0,value:i,onChange:function(e){return o({value:e})},placeholder:Object(J.__)("Write quote…")}),(!Z.RichText.isEmpty(l)||a)&&Object(Y.createElement)(Z.RichText,{value:l,placeholder:Object(J.__)("Write citation…"),onChange:function(e){return o({citation:e})},className:"wp-block-pullquote__citation"}))),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(Z.PanelColorSettings,{title:Object(J.__)("Color Settings"),colorSettings:[{value:n.color,onChange:this.pullQuoteMainColorSetter,label:Object(J.__)("Main Color")},{value:r.color,onChange:this.pullQuoteTextColorSetter,label:Object(J.__)("Text Color")}]},s&&Object(Y.createElement)(Z.ContrastChecker,Object(je.a)({textColor:r.color,backgroundColor:n.color},{isLargeText:!1})))))}}]),t}(Y.Component),ec=Object(Z.withColors)({mainColor:"background-color",textColor:"color"})(Xa),tc=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Polygon,{points:"21 18 2 18 2 20 21 20"}),Object(Y.createElement)(ce.Path,{d:"m19 10v4h-15v-4h15m1-2h-17c-0.55 0-1 0.45-1 1v6c0 0.55 0.45 1 1 1h17c0.55 0 1-0.45 1-1v-6c0-0.55-0.45-1-1-1z"}),Object(Y.createElement)(ce.Polygon,{points:"21 4 2 4 2 6 21 6"}));var nc={name:"core/pullquote",category:"formatting",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}}},rc=nc.name,oc={title:Object(J.__)("Pullquote"),description:Object(J.__)("Give special visual emphasis to a quote from your text."),icon:tc,example:{attributes:{value:"

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

    ",citation:"Matt Mullenweg"}},styles:[{name:"default",label:Object(J._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(J.__)("Solid Color")}],supports:{align:["left","right","wide","full"]},edit:ec,save:function(e){var t,n,r=e.attributes,o=r.mainColor,a=r.customMainColor,c=r.textColor,i=r.customTextColor,l=r.value,s=r.citation,u=r.className;if(Object(te.includes)(u,$a)){var b=Object(Z.getColorClassName)("background-color",o);t=ee()(Object(K.a)({"has-background":b||a},b,b)),n={backgroundColor:b?void 0:a}}else a&&(n={borderColor:a});var m=Object(Z.getColorClassName)("color",c),d=(c||i)&&ee()("has-text-color",Object(K.a)({},m,m)),h=m?void 0:{color:i};return Object(Y.createElement)("figure",{className:t,style:n},Object(Y.createElement)("blockquote",{className:d,style:h},Object(Y.createElement)(Z.RichText.Content,{value:l,multiline:!0}),!Z.RichText.isEmpty(s)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"cite",value:s})))},deprecated:Ya},ac=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).titleField=Object(Y.createRef)(),e.editButton=Object(Y.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(Object(xe.a)(e)),e.handleTitleChange=e.handleTitleChange.bind(Object(xe.a)(e)),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(Object(xe.a)(e)),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"componentDidMount",value:function(){this.props.isEditing&&this.titleField.current&&this.titleField.current.select()}},{key:"componentDidUpdate",value:function(e){!e.isEditing&&this.props.isEditing&&this.titleField.current.select(),!e.isEditing&&!e.isSaving||this.props.isEditing||this.props.isSaving||this.editButton.current.focus()}},{key:"handleFormSubmit",value:function(e){e.preventDefault(),this.props.onSave()}},{key:"handleTitleChange",value:function(e){this.props.onChangeTitle(e.target.value)}},{key:"handleTitleKeyDown",value:function(e){e.keyCode===Ne.ESCAPE&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,n=e.title,r=e.isSaving,o=e.isEditDisabled,a=e.onEdit,c=e.instanceId;return Object(Y.createElement)(Y.Fragment,null,!t&&!r&&Object(Y.createElement)("div",{className:"reusable-block-edit-panel"},Object(Y.createElement)("b",{className:"reusable-block-edit-panel__info"},n),Object(Y.createElement)(ce.Button,{ref:this.editButton,isLarge:!0,className:"reusable-block-edit-panel__button",disabled:o,onClick:a},Object(J.__)("Edit"))),(t||r)&&Object(Y.createElement)("form",{className:"reusable-block-edit-panel",onSubmit:this.handleFormSubmit},Object(Y.createElement)("label",{htmlFor:"reusable-block-edit-panel__title-".concat(c),className:"reusable-block-edit-panel__label"},Object(J.__)("Name:")),Object(Y.createElement)("input",{ref:this.titleField,type:"text",disabled:r,className:"reusable-block-edit-panel__title",value:n,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown,id:"reusable-block-edit-panel__title-".concat(c)}),Object(Y.createElement)(ce.Button,{type:"submit",isLarge:!0,isBusy:r,disabled:!n||r,className:"reusable-block-edit-panel__button"},Object(J.__)("Save"))))}}]),t}(Y.Component),cc=Object(ie.withInstanceId)(ac),ic=function(e){function t(e){var n,r=e.reusableBlock;return Object(ke.a)(this,t),(n=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).startEditing=n.startEditing.bind(Object(xe.a)(n)),n.stopEditing=n.stopEditing.bind(Object(xe.a)(n)),n.setBlocks=n.setBlocks.bind(Object(xe.a)(n)),n.setTitle=n.setTitle.bind(Object(xe.a)(n)),n.save=n.save.bind(Object(xe.a)(n)),n.state=r?{isEditing:r.isTemporary,title:r.title,blocks:Object($.parse)(r.content)}:{isEditing:!1,title:null,blocks:[]},n}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"componentDidMount",value:function(){this.props.reusableBlock||this.props.fetchReusableBlock()}},{key:"componentDidUpdate",value:function(e){e.reusableBlock!==this.props.reusableBlock&&null===this.state.title&&this.setState({title:this.props.reusableBlock.title,blocks:Object($.parse)(this.props.reusableBlock.content)})}},{key:"startEditing",value:function(){var e=this.props.reusableBlock;this.setState({isEditing:!0,title:e.title,blocks:Object($.parse)(e.content)})}},{key:"stopEditing",value:function(){this.setState({isEditing:!1,title:null,blocks:[]})}},{key:"setBlocks",value:function(e){this.setState({blocks:e})}},{key:"setTitle",value:function(e){this.setState({title:e})}},{key:"save",value:function(){var e=this.props,t=e.onChange,n=e.onSave,r=this.state,o=r.blocks;t({title:r.title,content:Object($.serialize)(o)}),n(),this.stopEditing()}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.reusableBlock,r=e.isFetching,o=e.isSaving,a=e.canUpdateBlock,c=e.settings,i=this.state,l=i.isEditing,s=i.title,u=i.blocks;if(!n&&r)return Object(Y.createElement)(ce.Placeholder,null,Object(Y.createElement)(ce.Spinner,null));if(!n)return Object(Y.createElement)(ce.Placeholder,null,Object(J.__)("Block has been deleted or is unavailable."));var b=Object(Y.createElement)(Z.BlockEditorProvider,{settings:c,value:u,onChange:this.setBlocks,onInput:this.setBlocks},Object(Y.createElement)(Z.WritingFlow,null,Object(Y.createElement)(Z.BlockList,null)));return l||(b=Object(Y.createElement)(ce.Disabled,null,b)),Object(Y.createElement)("div",{className:"block-library-block__reusable-block-container"},(t||l)&&Object(Y.createElement)(cc,{isEditing:l,title:null!==s?s:n.title,isSaving:o&&!n.isTemporary,isEditDisabled:!a,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),b)}}]),t}(Y.Component),lc=Object(ie.compose)([Object(le.withSelect)((function(e,t){var n=e("core/editor"),r=n.__experimentalGetReusableBlock,o=n.__experimentalIsFetchingReusableBlock,a=n.__experimentalIsSavingReusableBlock,c=e("core").canUser,i=e("core/block-editor"),l=i.__experimentalGetParsedReusableBlock,s=i.getSettings,u=t.attributes.ref,b=r(u);return{reusableBlock:b,isFetching:o(u),isSaving:a(u),blocks:b?l(b.id):null,canUpdateBlock:!!b&&!b.isTemporary&&!!c("update","blocks",u),settings:s()}})),Object(le.withDispatch)((function(e,t){var n=e("core/editor"),r=n.__experimentalFetchReusableBlocks,o=n.__experimentalUpdateReusableBlock,a=n.__experimentalSaveReusableBlock,c=t.attributes.ref;return{fetchReusableBlock:Object(te.partial)(r,c),onChange:Object(te.partial)(o,c),onSave:Object(te.partial)(a,c)}}))])(ic),sc="core/block",uc={title:Object(J.__)("Reusable Block"),category:"reusable",description:Object(J.__)("Create content, and save it for you and other contributors to reuse across your site. Update the block, and the changes apply everywhere it’s used."),supports:{customClassName:!1,html:!1,inserter:!1},edit:lc},bc=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.feedURL},e.toggleAttribute=e.toggleAttribute.bind(Object(xe.a)(e)),e.onSubmitURL=e.onSubmitURL.bind(Object(xe.a)(e)),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"toggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(K.a)({},e,!n))}}},{key:"onSubmitURL",value:function(e){e.preventDefault(),this.props.attributes.feedURL&&this.setState({editing:!1})}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.blockLayout,r=t.columns,o=t.displayAuthor,a=t.displayExcerpt,c=t.displayDate,i=t.excerptLength,l=t.feedURL,s=t.itemsToShow,u=this.props.setAttributes;if(this.state.editing)return Object(Y.createElement)(ce.Placeholder,{icon:"rss",label:"RSS"},Object(Y.createElement)("form",{onSubmit:this.onSubmitURL},Object(Y.createElement)(ce.TextControl,{placeholder:Object(J.__)("Enter URL here…"),value:l,onChange:function(e){return u({feedURL:e})},className:"components-placeholder__input"}),Object(Y.createElement)(ce.Button,{isLarge:!0,type:"submit"},Object(J.__)("Use URL"))));var b=[{icon:"edit",title:Object(J.__)("Edit RSS URL"),onClick:function(){return e.setState({editing:!0})}},{icon:"list-view",title:Object(J.__)("List view"),onClick:function(){return u({blockLayout:"list"})},isActive:"list"===n},{icon:"grid-view",title:Object(J.__)("Grid view"),onClick:function(){return u({blockLayout:"grid"})},isActive:"grid"===n}];return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,{controls:b})),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("RSS Settings")},Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Number of items"),value:s,onChange:function(e){return u({itemsToShow:e})},min:1,max:10,required:!0}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Display author"),checked:o,onChange:this.toggleAttribute("displayAuthor")}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Display date"),checked:c,onChange:this.toggleAttribute("displayDate")}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Display excerpt"),checked:a,onChange:this.toggleAttribute("displayExcerpt")}),a&&Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Max number of words in excerpt"),value:i,onChange:function(e){return u({excerptLength:e})},min:10,max:100,required:!0}),"grid"===n&&Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Columns"),value:r,onChange:function(e){return u({columns:e})},min:2,max:6,required:!0}))),Object(Y.createElement)(ce.Disabled,null,Object(Y.createElement)(dn.a,{block:"core/rss",attributes:this.props.attributes})))}}]),t}(Y.Component),mc="core/rss",dc={title:Object(J.__)("RSS"),description:Object(J.__)("Display entries from any RSS or Atom feed."),icon:"rss",category:"widgets",keywords:[Object(J.__)("atom"),Object(J.__)("feed")],supports:{align:!0,html:!1},example:{attributes:{feedURL:"https://wordpress.org"}},edit:bc};var hc="core/search",pc={title:Object(J.__)("Search"),description:Object(J.__)("Help visitors find your content."),icon:"search",category:"widgets",keywords:[Object(J.__)("find")],supports:{align:!0},example:{},edit:function(e){var t=e.className,n=e.attributes,r=e.setAttributes,o=n.label,a=n.placeholder,c=n.buttonText;return Object(Y.createElement)("div",{className:t},Object(Y.createElement)(Z.RichText,{className:"wp-block-search__label","aria-label":Object(J.__)("Label text"),placeholder:Object(J.__)("Add label…"),withoutInteractiveFormatting:!0,value:o,onChange:function(e){return r({label:e})}}),Object(Y.createElement)("input",{className:"wp-block-search__input","aria-label":Object(J.__)("Optional placeholder text"),placeholder:a?void 0:Object(J.__)("Optional placeholder…"),value:a,onChange:function(e){return r({placeholder:e.target.value})}}),Object(Y.createElement)(Z.RichText,{className:"wp-block-search__button","aria-label":Object(J.__)("Button text"),placeholder:Object(J.__)("Add button text…"),withoutInteractiveFormatting:!0,value:c,onChange:function(e){return r({buttonText:e})}}))}},gc=[{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},save:function(e){var t=e.attributes,n=t.backgroundColor,r=t.customBackgroundColor,o=Object(Z.getColorClassName)("background-color",n),a=ee()(o,{"has-background":n||r}),c={backgroundColor:o?void 0:r};return Object(Y.createElement)("div",{className:a,style:c},Object(Y.createElement)(Z.InnerBlocks.Content,null))}}];var fc=Object(ie.compose)([Object(Z.withColors)("backgroundColor"),Object(le.withSelect)((function(e,t){var n=t.clientId,r=(0,e("core/block-editor").getBlock)(n);return{hasInnerBlocks:!(!r||!r.innerBlocks.length)}}))])((function(e){var t=e.className,n=e.setBackgroundColor,r=e.backgroundColor,o=e.hasInnerBlocks,a={backgroundColor:r.color},c=ee()(t,r.class,{"has-background":!!r.color});return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(Z.PanelColorSettings,{title:Object(J.__)("Color Settings"),colorSettings:[{value:r.color,onChange:n,label:Object(J.__)("Background Color")}]})),Object(Y.createElement)("div",{className:c,style:a},Object(Y.createElement)("div",{className:"wp-block-group__inner-container"},Object(Y.createElement)(Z.InnerBlocks,{renderAppender:!o&&Z.InnerBlocks.ButtonBlockAppender}))))})),vc=Object(Y.createElement)(ce.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9 8a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-1v3a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h1V8zm2 3h4V9h-4v2zm2 2H9v2h4v-2z"}),Object(Y.createElement)(ce.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4.732A2 2 0 1 1 4.732 2h14.536A2 2 0 1 1 22 4.732v14.536A2 2 0 1 1 19.268 22H4.732A2 2 0 1 1 2 19.268V4.732zM4.732 4h14.536c.175.304.428.557.732.732v14.536a2.01 2.01 0 0 0-.732.732H4.732A2.01 2.01 0 0 0 4 19.268V4.732A2.01 2.01 0 0 0 4.732 4z"}));var Oc={name:"core/group",category:"layout",attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}}},jc=Oc.name,yc={title:Object(J.__)("Group"),icon:vc,description:Object(J.__)("A block that groups other blocks."),keywords:[Object(J.__)("container"),Object(J.__)("wrapper"),Object(J.__)("row"),Object(J.__)("section")],example:{attributes:{customBackgroundColor:"#ffffff"},innerBlocks:[{name:"core/paragraph",attributes:{customTextColor:"#cf2e2e",fontSize:"large",content:Object(J.__)("One.")}},{name:"core/paragraph",attributes:{customTextColor:"#ff6900",fontSize:"large",content:Object(J.__)("Two.")}},{name:"core/paragraph",attributes:{customTextColor:"#fcb900",fontSize:"large",content:Object(J.__)("Three.")}},{name:"core/paragraph",attributes:{customTextColor:"#00d084",fontSize:"large",content:Object(J.__)("Four.")}},{name:"core/paragraph",attributes:{customTextColor:"#0693e3",fontSize:"large",content:Object(J.__)("Five.")}},{name:"core/paragraph",attributes:{customTextColor:"#9b51e0",fontSize:"large",content:Object(J.__)("Six.")}}]},supports:{align:["wide","full"],anchor:!0,html:!1},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert:function(e){if(1!==e.length||"core/group"!==e[0].name){var t=["wide","full"],n=e.reduce((function(e,n){var r=n.attributes.align;return t.indexOf(r)>t.indexOf(e)?r:e}),void 0),r=e.map((function(e){return Object($.createBlock)(e.name,e.attributes,e.innerBlocks)}));return Object($.createBlock)("core/group",{align:n},r)}}}]},edit:fc,save:function(e){var t=e.attributes,n=t.backgroundColor,r=t.customBackgroundColor,o=Object(Z.getColorClassName)("background-color",n),a=ee()(o,{"has-background":n||r}),c={backgroundColor:o?void 0:r};return Object(Y.createElement)("div",{className:a,style:c},Object(Y.createElement)("div",{className:"wp-block-group__inner-container"},Object(Y.createElement)(Z.InnerBlocks.Content,null)))},deprecated:gc},_c=function(e){var t=e.color,n=e.setColor;return Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(Z.PanelColorSettings,{title:Object(J.__)("Color Settings"),colorSettings:[{value:t.color,onChange:n,label:Object(J.__)("Color")}]}))};var kc=Object(Z.withColors)("color",{textColor:"color"})((function(e){var t=e.color,n=e.setColor,r=e.className;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.HorizontalRule,{className:ee()(r,Object(K.a)({"has-background":t.color},t.class,t.class)),style:{backgroundColor:t.color,color:t.color}}),Object(Y.createElement)(_c,{color:t,setColor:n}))})),Cc=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.Path,{d:"M19 13H5v-2h14v2z"}));var wc={from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object($.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},Ec={name:"core/separator",category:"layout",attributes:{color:{type:"string"},customColor:{type:"string"}}},xc=Ec.name,Sc={title:Object(J.__)("Separator"),description:Object(J.__)("Create a break between ideas or sections with a horizontal separator."),icon:Cc,keywords:[Object(J.__)("horizontal-line"),"hr",Object(J.__)("divider")],example:{attributes:{customColor:"#065174",className:"is-style-wide"}},styles:[{name:"default",label:Object(J.__)("Default"),isDefault:!0},{name:"wide",label:Object(J.__)("Wide Line")},{name:"dots",label:Object(J.__)("Dots")}],transforms:wc,edit:kc,save:function(e){var t,n=e.attributes,r=n.color,o=n.customColor,a=Object(Z.getColorClassName)("background-color",r),c=Object(Z.getColorClassName)("color",r),i=ee()((t={"has-text-color has-background":r||o},Object(K.a)(t,a,a),Object(K.a)(t,c,c),t)),l={backgroundColor:a?void 0:o,color:c?void 0:o};return Object(Y.createElement)("hr",{className:i,style:l})}},Tc=Object(ie.withInstanceId)((function(e){var t=e.attributes,n=e.setAttributes,r=e.instanceId,o="blocks-shortcode-input-".concat(r);return Object(Y.createElement)("div",{className:"wp-block-shortcode components-placeholder"},Object(Y.createElement)("label",{htmlFor:o,className:"components-placeholder__label"},Object(Y.createElement)(ce.Dashicon,{icon:"shortcode"}),Object(J.__)("Shortcode")),Object(Y.createElement)(Z.PlainText,{className:"input-control",id:o,value:t.text,placeholder:Object(J.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))})),Nc=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M8.5,21.4l1.9,0.5l5.2-19.3l-1.9-0.5L8.5,21.4z M3,19h4v-2H5V7h2V5H3V19z M17,5v2h2v10h-2v2h4V5H17z"}));var Bc=n(68),Rc={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var n=t.content;return Object(Bc.removep)(Object(Bc.autop)(n))}}},priority:20}]},Ac="core/shortcode",Ic={title:Object(J.__)("Shortcode"),description:Object(J.__)("Insert additional custom elements with a WordPress shortcode."),icon:Nc,category:"widgets",transforms:Rc,supports:{customClassName:!1,className:!1,html:!1},edit:Tc,save:function(e){var t=e.attributes;return Object(Y.createElement)(Y.RawHTML,null,t.text)}},Pc=Object(ie.compose)([Object(le.withDispatch)((function(e){var t=e("core/block-editor").toggleSelection;return{onResizeStart:function(){return t(!1)},onResizeStop:function(){return t(!0)}}})),ie.withInstanceId])((function(e){var t=e.attributes,n=e.isSelected,r=e.setAttributes,o=e.instanceId,a=e.onResizeStart,c=e.onResizeStop,i=t.height,l="block-spacer-height-input-".concat(o),s=Object(Y.useState)(i),u=Object(ae.a)(s,2),b=u[0],m=u[1];return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.ResizableBox,{className:ee()("block-library-spacer__resize-container",{"is-selected":n}),size:{height:i},minHeight:"20",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:a,onResizeStop:function(e,t,n,o){c();var a=parseInt(i+o.height,10);r({height:a}),m(a)}}),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Spacer Settings")},Object(Y.createElement)(ce.BaseControl,{label:Object(J.__)("Height in pixels"),id:l},Object(Y.createElement)("input",{type:"number",id:l,onChange:function(e){var t=parseInt(e.target.value,10);m(t),isNaN(t)?(m(""),t=100):t<20&&(t=20),r({height:t})},value:b,min:"20",step:"10"})))))})),Mc=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7"})));var Lc={name:"core/spacer",category:"layout",attributes:{height:{type:"number",default:100}}},Hc=Lc.name,zc={title:Object(J.__)("Spacer"),description:Object(J.__)("Add white space between blocks and customize its height."),icon:Mc,edit:Pc,save:function(e){var t=e.attributes;return Object(Y.createElement)("div",{style:{height:t.height},"aria-hidden":!0})}},Vc=n(35),Dc=n.n(Vc);var Fc=Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"}));var Uc={to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object($.createBlock)("core/paragraph",e)}}]},Gc={name:"core/subhead",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p"}}},qc=Gc.name,Wc={title:Object(J.__)("Subheading (deprecated)"),description:Object(J.__)("This block is deprecated. Please use the Paragraph block instead."),icon:Fc,supports:{inserter:!1,multiple:!1},transforms:Uc,edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.align,a=t.content,c=t.placeholder;return Dc()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(Z.AlignmentToolbar,{value:o,onChange:function(e){n({align:e})}})),Object(Y.createElement)(Z.RichText,{tagName:"p",value:a,onChange:function(e){n({content:e})},style:{textAlign:o},className:r,placeholder:c||Object(J.__)("Write subheading…")}))},save:function(e){var t=e.attributes,n=t.align,r=t.content;return Object(Y.createElement)(Z.RichText.Content,{tagName:"p",style:{textAlign:n},value:r})}},Kc=[{attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}}},supports:{align:!0},save:function(e){var t=e.attributes,n=t.hasFixedLayout,r=t.head,o=t.body,a=t.foot,c=t.backgroundColor;if(!r.length&&!o.length&&!a.length)return null;var i=Object(Z.getColorClassName)("background-color",c),l=ee()(i,{"has-fixed-layout":n,"has-background":!!i}),s=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var r="t".concat(t);return Object(Y.createElement)(r,null,n.map((function(e,t){var n=e.cells;return Object(Y.createElement)("tr",{key:t},n.map((function(e,t){var n=e.content,r=e.tag,o=e.scope;return Object(Y.createElement)(Z.RichText.Content,{tagName:r,value:n,key:t,scope:"th"===r?o:void 0})})))})))};return Object(Y.createElement)("table",{className:l},Object(Y.createElement)(s,{type:"head",rows:r}),Object(Y.createElement)(s,{type:"body",rows:o}),Object(Y.createElement)(s,{type:"foot",rows:a}))}}],Zc=["align"];function $c(e,t,n){if(!t)return e;var r=Object(te.pick)(e,["head","body","foot"]),o=t.sectionName,a=t.rowIndex;return Object(te.mapValues)(r,(function(e,r){return o&&o!==r?e:e.map((function(e,o){return a&&a!==o?e:{cells:e.cells.map((function(e,a){return function(e,t){if(!e||!t)return!1;switch(t.type){case"column":return"column"===t.type&&e.columnIndex===t.columnIndex;case"cell":return"cell"===t.type&&e.sectionName===t.sectionName&&e.columnIndex===t.columnIndex&&e.rowIndex===t.rowIndex}}({sectionName:r,columnIndex:a,rowIndex:o},t)?n(e):e}))}}))}))}function Jc(e,t){var n=t.sectionName,r=t.rowIndex,o=t.columnCount,a=function(e){return Xc(e.head)?Xc(e.body)?Xc(e.foot)?void 0:e.foot[0]:e.body[0]:e.head[0]}(e),c=void 0===o?Object(te.get)(a,["cells","length"]):o;return c?Object(K.a)({},n,[].concat(Object(W.a)(e[n].slice(0,r)),[{cells:Object(te.times)(c,(function(e){var t=Object(te.get)(a,["cells",e],{}),r=Object(te.pick)(t,Zc);return Object(Q.a)({},r,{content:"",tag:"head"===n?"th":"td"})}))}],Object(W.a)(e[n].slice(r)))):e}function Qc(e,t){var n=t.columnIndex,r=Object(te.pick)(e,["head","body","foot"]);return Object(te.mapValues)(r,(function(e,t){return Xc(e)?e:e.map((function(e){return ei(e)||e.cells.length0&&void 0!==arguments[0]?arguments[0]:0,t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,a=t.columnIndex;this.setState({selectedCell:null}),o(Qc(r,{columnIndex:a+e}))}}},{key:"onInsertColumnBefore",value:function(){this.onInsertColumn(0)}},{key:"onInsertColumnAfter",value:function(){this.onInsertColumn(1)}},{key:"onDeleteColumn",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.sectionName,a=e.columnIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.columnIndex,r=Object(te.pick)(e,["head","body","foot"]);return Object(te.mapValues)(r,(function(e){return Xc(e)?e:e.map((function(e){return{cells:e.cells.length>=n?e.cells.filter((function(e,t){return t!==n})):e.cells}})).filter((function(e){return e.cells.length}))}))}(n,{sectionName:o,columnIndex:a}))}}},{key:"createOnFocus",value:function(e){var t=this;return function(){t.setState({selectedCell:Object(Q.a)({},e,{type:"cell"})})}}},{key:"getTableControls",value:function(){var e=this.state.selectedCell;return[{icon:"table-row-before",title:Object(J.__)("Add Row Before"),isDisabled:!e,onClick:this.onInsertRowBefore},{icon:"table-row-after",title:Object(J.__)("Add Row After"),isDisabled:!e,onClick:this.onInsertRowAfter},{icon:"table-row-delete",title:Object(J.__)("Delete Row"),isDisabled:!e,onClick:this.onDeleteRow},{icon:"table-col-before",title:Object(J.__)("Add Column Before"),isDisabled:!e,onClick:this.onInsertColumnBefore},{icon:"table-col-after",title:Object(J.__)("Add Column After"),isDisabled:!e,onClick:this.onInsertColumnAfter},{icon:"table-col-delete",title:Object(J.__)("Delete Column"),isDisabled:!e,onClick:this.onDeleteColumn}]}},{key:"renderSection",value:function(e){var t=this,n=e.name,r=e.rows;if(Xc(r))return null;var o="t".concat(n);return Object(Y.createElement)(o,null,r.map((function(e,r){var o=e.cells;return Object(Y.createElement)("tr",{key:r},o.map((function(e,o){var a=e.content,c=e.tag,i=e.scope,l=e.align,s={sectionName:n,rowIndex:r,columnIndex:o},u=ee()(Object(K.a)({},"has-text-align-".concat(l),l),"wp-block-table__cell-content");return Object(Y.createElement)(Z.RichText,{tagName:c,key:o,className:u,scope:"th"===c?i:void 0,value:a,onChange:t.onChange,unstableOnFocus:t.createOnFocus(s)})})))})))}},{key:"componentDidUpdate",value:function(){var e=this.props.isSelected,t=this.state.selectedCell;!e&&t&&this.setState({selectedCell:null})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,o=t.backgroundColor,a=t.setBackgroundColor,c=t.setAttributes,i=this.state,l=i.initialRowCount,s=i.initialColumnCount,u=n.hasFixedLayout,b=n.caption,m=n.head,d=n.body,h=n.foot,p=Xc(m)&&Xc(d)&&Xc(h),g=this.renderSection;if(p)return Object(Y.createElement)(ce.Placeholder,{label:Object(J.__)("Table"),icon:Object(Y.createElement)(Z.BlockIcon,{icon:ti,showColors:!0}),instructions:Object(J.__)("Insert a table for sharing data."),isColumnLayout:!0},Object(Y.createElement)("form",{className:"wp-block-table__placeholder-form",onSubmit:this.onCreateTable},Object(Y.createElement)(ce.TextControl,{type:"number",label:Object(J.__)("Column Count"),value:s,onChange:this.onChangeInitialColumnCount,min:"1",className:"wp-block-table__placeholder-input"}),Object(Y.createElement)(ce.TextControl,{type:"number",label:Object(J.__)("Row Count"),value:l,onChange:this.onChangeInitialRowCount,min:"1",className:"wp-block-table__placeholder-input"}),Object(Y.createElement)(ce.Button,{className:"wp-block-table__placeholder-button",isDefault:!0,type:"submit"},Object(J.__)("Create Table"))));var f=ee()(o.class,{"has-fixed-layout":u,"has-background":!!o.color});return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(ce.DropdownMenu,{hasArrowIndicator:!0,icon:"editor-table",label:Object(J.__)("Edit table"),controls:this.getTableControls()})),Object(Y.createElement)(Z.AlignmentToolbar,{label:Object(J.__)("Change column alignment"),alignmentControls:ri,value:this.getCellAlignment(),onChange:function(t){return e.onChangeColumnAlignment(t)},onHover:this.onHoverAlignment})),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Table Settings"),className:"blocks-table-settings"},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Fixed width table cells"),checked:!!u,onChange:this.onChangeFixedLayout}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Header section"),checked:!(!m||!m.length),onChange:this.onToggleHeaderSection}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Footer section"),checked:!(!h||!h.length),onChange:this.onToggleFooterSection})),Object(Y.createElement)(Z.PanelColorSettings,{title:Object(J.__)("Color Settings"),initialOpen:!1,colorSettings:[{value:o.color,onChange:a,label:Object(J.__)("Background Color"),disableCustomColors:!0,colors:ni}]})),Object(Y.createElement)("figure",{className:r},Object(Y.createElement)("table",{className:f},Object(Y.createElement)(g,{name:"head",rows:m}),Object(Y.createElement)(g,{name:"body",rows:d}),Object(Y.createElement)(g,{name:"foot",rows:h})),Object(Y.createElement)(Z.RichText,{tagName:"figcaption",placeholder:Object(J.__)("Write caption…"),value:b,onChange:function(e){return c({caption:e})},unstableOnFocus:function(){return e.setState({selectedCell:null})}})))}}]),t}(Y.Component),ci=oi("backgroundColor")(ai);var ii={tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:Object($.getPhrasingContentSchema)(),attributes:["scope"]},td:{allowEmpty:!0,children:Object($.getPhrasingContentSchema)()}}}},li={from:[{type:"raw",selector:"table",schema:{table:{children:{thead:{allowEmpty:!0,children:ii},tfoot:{allowEmpty:!0,children:ii},tbody:{allowEmpty:!0,children:ii}}}}}]},si={name:"core/table",category:"formatting",attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption",default:""},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}}}},ui=si.name,bi={title:Object(J.__)("Table"),description:Object(J.__)("Insert a table — perfect for sharing charts and data."),icon:ti,example:{attributes:{head:[{cells:[{content:Object(J.__)("Version"),tag:"th"},{content:Object(J.__)("Jazz Musician"),tag:"th"},{content:Object(J.__)("Release Date"),tag:"th"}]}],body:[{cells:[{content:"5.2",tag:"td"},{content:"Jaco Pastorius",tag:"td"},{content:Object(J.__)("May 7, 2019"),tag:"td"}]},{cells:[{content:"5.1",tag:"td"},{content:"Betty Carter",tag:"td"},{content:Object(J.__)("February 21, 2019"),tag:"td"}]},{cells:[{content:"5.0",tag:"td"},{content:"Bebo Valdés",tag:"td"},{content:Object(J.__)("December 6, 2018"),tag:"td"}]}]}},styles:[{name:"regular",label:Object(J._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(J.__)("Stripes")}],supports:{align:!0},transforms:li,edit:ci,save:function(e){var t=e.attributes,n=t.hasFixedLayout,r=t.head,o=t.body,a=t.foot,c=t.backgroundColor,i=t.caption;if(!r.length&&!o.length&&!a.length)return null;var l=Object(Z.getColorClassName)("background-color",c),s=ee()(l,{"has-fixed-layout":n,"has-background":!!l}),u=!Z.RichText.isEmpty(i),b=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var r="t".concat(t);return Object(Y.createElement)(r,null,n.map((function(e,t){var n=e.cells;return Object(Y.createElement)("tr",{key:t},n.map((function(e,t){var n=e.content,r=e.tag,o=e.scope,a=e.align,c=ee()(Object(K.a)({},"has-text-align-".concat(a),a));return Object(Y.createElement)(Z.RichText.Content,{className:c||void 0,"data-align":a,tagName:r,value:n,key:t,scope:"th"===r?o:void 0})})))})))};return Object(Y.createElement)("figure",null,Object(Y.createElement)("table",{className:""===s?void 0:s},Object(Y.createElement)(b,{type:"head",rows:r}),Object(Y.createElement)(b,{type:"body",rows:o}),Object(Y.createElement)(b,{type:"foot",rows:a})),u&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:i}))},deprecated:Kc};var mi={to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,n=e.columns,r=e.content,o=e.width;return Object($.createBlock)("core/columns",{align:"wide"===o||"full"===o?o:void 0,className:t,columns:n},r.map((function(e){var t=e.children;return Object($.createBlock)("core/column",{},[Object($.createBlock)("core/paragraph",{content:t})])})))}}]},di={name:"core/text-columns",icon:"columns",category:"layout",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{type:"string",source:"html"}},default:[{},{}]},columns:{type:"number",default:2},width:{type:"string"}}},hi=di.name,pi={supports:{inserter:!1},title:Object(J.__)("Text Columns (deprecated)"),description:Object(J.__)("This block is deprecated. Please use the Columns block instead."),transforms:mi,getEditWrapperProps:function(e){var t=e.width;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.width,a=t.content,c=t.columns;return Dc()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(Z.BlockAlignmentToolbar,{value:o,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,null,Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Columns"),value:c,onChange:function(e){return n({columns:e})},min:2,max:4,required:!0}))),Object(Y.createElement)("div",{className:"".concat(r," align").concat(o," columns-").concat(c)},Object(te.times)(c,(function(e){return Object(Y.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(Y.createElement)(Z.RichText,{tagName:"p",value:Object(te.get)(a,[e,"children"]),onChange:function(t){n({content:[].concat(Object(W.a)(a.slice(0,e)),[{children:t}],Object(W.a)(a.slice(e+1)))})},placeholder:Object(J.__)("New Column")}))}))))},save:function(e){var t=e.attributes,n=t.width,r=t.content,o=t.columns;return Object(Y.createElement)("div",{className:"align".concat(n," columns-").concat(o)},Object(te.times)(o,(function(e){return Object(Y.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(Y.createElement)(Z.RichText.Content,{tagName:"p",value:Object(te.get)(r,[e,"children"])}))})))}},gi=[{attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},save:function(e){var t=e.attributes,n=t.textAlign,r=t.content;return Object(Y.createElement)(Z.RichText.Content,{tagName:"pre",style:{textAlign:n},value:r})}}];var fi=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M21 11.01L3 11V13H21V11.01ZM3 16H17V18H3V16ZM15 6H3V8.01L15 8V6Z"}));var vi={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object($.createBlock)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object($.createBlock)("core/paragraph",e)}}]},Oi={name:"core/verse",category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0},textAlign:{type:"string"}}},ji=Oi.name,yi={title:Object(J.__)("Verse"),description:Object(J.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:fi,example:{attributes:{content:Object(J.__)("WHAT was he doing, the great god Pan,\n\tDown in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n With the dragon-fly on the river.")}},keywords:[Object(J.__)("poetry")],transforms:vi,deprecated:gi,merge:function(e,t){return{content:e.content+t.content}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=e.mergeBlocks,a=t.textAlign,c=t.content;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(Z.AlignmentToolbar,{value:a,onChange:function(e){n({textAlign:e})}})),Object(Y.createElement)(Z.RichText,{tagName:"pre",preserveWhiteSpace:!0,value:c,onChange:function(e){n({content:e})},placeholder:Object(J.__)("Write…"),className:ee()(r,Object(K.a)({},"has-text-align-".concat(a),a)),onMerge:o}))},save:function(e){var t=e.attributes,n=t.textAlign,r=t.content,o=ee()(Object(K.a)({},"has-text-align-".concat(n),n));return Object(Y.createElement)(Z.RichText.Content,{tagName:"pre",className:o,value:r})}},_i=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.Path,{d:"M4 6.47L5.76 10H20v8H4V6.47M22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4z"})),ki=function(e){var t=e.setAttributes,n=e.attributes,r=n.autoplay,o=n.controls,a=n.loop,c=n.muted,i=n.playsInline,l=n.preload,s=function(e){return function(n){t(Object(K.a)({},e,n))}};return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Autoplay"),onChange:s("autoplay"),checked:r,help:function(e){return e?Object(J.__)("Note: Autoplaying videos may cause usability issues for some visitors."):null}}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Loop"),onChange:s("loop"),checked:a}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Muted"),onChange:s("muted"),checked:c}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Playback Controls"),onChange:s("controls"),checked:o}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Play inline"),onChange:s("playsInline"),checked:i}),Object(Y.createElement)(ce.SelectControl,{label:Object(J.__)("Preload"),value:l,onChange:function(e){return t({preload:e})},options:[{value:"auto",label:Object(J.__)("Auto")},{value:"metadata",label:Object(J.__)("Metadata")},{value:"none",label:Object(J.__)("None")}]}))},Ci=["video"],wi=["image"],Ei=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.videoPlayer=Object(Y.createRef)(),e.posterImageButton=Object(Y.createRef)(),e.onSelectURL=e.onSelectURL.bind(Object(xe.a)(e)),e.onSelectPoster=e.onSelectPoster.bind(Object(xe.a)(e)),e.onRemovePoster=e.onRemovePoster.bind(Object(xe.a)(e)),e.onUploadError=e.onUploadError.bind(Object(xe.a)(e)),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,a=t.setAttributes,c=n.id,i=n.src,l=void 0===i?"":i;if(!c&&Object(Te.isBlobURL)(l)){var s=Object(Te.getBlobByURL)(l);s&&r({filesList:[s],onFileChange:function(e){var t=Object(ae.a)(e,1)[0].url;a({src:t})},onError:function(t){e.setState({editing:!0}),o.createErrorNotice(t)},allowedTypes:Ci})}}},{key:"componentDidUpdate",value:function(e){this.props.attributes.poster!==e.attributes.poster&&this.videoPlayer.current.load()}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=ot({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}this.setState({editing:!1})}},{key:"onSelectPoster",value:function(e){(0,this.props.setAttributes)({poster:e.url})}},{key:"onRemovePoster",value:function(){(0,this.props.setAttributes)({poster:""}),this.posterImageButton.current.focus()}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.caption,r=t.controls,o=t.poster,a=t.src,c=this.props,i=c.className,l=c.instanceId,s=c.isSelected,u=c.noticeUI,b=c.attributes,m=c.setAttributes,d=this.state.editing,h=function(){e.setState({editing:!0})};if(d)return Object(Y.createElement)(Z.MediaPlaceholder,{icon:Object(Y.createElement)(Z.BlockIcon,{icon:_i}),className:i,onSelect:function(t){if(!t||!t.url)return m({src:void 0,id:void 0}),void h();m({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"video/*",allowedTypes:Ci,value:this.props.attributes,notices:u,onError:this.onUploadError});var p="video-block__poster-image-description-".concat(l);return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(ce.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(J.__)("Edit video"),onClick:h,icon:"edit"}))),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Video Settings")},Object(Y.createElement)(ki,{setAttributes:m,attributes:b}),Object(Y.createElement)(Z.MediaUploadCheck,null,Object(Y.createElement)(ce.BaseControl,{className:"editor-video-poster-control"},Object(Y.createElement)(ce.BaseControl.VisualLabel,null,Object(J.__)("Poster Image")),Object(Y.createElement)(Z.MediaUpload,{title:Object(J.__)("Select Poster Image"),onSelect:this.onSelectPoster,allowedTypes:wi,render:function(t){var n=t.open;return Object(Y.createElement)(ce.Button,{isDefault:!0,onClick:n,ref:e.posterImageButton,"aria-describedby":p},e.props.attributes.poster?Object(J.__)("Replace image"):Object(J.__)("Select Poster Image"))}}),Object(Y.createElement)("p",{id:p,hidden:!0},this.props.attributes.poster?Object(J.sprintf)(Object(J.__)("The current poster image url is %s"),this.props.attributes.poster):Object(J.__)("There is no poster image currently selected")),!!this.props.attributes.poster&&Object(Y.createElement)(ce.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(J.__)("Remove Poster Image")))))),Object(Y.createElement)("figure",{className:i},Object(Y.createElement)(ce.Disabled,null,Object(Y.createElement)("video",{controls:r,poster:o,src:a,ref:this.videoPlayer})),(!Z.RichText.isEmpty(n)||s)&&Object(Y.createElement)(Z.RichText,{tagName:"figcaption",placeholder:Object(J.__)("Write caption…"),value:n,onChange:function(e){return m({caption:e})},inlineToolbar:!0})))}}]),t}(Y.Component),xi=Object(ie.compose)([Object(le.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),ce.withNotices,ie.withInstanceId])(Ei);var Si={from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("video/")},transform:function(e){var t=e[0];return Object($.createBlock)("core/video",{src:Object(Te.createBlobURL)(t)})}},{type:"shortcode",tag:"video",attributes:{src:{type:"string",shortcode:function(e){var t=e.named,n=t.src,r=t.mp4,o=t.m4v,a=t.webm,c=t.ogv,i=t.flv;return n||r||o||a||c||i}},poster:{type:"string",shortcode:function(e){return e.named.poster}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},Ti={name:"core/video",category:"common",attributes:{autoplay:{type:"boolean",source:"attribute",selector:"video",attribute:"autoplay"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",source:"attribute",selector:"video",attribute:"controls",default:!0},id:{type:"number"},loop:{type:"boolean",source:"attribute",selector:"video",attribute:"loop"},muted:{type:"boolean",source:"attribute",selector:"video",attribute:"muted"},poster:{type:"string",source:"attribute",selector:"video",attribute:"poster"},preload:{type:"string",source:"attribute",selector:"video",attribute:"preload",default:"metadata"},src:{type:"string",source:"attribute",selector:"video",attribute:"src"},playsInline:{type:"boolean",source:"attribute",selector:"video",attribute:"playsinline"}}},Ni=Ti.name,Bi={title:Object(J.__)("Video"),description:Object(J.__)("Embed a video from your media library or upload a new one."),icon:_i,keywords:[Object(J.__)("movie")],transforms:Si,supports:{align:!0},edit:xi,save:function(e){var t=e.attributes,n=t.autoplay,r=t.caption,o=t.controls,a=t.loop,c=t.muted,i=t.poster,l=t.preload,s=t.src,u=t.playsInline;return Object(Y.createElement)("figure",null,s&&Object(Y.createElement)("video",{autoPlay:n,controls:o,loop:a,muted:c,poster:i,preload:"metadata"!==l?l:void 0,src:s,playsInline:u}),!Z.RichText.isEmpty(r)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:r}))}},Ri=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.taxonomy},e.setTaxonomy=e.setTaxonomy.bind(Object(xe.a)(e)),e.toggleShowTagCounts=e.toggleShowTagCounts.bind(Object(xe.a)(e)),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"getTaxonomyOptions",value:function(){var e=Object(te.filter)(this.props.taxonomies,"show_cloud"),t={label:Object(J.__)("- Select -"),value:"",disabled:!0},n=Object(te.map)(e,(function(e){return{value:e.slug,label:e.name}}));return[t].concat(Object(W.a)(n))}},{key:"setTaxonomy",value:function(e){(0,this.props.setAttributes)({taxonomy:e})}},{key:"toggleShowTagCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showTagCounts:!t.showTagCounts})}},{key:"render",value:function(){var e=this.props.attributes,t=e.taxonomy,n=e.showTagCounts,r=this.getTaxonomyOptions(),o=Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Tag Cloud Settings")},Object(Y.createElement)(ce.SelectControl,{label:Object(J.__)("Taxonomy"),options:r,value:t,onChange:this.setTaxonomy}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Show post counts"),checked:n,onChange:this.toggleShowTagCounts})));return Object(Y.createElement)(Y.Fragment,null,o,Object(Y.createElement)(dn.a,{key:"tag-cloud",block:"core/tag-cloud",attributes:e}))}}]),t}(Y.Component),Ai=Object(le.withSelect)((function(e){return{taxonomies:e("core").getTaxonomies()}}))(Ri),Ii="core/tag-cloud",Pi={title:Object(J.__)("Tag Cloud"),description:Object(J.__)("A cloud of your most used tags."),icon:"tag",category:"widgets",supports:{html:!1,align:!0},edit:Ai},Mi=window.wp;var Li=function(e){function t(e){var n;return Object(ke.a)(this,t),(n=Object(we.a)(this,Object(Ee.a)(t).call(this,e))).initialize=n.initialize.bind(Object(xe.a)(n)),n.onSetup=n.onSetup.bind(Object(xe.a)(n)),n.focus=n.focus.bind(Object(xe.a)(n)),n}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"componentDidMount",value:function(){var e=window.wpEditorL10n.tinymce,t=e.baseURL,n=e.suffix;window.tinymce.EditorManager.overrideDefaults({base_url:t,suffix:n}),"complete"===document.readyState?this.initialize():window.addEventListener("DOMContentLoaded",this.initialize)}},{key:"componentWillUnmount",value:function(){window.addEventListener("DOMContentLoaded",this.initialize),Mi.oldEditor.remove("editor-".concat(this.props.clientId))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.clientId,r=t.attributes.content,o=window.tinymce.get("editor-".concat(n));e.attributes.content!==r&&o.setContent(r||"")}},{key:"initialize",value:function(){var e=this.props.clientId,t=window.wpEditorL10n.tinymce.settings;Mi.oldEditor.initialize("editor-".concat(e),{tinymce:Object(Q.a)({},t,{inline:!0,content_css:!1,fixed_toolbar_container:"#toolbar-".concat(e),setup:this.onSetup})})}},{key:"onSetup",value:function(e){var t,n=this,r=this.props,o=r.attributes.content,a=r.setAttributes,c=this.ref;this.editor=e,o&&e.on("loadContent",(function(){return e.setContent(o)})),e.on("blur",(function(){return t=e.selection.getBookmark(2,!0),a({content:e.getContent()}),e.once("focus",(function(){t&&e.selection.moveToBookmark(t)})),!1})),e.on("mousedown touchstart",(function(){t=null})),e.on("keydown",(function(t){t.keyCode!==Ne.BACKSPACE&&t.keyCode!==Ne.DELETE||!function(e){var t=e.getBody();return!(t.childNodes.length>1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}(e)||(n.props.onReplace([]),t.preventDefault(),t.stopImmediatePropagation()),t.altKey&&t.keyCode===Ne.F10&&t.stopPropagation()})),e.addButton("kitchensink",{tooltip:Object(J._x)("More","button to expand options"),icon:"dashicon dashicons-editor-kitchensink",onClick:function(){var t=!this.active();this.active(t),e.dom.toggleClass(c,"has-advanced-toolbar",t)}}),e.on("init",(function(){e.settings.toolbar1&&-1===e.settings.toolbar1.indexOf("kitchensink")&&e.dom.addClass(c,"has-advanced-toolbar")})),e.addButton("wp_add_media",{tooltip:Object(J.__)("Insert Media"),icon:"dashicon dashicons-admin-media",cmd:"WP_Medialib"}),e.on("init",(function(){var e=n.editor.getBody();document.activeElement===e&&(e.blur(),n.editor.focus())}))}},{key:"focus",value:function(){this.editor&&this.editor.focus()}},{key:"onToolbarKeyDown",value:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},{key:"render",value:function(){var e=this,t=this.props.clientId;return[Object(Y.createElement)("div",{key:"toolbar",id:"toolbar-".concat(t),ref:function(t){return e.ref=t},className:"block-library-classic__toolbar",onClick:this.focus,"data-placeholder":Object(J.__)("Classic"),onKeyDown:this.onToolbarKeyDown}),Object(Y.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})]}}]),t}(Y.Component),Hi=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"m20 7v10h-16v-10h16m0-2h-16c-1.1 0-1.99 0.9-1.99 2l-0.01 10c0 1.1 0.9 2 2 2h16c1.1 0 2-0.9 2-2v-10c0-1.1-0.9-2-2-2z"}),Object(Y.createElement)(ce.Rect,{x:"11",y:"8",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"11",y:"11",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"8",y:"8",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"8",y:"11",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"5",y:"11",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"5",y:"8",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"8",y:"14",width:"8",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"14",y:"11",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"14",y:"8",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"17",y:"11",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"17",y:"8",width:"2",height:"2"}));var zi={name:"core/freeform",category:"formatting",attributes:{content:{type:"string",source:"html"}}},Vi=zi.name,Di={title:Object(J._x)("Classic","block title"),description:Object(J.__)("Use the classic WordPress editor."),icon:Hi,supports:{className:!1,customClassName:!1,reusable:!1},edit:Li,save:function(e){var t=e.attributes.content;return Object(Y.createElement)(Y.RawHTML,null,t)}};n.d(t,"registerCoreBlocks",(function(){return Ui})),n.d(t,"__experimentalRegisterExperimentalCoreBlocks",(function(){return Gi}));var Fi=function(e){if(e){var t=e.metadata,n=e.settings,r=e.name;t&&Object($.unstable__bootstrapServerSideBlockDefinitions)(Object(K.a)({},r,t)),Object($.registerBlockType)(r,n)}},Ui=function(){[r,o,a,i,E,c,L,l,s,u,b,m,d,h,p,g,f].concat(Object(W.a)(uo),Object(W.a)(bo),[v,P,window.wp&&window.wp.oldEditor?q:null,O,j,C,w,x,S,_,k,T,N,B,A,I,M,R,H,z,V,G,D,F,U]).forEach(Fi),Object($.setDefaultBlockName)(ve),window.wp&&window.wp.oldEditor&&Object($.setFreeformContentHandlerName)(Vi),Object($.setUnregisteredTypeHandlerName)(Ba),P&&Object($.setGroupingBlockName)(jc)},Gi=void 0},37:function(e,t){!function(){e.exports=this.wp.apiFetch}()},4:function(e,t){!function(){e.exports=this.wp.data}()},40:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},42:function(e,t,n){e.exports=function(e,t){var n,r,o,a=0;function c(){var t,c,i=r,l=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(c=0;c1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=A(e,360),t=A(t,100),n=A(n,100),0===t)r=o=a=n;else{var i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;r=c(l,i,e+1/3),o=c(l,i,e),a=c(l,i,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,r,l),b=!0,m="hsl"),e.hasOwnProperty("a")&&(n=e.a));var d,h,p;return n=R(n),{ok:b,format:e.format||m,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=i++}function d(e,t,n){e=A(e,255),t=A(t,255),n=A(n,255);var r,o,a=u(e,t,n),c=s(e,t,n),i=(a+c)/2;if(a==c)r=o=0;else{var l=a-c;switch(o=i>.5?l/(2-a-c):l/(a+c),a){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(m(r));return a}function T(e,t){t=t||6;for(var n=m(e).toHsv(),r=n.h,o=n.s,a=n.v,c=[],i=1/t;t--;)c.push(m({h:r,s:o,v:a})),a=(a+i)%1;return c}m.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=R(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=d(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return p(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var a=[M(l(e).toString(16)),M(l(t).toString(16)),M(l(n).toString(16)),M(H(r))];if(o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*A(this._r,255))+"%",g:l(100*A(this._g,255))+"%",b:l(100*A(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*A(this._r,255))+"%, "+l(100*A(this._g,255))+"%, "+l(100*A(this._b,255))+"%)":"rgba("+l(100*A(this._r,255))+"%, "+l(100*A(this._g,255))+"%, "+l(100*A(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(B[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=m(e);n="#"+g(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return m(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(j,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(O,arguments)},spin:function(){return this._applyModification(k,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(C,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},m.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:L(e[r]));e=n}return m(e,t)},m.equals=function(e,t){return!(!e||!t)&&m(e).toRgbString()==m(t).toRgbString()},m.random=function(){return m.fromRatio({r:b(),g:b(),b:b()})},m.mix=function(e,t,n){n=0===n?0:n||50;var r=m(e).toRgb(),o=m(t).toRgb(),a=n/100;return m({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},m.readability=function(e,t){var n=m(e),r=m(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},m.isReadable=function(e,t,n){var r,o,a=m.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},m.mostReadable=function(e,t,n){var r,o,a,c,i=null,l=0;o=(n=n||{}).includeFallbackColors,a=n.level,c=n.size;for(var s=0;sl&&(l=r,i=m(t[s]));return m.isReadable(e,i,{level:a,size:c})||!o?i:(n.includeFallbackColors=!1,m.mostReadable(e,["#fff","#000"],n))};var N=m.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},B=m.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(N);function R(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function A(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function I(e){return s(1,u(0,e))}function P(e){return parseInt(e,16)}function M(e){return 1==e.length?"0"+e:""+e}function L(e){return e<=1&&(e=100*e+"%"),e}function H(e){return o.round(255*parseFloat(e)).toString(16)}function z(e){return P(e)/255}var V,D,F,U=(D="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",F="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+D),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+D),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+D),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function G(e){return!!U.CSS_UNIT.exec(e)}e.exports?e.exports=m:void 0===(r=function(){return m}.call(t,n,t,e))||(e.exports=r)}(Math)},5:function(e,t){!function(){e.exports=this.wp.blockEditor}()},50:function(e,t){!function(){e.exports=this.wp.viewport}()},54:function(e,t){!function(){e.exports=this.wp.date}()},58:function(e,t){!function(){e.exports=this.wp.serverSideRender}()},59:function(e,t){!function(){e.exports=this.wp.escapeHtml}()},6:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},61:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},62:function(e,t){!function(){e.exports=this.wp.coreData}()},68:function(e,t){!function(){e.exports=this.wp.autop}()},69:function(e,t,n){var r; /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var n=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),b=["%","/","?",";","#"].concat(u),m=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(125);function O(e,t,n){if(e&&o.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),i=-1!==a&&a127?B+="x":B+=A[I];if(!B.match(d)){var P=N.slice(0,x),L=N.slice(x+1),H=A.match(h);H&&(P.push(H[1]),L.unshift(H[2])),L.length&&(O="/"+L.join(".")+O),this.hostname=P.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var z=this.port?":"+this.port:"",V=this.hostname||"";this.host=V+z,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==O[0]&&(O="/"+O))}if(!p[_])for(x=0,R=u.length;x0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!k.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var w=k.slice(-1)[0],E=(n.host||e.host||k.length>1)&&("."===w||".."===w)||""===w,x=0,S=k.length;S>=0;S--)"."===(w=k[S])?k.splice(S,1):".."===w?(k.splice(S,1),x++):x&&(k.splice(S,1),x--);if(!y&&!_)for(;x--;x)k.unshift("..");!y||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),E&&"/"!==k.join("/").substr(-1)&&k.push("");var T,N=""===k[0]||k[0]&&"/"===k[0].charAt(0);C&&(n.hostname=n.host=N?"":k.length?k.shift():"",(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift()));return(y=y||n.host&&k.length)&&!N&&k.unshift(""),k.length?n.pathname=k.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var e=this.host,t=i.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},88:function(e,t){!function(){e.exports=this.wp.coreData}()},9:function(e,t){!function(){e.exports=this.wp.blocks}()}}); \ No newline at end of file +*/!function(){"use strict";var n=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),b=["%","/","?",";","#"].concat(u),m=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(123);function O(e,t,n){if(e&&o.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),i=-1!==a&&a127?A+="x":A+=R[I];if(!A.match(d)){var M=N.slice(0,x),L=N.slice(x+1),H=R.match(h);H&&(M.push(H[1]),L.unshift(H[2])),L.length&&(O="/"+L.join(".")+O),this.hostname=M.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var z=this.port?":"+this.port:"",V=this.hostname||"";this.host=V+z,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==O[0]&&(O="/"+O))}if(!p[_])for(x=0,B=u.length;x0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!k.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var w=k.slice(-1)[0],E=(n.host||e.host||k.length>1)&&("."===w||".."===w)||""===w,x=0,S=k.length;S>=0;S--)"."===(w=k[S])?k.splice(S,1):".."===w?(k.splice(S,1),x++):x&&(k.splice(S,1),x--);if(!y&&!_)for(;x--;x)k.unshift("..");!y||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),E&&"/"!==k.join("/").substr(-1)&&k.push("");var T,N=""===k[0]||k[0]&&"/"===k[0].charAt(0);C&&(n.hostname=n.host=N?"":k.length?k.shift():"",(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift()));return(y=y||n.host&&k.length)&&!N&&k.unshift(""),k.length?n.pathname=k.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var e=this.host,t=i.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},9:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))}}); \ No newline at end of file diff --git a/wp-includes/js/dist/block-serialization-default-parser.js b/wp-includes/js/dist/block-serialization-default-parser.js index d7bcde0518..f7dc109e1c 100644 --- a/wp-includes/js/dist/block-serialization-default-parser.js +++ b/wp-includes/js/dist/block-serialization-default-parser.js @@ -82,21 +82,25 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockSerializationDefaultParser"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 235); +/******/ return __webpack_require__(__webpack_require__.s = 234); /******/ }) /************************************************************************/ /******/ ({ -/***/ 23: +/***/ 22: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(38); +var arrayWithHoles = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { + if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { + return; + } + var _arr = []; var _n = true; var _d = false; @@ -122,7 +126,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(39); +var nonIterableRest = __webpack_require__(34); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -135,13 +139,13 @@ function _slicedToArray(arr, i) { /***/ }), -/***/ 235: +/***/ 234: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parse", function() { return parse; }); -/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23); +/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22); var document; var offset; @@ -525,7 +529,7 @@ function addBlockFromStack(endOffset) { /***/ }), -/***/ 38: +/***/ 33: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -536,7 +540,7 @@ function _arrayWithHoles(arr) { /***/ }), -/***/ 39: +/***/ 34: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; diff --git a/wp-includes/js/dist/block-serialization-default-parser.min.js b/wp-includes/js/dist/block-serialization-default-parser.min.js index 66d0fcbc0e..bcd719956d 100644 --- a/wp-includes/js/dist/block-serialization-default-parser.min.js +++ b/wp-includes/js/dist/block-serialization-default-parser.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(n){var t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={i:e,l:!1,exports:{}};return n[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var u in n)r.d(e,u,function(t){return n[t]}.bind(null,u));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=235)}({23:function(n,t,r){"use strict";var e=r(38);var u=r(39);function o(n,t){return Object(e.a)(n)||function(n,t){var r=[],e=!0,u=!1,o=void 0;try{for(var i,l=n[Symbol.iterator]();!(e=(i=l.next()).done)&&(r.push(i.value),!t||r.length!==t);e=!0);}catch(n){u=!0,o=n}finally{try{e||null==l.return||l.return()}finally{if(u)throw o}}return r}(n,t)||Object(u.a)()}r.d(t,"a",(function(){return o}))},235:function(n,t,r){"use strict";r.r(t),r.d(t,"parse",(function(){return a}));var e,u,o,i,l=r(23),c=/)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function s(n,t,r,e,u){return{blockName:n,attrs:t,innerBlocks:r,innerHTML:e,innerContent:u}}function f(n){return s(null,{},[],n,[n])}var a=function(n){e=n,u=0,o=[],i=[],c.lastIndex=0;do{}while(p());return o};function p(){var n=function(){var n=c.exec(e);if(null===n)return["no-more-tokens"];var t=n.index,r=Object(l.a)(n,7),u=r[0],o=r[1],i=r[2],s=r[3],f=r[4],a=r[6],p=u.length,b=!!o,v=!!a,d=(i||"core/")+s,h=!!f,k=h?function(n){try{return JSON.parse(n)}catch(n){return null}}(f):{};if(v)return["void-block",d,k,t,p];if(b)return["block-closer",d,null,t,p];return["block-opener",d,k,t,p]}(),t=Object(l.a)(n,5),r=t[0],a=t[1],p=t[2],h=t[3],k=t[4],y=i.length,O=h>u?u:null;switch(r){case"no-more-tokens":if(0===y)return b(),!1;if(1===y)return d(),!1;for(;0)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function s(t,n,r,e,o){return{blockName:t,attrs:n,innerBlocks:r,innerHTML:e,innerContent:o}}function a(t){return s(null,{},[],t,[t])}var f=function(t){e=t,o=0,u=[],i=[],l.lastIndex=0;do{}while(p());return u};function p(){var t=function(){var t=l.exec(e);if(null===t)return["no-more-tokens"];var n=t.index,r=Object(c.a)(t,7),o=r[0],u=r[1],i=r[2],s=r[3],a=r[4],f=r[6],p=o.length,b=!!u,v=!!f,d=(i||"core/")+s,h=!!a,k=h?function(t){try{return JSON.parse(t)}catch(t){return null}}(a):{};if(v)return["void-block",d,k,n,p];if(b)return["block-closer",d,null,n,p];return["block-opener",d,k,n,p]}(),n=Object(c.a)(t,5),r=n[0],f=n[1],p=n[2],h=n[3],k=n[4],y=i.length,O=h>o?o:null;switch(r){case"no-more-tokens":if(0===y)return b(),!1;if(1===y)return d(),!1;for(;0'; @@ -3092,7 +3122,7 @@ showdown.subParser('anchors', function (text, options, globals) { // normal cases text = text.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]??(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g, - writeAnchorTag); + writeAnchorTag); // handle reference-style shortcuts: [link text] // These must come last in case you've also got [link test][1] @@ -3113,7 +3143,7 @@ showdown.subParser('anchors', function (text, options, globals) { var lnk = options.ghMentionsLink.replace(/\{u}/g, username), target = ''; if (options.openLinksInNewWindow) { - target = ' target="¨E95Eblank"'; + target = ' rel="noopener noreferrer" target="¨E95Eblank"'; } return st + '' + mentions + ''; }); @@ -3147,7 +3177,7 @@ var simpleURLRegex = /([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^' append = trailingPunctuation; } if (options.openLinksInNewWindow) { - target = ' target="¨E95Eblank"'; + target = ' rel="noopener noreferrer" target="¨E95Eblank"'; } return lmc + '' + lnkTxt + '' + append + tmc; }; @@ -3348,7 +3378,7 @@ showdown.subParser('codeSpans', function (text, options, globals) { text = globals.converter._dispatch('codeSpans.before', text, options, globals); - if (typeof(text) === 'undefined') { + if (typeof text === 'undefined') { text = ''; } text = text.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm, @@ -3768,7 +3798,7 @@ showdown.subParser('hashHTMLBlocks', function (text, options, globals) { //2. Split the text in that position var subTexts = showdown.helper.splitAtIndex(text, opTagPos), - //3. Match recursively + //3. Match recursively newSubText1 = showdown.helper.replaceRecursiveRegExp(subTexts[1], repFunc, patLeft, patRight, 'im'); // prevent an infinite loop @@ -3887,13 +3917,13 @@ showdown.subParser('headers', function (text, options, globals) { var headerLevelStart = (isNaN(parseInt(options.headerLevelStart))) ? 1 : parseInt(options.headerLevelStart), - // Set text-style headers: - // Header 1 - // ======== - // - // Header 2 - // -------- - // + // Set text-style headers: + // Header 1 + // ======== + // + // Header 2 + // -------- + // setextRegexH1 = (options.smoothLivePreview) ? /^(.+)[ \t]*\n={2,}[ \t]*\n+/gm : /^(.+)[ \t]*\n=+[ \t]*\n+/gm, setextRegexH2 = (options.smoothLivePreview) ? /^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm : /^(.+)[ \t]*\n-+[ \t]*\n+/gm; @@ -4694,7 +4724,7 @@ showdown.subParser('tables', function (text, options, globals) { } var tableRgx = /^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm, - //singeColTblRgx = /^ {0,3}\|.+\|\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n(?: {0,3}\|.+\|\n)+(?:\n\n|¨0)/gm; + //singeColTblRgx = /^ {0,3}\|.+\|\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n(?: {0,3}\|.+\|\n)+(?:\n\n|¨0)/gm; singeColTblRgx = /^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm; function parseStyles (sLine) { @@ -5380,61 +5410,6 @@ if (true) { -/***/ }), - -/***/ 23: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(38); - -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js -function _iterableToArrayLimit(arr, i) { - var _arr = []; - var _n = true; - var _d = false; - var _e = undefined; - - try { - for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { - _arr.push(_s.value); - - if (i && _arr.length === i) break; - } - } catch (err) { - _d = true; - _e = err; - } finally { - try { - if (!_n && _i["return"] != null) _i["return"](); - } finally { - if (_d) throw _e; - } - } - - return _arr; -} -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(39); - -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); - - - -function _slicedToArray(arr, i) { - return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(nonIterableRest["a" /* default */])(); -} - -/***/ }), - -/***/ 25: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["dom"]; }()); - /***/ }), /***/ 27: @@ -5444,7 +5419,14 @@ function _slicedToArray(arr, i) { /***/ }), -/***/ 30: +/***/ 29: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["dom"]; }()); + +/***/ }), + +/***/ 32: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -5455,7 +5437,36 @@ function _iterableToArray(iter) { /***/ }), -/***/ 347: +/***/ 33: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); +function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; +} + +/***/ }), + +/***/ 34: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); +function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance"); +} + +/***/ }), + +/***/ 36: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["blob"]; }()); + +/***/ }), + +/***/ 366: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -5465,6 +5476,8 @@ __webpack_require__.r(selectors_namespaceObject); __webpack_require__.d(selectors_namespaceObject, "getBlockTypes", function() { return getBlockTypes; }); __webpack_require__.d(selectors_namespaceObject, "getBlockType", function() { return getBlockType; }); __webpack_require__.d(selectors_namespaceObject, "getBlockStyles", function() { return getBlockStyles; }); +__webpack_require__.d(selectors_namespaceObject, "__experimentalGetBlockPatterns", function() { return __experimentalGetBlockPatterns; }); +__webpack_require__.d(selectors_namespaceObject, "__experimentalGetDefaultBlockPattern", function() { return __experimentalGetDefaultBlockPattern; }); __webpack_require__.d(selectors_namespaceObject, "getCategories", function() { return getCategories; }); __webpack_require__.d(selectors_namespaceObject, "getDefaultBlockName", function() { return getDefaultBlockName; }); __webpack_require__.d(selectors_namespaceObject, "getFreeformFallbackBlockName", function() { return getFreeformFallbackBlockName; }); @@ -5482,6 +5495,8 @@ __webpack_require__.d(actions_namespaceObject, "addBlockTypes", function() { ret __webpack_require__.d(actions_namespaceObject, "removeBlockTypes", function() { return removeBlockTypes; }); __webpack_require__.d(actions_namespaceObject, "addBlockStyles", function() { return addBlockStyles; }); __webpack_require__.d(actions_namespaceObject, "removeBlockStyles", function() { return removeBlockStyles; }); +__webpack_require__.d(actions_namespaceObject, "__experimentalAddBlockPatterns", function() { return __experimentalAddBlockPatterns; }); +__webpack_require__.d(actions_namespaceObject, "__experimentalRemoveBlockPatterns", function() { return __experimentalRemoveBlockPatterns; }); __webpack_require__.d(actions_namespaceObject, "setDefaultBlockName", function() { return setDefaultBlockName; }); __webpack_require__.d(actions_namespaceObject, "setFreeformFallbackBlockName", function() { return setFreeformFallbackBlockName; }); __webpack_require__.d(actions_namespaceObject, "setUnregisteredFallbackBlockName", function() { return setUnregisteredFallbackBlockName; }); @@ -5493,10 +5508,10 @@ __webpack_require__.d(actions_namespaceObject, "updateCategory", function() { re var external_this_wp_data_ = __webpack_require__(4); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(10); +var defineProperty = __webpack_require__(9); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(17); +var toConsumableArray = __webpack_require__(18); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js var objectSpread = __webpack_require__(7); @@ -5604,6 +5619,40 @@ function blockStyles() { return state; } +/** + * Reducer managing the block patterns. + * + * @param {Object} state Current state. + * @param {Object} action Dispatched action. + * + * @return {Object} Updated state. + */ + +function blockPatterns() { + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var action = arguments.length > 1 ? arguments[1] : undefined; + + switch (action.type) { + case 'ADD_BLOCK_TYPES': + return Object(objectSpread["a" /* default */])({}, state, Object(external_this_lodash_["mapValues"])(Object(external_this_lodash_["keyBy"])(action.blockTypes, 'name'), function (blockType) { + return Object(external_this_lodash_["uniqBy"])([].concat(Object(toConsumableArray["a" /* default */])(Object(external_this_lodash_["get"])(blockType, ['patterns'], [])), Object(toConsumableArray["a" /* default */])(Object(external_this_lodash_["get"])(state, [blockType.name], []))), function (pattern) { + return pattern.name; + }); + })); + + case 'ADD_BLOCK_PATTERNS': + return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.blockName, Object(external_this_lodash_["uniqBy"])([].concat(Object(toConsumableArray["a" /* default */])(Object(external_this_lodash_["get"])(state, [action.blockName], [])), Object(toConsumableArray["a" /* default */])(action.patterns)), function (pattern) { + return pattern.name; + }))); + + case 'REMOVE_BLOCK_PATTERNS': + return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.blockName, Object(external_this_lodash_["filter"])(Object(external_this_lodash_["get"])(state, [action.blockName], []), function (pattern) { + return action.patternNames.indexOf(pattern.name) === -1; + }))); + } + + return state; +} /** * Higher-order Reducer creating a reducer keeping track of given block name. * @@ -5678,6 +5727,7 @@ function reducer_categories() { /* harmony default export */ var reducer = (Object(external_this_wp_data_["combineReducers"])({ blockTypes: reducer_blockTypes, blockStyles: blockStyles, + blockPatterns: blockPatterns, defaultBlockName: reducer_defaultBlockName, freeformFallbackBlockName: freeformFallbackBlockName, unregisteredFallbackBlockName: unregisteredFallbackBlockName, @@ -5686,7 +5736,7 @@ function reducer_categories() { })); // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(36); +var rememo = __webpack_require__(38); // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/store/selectors.js /** @@ -5745,6 +5795,35 @@ function getBlockType(state, name) { function getBlockStyles(state, name) { return state.blockStyles[name]; } +/** + * Returns block patterns by block name. + * + * @param {Object} state Data state. + * @param {string} blockName Block type name. + * + * @return {(WPBlockPattern[]|void)} Block patterns. + */ + +function __experimentalGetBlockPatterns(state, blockName) { + return state.blockPatterns[blockName]; +} +/** + * Returns the default block pattern for the given block type. + * When there are multiple patterns annotated as the default one, + * the last added item is picked. This simplifies registering overrides. + * When there is no default pattern set, it returns the first item. + * + * @param {Object} state Data state. + * @param {string} blockName Block type name. + * + * @return {?WPBlockPattern} The default block pattern. + */ + +function __experimentalGetDefaultBlockPattern(state, blockName) { + var patterns = __experimentalGetBlockPatterns(state, blockName); + + return Object(external_this_lodash_["findLast"])(patterns, 'isDefault') || Object(external_this_lodash_["first"])(patterns); +} /** * Returns all the available categories. * @@ -5973,6 +6052,38 @@ function removeBlockStyles(blockName, styleNames) { blockName: blockName }; } +/** + * Returns an action object used in signalling that new block patterns have been added. + * + * @param {string} blockName Block name. + * @param {WPBlockPattern|WPBlockPattern[]} patterns Block patterns. + * + * @return {Object} Action object. + */ + +function __experimentalAddBlockPatterns(blockName, patterns) { + return { + type: 'ADD_BLOCK_PATTERNS', + patterns: Object(external_this_lodash_["castArray"])(patterns), + blockName: blockName + }; +} +/** + * Returns an action object used in signalling that block patterns have been removed. + * + * @param {string} blockName Block name. + * @param {string|string[]} patternNames Block pattern names. + * + * @return {Object} Action object. + */ + +function __experimentalRemoveBlockPatterns(blockName, patternNames) { + return { + type: 'REMOVE_BLOCK_PATTERNS', + patternNames: Object(external_this_lodash_["castArray"])(patternNames), + blockName: blockName + }; +} /** * Returns an action object used to set the default block name. * @@ -6090,7 +6201,7 @@ var v4_default = /*#__PURE__*/__webpack_require__.n(v4); var external_this_wp_hooks_ = __webpack_require__(27); // EXTERNAL MODULE: ./node_modules/tinycolor2/tinycolor.js -var tinycolor = __webpack_require__(47); +var tinycolor = __webpack_require__(48); var tinycolor_default = /*#__PURE__*/__webpack_require__.n(tinycolor); // EXTERNAL MODULE: external {"this":["wp","element"]} @@ -6243,13 +6354,20 @@ var DEPRECATED_ENTRY_KEYS = ['attributes', 'supports', 'save', 'migrate', 'isEli +/** + * An icon type definition. One of a Dashicon slug, an element, + * or a component. + * + * @typedef {(string|WPElement|WPComponent)} WPIcon + * + * @see https://developer.wordpress.org/resource/dashicons/ + */ + /** * Render behavior of a block type icon; one of a Dashicon slug, an element, * or a component. * - * @typedef {(string|WPElement|WPComponent)} WPBlockTypeIconRender - * - * @see https://developer.wordpress.org/resource/dashicons/ + * @typedef {WPIcon} WPBlockTypeIconRender */ /** @@ -6276,26 +6394,41 @@ var DEPRECATED_ENTRY_KEYS = ['attributes', 'supports', 'save', 'migrate', 'isEli * @typedef {(WPBlockTypeIconDescriptor|WPBlockTypeIconRender)} WPBlockTypeIcon */ +/** + * An object describing a pattern defined for the block type. + * + * @typedef {Object} WPBlockPattern + * + * @property {string} name The unique and machine-readable name. + * @property {string} label A human-readable label. + * @property {WPIcon} [icon] An icon helping to visualize the pattern. + * @property {boolean} [isDefault] Indicates whether the current pattern is the default one. + * Defaults to `false`. + * @property {Object} [attributes] Values which override block attributes. + * @property {Array[]} [innerBlocks] Initial configuration of nested blocks. + */ + /** * Defined behavior of a block type. * - * @typedef {Object} WPBlockType + * @typedef {Object} WPBlock * - * @property {string} name Block type's namespaced name. - * @property {string} title Human-readable block type label. - * @property {string} category Block type category classification, - * used in search interfaces to arrange - * block types by category. - * @property {WPBlockTypeIcon} [icon] Block type icon. - * @property {string[]} [keywords] Additional keywords to produce block - * type as result in search interfaces. - * @property {Object} [attributes] Block type attributes. - * @property {WPComponent} [save] Optional component describing - * serialized markup structure of a - * block type. - * @property {WPComponent} edit Component rendering an element to - * manipulate the attributes of a block - * in the context of an editor. + * @property {string} name Block type's namespaced name. + * @property {string} title Human-readable block type label. + * @property {string} category Block type category classification, + * used in search interfaces to arrange + * block types by category. + * @property {WPBlockTypeIcon} [icon] Block type icon. + * @property {string[]} [keywords] Additional keywords to produce block + * type as result in search interfaces. + * @property {Object} [attributes] Block type attributes. + * @property {WPComponent} [save] Optional component describing + * serialized markup structure of a + * block type. + * @property {WPComponent} edit Component rendering an element to + * manipulate the attributes of a block + * in the context of an editor. + * @property {WPBlockPattern[]} [patterns] The list of block patterns. */ /** @@ -6332,7 +6465,7 @@ function unstable__bootstrapServerSideBlockDefinitions(definitions) { * @param {Object} settings Block settings. * * @return {?WPBlock} The block, if it has been successfully registered; - * otherwise `undefined`. + * otherwise `undefined`. */ function registerBlockType(name, settings) { @@ -6422,7 +6555,7 @@ function registerBlockType(name, settings) { * @param {string} name Block name. * * @return {?WPBlock} The previous block value, if it has been successfully - * unregistered; otherwise `undefined`. + * unregistered; otherwise `undefined`. */ function unregisterBlockType(name) { @@ -6625,6 +6758,26 @@ var registration_registerBlockStyle = function registerBlockStyle(blockName, sty var registration_unregisterBlockStyle = function unregisterBlockStyle(blockName, styleVariationName) { Object(external_this_wp_data_["dispatch"])('core/blocks').removeBlockStyles(blockName, styleVariationName); }; +/** + * Registers a new block pattern for the given block. + * + * @param {string} blockName Name of the block (example: “core/columns”). + * @param {WPBlockPattern} pattern Object describing a block pattern. + */ + +var registration_experimentalRegisterBlockPattern = function __experimentalRegisterBlockPattern(blockName, pattern) { + Object(external_this_wp_data_["dispatch"])('core/blocks').__experimentalAddBlockPatterns(blockName, pattern); +}; +/** + * Unregisters a block pattern defined for the given block. + * + * @param {string} blockName Name of the block (example: “core/columns”). + * @param {string} patternName Name of the pattern defined for the block. + */ + +var registration_experimentalUnregisterBlockPattern = function __experimentalUnregisterBlockPattern(blockName, patternName) { + Object(external_this_wp_data_["dispatch"])('core/blocks').__experimentalRemoveBlockPatterns(blockName, patternName); +}; // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/factory.js @@ -6663,26 +6816,26 @@ function createBlock(name) { var blockType = registration_getBlockType(name); // Ensure attributes contains only values defined by block type, and merge // default values for missing attributes. - var sanitizedAttributes = Object(external_this_lodash_["reduce"])(blockType.attributes, function (result, schema, key) { + var sanitizedAttributes = Object(external_this_lodash_["reduce"])(blockType.attributes, function (accumulator, schema, key) { var value = attributes[key]; if (undefined !== value) { - result[key] = value; + accumulator[key] = value; } else if (schema.hasOwnProperty('default')) { - result[key] = schema.default; + accumulator[key] = schema.default; } if (['node', 'children'].indexOf(schema.source) !== -1) { // Ensure value passed is always an array, which we're expecting in // the RichText component to handle the deprecated value. - if (typeof result[key] === 'string') { - result[key] = [result[key]]; - } else if (!Array.isArray(result[key])) { - result[key] = []; + if (typeof accumulator[key] === 'string') { + accumulator[key] = [accumulator[key]]; + } else if (!Array.isArray(accumulator[key])) { + accumulator[key] = []; } } - return result; + return accumulator; }, {}); var clientId = v4_default()(); // Blocks are stored with a unique ID, the assigned type name, the block // attributes, and their inner blocks. @@ -7095,7 +7248,7 @@ var factory_getBlockFromExample = function getBlockFromExample(name, example) { }; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(23); +var slicedToArray = __webpack_require__(22); // CONCATENATED MODULE: ./node_modules/hpq/es/get-path.js /** @@ -7280,16 +7433,16 @@ function query(selector, matchers) { var external_this_wp_autop_ = __webpack_require__(68); // EXTERNAL MODULE: external {"this":["wp","blockSerializationDefaultParser"]} -var external_this_wp_blockSerializationDefaultParser_ = __webpack_require__(221); +var external_this_wp_blockSerializationDefaultParser_ = __webpack_require__(220); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(38); +var arrayWithHoles = __webpack_require__(33); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(30); +var iterableToArray = __webpack_require__(32); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(39); +var nonIterableRest = __webpack_require__(34); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toArray.js @@ -7299,10 +7452,10 @@ function _toArray(arr) { return Object(arrayWithHoles["a" /* default */])(arr) || Object(iterableToArray["a" /* default */])(arr) || Object(nonIterableRest["a" /* default */])(); } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(12); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(11); +var createClass = __webpack_require__(12); // CONCATENATED MODULE: ./node_modules/simple-html-tokenizer/dist/es6/index.js /** @@ -7972,7 +8125,7 @@ function tokenize(input, options) { // EXTERNAL MODULE: external {"this":["wp","htmlEntities"]} -var external_this_wp_htmlEntities_ = __webpack_require__(51); +var external_this_wp_htmlEntities_ = __webpack_require__(53); // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/validation/logger.js function createLogger() { @@ -8047,11 +8200,11 @@ function createQueuedLogger() { } // EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} -var external_this_wp_isShallowEqual_ = __webpack_require__(41); +var external_this_wp_isShallowEqual_ = __webpack_require__(45); var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(18); +var esm_extends = __webpack_require__(14); // EXTERNAL MODULE: external {"this":["wp","compose"]} var external_this_wp_compose_ = __webpack_require__(8); @@ -8089,7 +8242,7 @@ var _createContext = Object(external_this_wp_element_["createContext"])(function * * ``` * - * @return {WPElement} Element with BlockContent injected via context. + * @return {WPComponent} Element with BlockContent injected via context. */ @@ -8114,7 +8267,7 @@ var block_content_provider_BlockContentProvider = function BlockContentProvider( * A Higher Order Component used to inject BlockContent using context to the * wrapped component. * - * @return {Component} Enhanced component with injected BlockContent as prop. + * @return {WPComponent} Enhanced component with injected BlockContent as prop. */ @@ -8219,9 +8372,9 @@ function getSaveElement(blockTypeOrName, attributes) { /** * Filters the props applied to the block save result element. * - * @param {Object} props Props applied to save element. - * @param {WPBlockType} blockType Block type definition. - * @param {Object} attributes Block attributes. + * @param {Object} props Props applied to save element. + * @param {WPBlock} blockType Block type definition. + * @param {Object} attributes Block attributes. */ var props = Object(external_this_wp_hooks_["applyFilters"])('blocks.getSaveContent.extraProps', Object(objectSpread["a" /* default */])({}, element.props), blockType, attributes); @@ -8232,9 +8385,9 @@ function getSaveElement(blockTypeOrName, attributes) { /** * Filters the save result of a block during serialization. * - * @param {WPElement} element Block save result. - * @param {WPBlockType} blockType Block type definition. - * @param {Object} attributes Block attributes. + * @param {WPElement} element Block save result. + * @param {WPBlock} blockType Block type definition. + * @param {Object} attributes Block attributes. */ @@ -8276,27 +8429,27 @@ function getSaveContent(blockTypeOrName, attributes, innerBlocks) { */ function getCommentAttributes(blockType, attributes) { - return Object(external_this_lodash_["reduce"])(blockType.attributes, function (result, attributeSchema, key) { + return Object(external_this_lodash_["reduce"])(blockType.attributes, function (accumulator, attributeSchema, key) { var value = attributes[key]; // Ignore undefined values. if (undefined === value) { - return result; + return accumulator; } // Ignore all attributes but the ones with an "undefined" source // "undefined" source refers to attributes saved in the block comment. if (attributeSchema.source !== undefined) { - return result; + return accumulator; } // Ignore default value. if ('default' in attributeSchema && attributeSchema.default === value) { - return result; + return accumulator; } // Otherwise, include in comment set. - result[key] = value; - return result; + accumulator[key] = value; + return accumulator; }, {}); } /** @@ -8457,7 +8610,7 @@ var REGEXP_STYLE_URL_TYPE = /^url\s*\(['"\s]*(.*?)['"\s]*\)$/; * See: https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes * Extracted from: https://html.spec.whatwg.org/multipage/indices.html#attributes-3 * - * Object.keys( [ ...document.querySelectorAll( '#attributes-1 > tbody > tr' ) ] + * Object.keys( Array.from( document.querySelectorAll( '#attributes-1 > tbody > tr' ) ) * .filter( ( tr ) => tr.lastChild.textContent.indexOf( 'Boolean attribute' ) !== -1 ) * .reduce( ( result, tr ) => Object.assign( result, { * [ tr.firstChild.textContent.trim() ]: true @@ -8475,7 +8628,7 @@ var BOOLEAN_ATTRIBUTES = ['allowfullscreen', 'allowpaymentrequest', 'allowuserme * See: https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#enumerated-attribute * Extracted from: https://html.spec.whatwg.org/multipage/indices.html#attributes-3 * - * Object.keys( [ ...document.querySelectorAll( '#attributes-1 > tbody > tr' ) ] + * Object.keys( Array.from( document.querySelectorAll( '#attributes-1 > tbody > tr' ) ) * .filter( ( tr ) => /^("(.+?)";?\s*)+/.test( tr.lastChild.textContent.trim() ) ) * .reduce( ( result, tr ) => Object.assign( result, { * [ tr.firstChild.textContent.trim() ]: true @@ -8513,9 +8666,9 @@ var TEXT_NORMALIZATIONS = [external_this_lodash_["identity"], getTextWithCollaps * Tested aginst "12.5 Named character references": * * ``` - * const references = [ ...document.querySelectorAll( + * const references = Array.from( document.querySelectorAll( * '#named-character-references-table tr[id^=entity-] td:first-child' - * ) ].map( ( code ) => code.textContent ) + * ) ).map( ( code ) => code.textContent ) * references.every( ( reference ) => /^[\da-z]+$/i.test( reference ) ) * ``` * @@ -9908,14 +10061,14 @@ function serializeBlockNode(blockNode) { var createParse = function createParse(parseImplementation) { return function (content) { - return parseImplementation(content).reduce(function (memo, blockNode) { + return parseImplementation(content).reduce(function (accumulator, blockNode) { var block = createBlockWithFallback(blockNode); if (block) { - memo.push(block); + accumulator.push(block); } - return memo; + return accumulator; }, []); }; }; @@ -9932,7 +10085,7 @@ var parseWithGrammar = createParse(external_this_wp_blockSerializationDefaultPar /* harmony default export */ var parser = (parseWithGrammar); // EXTERNAL MODULE: external {"this":["wp","dom"]} -var external_this_wp_dom_ = __webpack_require__(25); +var external_this_wp_dom_ = __webpack_require__(29); // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/phrasing-content.js /** @@ -10462,8 +10615,6 @@ function createNextpage(doc) { } // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/list-reducer.js - - /** * WordPress dependencies */ @@ -10474,7 +10625,7 @@ function isList(node) { } function shallowTextContent(element) { - return Object(toConsumableArray["a" /* default */])(element.childNodes).map(function (_ref) { + return Array.from(element.childNodes).map(function (_ref) { var _ref$nodeValue = _ref.nodeValue, nodeValue = _ref$nodeValue === void 0 ? '' : _ref$nodeValue; return nodeValue; @@ -10627,7 +10778,7 @@ function canHaveAnchor(node, schema) { }); // EXTERNAL MODULE: external {"this":["wp","shortcode"]} -var external_this_wp_shortcode_ = __webpack_require__(143); +var external_this_wp_shortcode_ = __webpack_require__(110); // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/shortcode-converter.js @@ -10652,10 +10803,11 @@ var external_this_wp_shortcode_ = __webpack_require__(143); function segmentHTMLToShortcodeBlock(HTML) { var lastIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; + var excludedBlockNames = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; // Get all matches. var transformsFrom = getBlockTransforms('from'); var transformation = findTransform(transformsFrom, function (transform) { - return transform.type === 'shortcode' && Object(external_this_lodash_["some"])(Object(external_this_lodash_["castArray"])(transform.tag), function (tag) { + return excludedBlockNames.indexOf(transform.blockName) === -1 && transform.type === 'shortcode' && Object(external_this_lodash_["some"])(Object(external_this_lodash_["castArray"])(transform.tag), function (tag) { return Object(external_this_wp_shortcode_["regexp"])(tag).test(HTML); }); }); @@ -10665,8 +10817,11 @@ function segmentHTMLToShortcodeBlock(HTML) { } var transformTags = Object(external_this_lodash_["castArray"])(transformation.tag); - var transformTag = Object(external_this_lodash_["first"])(transformTags); + var transformTag = Object(external_this_lodash_["find"])(transformTags, function (tag) { + return Object(external_this_wp_shortcode_["regexp"])(tag).test(HTML); + }); var match; + var previousIndex = lastIndex; if (match = Object(external_this_wp_shortcode_["next"])(transformTag, HTML, lastIndex)) { var beforeHTML = HTML.substr(0, match.index); @@ -10677,6 +10832,18 @@ function segmentHTMLToShortcodeBlock(HTML) { if (!Object(external_this_lodash_["includes"])(match.shortcode.content || '', '<') && !/(\n|

    )\s*$/.test(beforeHTML)) { return segmentHTMLToShortcodeBlock(HTML, lastIndex); + } // If a transformation's `isMatch` predicate fails for the inbound + // shortcode, try again by excluding the current block type. + // + // This is the only call to `segmentHTMLToShortcodeBlock` that should + // ever carry over `excludedBlockNames`. Other calls in the module + // should skip that argument as a way to reset the exclusion state, so + // that one `isMatch` fail in an HTML fragment doesn't prevent any + // valid matches in subsequent fragments. + + + if (transformation.isMatch && !transformation.isMatch(match.shortcode.attrs)) { + return segmentHTMLToShortcodeBlock(HTML, previousIndex, [].concat(Object(toConsumableArray["a" /* default */])(excludedBlockNames), [transformation.blockName])); } var attributes = Object(external_this_lodash_["mapValues"])(Object(external_this_lodash_["pickBy"])(transformation.attributes, function (schema) { @@ -10776,10 +10943,15 @@ function isDoubleBR(node) { }); // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/phrasing-content-reducer.js +/** + * External dependencies + */ + /** * WordPress dependencies */ + /* harmony default export */ var phrasing_content_reducer = (function (node, doc) { // In jsdom-jscore, 'node.style' can be null. // TODO: Explore fixing this by patching jsdom-jscore. @@ -10788,6 +10960,7 @@ function isDoubleBR(node) { fontWeight = _node$style.fontWeight, fontStyle = _node$style.fontStyle, textDecorationLine = _node$style.textDecorationLine, + textDecoration = _node$style.textDecoration, verticalAlign = _node$style.verticalAlign; if (fontWeight === 'bold' || fontWeight === '700') { @@ -10796,9 +10969,12 @@ function isDoubleBR(node) { if (fontStyle === 'italic') { Object(external_this_wp_dom_["wrap"])(doc.createElement('em'), node); - } + } // Some DOM implementations (Safari, JSDom) don't support + // style.textDecorationLine, so we check style.textDecoration as a + // fallback. - if (textDecorationLine === 'line-through') { + + if (textDecorationLine === 'line-through' || Object(external_this_lodash_["includes"])(textDecoration, 'line-through')) { Object(external_this_wp_dom_["wrap"])(doc.createElement('s'), node); } @@ -10913,7 +11089,7 @@ function ms_list_converter_isList(node) { }); // EXTERNAL MODULE: external {"this":["wp","blob"]} -var external_this_wp_blob_ = __webpack_require__(35); +var external_this_wp_blob_ = __webpack_require__(36); // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/image-corrector.js @@ -10983,7 +11159,7 @@ var image_corrector_window = window, }); // EXTERNAL MODULE: ./node_modules/showdown/dist/showdown.js -var showdown = __webpack_require__(222); +var showdown = __webpack_require__(221); var showdown_default = /*#__PURE__*/__webpack_require__.n(showdown); // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/markdown-converter.js @@ -11062,6 +11238,84 @@ function slackMarkdownVariantCorrector(text) { Object(external_this_wp_dom_["unwrap"])(node); }); +// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/html-formatting-remover.js +/** + * Internal dependencies + */ + + +function getSibling(node, which) { + var sibling = node["".concat(which, "Sibling")]; + + if (sibling && isPhrasingContent(sibling)) { + return sibling; + } + + var parentNode = node.parentNode; + + if (!parentNode || !isPhrasingContent(parentNode)) { + return; + } + + return getSibling(parentNode, which); +} + +function isFormattingSpace(character) { + return character === ' ' || character === '\r' || character === '\n' || character === '\t'; +} +/** + * Removes spacing that formats HTML. + * + * @see https://www.w3.org/TR/css-text-3/#white-space-processing + * + * @param {Node} node The node to be processed. + * @return {void} + */ + + +/* harmony default export */ var html_formatting_remover = (function (node) { + if (node.nodeType !== node.TEXT_NODE) { + return; + } // Ignore pre content. + + + if (node.parentElement.closest('pre')) { + return; + } // First, replace any sequence of HTML formatting space with a single space. + + + var newData = node.data.replace(/[ \r\n\t]+/g, ' '); // Remove the leading space if the text element is at the start of a block, + // is preceded by a line break element, or has a space in the previous + // node. + + if (newData[0] === ' ') { + var previousSibling = getSibling(node, 'previous'); + + if (!previousSibling || previousSibling.nodeName === 'BR' || previousSibling.textContent.slice(-1) === ' ') { + newData = newData.slice(1); + } + } // Remove the trailing space if the text element is at the end of a block, + // is succeded by a line break element, or has a space in the next text + // node. + + + if (newData[newData.length - 1] === ' ') { + var nextSibling = getSibling(node, 'next'); + + if (!nextSibling || nextSibling.nodeName === 'BR' || nextSibling.nodeType === nextSibling.TEXT_NODE && isFormattingSpace(nextSibling.textContent[0])) { + newData = newData.slice(0, -1); + } + } // If there's no data left, remove the node, so `previousSibling` stays + // accurate. Otherwise, update the node data. + + + if (!newData) { + node.parentNode.removeChild(node); + } else { + node.data = newData; + } +}); + // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/paste-handler.js @@ -11091,6 +11345,7 @@ function slackMarkdownVariantCorrector(text) { + /** @@ -11268,6 +11523,7 @@ function pasteHandler(_ref3) { piece = deepFilterHTML(piece, filters, blockContentSchema); piece = removeInvalidHTML(piece, schema); + piece = deepFilterHTML(piece, [html_formatting_remover], blockContentSchema); piece = normalise_blocks(piece); // Allows us to ask for this information when we get a report. paste_handler_console.log('Processed HTML piece:\n\n', piece); @@ -11621,6 +11877,8 @@ function synchronizeBlocksWithTemplate() { /* concated harmony reexport unstable__bootstrapServerSideBlockDefinitions */__webpack_require__.d(__webpack_exports__, "unstable__bootstrapServerSideBlockDefinitions", function() { return unstable__bootstrapServerSideBlockDefinitions; }); /* concated harmony reexport registerBlockStyle */__webpack_require__.d(__webpack_exports__, "registerBlockStyle", function() { return registration_registerBlockStyle; }); /* concated harmony reexport unregisterBlockStyle */__webpack_require__.d(__webpack_exports__, "unregisterBlockStyle", function() { return registration_unregisterBlockStyle; }); +/* concated harmony reexport __experimentalRegisterBlockPattern */__webpack_require__.d(__webpack_exports__, "__experimentalRegisterBlockPattern", function() { return registration_experimentalRegisterBlockPattern; }); +/* concated harmony reexport __experimentalUnregisterBlockPattern */__webpack_require__.d(__webpack_exports__, "__experimentalUnregisterBlockPattern", function() { return registration_experimentalUnregisterBlockPattern; }); /* concated harmony reexport isUnmodifiedDefaultBlock */__webpack_require__.d(__webpack_exports__, "isUnmodifiedDefaultBlock", function() { return isUnmodifiedDefaultBlock; }); /* concated harmony reexport normalizeIconObject */__webpack_require__.d(__webpack_exports__, "normalizeIconObject", function() { return normalizeIconObject; }); /* concated harmony reexport isValidIcon */__webpack_require__.d(__webpack_exports__, "isValidIcon", function() { return isValidIcon; }); @@ -11649,14 +11907,7 @@ function synchronizeBlocksWithTemplate() { /***/ }), -/***/ 35: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["blob"]; }()); - -/***/ }), - -/***/ 36: +/***/ 38: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -11936,28 +12187,6 @@ function isShallowEqual( a, b, fromIndex ) { }); -/***/ }), - -/***/ 38: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); -function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; -} - -/***/ }), - -/***/ 39: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); -function _nonIterableRest() { - throw new TypeError("Invalid attempt to destructure non-iterable instance"); -} - /***/ }), /***/ 4: @@ -11967,14 +12196,14 @@ function _nonIterableRest() { /***/ }), -/***/ 41: +/***/ 45: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["isShallowEqual"]; }()); /***/ }), -/***/ 47: +/***/ 48: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.1 @@ -13175,7 +13404,7 @@ else {} /***/ }), -/***/ 51: +/***/ 53: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["htmlEntities"]; }()); @@ -13185,8 +13414,8 @@ else {} /***/ 66: /***/ (function(module, exports, __webpack_require__) { -var rng = __webpack_require__(84); -var bytesToUuid = __webpack_require__(85); +var rng = __webpack_require__(86); +var bytesToUuid = __webpack_require__(87); function v4(options, buf, offset) { var i = buf && offset || 0; @@ -13230,12 +13459,12 @@ module.exports = v4; "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(source); + var ownKeys = Object.keys(Object(source)); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -13260,7 +13489,7 @@ function _objectSpread(target) { /***/ }), -/***/ 84: +/***/ 86: /***/ (function(module, exports) { // Unique ID creation requires a high quality random # generator. In the @@ -13301,7 +13530,7 @@ if (getRandomValues) { /***/ }), -/***/ 85: +/***/ 87: /***/ (function(module, exports) { /** @@ -13330,6 +13559,28 @@ function bytesToUuid(buf, offset) { module.exports = bytesToUuid; +/***/ }), + +/***/ 9: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/blocks.min.js b/wp-includes/js/dist/blocks.min.js index 374c239433..ce6c2f9c1c 100644 --- a/wp-includes/js/dist/blocks.min.js +++ b/wp-includes/js/dist/blocks.min.js @@ -1,3 +1,3 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.blocks=function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=347)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},11:function(e,t,r){"use strict";function n(e,t){for(var r=0;r (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex:

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

    "),c+="

    ",a.push(c))}for(o=a.length,s=0;s]*>\s*]*>/.test(l)&&(d=!0)}a[s]=l}return e=(e=(e=a.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),r.converter._dispatch("paragraphs.after",e,t,r)})),i.subParser("runExtension",(function(e,t,r,n){"use strict";if(e.filter)t=e.filter(t,n.converter,r);else if(e.regex){var a=e.regex;a instanceof RegExp||(a=new RegExp(a,"g")),t=t.replace(a,e.replace)}return t})),i.subParser("spanGamut",(function(e,t,r){"use strict";return e=r.converter._dispatch("spanGamut.before",e,t,r),e=i.subParser("codeSpans")(e,t,r),e=i.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,r),e=i.subParser("encodeBackslashEscapes")(e,t,r),e=i.subParser("images")(e,t,r),e=i.subParser("anchors")(e,t,r),e=i.subParser("autoLinks")(e,t,r),e=i.subParser("simplifiedAutoLinks")(e,t,r),e=i.subParser("emoji")(e,t,r),e=i.subParser("underline")(e,t,r),e=i.subParser("italicsAndBold")(e,t,r),e=i.subParser("strikethrough")(e,t,r),e=i.subParser("ellipsis")(e,t,r),e=i.subParser("hashHTMLSpans")(e,t,r),e=i.subParser("encodeAmpsAndAngles")(e,t,r),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"
    \n")):e=e.replace(/ +\n/g,"
    \n"),e=r.converter._dispatch("spanGamut.after",e,t,r)})),i.subParser("strikethrough",(function(e,t,r){"use strict";return t.strikethrough&&(e=(e=r.converter._dispatch("strikethrough.before",e,t,r)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,(function(e,n){return function(e){return t.simplifiedAutoLink&&(e=i.subParser("simplifiedAutoLinks")(e,t,r)),""+e+""}(n)})),e=r.converter._dispatch("strikethrough.after",e,t,r)),e})),i.subParser("stripLinkDefinitions",(function(e,t,r){"use strict";var n=function(e,n,a,o,s,c,u){return n=n.toLowerCase(),a.match(/^data:.+?\/.+?;base64,/)?r.gUrls[n]=a.replace(/\s/g,""):r.gUrls[n]=i.subParser("encodeAmpsAndAngles")(a,t,r),c?c+u:(u&&(r.gTitles[n]=u.replace(/"|'/g,""")),t.parseImgDimensions&&o&&s&&(r.gDimensions[n]={width:o,height:s}),"")};return e=(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,n)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,n)).replace(/¨0/,"")})),i.subParser("tables",(function(e,t,r){"use strict";if(!t.tables)return e;function n(e,n){return""+i.subParser("spanGamut")(e,t,r)+"\n"}function a(e){var a,o=e.split("\n");for(a=0;a"+(c=i.subParser("spanGamut")(c,t,r))+"\n"));for(a=0;a\n\n\n",a=0;a\n";for(var i=0;i\n"}return r+="\n\n"}(p,m)}return e=(e=(e=(e=r.converter._dispatch("tables.before",e,t,r)).replace(/\\(\|)/g,i.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,a)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,a),e=r.converter._dispatch("tables.after",e,t,r)})),i.subParser("underline",(function(e,t,r){"use strict";return t.underline?(e=r.converter._dispatch("underline.before",e,t,r),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return""+t+""}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return""+t+""})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?""+t+"":e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?""+t+"":e}))).replace(/(_)/g,i.helper.escapeCharactersCallback),e=r.converter._dispatch("underline.after",e,t,r)):e})),i.subParser("unescapeSpecialChars",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("unescapeSpecialChars.before",e,t,r)).replace(/¨E(\d+)E/g,(function(e,t){var r=parseInt(t);return String.fromCharCode(r)})),e=r.converter._dispatch("unescapeSpecialChars.after",e,t,r)})),i.subParser("makeMarkdown.blockquote",(function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,o=0;o ")})),i.subParser("makeMarkdown.codeBlock",(function(e,t){"use strict";var r=e.getAttribute("language"),n=e.getAttribute("precodenum");return"```"+r+"\n"+t.preList[n]+"\n```"})),i.subParser("makeMarkdown.codeSpan",(function(e){"use strict";return"`"+e.innerHTML+"`"})),i.subParser("makeMarkdown.emphasis",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="*";for(var n=e.childNodes,a=n.length,o=0;o",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),i.subParser("makeMarkdown.links",(function(e,t){"use strict";var r="";if(e.hasChildNodes()&&e.hasAttribute("href")){var n=e.childNodes,a=n.length;r="[";for(var o=0;o",e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"}return r})),i.subParser("makeMarkdown.list",(function(e,t,r){"use strict";var n="";if(!e.hasChildNodes())return"";for(var a=e.childNodes,o=a.length,s=e.getAttribute("start")||1,c=0;c"+t.preList[r]+""})),i.subParser("makeMarkdown.strikethrough",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="~~";for(var n=e.childNodes,a=n.length,o=0;otr>th"),c=e.querySelectorAll("tbody>tr");for(r=0;rp&&(p=g)}for(r=0;r/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}));void 0===(n=function(){"use strict";return i}.call(t,r,t,e))||(e.exports=n)}).call(this)},23:function(e,t,r){"use strict";var n=r(38);var a=r(39);function i(e,t){return Object(n.a)(e)||function(e,t){var r=[],n=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r}(e,t)||Object(a.a)()}r.d(t,"a",(function(){return i}))},25:function(e,t){!function(){e.exports=this.wp.dom}()},27:function(e,t){!function(){e.exports=this.wp.hooks}()},30:function(e,t,r){"use strict";function n(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}r.d(t,"a",(function(){return n}))},347:function(e,t,r){"use strict";r.r(t);var n={};r.r(n),r.d(n,"getBlockTypes",(function(){return k})),r.d(n,"getBlockType",(function(){return w})),r.d(n,"getBlockStyles",(function(){return y})),r.d(n,"getCategories",(function(){return j})),r.d(n,"getDefaultBlockName",(function(){return O})),r.d(n,"getFreeformFallbackBlockName",(function(){return T})),r.d(n,"getUnregisteredFallbackBlockName",(function(){return x})),r.d(n,"getGroupingBlockName",(function(){return C})),r.d(n,"getChildBlockNames",(function(){return A})),r.d(n,"getBlockSupport",(function(){return S})),r.d(n,"hasBlockSupport",(function(){return E})),r.d(n,"isMatchingSearchTerm",(function(){return P})),r.d(n,"hasChildBlocks",(function(){return N})),r.d(n,"hasChildBlocksWithInserterSupport",(function(){return B}));var a={};r.r(a),r.d(a,"addBlockTypes",(function(){return M})),r.d(a,"removeBlockTypes",(function(){return L})),r.d(a,"addBlockStyles",(function(){return z})),r.d(a,"removeBlockStyles",(function(){return H})),r.d(a,"setDefaultBlockName",(function(){return I})),r.d(a,"setFreeformFallbackBlockName",(function(){return D})),r.d(a,"setUnregisteredFallbackBlockName",(function(){return V})),r.d(a,"setGroupingBlockName",(function(){return R})),r.d(a,"setCategories",(function(){return F})),r.d(a,"updateCategory",(function(){return $}));var i=r(4),o=r(10),s=r(17),c=r(7),u=r(2),l=r(1),d=[{slug:"common",title:Object(l.__)("Common Blocks")},{slug:"formatting",title:Object(l.__)("Formatting")},{slug:"layout",title:Object(l.__)("Layout Elements")},{slug:"widgets",title:Object(l.__)("Widgets")},{slug:"embed",title:Object(l.__)("Embeds")},{slug:"reusable",title:Object(l.__)("Reusable Blocks")}];function f(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"REMOVE_BLOCK_TYPES":return-1!==r.names.indexOf(t)?null:t;case e:return r.name||null}return t}}var h=f("SET_DEFAULT_BLOCK_NAME"),p=f("SET_FREEFORM_FALLBACK_BLOCK_NAME"),g=f("SET_UNREGISTERED_FALLBACK_BLOCK_NAME"),m=f("SET_GROUPING_BLOCK_NAME");var b=Object(i.combineReducers)({blockTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return Object(c.a)({},e,Object(u.keyBy)(Object(u.map)(t.blockTypes,(function(e){return Object(u.omit)(e,"styles ")})),"name"));case"REMOVE_BLOCK_TYPES":return Object(u.omit)(e,t.names)}return e},blockStyles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return Object(c.a)({},e,Object(u.mapValues)(Object(u.keyBy)(t.blockTypes,"name"),(function(t){return Object(u.uniqBy)([].concat(Object(s.a)(Object(u.get)(t,["styles"],[])),Object(s.a)(Object(u.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_STYLES":return Object(c.a)({},e,Object(o.a)({},t.blockName,Object(u.uniqBy)([].concat(Object(s.a)(Object(u.get)(e,[t.blockName],[])),Object(s.a)(t.styles)),(function(e){return e.name}))));case"REMOVE_BLOCK_STYLES":return Object(c.a)({},e,Object(o.a)({},t.blockName,Object(u.filter)(Object(u.get)(e,[t.blockName],[]),(function(e){return-1===t.styleNames.indexOf(e.name)}))))}return e},defaultBlockName:h,freeformFallbackBlockName:p,unregisteredFallbackBlockName:g,groupingBlockName:m,categories:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||Object(u.isEmpty)(t.category))return e;if(Object(u.find)(e,["slug",t.slug]))return Object(u.map)(e,(function(e){return e.slug===t.slug?Object(c.a)({},e,t.category):e}))}return e}}),_=r(36),v=function(e,t){return"string"==typeof t?w(e,t):t},k=Object(_.a)((function(e){return Object.values(e.blockTypes)}),(function(e){return[e.blockTypes]}));function w(e,t){return e.blockTypes[t]}function y(e,t){return e.blockStyles[t]}function j(e){return e.categories}function O(e){return e.defaultBlockName}function T(e){return e.freeformFallbackBlockName}function x(e){return e.unregisteredFallbackBlockName}function C(e){return e.groupingBlockName}var A=Object(_.a)((function(e,t){return Object(u.map)(Object(u.filter)(e.blockTypes,(function(e){return Object(u.includes)(e.parent,t)})),(function(e){return e.name}))}),(function(e){return[e.blockTypes]})),S=function(e,t,r,n){var a=v(e,t);return Object(u.get)(a,["supports",r],n)};function E(e,t,r,n){return!!S(e,t,r,n)}function P(e,t,r){var n=v(e,t),a=Object(u.flow)([u.deburr,function(e){return e.toLowerCase()},function(e){return e.trim()}]),i=a(r),o=Object(u.flow)([a,function(e){return Object(u.includes)(e,i)}]);return o(n.title)||Object(u.some)(n.keywords,o)||o(n.category)}var N=function(e,t){return A(e,t).length>0},B=function(e,t){return Object(u.some)(A(e,t),(function(t){return E(e,t,"inserter",!0)}))};function M(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(u.castArray)(e)}}function L(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(u.castArray)(e)}}function z(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(u.castArray)(t),blockName:e}}function H(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(u.castArray)(t),blockName:e}}function I(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function D(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function V(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function R(e){return{type:"SET_GROUPING_BLOCK_NAME",name:e}}function F(e){return{type:"SET_CATEGORIES",categories:e}}function $(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}Object(i.registerStore)("core/blocks",{reducer:b,selectors:n,actions:a});var q=r(66),U=r.n(q),G=r(27),W=r(47),K=r.n(W),Y=r(0),Z=["#191e23","#f8f9f9"];function Q(e){var t=pe();if(e.name!==t)return!1;Q.block&&Q.block.name===t||(Q.block=Te(t));var r=Q.block,n=ge(t);return Object(u.every)(n.attributes,(function(t,n){return r.attributes[n]===e.attributes[n]}))}function X(e){return!!e&&(Object(u.isString)(e)||Object(Y.isValidElement)(e)||Object(u.isFunction)(e)||e instanceof Y.Component)}function J(e){if(X(e))return{src:e};if(Object(u.has)(e,["background"])){var t=K()(e.background);return Object(c.a)({},e,{foreground:e.foreground?e.foreground:Object(W.mostReadable)(t,Z,{includeFallbackColors:!0,level:"AA",size:"large"}).toHexString(),shadowColor:t.setAlpha(.3).toRgbString()})}return e}function ee(e){return Object(u.isString)(e)?ge(e):e}var te=["attributes","supports","save","migrate","isEligible"],re={icon:"block-default",attributes:{},keywords:[],save:function(){return null}},ne={};function ae(e){ne=Object(c.a)({},ne,e)}function ie(e,t){if(t=Object(c.a)({name:e},re,Object(u.get)(ne,e),t),"string"==typeof e)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(e))if(Object(i.select)("core/blocks").getBlockType(e))console.error('Block "'+e+'" is already registered.');else{var r=Object(c.a)({},t);if((t=Object(G.applyFilters)("blocks.registerBlockType",t,e)).deprecated&&(t.deprecated=t.deprecated.map((function(t){return Object(u.pick)(Object(G.applyFilters)("blocks.registerBlockType",Object(c.a)({},Object(u.omit)(r,te),t),e),te)}))),Object(u.isPlainObject)(t))if(Object(u.isFunction)(t.save))if("edit"in t&&!Object(u.isFunction)(t.edit))console.error('The "edit" property must be a valid function.');else if("category"in t)if("category"in t&&!Object(u.some)(Object(i.select)("core/blocks").getCategories(),{slug:t.category}))console.error('The block "'+e+'" must have a registered category.');else if("title"in t&&""!==t.title)if("string"==typeof t.title){if(t.icon=J(t.icon),X(t.icon.src))return Object(i.dispatch)("core/blocks").addBlockTypes(t),t;console.error("The icon passed is invalid. The icon should be a string, an element, a function, or an object following the specifications documented in https://developer.wordpress.org/block-editor/developers/block-api/block-registration/#icon-optional")}else console.error("Block titles must be strings.");else console.error('The block "'+e+'" must have a title.');else console.error('The block "'+e+'" must have a category.');else console.error('The "save" property must be a valid function.');else console.error("Block settings must be a valid object.")}else console.error("Block names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-block");else console.error("Block names must be strings.")}function oe(e){var t=Object(i.select)("core/blocks").getBlockType(e);if(t)return Object(i.dispatch)("core/blocks").removeBlockTypes(e),t;console.error('Block "'+e+'" is not registered.')}function se(e){Object(i.dispatch)("core/blocks").setFreeformFallbackBlockName(e)}function ce(){return Object(i.select)("core/blocks").getFreeformFallbackBlockName()}function ue(){return Object(i.select)("core/blocks").getGroupingBlockName()}function le(e){Object(i.dispatch)("core/blocks").setUnregisteredFallbackBlockName(e)}function de(){return Object(i.select)("core/blocks").getUnregisteredFallbackBlockName()}function fe(e){Object(i.dispatch)("core/blocks").setDefaultBlockName(e)}function he(e){Object(i.dispatch)("core/blocks").setGroupingBlockName(e)}function pe(){return Object(i.select)("core/blocks").getDefaultBlockName()}function ge(e){return Object(i.select)("core/blocks").getBlockType(e)}function me(){return Object(i.select)("core/blocks").getBlockTypes()}function be(e,t,r){return Object(i.select)("core/blocks").getBlockSupport(e,t,r)}function _e(e,t,r){return Object(i.select)("core/blocks").hasBlockSupport(e,t,r)}function ve(e){return"core/block"===e.name}var ke=function(e){return Object(i.select)("core/blocks").getChildBlockNames(e)},we=function(e){return Object(i.select)("core/blocks").hasChildBlocks(e)},ye=function(e){return Object(i.select)("core/blocks").hasChildBlocksWithInserterSupport(e)},je=function(e,t){Object(i.dispatch)("core/blocks").addBlockStyles(e,t)},Oe=function(e,t){Object(i.dispatch)("core/blocks").removeBlockStyles(e,t)};function Te(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=ge(e),a=Object(u.reduce)(n.attributes,(function(e,r,n){var a=t[n];return void 0!==a?e[n]=a:r.hasOwnProperty("default")&&(e[n]=r.default),-1!==["node","children"].indexOf(r.source)&&("string"==typeof e[n]?e[n]=[e[n]]:Array.isArray(e[n])||(e[n]=[])),e}),{});return{clientId:U()(),name:e,isValid:!0,attributes:a,innerBlocks:r}}function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=U()();return Object(c.a)({},e,{clientId:n,attributes:Object(c.a)({},e.attributes,t),innerBlocks:r||e.innerBlocks.map((function(e){return xe(e)}))})}var Ce=function(e,t,r){if(Object(u.isEmpty)(r))return!1;var n=r.length>1,a=Object(u.first)(r).name;if(!(Ee(e)||!n||e.isMultiBlock))return!1;if(!Ee(e)&&!Object(u.every)(r,{name:a}))return!1;if(!("block"===e.type))return!1;var i=Object(u.first)(r);if(!("from"!==t||-1!==e.blocks.indexOf(i.name)||Ee(e)))return!1;if(!n&&Pe(i.name)&&Pe(e.blockName))return!1;if(Object(u.isFunction)(e.isMatch)){var o=e.isMultiBlock?r.map((function(e){return e.attributes})):i.attributes;if(!e.isMatch(o))return!1}return!0},Ae=function(e){if(Object(u.isEmpty)(e))return[];var t=me();return Object(u.filter)(t,(function(t){return!!Me(Le("from",t.name),(function(t){return Ce(t,"from",e)}))}))},Se=function(e){if(Object(u.isEmpty)(e))return[];var t=Le("to",ge(Object(u.first)(e).name).name),r=Object(u.filter)(t,(function(t){return t&&Ce(t,"to",e)}));return Object(u.flatMap)(r,(function(e){return e.blocks})).map((function(e){return ge(e)}))},Ee=function(e){return e&&"block"===e.type&&Array.isArray(e.blocks)&&e.blocks.includes("*")},Pe=function(e){return e===ue()},Ne=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!e.length)return!1;var t=e[0].name;return Object(u.every)(e,["name",t])};function Be(e){if(Object(u.isEmpty)(e))return[];var t=Ae(e),r=Se(e);return Object(u.uniq)([].concat(Object(s.a)(t),Object(s.a)(r)))}function Me(e,t){for(var r=Object(G.createHooks)(),n=function(n){var a=e[n];t(a)&&r.addFilter("transform","transform/"+n.toString(),(function(e){return e||a}),a.priority)},a=0;a1,a=r[0],i=a.name;if(!Pe(t)&&n&&!Ne(r))return null;var o,s=Le("from",t),l=Me(Le("to",i),(function(e){return"block"===e.type&&(Ee(e)||-1!==e.blocks.indexOf(t))&&(!n||e.isMultiBlock)}))||Me(s,(function(e){return"block"===e.type&&(Ee(e)||-1!==e.blocks.indexOf(i))&&(!n||e.isMultiBlock)}));if(!l)return null;if(o=l.isMultiBlock?Object(u.has)(l,"__experimentalConvert")?l.__experimentalConvert(r):l.transform(r.map((function(e){return e.attributes})),r.map((function(e){return e.innerBlocks}))):Object(u.has)(l,"__experimentalConvert")?l.__experimentalConvert(a):l.transform(a.attributes,a.innerBlocks),!Object(u.isObjectLike)(o))return null;if((o=Object(u.castArray)(o)).some((function(e){return!ge(e.name)})))return null;var d=Object(u.findIndex)(o,(function(e){return e.name===t}));return d<0?null:o.map((function(t,r){var n=Object(c.a)({},t,{clientId:r===d?a.clientId:t.clientId});return Object(G.applyFilters)("blocks.switchToBlockType.transformedBlock",n,e)}))}var He=function e(t,r){return Te(t,r.attributes,Object(u.map)(r.innerBlocks,(function(t){return e(t.name,t)})))},Ie=r(23);var De,Ve=function(){return De||(De=document.implementation.createHTMLDocument("")),De};function Re(e,t){if(t){if("string"==typeof e){var r=Ve();r.body.innerHTML=e,e=r.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce((function(r,n){return r[n]=Re(e,t[n]),r}),{})}}function Fe(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=r;if(e&&(n=r.querySelector(e)),n)return function(e,t){for(var r,n=t.split(".");r=n.shift();){if(!(r in e))return;e=e[r]}return e}(n,t)}}var $e=r(68),qe=r(221),Ue=r(38),Ge=r(30),We=r(39);var Ke=r(12),Ye=r(11),Ze=/^#[xX]([A-Fa-f0-9]+)$/,Qe=/^#([0-9]+)$/,Xe=/^([A-Za-z0-9]+)$/,Je=(function(){function e(e){this.named=e}e.prototype.parse=function(e){if(e){var t=e.match(Ze);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(Qe))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(Xe))?this.named[t[1]]:void 0}}}(),/[\t\n\f ]/),et=/[A-Za-z]/,tt=/\r\n?/g;function rt(e){return Je.test(e)}function nt(e){return et.test(e)}var at=function(){function e(e,t){this.delegate=e,this.entityParser=t,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var e=this.peek();if("<"!==e||this.isIgnoredEndTag()){if("\n"===e){var t=this.tagNameBuffer.toLowerCase();"pre"!==t&&"textarea"!==t||this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var e=this.peek(),t=this.tagNameBuffer.toLowerCase();"<"!==e||this.isIgnoredEndTag()?"&"===e&&"script"!==t&&"style"!==t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var e=this.consume();"!"===e?this.transitionTo("markupDeclarationOpen"):"/"===e?this.transitionTo("endTagOpen"):("@"===e||":"===e||nt(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){"-"===this.consume()&&"-"===this.peek()&&(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.transitionTo("commentStartDash"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(e),this.transitionTo("comment"))},commentStartDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var e=this.consume();"-"===e?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+e),this.transitionTo("comment"))},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+e),this.transitionTo("comment"))},tagName:function(){var e=this.consume();rt(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();rt(e)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===e?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();rt(e)?this.consume():"/"===e?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();rt(e)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();rt(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();rt(e)?this.consume():'"'===e?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();rt(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();rt(e)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var e=this.consume();("@"===e||":"===e||nt(e))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(e))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(e){this.state=e},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=function(e){return e.replace(tt,"\n")}(e);this.index"!==this.input.substring(this.index,this.index+8)||"style"===e&&""!==this.input.substring(this.index,this.index+8)||"script"===e&&"<\/script>"!==this.input.substring(this.index,this.index+9)},e}(),it=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new at(this,e),this._currentAttribute=void 0}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var e=this.token;if(null===e)throw new Error("token was unexpectedly null");if(0===arguments.length)return e;for(var t=0;t1?r-1:0),a=1;a2&&void 0!==arguments[2]?arguments[2]:[],n=ee(e),a=n.save;if(a.prototype instanceof Y.Component){var i=new a({attributes:t});a=i.render.bind(i)}var o=a({attributes:t,innerBlocks:r});if(Object(u.isObject)(o)&&Object(G.hasFilter)("blocks.getSaveContent.extraProps")){var s=Object(G.applyFilters)("blocks.getSaveContent.extraProps",Object(c.a)({},o.props),n,t);ut()(s,o.props)||(o=Object(Y.cloneElement)(o,s))}return o=Object(G.applyFilters)("blocks.getSaveElement",o,n,t),Object(Y.createElement)(mt,{innerBlocks:r},o)}function kt(e,t,r){var n=ee(e);return Object(Y.renderToString)(vt(n,t,r))}function wt(e){var t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=kt(e.name,e.attributes,e.innerBlocks)}catch(e){}return t}function yt(e,t,r){var n=Object(u.isEmpty)(t)?"":function(e){return JSON.stringify(e).replace(/--/g,"\\u002d\\u002d").replace(//g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}(t)+" ",a=Object(u.startsWith)(e,"core/")?e.slice(5):e;return r?"\x3c!-- wp:".concat(a," ").concat(n,"--\x3e\n")+r+"\n\x3c!-- /wp:".concat(a," --\x3e"):"\x3c!-- wp:".concat(a," ").concat(n,"/--\x3e")}function jt(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isInnerBlocks,r=void 0!==t&&t,n=e.name,a=wt(e);return n===de()||!r&&n===ce()?a:yt(n,function(e,t){return Object(u.reduce)(e.attributes,(function(e,r,n){var a=t[n];return void 0===a?e:void 0!==r.source?e:"default"in r&&r.default===a?e:(e[n]=a,e)}),{})}(ge(n),e.attributes),a)}function Ot(e,t){return Object(u.castArray)(e).map((function(e){return jt(e,t)})).join("\n\n")}var Tt=/[\t\n\r\v\f ]+/g,xt=/^[\t\n\r\v\f ]*$/,Ct=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,At=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"],St=[].concat(At,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),Et=[u.identity,function(e){return Lt(e).join(" ")}],Pt=/^[\da-z]+$/i,Nt=/^#\d+$/,Bt=/^#x[\da-f]+$/i;var Mt=function(){function e(){Object(Ke.a)(this,e)}return Object(Ye.a)(e,[{key:"parse",value:function(e){if(t=e,Pt.test(t)||Nt.test(t)||Bt.test(t))return Object(ot.decodeEntities)("&"+e+";");var t}}]),e}();function Lt(e){return e.trim().split(Tt)}function zt(e){return e.attributes.filter((function(e){var t=Object(Ie.a)(e,2),r=t[0];return t[1]||0===r.indexOf("data-")||Object(u.includes)(St,r)}))}function Ht(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:st(),n=e.chars,a=t.chars,i=0;i2&&void 0!==arguments[2]?arguments[2]:st();if(e.length!==t.length)return r.warning("Expected attributes %o, instead saw %o.",t,e),!1;var n=[e,t].map(u.fromPairs),a=Object(Ie.a)(n,2),i=a[0],o=a[1];for(var s in i){if(!o.hasOwnProperty(s))return r.warning("Encountered unexpected attribute `%s`.",s),!1;var c=i[s],l=o[s],d=Vt[s];if(d){if(!d(c,l))return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",s,l,c),!1}else if(c!==l)return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",s,l,c),!1}return!0}var Ft={StartTag:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:st();return e.tagName!==t.tagName?(r.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):Rt.apply(void 0,Object(s.a)([e,t].map(zt)).concat([r]))},Chars:Ht,Comment:Ht};function $t(e){for(var t;t=e.shift();){if("Chars"!==t.type)return t;if(!xt.test(t.chars))return t}}function qt(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function Ut(e,t){var r,n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:st(),i=[e,t].map((function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:st();try{return new it(new Mt).tokenize(e)}catch(r){t.warning("Malformed HTML detected: %s",e)}return null}(e,a)})),o=Object(Ie.a)(i,2),s=o[0],c=o[1];if(!s||!c)return!1;for(;r=$t(s);){if(!(n=$t(c)))return a.warning("Expected end of content, instead saw %o.",r),!1;if(r.type!==n.type)return a.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",n.type,n,r.type,r),!1;var u=Ft[r.type];if(u&&!u(r,n,a))return!1;qt(r,c[0])?$t(c):qt(n,s[0])&&$t(s)}return!(n=$t(c))||(a.warning("Expected %o, instead saw end of content.",n),!1)}function Gt(e,t,r){var n,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){var e=[],t=st();return{error:function(){for(var r=arguments.length,n=new Array(r),a=0;a2&&void 0!==arguments[2]?arguments[2]:{},n=ee(e),a=Object(u.mapValues)(n.attributes,(function(e,n){return ur(n,e,t,r)}));return Object(G.applyFilters)("blocks.getBlockAttributes",a,n,t,r)}function dr(e){var t=e.blockName,r=e.attrs,n=e.innerBlocks,a=void 0===n?[]:n,i=e.innerHTML,o=e.innerContent,l=ce(),d=de()||l;r=r||{},i=i.trim();var f=t||l;"core/cover-image"===f&&(f="core/cover"),"core/text"!==f&&"core/cover-text"!==f||(f="core/paragraph"),f===l&&(i=Object($e.autop)(i).trim());var h=ge(f);if(!h){var p={attrs:r,blockName:t,innerBlocks:a,innerContent:o},g=fr(p,{isCommentDelimited:!1}),m=fr(p,{isCommentDelimited:!0});f&&(i=m),r={originalName:t,originalContent:m,originalUndelimitedContent:g},h=ge(f=d)}a=(a=a.map(dr)).filter((function(e){return e}));var b=f===l||f===d;if(h&&(i||!b)){var _=Te(f,lr(h,i,r),a);if(!b){var v=Gt(h,_.attributes,i),k=v.isValid,w=v.validationIssues;_.isValid=k,_.validationIssues=w}return _.originalContent=_.originalContent||i,(_=function(e,t){var r=ge(e.name),n=r.deprecated;if(!n||!n.length)return e;for(var a=e,i=a.originalContent,o=a.innerBlocks,l=0;l0&&(_.isValid?console.info("Block successfully updated for `%s` (%o).\n\nNew content generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",h.name,h,kt(h,_.attributes),_.originalContent):_.validationIssues.forEach((function(e){var t=e.log,r=e.args;return t.apply(void 0,Object(s.a)(r))}))),_}}function fr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isCommentDelimited,n=void 0===r||r,a=e.blockName,i=e.attrs,o=void 0===i?{}:i,s=e.innerBlocks,c=void 0===s?[]:s,u=e.innerContent,l=0,d=(void 0===u?[]:u).map((function(e){return null!==e?e:fr(c[l++],t)})).join("\n").replace(/\n+/g,"\n").trim();return n?yt(a,o,d):d}var hr,pr=(hr=qe.parse,function(e){return hr(e).reduce((function(e,t){var r=dr(t);return r&&e.push(r),e}),[])}),gr=pr,mr=r(25),br={strong:{},em:{},s:{},del:{},ins:{},a:{attributes:["href","target","rel"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{},"#text":{}};function _r(){return br}function vr(e){var t=e.nodeName.toLowerCase();return _r().hasOwnProperty(t)||"span"===t}["strong","em","s","del","ins","a","code","abbr","sub","sup"].forEach((function(e){br[e].children=Object(u.omit)(br,e)}));var kr=window.Node,wr=kr.ELEMENT_NODE,yr=kr.TEXT_NODE;function jr(e){var t=e.map((function(e){var t=e.isMatch,r=e.blockName,n=e.schema,a=_e(r,"anchor");return a||t?Object(u.mapValues)(n,(function(e){var r=e.attributes||[];return a&&(r=[].concat(Object(s.a)(r),["id"])),Object(c.a)({},e,{attributes:r,isMatch:t||void 0})})):n}));return u.mergeWith.apply(void 0,[{}].concat(Object(s.a)(t),[function(e,t,r){switch(r){case"children":return"*"===e||"*"===t?"*":Object(c.a)({},e,t);case"attributes":case"require":return[].concat(Object(s.a)(e||[]),Object(s.a)(t||[]));case"isMatch":if(!e||!t)return;return function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}}]))}function Or(e){return!e.hasChildNodes()||Array.from(e.childNodes).every((function(e){return e.nodeType===yr?!e.nodeValue.trim():e.nodeType!==wr||("BR"===e.nodeName||!e.hasAttributes()&&Or(e))}))}function Tr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,function e(t,r,n,a){Array.from(t).forEach((function(t){e(t.childNodes,r,n,a),r.forEach((function(e){n.contains(t)&&e(t,n,a)}))}))}(n.body.childNodes,t,n,r),n.body.innerHTML}function xr(e,t,r){var n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,function e(t,r,n,a){Array.from(t).forEach((function(t){var i=t.nodeName.toLowerCase();if(!n.hasOwnProperty(i)||n[i].isMatch&&!n[i].isMatch(t))e(t.childNodes,r,n,a),a&&!vr(t)&&t.nextElementSibling&&Object(mr.insertAfter)(r.createElement("br"),t),Object(mr.unwrap)(t);else if(t.nodeType===wr){var o=n[i],s=o.attributes,c=void 0===s?[]:s,l=o.classes,d=void 0===l?[]:l,f=o.children,h=o.require,p=void 0===h?[]:h,g=o.allowEmpty;if(f&&!g&&Or(t))return void Object(mr.remove)(t);if(t.hasAttributes()&&(Array.from(t.attributes).forEach((function(e){var r=e.name;"class"===r||Object(u.includes)(c,r)||t.removeAttribute(r)})),t.classList&&t.classList.length)){var m=d.map((function(e){return"string"==typeof e?function(t){return t===e}:e instanceof RegExp?function(t){return e.test(t)}:u.noop}));Array.from(t.classList).forEach((function(e){m.some((function(t){return t(e)}))||t.classList.remove(e)})),t.classList.length||t.removeAttribute("class")}if(t.hasChildNodes()){if("*"===f)return;if(f)p.length&&!t.querySelector(p.join(","))?(e(t.childNodes,r,n,a),Object(mr.unwrap)(t)):"BODY"===t.parentNode.nodeName&&vr(t)?(e(t.childNodes,r,n,a),Array.from(t.childNodes).some((function(e){return!vr(e)}))&&Object(mr.unwrap)(t)):e(t.childNodes,r,f,a);else for(;t.firstChild;)Object(mr.remove)(t.firstChild)}}}))}(n.body.childNodes,n,t,r),n.body.innerHTML}var Cr=window.Node,Ar=Cr.ELEMENT_NODE,Sr=Cr.TEXT_NODE,Er=function(e){var t=document.implementation.createHTMLDocument(""),r=document.implementation.createHTMLDocument(""),n=t.body,a=r.body;for(n.innerHTML=e;n.firstChild;){var i=n.firstChild;i.nodeType===Sr?i.nodeValue.trim()?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(i)):n.removeChild(i):i.nodeType===Ar?"BR"===i.nodeName?(i.nextSibling&&"BR"===i.nextSibling.nodeName&&(a.appendChild(r.createElement("P")),n.removeChild(i.nextSibling)),a.lastChild&&"P"===a.lastChild.nodeName&&a.lastChild.hasChildNodes()?a.lastChild.appendChild(i):n.removeChild(i)):"P"===i.nodeName?Or(i)?n.removeChild(i):a.appendChild(i):vr(i)?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(i)):a.appendChild(i):n.removeChild(i)}return a.innerHTML},Pr=window.Node.COMMENT_NODE,Nr=function(e,t){if(e.nodeType===Pr)if("nextpage"!==e.nodeValue){if(0===e.nodeValue.indexOf("more")){for(var r=e.nodeValue.slice(4).trim(),n=e,a=!1;n=n.nextSibling;)if(n.nodeType===Pr&&"noteaser"===n.nodeValue){a=!0,Object(mr.remove)(n);break}Object(mr.replace)(e,function(e,t,r){var n=r.createElement("wp-block");n.dataset.block="core/more",e&&(n.dataset.customText=e);t&&(n.dataset.noTeaser="");return n}(r,a,t))}}else Object(mr.replace)(e,function(e){var t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))};function Br(e){return"OL"===e.nodeName||"UL"===e.nodeName}var Mr=function(e){if(Br(e)){var t=e,r=e.previousElementSibling;if(r&&r.nodeName===e.nodeName&&1===t.children.length){for(;t.firstChild;)r.appendChild(t.firstChild);t.parentNode.removeChild(t)}var n,a=e.parentNode;if(a&&"LI"===a.nodeName&&1===a.children.length&&!/\S/.test((n=a,Object(s.a)(n.childNodes).map((function(e){var t=e.nodeValue;return void 0===t?"":t})).join("")))){var i=a,o=i.previousElementSibling,c=i.parentNode;o?(o.appendChild(t),c.removeChild(i)):(c.parentNode.insertBefore(t,c),c.parentNode.removeChild(c))}if(a&&Br(a)){var u=e.previousElementSibling;u?u.appendChild(e):Object(mr.unwrap)(e)}}},Lr=function(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=Er(e.innerHTML))};var zr=function(e,t,r){if(function(e,t){var r=e.nodeName.toLowerCase();return"figcaption"!==r&&!vr(e)&&Object(u.has)(t,["figure","children",r])}(e,r)){var n=e,a=e.parentNode;(function(e,t){var r=e.nodeName.toLowerCase();return Object(u.has)(t,["figure","children","a","children",r])})(e,r)&&"A"===a.nodeName&&1===a.childNodes.length&&(n=e.parentNode);for(var i=n;i&&"P"!==i.nodeName;)i=i.parentElement;var o=t.createElement("figure");i?i.parentNode.insertBefore(o,i):n.parentNode.insertBefore(o,n),o.appendChild(n)}},Hr=r(143);var Ir=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=Me(Le("from"),(function(e){return"shortcode"===e.type&&Object(u.some)(Object(u.castArray)(e.tag),(function(e){return Object(Hr.regexp)(e).test(t)}))}));if(!n)return[t];var a,i=Object(u.castArray)(n.tag),o=Object(u.first)(i);if(a=Object(Hr.next)(o,t,r)){var l=t.substr(0,a.index);if(r=a.index+a.content.length,!Object(u.includes)(a.shortcode.content||"","<")&&!/(\n|

    )\s*$/.test(l))return e(t,r);var d=Object(u.mapValues)(Object(u.pickBy)(n.attributes,(function(e){return e.shortcode})),(function(e){return e.shortcode(a.shortcode.attrs,a)}));return[l,Te(n.blockName,lr(Object(c.a)({},ge(n.blockName),{attributes:n.attributes}),a.shortcode.content,d))].concat(Object(s.a)(e(t.substr(r))))}return[t]},Dr=window.Node.COMMENT_NODE,Vr=function(e){e.nodeType===Dr&&Object(mr.remove)(e)};function Rr(e,t){return e.every((function(e){return function(e,t){if(vr(e))return!0;if(!t)return!1;var r=e.nodeName.toLowerCase();return[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]].some((function(e){return 0===Object(u.difference)([r,t],e).length}))}(e,t)&&Rr(Array.from(e.children),t)}))}function Fr(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}var $r=function(e,t){var r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;var n=Array.from(r.body.children);return!n.some(Fr)&&Rr(n,t)},qr=function(e,t){if("SPAN"===e.nodeName&&e.style){var r=e.style,n=r.fontWeight,a=r.fontStyle,i=r.textDecorationLine,o=r.verticalAlign;"bold"!==n&&"700"!==n||Object(mr.wrap)(t.createElement("strong"),e),"italic"===a&&Object(mr.wrap)(t.createElement("em"),e),"line-through"===i&&Object(mr.wrap)(t.createElement("s"),e),"super"===o?Object(mr.wrap)(t.createElement("sup"),e):"sub"===o&&Object(mr.wrap)(t.createElement("sub"),e)}else"B"===e.nodeName?e=Object(mr.replaceTag)(e,"strong"):"I"===e.nodeName?e=Object(mr.replaceTag)(e,"em"):"A"===e.nodeName&&(e.target&&"_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")))},Ur=function(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)},Gr=window.parseInt;function Wr(e){return"OL"===e.nodeName||"UL"===e.nodeName}var Kr=function(e,t){if("P"===e.nodeName){var r=e.getAttribute("style");if(r&&-1!==r.indexOf("mso-list")){var n=/mso-list\s*:[^;]+level([0-9]+)/i.exec(r);if(n){var a=Gr(n[1],10)-1||0,i=e.previousElementSibling;if(!i||!Wr(i)){var o=e.textContent.trim().slice(0,1),s=/[1iIaA]/.test(o),c=t.createElement(s?"ol":"ul");s&&c.setAttribute("type",o),e.parentNode.insertBefore(c,e)}var u=e.previousElementSibling,l=u.nodeName,d=t.createElement("li"),f=u;for(e.removeChild(e.firstElementChild);e.firstChild;)d.appendChild(e.firstChild);for(;a--;)Wr(f=f.lastElementChild||f)&&(f=f.lastElementChild||f);Wr(f)||(f=f.appendChild(t.createElement(l))),f.appendChild(d),e.parentNode.removeChild(e)}}}},Yr=r(35),Zr=window,Qr=Zr.atob,Xr=Zr.File,Jr=function(e){if("IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t,r=e.src.split(","),n=Object(Ie.a)(r,2),a=n[0],i=n[1],o=a.slice(5).split(";"),s=Object(Ie.a)(o,1)[0];if(!i||!s)return void(e.src="");try{t=Qr(i)}catch(t){return void(e.src="")}for(var c=new Uint8Array(t.length),u=0;u]+>/,""),"INLINE"!==o){var f=r||a;if(-1!==f.indexOf("\x3c!-- wp:"))return pr(f)}if(String.prototype.normalize&&(r=r.normalize()),!a||r&&!function(e){return!/<(?!br[ />])/i.test(e)}(r)||(r=rn(a),"AUTO"===o&&-1===a.indexOf("\n")&&0!==a.indexOf("

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

    ")&&(o="INLINE")),"INLINE"===o)return sn(r);var h=Ir(r),p=h.length>1;if("AUTO"===o&&!p&&$r(r,s))return sn(r);var g=Object(u.filter)(Le("from"),{type:"raw"}).map((function(e){return e.isMatch?e:Object(c.a)({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})})),m=_r(),b=jr(g),_=Object(u.compact)(Object(u.flatMap)(h,(function(e){if("string"!=typeof e)return e;var t=[an,Kr,Ur,Mr,Jr,qr,Nr,Vr,zr,Lr];d||t.unshift(nn);var r=Object(c.a)({},b,m);return e=xr(e=Tr(e,t,b),r),e=Er(e),on.log("Processed HTML piece:\n\n",e),function(e){var t=e.html,r=e.rawTransforms,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=t,Array.from(n.body.children).map((function(e){var t=Me(r,(function(t){return(0,t.isMatch)(e)}));if(!t)return Te("core/html",lr("core/html",e.outerHTML));var n=t.transform,a=t.blockName;return n?n(e):Te(a,lr(a,e.outerHTML))}))}({html:e,rawTransforms:g})})));if("AUTO"===o&&1===_.length){var v=a.trim();if(""!==v&&-1===v.indexOf("\n"))return xr(wt(_[0]),m)}return _}function un(e){var t=e.HTML,r=void 0===t?"":t;if(-1!==r.indexOf("\x3c!-- wp:"))return pr(r);var n=Ir(r),a=Object(u.filter)(Le("from"),{type:"raw"}).map((function(e){return e.isMatch?e:Object(c.a)({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})})),i=jr(a);return Object(u.compact)(Object(u.flatMap)(n,(function(e){return"string"!=typeof e?e:(e=Tr(e,[Mr,Nr,zr,Lr],i),function(e){var t=e.html,r=e.rawTransforms,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=t,Array.from(n.body.children).map((function(e){var t=Me(r,(function(t){return(0,t.isMatch)(e)}));if(!t)return Te("core/html",lr("core/html",e.outerHTML));var n=t.transform,a=t.blockName;return n?n(e):Te(a,lr(a,e.outerHTML))}))}({html:e=Er(e),rawTransforms:a}))})))}function ln(){return Object(i.select)("core/blocks").getCategories()}function dn(e){Object(i.dispatch)("core/blocks").setCategories(e)}function fn(e,t){Object(i.dispatch)("core/blocks").updateCategory(e,t)}function hn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length===t.length&&Object(u.every)(t,(function(t,r){var n=Object(Ie.a)(t,3),a=n[0],i=n[2],o=e[r];return a===o.name&&hn(o.innerBlocks,i)}))}function pn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?Object(u.map)(t,(function(t,r){var n=Object(Ie.a)(t,3),a=n[0],i=n[1],o=n[2],s=e[r];if(s&&s.name===a){var l=pn(s.innerBlocks,o);return Object(c.a)({},s,{innerBlocks:l})}var d=ge(a),f=function(e,t){return Object(u.mapValues)(t,(function(t,r){return h(e[r],t)}))},h=function(e,t){return r=e,"html"===Object(u.get)(r,["source"])&&Object(u.isArray)(t)?Object(Y.renderToString)(t):function(e){return"query"===Object(u.get)(e,["source"])}(e)&&t?t.map((function(t){return f(e.query,t)})):t;var r};return Te(a,f(Object(u.get)(d,["attributes"],{}),i),pn([],o))})):e}r.d(t,"createBlock",(function(){return Te})),r.d(t,"cloneBlock",(function(){return xe})),r.d(t,"getPossibleBlockTransformations",(function(){return Be})),r.d(t,"switchToBlockType",(function(){return ze})),r.d(t,"getBlockTransforms",(function(){return Le})),r.d(t,"findTransform",(function(){return Me})),r.d(t,"getBlockFromExample",(function(){return He})),r.d(t,"parse",(function(){return gr})),r.d(t,"getBlockAttributes",(function(){return lr})),r.d(t,"parseWithAttributeSchema",(function(){return cr})),r.d(t,"pasteHandler",(function(){return cn})),r.d(t,"rawHandler",(function(){return un})),r.d(t,"getPhrasingContentSchema",(function(){return _r})),r.d(t,"serialize",(function(){return Ot})),r.d(t,"getBlockContent",(function(){return wt})),r.d(t,"getBlockDefaultClassName",(function(){return bt})),r.d(t,"getBlockMenuDefaultClassName",(function(){return _t})),r.d(t,"getSaveElement",(function(){return vt})),r.d(t,"getSaveContent",(function(){return kt})),r.d(t,"isValidBlockContent",(function(){return Wt})),r.d(t,"getCategories",(function(){return ln})),r.d(t,"setCategories",(function(){return dn})),r.d(t,"updateCategory",(function(){return fn})),r.d(t,"registerBlockType",(function(){return ie})),r.d(t,"unregisterBlockType",(function(){return oe})),r.d(t,"setFreeformContentHandlerName",(function(){return se})),r.d(t,"getFreeformContentHandlerName",(function(){return ce})),r.d(t,"setUnregisteredTypeHandlerName",(function(){return le})),r.d(t,"getUnregisteredTypeHandlerName",(function(){return de})),r.d(t,"setDefaultBlockName",(function(){return fe})),r.d(t,"getDefaultBlockName",(function(){return pe})),r.d(t,"setGroupingBlockName",(function(){return he})),r.d(t,"getGroupingBlockName",(function(){return ue})),r.d(t,"getBlockType",(function(){return ge})),r.d(t,"getBlockTypes",(function(){return me})),r.d(t,"getBlockSupport",(function(){return be})),r.d(t,"hasBlockSupport",(function(){return _e})),r.d(t,"isReusableBlock",(function(){return ve})),r.d(t,"getChildBlockNames",(function(){return ke})),r.d(t,"hasChildBlocks",(function(){return we})),r.d(t,"hasChildBlocksWithInserterSupport",(function(){return ye})),r.d(t,"unstable__bootstrapServerSideBlockDefinitions",(function(){return ae})),r.d(t,"registerBlockStyle",(function(){return je})),r.d(t,"unregisterBlockStyle",(function(){return Oe})),r.d(t,"isUnmodifiedDefaultBlock",(function(){return Q})),r.d(t,"normalizeIconObject",(function(){return J})),r.d(t,"isValidIcon",(function(){return X})),r.d(t,"doBlocksMatchTemplate",(function(){return hn})),r.d(t,"synchronizeBlocksWithTemplate",(function(){return pn})),r.d(t,"children",(function(){return Qt})),r.d(t,"node",(function(){return ar})),r.d(t,"withBlockContentContext",(function(){return gt}))},35:function(e,t){!function(){e.exports=this.wp.blob}()},36:function(e,t,r){"use strict";var n,a;function i(e){return[e]}function o(){var e={clear:function(){e.head=null}};return e}function s(e,t,r){var n;if(e.length!==t.length)return!1;for(n=r;n1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=B(e,360),t=B(t,100),r=B(r,100),0===t)n=a=i=r;else{var s=r<.5?r*(1+t):r+t-r*t,c=2*r-s;n=o(c,s,e+1/3),a=o(c,s,e),i=o(c,s,e-1/3)}return{r:255*n,g:255*a,b:255*i}}(e.h,n,c),d=!0,f="hsl"),e.hasOwnProperty("a")&&(r=e.a));var h,p,g;return r=N(r),{ok:d,format:e.format||f,r:u(255,l(t.r,0)),g:u(255,l(t.g,0)),b:u(255,l(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=c(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=r.ok,this._tc_id=s++}function h(e,t,r){e=B(e,255),t=B(t,255),r=B(r,255);var n,a,i=l(e,t,r),o=u(e,t,r),s=(i+o)/2;if(i==o)n=a=0;else{var c=i-o;switch(a=s>.5?c/(2-i-o):c/(i+o),i){case e:n=(t-r)/c+(t>1)+720)%360;--t;)n.h=(n.h+a)%360,i.push(f(n));return i}function S(e,t){t=t||6;for(var r=f(e).toHsv(),n=r.h,a=r.s,i=r.v,o=[],s=1/t;t--;)o.push(f({h:n,s:a,v:i})),i=(i+s)%1;return o}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:a.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:a.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:a.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=N(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,a){var i=[z(c(e).toString(16)),z(c(t).toString(16)),z(c(r).toString(16)),z(I(n))];if(a&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*B(this._r,255))+"%",g:c(100*B(this._g,255))+"%",b:c(100*B(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*B(this._r,255))+"%, "+c(100*B(this._g,255))+"%, "+c(100*B(this._b,255))+"%)":"rgba("+c(100*B(this._r,255))+"%, "+c(100*B(this._g,255))+"%, "+c(100*B(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(P[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=f(e);r="#"+m(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(k,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(_,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(j,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(A,arguments)},complement:function(){return this._applyCombination(O,arguments)},monochromatic:function(){return this._applyCombination(S,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(T,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:H(e[n]));e=r}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,r){r=0===r?0:r||50;var n=f(e).toRgb(),a=f(t).toRgb(),i=r/100;return f({r:(a.r-n.r)*i+n.r,g:(a.g-n.g)*i+n.g,b:(a.b-n.b)*i+n.b,a:(a.a-n.a)*i+n.a})},f.readability=function(e,t){var r=f(e),n=f(t);return(a.max(r.getLuminance(),n.getLuminance())+.05)/(a.min(r.getLuminance(),n.getLuminance())+.05)},f.isReadable=function(e,t,r){var n,a,i=f.readability(e,t);switch(a=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":a=i>=4.5;break;case"AAlarge":a=i>=3;break;case"AAAsmall":a=i>=7}return a},f.mostReadable=function(e,t,r){var n,a,i,o,s=null,c=0;a=(r=r||{}).includeFallbackColors,i=r.level,o=r.size;for(var u=0;uc&&(c=n,s=f(t[u]));return f.isReadable(e,s,{level:i,size:o})||!a?s:(r.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],r))};var E=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},P=f.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(E);function N(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function B(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=u(t,l(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),a.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return u(1,l(0,e))}function L(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function H(e){return e<=1&&(e=100*e+"%"),e}function I(e){return a.round(255*parseFloat(e)).toString(16)}function D(e){return L(e)/255}var V,R,F,$=(R="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",F="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+R),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+R),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+R),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function q(e){return!!$.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(n=function(){return f}.call(t,r,t,e))||(e.exports=n)}(Math)},51:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},66:function(e,t,r){var n=r(84),a=r(85);e.exports=function(e,t,r){var i=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||n)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var s=0;s<16;++s)t[i+s]=o[s];return t||a(o)}},68:function(e,t){!function(){e.exports=this.wp.autop}()},7:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(10);function a(e){for(var t=1;t>>((3&t)<<3)&255;return a}}},85:function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(e,t){var n=t||0,a=r;return[a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]]].join("")}}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.blocks=function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=366)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},110:function(e,t){!function(){e.exports=this.wp.shortcode}()},12:function(e,t,r){"use strict";function n(e,t){for(var r=0;r (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex:

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

    "),c+="

    ",a.push(c))}for(o=a.length,s=0;s]*>\s*]*>/.test(l)&&(d=!0)}a[s]=l}return e=(e=(e=a.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),r.converter._dispatch("paragraphs.after",e,t,r)})),i.subParser("runExtension",(function(e,t,r,n){"use strict";if(e.filter)t=e.filter(t,n.converter,r);else if(e.regex){var a=e.regex;a instanceof RegExp||(a=new RegExp(a,"g")),t=t.replace(a,e.replace)}return t})),i.subParser("spanGamut",(function(e,t,r){"use strict";return e=r.converter._dispatch("spanGamut.before",e,t,r),e=i.subParser("codeSpans")(e,t,r),e=i.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,r),e=i.subParser("encodeBackslashEscapes")(e,t,r),e=i.subParser("images")(e,t,r),e=i.subParser("anchors")(e,t,r),e=i.subParser("autoLinks")(e,t,r),e=i.subParser("simplifiedAutoLinks")(e,t,r),e=i.subParser("emoji")(e,t,r),e=i.subParser("underline")(e,t,r),e=i.subParser("italicsAndBold")(e,t,r),e=i.subParser("strikethrough")(e,t,r),e=i.subParser("ellipsis")(e,t,r),e=i.subParser("hashHTMLSpans")(e,t,r),e=i.subParser("encodeAmpsAndAngles")(e,t,r),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"
    \n")):e=e.replace(/ +\n/g,"
    \n"),e=r.converter._dispatch("spanGamut.after",e,t,r)})),i.subParser("strikethrough",(function(e,t,r){"use strict";return t.strikethrough&&(e=(e=r.converter._dispatch("strikethrough.before",e,t,r)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,(function(e,n){return function(e){return t.simplifiedAutoLink&&(e=i.subParser("simplifiedAutoLinks")(e,t,r)),""+e+""}(n)})),e=r.converter._dispatch("strikethrough.after",e,t,r)),e})),i.subParser("stripLinkDefinitions",(function(e,t,r){"use strict";var n=function(e,n,a,o,s,c,u){return n=n.toLowerCase(),a.match(/^data:.+?\/.+?;base64,/)?r.gUrls[n]=a.replace(/\s/g,""):r.gUrls[n]=i.subParser("encodeAmpsAndAngles")(a,t,r),c?c+u:(u&&(r.gTitles[n]=u.replace(/"|'/g,""")),t.parseImgDimensions&&o&&s&&(r.gDimensions[n]={width:o,height:s}),"")};return e=(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,n)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,n)).replace(/¨0/,"")})),i.subParser("tables",(function(e,t,r){"use strict";if(!t.tables)return e;function n(e,n){return""+i.subParser("spanGamut")(e,t,r)+"\n"}function a(e){var a,o=e.split("\n");for(a=0;a"+(c=i.subParser("spanGamut")(c,t,r))+"\n"));for(a=0;a\n\n\n",a=0;a\n";for(var i=0;i\n"}return r+="\n\n"}(p,m)}return e=(e=(e=(e=r.converter._dispatch("tables.before",e,t,r)).replace(/\\(\|)/g,i.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,a)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,a),e=r.converter._dispatch("tables.after",e,t,r)})),i.subParser("underline",(function(e,t,r){"use strict";return t.underline?(e=r.converter._dispatch("underline.before",e,t,r),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return""+t+""}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return""+t+""})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?""+t+"":e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?""+t+"":e}))).replace(/(_)/g,i.helper.escapeCharactersCallback),e=r.converter._dispatch("underline.after",e,t,r)):e})),i.subParser("unescapeSpecialChars",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("unescapeSpecialChars.before",e,t,r)).replace(/¨E(\d+)E/g,(function(e,t){var r=parseInt(t);return String.fromCharCode(r)})),e=r.converter._dispatch("unescapeSpecialChars.after",e,t,r)})),i.subParser("makeMarkdown.blockquote",(function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,o=0;o ")})),i.subParser("makeMarkdown.codeBlock",(function(e,t){"use strict";var r=e.getAttribute("language"),n=e.getAttribute("precodenum");return"```"+r+"\n"+t.preList[n]+"\n```"})),i.subParser("makeMarkdown.codeSpan",(function(e){"use strict";return"`"+e.innerHTML+"`"})),i.subParser("makeMarkdown.emphasis",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="*";for(var n=e.childNodes,a=n.length,o=0;o",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),i.subParser("makeMarkdown.links",(function(e,t){"use strict";var r="";if(e.hasChildNodes()&&e.hasAttribute("href")){var n=e.childNodes,a=n.length;r="[";for(var o=0;o",e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"}return r})),i.subParser("makeMarkdown.list",(function(e,t,r){"use strict";var n="";if(!e.hasChildNodes())return"";for(var a=e.childNodes,o=a.length,s=e.getAttribute("start")||1,c=0;c"+t.preList[r]+""})),i.subParser("makeMarkdown.strikethrough",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="~~";for(var n=e.childNodes,a=n.length,o=0;otr>th"),c=e.querySelectorAll("tbody>tr");for(r=0;rp&&(p=g)}for(r=0;r/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}));void 0===(n=function(){"use strict";return i}.call(t,r,t,e))||(e.exports=n)}).call(this)},27:function(e,t){!function(){e.exports=this.wp.hooks}()},29:function(e,t){!function(){e.exports=this.wp.dom}()},32:function(e,t,r){"use strict";function n(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}r.d(t,"a",(function(){return n}))},33:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",(function(){return n}))},34:function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(t,"a",(function(){return n}))},36:function(e,t){!function(){e.exports=this.wp.blob}()},366:function(e,t,r){"use strict";r.r(t);var n={};r.r(n),r.d(n,"getBlockTypes",(function(){return k})),r.d(n,"getBlockType",(function(){return w})),r.d(n,"getBlockStyles",(function(){return y})),r.d(n,"__experimentalGetBlockPatterns",(function(){return j})),r.d(n,"__experimentalGetDefaultBlockPattern",(function(){return O})),r.d(n,"getCategories",(function(){return T})),r.d(n,"getDefaultBlockName",(function(){return x})),r.d(n,"getFreeformFallbackBlockName",(function(){return C})),r.d(n,"getUnregisteredFallbackBlockName",(function(){return A})),r.d(n,"getGroupingBlockName",(function(){return S})),r.d(n,"getChildBlockNames",(function(){return E})),r.d(n,"getBlockSupport",(function(){return N})),r.d(n,"hasBlockSupport",(function(){return P})),r.d(n,"isMatchingSearchTerm",(function(){return B})),r.d(n,"hasChildBlocks",(function(){return M})),r.d(n,"hasChildBlocksWithInserterSupport",(function(){return L}));var a={};r.r(a),r.d(a,"addBlockTypes",(function(){return z})),r.d(a,"removeBlockTypes",(function(){return H})),r.d(a,"addBlockStyles",(function(){return D})),r.d(a,"removeBlockStyles",(function(){return I})),r.d(a,"__experimentalAddBlockPatterns",(function(){return R})),r.d(a,"__experimentalRemoveBlockPatterns",(function(){return V})),r.d(a,"setDefaultBlockName",(function(){return F})),r.d(a,"setFreeformFallbackBlockName",(function(){return $})),r.d(a,"setUnregisteredFallbackBlockName",(function(){return q})),r.d(a,"setGroupingBlockName",(function(){return U})),r.d(a,"setCategories",(function(){return G})),r.d(a,"updateCategory",(function(){return K}));var i=r(4),o=r(9),s=r(18),c=r(7),u=r(2),l=r(1),d=[{slug:"common",title:Object(l.__)("Common Blocks")},{slug:"formatting",title:Object(l.__)("Formatting")},{slug:"layout",title:Object(l.__)("Layout Elements")},{slug:"widgets",title:Object(l.__)("Widgets")},{slug:"embed",title:Object(l.__)("Embeds")},{slug:"reusable",title:Object(l.__)("Reusable Blocks")}];function f(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"REMOVE_BLOCK_TYPES":return-1!==r.names.indexOf(t)?null:t;case e:return r.name||null}return t}}var h=f("SET_DEFAULT_BLOCK_NAME"),p=f("SET_FREEFORM_FALLBACK_BLOCK_NAME"),g=f("SET_UNREGISTERED_FALLBACK_BLOCK_NAME"),m=f("SET_GROUPING_BLOCK_NAME");var b=Object(i.combineReducers)({blockTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return Object(c.a)({},e,Object(u.keyBy)(Object(u.map)(t.blockTypes,(function(e){return Object(u.omit)(e,"styles ")})),"name"));case"REMOVE_BLOCK_TYPES":return Object(u.omit)(e,t.names)}return e},blockStyles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return Object(c.a)({},e,Object(u.mapValues)(Object(u.keyBy)(t.blockTypes,"name"),(function(t){return Object(u.uniqBy)([].concat(Object(s.a)(Object(u.get)(t,["styles"],[])),Object(s.a)(Object(u.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_STYLES":return Object(c.a)({},e,Object(o.a)({},t.blockName,Object(u.uniqBy)([].concat(Object(s.a)(Object(u.get)(e,[t.blockName],[])),Object(s.a)(t.styles)),(function(e){return e.name}))));case"REMOVE_BLOCK_STYLES":return Object(c.a)({},e,Object(o.a)({},t.blockName,Object(u.filter)(Object(u.get)(e,[t.blockName],[]),(function(e){return-1===t.styleNames.indexOf(e.name)}))))}return e},blockPatterns:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return Object(c.a)({},e,Object(u.mapValues)(Object(u.keyBy)(t.blockTypes,"name"),(function(t){return Object(u.uniqBy)([].concat(Object(s.a)(Object(u.get)(t,["patterns"],[])),Object(s.a)(Object(u.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_PATTERNS":return Object(c.a)({},e,Object(o.a)({},t.blockName,Object(u.uniqBy)([].concat(Object(s.a)(Object(u.get)(e,[t.blockName],[])),Object(s.a)(t.patterns)),(function(e){return e.name}))));case"REMOVE_BLOCK_PATTERNS":return Object(c.a)({},e,Object(o.a)({},t.blockName,Object(u.filter)(Object(u.get)(e,[t.blockName],[]),(function(e){return-1===t.patternNames.indexOf(e.name)}))))}return e},defaultBlockName:h,freeformFallbackBlockName:p,unregisteredFallbackBlockName:g,groupingBlockName:m,categories:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||Object(u.isEmpty)(t.category))return e;if(Object(u.find)(e,["slug",t.slug]))return Object(u.map)(e,(function(e){return e.slug===t.slug?Object(c.a)({},e,t.category):e}))}return e}}),_=r(38),v=function(e,t){return"string"==typeof t?w(e,t):t},k=Object(_.a)((function(e){return Object.values(e.blockTypes)}),(function(e){return[e.blockTypes]}));function w(e,t){return e.blockTypes[t]}function y(e,t){return e.blockStyles[t]}function j(e,t){return e.blockPatterns[t]}function O(e,t){var r=j(e,t);return Object(u.findLast)(r,"isDefault")||Object(u.first)(r)}function T(e){return e.categories}function x(e){return e.defaultBlockName}function C(e){return e.freeformFallbackBlockName}function A(e){return e.unregisteredFallbackBlockName}function S(e){return e.groupingBlockName}var E=Object(_.a)((function(e,t){return Object(u.map)(Object(u.filter)(e.blockTypes,(function(e){return Object(u.includes)(e.parent,t)})),(function(e){return e.name}))}),(function(e){return[e.blockTypes]})),N=function(e,t,r,n){var a=v(e,t);return Object(u.get)(a,["supports",r],n)};function P(e,t,r,n){return!!N(e,t,r,n)}function B(e,t,r){var n=v(e,t),a=Object(u.flow)([u.deburr,function(e){return e.toLowerCase()},function(e){return e.trim()}]),i=a(r),o=Object(u.flow)([a,function(e){return Object(u.includes)(e,i)}]);return o(n.title)||Object(u.some)(n.keywords,o)||o(n.category)}var M=function(e,t){return E(e,t).length>0},L=function(e,t){return Object(u.some)(E(e,t),(function(t){return P(e,t,"inserter",!0)}))};function z(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(u.castArray)(e)}}function H(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(u.castArray)(e)}}function D(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(u.castArray)(t),blockName:e}}function I(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(u.castArray)(t),blockName:e}}function R(e,t){return{type:"ADD_BLOCK_PATTERNS",patterns:Object(u.castArray)(t),blockName:e}}function V(e,t){return{type:"REMOVE_BLOCK_PATTERNS",patternNames:Object(u.castArray)(t),blockName:e}}function F(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function $(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function q(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function U(e){return{type:"SET_GROUPING_BLOCK_NAME",name:e}}function G(e){return{type:"SET_CATEGORIES",categories:e}}function K(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}Object(i.registerStore)("core/blocks",{reducer:b,selectors:n,actions:a});var W=r(66),Y=r.n(W),Z=r(27),Q=r(48),X=r.n(Q),J=r(0),ee=["#191e23","#f8f9f9"];function te(e){var t=_e();if(e.name!==t)return!1;te.block&&te.block.name===t||(te.block=Ne(t));var r=te.block,n=ve(t);return Object(u.every)(n.attributes,(function(t,n){return r.attributes[n]===e.attributes[n]}))}function re(e){return!!e&&(Object(u.isString)(e)||Object(J.isValidElement)(e)||Object(u.isFunction)(e)||e instanceof J.Component)}function ne(e){if(re(e))return{src:e};if(Object(u.has)(e,["background"])){var t=X()(e.background);return Object(c.a)({},e,{foreground:e.foreground?e.foreground:Object(Q.mostReadable)(t,ee,{includeFallbackColors:!0,level:"AA",size:"large"}).toHexString(),shadowColor:t.setAlpha(.3).toRgbString()})}return e}function ae(e){return Object(u.isString)(e)?ve(e):e}var ie=["attributes","supports","save","migrate","isEligible"],oe={icon:"block-default",attributes:{},keywords:[],save:function(){return null}},se={};function ce(e){se=Object(c.a)({},se,e)}function ue(e,t){if(t=Object(c.a)({name:e},oe,Object(u.get)(se,e),t),"string"==typeof e)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(e))if(Object(i.select)("core/blocks").getBlockType(e))console.error('Block "'+e+'" is already registered.');else{var r=Object(c.a)({},t);if((t=Object(Z.applyFilters)("blocks.registerBlockType",t,e)).deprecated&&(t.deprecated=t.deprecated.map((function(t){return Object(u.pick)(Object(Z.applyFilters)("blocks.registerBlockType",Object(c.a)({},Object(u.omit)(r,ie),t),e),ie)}))),Object(u.isPlainObject)(t))if(Object(u.isFunction)(t.save))if("edit"in t&&!Object(u.isFunction)(t.edit))console.error('The "edit" property must be a valid function.');else if("category"in t)if("category"in t&&!Object(u.some)(Object(i.select)("core/blocks").getCategories(),{slug:t.category}))console.error('The block "'+e+'" must have a registered category.');else if("title"in t&&""!==t.title)if("string"==typeof t.title){if(t.icon=ne(t.icon),re(t.icon.src))return Object(i.dispatch)("core/blocks").addBlockTypes(t),t;console.error("The icon passed is invalid. The icon should be a string, an element, a function, or an object following the specifications documented in https://developer.wordpress.org/block-editor/developers/block-api/block-registration/#icon-optional")}else console.error("Block titles must be strings.");else console.error('The block "'+e+'" must have a title.');else console.error('The block "'+e+'" must have a category.');else console.error('The "save" property must be a valid function.');else console.error("Block settings must be a valid object.")}else console.error("Block names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-block");else console.error("Block names must be strings.")}function le(e){var t=Object(i.select)("core/blocks").getBlockType(e);if(t)return Object(i.dispatch)("core/blocks").removeBlockTypes(e),t;console.error('Block "'+e+'" is not registered.')}function de(e){Object(i.dispatch)("core/blocks").setFreeformFallbackBlockName(e)}function fe(){return Object(i.select)("core/blocks").getFreeformFallbackBlockName()}function he(){return Object(i.select)("core/blocks").getGroupingBlockName()}function pe(e){Object(i.dispatch)("core/blocks").setUnregisteredFallbackBlockName(e)}function ge(){return Object(i.select)("core/blocks").getUnregisteredFallbackBlockName()}function me(e){Object(i.dispatch)("core/blocks").setDefaultBlockName(e)}function be(e){Object(i.dispatch)("core/blocks").setGroupingBlockName(e)}function _e(){return Object(i.select)("core/blocks").getDefaultBlockName()}function ve(e){return Object(i.select)("core/blocks").getBlockType(e)}function ke(){return Object(i.select)("core/blocks").getBlockTypes()}function we(e,t,r){return Object(i.select)("core/blocks").getBlockSupport(e,t,r)}function ye(e,t,r){return Object(i.select)("core/blocks").hasBlockSupport(e,t,r)}function je(e){return"core/block"===e.name}var Oe=function(e){return Object(i.select)("core/blocks").getChildBlockNames(e)},Te=function(e){return Object(i.select)("core/blocks").hasChildBlocks(e)},xe=function(e){return Object(i.select)("core/blocks").hasChildBlocksWithInserterSupport(e)},Ce=function(e,t){Object(i.dispatch)("core/blocks").addBlockStyles(e,t)},Ae=function(e,t){Object(i.dispatch)("core/blocks").removeBlockStyles(e,t)},Se=function(e,t){Object(i.dispatch)("core/blocks").__experimentalAddBlockPatterns(e,t)},Ee=function(e,t){Object(i.dispatch)("core/blocks").__experimentalRemoveBlockPatterns(e,t)};function Ne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=ve(e),a=Object(u.reduce)(n.attributes,(function(e,r,n){var a=t[n];return void 0!==a?e[n]=a:r.hasOwnProperty("default")&&(e[n]=r.default),-1!==["node","children"].indexOf(r.source)&&("string"==typeof e[n]?e[n]=[e[n]]:Array.isArray(e[n])||(e[n]=[])),e}),{});return{clientId:Y()(),name:e,isValid:!0,attributes:a,innerBlocks:r}}function Pe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=Y()();return Object(c.a)({},e,{clientId:n,attributes:Object(c.a)({},e.attributes,t),innerBlocks:r||e.innerBlocks.map((function(e){return Pe(e)}))})}var Be=function(e,t,r){if(Object(u.isEmpty)(r))return!1;var n=r.length>1,a=Object(u.first)(r).name;if(!(ze(e)||!n||e.isMultiBlock))return!1;if(!ze(e)&&!Object(u.every)(r,{name:a}))return!1;if(!("block"===e.type))return!1;var i=Object(u.first)(r);if(!("from"!==t||-1!==e.blocks.indexOf(i.name)||ze(e)))return!1;if(!n&&He(i.name)&&He(e.blockName))return!1;if(Object(u.isFunction)(e.isMatch)){var o=e.isMultiBlock?r.map((function(e){return e.attributes})):i.attributes;if(!e.isMatch(o))return!1}return!0},Me=function(e){if(Object(u.isEmpty)(e))return[];var t=ke();return Object(u.filter)(t,(function(t){return!!Re(Ve("from",t.name),(function(t){return Be(t,"from",e)}))}))},Le=function(e){if(Object(u.isEmpty)(e))return[];var t=Ve("to",ve(Object(u.first)(e).name).name),r=Object(u.filter)(t,(function(t){return t&&Be(t,"to",e)}));return Object(u.flatMap)(r,(function(e){return e.blocks})).map((function(e){return ve(e)}))},ze=function(e){return e&&"block"===e.type&&Array.isArray(e.blocks)&&e.blocks.includes("*")},He=function(e){return e===he()},De=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!e.length)return!1;var t=e[0].name;return Object(u.every)(e,["name",t])};function Ie(e){if(Object(u.isEmpty)(e))return[];var t=Me(e),r=Le(e);return Object(u.uniq)([].concat(Object(s.a)(t),Object(s.a)(r)))}function Re(e,t){for(var r=Object(Z.createHooks)(),n=function(n){var a=e[n];t(a)&&r.addFilter("transform","transform/"+n.toString(),(function(e){return e||a}),a.priority)},a=0;a1,a=r[0],i=a.name;if(!He(t)&&n&&!De(r))return null;var o,s=Ve("from",t),l=Re(Ve("to",i),(function(e){return"block"===e.type&&(ze(e)||-1!==e.blocks.indexOf(t))&&(!n||e.isMultiBlock)}))||Re(s,(function(e){return"block"===e.type&&(ze(e)||-1!==e.blocks.indexOf(i))&&(!n||e.isMultiBlock)}));if(!l)return null;if(o=l.isMultiBlock?Object(u.has)(l,"__experimentalConvert")?l.__experimentalConvert(r):l.transform(r.map((function(e){return e.attributes})),r.map((function(e){return e.innerBlocks}))):Object(u.has)(l,"__experimentalConvert")?l.__experimentalConvert(a):l.transform(a.attributes,a.innerBlocks),!Object(u.isObjectLike)(o))return null;if((o=Object(u.castArray)(o)).some((function(e){return!ve(e.name)})))return null;var d=Object(u.findIndex)(o,(function(e){return e.name===t}));return d<0?null:o.map((function(t,r){var n=Object(c.a)({},t,{clientId:r===d?a.clientId:t.clientId});return Object(Z.applyFilters)("blocks.switchToBlockType.transformedBlock",n,e)}))}var $e=function e(t,r){return Ne(t,r.attributes,Object(u.map)(r.innerBlocks,(function(t){return e(t.name,t)})))},qe=r(22);var Ue,Ge=function(){return Ue||(Ue=document.implementation.createHTMLDocument("")),Ue};function Ke(e,t){if(t){if("string"==typeof e){var r=Ge();r.body.innerHTML=e,e=r.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce((function(r,n){return r[n]=Ke(e,t[n]),r}),{})}}function We(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=r;if(e&&(n=r.querySelector(e)),n)return function(e,t){for(var r,n=t.split(".");r=n.shift();){if(!(r in e))return;e=e[r]}return e}(n,t)}}var Ye=r(68),Ze=r(220),Qe=r(33),Xe=r(32),Je=r(34);var et=r(13),tt=r(12),rt=/^#[xX]([A-Fa-f0-9]+)$/,nt=/^#([0-9]+)$/,at=/^([A-Za-z0-9]+)$/,it=(function(){function e(e){this.named=e}e.prototype.parse=function(e){if(e){var t=e.match(rt);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(nt))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(at))?this.named[t[1]]:void 0}}}(),/[\t\n\f ]/),ot=/[A-Za-z]/,st=/\r\n?/g;function ct(e){return it.test(e)}function ut(e){return ot.test(e)}var lt=function(){function e(e,t){this.delegate=e,this.entityParser=t,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var e=this.peek();if("<"!==e||this.isIgnoredEndTag()){if("\n"===e){var t=this.tagNameBuffer.toLowerCase();"pre"!==t&&"textarea"!==t||this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var e=this.peek(),t=this.tagNameBuffer.toLowerCase();"<"!==e||this.isIgnoredEndTag()?"&"===e&&"script"!==t&&"style"!==t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var e=this.consume();"!"===e?this.transitionTo("markupDeclarationOpen"):"/"===e?this.transitionTo("endTagOpen"):("@"===e||":"===e||ut(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){"-"===this.consume()&&"-"===this.peek()&&(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.transitionTo("commentStartDash"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(e),this.transitionTo("comment"))},commentStartDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var e=this.consume();"-"===e?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+e),this.transitionTo("comment"))},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+e),this.transitionTo("comment"))},tagName:function(){var e=this.consume();ct(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();ct(e)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===e?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();ct(e)?this.consume():"/"===e?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();ct(e)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();ct(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();ct(e)?this.consume():'"'===e?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();ct(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();ct(e)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var e=this.consume();("@"===e||":"===e||ut(e))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(e))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(e){this.state=e},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=function(e){return e.replace(st,"\n")}(e);this.index"!==this.input.substring(this.index,this.index+8)||"style"===e&&""!==this.input.substring(this.index,this.index+8)||"script"===e&&"<\/script>"!==this.input.substring(this.index,this.index+9)},e}(),dt=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new lt(this,e),this._currentAttribute=void 0}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var e=this.token;if(null===e)throw new Error("token was unexpectedly null");if(0===arguments.length)return e;for(var t=0;t1?r-1:0),a=1;a2&&void 0!==arguments[2]?arguments[2]:[],n=ae(e),a=n.save;if(a.prototype instanceof J.Component){var i=new a({attributes:t});a=i.render.bind(i)}var o=a({attributes:t,innerBlocks:r});if(Object(u.isObject)(o)&&Object(Z.hasFilter)("blocks.getSaveContent.extraProps")){var s=Object(Z.applyFilters)("blocks.getSaveContent.extraProps",Object(c.a)({},o.props),n,t);gt()(s,o.props)||(o=Object(J.cloneElement)(o,s))}return o=Object(Z.applyFilters)("blocks.getSaveElement",o,n,t),Object(J.createElement)(yt,{innerBlocks:r},o)}function xt(e,t,r){var n=ae(e);return Object(J.renderToString)(Tt(n,t,r))}function Ct(e){var t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=xt(e.name,e.attributes,e.innerBlocks)}catch(e){}return t}function At(e,t,r){var n=Object(u.isEmpty)(t)?"":function(e){return JSON.stringify(e).replace(/--/g,"\\u002d\\u002d").replace(//g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}(t)+" ",a=Object(u.startsWith)(e,"core/")?e.slice(5):e;return r?"\x3c!-- wp:".concat(a," ").concat(n,"--\x3e\n")+r+"\n\x3c!-- /wp:".concat(a," --\x3e"):"\x3c!-- wp:".concat(a," ").concat(n,"/--\x3e")}function St(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isInnerBlocks,r=void 0!==t&&t,n=e.name,a=Ct(e);return n===ge()||!r&&n===fe()?a:At(n,function(e,t){return Object(u.reduce)(e.attributes,(function(e,r,n){var a=t[n];return void 0===a?e:void 0!==r.source?e:"default"in r&&r.default===a?e:(e[n]=a,e)}),{})}(ve(n),e.attributes),a)}function Et(e,t){return Object(u.castArray)(e).map((function(e){return St(e,t)})).join("\n\n")}var Nt=/[\t\n\r\v\f ]+/g,Pt=/^[\t\n\r\v\f ]*$/,Bt=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,Mt=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"],Lt=[].concat(Mt,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),zt=[u.identity,function(e){return Vt(e).join(" ")}],Ht=/^[\da-z]+$/i,Dt=/^#\d+$/,It=/^#x[\da-f]+$/i;var Rt=function(){function e(){Object(et.a)(this,e)}return Object(tt.a)(e,[{key:"parse",value:function(e){if(t=e,Ht.test(t)||Dt.test(t)||It.test(t))return Object(ft.decodeEntities)("&"+e+";");var t}}]),e}();function Vt(e){return e.trim().split(Nt)}function Ft(e){return e.attributes.filter((function(e){var t=Object(qe.a)(e,2),r=t[0];return t[1]||0===r.indexOf("data-")||Object(u.includes)(Lt,r)}))}function $t(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ht(),n=e.chars,a=t.chars,i=0;i2&&void 0!==arguments[2]?arguments[2]:ht();if(e.length!==t.length)return r.warning("Expected attributes %o, instead saw %o.",t,e),!1;var n=[e,t].map(u.fromPairs),a=Object(qe.a)(n,2),i=a[0],o=a[1];for(var s in i){if(!o.hasOwnProperty(s))return r.warning("Encountered unexpected attribute `%s`.",s),!1;var c=i[s],l=o[s],d=Gt[s];if(d){if(!d(c,l))return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",s,l,c),!1}else if(c!==l)return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",s,l,c),!1}return!0}var Wt={StartTag:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ht();return e.tagName!==t.tagName?(r.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):Kt.apply(void 0,Object(s.a)([e,t].map(Ft)).concat([r]))},Chars:$t,Comment:$t};function Yt(e){for(var t;t=e.shift();){if("Chars"!==t.type)return t;if(!Pt.test(t.chars))return t}}function Zt(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function Qt(e,t){var r,n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ht(),i=[e,t].map((function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ht();try{return new dt(new Rt).tokenize(e)}catch(r){t.warning("Malformed HTML detected: %s",e)}return null}(e,a)})),o=Object(qe.a)(i,2),s=o[0],c=o[1];if(!s||!c)return!1;for(;r=Yt(s);){if(!(n=Yt(c)))return a.warning("Expected end of content, instead saw %o.",r),!1;if(r.type!==n.type)return a.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",n.type,n,r.type,r),!1;var u=Wt[r.type];if(u&&!u(r,n,a))return!1;Zt(r,c[0])?Yt(c):Zt(n,s[0])&&Yt(s)}return!(n=Yt(c))||(a.warning("Expected %o, instead saw end of content.",n),!1)}function Xt(e,t,r){var n,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){var e=[],t=ht();return{error:function(){for(var r=arguments.length,n=new Array(r),a=0;a2&&void 0!==arguments[2]?arguments[2]:{},n=ae(e),a=Object(u.mapValues)(n.attributes,(function(e,n){return gr(n,e,t,r)}));return Object(Z.applyFilters)("blocks.getBlockAttributes",a,n,t,r)}function br(e){var t=e.blockName,r=e.attrs,n=e.innerBlocks,a=void 0===n?[]:n,i=e.innerHTML,o=e.innerContent,l=fe(),d=ge()||l;r=r||{},i=i.trim();var f=t||l;"core/cover-image"===f&&(f="core/cover"),"core/text"!==f&&"core/cover-text"!==f||(f="core/paragraph"),f===l&&(i=Object(Ye.autop)(i).trim());var h=ve(f);if(!h){var p={attrs:r,blockName:t,innerBlocks:a,innerContent:o},g=_r(p,{isCommentDelimited:!1}),m=_r(p,{isCommentDelimited:!0});f&&(i=m),r={originalName:t,originalContent:m,originalUndelimitedContent:g},h=ve(f=d)}a=(a=a.map(br)).filter((function(e){return e}));var b=f===l||f===d;if(h&&(i||!b)){var _=Ne(f,mr(h,i,r),a);if(!b){var v=Xt(h,_.attributes,i),k=v.isValid,w=v.validationIssues;_.isValid=k,_.validationIssues=w}return _.originalContent=_.originalContent||i,(_=function(e,t){var r=ve(e.name),n=r.deprecated;if(!n||!n.length)return e;for(var a=e,i=a.originalContent,o=a.innerBlocks,l=0;l0&&(_.isValid?console.info("Block successfully updated for `%s` (%o).\n\nNew content generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",h.name,h,xt(h,_.attributes),_.originalContent):_.validationIssues.forEach((function(e){var t=e.log,r=e.args;return t.apply(void 0,Object(s.a)(r))}))),_}}function _r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isCommentDelimited,n=void 0===r||r,a=e.blockName,i=e.attrs,o=void 0===i?{}:i,s=e.innerBlocks,c=void 0===s?[]:s,u=e.innerContent,l=0,d=(void 0===u?[]:u).map((function(e){return null!==e?e:_r(c[l++],t)})).join("\n").replace(/\n+/g,"\n").trim();return n?At(a,o,d):d}var vr,kr=(vr=Ze.parse,function(e){return vr(e).reduce((function(e,t){var r=br(t);return r&&e.push(r),e}),[])}),wr=kr,yr=r(29),jr={strong:{},em:{},s:{},del:{},ins:{},a:{attributes:["href","target","rel"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{},"#text":{}};function Or(){return jr}function Tr(e){var t=e.nodeName.toLowerCase();return Or().hasOwnProperty(t)||"span"===t}["strong","em","s","del","ins","a","code","abbr","sub","sup"].forEach((function(e){jr[e].children=Object(u.omit)(jr,e)}));var xr=window.Node,Cr=xr.ELEMENT_NODE,Ar=xr.TEXT_NODE;function Sr(e){var t=e.map((function(e){var t=e.isMatch,r=e.blockName,n=e.schema,a=ye(r,"anchor");return a||t?Object(u.mapValues)(n,(function(e){var r=e.attributes||[];return a&&(r=[].concat(Object(s.a)(r),["id"])),Object(c.a)({},e,{attributes:r,isMatch:t||void 0})})):n}));return u.mergeWith.apply(void 0,[{}].concat(Object(s.a)(t),[function(e,t,r){switch(r){case"children":return"*"===e||"*"===t?"*":Object(c.a)({},e,t);case"attributes":case"require":return[].concat(Object(s.a)(e||[]),Object(s.a)(t||[]));case"isMatch":if(!e||!t)return;return function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}}]))}function Er(e){return!e.hasChildNodes()||Array.from(e.childNodes).every((function(e){return e.nodeType===Ar?!e.nodeValue.trim():e.nodeType!==Cr||("BR"===e.nodeName||!e.hasAttributes()&&Er(e))}))}function Nr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,function e(t,r,n,a){Array.from(t).forEach((function(t){e(t.childNodes,r,n,a),r.forEach((function(e){n.contains(t)&&e(t,n,a)}))}))}(n.body.childNodes,t,n,r),n.body.innerHTML}function Pr(e,t,r){var n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,function e(t,r,n,a){Array.from(t).forEach((function(t){var i=t.nodeName.toLowerCase();if(!n.hasOwnProperty(i)||n[i].isMatch&&!n[i].isMatch(t))e(t.childNodes,r,n,a),a&&!Tr(t)&&t.nextElementSibling&&Object(yr.insertAfter)(r.createElement("br"),t),Object(yr.unwrap)(t);else if(t.nodeType===Cr){var o=n[i],s=o.attributes,c=void 0===s?[]:s,l=o.classes,d=void 0===l?[]:l,f=o.children,h=o.require,p=void 0===h?[]:h,g=o.allowEmpty;if(f&&!g&&Er(t))return void Object(yr.remove)(t);if(t.hasAttributes()&&(Array.from(t.attributes).forEach((function(e){var r=e.name;"class"===r||Object(u.includes)(c,r)||t.removeAttribute(r)})),t.classList&&t.classList.length)){var m=d.map((function(e){return"string"==typeof e?function(t){return t===e}:e instanceof RegExp?function(t){return e.test(t)}:u.noop}));Array.from(t.classList).forEach((function(e){m.some((function(t){return t(e)}))||t.classList.remove(e)})),t.classList.length||t.removeAttribute("class")}if(t.hasChildNodes()){if("*"===f)return;if(f)p.length&&!t.querySelector(p.join(","))?(e(t.childNodes,r,n,a),Object(yr.unwrap)(t)):"BODY"===t.parentNode.nodeName&&Tr(t)?(e(t.childNodes,r,n,a),Array.from(t.childNodes).some((function(e){return!Tr(e)}))&&Object(yr.unwrap)(t)):e(t.childNodes,r,f,a);else for(;t.firstChild;)Object(yr.remove)(t.firstChild)}}}))}(n.body.childNodes,n,t,r),n.body.innerHTML}var Br=window.Node,Mr=Br.ELEMENT_NODE,Lr=Br.TEXT_NODE,zr=function(e){var t=document.implementation.createHTMLDocument(""),r=document.implementation.createHTMLDocument(""),n=t.body,a=r.body;for(n.innerHTML=e;n.firstChild;){var i=n.firstChild;i.nodeType===Lr?i.nodeValue.trim()?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(i)):n.removeChild(i):i.nodeType===Mr?"BR"===i.nodeName?(i.nextSibling&&"BR"===i.nextSibling.nodeName&&(a.appendChild(r.createElement("P")),n.removeChild(i.nextSibling)),a.lastChild&&"P"===a.lastChild.nodeName&&a.lastChild.hasChildNodes()?a.lastChild.appendChild(i):n.removeChild(i)):"P"===i.nodeName?Er(i)?n.removeChild(i):a.appendChild(i):Tr(i)?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(i)):a.appendChild(i):n.removeChild(i)}return a.innerHTML},Hr=window.Node.COMMENT_NODE,Dr=function(e,t){if(e.nodeType===Hr)if("nextpage"!==e.nodeValue){if(0===e.nodeValue.indexOf("more")){for(var r=e.nodeValue.slice(4).trim(),n=e,a=!1;n=n.nextSibling;)if(n.nodeType===Hr&&"noteaser"===n.nodeValue){a=!0,Object(yr.remove)(n);break}Object(yr.replace)(e,function(e,t,r){var n=r.createElement("wp-block");n.dataset.block="core/more",e&&(n.dataset.customText=e);t&&(n.dataset.noTeaser="");return n}(r,a,t))}}else Object(yr.replace)(e,function(e){var t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))};function Ir(e){return"OL"===e.nodeName||"UL"===e.nodeName}var Rr=function(e){if(Ir(e)){var t=e,r=e.previousElementSibling;if(r&&r.nodeName===e.nodeName&&1===t.children.length){for(;t.firstChild;)r.appendChild(t.firstChild);t.parentNode.removeChild(t)}var n,a=e.parentNode;if(a&&"LI"===a.nodeName&&1===a.children.length&&!/\S/.test((n=a,Array.from(n.childNodes).map((function(e){var t=e.nodeValue;return void 0===t?"":t})).join("")))){var i=a,o=i.previousElementSibling,s=i.parentNode;o?(o.appendChild(t),s.removeChild(i)):(s.parentNode.insertBefore(t,s),s.parentNode.removeChild(s))}if(a&&Ir(a)){var c=e.previousElementSibling;c?c.appendChild(e):Object(yr.unwrap)(e)}}},Vr=function(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=zr(e.innerHTML))};var Fr=function(e,t,r){if(function(e,t){var r=e.nodeName.toLowerCase();return"figcaption"!==r&&!Tr(e)&&Object(u.has)(t,["figure","children",r])}(e,r)){var n=e,a=e.parentNode;(function(e,t){var r=e.nodeName.toLowerCase();return Object(u.has)(t,["figure","children","a","children",r])})(e,r)&&"A"===a.nodeName&&1===a.childNodes.length&&(n=e.parentNode);for(var i=n;i&&"P"!==i.nodeName;)i=i.parentElement;var o=t.createElement("figure");i?i.parentNode.insertBefore(o,i):n.parentNode.insertBefore(o,n),o.appendChild(n)}},$r=r(110);var qr=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=Re(Ve("from"),(function(e){return-1===n.indexOf(e.blockName)&&"shortcode"===e.type&&Object(u.some)(Object(u.castArray)(e.tag),(function(e){return Object($r.regexp)(e).test(t)}))}));if(!a)return[t];var i,o=Object(u.castArray)(a.tag),l=Object(u.find)(o,(function(e){return Object($r.regexp)(e).test(t)})),d=r;if(i=Object($r.next)(l,t,r)){var f=t.substr(0,i.index);if(r=i.index+i.content.length,!Object(u.includes)(i.shortcode.content||"","<")&&!/(\n|

    )\s*$/.test(f))return e(t,r);if(a.isMatch&&!a.isMatch(i.shortcode.attrs))return e(t,d,[].concat(Object(s.a)(n),[a.blockName]));var h=Object(u.mapValues)(Object(u.pickBy)(a.attributes,(function(e){return e.shortcode})),(function(e){return e.shortcode(i.shortcode.attrs,i)}));return[f,Ne(a.blockName,mr(Object(c.a)({},ve(a.blockName),{attributes:a.attributes}),i.shortcode.content,h))].concat(Object(s.a)(e(t.substr(r))))}return[t]},Ur=window.Node.COMMENT_NODE,Gr=function(e){e.nodeType===Ur&&Object(yr.remove)(e)};function Kr(e,t){return e.every((function(e){return function(e,t){if(Tr(e))return!0;if(!t)return!1;var r=e.nodeName.toLowerCase();return[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]].some((function(e){return 0===Object(u.difference)([r,t],e).length}))}(e,t)&&Kr(Array.from(e.children),t)}))}function Wr(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}var Yr=function(e,t){var r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;var n=Array.from(r.body.children);return!n.some(Wr)&&Kr(n,t)},Zr=function(e,t){if("SPAN"===e.nodeName&&e.style){var r=e.style,n=r.fontWeight,a=r.fontStyle,i=r.textDecorationLine,o=r.textDecoration,s=r.verticalAlign;"bold"!==n&&"700"!==n||Object(yr.wrap)(t.createElement("strong"),e),"italic"===a&&Object(yr.wrap)(t.createElement("em"),e),("line-through"===i||Object(u.includes)(o,"line-through"))&&Object(yr.wrap)(t.createElement("s"),e),"super"===s?Object(yr.wrap)(t.createElement("sup"),e):"sub"===s&&Object(yr.wrap)(t.createElement("sub"),e)}else"B"===e.nodeName?e=Object(yr.replaceTag)(e,"strong"):"I"===e.nodeName?e=Object(yr.replaceTag)(e,"em"):"A"===e.nodeName&&(e.target&&"_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")))},Qr=function(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)},Xr=window.parseInt;function Jr(e){return"OL"===e.nodeName||"UL"===e.nodeName}var en=function(e,t){if("P"===e.nodeName){var r=e.getAttribute("style");if(r&&-1!==r.indexOf("mso-list")){var n=/mso-list\s*:[^;]+level([0-9]+)/i.exec(r);if(n){var a=Xr(n[1],10)-1||0,i=e.previousElementSibling;if(!i||!Jr(i)){var o=e.textContent.trim().slice(0,1),s=/[1iIaA]/.test(o),c=t.createElement(s?"ol":"ul");s&&c.setAttribute("type",o),e.parentNode.insertBefore(c,e)}var u=e.previousElementSibling,l=u.nodeName,d=t.createElement("li"),f=u;for(e.removeChild(e.firstElementChild);e.firstChild;)d.appendChild(e.firstChild);for(;a--;)Jr(f=f.lastElementChild||f)&&(f=f.lastElementChild||f);Jr(f)||(f=f.appendChild(t.createElement(l))),f.appendChild(d),e.parentNode.removeChild(e)}}}},tn=r(36),rn=window,nn=rn.atob,an=rn.File,on=function(e){if("IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t,r=e.src.split(","),n=Object(qe.a)(r,2),a=n[0],i=n[1],o=a.slice(5).split(";"),s=Object(qe.a)(o,1)[0];if(!i||!s)return void(e.src="");try{t=nn(i)}catch(t){return void(e.src="")}for(var c=new Uint8Array(t.length),u=0;u]+>/,""),"INLINE"!==o){var f=r||a;if(-1!==f.indexOf("\x3c!-- wp:"))return kr(f)}if(String.prototype.normalize&&(r=r.normalize()),!a||r&&!function(e){return!/<(?!br[ />])/i.test(e)}(r)||(r=un(a),"AUTO"===o&&-1===a.indexOf("\n")&&0!==a.indexOf("

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

    ")&&(o="INLINE")),"INLINE"===o)return gn(r);var h=qr(r),p=h.length>1;if("AUTO"===o&&!p&&Yr(r,s))return gn(r);var g=Object(u.filter)(Ve("from"),{type:"raw"}).map((function(e){return e.isMatch?e:Object(c.a)({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})})),m=Or(),b=Sr(g),_=Object(u.compact)(Object(u.flatMap)(h,(function(e){if("string"!=typeof e)return e;var t=[dn,en,Qr,Rr,on,Zr,Dr,Gr,Fr,Vr];d||t.unshift(ln);var r=Object(c.a)({},b,m);return e=Nr(e,t,b),e=Nr(e=Pr(e,r),[hn],b),e=zr(e),pn.log("Processed HTML piece:\n\n",e),function(e){var t=e.html,r=e.rawTransforms,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=t,Array.from(n.body.children).map((function(e){var t=Re(r,(function(t){return(0,t.isMatch)(e)}));if(!t)return Ne("core/html",mr("core/html",e.outerHTML));var n=t.transform,a=t.blockName;return n?n(e):Ne(a,mr(a,e.outerHTML))}))}({html:e,rawTransforms:g})})));if("AUTO"===o&&1===_.length){var v=a.trim();if(""!==v&&-1===v.indexOf("\n"))return Pr(Ct(_[0]),m)}return _}function bn(e){var t=e.HTML,r=void 0===t?"":t;if(-1!==r.indexOf("\x3c!-- wp:"))return kr(r);var n=qr(r),a=Object(u.filter)(Ve("from"),{type:"raw"}).map((function(e){return e.isMatch?e:Object(c.a)({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})})),i=Sr(a);return Object(u.compact)(Object(u.flatMap)(n,(function(e){return"string"!=typeof e?e:(e=Nr(e,[Rr,Dr,Fr,Vr],i),function(e){var t=e.html,r=e.rawTransforms,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=t,Array.from(n.body.children).map((function(e){var t=Re(r,(function(t){return(0,t.isMatch)(e)}));if(!t)return Ne("core/html",mr("core/html",e.outerHTML));var n=t.transform,a=t.blockName;return n?n(e):Ne(a,mr(a,e.outerHTML))}))}({html:e=zr(e),rawTransforms:a}))})))}function _n(){return Object(i.select)("core/blocks").getCategories()}function vn(e){Object(i.dispatch)("core/blocks").setCategories(e)}function kn(e,t){Object(i.dispatch)("core/blocks").updateCategory(e,t)}function wn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length===t.length&&Object(u.every)(t,(function(t,r){var n=Object(qe.a)(t,3),a=n[0],i=n[2],o=e[r];return a===o.name&&wn(o.innerBlocks,i)}))}function yn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?Object(u.map)(t,(function(t,r){var n=Object(qe.a)(t,3),a=n[0],i=n[1],o=n[2],s=e[r];if(s&&s.name===a){var l=yn(s.innerBlocks,o);return Object(c.a)({},s,{innerBlocks:l})}var d=ve(a),f=function(e,t){return Object(u.mapValues)(t,(function(t,r){return h(e[r],t)}))},h=function(e,t){return r=e,"html"===Object(u.get)(r,["source"])&&Object(u.isArray)(t)?Object(J.renderToString)(t):function(e){return"query"===Object(u.get)(e,["source"])}(e)&&t?t.map((function(t){return f(e.query,t)})):t;var r};return Ne(a,f(Object(u.get)(d,["attributes"],{}),i),yn([],o))})):e}r.d(t,"createBlock",(function(){return Ne})),r.d(t,"cloneBlock",(function(){return Pe})),r.d(t,"getPossibleBlockTransformations",(function(){return Ie})),r.d(t,"switchToBlockType",(function(){return Fe})),r.d(t,"getBlockTransforms",(function(){return Ve})),r.d(t,"findTransform",(function(){return Re})),r.d(t,"getBlockFromExample",(function(){return $e})),r.d(t,"parse",(function(){return wr})),r.d(t,"getBlockAttributes",(function(){return mr})),r.d(t,"parseWithAttributeSchema",(function(){return pr})),r.d(t,"pasteHandler",(function(){return mn})),r.d(t,"rawHandler",(function(){return bn})),r.d(t,"getPhrasingContentSchema",(function(){return Or})),r.d(t,"serialize",(function(){return Et})),r.d(t,"getBlockContent",(function(){return Ct})),r.d(t,"getBlockDefaultClassName",(function(){return jt})),r.d(t,"getBlockMenuDefaultClassName",(function(){return Ot})),r.d(t,"getSaveElement",(function(){return Tt})),r.d(t,"getSaveContent",(function(){return xt})),r.d(t,"isValidBlockContent",(function(){return Jt})),r.d(t,"getCategories",(function(){return _n})),r.d(t,"setCategories",(function(){return vn})),r.d(t,"updateCategory",(function(){return kn})),r.d(t,"registerBlockType",(function(){return ue})),r.d(t,"unregisterBlockType",(function(){return le})),r.d(t,"setFreeformContentHandlerName",(function(){return de})),r.d(t,"getFreeformContentHandlerName",(function(){return fe})),r.d(t,"setUnregisteredTypeHandlerName",(function(){return pe})),r.d(t,"getUnregisteredTypeHandlerName",(function(){return ge})),r.d(t,"setDefaultBlockName",(function(){return me})),r.d(t,"getDefaultBlockName",(function(){return _e})),r.d(t,"setGroupingBlockName",(function(){return be})),r.d(t,"getGroupingBlockName",(function(){return he})),r.d(t,"getBlockType",(function(){return ve})),r.d(t,"getBlockTypes",(function(){return ke})),r.d(t,"getBlockSupport",(function(){return we})),r.d(t,"hasBlockSupport",(function(){return ye})),r.d(t,"isReusableBlock",(function(){return je})),r.d(t,"getChildBlockNames",(function(){return Oe})),r.d(t,"hasChildBlocks",(function(){return Te})),r.d(t,"hasChildBlocksWithInserterSupport",(function(){return xe})),r.d(t,"unstable__bootstrapServerSideBlockDefinitions",(function(){return ce})),r.d(t,"registerBlockStyle",(function(){return Ce})),r.d(t,"unregisterBlockStyle",(function(){return Ae})),r.d(t,"__experimentalRegisterBlockPattern",(function(){return Se})),r.d(t,"__experimentalUnregisterBlockPattern",(function(){return Ee})),r.d(t,"isUnmodifiedDefaultBlock",(function(){return te})),r.d(t,"normalizeIconObject",(function(){return ne})),r.d(t,"isValidIcon",(function(){return re})),r.d(t,"doBlocksMatchTemplate",(function(){return wn})),r.d(t,"synchronizeBlocksWithTemplate",(function(){return yn})),r.d(t,"children",(function(){return nr})),r.d(t,"node",(function(){return lr})),r.d(t,"withBlockContentContext",(function(){return wt}))},38:function(e,t,r){"use strict";var n,a;function i(e){return[e]}function o(){var e={clear:function(){e.head=null}};return e}function s(e,t,r){var n;if(e.length!==t.length)return!1;for(n=r;n1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=B(e,360),t=B(t,100),r=B(r,100),0===t)n=a=i=r;else{var s=r<.5?r*(1+t):r+t-r*t,c=2*r-s;n=o(c,s,e+1/3),a=o(c,s,e),i=o(c,s,e-1/3)}return{r:255*n,g:255*a,b:255*i}}(e.h,n,c),d=!0,f="hsl"),e.hasOwnProperty("a")&&(r=e.a));var h,p,g;return r=P(r),{ok:d,format:e.format||f,r:u(255,l(t.r,0)),g:u(255,l(t.g,0)),b:u(255,l(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=c(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=r.ok,this._tc_id=s++}function h(e,t,r){e=B(e,255),t=B(t,255),r=B(r,255);var n,a,i=l(e,t,r),o=u(e,t,r),s=(i+o)/2;if(i==o)n=a=0;else{var c=i-o;switch(a=s>.5?c/(2-i-o):c/(i+o),i){case e:n=(t-r)/c+(t>1)+720)%360;--t;)n.h=(n.h+a)%360,i.push(f(n));return i}function S(e,t){t=t||6;for(var r=f(e).toHsv(),n=r.h,a=r.s,i=r.v,o=[],s=1/t;t--;)o.push(f({h:n,s:a,v:i})),i=(i+s)%1;return o}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:a.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:a.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:a.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=P(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,a){var i=[z(c(e).toString(16)),z(c(t).toString(16)),z(c(r).toString(16)),z(D(n))];if(a&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*B(this._r,255))+"%",g:c(100*B(this._g,255))+"%",b:c(100*B(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*B(this._r,255))+"%, "+c(100*B(this._g,255))+"%, "+c(100*B(this._b,255))+"%)":"rgba("+c(100*B(this._r,255))+"%, "+c(100*B(this._g,255))+"%, "+c(100*B(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(N[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=f(e);r="#"+m(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(k,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(_,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(j,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(A,arguments)},complement:function(){return this._applyCombination(O,arguments)},monochromatic:function(){return this._applyCombination(S,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(T,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:H(e[n]));e=r}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,r){r=0===r?0:r||50;var n=f(e).toRgb(),a=f(t).toRgb(),i=r/100;return f({r:(a.r-n.r)*i+n.r,g:(a.g-n.g)*i+n.g,b:(a.b-n.b)*i+n.b,a:(a.a-n.a)*i+n.a})},f.readability=function(e,t){var r=f(e),n=f(t);return(a.max(r.getLuminance(),n.getLuminance())+.05)/(a.min(r.getLuminance(),n.getLuminance())+.05)},f.isReadable=function(e,t,r){var n,a,i=f.readability(e,t);switch(a=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":a=i>=4.5;break;case"AAlarge":a=i>=3;break;case"AAAsmall":a=i>=7}return a},f.mostReadable=function(e,t,r){var n,a,i,o,s=null,c=0;a=(r=r||{}).includeFallbackColors,i=r.level,o=r.size;for(var u=0;uc&&(c=n,s=f(t[u]));return f.isReadable(e,s,{level:i,size:o})||!a?s:(r.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],r))};var E=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},N=f.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(E);function P(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function B(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=u(t,l(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),a.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return u(1,l(0,e))}function L(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function H(e){return e<=1&&(e=100*e+"%"),e}function D(e){return a.round(255*parseFloat(e)).toString(16)}function I(e){return L(e)/255}var R,V,F,$=(V="[\\s|\\(]+("+(R="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+R+")[,|\\s]+("+R+")\\s*\\)?",F="[\\s|\\(]+("+R+")[,|\\s]+("+R+")[,|\\s]+("+R+")[,|\\s]+("+R+")\\s*\\)?",{CSS_UNIT:new RegExp(R),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function q(e){return!!$.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(n=function(){return f}.call(t,r,t,e))||(e.exports=n)}(Math)},53:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},66:function(e,t,r){var n=r(86),a=r(87);e.exports=function(e,t,r){var i=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||n)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var s=0;s<16;++s)t[i+s]=o[s];return t||a(o)}},68:function(e,t){!function(){e.exports=this.wp.autop}()},7:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(9);function a(e){for(var t=1;t>>((3&t)<<3)&255;return a}}},87:function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(e,t){var n=t||0,a=r;return[a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]]].join("")}},9:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))}}); \ No newline at end of file diff --git a/wp-includes/js/dist/components.js b/wp-includes/js/dist/components.js index a1682d3a52..dc78ec5142 100644 --- a/wp-includes/js/dist/components.js +++ b/wp-includes/js/dist/components.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["components"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 343); +/******/ return __webpack_require__(__webpack_require__.s = 361); /******/ }) /************************************************************************/ /******/ ([ @@ -106,7 +106,8 @@ this["wp"] = this["wp"] || {}; this["wp"]["components"] = /***/ }), /* 3 */, /* 4 */, -/* 5 */ +/* 5 */, +/* 6 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -120,18 +121,17 @@ function _assertThisInitialized(self) { } /***/ }), -/* 6 */, /* 7 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(source); + var ownKeys = Object.keys(Object(source)); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -154,8 +154,7 @@ function _objectSpread(target) { (function() { module.exports = this["wp"]["compose"]; }()); /***/ }), -/* 9 */, -/* 10 */ +/* 9 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -176,105 +175,8 @@ function _defineProperty(obj, key, value) { } /***/ }), +/* 10 */, /* 11 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; }); -function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, descriptor.key, descriptor); - } -} - -function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - return Constructor; -} - -/***/ }), -/* 12 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; }); -function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -} - -/***/ }), -/* 13 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; }); -/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31); -/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5); - - -function _possibleConstructorReturn(self, call) { - if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) { - return call; - } - - return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self); -} - -/***/ }), -/* 14 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; }); -function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { - return o.__proto__ || Object.getPrototypeOf(o); - }; - return _getPrototypeOf(o); -} - -/***/ }), -/* 15 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js -function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { - o.__proto__ = p; - return o; - }; - - return _setPrototypeOf(o, p); -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _inherits; }); - -function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError("Super expression must either be null or a function"); - } - - subClass.prototype = Object.create(superClass && superClass.prototype, { - constructor: { - value: subClass, - writable: true, - configurable: true - } - }); - if (superClass) _setPrototypeOf(subClass, superClass); -} - -/***/ }), -/* 16 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! @@ -331,39 +233,41 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! /***/ }), -/* 17 */ +/* 12 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js -function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) { - for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { - arr2[i] = arr[i]; - } - - return arr2; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; }); +function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); } } -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(30); -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js -function _nonIterableSpread() { - throw new TypeError("Invalid attempt to spread non-iterable instance"); -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _toConsumableArray; }); - - - -function _toConsumableArray(arr) { - return _arrayWithoutHoles(arr) || Object(iterableToArray["a" /* default */])(arr) || _nonIterableSpread(); +function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; } /***/ }), -/* 18 */ +/* 13 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; }); +function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } +} + +/***/ }), +/* 14 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -386,6 +290,102 @@ function _extends() { return _extends.apply(this, arguments); } +/***/ }), +/* 15 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; }); +/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31); +/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6); + + +function _possibleConstructorReturn(self, call) { + if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) { + return call; + } + + return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self); +} + +/***/ }), +/* 16 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; }); +function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); +} + +/***/ }), +/* 17 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); +} +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _inherits; }); + +function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); +} + +/***/ }), +/* 18 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +function _arrayWithoutHoles(arr) { + if (Array.isArray(arr)) { + for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { + arr2[i] = arr[i]; + } + + return arr2; + } +} +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js +var iterableToArray = __webpack_require__(32); + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +function _nonIterableSpread() { + throw new TypeError("Invalid attempt to spread non-iterable instance"); +} +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _toConsumableArray; }); + + + +function _toConsumableArray(arr) { + return _arrayWithoutHoles(arr) || Object(iterableToArray["a" /* default */])(arr) || _nonIterableSpread(); +} + /***/ }), /* 19 */ /***/ (function(module, exports) { @@ -396,35 +396,19 @@ function _extends() { /* 20 */ /***/ (function(module, exports) { -(function() { module.exports = this["regeneratorRuntime"]; }()); +(function() { module.exports = this["React"]; }()); /***/ }), /* 21 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; }); +/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40); function _objectWithoutProperties(source, excluded) { if (source == null) return {}; - var target = _objectWithoutPropertiesLoose(source, excluded); + var target = Object(_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { @@ -443,21 +427,19 @@ function _objectWithoutProperties(source, excluded) { /***/ }), /* 22 */ -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["richText"]; }()); - -/***/ }), -/* 23 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(38); +var arrayWithHoles = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { + if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { + return; + } + var _arr = []; var _n = true; var _d = false; @@ -483,7 +465,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(39); +var nonIterableRest = __webpack_require__(34); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -495,13 +477,19 @@ function _slicedToArray(arr, i) { } /***/ }), -/* 24 */, -/* 25 */ +/* 23 */ /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["dom"]; }()); +(function() { module.exports = this["regeneratorRuntime"]; }()); /***/ }), +/* 24 */ +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["richText"]; }()); + +/***/ }), +/* 25 */, /* 26 */, /* 27 */ /***/ (function(module, exports) { @@ -510,51 +498,6 @@ function _slicedToArray(arr, i) { /***/ }), /* 28 */ -/***/ (function(module, exports) { - -(function() { module.exports = this["React"]; }()); - -/***/ }), -/* 29 */ -/***/ (function(module, exports) { - -(function() { module.exports = this["moment"]; }()); - -/***/ }), -/* 30 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; }); -function _iterableToArray(iter) { - if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); -} - -/***/ }), -/* 31 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); -function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); } - -function _typeof(obj) { - if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") { - _typeof = function _typeof(obj) { - return _typeof2(obj); - }; - } else { - _typeof = function _typeof(obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj); - }; - } - - return _typeof(obj); -} - -/***/ }), -/* 32 */, -/* 33 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -567,21 +510,54 @@ function _typeof(obj) { if (false) { var throwOnDirectAccess, ReactIs; } else { // By explicitly using `prop-types` you are opting into new production behavior. // http://fb.me/prop-types-in-prod - module.exports = __webpack_require__(86)(); + module.exports = __webpack_require__(88)(); } /***/ }), -/* 34 */, -/* 35 */, -/* 36 */, -/* 37 */ +/* 29 */ /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["deprecated"]; }()); +(function() { module.exports = this["wp"]["dom"]; }()); /***/ }), -/* 38 */ +/* 30 */ +/***/ (function(module, exports) { + +(function() { module.exports = this["moment"]; }()); + +/***/ }), +/* 31 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); +function _typeof(obj) { + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + _typeof = function _typeof(obj) { + return typeof obj; + }; + } else { + _typeof = function _typeof(obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + } + + return _typeof(obj); +} + +/***/ }), +/* 32 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; }); +function _iterableToArray(iter) { + if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); +} + +/***/ }), +/* 33 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -591,7 +567,7 @@ function _arrayWithHoles(arr) { } /***/ }), -/* 39 */ +/* 34 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -601,7 +577,38 @@ function _nonIterableRest() { } /***/ }), +/* 35 */ +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["deprecated"]; }()); + +/***/ }), +/* 36 */, +/* 37 */, +/* 38 */, +/* 39 */, /* 40 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + +/***/ }), +/* 41 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -645,12 +652,6 @@ var DEFAULT_VERTICAL_SPACING = exports.DEFAULT_VERTICAL_SPACING = 22; var MODIFIER_KEY_NAMES = exports.MODIFIER_KEY_NAMES = new Set(['Shift', 'Control', 'Alt', 'Meta']); -/***/ }), -/* 41 */ -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["isShallowEqual"]; }()); - /***/ }), /* 42 */, /* 43 */ @@ -695,24 +696,251 @@ function _asyncToGenerator(fn) { } /***/ }), -/* 44 */, -/* 45 */ +/* 44 */ /***/ (function(module, exports) { (function() { module.exports = this["wp"]["a11y"]; }()); +/***/ }), +/* 45 */ +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["isShallowEqual"]; }()); + /***/ }), /* 46 */ /***/ (function(module, exports, __webpack_require__) { -module.exports = true ? __webpack_require__(271) : undefined; +"use strict"; +/* globals + Atomics, + SharedArrayBuffer, +*/ + +var undefined; + +var $TypeError = TypeError; + +var $gOPD = Object.getOwnPropertyDescriptor; +if ($gOPD) { + try { + $gOPD({}, ''); + } catch (e) { + $gOPD = null; // this is IE 8, which has a broken gOPD + } +} + +var throwTypeError = function () { throw new $TypeError(); }; +var ThrowTypeError = $gOPD + ? (function () { + try { + // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties + arguments.callee; // IE 8 does not throw here + return throwTypeError; + } catch (calleeThrows) { + try { + // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') + return $gOPD(arguments, 'callee').get; + } catch (gOPDthrows) { + return throwTypeError; + } + } + }()) + : throwTypeError; + +var hasSymbols = __webpack_require__(245)(); + +var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto + +var generator; // = function * () {}; +var generatorFunction = generator ? getProto(generator) : undefined; +var asyncFn; // async function() {}; +var asyncFunction = asyncFn ? asyncFn.constructor : undefined; +var asyncGen; // async function * () {}; +var asyncGenFunction = asyncGen ? getProto(asyncGen) : undefined; +var asyncGenIterator = asyncGen ? asyncGen() : undefined; + +var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array); + +var INTRINSICS = { + '%Array%': Array, + '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer, + '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer.prototype, + '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined, + '%ArrayPrototype%': Array.prototype, + '%ArrayProto_entries%': Array.prototype.entries, + '%ArrayProto_forEach%': Array.prototype.forEach, + '%ArrayProto_keys%': Array.prototype.keys, + '%ArrayProto_values%': Array.prototype.values, + '%AsyncFromSyncIteratorPrototype%': undefined, + '%AsyncFunction%': asyncFunction, + '%AsyncFunctionPrototype%': asyncFunction ? asyncFunction.prototype : undefined, + '%AsyncGenerator%': asyncGen ? getProto(asyncGenIterator) : undefined, + '%AsyncGeneratorFunction%': asyncGenFunction, + '%AsyncGeneratorPrototype%': asyncGenFunction ? asyncGenFunction.prototype : undefined, + '%AsyncIteratorPrototype%': asyncGenIterator && hasSymbols && Symbol.asyncIterator ? asyncGenIterator[Symbol.asyncIterator]() : undefined, + '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, + '%Boolean%': Boolean, + '%BooleanPrototype%': Boolean.prototype, + '%DataView%': typeof DataView === 'undefined' ? undefined : DataView, + '%DataViewPrototype%': typeof DataView === 'undefined' ? undefined : DataView.prototype, + '%Date%': Date, + '%DatePrototype%': Date.prototype, + '%decodeURI%': decodeURI, + '%decodeURIComponent%': decodeURIComponent, + '%encodeURI%': encodeURI, + '%encodeURIComponent%': encodeURIComponent, + '%Error%': Error, + '%ErrorPrototype%': Error.prototype, + '%eval%': eval, // eslint-disable-line no-eval + '%EvalError%': EvalError, + '%EvalErrorPrototype%': EvalError.prototype, + '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, + '%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined : Float32Array.prototype, + '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, + '%Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined : Float64Array.prototype, + '%Function%': Function, + '%FunctionPrototype%': Function.prototype, + '%Generator%': generator ? getProto(generator()) : undefined, + '%GeneratorFunction%': generatorFunction, + '%GeneratorPrototype%': generatorFunction ? generatorFunction.prototype : undefined, + '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array, + '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined : Int8Array.prototype, + '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array, + '%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined : Int8Array.prototype, + '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array, + '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined : Int32Array.prototype, + '%isFinite%': isFinite, + '%isNaN%': isNaN, + '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined, + '%JSON%': typeof JSON === 'object' ? JSON : undefined, + '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined, + '%Map%': typeof Map === 'undefined' ? undefined : Map, + '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()), + '%MapPrototype%': typeof Map === 'undefined' ? undefined : Map.prototype, + '%Math%': Math, + '%Number%': Number, + '%NumberPrototype%': Number.prototype, + '%Object%': Object, + '%ObjectPrototype%': Object.prototype, + '%ObjProto_toString%': Object.prototype.toString, + '%ObjProto_valueOf%': Object.prototype.valueOf, + '%parseFloat%': parseFloat, + '%parseInt%': parseInt, + '%Promise%': typeof Promise === 'undefined' ? undefined : Promise, + '%PromisePrototype%': typeof Promise === 'undefined' ? undefined : Promise.prototype, + '%PromiseProto_then%': typeof Promise === 'undefined' ? undefined : Promise.prototype.then, + '%Promise_all%': typeof Promise === 'undefined' ? undefined : Promise.all, + '%Promise_reject%': typeof Promise === 'undefined' ? undefined : Promise.reject, + '%Promise_resolve%': typeof Promise === 'undefined' ? undefined : Promise.resolve, + '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy, + '%RangeError%': RangeError, + '%RangeErrorPrototype%': RangeError.prototype, + '%ReferenceError%': ReferenceError, + '%ReferenceErrorPrototype%': ReferenceError.prototype, + '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect, + '%RegExp%': RegExp, + '%RegExpPrototype%': RegExp.prototype, + '%Set%': typeof Set === 'undefined' ? undefined : Set, + '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()), + '%SetPrototype%': typeof Set === 'undefined' ? undefined : Set.prototype, + '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer, + '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer.prototype, + '%String%': String, + '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined, + '%StringPrototype%': String.prototype, + '%Symbol%': hasSymbols ? Symbol : undefined, + '%SymbolPrototype%': hasSymbols ? Symbol.prototype : undefined, + '%SyntaxError%': SyntaxError, + '%SyntaxErrorPrototype%': SyntaxError.prototype, + '%ThrowTypeError%': ThrowTypeError, + '%TypedArray%': TypedArray, + '%TypedArrayPrototype%': TypedArray ? TypedArray.prototype : undefined, + '%TypeError%': $TypeError, + '%TypeErrorPrototype%': $TypeError.prototype, + '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array, + '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array.prototype, + '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray, + '%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray.prototype, + '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array, + '%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array.prototype, + '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array, + '%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array.prototype, + '%URIError%': URIError, + '%URIErrorPrototype%': URIError.prototype, + '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap, + '%WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined : WeakMap.prototype, + '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet, + '%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined : WeakSet.prototype +}; + +var bind = __webpack_require__(72); +var $replace = bind.call(Function.call, String.prototype.replace); + +/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ +var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; +var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ +var stringToPath = function stringToPath(string) { + var result = []; + $replace(string, rePropName, function (match, number, quote, subString) { + result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : (number || match); + }); + return result; +}; +/* end adaptation */ + +var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { + if (!(name in INTRINSICS)) { + throw new SyntaxError('intrinsic ' + name + ' does not exist!'); + } + + // istanbul ignore if // hopefully this is impossible to test :-) + if (typeof INTRINSICS[name] === 'undefined' && !allowMissing) { + throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); + } + + return INTRINSICS[name]; +}; + +module.exports = function GetIntrinsic(name, allowMissing) { + if (typeof name !== 'string' || name.length === 0) { + throw new TypeError('intrinsic name must be a non-empty string'); + } + if (arguments.length > 1 && typeof allowMissing !== 'boolean') { + throw new TypeError('"allowMissing" argument must be a boolean'); + } + + var parts = stringToPath(name); + + var value = getBaseIntrinsic('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing); + for (var i = 1; i < parts.length; i += 1) { + if (value != null) { + if ($gOPD && (i + 1) >= parts.length) { + var desc = $gOPD(value, parts[i]); + value = desc ? (desc.get || desc.value) : value[parts[i]]; + } else { + value = value[parts[i]]; + } + } + } + return value; +}; + /***/ }), /* 47 */ /***/ (function(module, exports, __webpack_require__) { +module.exports = true ? __webpack_require__(287) : undefined; + + + +/***/ }), +/* 48 */ +/***/ (function(module, exports, __webpack_require__) { + var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.1 // https://github.com/bgrins/TinyColor // Brian Grinstead, MIT License @@ -1910,17 +2138,19 @@ else {} /***/ }), -/* 48 */ +/* 49 */, +/* 50 */, +/* 51 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var defineProperties = __webpack_require__(54); +var defineProperties = __webpack_require__(64); -var implementation = __webpack_require__(169); -var getPolyfill = __webpack_require__(170); -var shim = __webpack_require__(267); +var implementation = __webpack_require__(167); +var getPolyfill = __webpack_require__(168); +var shim = __webpack_require__(283); var polyfill = getPolyfill(); @@ -1934,7 +2164,7 @@ module.exports = polyfill; /***/ }), -/* 49 */ +/* 52 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -2153,10 +2383,9 @@ var CalendarDayPhrases = exports.CalendarDayPhrases = { }; /***/ }), -/* 50 */, -/* 51 */, -/* 52 */, -/* 53 */ +/* 53 */, +/* 54 */, +/* 55 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -2167,11 +2396,11 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = getPhrasePropTypes; -var _object = __webpack_require__(48); +var _object = __webpack_require__(51); var _object2 = _interopRequireDefault(_object); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -2186,72 +2415,7 @@ function getPhrasePropTypes(defaultPhrases) { } /***/ }), -/* 54 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var keys = __webpack_require__(89); -var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol'; - -var toStr = Object.prototype.toString; -var concat = Array.prototype.concat; -var origDefineProperty = Object.defineProperty; - -var isFunction = function (fn) { - return typeof fn === 'function' && toStr.call(fn) === '[object Function]'; -}; - -var arePropertyDescriptorsSupported = function () { - var obj = {}; - try { - origDefineProperty(obj, 'x', { enumerable: false, value: obj }); - // eslint-disable-next-line no-unused-vars, no-restricted-syntax - for (var _ in obj) { // jscs:ignore disallowUnusedVariables - return false; - } - return obj.x === obj; - } catch (e) { /* this is IE 8. */ - return false; - } -}; -var supportsDescriptors = origDefineProperty && arePropertyDescriptorsSupported(); - -var defineProperty = function (object, name, value, predicate) { - if (name in object && (!isFunction(predicate) || !predicate())) { - return; - } - if (supportsDescriptors) { - origDefineProperty(object, name, { - configurable: true, - enumerable: false, - value: value, - writable: true - }); - } else { - object[name] = value; - } -}; - -var defineProperties = function (object, map) { - var predicates = arguments.length > 2 ? arguments[2] : {}; - var props = keys(map); - if (hasSymbols) { - props = concat.call(props, Object.getOwnPropertySymbols(map)); - } - for (var i = 0; i < props.length; i += 1) { - defineProperty(object, props[i], map[props[i]], predicates[props[i]]); - } -}; - -defineProperties.supportsDescriptors = !!supportsDescriptors; - -module.exports = defineProperties; - - -/***/ }), -/* 55 */ +/* 56 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -2268,29 +2432,29 @@ var _createClass = function () { function defineProperties(target, props) { for exports.withStyles = withStyles; -var _object = __webpack_require__(48); +var _object = __webpack_require__(51); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _hoistNonReactStatics = __webpack_require__(272); +var _hoistNonReactStatics = __webpack_require__(288); var _hoistNonReactStatics2 = _interopRequireDefault(_hoistNonReactStatics); -var _constants = __webpack_require__(275); +var _constants = __webpack_require__(291); -var _brcast = __webpack_require__(276); +var _brcast = __webpack_require__(292); var _brcast2 = _interopRequireDefault(_brcast); -var _ThemedStyleSheet = __webpack_require__(167); +var _ThemedStyleSheet = __webpack_require__(165); var _ThemedStyleSheet2 = _interopRequireDefault(_ThemedStyleSheet); @@ -2505,235 +2669,42 @@ function withStyles(styleFn) { } /***/ }), -/* 56 */ +/* 57 */ /***/ (function(module, exports) { (function() { module.exports = this["ReactDOM"]; }()); /***/ }), -/* 57 */, -/* 58 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var implementation = __webpack_require__(244); - -module.exports = Function.prototype.bind || implementation; - - -/***/ }), -/* 59 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -/* globals - Atomics, - SharedArrayBuffer, -*/ - -var undefined; // eslint-disable-line no-shadow-restricted-names - -var $TypeError = TypeError; - -var ThrowTypeError = Object.getOwnPropertyDescriptor - ? (function () { return Object.getOwnPropertyDescriptor(arguments, 'callee').get; }()) - : function () { throw new $TypeError(); }; - -var hasSymbols = __webpack_require__(99)(); - -var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto - -var generator; // = function * () {}; -var generatorFunction = generator ? getProto(generator) : undefined; -var asyncFn; // async function() {}; -var asyncFunction = asyncFn ? asyncFn.constructor : undefined; -var asyncGen; // async function * () {}; -var asyncGenFunction = asyncGen ? getProto(asyncGen) : undefined; -var asyncGenIterator = asyncGen ? asyncGen() : undefined; - -var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array); - -var INTRINSICS = { - '$ %Array%': Array, - '$ %ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer, - '$ %ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer.prototype, - '$ %ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined, - '$ %ArrayPrototype%': Array.prototype, - '$ %ArrayProto_entries%': Array.prototype.entries, - '$ %ArrayProto_forEach%': Array.prototype.forEach, - '$ %ArrayProto_keys%': Array.prototype.keys, - '$ %ArrayProto_values%': Array.prototype.values, - '$ %AsyncFromSyncIteratorPrototype%': undefined, - '$ %AsyncFunction%': asyncFunction, - '$ %AsyncFunctionPrototype%': asyncFunction ? asyncFunction.prototype : undefined, - '$ %AsyncGenerator%': asyncGen ? getProto(asyncGenIterator) : undefined, - '$ %AsyncGeneratorFunction%': asyncGenFunction, - '$ %AsyncGeneratorPrototype%': asyncGenFunction ? asyncGenFunction.prototype : undefined, - '$ %AsyncIteratorPrototype%': asyncGenIterator && hasSymbols && Symbol.asyncIterator ? asyncGenIterator[Symbol.asyncIterator]() : undefined, - '$ %Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, - '$ %Boolean%': Boolean, - '$ %BooleanPrototype%': Boolean.prototype, - '$ %DataView%': typeof DataView === 'undefined' ? undefined : DataView, - '$ %DataViewPrototype%': typeof DataView === 'undefined' ? undefined : DataView.prototype, - '$ %Date%': Date, - '$ %DatePrototype%': Date.prototype, - '$ %decodeURI%': decodeURI, - '$ %decodeURIComponent%': decodeURIComponent, - '$ %encodeURI%': encodeURI, - '$ %encodeURIComponent%': encodeURIComponent, - '$ %Error%': Error, - '$ %ErrorPrototype%': Error.prototype, - '$ %eval%': eval, // eslint-disable-line no-eval - '$ %EvalError%': EvalError, - '$ %EvalErrorPrototype%': EvalError.prototype, - '$ %Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, - '$ %Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined : Float32Array.prototype, - '$ %Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, - '$ %Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined : Float64Array.prototype, - '$ %Function%': Function, - '$ %FunctionPrototype%': Function.prototype, - '$ %Generator%': generator ? getProto(generator()) : undefined, - '$ %GeneratorFunction%': generatorFunction, - '$ %GeneratorPrototype%': generatorFunction ? generatorFunction.prototype : undefined, - '$ %Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array, - '$ %Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined : Int8Array.prototype, - '$ %Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array, - '$ %Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined : Int8Array.prototype, - '$ %Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array, - '$ %Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined : Int32Array.prototype, - '$ %isFinite%': isFinite, - '$ %isNaN%': isNaN, - '$ %IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined, - '$ %JSON%': JSON, - '$ %JSONParse%': JSON.parse, - '$ %Map%': typeof Map === 'undefined' ? undefined : Map, - '$ %MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()), - '$ %MapPrototype%': typeof Map === 'undefined' ? undefined : Map.prototype, - '$ %Math%': Math, - '$ %Number%': Number, - '$ %NumberPrototype%': Number.prototype, - '$ %Object%': Object, - '$ %ObjectPrototype%': Object.prototype, - '$ %ObjProto_toString%': Object.prototype.toString, - '$ %ObjProto_valueOf%': Object.prototype.valueOf, - '$ %parseFloat%': parseFloat, - '$ %parseInt%': parseInt, - '$ %Promise%': typeof Promise === 'undefined' ? undefined : Promise, - '$ %PromisePrototype%': typeof Promise === 'undefined' ? undefined : Promise.prototype, - '$ %PromiseProto_then%': typeof Promise === 'undefined' ? undefined : Promise.prototype.then, - '$ %Promise_all%': typeof Promise === 'undefined' ? undefined : Promise.all, - '$ %Promise_reject%': typeof Promise === 'undefined' ? undefined : Promise.reject, - '$ %Promise_resolve%': typeof Promise === 'undefined' ? undefined : Promise.resolve, - '$ %Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy, - '$ %RangeError%': RangeError, - '$ %RangeErrorPrototype%': RangeError.prototype, - '$ %ReferenceError%': ReferenceError, - '$ %ReferenceErrorPrototype%': ReferenceError.prototype, - '$ %Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect, - '$ %RegExp%': RegExp, - '$ %RegExpPrototype%': RegExp.prototype, - '$ %Set%': typeof Set === 'undefined' ? undefined : Set, - '$ %SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()), - '$ %SetPrototype%': typeof Set === 'undefined' ? undefined : Set.prototype, - '$ %SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer, - '$ %SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer.prototype, - '$ %String%': String, - '$ %StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined, - '$ %StringPrototype%': String.prototype, - '$ %Symbol%': hasSymbols ? Symbol : undefined, - '$ %SymbolPrototype%': hasSymbols ? Symbol.prototype : undefined, - '$ %SyntaxError%': SyntaxError, - '$ %SyntaxErrorPrototype%': SyntaxError.prototype, - '$ %ThrowTypeError%': ThrowTypeError, - '$ %TypedArray%': TypedArray, - '$ %TypedArrayPrototype%': TypedArray ? TypedArray.prototype : undefined, - '$ %TypeError%': $TypeError, - '$ %TypeErrorPrototype%': $TypeError.prototype, - '$ %Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array, - '$ %Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array.prototype, - '$ %Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray, - '$ %Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray.prototype, - '$ %Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array, - '$ %Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array.prototype, - '$ %Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array, - '$ %Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array.prototype, - '$ %URIError%': URIError, - '$ %URIErrorPrototype%': URIError.prototype, - '$ %WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap, - '$ %WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined : WeakMap.prototype, - '$ %WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet, - '$ %WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined : WeakSet.prototype -}; - -var bind = __webpack_require__(58); -var $replace = bind.call(Function.call, String.prototype.replace); - -/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ -var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; -var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ -var stringToPath = function stringToPath(string) { - var result = []; - $replace(string, rePropName, function (match, number, quote, subString) { - result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : (number || match); - }); - return result; -}; -/* end adaptation */ - -var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { - var key = '$ ' + name; - if (!(key in INTRINSICS)) { - throw new SyntaxError('intrinsic ' + name + ' does not exist!'); - } - - // istanbul ignore if // hopefully this is impossible to test :-) - if (typeof INTRINSICS[key] === 'undefined' && !allowMissing) { - throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); - } - - return INTRINSICS[key]; -}; - -module.exports = function GetIntrinsic(name, allowMissing) { - if (arguments.length > 1 && typeof allowMissing !== 'boolean') { - throw new TypeError('"allowMissing" argument must be a boolean'); - } - - var parts = stringToPath(name); - - if (parts.length === 0) { - return getBaseIntrinsic(name, allowMissing); - } - - var value = getBaseIntrinsic('%' + parts[0] + '%', allowMissing); - for (var i = 1; i < parts.length; i += 1) { - if (value != null) { - value = value[parts[i]]; - } - } - return value; -}; - - -/***/ }), +/* 58 */, +/* 59 */, /* 60 */, -/* 61 */, -/* 62 */ -/***/ (function(module, exports, __webpack_require__) { +/* 61 */ +/***/ (function(module, exports) { -"use strict"; +var g; +// This works in non-strict mode +g = (function() { + return this; +})(); -var bind = __webpack_require__(58); +try { + // This works if eval is allowed (see CSP) + g = g || new Function("return this")(); +} catch (e) { + // This works if the window reference is available + if (typeof window === "object") g = window; +} -module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty); +// g can still be undefined, but nothing to do about it... +// We return undefined, instead of nothing here, so it's +// easier to handle this case. if(!global) { ...} + +module.exports = g; /***/ }), +/* 62 */, /* 63 */ /***/ (function(module, exports, __webpack_require__) { @@ -2744,12 +2715,12 @@ Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } -var _extends = _interopDefault(__webpack_require__(118)); -var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(119)); -var React = __webpack_require__(28); +var _extends = _interopDefault(__webpack_require__(117)); +var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(118)); +var React = __webpack_require__(20); var React__default = _interopDefault(React); -var _inheritsLoose = _interopDefault(__webpack_require__(120)); -var _assertThisInitialized = _interopDefault(__webpack_require__(121)); +var _inheritsLoose = _interopDefault(__webpack_require__(95)); +var _assertThisInitialized = _interopDefault(__webpack_require__(119)); var is = { arr: Array.isArray, @@ -5065,37 +5036,76 @@ exports.useSprings = useSprings; /***/ }), /* 64 */ -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { -var g; +"use strict"; -// This works in non-strict mode -g = (function() { - return this; -})(); -try { - // This works if eval is allowed (see CSP) - g = g || new Function("return this")(); -} catch (e) { - // This works if the window reference is available - if (typeof window === "object") g = window; -} +var keys = __webpack_require__(126); +var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol'; -// g can still be undefined, but nothing to do about it... -// We return undefined, instead of nothing here, so it's -// easier to handle this case. if(!global) { ...} +var toStr = Object.prototype.toString; +var concat = Array.prototype.concat; +var origDefineProperty = Object.defineProperty; -module.exports = g; +var isFunction = function (fn) { + return typeof fn === 'function' && toStr.call(fn) === '[object Function]'; +}; + +var arePropertyDescriptorsSupported = function () { + var obj = {}; + try { + origDefineProperty(obj, 'x', { enumerable: false, value: obj }); + // eslint-disable-next-line no-unused-vars, no-restricted-syntax + for (var _ in obj) { // jscs:ignore disallowUnusedVariables + return false; + } + return obj.x === obj; + } catch (e) { /* this is IE 8. */ + return false; + } +}; +var supportsDescriptors = origDefineProperty && arePropertyDescriptorsSupported(); + +var defineProperty = function (object, name, value, predicate) { + if (name in object && (!isFunction(predicate) || !predicate())) { + return; + } + if (supportsDescriptors) { + origDefineProperty(object, name, { + configurable: true, + enumerable: false, + value: value, + writable: true + }); + } else { + object[name] = value; + } +}; + +var defineProperties = function (object, map) { + var predicates = arguments.length > 2 ? arguments[2] : {}; + var props = keys(map); + if (hasSymbols) { + props = concat.call(props, Object.getOwnPropertySymbols(map)); + } + for (var i = 0; i < props.length; i += 1) { + defineProperty(object, props[i], map[props[i]], predicates[props[i]]); + } +}; + +defineProperties.supportsDescriptors = !!supportsDescriptors; + +module.exports = defineProperties; /***/ }), /* 65 */ /***/ (function(module, exports, __webpack_require__) { -var moment = __webpack_require__(29); -var momentValidationWrapper = __webpack_require__(269); -var core = __webpack_require__(270); +var moment = __webpack_require__(30); +var momentValidationWrapper = __webpack_require__(285); +var core = __webpack_require__(286); module.exports = { @@ -5139,8 +5149,8 @@ module.exports = { /* 66 */ /***/ (function(module, exports, __webpack_require__) { -var rng = __webpack_require__(84); -var bytesToUuid = __webpack_require__(85); +var rng = __webpack_require__(86); +var bytesToUuid = __webpack_require__(87); function v4(options, buf, offset) { var i = buf && offset || 0; @@ -5177,7 +5187,7 @@ module.exports = v4; "use strict"; -module.exports = __webpack_require__(112); +module.exports = __webpack_require__(111); /***/ }), /* 68 */, @@ -5190,47 +5200,68 @@ module.exports = __webpack_require__(112); "use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); +var implementation = __webpack_require__(244); -var _propTypes = __webpack_require__(33); +module.exports = Function.prototype.bind || implementation; + + +/***/ }), +/* 73 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var ES5Type = __webpack_require__(249); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-tostring + +module.exports = function Type(x) { + if (typeof x === 'symbol') { + return 'Symbol'; + } + return ES5Type(x); +}; -var _propTypes2 = _interopRequireDefault(_propTypes); - -var _constants = __webpack_require__(40); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -exports['default'] = _propTypes2['default'].oneOf(_constants.WEEKDAYS); /***/ }), -/* 73 */, /* 74 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var GetIntrinsic = __webpack_require__(59); +var bind = __webpack_require__(72); -var callBind = __webpack_require__(101); - -var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); - -module.exports = function callBoundIntrinsic(name, allowMissing) { - var intrinsic = GetIntrinsic(name, !!allowMissing); - if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) { - return callBind(intrinsic); - } - return intrinsic; -}; +module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty); /***/ }), /* 75 */ /***/ (function(module, exports, __webpack_require__) { +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _propTypes = __webpack_require__(28); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +var _constants = __webpack_require__(41); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +exports['default'] = _propTypes2['default'].oneOf(_constants.WEEKDAYS); + +/***/ }), +/* 76 */, +/* 77 */ +/***/ (function(module, exports, __webpack_require__) { + "use strict"; /** * Copyright (c) 2013-present, Facebook, Inc. @@ -5243,7 +5274,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) { -var shallowEqual = __webpack_require__(268); +var shallowEqual = __webpack_require__(284); /** * Does a shallow comparison for props and state. @@ -5261,7 +5292,7 @@ module.exports = shallowCompare; /***/ }), -/* 76 */ +/* 78 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5272,7 +5303,7 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = isSameDay; -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); @@ -5286,7 +5317,7 @@ function isSameDay(a, b) { } /***/ }), -/* 77 */ +/* 79 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5297,11 +5328,11 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = toMomentObject; -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -5312,40 +5343,6 @@ function toMomentObject(dateString, customFormat) { return date.isValid() ? date.hour(12) : null; } -/***/ }), -/* 78 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _propTypes = __webpack_require__(33); - -var _propTypes2 = _interopRequireDefault(_propTypes); - -var _constants = __webpack_require__(40); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -exports['default'] = _propTypes2['default'].oneOf([_constants.HORIZONTAL_ORIENTATION, _constants.VERTICAL_ORIENTATION, _constants.VERTICAL_SCROLLABLE]); - -/***/ }), -/* 79 */ -/***/ (function(module, exports) { - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports['default'] = isTouchDevice; -function isTouchDevice() { - return !!(typeof window !== 'undefined' && ('ontouchstart' in window || window.DocumentTouch && typeof document !== 'undefined' && document instanceof window.DocumentTouch)) || !!(typeof navigator !== 'undefined' && (navigator.maxTouchPoints || navigator.msMaxTouchPoints)); -} -module.exports = exports['default']; - /***/ }), /* 80 */ /***/ (function(module, exports, __webpack_require__) { @@ -5357,21 +5354,55 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +exports['default'] = _propTypes2['default'].oneOf([_constants.HORIZONTAL_ORIENTATION, _constants.VERTICAL_ORIENTATION, _constants.VERTICAL_SCROLLABLE]); + +/***/ }), +/* 81 */ +/***/ (function(module, exports) { + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports['default'] = isTouchDevice; +function isTouchDevice() { + return !!(typeof window !== 'undefined' && ('ontouchstart' in window || window.DocumentTouch && typeof document !== 'undefined' && document instanceof window.DocumentTouch)) || !!(typeof navigator !== 'undefined' && (navigator.maxTouchPoints || navigator.msMaxTouchPoints)); +} +module.exports = exports['default']; + +/***/ }), +/* 82 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _propTypes = __webpack_require__(28); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } exports['default'] = _propTypes2['default'].oneOf([_constants.OPEN_DOWN, _constants.OPEN_UP]); /***/ }), -/* 81 */, -/* 82 */, /* 83 */, -/* 84 */ +/* 84 */, +/* 85 */, +/* 86 */ /***/ (function(module, exports) { // Unique ID creation requires a high quality random # generator. In the @@ -5411,7 +5442,7 @@ if (getRandomValues) { /***/ }), -/* 85 */ +/* 87 */ /***/ (function(module, exports) { /** @@ -5441,7 +5472,7 @@ module.exports = bytesToUuid; /***/ }), -/* 86 */ +/* 88 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5454,7 +5485,7 @@ module.exports = bytesToUuid; -var ReactPropTypesSecret = __webpack_require__(87); +var ReactPropTypesSecret = __webpack_require__(89); function emptyFunction() {} function emptyFunctionWithReset() {} @@ -5512,7 +5543,7 @@ module.exports = function() { /***/ }), -/* 87 */ +/* 89 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5530,46 +5561,6 @@ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; module.exports = ReactPropTypesSecret; -/***/ }), -/* 88 */, -/* 89 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var slice = Array.prototype.slice; -var isArgs = __webpack_require__(146); - -var origKeys = Object.keys; -var keysShim = origKeys ? function keys(o) { return origKeys(o); } : __webpack_require__(243); - -var originalKeys = Object.keys; - -keysShim.shim = function shimObjectKeys() { - if (Object.keys) { - var keysWorksWithArguments = (function () { - // Safari 5.0 bug - var args = Object.keys(arguments); - return args && args.length === arguments.length; - }(1, 2)); - if (!keysWorksWithArguments) { - Object.keys = function keys(object) { // eslint-disable-line func-name-matching - if (isArgs(object)) { - return originalKeys(slice.call(object)); - } - return originalKeys(object); - }; - } - } else { - Object.keys = keysShim; - } - return Object.keys || keysShim; -}; - -module.exports = keysShim; - - /***/ }), /* 90 */ /***/ (function(module, exports, __webpack_require__) { @@ -5577,26 +5568,19 @@ module.exports = keysShim; "use strict"; -var GetIntrinsic = __webpack_require__(59); +Object.defineProperty(exports, "__esModule", { + value: true +}); -var has = __webpack_require__(62); +var _propTypes = __webpack_require__(28); -var $assign = GetIntrinsic('%Object%').assign; +var _propTypes2 = _interopRequireDefault(_propTypes); -module.exports = function assign(target, source) { - if ($assign) { - return $assign(target, source); - } +var _constants = __webpack_require__(41); - // eslint-disable-next-line no-restricted-syntax - for (var key in source) { - if (has(source, key)) { - target[key] = source[key]; - } - } - return target; -}; +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } +exports['default'] = _propTypes2['default'].oneOf([_constants.ICON_BEFORE_POSITION, _constants.ICON_AFTER_POSITION]); /***/ }), /* 91 */ @@ -5609,15 +5593,15 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } -exports['default'] = _propTypes2['default'].oneOf([_constants.ICON_BEFORE_POSITION, _constants.ICON_AFTER_POSITION]); +exports['default'] = _propTypes2['default'].oneOf([_constants.INFO_POSITION_TOP, _constants.INFO_POSITION_BOTTOM, _constants.INFO_POSITION_BEFORE, _constants.INFO_POSITION_AFTER]); /***/ }), /* 92 */ @@ -5626,37 +5610,16 @@ exports['default'] = _propTypes2['default'].oneOf([_constants.ICON_BEFORE_POSITI "use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _propTypes = __webpack_require__(33); - -var _propTypes2 = _interopRequireDefault(_propTypes); - -var _constants = __webpack_require__(40); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -exports['default'] = _propTypes2['default'].oneOf([_constants.INFO_POSITION_TOP, _constants.INFO_POSITION_BOTTOM, _constants.INFO_POSITION_BEFORE, _constants.INFO_POSITION_AFTER]); - -/***/ }), -/* 93 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - Object.defineProperty(exports, "__esModule", { value: true }); exports['default'] = isInclusivelyAfterDay; -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _isBeforeDay = __webpack_require__(94); +var _isBeforeDay = __webpack_require__(93); var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay); @@ -5668,7 +5631,7 @@ function isInclusivelyAfterDay(a, b) { } /***/ }), -/* 94 */ +/* 93 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5679,7 +5642,7 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = isBeforeDay; -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); @@ -5703,7 +5666,7 @@ function isBeforeDay(a, b) { } /***/ }), -/* 95 */ +/* 94 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5713,7 +5676,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); @@ -5739,71 +5702,33 @@ CloseButton.defaultProps = { }; exports['default'] = CloseButton; +/***/ }), +/* 95 */ +/***/ (function(module, exports) { + +function _inheritsLoose(subClass, superClass) { + subClass.prototype = Object.create(superClass.prototype); + subClass.prototype.constructor = subClass; + subClass.__proto__ = superClass; +} + +module.exports = _inheritsLoose; + /***/ }), /* 96 */, /* 97 */, /* 98 */, -/* 99 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(global) { - -var origSymbol = global.Symbol; -var hasSymbolSham = __webpack_require__(152); - -module.exports = function hasNativeSymbols() { - if (typeof origSymbol !== 'function') { return false; } - if (typeof Symbol !== 'function') { return false; } - if (typeof origSymbol('foo') !== 'symbol') { return false; } - if (typeof Symbol('bar') !== 'symbol') { return false; } - - return hasSymbolSham(); -}; - -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(64))) - -/***/ }), +/* 99 */, /* 100 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var fnToStr = Function.prototype.toString; +// https://www.ecma-international.org/ecma-262/6.0/#sec-ispropertykey -var constructorRegex = /^\s*class\b/; -var isES6ClassFn = function isES6ClassFunction(value) { - try { - var fnStr = fnToStr.call(value); - return constructorRegex.test(fnStr); - } catch (e) { - return false; // not a function - } -}; - -var tryFunctionObject = function tryFunctionToStr(value) { - try { - if (isES6ClassFn(value)) { return false; } - fnToStr.call(value); - return true; - } catch (e) { - return false; - } -}; -var toStr = Object.prototype.toString; -var fnClass = '[object Function]'; -var genClass = '[object GeneratorFunction]'; -var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; - -module.exports = function isCallable(value) { - if (!value) { return false; } - if (typeof value !== 'function' && typeof value !== 'object') { return false; } - if (typeof value === 'function' && !value.prototype) { return true; } - if (hasToStringTag) { return tryFunctionObject(value); } - if (isES6ClassFn(value)) { return false; } - var strClass = toStr.call(value); - return strClass === fnClass || strClass === genClass; +module.exports = function IsPropertyKey(argument) { + return typeof argument === 'string' || typeof argument === 'symbol'; }; @@ -5814,39 +5739,15 @@ module.exports = function isCallable(value) { "use strict"; -var bind = __webpack_require__(58); - -var GetIntrinsic = __webpack_require__(59); - -var $Function = GetIntrinsic('%Function%'); -var $apply = $Function.apply; -var $call = $Function.call; - -module.exports = function callBind() { - return bind.apply($call, arguments); -}; - -module.exports.apply = function applyBind() { - return bind.apply($apply, arguments); -}; - - -/***/ }), -/* 102 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -5877,7 +5778,7 @@ exports['default'] = (0, _airbnbPropTypes.and)([_propTypes2['default'].instanceO }()], 'Modifiers (Set of Strings)'); /***/ }), -/* 103 */ +/* 102 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5888,15 +5789,15 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = toISODateString; -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _toMomentObject = __webpack_require__(77); +var _toMomentObject = __webpack_require__(79); var _toMomentObject2 = _interopRequireDefault(_toMomentObject); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -5908,7 +5809,7 @@ function toISODateString(date, currentFormat) { } /***/ }), -/* 104 */ +/* 103 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -6123,7 +6024,7 @@ function addEventListener(target, eventName, listener, options) { /***/ }), -/* 105 */ +/* 104 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -6134,15 +6035,15 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = toISOMonthString; -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _toMomentObject = __webpack_require__(77); +var _toMomentObject = __webpack_require__(79); var _toMomentObject2 = _interopRequireDefault(_toMomentObject); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -6154,7 +6055,7 @@ function toISOMonthString(date, currentFormat) { } /***/ }), -/* 106 */ +/* 105 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -6164,18 +6065,18 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } exports['default'] = _propTypes2['default'].oneOfType([_propTypes2['default'].bool, _propTypes2['default'].oneOf([_constants.START_DATE, _constants.END_DATE])]); /***/ }), -/* 107 */ +/* 106 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -6186,15 +6087,15 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = isAfterDay; -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _isBeforeDay = __webpack_require__(94); +var _isBeforeDay = __webpack_require__(93); var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay); -var _isSameDay = __webpack_require__(76); +var _isSameDay = __webpack_require__(78); var _isSameDay2 = _interopRequireDefault(_isSameDay); @@ -6206,17 +6107,17 @@ function isAfterDay(a, b) { } /***/ }), +/* 107 */, /* 108 */, /* 109 */, /* 110 */, -/* 111 */, -/* 112 */ +/* 111 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var util = __webpack_require__(113); +var util = __webpack_require__(112); function scrollIntoView(elem, container, config) { config = config || {}; @@ -6345,7 +6246,7 @@ function scrollIntoView(elem, container, config) { module.exports = scrollIntoView; /***/ }), -/* 113 */ +/* 112 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -6790,11 +6691,11 @@ module.exports = _extends({ }, domUtils); /***/ }), +/* 113 */, /* 114 */, /* 115 */, /* 116 */, -/* 117 */, -/* 118 */ +/* 117 */ /***/ (function(module, exports) { function _extends() { @@ -6818,7 +6719,7 @@ function _extends() { module.exports = _extends; /***/ }), -/* 119 */ +/* 118 */ /***/ (function(module, exports) { function _objectWithoutPropertiesLoose(source, excluded) { @@ -6839,19 +6740,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { module.exports = _objectWithoutPropertiesLoose; /***/ }), -/* 120 */ -/***/ (function(module, exports) { - -function _inheritsLoose(subClass, superClass) { - subClass.prototype = Object.create(superClass.prototype); - subClass.prototype.constructor = subClass; - subClass.__proto__ = superClass; -} - -module.exports = _inheritsLoose; - -/***/ }), -/* 121 */ +/* 119 */ /***/ (function(module, exports) { function _assertThisInitialized(self) { @@ -6865,273 +6754,110 @@ function _assertThisInitialized(self) { module.exports = _assertThisInitialized; /***/ }), +/* 120 */, +/* 121 */, /* 122 */, /* 123 */, /* 124 */, /* 125 */, -/* 126 */, -/* 127 */, +/* 126 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var slice = Array.prototype.slice; +var isArgs = __webpack_require__(151); + +var origKeys = Object.keys; +var keysShim = origKeys ? function keys(o) { return origKeys(o); } : __webpack_require__(243); + +var originalKeys = Object.keys; + +keysShim.shim = function shimObjectKeys() { + if (Object.keys) { + var keysWorksWithArguments = (function () { + // Safari 5.0 bug + var args = Object.keys(arguments); + return args && args.length === arguments.length; + }(1, 2)); + if (!keysWorksWithArguments) { + Object.keys = function keys(object) { // eslint-disable-line func-name-matching + if (isArgs(object)) { + return originalKeys(slice.call(object)); + } + return originalKeys(object); + }; + } + } else { + Object.keys = keysShim; + } + return Object.keys || keysShim; +}; + +module.exports = keysShim; + + +/***/ }), +/* 127 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var bind = __webpack_require__(72); + +var GetIntrinsic = __webpack_require__(46); + +var $Function = GetIntrinsic('%Function%'); +var $apply = $Function.apply; +var $call = $Function.call; + +module.exports = function callBind() { + return bind.apply($call, arguments); +}; + +module.exports.apply = function applyBind() { + return bind.apply($apply, arguments); +}; + + +/***/ }), /* 128 */ /***/ (function(module, exports, __webpack_require__) { -var hasMap = typeof Map === 'function' && Map.prototype; -var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null; -var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null; -var mapForEach = hasMap && Map.prototype.forEach; -var hasSet = typeof Set === 'function' && Set.prototype; -var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null; -var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null; -var setForEach = hasSet && Set.prototype.forEach; -var booleanValueOf = Boolean.prototype.valueOf; -var objectToString = Object.prototype.toString; -var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null; +"use strict"; -var inspectCustom = __webpack_require__(250).custom; -var inspectSymbol = (inspectCustom && isSymbol(inspectCustom)) ? inspectCustom : null; -module.exports = function inspect_ (obj, opts, depth, seen) { - if (!opts) opts = {}; +var GetIntrinsic = __webpack_require__(46); - if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) { - throw new TypeError('option "quoteStyle" must be "single" or "double"'); - } +var $TypeError = GetIntrinsic('%TypeError%'); - if (typeof obj === 'undefined') { - return 'undefined'; - } - if (obj === null) { - return 'null'; - } - if (typeof obj === 'boolean') { - return obj ? 'true' : 'false'; - } +var inspect = __webpack_require__(153); - if (typeof obj === 'string') { - return inspectString(obj, opts); - } - if (typeof obj === 'number') { - if (obj === 0) { - return Infinity / obj > 0 ? '0' : '-0'; - } - return String(obj); - } - if (typeof obj === 'bigint') { - return String(obj) + 'n'; - } +var IsPropertyKey = __webpack_require__(100); +var Type = __webpack_require__(73); - var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth; - if (typeof depth === 'undefined') depth = 0; - if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') { - return '[Object]'; - } +/** + * 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p + * 1. Assert: Type(O) is Object. + * 2. Assert: IsPropertyKey(P) is true. + * 3. Return O.[[Get]](P, O). + */ - if (typeof seen === 'undefined') seen = []; - else if (indexOf(seen, obj) >= 0) { - return '[Circular]'; - } - - function inspect (value, from) { - if (from) { - seen = seen.slice(); - seen.push(from); - } - return inspect_(value, opts, depth + 1, seen); - } - - if (typeof obj === 'function') { - var name = nameOf(obj); - return '[Function' + (name ? ': ' + name : '') + ']'; - } - if (isSymbol(obj)) { - var symString = Symbol.prototype.toString.call(obj); - return typeof obj === 'object' ? markBoxed(symString) : symString; - } - if (isElement(obj)) { - var s = '<' + String(obj.nodeName).toLowerCase(); - var attrs = obj.attributes || []; - for (var i = 0; i < attrs.length; i++) { - s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts); - } - s += '>'; - if (obj.childNodes && obj.childNodes.length) s += '...'; - s += ''; - return s; - } - if (isArray(obj)) { - if (obj.length === 0) return '[]'; - return '[ ' + arrObjKeys(obj, inspect).join(', ') + ' ]'; - } - if (isError(obj)) { - var parts = arrObjKeys(obj, inspect); - if (parts.length === 0) return '[' + String(obj) + ']'; - return '{ [' + String(obj) + '] ' + parts.join(', ') + ' }'; - } - if (typeof obj === 'object') { - if (inspectSymbol && typeof obj[inspectSymbol] === 'function') { - return obj[inspectSymbol](); - } else if (typeof obj.inspect === 'function') { - return obj.inspect(); - } - } - if (isMap(obj)) { - var parts = []; - mapForEach.call(obj, function (value, key) { - parts.push(inspect(key, obj) + ' => ' + inspect(value, obj)); - }); - return collectionOf('Map', mapSize.call(obj), parts); - } - if (isSet(obj)) { - var parts = []; - setForEach.call(obj, function (value ) { - parts.push(inspect(value, obj)); - }); - return collectionOf('Set', setSize.call(obj), parts); - } - if (isNumber(obj)) { - return markBoxed(inspect(Number(obj))); - } - if (isBigInt(obj)) { - return markBoxed(inspect(bigIntValueOf.call(obj))); - } - if (isBoolean(obj)) { - return markBoxed(booleanValueOf.call(obj)); - } - if (isString(obj)) { - return markBoxed(inspect(String(obj))); - } - if (!isDate(obj) && !isRegExp(obj)) { - var xs = arrObjKeys(obj, inspect); - if (xs.length === 0) return '{}'; - return '{ ' + xs.join(', ') + ' }'; - } - return String(obj); +module.exports = function Get(O, P) { + // 7.3.1.1 + if (Type(O) !== 'Object') { + throw new $TypeError('Assertion failed: Type(O) is not Object'); + } + // 7.3.1.2 + if (!IsPropertyKey(P)) { + throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P)); + } + // 7.3.1.3 + return O[P]; }; -function wrapQuotes (s, defaultStyle, opts) { - var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'"; - return quoteChar + s + quoteChar; -} - -function quote (s) { - return String(s).replace(/"/g, '"'); -} - -function isArray (obj) { return toStr(obj) === '[object Array]'; } -function isDate (obj) { return toStr(obj) === '[object Date]'; } -function isRegExp (obj) { return toStr(obj) === '[object RegExp]'; } -function isError (obj) { return toStr(obj) === '[object Error]'; } -function isSymbol (obj) { return toStr(obj) === '[object Symbol]'; } -function isString (obj) { return toStr(obj) === '[object String]'; } -function isNumber (obj) { return toStr(obj) === '[object Number]'; } -function isBigInt (obj) { return toStr(obj) === '[object BigInt]'; } -function isBoolean (obj) { return toStr(obj) === '[object Boolean]'; } - -var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; }; -function has (obj, key) { - return hasOwn.call(obj, key); -} - -function toStr (obj) { - return objectToString.call(obj); -} - -function nameOf (f) { - if (f.name) return f.name; - var m = String(f).match(/^function\s*([\w$]+)/); - if (m) return m[1]; -} - -function indexOf (xs, x) { - if (xs.indexOf) return xs.indexOf(x); - for (var i = 0, l = xs.length; i < l; i++) { - if (xs[i] === x) return i; - } - return -1; -} - -function isMap (x) { - if (!mapSize) { - return false; - } - try { - mapSize.call(x); - try { - setSize.call(x); - } catch (s) { - return true; - } - return x instanceof Map; // core-js workaround, pre-v2.5.0 - } catch (e) {} - return false; -} - -function isSet (x) { - if (!setSize) { - return false; - } - try { - setSize.call(x); - try { - mapSize.call(x); - } catch (m) { - return true; - } - return x instanceof Set; // core-js workaround, pre-v2.5.0 - } catch (e) {} - return false; -} - -function isElement (x) { - if (!x || typeof x !== 'object') return false; - if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) { - return true; - } - return typeof x.nodeName === 'string' - && typeof x.getAttribute === 'function' - ; -} - -function inspectString (str, opts) { - var s = str.replace(/(['\\])/g, '\\$1').replace(/[\x00-\x1f]/g, lowbyte); - return wrapQuotes(s, 'single', opts); -} - -function lowbyte (c) { - var n = c.charCodeAt(0); - var x = { 8: 'b', 9: 't', 10: 'n', 12: 'f', 13: 'r' }[n]; - if (x) return '\\' + x; - return '\\x' + (n < 0x10 ? '0' : '') + n.toString(16); -} - -function markBoxed (str) { - return 'Object(' + str + ')'; -} - -function collectionOf (type, size, entries) { - return type + ' (' + size + ') {' + entries.join(', ') + '}'; -} - -function arrObjKeys (obj, inspect) { - var isArr = isArray(obj); - var xs = []; - if (isArr) { - xs.length = obj.length; - for (var i = 0; i < obj.length; i++) { - xs[i] = has(obj, i) ? inspect(obj[i], obj) : ''; - } - } - for (var key in obj) { - if (!has(obj, key)) continue; - if (isArr && String(Number(key)) === key && key < obj.length) continue; - if (/[^\w$]/.test(key)) { - xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj)); - } else { - xs.push(key + ': ' + inspect(obj[key], obj)); - } - } - return xs; -} - /***/ }), /* 129 */ @@ -7140,25 +6866,33 @@ function arrObjKeys (obj, inspect) { "use strict"; +var GetIntrinsic = __webpack_require__(46); + +var callBind = __webpack_require__(127); + +var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); + +module.exports = function callBoundIntrinsic(name, allowMissing) { + var intrinsic = GetIntrinsic(name, !!allowMissing); + if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) { + return callBind(intrinsic); + } + return intrinsic; +}; + + +/***/ }), +/* 130 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + module.exports = Number.isNaN || function isNaN(a) { return a !== a; }; -/***/ }), -/* 130 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -module.exports = function forEach(array, callback) { - for (var i = 0; i < array.length; i += 1) { - callback(array[i], i, array); // eslint-disable-line callback-return - } -}; - - /***/ }), /* 131 */ /***/ (function(module, exports, __webpack_require__) { @@ -7166,14 +6900,39 @@ module.exports = function forEach(array, callback) { "use strict"; -module.exports = function every(array, predicate) { - for (var i = 0; i < array.length; i += 1) { - if (!predicate(array[i], i, array)) { +var toStr = Object.prototype.toString; +var hasSymbols = __webpack_require__(271)(); + +if (hasSymbols) { + var symToStr = Symbol.prototype.toString; + var symStringRegex = /^Symbol\(.*\)$/; + var isSymbolObject = function isRealSymbolObject(value) { + if (typeof value.valueOf() !== 'symbol') { return false; } - } - return true; -}; + return symStringRegex.test(symToStr.call(value)); + }; + + module.exports = function isSymbol(value) { + if (typeof value === 'symbol') { + return true; + } + if (toStr.call(value) !== '[object Symbol]') { + return false; + } + try { + return isSymbolObject(value); + } catch (e) { + return false; + } + }; +} else { + + module.exports = function isSymbol(value) { + // this environment does not support Symbols. + return false && false; + }; +} /***/ }), @@ -7192,19 +6951,19 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(48); +var _object = __webpack_require__(51); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactAddonsShallowCompare = __webpack_require__(75); +var _reactAddonsShallowCompare = __webpack_require__(77); var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); @@ -7212,29 +6971,29 @@ var _reactMomentProptypes = __webpack_require__(65); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); -var _reactWithStyles = __webpack_require__(55); +var _reactWithStyles = __webpack_require__(56); -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _defaultPhrases = __webpack_require__(49); +var _defaultPhrases = __webpack_require__(52); -var _getPhrasePropTypes = __webpack_require__(53); +var _getPhrasePropTypes = __webpack_require__(55); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _getCalendarDaySettings = __webpack_require__(171); +var _getCalendarDaySettings = __webpack_require__(169); var _getCalendarDaySettings2 = _interopRequireDefault(_getCalendarDaySettings); -var _ModifiersShape = __webpack_require__(102); +var _ModifiersShape = __webpack_require__(101); var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -7663,7 +7422,7 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { /***/ (function(module, exports, __webpack_require__) { // eslint-disable-next-line import/no-unresolved -module.exports = __webpack_require__(286); +module.exports = __webpack_require__(302); /***/ }), @@ -7673,11 +7432,11 @@ module.exports = __webpack_require__(286); "use strict"; -var define = __webpack_require__(54); +var define = __webpack_require__(64); -var implementation = __webpack_require__(177); -var getPolyfill = __webpack_require__(184); -var shim = __webpack_require__(292); +var implementation = __webpack_require__(175); +var getPolyfill = __webpack_require__(183); +var shim = __webpack_require__(312); var polyfill = getPolyfill(); @@ -7697,6 +7456,50 @@ module.exports = polyfill; "use strict"; +var fnToStr = Function.prototype.toString; + +var constructorRegex = /^\s*class\b/; +var isES6ClassFn = function isES6ClassFunction(value) { + try { + var fnStr = fnToStr.call(value); + return constructorRegex.test(fnStr); + } catch (e) { + return false; // not a function + } +}; + +var tryFunctionObject = function tryFunctionToStr(value) { + try { + if (isES6ClassFn(value)) { return false; } + fnToStr.call(value); + return true; + } catch (e) { + return false; + } +}; +var toStr = Object.prototype.toString; +var fnClass = '[object Function]'; +var genClass = '[object GeneratorFunction]'; +var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; + +module.exports = function isCallable(value) { + if (!value) { return false; } + if (typeof value !== 'function' && typeof value !== 'object') { return false; } + if (typeof value === 'function' && !value.prototype) { return true; } + if (hasToStringTag) { return tryFunctionObject(value); } + if (isES6ClassFn(value)) { return false; } + var strClass = toStr.call(value); + return strClass === fnClass || strClass === genClass; +}; + + +/***/ }), +/* 136 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + /* globals Set, Map, @@ -7875,7 +7678,7 @@ module.exports = function GetIntrinsic(name, allowMissing) { /***/ }), -/* 136 */ +/* 137 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -7940,7 +7743,7 @@ function getInputHeight(_ref, small) { } /***/ }), -/* 137 */ +/* 138 */ /***/ (function(module, exports) { /** @@ -7977,7 +7780,7 @@ module.exports = isObject; /***/ }), -/* 138 */ +/* 139 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -7988,15 +7791,15 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = toLocalizedDateString; -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _toMomentObject = __webpack_require__(77); +var _toMomentObject = __webpack_require__(79); var _toMomentObject2 = _interopRequireDefault(_toMomentObject); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -8008,7 +7811,7 @@ function toLocalizedDateString(date, currentFormat) { } /***/ }), -/* 139 */ +/* 140 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8019,11 +7822,11 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = isDayVisible; -var _isBeforeDay = __webpack_require__(94); +var _isBeforeDay = __webpack_require__(93); var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay); -var _isAfterDay = __webpack_require__(107); +var _isAfterDay = __webpack_require__(106); var _isAfterDay2 = _interopRequireDefault(_isAfterDay); @@ -8040,7 +7843,7 @@ function isDayVisible(day, month, numberOfMonths, enableOutsideDays) { } /***/ }), -/* 140 */ +/* 141 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -8055,35 +7858,35 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(48); +var _object = __webpack_require__(51); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactAddonsShallowCompare = __webpack_require__(75); +var _reactAddonsShallowCompare = __webpack_require__(77); var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); -var _reactWithStyles = __webpack_require__(55); +var _reactWithStyles = __webpack_require__(56); -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _throttle = __webpack_require__(197); +var _throttle = __webpack_require__(196); var _throttle2 = _interopRequireDefault(_throttle); -var _isTouchDevice = __webpack_require__(79); +var _isTouchDevice = __webpack_require__(81); var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); @@ -8091,61 +7894,61 @@ var _reactOutsideClickHandler = __webpack_require__(133); var _reactOutsideClickHandler2 = _interopRequireDefault(_reactOutsideClickHandler); -var _defaultPhrases = __webpack_require__(49); +var _defaultPhrases = __webpack_require__(52); -var _getPhrasePropTypes = __webpack_require__(53); +var _getPhrasePropTypes = __webpack_require__(55); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _CalendarMonthGrid = __webpack_require__(174); +var _CalendarMonthGrid = __webpack_require__(172); var _CalendarMonthGrid2 = _interopRequireDefault(_CalendarMonthGrid); -var _DayPickerNavigation = __webpack_require__(305); +var _DayPickerNavigation = __webpack_require__(325); var _DayPickerNavigation2 = _interopRequireDefault(_DayPickerNavigation); -var _DayPickerKeyboardShortcuts = __webpack_require__(308); +var _DayPickerKeyboardShortcuts = __webpack_require__(328); var _DayPickerKeyboardShortcuts2 = _interopRequireDefault(_DayPickerKeyboardShortcuts); -var _getNumberOfCalendarMonthWeeks = __webpack_require__(310); +var _getNumberOfCalendarMonthWeeks = __webpack_require__(330); var _getNumberOfCalendarMonthWeeks2 = _interopRequireDefault(_getNumberOfCalendarMonthWeeks); -var _getCalendarMonthWidth = __webpack_require__(175); +var _getCalendarMonthWidth = __webpack_require__(173); var _getCalendarMonthWidth2 = _interopRequireDefault(_getCalendarMonthWidth); -var _calculateDimension = __webpack_require__(173); +var _calculateDimension = __webpack_require__(171); var _calculateDimension2 = _interopRequireDefault(_calculateDimension); -var _getActiveElement = __webpack_require__(311); +var _getActiveElement = __webpack_require__(331); var _getActiveElement2 = _interopRequireDefault(_getActiveElement); -var _isDayVisible = __webpack_require__(139); +var _isDayVisible = __webpack_require__(140); var _isDayVisible2 = _interopRequireDefault(_isDayVisible); -var _ModifiersShape = __webpack_require__(102); +var _ModifiersShape = __webpack_require__(101); var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape); -var _ScrollableOrientationShape = __webpack_require__(78); +var _ScrollableOrientationShape = __webpack_require__(80); var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape); -var _DayOfWeekShape = __webpack_require__(72); +var _DayOfWeekShape = __webpack_require__(75); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); -var _CalendarInfoPositionShape = __webpack_require__(92); +var _CalendarInfoPositionShape = __webpack_require__(91); var _CalendarInfoPositionShape2 = _interopRequireDefault(_CalendarInfoPositionShape); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -9622,12 +9425,371 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { })(DayPicker); /***/ }), -/* 141 */, /* 142 */, /* 143 */, /* 144 */, -/* 145 */, +/* 145 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +if (true) { + module.exports = __webpack_require__(236); +} else {} + + +/***/ }), /* 146 */ +/***/ (function(module, exports) { + +// Copyright (c) 2014 Rafael Caricio. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +var GradientParser = {}; + +GradientParser.parse = (function() { + + var tokens = { + linearGradient: /^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i, + repeatingLinearGradient: /^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i, + radialGradient: /^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i, + repeatingRadialGradient: /^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i, + sideOrCorner: /^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i, + extentKeywords: /^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/, + positionKeywords: /^(left|center|right|top|bottom)/i, + pixelValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/, + percentageValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/, + emValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/, + angleValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/, + startCall: /^\(/, + endCall: /^\)/, + comma: /^,/, + hexColor: /^\#([0-9a-fA-F]+)/, + literalColor: /^([a-zA-Z]+)/, + rgbColor: /^rgb/i, + rgbaColor: /^rgba/i, + number: /^(([0-9]*\.[0-9]+)|([0-9]+\.?))/ + }; + + var input = ''; + + function error(msg) { + var err = new Error(input + ': ' + msg); + err.source = input; + throw err; + } + + function getAST() { + var ast = matchListDefinitions(); + + if (input.length > 0) { + error('Invalid input not EOF'); + } + + return ast; + } + + function matchListDefinitions() { + return matchListing(matchDefinition); + } + + function matchDefinition() { + return matchGradient( + 'linear-gradient', + tokens.linearGradient, + matchLinearOrientation) || + + matchGradient( + 'repeating-linear-gradient', + tokens.repeatingLinearGradient, + matchLinearOrientation) || + + matchGradient( + 'radial-gradient', + tokens.radialGradient, + matchListRadialOrientations) || + + matchGradient( + 'repeating-radial-gradient', + tokens.repeatingRadialGradient, + matchListRadialOrientations); + } + + function matchGradient(gradientType, pattern, orientationMatcher) { + return matchCall(pattern, function(captures) { + + var orientation = orientationMatcher(); + if (orientation) { + if (!scan(tokens.comma)) { + error('Missing comma before color stops'); + } + } + + return { + type: gradientType, + orientation: orientation, + colorStops: matchListing(matchColorStop) + }; + }); + } + + function matchCall(pattern, callback) { + var captures = scan(pattern); + + if (captures) { + if (!scan(tokens.startCall)) { + error('Missing ('); + } + + result = callback(captures); + + if (!scan(tokens.endCall)) { + error('Missing )'); + } + + return result; + } + } + + function matchLinearOrientation() { + return matchSideOrCorner() || + matchAngle(); + } + + function matchSideOrCorner() { + return match('directional', tokens.sideOrCorner, 1); + } + + function matchAngle() { + return match('angular', tokens.angleValue, 1); + } + + function matchListRadialOrientations() { + var radialOrientations, + radialOrientation = matchRadialOrientation(), + lookaheadCache; + + if (radialOrientation) { + radialOrientations = []; + radialOrientations.push(radialOrientation); + + lookaheadCache = input; + if (scan(tokens.comma)) { + radialOrientation = matchRadialOrientation(); + if (radialOrientation) { + radialOrientations.push(radialOrientation); + } else { + input = lookaheadCache; + } + } + } + + return radialOrientations; + } + + function matchRadialOrientation() { + var radialType = matchCircle() || + matchEllipse(); + + if (radialType) { + radialType.at = matchAtPosition(); + } else { + var defaultPosition = matchPositioning(); + if (defaultPosition) { + radialType = { + type: 'default-radial', + at: defaultPosition + }; + } + } + + return radialType; + } + + function matchCircle() { + var circle = match('shape', /^(circle)/i, 0); + + if (circle) { + circle.style = matchLength() || matchExtentKeyword(); + } + + return circle; + } + + function matchEllipse() { + var ellipse = match('shape', /^(ellipse)/i, 0); + + if (ellipse) { + ellipse.style = matchDistance() || matchExtentKeyword(); + } + + return ellipse; + } + + function matchExtentKeyword() { + return match('extent-keyword', tokens.extentKeywords, 1); + } + + function matchAtPosition() { + if (match('position', /^at/, 0)) { + var positioning = matchPositioning(); + + if (!positioning) { + error('Missing positioning value'); + } + + return positioning; + } + } + + function matchPositioning() { + var location = matchCoordinates(); + + if (location.x || location.y) { + return { + type: 'position', + value: location + }; + } + } + + function matchCoordinates() { + return { + x: matchDistance(), + y: matchDistance() + }; + } + + function matchListing(matcher) { + var captures = matcher(), + result = []; + + if (captures) { + result.push(captures); + while (scan(tokens.comma)) { + captures = matcher(); + if (captures) { + result.push(captures); + } else { + error('One extra comma'); + } + } + } + + return result; + } + + function matchColorStop() { + var color = matchColor(); + + if (!color) { + error('Expected color definition'); + } + + color.length = matchDistance(); + return color; + } + + function matchColor() { + return matchHexColor() || + matchRGBAColor() || + matchRGBColor() || + matchLiteralColor(); + } + + function matchLiteralColor() { + return match('literal', tokens.literalColor, 0); + } + + function matchHexColor() { + return match('hex', tokens.hexColor, 1); + } + + function matchRGBColor() { + return matchCall(tokens.rgbColor, function() { + return { + type: 'rgb', + value: matchListing(matchNumber) + }; + }); + } + + function matchRGBAColor() { + return matchCall(tokens.rgbaColor, function() { + return { + type: 'rgba', + value: matchListing(matchNumber) + }; + }); + } + + function matchNumber() { + return scan(tokens.number)[1]; + } + + function matchDistance() { + return match('%', tokens.percentageValue, 1) || + matchPositionKeyword() || + matchLength(); + } + + function matchPositionKeyword() { + return match('position-keyword', tokens.positionKeywords, 1); + } + + function matchLength() { + return match('px', tokens.pixelValue, 1) || + match('em', tokens.emValue, 1); + } + + function match(type, pattern, captureIndex) { + var captures = scan(pattern); + if (captures) { + return { + type: type, + value: captures[captureIndex] + }; + } + } + + function scan(regexp) { + var captures, + blankCaptures; + + blankCaptures = /^[\n\r\t\s]+/.exec(input); + if (blankCaptures) { + consume(blankCaptures[0].length); + } + + captures = regexp.exec(input); + if (captures) { + consume(captures[0].length); + } + + return captures; + } + + function consume(size) { + input = input.substr(size); + } + + return function(code) { + input = code.toString(); + return getAST(); + }; +})(); + +exports.parse = (GradientParser || {}).parse; + + +/***/ }), +/* 147 */, +/* 148 */, +/* 149 */, +/* 150 */, +/* 151 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9651,111 +9813,573 @@ module.exports = function isArguments(value) { /***/ }), -/* 147 */ +/* 152 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var ES = __webpack_require__(245); +var ArraySpeciesCreate = __webpack_require__(247); +var FlattenIntoArray = __webpack_require__(252); +var Get = __webpack_require__(128); +var ToInteger = __webpack_require__(161); +var ToLength = __webpack_require__(160); +var ToObject = __webpack_require__(273); module.exports = function flat() { - var O = ES.ToObject(this); - var sourceLen = ES.ToLength(ES.Get(O, 'length')); + var O = ToObject(this); + var sourceLen = ToLength(Get(O, 'length')); var depthNum = 1; if (arguments.length > 0 && typeof arguments[0] !== 'undefined') { - depthNum = ES.ToInteger(arguments[0]); + depthNum = ToInteger(arguments[0]); } - var A = ES.ArraySpeciesCreate(O, 0); - ES.FlattenIntoArray(A, O, sourceLen, 0, depthNum); + var A = ArraySpeciesCreate(O, 0); + FlattenIntoArray(A, O, sourceLen, 0, depthNum); return A; }; /***/ }), -/* 148 */ +/* 153 */ +/***/ (function(module, exports, __webpack_require__) { + +var hasMap = typeof Map === 'function' && Map.prototype; +var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null; +var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null; +var mapForEach = hasMap && Map.prototype.forEach; +var hasSet = typeof Set === 'function' && Set.prototype; +var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null; +var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null; +var setForEach = hasSet && Set.prototype.forEach; +var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype; +var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null; +var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype; +var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null; +var booleanValueOf = Boolean.prototype.valueOf; +var objectToString = Object.prototype.toString; +var match = String.prototype.match; +var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null; + +var inspectCustom = __webpack_require__(248).custom; +var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null; + +module.exports = function inspect_(obj, options, depth, seen) { + var opts = options || {}; + + if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) { + throw new TypeError('option "quoteStyle" must be "single" or "double"'); + } + + if (typeof obj === 'undefined') { + return 'undefined'; + } + if (obj === null) { + return 'null'; + } + if (typeof obj === 'boolean') { + return obj ? 'true' : 'false'; + } + + if (typeof obj === 'string') { + return inspectString(obj, opts); + } + if (typeof obj === 'number') { + if (obj === 0) { + return Infinity / obj > 0 ? '0' : '-0'; + } + return String(obj); + } + if (typeof obj === 'bigint') { // eslint-disable-line valid-typeof + return String(obj) + 'n'; + } + + var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth; + if (typeof depth === 'undefined') { depth = 0; } + if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') { + return '[Object]'; + } + + if (typeof seen === 'undefined') { + seen = []; + } else if (indexOf(seen, obj) >= 0) { + return '[Circular]'; + } + + function inspect(value, from) { + if (from) { + seen = seen.slice(); + seen.push(from); + } + return inspect_(value, opts, depth + 1, seen); + } + + if (typeof obj === 'function') { + var name = nameOf(obj); + return '[Function' + (name ? ': ' + name : '') + ']'; + } + if (isSymbol(obj)) { + var symString = Symbol.prototype.toString.call(obj); + return typeof obj === 'object' ? markBoxed(symString) : symString; + } + if (isElement(obj)) { + var s = '<' + String(obj.nodeName).toLowerCase(); + var attrs = obj.attributes || []; + for (var i = 0; i < attrs.length; i++) { + s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts); + } + s += '>'; + if (obj.childNodes && obj.childNodes.length) { s += '...'; } + s += ''; + return s; + } + if (isArray(obj)) { + if (obj.length === 0) { return '[]'; } + return '[ ' + arrObjKeys(obj, inspect).join(', ') + ' ]'; + } + if (isError(obj)) { + var parts = arrObjKeys(obj, inspect); + if (parts.length === 0) { return '[' + String(obj) + ']'; } + return '{ [' + String(obj) + '] ' + parts.join(', ') + ' }'; + } + if (typeof obj === 'object') { + if (inspectSymbol && typeof obj[inspectSymbol] === 'function') { + return obj[inspectSymbol](); + } else if (typeof obj.inspect === 'function') { + return obj.inspect(); + } + } + if (isMap(obj)) { + var mapParts = []; + mapForEach.call(obj, function (value, key) { + mapParts.push(inspect(key, obj) + ' => ' + inspect(value, obj)); + }); + return collectionOf('Map', mapSize.call(obj), mapParts); + } + if (isSet(obj)) { + var setParts = []; + setForEach.call(obj, function (value) { + setParts.push(inspect(value, obj)); + }); + return collectionOf('Set', setSize.call(obj), setParts); + } + if (isWeakMap(obj)) { + return weakCollectionOf('WeakMap'); + } + if (isWeakSet(obj)) { + return weakCollectionOf('WeakSet'); + } + if (isNumber(obj)) { + return markBoxed(inspect(Number(obj))); + } + if (isBigInt(obj)) { + return markBoxed(inspect(bigIntValueOf.call(obj))); + } + if (isBoolean(obj)) { + return markBoxed(booleanValueOf.call(obj)); + } + if (isString(obj)) { + return markBoxed(inspect(String(obj))); + } + if (!isDate(obj) && !isRegExp(obj)) { + var xs = arrObjKeys(obj, inspect); + if (xs.length === 0) { return '{}'; } + return '{ ' + xs.join(', ') + ' }'; + } + return String(obj); +}; + +function wrapQuotes(s, defaultStyle, opts) { + var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'"; + return quoteChar + s + quoteChar; +} + +function quote(s) { + return String(s).replace(/"/g, '"'); +} + +function isArray(obj) { return toStr(obj) === '[object Array]'; } +function isDate(obj) { return toStr(obj) === '[object Date]'; } +function isRegExp(obj) { return toStr(obj) === '[object RegExp]'; } +function isError(obj) { return toStr(obj) === '[object Error]'; } +function isSymbol(obj) { return toStr(obj) === '[object Symbol]'; } +function isString(obj) { return toStr(obj) === '[object String]'; } +function isNumber(obj) { return toStr(obj) === '[object Number]'; } +function isBigInt(obj) { return toStr(obj) === '[object BigInt]'; } +function isBoolean(obj) { return toStr(obj) === '[object Boolean]'; } + +var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; }; +function has(obj, key) { + return hasOwn.call(obj, key); +} + +function toStr(obj) { + return objectToString.call(obj); +} + +function nameOf(f) { + if (f.name) { return f.name; } + var m = match.call(f, /^function\s*([\w$]+)/); + if (m) { return m[1]; } + return null; +} + +function indexOf(xs, x) { + if (xs.indexOf) { return xs.indexOf(x); } + for (var i = 0, l = xs.length; i < l; i++) { + if (xs[i] === x) { return i; } + } + return -1; +} + +function isMap(x) { + if (!mapSize || !x || typeof x !== 'object') { + return false; + } + try { + mapSize.call(x); + try { + setSize.call(x); + } catch (s) { + return true; + } + return x instanceof Map; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakMap(x) { + if (!weakMapHas || !x || typeof x !== 'object') { + return false; + } + try { + weakMapHas.call(x, weakMapHas); + try { + weakSetHas.call(x, weakSetHas); + } catch (s) { + return true; + } + return x instanceof WeakMap; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isSet(x) { + if (!setSize || !x || typeof x !== 'object') { + return false; + } + try { + setSize.call(x); + try { + mapSize.call(x); + } catch (m) { + return true; + } + return x instanceof Set; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakSet(x) { + if (!weakSetHas || !x || typeof x !== 'object') { + return false; + } + try { + weakSetHas.call(x, weakSetHas); + try { + weakMapHas.call(x, weakMapHas); + } catch (s) { + return true; + } + return x instanceof WeakSet; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isElement(x) { + if (!x || typeof x !== 'object') { return false; } + if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) { + return true; + } + return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function'; +} + +function inspectString(str, opts) { + // eslint-disable-next-line no-control-regex + var s = str.replace(/(['\\])/g, '\\$1').replace(/[\x00-\x1f]/g, lowbyte); + return wrapQuotes(s, 'single', opts); +} + +function lowbyte(c) { + var n = c.charCodeAt(0); + var x = { + 8: 'b', 9: 't', 10: 'n', 12: 'f', 13: 'r' + }[n]; + if (x) { return '\\' + x; } + return '\\x' + (n < 0x10 ? '0' : '') + n.toString(16); +} + +function markBoxed(str) { + return 'Object(' + str + ')'; +} + +function weakCollectionOf(type) { + return type + ' { ? }'; +} + +function collectionOf(type, size, entries) { + return type + ' (' + size + ') {' + entries.join(', ') + '}'; +} + +function arrObjKeys(obj, inspect) { + var isArr = isArray(obj); + var xs = []; + if (isArr) { + xs.length = obj.length; + for (var i = 0; i < obj.length; i++) { + xs[i] = has(obj, i) ? inspect(obj[i], obj) : ''; + } + } + for (var key in obj) { // eslint-disable-line no-restricted-syntax + if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue + if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue + if ((/[^\w$]/).test(key)) { + xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj)); + } else { + xs.push(key + ': ' + inspect(obj[key], obj)); + } + } + return xs; +} + + +/***/ }), +/* 154 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var bind = __webpack_require__(58); -var replace = bind.call(Function.call, String.prototype.replace); +var GetIntrinsic = __webpack_require__(46); -/* eslint-disable no-control-regex */ -var leftWhitespace = /^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]*/; -/* eslint-enable no-control-regex */ +var $Array = GetIntrinsic('%Array%'); -module.exports = function trimLeft() { - return replace(this, leftWhitespace, ''); +// eslint-disable-next-line global-require +var toStr = !$Array.isArray && __webpack_require__(129)('Object.prototype.toString'); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-isarray + +module.exports = $Array.isArray || function IsArray(argument) { + return toStr(argument) === '[object Array]'; }; /***/ }), -/* 149 */ +/* 155 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var implementation = __webpack_require__(148); +var $isNaN = Number.isNaN || function (a) { return a !== a; }; -module.exports = function getPolyfill() { - if (!String.prototype.trimLeft) { - return implementation; - } - var zeroWidthSpace = '\u200b'; - if (zeroWidthSpace.trimLeft() !== zeroWidthSpace) { - return implementation; - } - return String.prototype.trimLeft; -}; +module.exports = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN(x) && x !== Infinity && x !== -Infinity; }; /***/ }), -/* 150 */ +/* 156 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var bind = __webpack_require__(58); -var replace = bind.call(Function.call, String.prototype.replace); +var GetIntrinsic = __webpack_require__(46); -/* eslint-disable no-control-regex */ -var rightWhitespace = /[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]*$/; -/* eslint-enable no-control-regex */ +var $Math = GetIntrinsic('%Math%'); +var $Number = GetIntrinsic('%Number%'); -module.exports = function trimRight() { - return replace(this, rightWhitespace, ''); -}; +module.exports = $Number.MAX_SAFE_INTEGER || $Math.pow(2, 53) - 1; /***/ }), -/* 151 */ +/* 157 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var implementation = __webpack_require__(150); +var fnToStr = Function.prototype.toString; -module.exports = function getPolyfill() { - if (!String.prototype.trimRight) { - return implementation; +var constructorRegex = /^\s*class\b/; +var isES6ClassFn = function isES6ClassFunction(value) { + try { + var fnStr = fnToStr.call(value); + return constructorRegex.test(fnStr); + } catch (e) { + return false; // not a function } - var zeroWidthSpace = '\u200b'; - if (zeroWidthSpace.trimRight() !== zeroWidthSpace) { - return implementation; +}; + +var tryFunctionObject = function tryFunctionToStr(value) { + try { + if (isES6ClassFn(value)) { return false; } + fnToStr.call(value); + return true; + } catch (e) { + return false; } - return String.prototype.trimRight; +}; +var toStr = Object.prototype.toString; +var fnClass = '[object Function]'; +var genClass = '[object GeneratorFunction]'; +var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; + +module.exports = function isCallable(value) { + if (!value) { return false; } + if (typeof value !== 'function' && typeof value !== 'object') { return false; } + if (typeof value === 'function' && !value.prototype) { return true; } + if (hasToStringTag) { return tryFunctionObject(value); } + if (isES6ClassFn(value)) { return false; } + var strClass = toStr.call(value); + return strClass === fnClass || strClass === genClass; }; /***/ }), -/* 152 */ +/* 158 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(46); + +var $TypeError = GetIntrinsic('%TypeError%'); +var $SyntaxError = GetIntrinsic('%SyntaxError%'); + +var has = __webpack_require__(74); + +var predicates = { + // https://ecma-international.org/ecma-262/6.0/#sec-property-descriptor-specification-type + 'Property Descriptor': function isPropertyDescriptor(Type, Desc) { + if (Type(Desc) !== 'Object') { + return false; + } + var allowed = { + '[[Configurable]]': true, + '[[Enumerable]]': true, + '[[Get]]': true, + '[[Set]]': true, + '[[Value]]': true, + '[[Writable]]': true + }; + + for (var key in Desc) { // eslint-disable-line + if (has(Desc, key) && !allowed[key]) { + return false; + } + } + + var isData = has(Desc, '[[Value]]'); + var IsAccessor = has(Desc, '[[Get]]') || has(Desc, '[[Set]]'); + if (isData && IsAccessor) { + throw new $TypeError('Property Descriptors may not be both accessor and data descriptors'); + } + return true; + } +}; + +module.exports = function assertRecord(Type, recordType, argumentName, value) { + var predicate = predicates[recordType]; + if (typeof predicate !== 'function') { + throw new $SyntaxError('unknown record type: ' + recordType); + } + if (!predicate(Type, value)) { + throw new $TypeError(argumentName + ' must be a ' + recordType); + } +}; + + +/***/ }), +/* 159 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +module.exports = function isPrimitive(value) { + return value === null || (typeof value !== 'function' && typeof value !== 'object'); +}; + + +/***/ }), +/* 160 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var MAX_SAFE_INTEGER = __webpack_require__(156); + +var ToInteger = __webpack_require__(161); + +module.exports = function ToLength(argument) { + var len = ToInteger(argument); + if (len <= 0) { return 0; } // includes converting -0 to +0 + if (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; } + return len; +}; + + +/***/ }), +/* 161 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var ES5ToInteger = __webpack_require__(263); + +var ToNumber = __webpack_require__(266); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-tointeger + +module.exports = function ToInteger(value) { + var number = ToNumber(value); + return ES5ToInteger(number); +}; + + +/***/ }), +/* 162 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var getDay = Date.prototype.getDay; +var tryDateObject = function tryDateObject(value) { + try { + getDay.call(value); + return true; + } catch (e) { + return false; + } +}; + +var toStr = Object.prototype.toString; +var dateClass = '[object Date]'; +var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; + +module.exports = function isDateObject(value) { + if (typeof value !== 'object' || value === null) { return false; } + return hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass; +}; + + +/***/ }), +/* 163 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9803,250 +10427,6 @@ module.exports = function hasSymbols() { }; -/***/ }), -/* 153 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -module.exports = __webpack_require__(255); - - -/***/ }), -/* 154 */ -/***/ (function(module, exports) { - -module.exports = function isPrimitive(value) { - return value === null || (typeof value !== 'function' && typeof value !== 'object'); -}; - - -/***/ }), -/* 155 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var toStr = Object.prototype.toString; -var hasSymbols = __webpack_require__(99)(); - -if (hasSymbols) { - var symToStr = Symbol.prototype.toString; - var symStringRegex = /^Symbol\(.*\)$/; - var isSymbolObject = function isRealSymbolObject(value) { - if (typeof value.valueOf() !== 'symbol') { - return false; - } - return symStringRegex.test(symToStr.call(value)); - }; - - module.exports = function isSymbol(value) { - if (typeof value === 'symbol') { - return true; - } - if (toStr.call(value) !== '[object Symbol]') { - return false; - } - try { - return isSymbolObject(value); - } catch (e) { - return false; - } - }; -} else { - - module.exports = function isSymbol(value) { - // this environment does not support Symbols. - return false && false; - }; -} - - -/***/ }), -/* 156 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(59); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); - -var has = __webpack_require__(62); - -var predicates = { - // https://ecma-international.org/ecma-262/6.0/#sec-property-descriptor-specification-type - 'Property Descriptor': function isPropertyDescriptor(ES, Desc) { - if (ES.Type(Desc) !== 'Object') { - return false; - } - var allowed = { - '[[Configurable]]': true, - '[[Enumerable]]': true, - '[[Get]]': true, - '[[Set]]': true, - '[[Value]]': true, - '[[Writable]]': true - }; - - for (var key in Desc) { // eslint-disable-line - if (has(Desc, key) && !allowed[key]) { - return false; - } - } - - var isData = has(Desc, '[[Value]]'); - var IsAccessor = has(Desc, '[[Get]]') || has(Desc, '[[Set]]'); - if (isData && IsAccessor) { - throw new $TypeError('Property Descriptors may not be both accessor and data descriptors'); - } - return true; - } -}; - -module.exports = function assertRecord(ES, recordType, argumentName, value) { - var predicate = predicates[recordType]; - if (typeof predicate !== 'function') { - throw new $SyntaxError('unknown record type: ' + recordType); - } - if (!predicate(ES, value)) { - throw new $TypeError(argumentName + ' must be a ' + recordType); - } -}; - - -/***/ }), -/* 157 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var $isNaN = Number.isNaN || function (a) { return a !== a; }; - -module.exports = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN(x) && x !== Infinity && x !== -Infinity; }; - - -/***/ }), -/* 158 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(59); - -var $Math = GetIntrinsic('%Math%'); -var $Number = GetIntrinsic('%Number%'); - -module.exports = $Number.MAX_SAFE_INTEGER || $Math.pow(2, 53) - 1; - - -/***/ }), -/* 159 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -module.exports = function sign(number) { - return number >= 0 ? 1 : -1; -}; - - -/***/ }), -/* 160 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -module.exports = function mod(number, modulo) { - var remain = number % modulo; - return Math.floor(remain >= 0 ? remain : remain + modulo); -}; - - -/***/ }), -/* 161 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(59); - -var has = __webpack_require__(62); -var $TypeError = GetIntrinsic('%TypeError%'); - -module.exports = function IsPropertyDescriptor(ES, Desc) { - if (ES.Type(Desc) !== 'Object') { - return false; - } - var allowed = { - '[[Configurable]]': true, - '[[Enumerable]]': true, - '[[Get]]': true, - '[[Set]]': true, - '[[Value]]': true, - '[[Writable]]': true - }; - - for (var key in Desc) { // eslint-disable-line - if (has(Desc, key) && !allowed[key]) { - return false; - } - } - - if (ES.IsDataDescriptor(Desc) && ES.IsAccessorDescriptor(Desc)) { - throw new $TypeError('Property Descriptors may not be both accessor and data descriptors'); - } - return true; -}; - - -/***/ }), -/* 162 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(59); - -var $test = GetIntrinsic('RegExp.prototype.test'); - -var callBind = __webpack_require__(101); - -module.exports = function regexTester(regex) { - return callBind($test, regex); -}; - - -/***/ }), -/* 163 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var $strSlice = __webpack_require__(74)('String.prototype.slice'); - -module.exports = function isPrefixOf(prefix, string) { - if (prefix === string) { - return true; - } - if (prefix.length > string.length) { - return false; - } - return $strSlice(string, 0, prefix.length) === prefix; -}; - - /***/ }), /* 164 */ /***/ (function(module, exports, __webpack_require__) { @@ -10054,105 +10434,7 @@ module.exports = function isPrefixOf(prefix, string) { "use strict"; -var toStr = Object.prototype.toString; - -var isPrimitive = __webpack_require__(154); - -var isCallable = __webpack_require__(100); - -// http://ecma-international.org/ecma-262/5.1/#sec-8.12.8 -var ES5internalSlots = { - '[[DefaultValue]]': function (O) { - var actualHint; - if (arguments.length > 1) { - actualHint = arguments[1]; - } else { - actualHint = toStr.call(O) === '[object Date]' ? String : Number; - } - - if (actualHint === String || actualHint === Number) { - var methods = actualHint === String ? ['toString', 'valueOf'] : ['valueOf', 'toString']; - var value, i; - for (i = 0; i < methods.length; ++i) { - if (isCallable(O[methods[i]])) { - value = O[methods[i]](); - if (isPrimitive(value)) { - return value; - } - } - } - throw new TypeError('No default value'); - } - throw new TypeError('invalid [[DefaultValue]] hint supplied'); - } -}; - -// http://ecma-international.org/ecma-262/5.1/#sec-9.1 -module.exports = function ToPrimitive(input) { - if (isPrimitive(input)) { - return input; - } - if (arguments.length > 1) { - return ES5internalSlots['[[DefaultValue]]'](input, arguments[1]); - } - return ES5internalSlots['[[DefaultValue]]'](input); -}; - - -/***/ }), -/* 165 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var has = __webpack_require__(62); -var regexExec = RegExp.prototype.exec; -var gOPD = Object.getOwnPropertyDescriptor; - -var tryRegexExecCall = function tryRegexExec(value) { - try { - var lastIndex = value.lastIndex; - value.lastIndex = 0; - - regexExec.call(value); - return true; - } catch (e) { - return false; - } finally { - value.lastIndex = lastIndex; - } -}; -var toStr = Object.prototype.toString; -var regexClass = '[object RegExp]'; -var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; - -module.exports = function isRegex(value) { - if (!value || typeof value !== 'object') { - return false; - } - if (!hasToStringTag) { - return toStr.call(value) === regexClass; - } - - var descriptor = gOPD(value, 'lastIndex'); - var hasLastIndexDataProperty = descriptor && has(descriptor, 'value'); - if (!hasLastIndexDataProperty) { - return false; - } - - return tryRegexExecCall(value); -}; - - -/***/ }), -/* 166 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var implementation = __webpack_require__(147); +var implementation = __webpack_require__(152); module.exports = function getPolyfill() { return Array.prototype.flat || implementation; @@ -10160,7 +10442,7 @@ module.exports = function getPolyfill() { /***/ }), -/* 167 */ +/* 165 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10261,7 +10543,7 @@ exports['default'] = { }; /***/ }), -/* 168 */ +/* 166 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10467,19 +10749,19 @@ exports['default'] = { }; /***/ }), -/* 169 */ +/* 167 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // modified from https://github.com/es-shims/es6-shim -var keys = __webpack_require__(89); -var bind = __webpack_require__(58); +var keys = __webpack_require__(126); +var bind = __webpack_require__(72); var canBeObject = function (obj) { return typeof obj !== 'undefined' && obj !== null; }; -var hasSymbols = __webpack_require__(152)(); +var hasSymbols = __webpack_require__(163)(); var toObject = Object; var push = bind.call(Function.call, Array.prototype.push); var propIsEnumerable = bind.call(Function.call, Object.prototype.propertyIsEnumerable); @@ -10515,13 +10797,13 @@ module.exports = function assign(target, source1) { /***/ }), -/* 170 */ +/* 168 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var implementation = __webpack_require__(169); +var implementation = __webpack_require__(167); var lacksProperEnumerationOrder = function () { if (!Object.assign) { @@ -10573,7 +10855,7 @@ module.exports = function getPolyfill() { /***/ }), -/* 171 */ +/* 169 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10584,11 +10866,11 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = getCalendarDaySettings; -var _getPhrase = __webpack_require__(277); +var _getPhrase = __webpack_require__(293); var _getPhrase2 = _interopRequireDefault(_getPhrase); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -10631,7 +10913,7 @@ function getCalendarDaySettings(day, ariaLabelFormat, daySize, modifiers, phrase } /***/ }), -/* 172 */ +/* 170 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10645,19 +10927,19 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(48); +var _object = __webpack_require__(51); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactAddonsShallowCompare = __webpack_require__(75); +var _reactAddonsShallowCompare = __webpack_require__(77); var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); @@ -10665,21 +10947,21 @@ var _reactMomentProptypes = __webpack_require__(65); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); -var _reactWithStyles = __webpack_require__(55); +var _reactWithStyles = __webpack_require__(56); -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _defaultPhrases = __webpack_require__(49); +var _defaultPhrases = __webpack_require__(52); -var _getPhrasePropTypes = __webpack_require__(53); +var _getPhrasePropTypes = __webpack_require__(55); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _CalendarWeek = __webpack_require__(278); +var _CalendarWeek = __webpack_require__(294); var _CalendarWeek2 = _interopRequireDefault(_CalendarWeek); @@ -10687,35 +10969,35 @@ var _CalendarDay = __webpack_require__(132); var _CalendarDay2 = _interopRequireDefault(_CalendarDay); -var _calculateDimension = __webpack_require__(173); +var _calculateDimension = __webpack_require__(171); var _calculateDimension2 = _interopRequireDefault(_calculateDimension); -var _getCalendarMonthWeeks = __webpack_require__(280); +var _getCalendarMonthWeeks = __webpack_require__(296); var _getCalendarMonthWeeks2 = _interopRequireDefault(_getCalendarMonthWeeks); -var _isSameDay = __webpack_require__(76); +var _isSameDay = __webpack_require__(78); var _isSameDay2 = _interopRequireDefault(_isSameDay); -var _toISODateString = __webpack_require__(103); +var _toISODateString = __webpack_require__(102); var _toISODateString2 = _interopRequireDefault(_toISODateString); -var _ModifiersShape = __webpack_require__(102); +var _ModifiersShape = __webpack_require__(101); var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape); -var _ScrollableOrientationShape = __webpack_require__(78); +var _ScrollableOrientationShape = __webpack_require__(80); var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape); -var _DayOfWeekShape = __webpack_require__(72); +var _DayOfWeekShape = __webpack_require__(75); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -11036,7 +11318,7 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref) { })(CalendarMonth); /***/ }), -/* 173 */ +/* 171 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11080,7 +11362,7 @@ function calculateDimension(el, axis) { } /***/ }), -/* 174 */ +/* 172 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11094,19 +11376,19 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(48); +var _object = __webpack_require__(51); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactAddonsShallowCompare = __webpack_require__(75); +var _reactAddonsShallowCompare = __webpack_require__(77); var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); @@ -11114,63 +11396,63 @@ var _reactMomentProptypes = __webpack_require__(65); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); -var _reactWithStyles = __webpack_require__(55); +var _reactWithStyles = __webpack_require__(56); -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _consolidatedEvents = __webpack_require__(104); +var _consolidatedEvents = __webpack_require__(103); -var _defaultPhrases = __webpack_require__(49); +var _defaultPhrases = __webpack_require__(52); -var _getPhrasePropTypes = __webpack_require__(53); +var _getPhrasePropTypes = __webpack_require__(55); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _CalendarMonth = __webpack_require__(172); +var _CalendarMonth = __webpack_require__(170); var _CalendarMonth2 = _interopRequireDefault(_CalendarMonth); -var _isTransitionEndSupported = __webpack_require__(281); +var _isTransitionEndSupported = __webpack_require__(297); var _isTransitionEndSupported2 = _interopRequireDefault(_isTransitionEndSupported); -var _getTransformStyles = __webpack_require__(282); +var _getTransformStyles = __webpack_require__(298); var _getTransformStyles2 = _interopRequireDefault(_getTransformStyles); -var _getCalendarMonthWidth = __webpack_require__(175); +var _getCalendarMonthWidth = __webpack_require__(173); var _getCalendarMonthWidth2 = _interopRequireDefault(_getCalendarMonthWidth); -var _toISOMonthString = __webpack_require__(105); +var _toISOMonthString = __webpack_require__(104); var _toISOMonthString2 = _interopRequireDefault(_toISOMonthString); -var _isPrevMonth = __webpack_require__(283); +var _isPrevMonth = __webpack_require__(299); var _isPrevMonth2 = _interopRequireDefault(_isPrevMonth); -var _isNextMonth = __webpack_require__(284); +var _isNextMonth = __webpack_require__(300); var _isNextMonth2 = _interopRequireDefault(_isNextMonth); -var _ModifiersShape = __webpack_require__(102); +var _ModifiersShape = __webpack_require__(101); var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape); -var _ScrollableOrientationShape = __webpack_require__(78); +var _ScrollableOrientationShape = __webpack_require__(80); var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape); -var _DayOfWeekShape = __webpack_require__(72); +var _DayOfWeekShape = __webpack_require__(75); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -11646,7 +11928,7 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref) { })(CalendarMonthGrid); /***/ }), -/* 175 */ +/* 173 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11661,7 +11943,7 @@ function getCalendarMonthWidth(daySize, calendarMonthPadding) { } /***/ }), -/* 176 */ +/* 174 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11672,7 +11954,7 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = isSameMonth; -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); @@ -11686,15 +11968,15 @@ function isSameMonth(a, b) { } /***/ }), -/* 177 */ +/* 175 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var ES = __webpack_require__(287); -var has = __webpack_require__(62); -var bind = __webpack_require__(58); +var ES = __webpack_require__(303); +var has = __webpack_require__(74); +var bind = __webpack_require__(72); var isEnumerable = bind.call(Function.call, Object.prototype.propertyIsEnumerable); module.exports = function values(O) { @@ -11710,18 +11992,27 @@ module.exports = function values(O) { /***/ }), -/* 178 */ +/* 176 */ +/***/ (function(module, exports) { + +module.exports = function isPrimitive(value) { + return value === null || (typeof value !== 'function' && typeof value !== 'object'); +}; + + +/***/ }), +/* 177 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var GetIntrinsic = __webpack_require__(135); +var GetIntrinsic = __webpack_require__(136); var $TypeError = GetIntrinsic('%TypeError%'); var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var has = __webpack_require__(62); +var has = __webpack_require__(74); var predicates = { // https://ecma-international.org/ecma-262/6.0/#sec-property-descriptor-specification-type @@ -11766,7 +12057,7 @@ module.exports = function assertRecord(ES, recordType, argumentName, value) { /***/ }), -/* 179 */ +/* 178 */ /***/ (function(module, exports) { module.exports = Number.isNaN || function isNaN(a) { @@ -11775,7 +12066,7 @@ module.exports = Number.isNaN || function isNaN(a) { /***/ }), -/* 180 */ +/* 179 */ /***/ (function(module, exports) { var $isNaN = Number.isNaN || function (a) { return a !== a; }; @@ -11784,10 +12075,10 @@ module.exports = Number.isFinite || function (x) { return typeof x === 'number' /***/ }), -/* 181 */ +/* 180 */ /***/ (function(module, exports, __webpack_require__) { -var bind = __webpack_require__(58); +var bind = __webpack_require__(72); var has = bind.call(Function.call, Object.prototype.hasOwnProperty); var $assign = Object.assign; @@ -11807,7 +12098,7 @@ module.exports = function assign(target, source) { /***/ }), -/* 182 */ +/* 181 */ /***/ (function(module, exports) { module.exports = function sign(number) { @@ -11816,7 +12107,7 @@ module.exports = function sign(number) { /***/ }), -/* 183 */ +/* 182 */ /***/ (function(module, exports) { module.exports = function mod(number, modulo) { @@ -11826,13 +12117,13 @@ module.exports = function mod(number, modulo) { /***/ }), -/* 184 */ +/* 183 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var implementation = __webpack_require__(177); +var implementation = __webpack_require__(175); module.exports = function getPolyfill() { return typeof Object.values === 'function' ? Object.values : implementation; @@ -11840,7 +12131,7 @@ module.exports = function getPolyfill() { /***/ }), -/* 185 */ +/* 184 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11869,13 +12160,13 @@ module.exports = function contains(other) { /***/ }), -/* 186 */ +/* 185 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var implementation = __webpack_require__(185); +var implementation = __webpack_require__(184); module.exports = function getPolyfill() { if (typeof document !== 'undefined') { @@ -11891,7 +12182,7 @@ module.exports = function getPolyfill() { /***/ }), -/* 187 */ +/* 186 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11901,7 +12192,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -11909,43 +12200,43 @@ var _reactMomentProptypes = __webpack_require__(65); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); -var _defaultPhrases = __webpack_require__(49); +var _defaultPhrases = __webpack_require__(52); -var _getPhrasePropTypes = __webpack_require__(53); +var _getPhrasePropTypes = __webpack_require__(55); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _FocusedInputShape = __webpack_require__(188); +var _FocusedInputShape = __webpack_require__(187); var _FocusedInputShape2 = _interopRequireDefault(_FocusedInputShape); -var _IconPositionShape = __webpack_require__(91); +var _IconPositionShape = __webpack_require__(90); var _IconPositionShape2 = _interopRequireDefault(_IconPositionShape); -var _OrientationShape = __webpack_require__(189); +var _OrientationShape = __webpack_require__(188); var _OrientationShape2 = _interopRequireDefault(_OrientationShape); -var _DisabledShape = __webpack_require__(106); +var _DisabledShape = __webpack_require__(105); var _DisabledShape2 = _interopRequireDefault(_DisabledShape); -var _AnchorDirectionShape = __webpack_require__(190); +var _AnchorDirectionShape = __webpack_require__(189); var _AnchorDirectionShape2 = _interopRequireDefault(_AnchorDirectionShape); -var _OpenDirectionShape = __webpack_require__(80); +var _OpenDirectionShape = __webpack_require__(82); var _OpenDirectionShape2 = _interopRequireDefault(_OpenDirectionShape); -var _DayOfWeekShape = __webpack_require__(72); +var _DayOfWeekShape = __webpack_require__(75); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); -var _CalendarInfoPositionShape = __webpack_require__(92); +var _CalendarInfoPositionShape = __webpack_require__(91); var _CalendarInfoPositionShape2 = _interopRequireDefault(_CalendarInfoPositionShape); @@ -12031,6 +12322,27 @@ exports['default'] = { dayAriaLabelFormat: _propTypes2['default'].string }; +/***/ }), +/* 187 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _propTypes = __webpack_require__(28); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +var _constants = __webpack_require__(41); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +exports['default'] = _propTypes2['default'].oneOf([_constants.START_DATE, _constants.END_DATE]); + /***/ }), /* 188 */ /***/ (function(module, exports, __webpack_require__) { @@ -12042,15 +12354,15 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } -exports['default'] = _propTypes2['default'].oneOf([_constants.START_DATE, _constants.END_DATE]); +exports['default'] = _propTypes2['default'].oneOf([_constants.HORIZONTAL_ORIENTATION, _constants.VERTICAL_ORIENTATION]); /***/ }), /* 189 */ @@ -12063,15 +12375,15 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } -exports['default'] = _propTypes2['default'].oneOf([_constants.HORIZONTAL_ORIENTATION, _constants.VERTICAL_ORIENTATION]); +exports['default'] = _propTypes2['default'].oneOf([_constants.ANCHOR_LEFT, _constants.ANCHOR_RIGHT]); /***/ }), /* 190 */ @@ -12080,33 +12392,12 @@ exports['default'] = _propTypes2['default'].oneOf([_constants.HORIZONTAL_ORIENTA "use strict"; -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _propTypes = __webpack_require__(33); - -var _propTypes2 = _interopRequireDefault(_propTypes); - -var _constants = __webpack_require__(40); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -exports['default'] = _propTypes2['default'].oneOf([_constants.ANCHOR_LEFT, _constants.ANCHOR_RIGHT]); - -/***/ }), -/* 191 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - Object.defineProperty(exports, "__esModule", { value: true }); exports['default'] = getResponsiveContainerStyles; -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } @@ -12119,7 +12410,7 @@ function getResponsiveContainerStyles(anchorDirection, currentOffset, containerE } /***/ }), -/* 192 */ +/* 191 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12130,7 +12421,7 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = getDetachedContainerStyles; -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); /** * Calculate and return a CSS transform style to position a detached element @@ -12171,7 +12462,7 @@ function getDetachedContainerStyles(openDirection, anchorDirection, referenceEl) } /***/ }), -/* 193 */ +/* 192 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12260,7 +12551,7 @@ function disableScroll(node) { } /***/ }), -/* 194 */ +/* 193 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12272,15 +12563,15 @@ Object.defineProperty(exports, "__esModule", { var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); @@ -12288,47 +12579,47 @@ var _reactMomentProptypes = __webpack_require__(65); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); -var _OpenDirectionShape = __webpack_require__(80); +var _OpenDirectionShape = __webpack_require__(82); var _OpenDirectionShape2 = _interopRequireDefault(_OpenDirectionShape); -var _defaultPhrases = __webpack_require__(49); +var _defaultPhrases = __webpack_require__(52); -var _getPhrasePropTypes = __webpack_require__(53); +var _getPhrasePropTypes = __webpack_require__(55); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _DateRangePickerInput = __webpack_require__(195); +var _DateRangePickerInput = __webpack_require__(194); var _DateRangePickerInput2 = _interopRequireDefault(_DateRangePickerInput); -var _IconPositionShape = __webpack_require__(91); +var _IconPositionShape = __webpack_require__(90); var _IconPositionShape2 = _interopRequireDefault(_IconPositionShape); -var _DisabledShape = __webpack_require__(106); +var _DisabledShape = __webpack_require__(105); var _DisabledShape2 = _interopRequireDefault(_DisabledShape); -var _toMomentObject = __webpack_require__(77); +var _toMomentObject = __webpack_require__(79); var _toMomentObject2 = _interopRequireDefault(_toMomentObject); -var _toLocalizedDateString = __webpack_require__(138); +var _toLocalizedDateString = __webpack_require__(139); var _toLocalizedDateString2 = _interopRequireDefault(_toLocalizedDateString); -var _isInclusivelyAfterDay = __webpack_require__(93); +var _isInclusivelyAfterDay = __webpack_require__(92); var _isInclusivelyAfterDay2 = _interopRequireDefault(_isInclusivelyAfterDay); -var _isBeforeDay = __webpack_require__(94); +var _isBeforeDay = __webpack_require__(93); var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -12745,7 +13036,7 @@ DateRangePickerInputController.propTypes = propTypes; DateRangePickerInputController.defaultProps = defaultProps; /***/ }), -/* 195 */ +/* 194 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12757,61 +13048,61 @@ Object.defineProperty(exports, "__esModule", { var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; -var _object = __webpack_require__(48); +var _object = __webpack_require__(51); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); -var _reactWithStyles = __webpack_require__(55); +var _reactWithStyles = __webpack_require__(56); -var _defaultPhrases = __webpack_require__(49); +var _defaultPhrases = __webpack_require__(52); -var _getPhrasePropTypes = __webpack_require__(53); +var _getPhrasePropTypes = __webpack_require__(55); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _OpenDirectionShape = __webpack_require__(80); +var _OpenDirectionShape = __webpack_require__(82); var _OpenDirectionShape2 = _interopRequireDefault(_OpenDirectionShape); -var _DateInput = __webpack_require__(196); +var _DateInput = __webpack_require__(195); var _DateInput2 = _interopRequireDefault(_DateInput); -var _IconPositionShape = __webpack_require__(91); +var _IconPositionShape = __webpack_require__(90); var _IconPositionShape2 = _interopRequireDefault(_IconPositionShape); -var _DisabledShape = __webpack_require__(106); +var _DisabledShape = __webpack_require__(105); var _DisabledShape2 = _interopRequireDefault(_DisabledShape); -var _RightArrow = __webpack_require__(200); +var _RightArrow = __webpack_require__(199); var _RightArrow2 = _interopRequireDefault(_RightArrow); -var _LeftArrow = __webpack_require__(201); +var _LeftArrow = __webpack_require__(200); var _LeftArrow2 = _interopRequireDefault(_LeftArrow); -var _CloseButton = __webpack_require__(95); +var _CloseButton = __webpack_require__(94); var _CloseButton2 = _interopRequireDefault(_CloseButton); -var _CalendarIcon = __webpack_require__(202); +var _CalendarIcon = __webpack_require__(201); var _CalendarIcon2 = _interopRequireDefault(_CalendarIcon); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -13201,7 +13492,7 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { })(DateRangePickerInput); /***/ }), -/* 196 */ +/* 195 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -13215,39 +13506,39 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(48); +var _object = __webpack_require__(51); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); -var _reactWithStyles = __webpack_require__(55); +var _reactWithStyles = __webpack_require__(56); -var _throttle = __webpack_require__(197); +var _throttle = __webpack_require__(196); var _throttle2 = _interopRequireDefault(_throttle); -var _isTouchDevice = __webpack_require__(79); +var _isTouchDevice = __webpack_require__(81); var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); -var _getInputHeight = __webpack_require__(136); +var _getInputHeight = __webpack_require__(137); var _getInputHeight2 = _interopRequireDefault(_getInputHeight); -var _OpenDirectionShape = __webpack_require__(80); +var _OpenDirectionShape = __webpack_require__(82); var _OpenDirectionShape2 = _interopRequireDefault(_OpenDirectionShape); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -13681,11 +13972,11 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref) { })(DateInput); /***/ }), -/* 197 */ +/* 196 */ /***/ (function(module, exports, __webpack_require__) { -var debounce = __webpack_require__(295), - isObject = __webpack_require__(137); +var debounce = __webpack_require__(315), + isObject = __webpack_require__(138); /** Error message constants. */ var FUNC_ERROR_TEXT = 'Expected a function'; @@ -13756,10 +14047,10 @@ module.exports = throttle; /***/ }), -/* 198 */ +/* 197 */ /***/ (function(module, exports, __webpack_require__) { -var freeGlobal = __webpack_require__(297); +var freeGlobal = __webpack_require__(317); /** Detect free variable `self`. */ var freeSelf = typeof self == 'object' && self && self.Object === Object && self; @@ -13771,10 +14062,10 @@ module.exports = root; /***/ }), -/* 199 */ +/* 198 */ /***/ (function(module, exports, __webpack_require__) { -var root = __webpack_require__(198); +var root = __webpack_require__(197); /** Built-in value references. */ var Symbol = root.Symbol; @@ -13783,7 +14074,7 @@ module.exports = Symbol; /***/ }), -/* 200 */ +/* 199 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -13793,7 +14084,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); @@ -13819,7 +14110,7 @@ RightArrow.defaultProps = { exports['default'] = RightArrow; /***/ }), -/* 201 */ +/* 200 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -13829,7 +14120,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); @@ -13855,7 +14146,7 @@ LeftArrow.defaultProps = { exports['default'] = LeftArrow; /***/ }), -/* 202 */ +/* 201 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -13865,7 +14156,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); @@ -13891,7 +14182,7 @@ CalendarIcon.defaultProps = { exports['default'] = CalendarIcon; /***/ }), -/* 203 */ +/* 202 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -13905,15 +14196,15 @@ var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = [ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(48); +var _object = __webpack_require__(51); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -13921,9 +14212,9 @@ var _reactMomentProptypes = __webpack_require__(65); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); @@ -13931,79 +14222,79 @@ var _object3 = __webpack_require__(134); var _object4 = _interopRequireDefault(_object3); -var _isTouchDevice = __webpack_require__(79); +var _isTouchDevice = __webpack_require__(81); var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); -var _defaultPhrases = __webpack_require__(49); +var _defaultPhrases = __webpack_require__(52); -var _getPhrasePropTypes = __webpack_require__(53); +var _getPhrasePropTypes = __webpack_require__(55); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _isInclusivelyAfterDay = __webpack_require__(93); +var _isInclusivelyAfterDay = __webpack_require__(92); var _isInclusivelyAfterDay2 = _interopRequireDefault(_isInclusivelyAfterDay); -var _isNextDay = __webpack_require__(204); +var _isNextDay = __webpack_require__(203); var _isNextDay2 = _interopRequireDefault(_isNextDay); -var _isSameDay = __webpack_require__(76); +var _isSameDay = __webpack_require__(78); var _isSameDay2 = _interopRequireDefault(_isSameDay); -var _isAfterDay = __webpack_require__(107); +var _isAfterDay = __webpack_require__(106); var _isAfterDay2 = _interopRequireDefault(_isAfterDay); -var _isBeforeDay = __webpack_require__(94); +var _isBeforeDay = __webpack_require__(93); var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay); -var _getVisibleDays = __webpack_require__(205); +var _getVisibleDays = __webpack_require__(204); var _getVisibleDays2 = _interopRequireDefault(_getVisibleDays); -var _isDayVisible = __webpack_require__(139); +var _isDayVisible = __webpack_require__(140); var _isDayVisible2 = _interopRequireDefault(_isDayVisible); -var _getSelectedDateOffset = __webpack_require__(304); +var _getSelectedDateOffset = __webpack_require__(324); var _getSelectedDateOffset2 = _interopRequireDefault(_getSelectedDateOffset); -var _toISODateString = __webpack_require__(103); +var _toISODateString = __webpack_require__(102); var _toISODateString2 = _interopRequireDefault(_toISODateString); -var _toISOMonthString = __webpack_require__(105); +var _toISOMonthString = __webpack_require__(104); var _toISOMonthString2 = _interopRequireDefault(_toISOMonthString); -var _DisabledShape = __webpack_require__(106); +var _DisabledShape = __webpack_require__(105); var _DisabledShape2 = _interopRequireDefault(_DisabledShape); -var _FocusedInputShape = __webpack_require__(188); +var _FocusedInputShape = __webpack_require__(187); var _FocusedInputShape2 = _interopRequireDefault(_FocusedInputShape); -var _ScrollableOrientationShape = __webpack_require__(78); +var _ScrollableOrientationShape = __webpack_require__(80); var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape); -var _DayOfWeekShape = __webpack_require__(72); +var _DayOfWeekShape = __webpack_require__(75); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); -var _CalendarInfoPositionShape = __webpack_require__(92); +var _CalendarInfoPositionShape = __webpack_require__(91); var _CalendarInfoPositionShape2 = _interopRequireDefault(_CalendarInfoPositionShape); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); -var _DayPicker = __webpack_require__(140); +var _DayPicker = __webpack_require__(141); var _DayPicker2 = _interopRequireDefault(_DayPicker); @@ -15402,7 +15693,7 @@ DayPickerRangeController.propTypes = propTypes; DayPickerRangeController.defaultProps = defaultProps; /***/ }), -/* 204 */ +/* 203 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15413,11 +15704,11 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = isNextDay; -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _isSameDay = __webpack_require__(76); +var _isSameDay = __webpack_require__(78); var _isSameDay2 = _interopRequireDefault(_isSameDay); @@ -15430,7 +15721,7 @@ function isNextDay(a, b) { } /***/ }), -/* 205 */ +/* 204 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15441,11 +15732,11 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = getVisibleDays; -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _toISOMonthString = __webpack_require__(105); +var _toISOMonthString = __webpack_require__(104); var _toISOMonthString2 = _interopRequireDefault(_toISOMonthString); @@ -15499,7 +15790,7 @@ function getVisibleDays(month, numberOfMonths, enableOutsideDays, withoutTransit } /***/ }), -/* 206 */ +/* 205 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15513,15 +15804,15 @@ var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = [ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(48); +var _object = __webpack_require__(51); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -15529,9 +15820,9 @@ var _reactMomentProptypes = __webpack_require__(65); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); @@ -15539,55 +15830,55 @@ var _object3 = __webpack_require__(134); var _object4 = _interopRequireDefault(_object3); -var _isTouchDevice = __webpack_require__(79); +var _isTouchDevice = __webpack_require__(81); var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); -var _defaultPhrases = __webpack_require__(49); +var _defaultPhrases = __webpack_require__(52); -var _getPhrasePropTypes = __webpack_require__(53); +var _getPhrasePropTypes = __webpack_require__(55); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _isSameDay = __webpack_require__(76); +var _isSameDay = __webpack_require__(78); var _isSameDay2 = _interopRequireDefault(_isSameDay); -var _isAfterDay = __webpack_require__(107); +var _isAfterDay = __webpack_require__(106); var _isAfterDay2 = _interopRequireDefault(_isAfterDay); -var _getVisibleDays = __webpack_require__(205); +var _getVisibleDays = __webpack_require__(204); var _getVisibleDays2 = _interopRequireDefault(_getVisibleDays); -var _isDayVisible = __webpack_require__(139); +var _isDayVisible = __webpack_require__(140); var _isDayVisible2 = _interopRequireDefault(_isDayVisible); -var _toISODateString = __webpack_require__(103); +var _toISODateString = __webpack_require__(102); var _toISODateString2 = _interopRequireDefault(_toISODateString); -var _toISOMonthString = __webpack_require__(105); +var _toISOMonthString = __webpack_require__(104); var _toISOMonthString2 = _interopRequireDefault(_toISOMonthString); -var _ScrollableOrientationShape = __webpack_require__(78); +var _ScrollableOrientationShape = __webpack_require__(80); var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape); -var _DayOfWeekShape = __webpack_require__(72); +var _DayOfWeekShape = __webpack_require__(75); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); -var _CalendarInfoPositionShape = __webpack_require__(92); +var _CalendarInfoPositionShape = __webpack_require__(91); var _CalendarInfoPositionShape2 = _interopRequireDefault(_CalendarInfoPositionShape); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); -var _DayPicker = __webpack_require__(140); +var _DayPicker = __webpack_require__(141); var _DayPicker2 = _interopRequireDefault(_DayPicker); @@ -16547,7 +16838,7 @@ DayPickerSingleDateController.propTypes = propTypes; DayPickerSingleDateController.defaultProps = defaultProps; /***/ }), -/* 207 */ +/* 206 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16557,7 +16848,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -16565,35 +16856,35 @@ var _reactMomentProptypes = __webpack_require__(65); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); -var _defaultPhrases = __webpack_require__(49); +var _defaultPhrases = __webpack_require__(52); -var _getPhrasePropTypes = __webpack_require__(53); +var _getPhrasePropTypes = __webpack_require__(55); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _IconPositionShape = __webpack_require__(91); +var _IconPositionShape = __webpack_require__(90); var _IconPositionShape2 = _interopRequireDefault(_IconPositionShape); -var _OrientationShape = __webpack_require__(189); +var _OrientationShape = __webpack_require__(188); var _OrientationShape2 = _interopRequireDefault(_OrientationShape); -var _AnchorDirectionShape = __webpack_require__(190); +var _AnchorDirectionShape = __webpack_require__(189); var _AnchorDirectionShape2 = _interopRequireDefault(_AnchorDirectionShape); -var _OpenDirectionShape = __webpack_require__(80); +var _OpenDirectionShape = __webpack_require__(82); var _OpenDirectionShape2 = _interopRequireDefault(_OpenDirectionShape); -var _DayOfWeekShape = __webpack_require__(72); +var _DayOfWeekShape = __webpack_require__(75); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); -var _CalendarInfoPositionShape = __webpack_require__(92); +var _CalendarInfoPositionShape = __webpack_require__(91); var _CalendarInfoPositionShape2 = _interopRequireDefault(_CalendarInfoPositionShape); @@ -16676,7 +16967,7 @@ exports['default'] = { }; /***/ }), -/* 208 */ +/* 207 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16688,49 +16979,49 @@ Object.defineProperty(exports, "__esModule", { var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; -var _object = __webpack_require__(48); +var _object = __webpack_require__(51); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); -var _reactWithStyles = __webpack_require__(55); +var _reactWithStyles = __webpack_require__(56); -var _defaultPhrases = __webpack_require__(49); +var _defaultPhrases = __webpack_require__(52); -var _getPhrasePropTypes = __webpack_require__(53); +var _getPhrasePropTypes = __webpack_require__(55); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _DateInput = __webpack_require__(196); +var _DateInput = __webpack_require__(195); var _DateInput2 = _interopRequireDefault(_DateInput); -var _IconPositionShape = __webpack_require__(91); +var _IconPositionShape = __webpack_require__(90); var _IconPositionShape2 = _interopRequireDefault(_IconPositionShape); -var _CloseButton = __webpack_require__(95); +var _CloseButton = __webpack_require__(94); var _CloseButton2 = _interopRequireDefault(_CloseButton); -var _CalendarIcon = __webpack_require__(202); +var _CalendarIcon = __webpack_require__(201); var _CalendarIcon2 = _interopRequireDefault(_CalendarIcon); -var _OpenDirectionShape = __webpack_require__(80); +var _OpenDirectionShape = __webpack_require__(82); var _OpenDirectionShape2 = _interopRequireDefault(_OpenDirectionShape); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -17036,28 +17327,28 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { })(SingleDatePickerInput); /***/ }), +/* 208 */, /* 209 */, /* 210 */, /* 211 */, /* 212 */, /* 213 */, -/* 214 */, -/* 215 */ +/* 214 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: external {"this":"ReactDOM"} -var external_this_ReactDOM_ = __webpack_require__(56); +var external_this_ReactDOM_ = __webpack_require__(57); var external_this_ReactDOM_default = /*#__PURE__*/__webpack_require__.n(external_this_ReactDOM_); // EXTERNAL MODULE: external {"this":"React"} -var external_this_React_ = __webpack_require__(28); +var external_this_React_ = __webpack_require__(20); var external_this_React_default = /*#__PURE__*/__webpack_require__.n(external_this_React_); // EXTERNAL MODULE: ./node_modules/prop-types/index.js -var prop_types = __webpack_require__(33); +var prop_types = __webpack_require__(28); var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types); // CONCATENATED MODULE: ./node_modules/react-portal/es/utils.js @@ -17362,13 +17653,34 @@ PortalWithState_PortalWithState.defaultProps = { /***/ }), +/* 215 */, /* 216 */, /* 217 */, /* 218 */, /* 219 */, /* 220 */, /* 221 */, -/* 222 */, +/* 222 */ +/***/ (function(module, exports) { + +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + +module.exports = _defineProperty; + +/***/ }), /* 223 */ /***/ (function(module, exports, __webpack_require__) { @@ -19416,7 +19728,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*global define:false */ /***/ (function(module, exports, __webpack_require__) { // eslint-disable-next-line import/no-unresolved -module.exports = __webpack_require__(266); +module.exports = __webpack_require__(282); /***/ }), @@ -19460,9 +19772,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var React = __importStar(__webpack_require__(28)); -var resizer_1 = __webpack_require__(314); -var fast_memoize_1 = __importDefault(__webpack_require__(315)); +var React = __importStar(__webpack_require__(20)); +var resizer_1 = __webpack_require__(334); +var fast_memoize_1 = __importDefault(__webpack_require__(335)); var DEFAULT_SIZE = { width: 'auto', height: 'auto', @@ -20070,7 +20382,7 @@ var Resizable = /** @class */ (function (_super) { if (c) { _this.resizable = c; } - }, style: __assign({ position: 'relative', userSelect: this.state.isResizing ? 'none' : 'auto' }, this.props.style, this.sizeStyle, { maxWidth: this.props.maxWidth, maxHeight: this.props.maxHeight, minWidth: this.props.minWidth, minHeight: this.props.minHeight, boxSizing: 'border-box' }), className: this.props.className }, extendsProps), + }, style: __assign({ position: 'relative', userSelect: this.state.isResizing ? 'none' : 'auto' }, this.props.style, this.sizeStyle, { maxWidth: this.props.maxWidth, maxHeight: this.props.maxHeight, minWidth: this.props.minWidth, minHeight: this.props.minHeight, boxSizing: 'border-box', flexShrink: 0 }), className: this.props.className }, extendsProps), this.state.isResizing && (React.createElement("div", { style: { height: '100%', width: '100%', @@ -20124,8 +20436,7 @@ exports.Resizable = Resizable; /* 232 */, /* 233 */, /* 234 */, -/* 235 */, -/* 236 */ +/* 235 */ /***/ (function(module, exports) { /** @@ -20173,6 +20484,28 @@ exports.Resizable = Resizable; }) (Mousetrap); +/***/ }), +/* 236 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/** @license React v16.12.0 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +Object.defineProperty(exports,"__esModule",{value:!0}); +var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?Symbol.for("react.suspense_list"): +60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.fundamental"):60117,w=b?Symbol.for("react.responder"):60118,x=b?Symbol.for("react.scope"):60119;function y(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function z(a){return y(a)===m} +exports.typeOf=y;exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p; +exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===v||a.$$typeof===w||a.$$typeof===x)};exports.isAsyncMode=function(a){return z(a)||y(a)===l};exports.isConcurrentMode=z;exports.isContextConsumer=function(a){return y(a)===k};exports.isContextProvider=function(a){return y(a)===h}; +exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return y(a)===n};exports.isFragment=function(a){return y(a)===e};exports.isLazy=function(a){return y(a)===t};exports.isMemo=function(a){return y(a)===r};exports.isPortal=function(a){return y(a)===d};exports.isProfiler=function(a){return y(a)===g};exports.isStrictMode=function(a){return y(a)===f};exports.isSuspense=function(a){return y(a)===p}; + + /***/ }), /* 237 */ /***/ (function(module, exports, __webpack_require__) { @@ -20212,7 +20545,7 @@ var _reactWithStylesInterfaceCss = __webpack_require__(240); var _reactWithStylesInterfaceCss2 = _interopRequireDefault(_reactWithStylesInterfaceCss); -var _registerInterfaceWithDefaultTheme = __webpack_require__(265); +var _registerInterfaceWithDefaultTheme = __webpack_require__(281); var _registerInterfaceWithDefaultTheme2 = _interopRequireDefault(_registerInterfaceWithDefaultTheme); @@ -20242,17 +20575,17 @@ var _arrayPrototype = __webpack_require__(242); var _arrayPrototype2 = _interopRequireDefault(_arrayPrototype); -var _globalCache = __webpack_require__(261); +var _globalCache = __webpack_require__(277); var _globalCache2 = _interopRequireDefault(_globalCache); -var _constants = __webpack_require__(262); +var _constants = __webpack_require__(278); -var _getClassName = __webpack_require__(263); +var _getClassName = __webpack_require__(279); var _getClassName2 = _interopRequireDefault(_getClassName); -var _separateStyles2 = __webpack_require__(264); +var _separateStyles2 = __webpack_require__(280); var _separateStyles3 = _interopRequireDefault(_separateStyles2); @@ -20316,15 +20649,15 @@ exports['default'] = { create: create, resolve: resolve }; "use strict"; -var define = __webpack_require__(54); -var bind = __webpack_require__(58); +var define = __webpack_require__(64); +var callBind = __webpack_require__(127); -var implementation = __webpack_require__(147); -var getPolyfill = __webpack_require__(166); +var implementation = __webpack_require__(152); +var getPolyfill = __webpack_require__(164); var polyfill = getPolyfill(); -var shim = __webpack_require__(260); +var shim = __webpack_require__(276); -var boundFlat = bind.call(Function.call, polyfill); +var boundFlat = callBind(polyfill); define(boundFlat, { getPolyfill: getPolyfill, @@ -20347,7 +20680,7 @@ if (!Object.keys) { // modified from https://github.com/es-shims/es5-shim var has = Object.prototype.hasOwnProperty; var toStr = Object.prototype.toString; - var isArgs = __webpack_require__(146); // eslint-disable-line global-require + var isArgs = __webpack_require__(151); // eslint-disable-line global-require var isEnumerable = Object.prototype.propertyIsEnumerable; var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString'); var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype'); @@ -20528,118 +20861,21 @@ module.exports = function bind(that) { /***/ (function(module, exports, __webpack_require__) { "use strict"; +/* WEBPACK VAR INJECTION */(function(global) { +var origSymbol = global.Symbol; +var hasSymbolSham = __webpack_require__(246); -var trimStart = __webpack_require__(246); -var trimEnd = __webpack_require__(248); -var inspect = __webpack_require__(128); +module.exports = function hasNativeSymbols() { + if (typeof origSymbol !== 'function') { return false; } + if (typeof Symbol !== 'function') { return false; } + if (typeof origSymbol('foo') !== 'symbol') { return false; } + if (typeof Symbol('bar') !== 'symbol') { return false; } -var ES2018 = __webpack_require__(251); -var assign = __webpack_require__(90); -var MAX_SAFE_INTEGER = __webpack_require__(158); - -var GetIntrinsic = __webpack_require__(59); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var ES2019 = assign(assign({}, ES2018), { - // https://tc39.es/ecma262/#sec-add-entries-from-iterable - AddEntriesFromIterable: function AddEntriesFromIterable(target, iterable, adder) { - if (!this.IsCallable(adder)) { - throw new $TypeError('Assertion failed: `adder` is not callable'); - } - if (iterable == null) { - throw new $TypeError('Assertion failed: `iterable` is present, and not nullish'); - } - var iteratorRecord = this.GetIterator(iterable); - while (true) { // eslint-disable-line no-constant-condition - var next = this.IteratorStep(iteratorRecord); - if (!next) { - return target; - } - var nextItem = this.IteratorValue(next); - if (this.Type(nextItem) !== 'Object') { - var error = new $TypeError('iterator next must return an Object, got ' + inspect(nextItem)); - return this.IteratorClose( - iteratorRecord, - function () { throw error; } // eslint-disable-line no-loop-func - ); - } - try { - var k = this.Get(nextItem, '0'); - var v = this.Get(nextItem, '1'); - this.Call(adder, target, [k, v]); - } catch (e) { - return this.IteratorClose( - iteratorRecord, - function () { throw e; } // eslint-disable-line no-loop-func - ); - } - } - }, - - // https://ecma-international.org/ecma-262/10.0/#sec-flattenintoarray - // eslint-disable-next-line max-params, max-statements - FlattenIntoArray: function FlattenIntoArray(target, source, sourceLen, start, depth) { - var mapperFunction; - if (arguments.length > 5) { - mapperFunction = arguments[5]; - } - - var targetIndex = start; - var sourceIndex = 0; - while (sourceIndex < sourceLen) { - var P = this.ToString(sourceIndex); - var exists = this.HasProperty(source, P); - if (exists === true) { - var element = this.Get(source, P); - if (typeof mapperFunction !== 'undefined') { - if (arguments.length <= 6) { - throw new $TypeError('Assertion failed: thisArg is required when mapperFunction is provided'); - } - element = this.Call(mapperFunction, arguments[6], [element, sourceIndex, source]); - } - var shouldFlatten = false; - if (depth > 0) { - shouldFlatten = this.IsArray(element); - } - if (shouldFlatten) { - var elementLen = this.ToLength(this.Get(element, 'length')); - targetIndex = this.FlattenIntoArray(target, element, elementLen, targetIndex, depth - 1); - } else { - if (targetIndex >= MAX_SAFE_INTEGER) { - throw new $TypeError('index too large'); - } - this.CreateDataPropertyOrThrow(target, this.ToString(targetIndex), element); - targetIndex += 1; - } - } - sourceIndex += 1; - } - - return targetIndex; - }, - - // https://ecma-international.org/ecma-262/10.0/#sec-trimstring - TrimString: function TrimString(string, where) { - var str = this.RequireObjectCoercible(string); - var S = this.ToString(str); - var T; - if (where === 'start') { - T = trimStart(S); - } else if (where === 'end') { - T = trimEnd(S); - } else if (where === 'start+end') { - T = trimStart(trimEnd(S)); - } else { - throw new $TypeError('Assertion failed: invalid `where` value; must be "start", "end", or "start+end"'); - } - return T; - } -}); - -module.exports = ES2019; + return hasSymbolSham(); +}; +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(61))) /***/ }), /* 246 */ @@ -20648,22 +20884,46 @@ module.exports = ES2019; "use strict"; -var bind = __webpack_require__(58); -var define = __webpack_require__(54); +/* eslint complexity: [2, 18], max-statements: [2, 33] */ +module.exports = function hasSymbols() { + if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } + if (typeof Symbol.iterator === 'symbol') { return true; } -var implementation = __webpack_require__(148); -var getPolyfill = __webpack_require__(149); -var shim = __webpack_require__(247); + var obj = {}; + var sym = Symbol('test'); + var symObj = Object(sym); + if (typeof sym === 'string') { return false; } -var bound = bind.call(Function.call, getPolyfill()); + if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } + if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } -define(bound, { - getPolyfill: getPolyfill, - implementation: implementation, - shim: shim -}); + // temp disabled per https://github.com/ljharb/object.assign/issues/17 + // if (sym instanceof Symbol) { return false; } + // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 + // if (!(symObj instanceof Symbol)) { return false; } -module.exports = bound; + // if (typeof Symbol.prototype.toString !== 'function') { return false; } + // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } + + var symVal = 42; + obj[sym] = symVal; + for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax + if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } + + if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } + + var syms = Object.getOwnPropertySymbols(obj); + if (syms.length !== 1 || syms[0] !== sym) { return false; } + + if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } + + if (typeof Object.getOwnPropertyDescriptor === 'function') { + var descriptor = Object.getOwnPropertyDescriptor(obj, sym); + if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } + } + + return true; +}; /***/ }), @@ -20673,44 +20933,57 @@ module.exports = bound; "use strict"; -var define = __webpack_require__(54); -var getPolyfill = __webpack_require__(149); +var GetIntrinsic = __webpack_require__(46); -module.exports = function shimTrimLeft() { - var polyfill = getPolyfill(); - define( - String.prototype, - { trimLeft: polyfill }, - { trimLeft: function () { return String.prototype.trimLeft !== polyfill; } } - ); - return polyfill; +var $Array = GetIntrinsic('%Array%'); +var $species = GetIntrinsic('%Symbol.species%', true); +var $TypeError = GetIntrinsic('%TypeError%'); + +var Get = __webpack_require__(128); +var IsArray = __webpack_require__(154); +var IsConstructor = __webpack_require__(250); +var IsInteger = __webpack_require__(251); +var Type = __webpack_require__(73); + +// https://ecma-international.org/ecma-262/6.0/#sec-arrayspeciescreate + +module.exports = function ArraySpeciesCreate(originalArray, length) { + if (!IsInteger(length) || length < 0) { + throw new $TypeError('Assertion failed: length must be an integer >= 0'); + } + var len = length === 0 ? 0 : length; + var C; + var isArray = IsArray(originalArray); + if (isArray) { + C = Get(originalArray, 'constructor'); + // TODO: figure out how to make a cross-realm normal Array, a same-realm Array + // if (IsConstructor(C)) { + // if C is another realm's Array, C = undefined + // Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ? + // } + if ($species && Type(C) === 'Object') { + C = Get(C, $species); + if (C === null) { + C = void 0; + } + } + } + if (typeof C === 'undefined') { + return $Array(len); + } + if (!IsConstructor(C)) { + throw new $TypeError('C must be a constructor'); + } + return new C(len); // Construct(C, len); }; + /***/ }), /* 248 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var bind = __webpack_require__(58); -var define = __webpack_require__(54); - -var implementation = __webpack_require__(150); -var getPolyfill = __webpack_require__(151); -var shim = __webpack_require__(249); - -var bound = bind.call(Function.call, getPolyfill()); - -define(bound, { - getPolyfill: getPolyfill, - implementation: implementation, - shim: shim -}); - -module.exports = bound; +/***/ (function(module, exports) { +/* (ignored) */ /***/ }), /* 249 */ @@ -20719,25 +20992,43 @@ module.exports = bound; "use strict"; -var define = __webpack_require__(54); -var getPolyfill = __webpack_require__(151); +// https://www.ecma-international.org/ecma-262/5.1/#sec-8 -module.exports = function shimTrimRight() { - var polyfill = getPolyfill(); - define( - String.prototype, - { trimRight: polyfill }, - { trimRight: function () { return String.prototype.trimRight !== polyfill; } } - ); - return polyfill; +module.exports = function Type(x) { + if (x === null) { + return 'Null'; + } + if (typeof x === 'undefined') { + return 'Undefined'; + } + if (typeof x === 'function' || typeof x === 'object') { + return 'Object'; + } + if (typeof x === 'number') { + return 'Number'; + } + if (typeof x === 'boolean') { + return 'Boolean'; + } + if (typeof x === 'string') { + return 'String'; + } }; /***/ }), /* 250 */ -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +// https://www.ecma-international.org/ecma-262/6.0/#sec-isconstructor + +module.exports = function IsConstructor(argument) { + return typeof argument === 'function' && !!argument.prototype; // unfortunately there's no way to truly check this without try/catch `new argument` +}; -/* (ignored) */ /***/ }), /* 251 */ @@ -20746,294 +21037,26 @@ module.exports = function shimTrimRight() { "use strict"; -var GetIntrinsic = __webpack_require__(59); +var GetIntrinsic = __webpack_require__(46); -var keys = __webpack_require__(89); -var inspect = __webpack_require__(128); +var $Math = GetIntrinsic('%Math%'); -var ES2017 = __webpack_require__(252); -var assign = __webpack_require__(90); -var forEach = __webpack_require__(130); -var callBind = __webpack_require__(101); -var every = __webpack_require__(131); -var isPrefixOf = __webpack_require__(163); +var $floor = $Math.floor; +var $abs = $Math.abs; -var $String = GetIntrinsic('%String%'); -var $TypeError = GetIntrinsic('%TypeError%'); +var $isNaN = __webpack_require__(130); +var $isFinite = __webpack_require__(155); -var callBound = __webpack_require__(74); -var regexTester = __webpack_require__(162); -var $isNaN = __webpack_require__(129); +// https://www.ecma-international.org/ecma-262/6.0/#sec-isinteger -var $SymbolValueOf = callBound('Symbol.prototype.valueOf', true); -// var $charAt = callBound('String.prototype.charAt'); -var $strSlice = callBound('String.prototype.slice'); -var $indexOf = callBound('String.prototype.indexOf'); -var $parseInt = parseInt; - -var isDigit = regexTester(/^[0-9]$/); - -var $PromiseResolve = callBound('Promise.resolve', true); - -var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); -var $pushApply = callBind.apply(GetIntrinsic('%Array.prototype.push%')); -var $gOPS = $SymbolValueOf ? GetIntrinsic('%Object.getOwnPropertySymbols%') : null; - -var padTimeComponent = function padTimeComponent(c, count) { - return $strSlice('00' + c, -(count || 2)); -}; - -var weekdays = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']; -var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; - -var OwnPropertyKeys = function OwnPropertyKeys(ES, source) { - var ownKeys = keys(source); - if ($gOPS) { - $pushApply(ownKeys, $gOPS(source)); +module.exports = function IsInteger(argument) { + if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) { + return false; } - return ownKeys; + var abs = $abs(argument); + return $floor(abs) === abs; }; -var ES2018 = assign(assign({}, ES2017), { - EnumerableOwnPropertyNames: ES2017.EnumerableOwnProperties, - - // https://ecma-international.org/ecma-262/9.0/#sec-thissymbolvalue - thisSymbolValue: function thisSymbolValue(value) { - if (!$SymbolValueOf) { - throw new SyntaxError('Symbols are not supported; thisSymbolValue requires that `value` be a Symbol or a Symbol object'); - } - if (this.Type(value) === 'Symbol') { - return value; - } - return $SymbolValueOf(value); - }, - - // https://www.ecma-international.org/ecma-262/9.0/#sec-isstringprefix - IsStringPrefix: function IsStringPrefix(p, q) { - if (this.Type(p) !== 'String') { - throw new TypeError('Assertion failed: "p" must be a String'); - } - - if (this.Type(q) !== 'String') { - throw new TypeError('Assertion failed: "q" must be a String'); - } - - return isPrefixOf(p, q); - /* - if (p === q || p === '') { - return true; - } - - var pLength = p.length; - var qLength = q.length; - if (pLength >= qLength) { - return false; - } - - // assert: pLength < qLength - - for (var i = 0; i < pLength; i += 1) { - if ($charAt(p, i) !== $charAt(q, i)) { - return false; - } - } - return true; - */ - }, - - // https://www.ecma-international.org/ecma-262/9.0/#sec-tostring-applied-to-the-number-type - NumberToString: function NumberToString(m) { - if (this.Type(m) !== 'Number') { - throw new TypeError('Assertion failed: "m" must be a String'); - } - - return $String(m); - }, - - // https://www.ecma-international.org/ecma-262/9.0/#sec-copydataproperties - CopyDataProperties: function CopyDataProperties(target, source, excludedItems) { - if (this.Type(target) !== 'Object') { - throw new TypeError('Assertion failed: "target" must be an Object'); - } - - if (!this.IsArray(excludedItems)) { - throw new TypeError('Assertion failed: "excludedItems" must be a List of Property Keys'); - } - for (var i = 0; i < excludedItems.length; i += 1) { - if (!this.IsPropertyKey(excludedItems[i])) { - throw new TypeError('Assertion failed: "excludedItems" must be a List of Property Keys'); - } - } - - if (typeof source === 'undefined' || source === null) { - return target; - } - - var ES = this; - - var fromObj = ES.ToObject(source); - - var sourceKeys = OwnPropertyKeys(ES, fromObj); - forEach(sourceKeys, function (nextKey) { - var excluded = false; - - forEach(excludedItems, function (e) { - if (ES.SameValue(e, nextKey) === true) { - excluded = true; - } - }); - - var enumerable = $isEnumerable(fromObj, nextKey) || ( - // this is to handle string keys being non-enumerable in older engines - typeof source === 'string' - && nextKey >= 0 - && ES.IsInteger(ES.ToNumber(nextKey)) - ); - if (excluded === false && enumerable) { - var propValue = ES.Get(fromObj, nextKey); - ES.CreateDataProperty(target, nextKey, propValue); - } - }); - - return target; - }, - - // https://ecma-international.org/ecma-262/9.0/#sec-promise-resolve - PromiseResolve: function PromiseResolve(C, x) { - if (!$PromiseResolve) { - throw new SyntaxError('This environment does not support Promises.'); - } - return $PromiseResolve(C, x); - }, - - // http://www.ecma-international.org/ecma-262/9.0/#sec-getsubstitution - // eslint-disable-next-line max-statements, max-params, max-lines-per-function - GetSubstitution: function GetSubstitution(matched, str, position, captures, namedCaptures, replacement) { - if (this.Type(matched) !== 'String') { - throw new $TypeError('Assertion failed: `matched` must be a String'); - } - var matchLength = matched.length; - - if (this.Type(str) !== 'String') { - throw new $TypeError('Assertion failed: `str` must be a String'); - } - var stringLength = str.length; - - if (!this.IsInteger(position) || position < 0 || position > stringLength) { - throw new $TypeError('Assertion failed: `position` must be a nonnegative integer, and less than or equal to the length of `string`, got ' + inspect(position)); - } - - var ES = this; - var isStringOrHole = function (capture, index, arr) { return ES.Type(capture) === 'String' || !(index in arr); }; - if (!this.IsArray(captures) || !every(captures, isStringOrHole)) { - throw new $TypeError('Assertion failed: `captures` must be a List of Strings, got ' + inspect(captures)); - } - - if (this.Type(replacement) !== 'String') { - throw new $TypeError('Assertion failed: `replacement` must be a String'); - } - - var tailPos = position + matchLength; - var m = captures.length; - if (this.Type(namedCaptures) !== 'Undefined') { - namedCaptures = this.ToObject(namedCaptures); // eslint-disable-line no-param-reassign - } - - var result = ''; - for (var i = 0; i < replacement.length; i += 1) { - // if this is a $, and it's not the end of the replacement - var current = replacement[i]; - var isLast = (i + 1) >= replacement.length; - var nextIsLast = (i + 2) >= replacement.length; - if (current === '$' && !isLast) { - var next = replacement[i + 1]; - if (next === '$') { - result += '$'; - i += 1; - } else if (next === '&') { - result += matched; - i += 1; - } else if (next === '`') { - result += position === 0 ? '' : $strSlice(str, 0, position - 1); - i += 1; - } else if (next === "'") { - result += tailPos >= stringLength ? '' : $strSlice(str, tailPos); - i += 1; - } else { - var nextNext = nextIsLast ? null : replacement[i + 2]; - if (isDigit(next) && next !== '0' && (nextIsLast || !isDigit(nextNext))) { - // $1 through $9, and not followed by a digit - var n = $parseInt(next, 10); - // if (n > m, impl-defined) - result += (n <= m && this.Type(captures[n - 1]) === 'Undefined') ? '' : captures[n - 1]; - i += 1; - } else if (isDigit(next) && (nextIsLast || isDigit(nextNext))) { - // $00 through $99 - var nn = next + nextNext; - var nnI = $parseInt(nn, 10) - 1; - // if nn === '00' or nn > m, impl-defined - result += (nn <= m && this.Type(captures[nnI]) === 'Undefined') ? '' : captures[nnI]; - i += 2; - } else if (next === '<') { - // eslint-disable-next-line max-depth - if (this.Type(namedCaptures) === 'Undefined') { - result += '$<'; - i += 2; - } else { - var endIndex = $indexOf(replacement, '>', i); - // eslint-disable-next-line max-depth - if (endIndex > -1) { - var groupName = $strSlice(replacement, i, endIndex); - var capture = this.Get(namedCaptures, groupName); - // eslint-disable-next-line max-depth - if (this.Type(capture) !== 'Undefined') { - result += this.ToString(capture); - } - i += '$<' + groupName + '>'.length; - } - } - } else { - result += '$'; - } - } - } else { - // the final $, or else not a $ - result += replacement[i]; - } - } - return result; - }, - - // https://www.ecma-international.org/ecma-262/9.0/#sec-datestring - DateString: function DateString(tv) { - if (this.Type(tv) !== 'Number' || $isNaN(tv)) { - throw new $TypeError('Assertion failed: `tv` must be a non-NaN Number'); - } - var weekday = weekdays[this.WeekDay(tv)]; - var month = months[this.MonthFromTime(tv)]; - var day = padTimeComponent(this.DateFromTime(tv)); - var year = padTimeComponent(this.YearFromTime(tv), 4); - return weekday + '\x20' + month + '\x20' + day + '\x20' + year; - }, - - // https://www.ecma-international.org/ecma-262/9.0/#sec-timestring - TimeString: function TimeString(tv) { - if (this.Type(tv) !== 'Number' || $isNaN(tv)) { - throw new $TypeError('Assertion failed: `tv` must be a non-NaN Number'); - } - var hour = this.HourFromTime(tv); - var minute = this.MinFromTime(tv); - var second = this.SecFromTime(tv); - return padTimeComponent(hour) + ':' + padTimeComponent(minute) + ':' + padTimeComponent(second) + '\x20GMT'; - } -}); - -delete ES2018.EnumerableOwnProperties; // replaced with EnumerableOwnPropertyNames - -delete ES2018.IsPropertyDescriptor; // not an actual abstract operation - -module.exports = ES2018; - /***/ }), /* 252 */ @@ -21042,75 +21065,62 @@ module.exports = ES2018; "use strict"; -var GetIntrinsic = __webpack_require__(59); - -var ES2016 = __webpack_require__(253); -var assign = __webpack_require__(90); -var forEach = __webpack_require__(130); -var callBind = __webpack_require__(101); +var GetIntrinsic = __webpack_require__(46); var $TypeError = GetIntrinsic('%TypeError%'); -var callBound = __webpack_require__(74); -var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); -var $pushApply = callBind.apply(GetIntrinsic('%Array.prototype.push%')); -var $arrayPush = callBound('Array.prototype.push'); -var ES2017 = assign(assign({}, ES2016), { - ToIndex: function ToIndex(value) { - if (typeof value === 'undefined') { - return 0; - } - var integerIndex = this.ToInteger(value); - if (integerIndex < 0) { - throw new RangeError('index must be >= 0'); - } - var index = this.ToLength(integerIndex); - if (!this.SameValueZero(integerIndex, index)) { - throw new RangeError('index must be >= 0 and < 2 ** 53 - 1'); - } - return index; - }, +var MAX_SAFE_INTEGER = __webpack_require__(156); - // https://www.ecma-international.org/ecma-262/8.0/#sec-enumerableownproperties - EnumerableOwnProperties: function EnumerableOwnProperties(O, kind) { - var keys = ES2016.EnumerableOwnNames(O); - if (kind === 'key') { - return keys; - } - if (kind === 'value' || kind === 'key+value') { - var results = []; - forEach(keys, function (key) { - if ($isEnumerable(O, key)) { - $pushApply(results, [ - kind === 'value' ? O[key] : [key, O[key]] - ]); +var Call = __webpack_require__(253); +var CreateDataPropertyOrThrow = __webpack_require__(255); +var Get = __webpack_require__(128); +var HasProperty = __webpack_require__(262); +var IsArray = __webpack_require__(154); +var ToLength = __webpack_require__(160); +var ToString = __webpack_require__(272); + +// https://ecma-international.org/ecma-262/10.0/#sec-flattenintoarray + +// eslint-disable-next-line max-params, max-statements +module.exports = function FlattenIntoArray(target, source, sourceLen, start, depth) { + var mapperFunction; + if (arguments.length > 5) { + mapperFunction = arguments[5]; + } + + var targetIndex = start; + var sourceIndex = 0; + while (sourceIndex < sourceLen) { + var P = ToString(sourceIndex); + var exists = HasProperty(source, P); + if (exists === true) { + var element = Get(source, P); + if (typeof mapperFunction !== 'undefined') { + if (arguments.length <= 6) { + throw new $TypeError('Assertion failed: thisArg is required when mapperFunction is provided'); } - }); - return results; - } - throw new $TypeError('Assertion failed: "kind" is not "key", "value", or "key+value": ' + kind); - }, - - // https://www.ecma-international.org/ecma-262/8.0/#sec-iterabletolist - IterableToList: function IterableToList(items, method) { - var iterator = this.GetIterator(items, method); - var values = []; - var next = true; - while (next) { - next = this.IteratorStep(iterator); - if (next) { - var nextValue = this.IteratorValue(next); - $arrayPush(values, nextValue); + element = Call(mapperFunction, arguments[6], [element, sourceIndex, source]); + } + var shouldFlatten = false; + if (depth > 0) { + shouldFlatten = IsArray(element); + } + if (shouldFlatten) { + var elementLen = ToLength(Get(element, 'length')); + targetIndex = FlattenIntoArray(target, element, elementLen, targetIndex, depth - 1); + } else { + if (targetIndex >= MAX_SAFE_INTEGER) { + throw new $TypeError('index too large'); + } + CreateDataPropertyOrThrow(target, ToString(targetIndex), element); + targetIndex += 1; } } - return values; + sourceIndex += 1; } -}); -delete ES2017.EnumerableOwnNames; // replaced with EnumerableOwnProperties -delete ES2017.IterableToArrayLike; // replaced with IterableToList - -module.exports = ES2017; + return targetIndex; +}; /***/ }), @@ -21120,81 +21130,23 @@ module.exports = ES2017; "use strict"; -var hasSymbols = __webpack_require__(99)(); +var GetIntrinsic = __webpack_require__(46); -var ES2015 = __webpack_require__(254); -var assign = __webpack_require__(90); +var $TypeError = GetIntrinsic('%TypeError%'); -var callBound = __webpack_require__(74); +var inspect = __webpack_require__(153); -var $arrayPush = callBound('Array.prototype.push'); -var $arraySlice = callBound('Array.prototype.slice'); -var $arrayJoin = callBound('Array.prototype.join'); +var IsCallable = __webpack_require__(254); -var ES2016 = assign(assign({}, ES2015), { - // https://www.ecma-international.org/ecma-262/7.0/#sec-samevaluenonnumber - SameValueNonNumber: function SameValueNonNumber(x, y) { - if (typeof x === 'number' || typeof x !== typeof y) { - throw new TypeError('SameValueNonNumber requires two non-number values of the same type.'); - } - return this.SameValue(x, y); - }, +// https://www.ecma-international.org/ecma-262/6.0/#sec-call - // https://www.ecma-international.org/ecma-262/7.0/#sec-iterabletoarraylike - IterableToArrayLike: function IterableToArrayLike(items) { - var usingIterator; - if (hasSymbols) { - usingIterator = this.GetMethod(items, Symbol.iterator); - } else if (this.IsArray(items)) { - usingIterator = function () { - var i = -1; - var arr = this; // eslint-disable-line no-invalid-this - return { - next: function () { - i += 1; - return { - done: i >= arr.length, - value: arr[i] - }; - } - }; - }; - } else if (this.Type(items) === 'String') { - var ES = this; - usingIterator = function () { - var i = 0; - return { - next: function () { - var nextIndex = ES.AdvanceStringIndex(items, i, true); - var value = $arrayJoin($arraySlice(items, i, nextIndex), ''); - i = nextIndex; - return { - done: nextIndex > items.length, - value: value - }; - } - }; - }; - } - if (typeof usingIterator !== 'undefined') { - var iterator = this.GetIterator(items, usingIterator); - var values = []; - var next = true; - while (next) { - next = this.IteratorStep(iterator); - if (next) { - var nextValue = this.IteratorValue(next); - $arrayPush(values, nextValue); - } - } - return values; - } - - return this.ToObject(items); +module.exports = function Call(F, V) { + var args = arguments.length > 2 ? arguments[2] : []; + if (!IsCallable(F)) { + throw new $TypeError(inspect(F) + ' is not a function'); } -}); - -module.exports = ES2016; + return F.apply(V, args); +}; /***/ }), @@ -21204,91 +21156,114 @@ module.exports = ES2016; "use strict"; -var has = __webpack_require__(62); -var toPrimitive = __webpack_require__(153); -var keys = __webpack_require__(89); -var inspect = __webpack_require__(128); +// http://www.ecma-international.org/ecma-262/5.1/#sec-9.11 -var GetIntrinsic = __webpack_require__(59); +module.exports = __webpack_require__(157); + + +/***/ }), +/* 255 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(46); var $TypeError = GetIntrinsic('%TypeError%'); -var $RangeError = GetIntrinsic('%RangeError%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $Array = GetIntrinsic('%Array%'); -var $ArrayPrototype = $Array.prototype; -var $String = GetIntrinsic('%String%'); -var $Object = GetIntrinsic('%Object%'); -var $Number = GetIntrinsic('%Number%'); -var $Symbol = GetIntrinsic('%Symbol%', true); -var $RegExp = GetIntrinsic('%RegExp%'); -var $Date = GetIntrinsic('%Date%'); -var $preventExtensions = $Object.preventExtensions; -var hasSymbols = __webpack_require__(99)(); +var CreateDataProperty = __webpack_require__(256); +var IsPropertyKey = __webpack_require__(100); +var Type = __webpack_require__(73); -var assertRecord = __webpack_require__(156); -var $isNaN = __webpack_require__(129); -var $isFinite = __webpack_require__(157); -var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1; -var MAX_SAFE_INTEGER = __webpack_require__(158); +// // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow -var assign = __webpack_require__(90); -var sign = __webpack_require__(159); -var mod = __webpack_require__(160); -var isPrimitive = __webpack_require__(257); -var forEach = __webpack_require__(130); -var every = __webpack_require__(131); -var isSamePropertyDescriptor = __webpack_require__(258); -var isPropertyDescriptor = __webpack_require__(161); -var parseInteger = parseInt; -var callBound = __webpack_require__(74); -var regexTester = __webpack_require__(162); +module.exports = function CreateDataPropertyOrThrow(O, P, V) { + if (Type(O) !== 'Object') { + throw new $TypeError('Assertion failed: Type(O) is not Object'); + } + if (!IsPropertyKey(P)) { + throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); + } + var success = CreateDataProperty(O, P, V); + if (!success) { + throw new $TypeError('unable to create data property'); + } + return success; +}; -var $PromiseThen = callBound('Promise.prototype.then', true); -var arraySlice = callBound('Array.prototype.slice'); -var strSlice = callBound('String.prototype.slice'); -var isBinary = regexTester(/^0b[01]+$/i); -var isOctal = regexTester(/^0o[0-7]+$/i); -var isDigit = regexTester(/^[0-9]$/); -var regexExec = callBound('RegExp.prototype.exec'); -var nonWS = ['\u0085', '\u200b', '\ufffe'].join(''); -var nonWSregex = new $RegExp('[' + nonWS + ']', 'g'); -var hasNonWS = regexTester(nonWSregex); -var isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i); -var $charCodeAt = callBound('String.prototype.charCodeAt'); +/***/ }), +/* 256 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(46); + +var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%'); +var $TypeError = GetIntrinsic('%TypeError%'); + +var DefineOwnProperty = __webpack_require__(257); + +var FromPropertyDescriptor = __webpack_require__(258); +var IsDataDescriptor = __webpack_require__(259); +var IsExtensible = __webpack_require__(260); +var IsPropertyKey = __webpack_require__(100); +var SameValue = __webpack_require__(261); +var Type = __webpack_require__(73); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-createdataproperty + +module.exports = function CreateDataProperty(O, P, V) { + if (Type(O) !== 'Object') { + throw new $TypeError('Assertion failed: Type(O) is not Object'); + } + if (!IsPropertyKey(P)) { + throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); + } + var oldDesc = $gOPD(O, P); + var extensible = oldDesc || IsExtensible(O); + var immutable = oldDesc && (!oldDesc.writable || !oldDesc.configurable); + if (immutable || !extensible) { + return false; + } + return DefineOwnProperty( + IsDataDescriptor, + SameValue, + FromPropertyDescriptor, + O, + P, + { + '[[Configurable]]': true, + '[[Enumerable]]': true, + '[[Value]]': V, + '[[Writable]]': true + } + ); +}; + + +/***/ }), +/* 257 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(46); + +var $defineProperty = GetIntrinsic('%Object.defineProperty%'); + +var callBound = __webpack_require__(129); + var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); -var toStr = callBound('Object.prototype.toString'); - -var $NumberValueOf = callBound('Number.prototype.valueOf'); -var $BooleanValueOf = callBound('Boolean.prototype.valueOf'); -var $StringValueOf = callBound('String.prototype.valueOf'); -var $DateValueOf = callBound('Date.prototype.valueOf'); -var $SymbolToString = callBound('Symbol.prototype.toString', true); - -var $floor = Math.floor; -var $abs = Math.abs; - -var $ObjectCreate = $Object.create; -var $gOPD = $Object.getOwnPropertyDescriptor; -var $gOPN = $Object.getOwnPropertyNames; -var $gOPS = $Object.getOwnPropertySymbols; -var $isExtensible = $Object.isExtensible; -var $defineProperty = $Object.defineProperty; -var $setProto = Object.setPrototypeOf || ( - // eslint-disable-next-line no-proto, no-negated-condition - [].__proto__ !== Array.prototype - ? null - : function (O, proto) { - O.__proto__ = proto; // eslint-disable-line no-proto - return O; - } -); - -var DefineOwnProperty = function DefineOwnProperty(ES, O, P, desc) { +// eslint-disable-next-line max-params +module.exports = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) { if (!$defineProperty) { - if (!ES.IsDataDescriptor(desc)) { + if (!IsDataDescriptor(desc)) { // ES3 does not support getters/setters return false; } @@ -21304,13 +21279,243 @@ var DefineOwnProperty = function DefineOwnProperty(ES, O, P, desc) { // property does not exist at all, or exists but is enumerable var V = desc['[[Value]]']; + // eslint-disable-next-line no-param-reassign O[P] = V; // will use [[Define]] - return ES.SameValue(O[P], V); + return SameValue(O[P], V); } - $defineProperty(O, P, ES.FromPropertyDescriptor(desc)); + $defineProperty(O, P, FromPropertyDescriptor(desc)); return true; }; + +/***/ }), +/* 258 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var assertRecord = __webpack_require__(158); + +var Type = __webpack_require__(73); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor + +module.exports = function FromPropertyDescriptor(Desc) { + if (typeof Desc === 'undefined') { + return Desc; + } + + assertRecord(Type, 'Property Descriptor', 'Desc', Desc); + + var obj = {}; + if ('[[Value]]' in Desc) { + obj.value = Desc['[[Value]]']; + } + if ('[[Writable]]' in Desc) { + obj.writable = Desc['[[Writable]]']; + } + if ('[[Get]]' in Desc) { + obj.get = Desc['[[Get]]']; + } + if ('[[Set]]' in Desc) { + obj.set = Desc['[[Set]]']; + } + if ('[[Enumerable]]' in Desc) { + obj.enumerable = Desc['[[Enumerable]]']; + } + if ('[[Configurable]]' in Desc) { + obj.configurable = Desc['[[Configurable]]']; + } + return obj; +}; + + +/***/ }), +/* 259 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var has = __webpack_require__(74); + +var assertRecord = __webpack_require__(158); + +var Type = __webpack_require__(73); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor + +module.exports = function IsDataDescriptor(Desc) { + if (typeof Desc === 'undefined') { + return false; + } + + assertRecord(Type, 'Property Descriptor', 'Desc', Desc); + + if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) { + return false; + } + + return true; +}; + + +/***/ }), +/* 260 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(46); + +var $Object = GetIntrinsic('%Object%'); + +var isPrimitive = __webpack_require__(159); + +var $preventExtensions = $Object.preventExtensions; +var $isExtensible = $Object.isExtensible; + +// https://www.ecma-international.org/ecma-262/6.0/#sec-isextensible-o + +module.exports = $preventExtensions + ? function IsExtensible(obj) { + return !isPrimitive(obj) && $isExtensible(obj); + } + : function IsExtensible(obj) { // eslint-disable-line no-unused-vars + return true; + }; + + +/***/ }), +/* 261 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var $isNaN = __webpack_require__(130); + +// http://www.ecma-international.org/ecma-262/5.1/#sec-9.12 + +module.exports = function SameValue(x, y) { + if (x === y) { // 0 === -0, but they are not identical. + if (x === 0) { return 1 / x === 1 / y; } + return true; + } + return $isNaN(x) && $isNaN(y); +}; + + +/***/ }), +/* 262 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(46); + +var $TypeError = GetIntrinsic('%TypeError%'); + +var IsPropertyKey = __webpack_require__(100); +var Type = __webpack_require__(73); + +// https://ecma-international.org/ecma-262/6.0/#sec-hasproperty + +module.exports = function HasProperty(O, P) { + if (Type(O) !== 'Object') { + throw new $TypeError('Assertion failed: `O` must be an Object'); + } + if (!IsPropertyKey(P)) { + throw new $TypeError('Assertion failed: `P` must be a Property Key'); + } + return P in O; +}; + + +/***/ }), +/* 263 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(46); + +var $Math = GetIntrinsic('%Math%'); + +var ToNumber = __webpack_require__(264); +var $isNaN = __webpack_require__(130); +var $isFinite = __webpack_require__(155); +var $sign = __webpack_require__(265); + +var $floor = $Math.floor; +var $abs = $Math.abs; + +// http://www.ecma-international.org/ecma-262/5.1/#sec-9.4 + +module.exports = function ToInteger(value) { + var number = ToNumber(value); + if ($isNaN(number)) { return 0; } + if (number === 0 || !$isFinite(number)) { return number; } + return $sign(number) * $floor($abs(number)); +}; + + +/***/ }), +/* 264 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +// http://www.ecma-international.org/ecma-262/5.1/#sec-9.3 + +module.exports = function ToNumber(value) { + return +value; // eslint-disable-line no-implicit-coercion +}; + + +/***/ }), +/* 265 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +module.exports = function sign(number) { + return number >= 0 ? 1 : -1; +}; + + +/***/ }), +/* 266 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(46); + +var $TypeError = GetIntrinsic('%TypeError%'); +var $Number = GetIntrinsic('%Number%'); +var $RegExp = GetIntrinsic('%RegExp%'); +var $parseInteger = GetIntrinsic('%parseInt%'); + +var callBound = __webpack_require__(129); +var regexTester = __webpack_require__(267); +var isPrimitive = __webpack_require__(159); + +var $strSlice = callBound('String.prototype.slice'); +var isBinary = regexTester(/^0b[01]+$/i); +var isOctal = regexTester(/^0o[0-7]+$/i); +var isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i); +var nonWS = ['\u0085', '\u200b', '\ufffe'].join(''); +var nonWSregex = new $RegExp('[' + nonWS + ']', 'g'); +var hasNonWS = regexTester(nonWSregex); + // whitespace from: https://es5.github.io/#x15.5.4.20 // implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324 var ws = [ @@ -21320,1287 +21525,76 @@ var ws = [ ].join(''); var trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g'); var $replace = callBound('String.prototype.replace'); -var trim = function (value) { +var $trim = function (value) { return $replace(value, trimRegex, ''); }; -var ES5 = __webpack_require__(259); +var ToPrimitive = __webpack_require__(268); -var hasRegExpMatcher = __webpack_require__(165); +// https://www.ecma-international.org/ecma-262/6.0/#sec-tonumber -// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-abstract-operations -var ES6 = assign(assign({}, ES5), { - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-call-f-v-args - Call: function Call(F, V) { - var args = arguments.length > 2 ? arguments[2] : []; - if (!this.IsCallable(F)) { - throw new $TypeError(inspect(F) + ' is not a function'); - } - return F.apply(V, args); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toprimitive - ToPrimitive: toPrimitive, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toboolean - // ToBoolean: ES5.ToBoolean, - - // https://ecma-international.org/ecma-262/6.0/#sec-tonumber - ToNumber: function ToNumber(argument) { - var value = isPrimitive(argument) ? argument : toPrimitive(argument, $Number); - if (typeof value === 'symbol') { - throw new $TypeError('Cannot convert a Symbol value to a number'); - } - if (typeof value === 'string') { - if (isBinary(value)) { - return this.ToNumber(parseInteger(strSlice(value, 2), 2)); - } else if (isOctal(value)) { - return this.ToNumber(parseInteger(strSlice(value, 2), 8)); - } else if (hasNonWS(value) || isInvalidHexLiteral(value)) { - return NaN; - } else { - var trimmed = trim(value); - if (trimmed !== value) { - return this.ToNumber(trimmed); - } - } - } - return $Number(value); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tointeger - // ToInteger: ES5.ToNumber, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toint32 - // ToInt32: ES5.ToInt32, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint32 - // ToUint32: ES5.ToUint32, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toint16 - ToInt16: function ToInt16(argument) { - var int16bit = this.ToUint16(argument); - return int16bit >= 0x8000 ? int16bit - 0x10000 : int16bit; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint16 - // ToUint16: ES5.ToUint16, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toint8 - ToInt8: function ToInt8(argument) { - var int8bit = this.ToUint8(argument); - return int8bit >= 0x80 ? int8bit - 0x100 : int8bit; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint8 - ToUint8: function ToUint8(argument) { - var number = this.ToNumber(argument); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = sign(number) * $floor($abs(number)); - return mod(posInt, 0x100); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint8clamp - ToUint8Clamp: function ToUint8Clamp(argument) { - var number = this.ToNumber(argument); - if ($isNaN(number) || number <= 0) { return 0; } - if (number >= 0xFF) { return 0xFF; } - var f = $floor(argument); - if (f + 0.5 < number) { return f + 1; } - if (number < f + 0.5) { return f; } - if (f % 2 !== 0) { return f + 1; } - return f; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tostring - ToString: function ToString(argument) { - if (typeof argument === 'symbol') { - throw new $TypeError('Cannot convert a Symbol value to a string'); - } - return $String(argument); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toobject - ToObject: function ToObject(value) { - this.RequireObjectCoercible(value); - return $Object(value); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-topropertykey - ToPropertyKey: function ToPropertyKey(argument) { - var key = this.ToPrimitive(argument, $String); - return typeof key === 'symbol' ? key : this.ToString(key); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength - ToLength: function ToLength(argument) { - var len = this.ToInteger(argument); - if (len <= 0) { return 0; } // includes converting -0 to +0 - if (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; } - return len; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-canonicalnumericindexstring - CanonicalNumericIndexString: function CanonicalNumericIndexString(argument) { - if (toStr(argument) !== '[object String]') { - throw new $TypeError('must be a string'); - } - if (argument === '-0') { return -0; } - var n = this.ToNumber(argument); - if (this.SameValue(this.ToString(n), argument)) { return n; } - return void 0; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-requireobjectcoercible - RequireObjectCoercible: ES5.CheckObjectCoercible, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isarray - IsArray: $Array.isArray || function IsArray(argument) { - return toStr(argument) === '[object Array]'; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-iscallable - // IsCallable: ES5.IsCallable, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isconstructor - IsConstructor: function IsConstructor(argument) { - return typeof argument === 'function' && !!argument.prototype; // unfortunately there's no way to truly check this without try/catch `new argument` - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isextensible-o - IsExtensible: $preventExtensions - ? function IsExtensible(obj) { - if (isPrimitive(obj)) { - return false; - } - return $isExtensible(obj); - } - : function isExtensible(obj) { return true; }, // eslint-disable-line no-unused-vars - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isinteger - IsInteger: function IsInteger(argument) { - if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) { - return false; - } - var abs = $abs(argument); - return $floor(abs) === abs; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ispropertykey - IsPropertyKey: function IsPropertyKey(argument) { - return typeof argument === 'string' || typeof argument === 'symbol'; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-isregexp - IsRegExp: function IsRegExp(argument) { - if (!argument || typeof argument !== 'object') { - return false; - } - if (hasSymbols) { - var isRegExp = argument[$Symbol.match]; - if (typeof isRegExp !== 'undefined') { - return ES5.ToBoolean(isRegExp); - } - } - return hasRegExpMatcher(argument); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevalue - // SameValue: ES5.SameValue, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero - SameValueZero: function SameValueZero(x, y) { - return (x === y) || ($isNaN(x) && $isNaN(y)); - }, - - /** - * 7.3.2 GetV (V, P) - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let O be ToObject(V). - * 3. ReturnIfAbrupt(O). - * 4. Return O.[[Get]](P, V). - */ - GetV: function GetV(V, P) { - // 7.3.2.1 - if (!this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.2.2-3 - var O = this.ToObject(V); - - // 7.3.2.4 - return O[P]; - }, - - /** - * 7.3.9 - https://ecma-international.org/ecma-262/6.0/#sec-getmethod - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let func be GetV(O, P). - * 3. ReturnIfAbrupt(func). - * 4. If func is either undefined or null, return undefined. - * 5. If IsCallable(func) is false, throw a TypeError exception. - * 6. Return func. - */ - GetMethod: function GetMethod(O, P) { - // 7.3.9.1 - if (!this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.9.2 - var func = this.GetV(O, P); - - // 7.3.9.4 - if (func == null) { - return void 0; - } - - // 7.3.9.5 - if (!this.IsCallable(func)) { - throw new $TypeError(P + 'is not a function'); - } - - // 7.3.9.6 - return func; - }, - - /** - * 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p - * 1. Assert: Type(O) is Object. - * 2. Assert: IsPropertyKey(P) is true. - * 3. Return O.[[Get]](P, O). - */ - Get: function Get(O, P) { - // 7.3.1.1 - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - // 7.3.1.2 - if (!this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P)); - } - // 7.3.1.3 - return O[P]; - }, - - Type: function Type(x) { - if (typeof x === 'symbol') { - return 'Symbol'; - } - return ES5.Type(x); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-speciesconstructor - SpeciesConstructor: function SpeciesConstructor(O, defaultConstructor) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - var C = O.constructor; - if (typeof C === 'undefined') { - return defaultConstructor; - } - if (this.Type(C) !== 'Object') { - throw new $TypeError('O.constructor is not an Object'); - } - var S = hasSymbols && $Symbol.species ? C[$Symbol.species] : void 0; - if (S == null) { - return defaultConstructor; - } - if (this.IsConstructor(S)) { - return S; - } - throw new $TypeError('no constructor found'); - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor - FromPropertyDescriptor: function FromPropertyDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return Desc; - } - - assertRecord(this, 'Property Descriptor', 'Desc', Desc); - - var obj = {}; - if ('[[Value]]' in Desc) { - obj.value = Desc['[[Value]]']; - } - if ('[[Writable]]' in Desc) { - obj.writable = Desc['[[Writable]]']; - } - if ('[[Get]]' in Desc) { - obj.get = Desc['[[Get]]']; - } - if ('[[Set]]' in Desc) { - obj.set = Desc['[[Set]]']; - } - if ('[[Enumerable]]' in Desc) { - obj.enumerable = Desc['[[Enumerable]]']; - } - if ('[[Configurable]]' in Desc) { - obj.configurable = Desc['[[Configurable]]']; - } - return obj; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-completepropertydescriptor - CompletePropertyDescriptor: function CompletePropertyDescriptor(Desc) { - assertRecord(this, 'Property Descriptor', 'Desc', Desc); - - if (this.IsGenericDescriptor(Desc) || this.IsDataDescriptor(Desc)) { - if (!has(Desc, '[[Value]]')) { - Desc['[[Value]]'] = void 0; - } - if (!has(Desc, '[[Writable]]')) { - Desc['[[Writable]]'] = false; - } - } else { - if (!has(Desc, '[[Get]]')) { - Desc['[[Get]]'] = void 0; - } - if (!has(Desc, '[[Set]]')) { - Desc['[[Set]]'] = void 0; - } - } - if (!has(Desc, '[[Enumerable]]')) { - Desc['[[Enumerable]]'] = false; - } - if (!has(Desc, '[[Configurable]]')) { - Desc['[[Configurable]]'] = false; - } - return Desc; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-set-o-p-v-throw - Set: function Set(O, P, V, Throw) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('O must be an Object'); - } - if (!this.IsPropertyKey(P)) { - throw new $TypeError('P must be a Property Key'); - } - if (this.Type(Throw) !== 'Boolean') { - throw new $TypeError('Throw must be a Boolean'); - } - if (Throw) { - O[P] = V; - return true; - } else { - try { - O[P] = V; - } catch (e) { - return false; - } - } - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-hasownproperty - HasOwnProperty: function HasOwnProperty(O, P) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('O must be an Object'); - } - if (!this.IsPropertyKey(P)) { - throw new $TypeError('P must be a Property Key'); - } - return has(O, P); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-hasproperty - HasProperty: function HasProperty(O, P) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('O must be an Object'); - } - if (!this.IsPropertyKey(P)) { - throw new $TypeError('P must be a Property Key'); - } - return P in O; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-isconcatspreadable - IsConcatSpreadable: function IsConcatSpreadable(O) { - if (this.Type(O) !== 'Object') { - return false; - } - if (hasSymbols && typeof $Symbol.isConcatSpreadable === 'symbol') { - var spreadable = this.Get(O, Symbol.isConcatSpreadable); - if (typeof spreadable !== 'undefined') { - return this.ToBoolean(spreadable); - } - } - return this.IsArray(O); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-invoke - Invoke: function Invoke(O, P) { - if (!this.IsPropertyKey(P)) { - throw new $TypeError('P must be a Property Key'); - } - var argumentsList = arraySlice(arguments, 2); - var func = this.GetV(O, P); - return this.Call(func, O, argumentsList); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-getiterator - GetIterator: function GetIterator(obj, method) { - var actualMethod = method; - if (arguments.length < 2) { - if (!hasSymbols) { - throw new SyntaxError('GetIterator depends on native Symbol support when `method` is not passed'); - } - actualMethod = this.GetMethod(obj, $Symbol.iterator); - } - var iterator = this.Call(actualMethod, obj); - if (this.Type(iterator) !== 'Object') { - throw new $TypeError('iterator must return an object'); - } - - return iterator; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-iteratornext - IteratorNext: function IteratorNext(iterator, value) { - var result = this.Invoke(iterator, 'next', arguments.length < 2 ? [] : [value]); - if (this.Type(result) !== 'Object') { - throw new $TypeError('iterator next must return an object'); - } - return result; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-iteratorcomplete - IteratorComplete: function IteratorComplete(iterResult) { - if (this.Type(iterResult) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterResult) is not Object'); - } - return this.ToBoolean(this.Get(iterResult, 'done')); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-iteratorvalue - IteratorValue: function IteratorValue(iterResult) { - if (this.Type(iterResult) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterResult) is not Object'); - } - return this.Get(iterResult, 'value'); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-iteratorstep - IteratorStep: function IteratorStep(iterator) { - var result = this.IteratorNext(iterator); - var done = this.IteratorComplete(result); - return done === true ? false : result; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-iteratorclose - IteratorClose: function IteratorClose(iterator, completion) { - if (this.Type(iterator) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterator) is not Object'); - } - if (!this.IsCallable(completion)) { - throw new $TypeError('Assertion failed: completion is not a thunk for a Completion Record'); - } - var completionThunk = completion; - - var iteratorReturn = this.GetMethod(iterator, 'return'); - - if (typeof iteratorReturn === 'undefined') { - return completionThunk(); - } - - var completionRecord; - try { - var innerResult = this.Call(iteratorReturn, iterator, []); - } catch (e) { - // if we hit here, then "e" is the innerResult completion that needs re-throwing - - // if the completion is of type "throw", this will throw. - completionRecord = completionThunk(); - completionThunk = null; // ensure it's not called twice. - - // if not, then return the innerResult completion - throw e; - } - completionRecord = completionThunk(); // if innerResult worked, then throw if the completion does - completionThunk = null; // ensure it's not called twice. - - if (this.Type(innerResult) !== 'Object') { - throw new $TypeError('iterator .return must return an object'); - } - - return completionRecord; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-createiterresultobject - CreateIterResultObject: function CreateIterResultObject(value, done) { - if (this.Type(done) !== 'Boolean') { - throw new $TypeError('Assertion failed: Type(done) is not Boolean'); - } - return { - value: value, - done: done - }; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-regexpexec - RegExpExec: function RegExpExec(R, S) { - if (this.Type(R) !== 'Object') { - throw new $TypeError('R must be an Object'); - } - if (this.Type(S) !== 'String') { - throw new $TypeError('S must be a String'); - } - var exec = this.Get(R, 'exec'); - if (this.IsCallable(exec)) { - var result = this.Call(exec, R, [S]); - if (result === null || this.Type(result) === 'Object') { - return result; - } - throw new $TypeError('"exec" method must return `null` or an Object'); - } - return regexExec(R, S); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-arrayspeciescreate - ArraySpeciesCreate: function ArraySpeciesCreate(originalArray, length) { - if (!this.IsInteger(length) || length < 0) { - throw new $TypeError('Assertion failed: length must be an integer >= 0'); - } - var len = length === 0 ? 0 : length; - var C; - var isArray = this.IsArray(originalArray); - if (isArray) { - C = this.Get(originalArray, 'constructor'); - // TODO: figure out how to make a cross-realm normal Array, a same-realm Array - // if (this.IsConstructor(C)) { - // if C is another realm's Array, C = undefined - // Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ? - // } - if (this.Type(C) === 'Object' && hasSymbols && $Symbol.species) { - C = this.Get(C, $Symbol.species); - if (C === null) { - C = void 0; - } - } - } - if (typeof C === 'undefined') { - return $Array(len); - } - if (!this.IsConstructor(C)) { - throw new $TypeError('C must be a constructor'); - } - return new C(len); // this.Construct(C, len); - }, - - CreateDataProperty: function CreateDataProperty(O, P, V) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - var oldDesc = $gOPD(O, P); - var extensible = oldDesc || this.IsExtensible(O); - var immutable = oldDesc && (!oldDesc.writable || !oldDesc.configurable); - if (immutable || !extensible) { - return false; - } - return DefineOwnProperty(this, O, P, { - '[[Configurable]]': true, - '[[Enumerable]]': true, - '[[Value]]': V, - '[[Writable]]': true - }); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow - CreateDataPropertyOrThrow: function CreateDataPropertyOrThrow(O, P, V) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - var success = this.CreateDataProperty(O, P, V); - if (!success) { - throw new $TypeError('unable to create data property'); - } - return success; - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-objectcreate - ObjectCreate: function ObjectCreate(proto, internalSlotsList) { - if (proto !== null && this.Type(proto) !== 'Object') { - throw new $TypeError('Assertion failed: proto must be null or an object'); - } - var slots = arguments.length < 2 ? [] : internalSlotsList; - if (slots.length > 0) { - throw new $SyntaxError('es-abstract does not yet support internal slots'); - } - - if (proto === null && !$ObjectCreate) { - throw new $SyntaxError('native Object.create support is required to create null objects'); - } - - return $ObjectCreate(proto); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-advancestringindex - AdvanceStringIndex: function AdvanceStringIndex(S, index, unicode) { - if (this.Type(S) !== 'String') { - throw new $TypeError('S must be a String'); - } - if (!this.IsInteger(index) || index < 0 || index > MAX_SAFE_INTEGER) { - throw new $TypeError('Assertion failed: length must be an integer >= 0 and <= 2**53'); - } - if (this.Type(unicode) !== 'Boolean') { - throw new $TypeError('Assertion failed: unicode must be a Boolean'); - } - if (!unicode) { - return index + 1; - } - var length = S.length; - if ((index + 1) >= length) { - return index + 1; - } - - var first = $charCodeAt(S, index); - if (first < 0xD800 || first > 0xDBFF) { - return index + 1; - } - - var second = $charCodeAt(S, index + 1); - if (second < 0xDC00 || second > 0xDFFF) { - return index + 1; - } - - return index + 2; - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-createmethodproperty - CreateMethodProperty: function CreateMethodProperty(O, P, V) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - var newDesc = { - '[[Configurable]]': true, - '[[Enumerable]]': false, - '[[Value]]': V, - '[[Writable]]': true - }; - return DefineOwnProperty(this, O, P, newDesc); - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-definepropertyorthrow - DefinePropertyOrThrow: function DefinePropertyOrThrow(O, P, desc) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - var Desc = isPropertyDescriptor(this, desc) ? desc : this.ToPropertyDescriptor(desc); - if (!isPropertyDescriptor(this, Desc)) { - throw new $TypeError('Assertion failed: Desc is not a valid Property Descriptor'); - } - - return DefineOwnProperty(this, O, P, Desc); - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-deletepropertyorthrow - DeletePropertyOrThrow: function DeletePropertyOrThrow(O, P) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - var success = delete O[P]; - if (!success) { - throw new TypeError('Attempt to delete property failed.'); - } - return success; - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-enumerableownnames - EnumerableOwnNames: function EnumerableOwnNames(O) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - return keys(O); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-number-prototype-object - thisNumberValue: function thisNumberValue(value) { - if (this.Type(value) === 'Number') { - return value; - } - - return $NumberValueOf(value); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-boolean-prototype-object - thisBooleanValue: function thisBooleanValue(value) { - if (this.Type(value) === 'Boolean') { - return value; - } - - return $BooleanValueOf(value); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-string-prototype-object - thisStringValue: function thisStringValue(value) { - if (this.Type(value) === 'String') { - return value; - } - - return $StringValueOf(value); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-date-prototype-object - thisTimeValue: function thisTimeValue(value) { - return $DateValueOf(value); - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-setintegritylevel - SetIntegrityLevel: function SetIntegrityLevel(O, level) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (level !== 'sealed' && level !== 'frozen') { - throw new $TypeError('Assertion failed: `level` must be `"sealed"` or `"frozen"`'); - } - if (!$preventExtensions) { - throw new $SyntaxError('SetIntegrityLevel requires native `Object.preventExtensions` support'); - } - var status = $preventExtensions(O); - if (!status) { - return false; - } - if (!$gOPN) { - throw new $SyntaxError('SetIntegrityLevel requires native `Object.getOwnPropertyNames` support'); - } - var theKeys = $gOPN(O); - var ES = this; - if (level === 'sealed') { - forEach(theKeys, function (k) { - ES.DefinePropertyOrThrow(O, k, { configurable: false }); - }); - } else if (level === 'frozen') { - forEach(theKeys, function (k) { - var currentDesc = $gOPD(O, k); - if (typeof currentDesc !== 'undefined') { - var desc; - if (ES.IsAccessorDescriptor(ES.ToPropertyDescriptor(currentDesc))) { - desc = { configurable: false }; - } else { - desc = { configurable: false, writable: false }; - } - ES.DefinePropertyOrThrow(O, k, desc); - } - }); - } - return true; - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-testintegritylevel - TestIntegrityLevel: function TestIntegrityLevel(O, level) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (level !== 'sealed' && level !== 'frozen') { - throw new $TypeError('Assertion failed: `level` must be `"sealed"` or `"frozen"`'); - } - var status = this.IsExtensible(O); - if (status) { - return false; - } - var theKeys = $gOPN(O); - var ES = this; - return theKeys.length === 0 || every(theKeys, function (k) { - var currentDesc = $gOPD(O, k); - if (typeof currentDesc !== 'undefined') { - if (currentDesc.configurable) { - return false; - } - if (level === 'frozen' && ES.IsDataDescriptor(ES.ToPropertyDescriptor(currentDesc)) && currentDesc.writable) { - return false; - } - } - return true; - }); - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-ordinaryhasinstance - OrdinaryHasInstance: function OrdinaryHasInstance(C, O) { - if (this.IsCallable(C) === false) { - return false; - } - if (this.Type(O) !== 'Object') { - return false; - } - var P = this.Get(C, 'prototype'); - if (this.Type(P) !== 'Object') { - throw new $TypeError('OrdinaryHasInstance called on an object with an invalid prototype property.'); - } - return O instanceof C; - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-ordinaryhasproperty - OrdinaryHasProperty: function OrdinaryHasProperty(O, P) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - return P in O; - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-instanceofoperator - InstanceofOperator: function InstanceofOperator(O, C) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - var instOfHandler = hasSymbols && $Symbol.hasInstance ? this.GetMethod(C, $Symbol.hasInstance) : void 0; - if (typeof instOfHandler !== 'undefined') { - return this.ToBoolean(this.Call(instOfHandler, C, [O])); - } - if (!this.IsCallable(C)) { - throw new $TypeError('`C` is not Callable'); - } - return this.OrdinaryHasInstance(C, O); - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-ispromise - IsPromise: function IsPromise(x) { - if (this.Type(x) !== 'Object') { - return false; - } - if (!$PromiseThen) { // Promises are not supported - return false; - } - try { - $PromiseThen(x); // throws if not a promise - } catch (e) { - return false; - } - return true; - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-abstract-equality-comparison - 'Abstract Equality Comparison': function AbstractEqualityComparison(x, y) { - var xType = this.Type(x); - var yType = this.Type(y); - if (xType === yType) { - return x === y; // ES6+ specified this shortcut anyways. - } - if (x == null && y == null) { - return true; - } - if (xType === 'Number' && yType === 'String') { - return this['Abstract Equality Comparison'](x, this.ToNumber(y)); - } - if (xType === 'String' && yType === 'Number') { - return this['Abstract Equality Comparison'](this.ToNumber(x), y); - } - if (xType === 'Boolean') { - return this['Abstract Equality Comparison'](this.ToNumber(x), y); - } - if (yType === 'Boolean') { - return this['Abstract Equality Comparison'](x, this.ToNumber(y)); - } - if ((xType === 'String' || xType === 'Number' || xType === 'Symbol') && yType === 'Object') { - return this['Abstract Equality Comparison'](x, this.ToPrimitive(y)); - } - if (xType === 'Object' && (yType === 'String' || yType === 'Number' || yType === 'Symbol')) { - return this['Abstract Equality Comparison'](this.ToPrimitive(x), y); - } - return false; - }, - - // eslint-disable-next-line max-lines-per-function, max-statements, id-length, max-params - ValidateAndApplyPropertyDescriptor: function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) { - // this uses the ES2017+ logic, since it fixes a number of bugs in the ES2015 logic. - var oType = this.Type(O); - if (oType !== 'Undefined' && oType !== 'Object') { - throw new $TypeError('Assertion failed: O must be undefined or an Object'); - } - if (this.Type(extensible) !== 'Boolean') { - throw new $TypeError('Assertion failed: extensible must be a Boolean'); - } - if (!isPropertyDescriptor(this, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (this.Type(current) !== 'Undefined' && !isPropertyDescriptor(this, current)) { - throw new $TypeError('Assertion failed: current must be a Property Descriptor, or undefined'); - } - if (oType !== 'Undefined' && !this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: if O is not undefined, P must be a Property Key'); - } - if (this.Type(current) === 'Undefined') { - if (!extensible) { - return false; - } - if (this.IsGenericDescriptor(Desc) || this.IsDataDescriptor(Desc)) { - if (oType !== 'Undefined') { - DefineOwnProperty(this, O, P, { - '[[Configurable]]': Desc['[[Configurable]]'], - '[[Enumerable]]': Desc['[[Enumerable]]'], - '[[Value]]': Desc['[[Value]]'], - '[[Writable]]': Desc['[[Writable]]'] - }); - } - } else { - if (!this.IsAccessorDescriptor(Desc)) { - throw new $TypeError('Assertion failed: Desc is not an accessor descriptor'); - } - if (oType !== 'Undefined') { - return DefineOwnProperty(this, O, P, Desc); - } - } - return true; - } - if (this.IsGenericDescriptor(Desc) && !('[[Configurable]]' in Desc) && !('[[Enumerable]]' in Desc)) { - return true; - } - if (isSamePropertyDescriptor(this, Desc, current)) { - return true; // removed by ES2017, but should still be correct - } - // "if every field in Desc is absent, return true" can't really match the assertion that it's a Property Descriptor - if (!current['[[Configurable]]']) { - if (Desc['[[Configurable]]']) { - return false; - } - if ('[[Enumerable]]' in Desc && !Desc['[[Enumerable]]'] === !!current['[[Enumerable]]']) { - return false; - } - } - if (this.IsGenericDescriptor(Desc)) { - // no further validation is required. - } else if (this.IsDataDescriptor(current) !== this.IsDataDescriptor(Desc)) { - if (!current['[[Configurable]]']) { - return false; - } - if (this.IsDataDescriptor(current)) { - if (oType !== 'Undefined') { - DefineOwnProperty(this, O, P, { - '[[Configurable]]': current['[[Configurable]]'], - '[[Enumerable]]': current['[[Enumerable]]'], - '[[Get]]': undefined - }); - } - } else if (oType !== 'Undefined') { - DefineOwnProperty(this, O, P, { - '[[Configurable]]': current['[[Configurable]]'], - '[[Enumerable]]': current['[[Enumerable]]'], - '[[Value]]': undefined - }); - } - } else if (this.IsDataDescriptor(current) && this.IsDataDescriptor(Desc)) { - if (!current['[[Configurable]]'] && !current['[[Writable]]']) { - if ('[[Writable]]' in Desc && Desc['[[Writable]]']) { - return false; - } - if ('[[Value]]' in Desc && !this.SameValue(Desc['[[Value]]'], current['[[Value]]'])) { - return false; - } - return true; - } - } else if (this.IsAccessorDescriptor(current) && this.IsAccessorDescriptor(Desc)) { - if (!current['[[Configurable]]']) { - if ('[[Set]]' in Desc && !this.SameValue(Desc['[[Set]]'], current['[[Set]]'])) { - return false; - } - if ('[[Get]]' in Desc && !this.SameValue(Desc['[[Get]]'], current['[[Get]]'])) { - return false; - } - return true; - } - } else { - throw new $TypeError('Assertion failed: current and Desc are not both data, both accessors, or one accessor and one data.'); - } - if (oType !== 'Undefined') { - return DefineOwnProperty(this, O, P, Desc); - } - return true; - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-ordinarydefineownproperty - OrdinaryDefineOwnProperty: function OrdinaryDefineOwnProperty(O, P, Desc) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: O must be an Object'); - } - if (!this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - if (!isPropertyDescriptor(this, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - var desc = $gOPD(O, P); - var current = desc && this.ToPropertyDescriptor(desc); - var extensible = this.IsExtensible(O); - return this.ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current); - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty - OrdinaryGetOwnProperty: function OrdinaryGetOwnProperty(O, P) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: O must be an Object'); - } - if (!this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: P must be a Property Key'); - } - if (!has(O, P)) { - return void 0; - } - if (!$gOPD) { - // ES3 fallback - var arrayLength = this.IsArray(O) && P === 'length'; - var regexLastIndex = this.IsRegExp(O) && P === 'lastIndex'; - return { - '[[Configurable]]': !(arrayLength || regexLastIndex), - '[[Enumerable]]': $isEnumerable(O, P), - '[[Value]]': O[P], - '[[Writable]]': true - }; - } - return this.ToPropertyDescriptor($gOPD(O, P)); - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-arraycreate - ArrayCreate: function ArrayCreate(length) { - if (!this.IsInteger(length) || length < 0) { - throw new $TypeError('Assertion failed: `length` must be an integer Number >= 0'); - } - if (length > MAX_ARRAY_LENGTH) { - throw new $RangeError('length is greater than (2**32 - 1)'); - } - var proto = arguments.length > 1 ? arguments[1] : $ArrayPrototype; - var A = []; // steps 5 - 7, and 9 - if (proto !== $ArrayPrototype) { // step 8 - if (!$setProto) { - throw new $SyntaxError('ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]'); - } - $setProto(A, proto); - } - if (length !== 0) { // bypasses the need for step 2 - A.length = length; - } - /* step 10, the above as a shortcut for the below - this.OrdinaryDefineOwnProperty(A, 'length', { - '[[Configurable]]': false, - '[[Enumerable]]': false, - '[[Value]]': length, - '[[Writable]]': true - }); - */ - return A; - }, - - // eslint-disable-next-line max-statements, max-lines-per-function - ArraySetLength: function ArraySetLength(A, Desc) { - if (!this.IsArray(A)) { - throw new $TypeError('Assertion failed: A must be an Array'); - } - if (!isPropertyDescriptor(this, Desc)) { - throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); - } - if (!('[[Value]]' in Desc)) { - return this.OrdinaryDefineOwnProperty(A, 'length', Desc); - } - var newLenDesc = assign({}, Desc); - var newLen = this.ToUint32(Desc['[[Value]]']); - var numberLen = this.ToNumber(Desc['[[Value]]']); - if (newLen !== numberLen) { - throw new $RangeError('Invalid array length'); - } - newLenDesc['[[Value]]'] = newLen; - var oldLenDesc = this.OrdinaryGetOwnProperty(A, 'length'); - if (!this.IsDataDescriptor(oldLenDesc)) { - throw new $TypeError('Assertion failed: an array had a non-data descriptor on `length`'); - } - var oldLen = oldLenDesc['[[Value]]']; - if (newLen >= oldLen) { - return this.OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - } - if (!oldLenDesc['[[Writable]]']) { - return false; - } - var newWritable; - if (!('[[Writable]]' in newLenDesc) || newLenDesc['[[Writable]]']) { - newWritable = true; - } else { - newWritable = false; - newLenDesc['[[Writable]]'] = true; - } - var succeeded = this.OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - if (!succeeded) { - return false; - } - while (newLen < oldLen) { - oldLen -= 1; - var deleteSucceeded = delete A[this.ToString(oldLen)]; - if (!deleteSucceeded) { - newLenDesc['[[Value]]'] = oldLen + 1; - if (!newWritable) { - newLenDesc['[[Writable]]'] = false; - this.OrdinaryDefineOwnProperty(A, 'length', newLenDesc); - return false; - } - } - } - if (!newWritable) { - return this.OrdinaryDefineOwnProperty(A, 'length', { '[[Writable]]': false }); - } - return true; - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-createhtml - CreateHTML: function CreateHTML(string, tag, attribute, value) { - if (this.Type(tag) !== 'String' || this.Type(attribute) !== 'String') { - throw new $TypeError('Assertion failed: `tag` and `attribute` must be strings'); - } - var str = this.RequireObjectCoercible(string); - var S = this.ToString(str); - var p1 = '<' + tag; - if (attribute !== '') { - var V = this.ToString(value); - var escapedV = $replace(V, /\x22/g, '"'); - p1 += '\x20' + attribute + '\x3D\x22' + escapedV + '\x22'; - } - return p1 + '>' + S + ''; - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-getownpropertykeys - GetOwnPropertyKeys: function GetOwnPropertyKeys(O, Type) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (Type === 'Symbol') { - return hasSymbols && $gOPS ? $gOPS(O) : []; - } - if (Type === 'String') { - if (!$gOPN) { - return keys(O); - } - return $gOPN(O); - } - throw new $TypeError('Assertion failed: `Type` must be `"String"` or `"Symbol"`'); - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-symboldescriptivestring - SymbolDescriptiveString: function SymbolDescriptiveString(sym) { - if (this.Type(sym) !== 'Symbol') { - throw new $TypeError('Assertion failed: `sym` must be a Symbol'); - } - return $SymbolToString(sym); - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-getsubstitution - // eslint-disable-next-line max-statements, max-params, max-lines-per-function - GetSubstitution: function GetSubstitution(matched, str, position, captures, replacement) { - if (this.Type(matched) !== 'String') { - throw new $TypeError('Assertion failed: `matched` must be a String'); - } - var matchLength = matched.length; - - if (this.Type(str) !== 'String') { - throw new $TypeError('Assertion failed: `str` must be a String'); - } - var stringLength = str.length; - - if (!this.IsInteger(position) || position < 0 || position > stringLength) { - throw new $TypeError('Assertion failed: `position` must be a nonnegative integer, and less than or equal to the length of `string`, got ' + inspect(position)); - } - - var ES = this; - var isStringOrHole = function (capture, index, arr) { return ES.Type(capture) === 'String' || !(index in arr); }; - if (!this.IsArray(captures) || !every(captures, isStringOrHole)) { - throw new $TypeError('Assertion failed: `captures` must be a List of Strings, got ' + inspect(captures)); - } - - if (this.Type(replacement) !== 'String') { - throw new $TypeError('Assertion failed: `replacement` must be a String'); - } - - var tailPos = position + matchLength; - var m = captures.length; - - var result = ''; - for (var i = 0; i < replacement.length; i += 1) { - // if this is a $, and it's not the end of the replacement - var current = replacement[i]; - var isLast = (i + 1) >= replacement.length; - var nextIsLast = (i + 2) >= replacement.length; - if (current === '$' && !isLast) { - var next = replacement[i + 1]; - if (next === '$') { - result += '$'; - i += 1; - } else if (next === '&') { - result += matched; - i += 1; - } else if (next === '`') { - result += position === 0 ? '' : strSlice(str, 0, position - 1); - i += 1; - } else if (next === "'") { - result += tailPos >= stringLength ? '' : strSlice(str, tailPos); - i += 1; - } else { - var nextNext = nextIsLast ? null : replacement[i + 2]; - if (isDigit(next) && next !== '0' && (nextIsLast || !isDigit(nextNext))) { - // $1 through $9, and not followed by a digit - var n = parseInteger(next, 10); - // if (n > m, impl-defined) - result += (n <= m && this.Type(captures[n - 1]) === 'Undefined') ? '' : captures[n - 1]; - i += 1; - } else if (isDigit(next) && (nextIsLast || isDigit(nextNext))) { - // $00 through $99 - var nn = next + nextNext; - var nnI = parseInteger(nn, 10) - 1; - // if nn === '00' or nn > m, impl-defined - result += (nn <= m && this.Type(captures[nnI]) === 'Undefined') ? '' : captures[nnI]; - i += 2; - } else { - result += '$'; - } - } - } else { - // the final $, or else not a $ - result += replacement[i]; - } - } - return result; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-todatestring - ToDateString: function ToDateString(tv) { - if (this.Type(tv) !== 'Number') { - throw new $TypeError('Assertion failed: `tv` must be a Number'); - } - if ($isNaN(tv)) { - return 'Invalid Date'; - } - return $Date(tv); +module.exports = function ToNumber(argument) { + var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number); + if (typeof value === 'symbol') { + throw new $TypeError('Cannot convert a Symbol value to a number'); } -}); - -delete ES6.CheckObjectCoercible; // renamed in ES6 to RequireObjectCoercible - -module.exports = ES6; + if (typeof value === 'string') { + if (isBinary(value)) { + return ToNumber($parseInteger($strSlice(value, 2), 2)); + } else if (isOctal(value)) { + return ToNumber($parseInteger($strSlice(value, 2), 8)); + } else if (hasNonWS(value) || isInvalidHexLiteral(value)) { + return NaN; + } else { + var trimmed = $trim(value); + if (trimmed !== value) { + return ToNumber(trimmed); + } + } + } + return $Number(value); +}; /***/ }), -/* 255 */ +/* 267 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(46); + +var $test = GetIntrinsic('RegExp.prototype.test'); + +var callBind = __webpack_require__(127); + +module.exports = function regexTester(regex) { + return callBind($test, regex); +}; + + +/***/ }), +/* 268 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var toPrimitive = __webpack_require__(269); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive + +module.exports = function ToPrimitive(input) { + if (arguments.length > 1) { + return toPrimitive(input, arguments[1]); + } + return toPrimitive(input); +}; + + +/***/ }), +/* 269 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -22608,10 +21602,10 @@ module.exports = ES6; var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol'; -var isPrimitive = __webpack_require__(154); -var isCallable = __webpack_require__(100); -var isDate = __webpack_require__(256); -var isSymbol = __webpack_require__(155); +var isPrimitive = __webpack_require__(270); +var isCallable = __webpack_require__(157); +var isDate = __webpack_require__(162); +var isSymbol = __webpack_require__(131); var ordinaryToPrimitive = function OrdinaryToPrimitive(O, hint) { if (typeof O === 'undefined' || O === null) { @@ -22682,34 +21676,7 @@ module.exports = function ToPrimitive(input) { /***/ }), -/* 256 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var getDay = Date.prototype.getDay; -var tryDateObject = function tryDateObject(value) { - try { - getDay.call(value); - return true; - } catch (e) { - return false; - } -}; - -var toStr = Object.prototype.toString; -var dateClass = '[object Date]'; -var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; - -module.exports = function isDateObject(value) { - if (typeof value !== 'object' || value === null) { return false; } - return hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass; -}; - - -/***/ }), -/* 257 */ +/* 270 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -22721,592 +21688,109 @@ module.exports = function isPrimitive(value) { /***/ }), -/* 258 */ +/* 271 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/* WEBPACK VAR INJECTION */(function(global) { + +var origSymbol = global.Symbol; +var hasSymbolSham = __webpack_require__(163); + +module.exports = function hasNativeSymbols() { + if (typeof origSymbol !== 'function') { return false; } + if (typeof Symbol !== 'function') { return false; } + if (typeof origSymbol('foo') !== 'symbol') { return false; } + if (typeof Symbol('bar') !== 'symbol') { return false; } + + return hasSymbolSham(); +}; + +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(61))) + +/***/ }), +/* 272 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var every = __webpack_require__(131); +var GetIntrinsic = __webpack_require__(46); -module.exports = function isSamePropertyDescriptor(ES, D1, D2) { - var fields = [ - '[[Configurable]]', - '[[Enumerable]]', - '[[Get]]', - '[[Set]]', - '[[Value]]', - '[[Writable]]' - ]; - return every(fields, function (field) { - if ((field in D1) !== (field in D2)) { - return false; - } - return ES.SameValue(D1[field], D2[field]); - }); +var $String = GetIntrinsic('%String%'); +var $TypeError = GetIntrinsic('%TypeError%'); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-tostring + +module.exports = function ToString(argument) { + if (typeof argument === 'symbol') { + throw new $TypeError('Cannot convert a Symbol value to a string'); + } + return $String(argument); }; /***/ }), -/* 259 */ +/* 273 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var GetIntrinsic = __webpack_require__(59); +var GetIntrinsic = __webpack_require__(46); var $Object = GetIntrinsic('%Object%'); -var $EvalError = GetIntrinsic('%EvalError%'); -var $TypeError = GetIntrinsic('%TypeError%'); -var $String = GetIntrinsic('%String%'); -var $Date = GetIntrinsic('%Date%'); -var $Number = GetIntrinsic('%Number%'); -var $floor = GetIntrinsic('%Math.floor%'); -var $DateUTC = GetIntrinsic('%Date.UTC%'); -var $abs = GetIntrinsic('%Math.abs%'); -var assertRecord = __webpack_require__(156); -var isPropertyDescriptor = __webpack_require__(161); -var $isNaN = __webpack_require__(129); -var $isFinite = __webpack_require__(157); -var sign = __webpack_require__(159); -var mod = __webpack_require__(160); -var isPrefixOf = __webpack_require__(163); -var callBound = __webpack_require__(74); +var RequireObjectCoercible = __webpack_require__(274); -var IsCallable = __webpack_require__(100); -var toPrimitive = __webpack_require__(164); +// https://www.ecma-international.org/ecma-262/6.0/#sec-toobject -var has = __webpack_require__(62); - -var $getUTCFullYear = callBound('Date.prototype.getUTCFullYear'); - -var HoursPerDay = 24; -var MinutesPerHour = 60; -var SecondsPerMinute = 60; -var msPerSecond = 1e3; -var msPerMinute = msPerSecond * SecondsPerMinute; -var msPerHour = msPerMinute * MinutesPerHour; -var msPerDay = 86400000; - -// https://es5.github.io/#x9 -var ES5 = { - ToPrimitive: toPrimitive, - - ToBoolean: function ToBoolean(value) { - return !!value; - }, - ToNumber: function ToNumber(value) { - return +value; // eslint-disable-line no-implicit-coercion - }, - ToInteger: function ToInteger(value) { - var number = this.ToNumber(value); - if ($isNaN(number)) { return 0; } - if (number === 0 || !$isFinite(number)) { return number; } - return sign(number) * Math.floor(Math.abs(number)); - }, - ToInt32: function ToInt32(x) { - return this.ToNumber(x) >> 0; - }, - ToUint32: function ToUint32(x) { - return this.ToNumber(x) >>> 0; - }, - ToUint16: function ToUint16(value) { - var number = this.ToNumber(value); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = sign(number) * Math.floor(Math.abs(number)); - return mod(posInt, 0x10000); - }, - ToString: function ToString(value) { - return $String(value); - }, - ToObject: function ToObject(value) { - this.CheckObjectCoercible(value); - return $Object(value); - }, - CheckObjectCoercible: function CheckObjectCoercible(value, optMessage) { - /* jshint eqnull:true */ - if (value == null) { - throw new $TypeError(optMessage || 'Cannot call method on ' + value); - } - return value; - }, - IsCallable: IsCallable, - SameValue: function SameValue(x, y) { - if (x === y) { // 0 === -0, but they are not identical. - if (x === 0) { return 1 / x === 1 / y; } - return true; - } - return $isNaN(x) && $isNaN(y); - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-8 - Type: function Type(x) { - if (x === null) { - return 'Null'; - } - if (typeof x === 'undefined') { - return 'Undefined'; - } - if (typeof x === 'function' || typeof x === 'object') { - return 'Object'; - } - if (typeof x === 'number') { - return 'Number'; - } - if (typeof x === 'boolean') { - return 'Boolean'; - } - if (typeof x === 'string') { - return 'String'; - } - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-property-descriptor-specification-type - IsPropertyDescriptor: function IsPropertyDescriptor(Desc) { - return isPropertyDescriptor(this, Desc); - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-8.10.1 - IsAccessorDescriptor: function IsAccessorDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(this, 'Property Descriptor', 'Desc', Desc); - - if (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) { - return false; - } - - return true; - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-8.10.2 - IsDataDescriptor: function IsDataDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(this, 'Property Descriptor', 'Desc', Desc); - - if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) { - return false; - } - - return true; - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-8.10.3 - IsGenericDescriptor: function IsGenericDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(this, 'Property Descriptor', 'Desc', Desc); - - if (!this.IsAccessorDescriptor(Desc) && !this.IsDataDescriptor(Desc)) { - return true; - } - - return false; - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-8.10.4 - FromPropertyDescriptor: function FromPropertyDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return Desc; - } - - assertRecord(this, 'Property Descriptor', 'Desc', Desc); - - if (this.IsDataDescriptor(Desc)) { - return { - value: Desc['[[Value]]'], - writable: !!Desc['[[Writable]]'], - enumerable: !!Desc['[[Enumerable]]'], - configurable: !!Desc['[[Configurable]]'] - }; - } else if (this.IsAccessorDescriptor(Desc)) { - return { - get: Desc['[[Get]]'], - set: Desc['[[Set]]'], - enumerable: !!Desc['[[Enumerable]]'], - configurable: !!Desc['[[Configurable]]'] - }; - } else { - throw new $TypeError('FromPropertyDescriptor must be called with a fully populated Property Descriptor'); - } - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-8.10.5 - ToPropertyDescriptor: function ToPropertyDescriptor(Obj) { - if (this.Type(Obj) !== 'Object') { - throw new $TypeError('ToPropertyDescriptor requires an object'); - } - - var desc = {}; - if (has(Obj, 'enumerable')) { - desc['[[Enumerable]]'] = this.ToBoolean(Obj.enumerable); - } - if (has(Obj, 'configurable')) { - desc['[[Configurable]]'] = this.ToBoolean(Obj.configurable); - } - if (has(Obj, 'value')) { - desc['[[Value]]'] = Obj.value; - } - if (has(Obj, 'writable')) { - desc['[[Writable]]'] = this.ToBoolean(Obj.writable); - } - if (has(Obj, 'get')) { - var getter = Obj.get; - if (typeof getter !== 'undefined' && !this.IsCallable(getter)) { - throw new TypeError('getter must be a function'); - } - desc['[[Get]]'] = getter; - } - if (has(Obj, 'set')) { - var setter = Obj.set; - if (typeof setter !== 'undefined' && !this.IsCallable(setter)) { - throw new $TypeError('setter must be a function'); - } - desc['[[Set]]'] = setter; - } - - if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) { - throw new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute'); - } - return desc; - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-11.9.3 - 'Abstract Equality Comparison': function AbstractEqualityComparison(x, y) { - var xType = this.Type(x); - var yType = this.Type(y); - if (xType === yType) { - return x === y; // ES6+ specified this shortcut anyways. - } - if (x == null && y == null) { - return true; - } - if (xType === 'Number' && yType === 'String') { - return this['Abstract Equality Comparison'](x, this.ToNumber(y)); - } - if (xType === 'String' && yType === 'Number') { - return this['Abstract Equality Comparison'](this.ToNumber(x), y); - } - if (xType === 'Boolean') { - return this['Abstract Equality Comparison'](this.ToNumber(x), y); - } - if (yType === 'Boolean') { - return this['Abstract Equality Comparison'](x, this.ToNumber(y)); - } - if ((xType === 'String' || xType === 'Number') && yType === 'Object') { - return this['Abstract Equality Comparison'](x, this.ToPrimitive(y)); - } - if (xType === 'Object' && (yType === 'String' || yType === 'Number')) { - return this['Abstract Equality Comparison'](this.ToPrimitive(x), y); - } - return false; - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-11.9.6 - 'Strict Equality Comparison': function StrictEqualityComparison(x, y) { - var xType = this.Type(x); - var yType = this.Type(y); - if (xType !== yType) { - return false; - } - if (xType === 'Undefined' || xType === 'Null') { - return true; - } - return x === y; // shortcut for steps 4-7 - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-11.8.5 - // eslint-disable-next-line max-statements - 'Abstract Relational Comparison': function AbstractRelationalComparison(x, y, LeftFirst) { - if (this.Type(LeftFirst) !== 'Boolean') { - throw new $TypeError('Assertion failed: LeftFirst argument must be a Boolean'); - } - var px; - var py; - if (LeftFirst) { - px = this.ToPrimitive(x, $Number); - py = this.ToPrimitive(y, $Number); - } else { - py = this.ToPrimitive(y, $Number); - px = this.ToPrimitive(x, $Number); - } - var bothStrings = this.Type(px) === 'String' && this.Type(py) === 'String'; - if (!bothStrings) { - var nx = this.ToNumber(px); - var ny = this.ToNumber(py); - if ($isNaN(nx) || $isNaN(ny)) { - return undefined; - } - if ($isFinite(nx) && $isFinite(ny) && nx === ny) { - return false; - } - if (nx === 0 && ny === 0) { - return false; - } - if (nx === Infinity) { - return false; - } - if (ny === Infinity) { - return true; - } - if (ny === -Infinity) { - return false; - } - if (nx === -Infinity) { - return true; - } - return nx < ny; // by now, these are both nonzero, finite, and not equal - } - if (isPrefixOf(py, px)) { - return false; - } - if (isPrefixOf(px, py)) { - return true; - } - return px < py; // both strings, neither a prefix of the other. shortcut for steps c-f - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.10 - msFromTime: function msFromTime(t) { - return mod(t, msPerSecond); - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.10 - SecFromTime: function SecFromTime(t) { - return mod($floor(t / msPerSecond), SecondsPerMinute); - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.10 - MinFromTime: function MinFromTime(t) { - return mod($floor(t / msPerMinute), MinutesPerHour); - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.10 - HourFromTime: function HourFromTime(t) { - return mod($floor(t / msPerHour), HoursPerDay); - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.2 - Day: function Day(t) { - return $floor(t / msPerDay); - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.2 - TimeWithinDay: function TimeWithinDay(t) { - return mod(t, msPerDay); - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.3 - DayFromYear: function DayFromYear(y) { - return (365 * (y - 1970)) + $floor((y - 1969) / 4) - $floor((y - 1901) / 100) + $floor((y - 1601) / 400); - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.3 - TimeFromYear: function TimeFromYear(y) { - return msPerDay * this.DayFromYear(y); - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.3 - YearFromTime: function YearFromTime(t) { - // largest y such that this.TimeFromYear(y) <= t - return $getUTCFullYear(new $Date(t)); - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.6 - WeekDay: function WeekDay(t) { - return mod(this.Day(t) + 4, 7); - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.3 - DaysInYear: function DaysInYear(y) { - if (mod(y, 4) !== 0) { - return 365; - } - if (mod(y, 100) !== 0) { - return 366; - } - if (mod(y, 400) !== 0) { - return 365; - } - return 366; - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.3 - InLeapYear: function InLeapYear(t) { - var days = this.DaysInYear(this.YearFromTime(t)); - if (days === 365) { - return 0; - } - if (days === 366) { - return 1; - } - throw new $EvalError('Assertion failed: there are not 365 or 366 days in a year, got: ' + days); - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.4 - DayWithinYear: function DayWithinYear(t) { - return this.Day(t) - this.DayFromYear(this.YearFromTime(t)); - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.4 - MonthFromTime: function MonthFromTime(t) { - var day = this.DayWithinYear(t); - if (0 <= day && day < 31) { - return 0; - } - var leap = this.InLeapYear(t); - if (31 <= day && day < (59 + leap)) { - return 1; - } - if ((59 + leap) <= day && day < (90 + leap)) { - return 2; - } - if ((90 + leap) <= day && day < (120 + leap)) { - return 3; - } - if ((120 + leap) <= day && day < (151 + leap)) { - return 4; - } - if ((151 + leap) <= day && day < (181 + leap)) { - return 5; - } - if ((181 + leap) <= day && day < (212 + leap)) { - return 6; - } - if ((212 + leap) <= day && day < (243 + leap)) { - return 7; - } - if ((243 + leap) <= day && day < (273 + leap)) { - return 8; - } - if ((273 + leap) <= day && day < (304 + leap)) { - return 9; - } - if ((304 + leap) <= day && day < (334 + leap)) { - return 10; - } - if ((334 + leap) <= day && day < (365 + leap)) { - return 11; - } - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.5 - DateFromTime: function DateFromTime(t) { - var m = this.MonthFromTime(t); - var d = this.DayWithinYear(t); - if (m === 0) { - return d + 1; - } - if (m === 1) { - return d - 30; - } - var leap = this.InLeapYear(t); - if (m === 2) { - return d - 58 - leap; - } - if (m === 3) { - return d - 89 - leap; - } - if (m === 4) { - return d - 119 - leap; - } - if (m === 5) { - return d - 150 - leap; - } - if (m === 6) { - return d - 180 - leap; - } - if (m === 7) { - return d - 211 - leap; - } - if (m === 8) { - return d - 242 - leap; - } - if (m === 9) { - return d - 272 - leap; - } - if (m === 10) { - return d - 303 - leap; - } - if (m === 11) { - return d - 333 - leap; - } - throw new $EvalError('Assertion failed: MonthFromTime returned an impossible value: ' + m); - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.12 - MakeDay: function MakeDay(year, month, date) { - if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) { - return NaN; - } - var y = this.ToInteger(year); - var m = this.ToInteger(month); - var dt = this.ToInteger(date); - var ym = y + $floor(m / 12); - var mn = mod(m, 12); - var t = $DateUTC(ym, mn, 1); - if (this.YearFromTime(t) !== ym || this.MonthFromTime(t) !== mn || this.DateFromTime(t) !== 1) { - return NaN; - } - return this.Day(t) + dt - 1; - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.13 - MakeDate: function MakeDate(day, time) { - if (!$isFinite(day) || !$isFinite(time)) { - return NaN; - } - return (day * msPerDay) + time; - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.11 - MakeTime: function MakeTime(hour, min, sec, ms) { - if (!$isFinite(hour) || !$isFinite(min) || !$isFinite(sec) || !$isFinite(ms)) { - return NaN; - } - var h = this.ToInteger(hour); - var m = this.ToInteger(min); - var s = this.ToInteger(sec); - var milli = this.ToInteger(ms); - var t = (h * msPerHour) + (m * msPerMinute) + (s * msPerSecond) + milli; - return t; - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.14 - TimeClip: function TimeClip(time) { - if (!$isFinite(time) || $abs(time) > 8.64e15) { - return NaN; - } - return $Number(new $Date(this.ToNumber(time))); - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-5.2 - modulo: function modulo(x, y) { - return mod(x, y); - } +module.exports = function ToObject(value) { + RequireObjectCoercible(value); + return $Object(value); }; -module.exports = ES5; - /***/ }), -/* 260 */ +/* 274 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var define = __webpack_require__(54); -var getPolyfill = __webpack_require__(166); +module.exports = __webpack_require__(275); + + +/***/ }), +/* 275 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(46); + +var $TypeError = GetIntrinsic('%TypeError%'); + +// http://www.ecma-international.org/ecma-262/5.1/#sec-9.10 + +module.exports = function CheckObjectCoercible(value, optMessage) { + if (value == null) { + throw new $TypeError(optMessage || ('Cannot call method on ' + value)); + } + return value; +}; + + +/***/ }), +/* 276 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var define = __webpack_require__(64); +var getPolyfill = __webpack_require__(164); module.exports = function shimFlat() { var polyfill = getPolyfill(); @@ -23320,14 +21804,14 @@ module.exports = function shimFlat() { /***/ }), -/* 261 */ +/* 277 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(global) { -var define = __webpack_require__(54); -var isSymbol = __webpack_require__(155); +var define = __webpack_require__(64); +var isSymbol = __webpack_require__(131); var globalKey = '__ global cache key __'; /* istanbul ignore else */ @@ -23416,10 +21900,10 @@ var globalCache = { module.exports = globalCache; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(64))) +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(61))) /***/ }), -/* 262 */ +/* 278 */ /***/ (function(module, exports) { Object.defineProperty(exports, "__esModule", { @@ -23432,7 +21916,7 @@ exports.GLOBAL_CACHE_KEY = GLOBAL_CACHE_KEY; exports.MAX_SPECIFICITY = MAX_SPECIFICITY; /***/ }), -/* 263 */ +/* 279 */ /***/ (function(module, exports) { Object.defineProperty(exports, "__esModule", { @@ -23453,7 +21937,7 @@ function getClassName(namespace, styleName) { } /***/ }), -/* 264 */ +/* 280 */ /***/ (function(module, exports) { Object.defineProperty(exports, "__esModule", { @@ -23501,7 +21985,7 @@ function separateStyles(stylesArray) { exports['default'] = separateStyles; /***/ }), -/* 265 */ +/* 281 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23512,11 +21996,11 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = registerInterfaceWithDefaultTheme; -var _ThemedStyleSheet = __webpack_require__(167); +var _ThemedStyleSheet = __webpack_require__(165); var _ThemedStyleSheet2 = _interopRequireDefault(_ThemedStyleSheet); -var _DefaultTheme = __webpack_require__(168); +var _DefaultTheme = __webpack_require__(166); var _DefaultTheme2 = _interopRequireDefault(_DefaultTheme); @@ -23528,7 +22012,7 @@ function registerInterfaceWithDefaultTheme(reactWithStylesInterface) { } /***/ }), -/* 266 */ +/* 282 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23551,7 +22035,7 @@ Object.defineProperty(exports, 'CalendarDay', { }() }); -var _CalendarMonth = __webpack_require__(172); +var _CalendarMonth = __webpack_require__(170); Object.defineProperty(exports, 'CalendarMonth', { enumerable: true, @@ -23564,7 +22048,7 @@ Object.defineProperty(exports, 'CalendarMonth', { }() }); -var _CalendarMonthGrid = __webpack_require__(174); +var _CalendarMonthGrid = __webpack_require__(172); Object.defineProperty(exports, 'CalendarMonthGrid', { enumerable: true, @@ -23577,7 +22061,7 @@ Object.defineProperty(exports, 'CalendarMonthGrid', { }() }); -var _DateRangePicker = __webpack_require__(285); +var _DateRangePicker = __webpack_require__(301); Object.defineProperty(exports, 'DateRangePicker', { enumerable: true, @@ -23590,7 +22074,7 @@ Object.defineProperty(exports, 'DateRangePicker', { }() }); -var _DateRangePickerInput = __webpack_require__(195); +var _DateRangePickerInput = __webpack_require__(194); Object.defineProperty(exports, 'DateRangePickerInput', { enumerable: true, @@ -23603,7 +22087,7 @@ Object.defineProperty(exports, 'DateRangePickerInput', { }() }); -var _DateRangePickerInputController = __webpack_require__(194); +var _DateRangePickerInputController = __webpack_require__(193); Object.defineProperty(exports, 'DateRangePickerInputController', { enumerable: true, @@ -23616,7 +22100,7 @@ Object.defineProperty(exports, 'DateRangePickerInputController', { }() }); -var _DateRangePickerShape = __webpack_require__(187); +var _DateRangePickerShape = __webpack_require__(186); Object.defineProperty(exports, 'DateRangePickerShape', { enumerable: true, @@ -23629,7 +22113,7 @@ Object.defineProperty(exports, 'DateRangePickerShape', { }() }); -var _DayPicker = __webpack_require__(140); +var _DayPicker = __webpack_require__(141); Object.defineProperty(exports, 'DayPicker', { enumerable: true, @@ -23642,7 +22126,7 @@ Object.defineProperty(exports, 'DayPicker', { }() }); -var _DayPickerRangeController = __webpack_require__(203); +var _DayPickerRangeController = __webpack_require__(202); Object.defineProperty(exports, 'DayPickerRangeController', { enumerable: true, @@ -23655,7 +22139,7 @@ Object.defineProperty(exports, 'DayPickerRangeController', { }() }); -var _DayPickerSingleDateController = __webpack_require__(206); +var _DayPickerSingleDateController = __webpack_require__(205); Object.defineProperty(exports, 'DayPickerSingleDateController', { enumerable: true, @@ -23668,7 +22152,7 @@ Object.defineProperty(exports, 'DayPickerSingleDateController', { }() }); -var _SingleDatePicker = __webpack_require__(312); +var _SingleDatePicker = __webpack_require__(332); Object.defineProperty(exports, 'SingleDatePicker', { enumerable: true, @@ -23681,7 +22165,7 @@ Object.defineProperty(exports, 'SingleDatePicker', { }() }); -var _SingleDatePickerInput = __webpack_require__(208); +var _SingleDatePickerInput = __webpack_require__(207); Object.defineProperty(exports, 'SingleDatePickerInput', { enumerable: true, @@ -23694,7 +22178,7 @@ Object.defineProperty(exports, 'SingleDatePickerInput', { }() }); -var _SingleDatePickerShape = __webpack_require__(207); +var _SingleDatePickerShape = __webpack_require__(206); Object.defineProperty(exports, 'SingleDatePickerShape', { enumerable: true, @@ -23707,7 +22191,7 @@ Object.defineProperty(exports, 'SingleDatePickerShape', { }() }); -var _isInclusivelyAfterDay = __webpack_require__(93); +var _isInclusivelyAfterDay = __webpack_require__(92); Object.defineProperty(exports, 'isInclusivelyAfterDay', { enumerable: true, @@ -23720,7 +22204,7 @@ Object.defineProperty(exports, 'isInclusivelyAfterDay', { }() }); -var _isInclusivelyBeforeDay = __webpack_require__(313); +var _isInclusivelyBeforeDay = __webpack_require__(333); Object.defineProperty(exports, 'isInclusivelyBeforeDay', { enumerable: true, @@ -23733,7 +22217,7 @@ Object.defineProperty(exports, 'isInclusivelyBeforeDay', { }() }); -var _isNextDay = __webpack_require__(204); +var _isNextDay = __webpack_require__(203); Object.defineProperty(exports, 'isNextDay', { enumerable: true, @@ -23746,7 +22230,7 @@ Object.defineProperty(exports, 'isNextDay', { }() }); -var _isSameDay = __webpack_require__(76); +var _isSameDay = __webpack_require__(78); Object.defineProperty(exports, 'isSameDay', { enumerable: true, @@ -23759,7 +22243,7 @@ Object.defineProperty(exports, 'isSameDay', { }() }); -var _toISODateString = __webpack_require__(103); +var _toISODateString = __webpack_require__(102); Object.defineProperty(exports, 'toISODateString', { enumerable: true, @@ -23772,7 +22256,7 @@ Object.defineProperty(exports, 'toISODateString', { }() }); -var _toLocalizedDateString = __webpack_require__(138); +var _toLocalizedDateString = __webpack_require__(139); Object.defineProperty(exports, 'toLocalizedDateString', { enumerable: true, @@ -23785,7 +22269,7 @@ Object.defineProperty(exports, 'toLocalizedDateString', { }() }); -var _toMomentObject = __webpack_require__(77); +var _toMomentObject = __webpack_require__(79); Object.defineProperty(exports, 'toMomentObject', { enumerable: true, @@ -23801,14 +22285,14 @@ Object.defineProperty(exports, 'toMomentObject', { function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } /***/ }), -/* 267 */ +/* 283 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var define = __webpack_require__(54); -var getPolyfill = __webpack_require__(170); +var define = __webpack_require__(64); +var getPolyfill = __webpack_require__(168); module.exports = function shimAssign() { var polyfill = getPolyfill(); @@ -23822,7 +22306,7 @@ module.exports = function shimAssign() { /***/ }), -/* 268 */ +/* 284 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23893,10 +22377,10 @@ function shallowEqual(objA, objB) { module.exports = shallowEqual; /***/ }), -/* 269 */ +/* 285 */ /***/ (function(module, exports, __webpack_require__) { -var moment = __webpack_require__(29); +var moment = __webpack_require__(30); function isValidMoment(testMoment) { if (typeof moment.isMoment === 'function' && !moment.isMoment(testMoment)) { @@ -23919,7 +22403,7 @@ module.exports = { /***/ }), -/* 270 */ +/* 286 */ /***/ (function(module, exports) { var messages = { @@ -24044,7 +22528,7 @@ module.exports = { /***/ }), -/* 271 */ +/* 287 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -24100,66 +22584,64 @@ module.exports = { /***/ }), -/* 272 */ +/* 288 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; +var reactIs = __webpack_require__(289); + /** * Copyright 2015, Yahoo! Inc. * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. */ -var ReactIs = __webpack_require__(273); var REACT_STATICS = { - childContextTypes: true, - contextType: true, - contextTypes: true, - defaultProps: true, - displayName: true, - getDefaultProps: true, - getDerivedStateFromError: true, - getDerivedStateFromProps: true, - mixins: true, - propTypes: true, - type: true + childContextTypes: true, + contextType: true, + contextTypes: true, + defaultProps: true, + displayName: true, + getDefaultProps: true, + getDerivedStateFromError: true, + getDerivedStateFromProps: true, + mixins: true, + propTypes: true, + type: true }; - var KNOWN_STATICS = { - name: true, - length: true, - prototype: true, - caller: true, - callee: true, - arguments: true, - arity: true + name: true, + length: true, + prototype: true, + caller: true, + callee: true, + arguments: true, + arity: true }; - var FORWARD_REF_STATICS = { - '$$typeof': true, - render: true, - defaultProps: true, - displayName: true, - propTypes: true + '$$typeof': true, + render: true, + defaultProps: true, + displayName: true, + propTypes: true }; - var MEMO_STATICS = { - '$$typeof': true, - compare: true, - defaultProps: true, - displayName: true, - propTypes: true, - type: true + '$$typeof': true, + compare: true, + defaultProps: true, + displayName: true, + propTypes: true, + type: true }; - var TYPE_STATICS = {}; -TYPE_STATICS[ReactIs.ForwardRef] = FORWARD_REF_STATICS; +TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS; function getStatics(component) { - if (ReactIs.isMemo(component)) { - return MEMO_STATICS; - } - return TYPE_STATICS[component['$$typeof']] || REACT_STATICS; + if (reactIs.isMemo(component)) { + return MEMO_STATICS; + } + + return TYPE_STATICS[component['$$typeof']] || REACT_STATICS; } var defineProperty = Object.defineProperty; @@ -24168,61 +22650,60 @@ var getOwnPropertySymbols = Object.getOwnPropertySymbols; var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; var getPrototypeOf = Object.getPrototypeOf; var objectPrototype = Object.prototype; - function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) { - if (typeof sourceComponent !== 'string') { - // don't hoist over string (html) components + if (typeof sourceComponent !== 'string') { + // don't hoist over string (html) components + if (objectPrototype) { + var inheritedComponent = getPrototypeOf(sourceComponent); - if (objectPrototype) { - var inheritedComponent = getPrototypeOf(sourceComponent); - if (inheritedComponent && inheritedComponent !== objectPrototype) { - hoistNonReactStatics(targetComponent, inheritedComponent, blacklist); - } - } - - var keys = getOwnPropertyNames(sourceComponent); - - if (getOwnPropertySymbols) { - keys = keys.concat(getOwnPropertySymbols(sourceComponent)); - } - - var targetStatics = getStatics(targetComponent); - var sourceStatics = getStatics(sourceComponent); - - for (var i = 0; i < keys.length; ++i) { - var key = keys[i]; - if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) { - var descriptor = getOwnPropertyDescriptor(sourceComponent, key); - try { - // Avoid failures from read-only properties - defineProperty(targetComponent, key, descriptor); - } catch (e) {} - } - } - - return targetComponent; + if (inheritedComponent && inheritedComponent !== objectPrototype) { + hoistNonReactStatics(targetComponent, inheritedComponent, blacklist); + } } - return targetComponent; + var keys = getOwnPropertyNames(sourceComponent); + + if (getOwnPropertySymbols) { + keys = keys.concat(getOwnPropertySymbols(sourceComponent)); + } + + var targetStatics = getStatics(targetComponent); + var sourceStatics = getStatics(sourceComponent); + + for (var i = 0; i < keys.length; ++i) { + var key = keys[i]; + + if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) { + var descriptor = getOwnPropertyDescriptor(sourceComponent, key); + + try { + // Avoid failures from read-only properties + defineProperty(targetComponent, key, descriptor); + } catch (e) {} + } + } + } + + return targetComponent; } module.exports = hoistNonReactStatics; /***/ }), -/* 273 */ +/* 289 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; if (true) { - module.exports = __webpack_require__(274); + module.exports = __webpack_require__(290); } else {} /***/ }), -/* 274 */ +/* 290 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -24244,7 +22725,7 @@ exports.isSuspense=function(a){return t(a)===p}; /***/ }), -/* 275 */ +/* 291 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -24261,7 +22742,7 @@ var DIRECTIONS = exports.DIRECTIONS = { }; /***/ }), -/* 276 */ +/* 292 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -24271,7 +22752,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -24284,7 +22765,7 @@ exports['default'] = _propTypes2['default'].shape({ }); /***/ }), -/* 277 */ +/* 293 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -24305,7 +22786,7 @@ function getPhrase(phrase, args) { } /***/ }), -/* 278 */ +/* 294 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -24316,17 +22797,17 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = CalendarWeek; -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); var _CalendarDay = __webpack_require__(132); var _CalendarDay2 = _interopRequireDefault(_CalendarDay); -var _CustomizableCalendarDay = __webpack_require__(279); +var _CustomizableCalendarDay = __webpack_require__(295); var _CustomizableCalendarDay2 = _interopRequireDefault(_CustomizableCalendarDay); @@ -24349,7 +22830,7 @@ function CalendarWeek(_ref) { CalendarWeek.propTypes = propTypes; /***/ }), -/* 279 */ +/* 295 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -24364,19 +22845,19 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(48); +var _object = __webpack_require__(51); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactAddonsShallowCompare = __webpack_require__(75); +var _reactAddonsShallowCompare = __webpack_require__(77); var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); @@ -24384,27 +22865,27 @@ var _reactMomentProptypes = __webpack_require__(65); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); -var _reactWithStyles = __webpack_require__(55); +var _reactWithStyles = __webpack_require__(56); -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _defaultPhrases = __webpack_require__(49); +var _defaultPhrases = __webpack_require__(52); -var _getPhrasePropTypes = __webpack_require__(53); +var _getPhrasePropTypes = __webpack_require__(55); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _getCalendarDaySettings = __webpack_require__(171); +var _getCalendarDaySettings = __webpack_require__(169); var _getCalendarDaySettings2 = _interopRequireDefault(_getCalendarDaySettings); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); -var _DefaultTheme = __webpack_require__(168); +var _DefaultTheme = __webpack_require__(166); var _DefaultTheme2 = _interopRequireDefault(_DefaultTheme); @@ -24859,7 +23340,7 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { })(CustomizableCalendarDay); /***/ }), -/* 280 */ +/* 296 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -24870,11 +23351,11 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = getCalendarMonthWeeks; -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -24923,7 +23404,7 @@ function getCalendarMonthWeeks(month, enableOutsideDays) { } /***/ }), -/* 281 */ +/* 297 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -24938,7 +23419,7 @@ function isTransitionEndSupported() { } /***/ }), -/* 282 */ +/* 298 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -24958,7 +23439,7 @@ function getTransformStyles(transformValue) { } /***/ }), -/* 283 */ +/* 299 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -24969,11 +23450,11 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = isPrevMonth; -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _isSameMonth = __webpack_require__(176); +var _isSameMonth = __webpack_require__(174); var _isSameMonth2 = _interopRequireDefault(_isSameMonth); @@ -24985,7 +23466,7 @@ function isPrevMonth(a, b) { } /***/ }), -/* 284 */ +/* 300 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -24996,11 +23477,11 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = isNextMonth; -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _isSameMonth = __webpack_require__(176); +var _isSameMonth = __webpack_require__(174); var _isSameMonth2 = _interopRequireDefault(_isSameMonth); @@ -25012,7 +23493,7 @@ function isNextMonth(a, b) { } /***/ }), -/* 285 */ +/* 301 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -25027,31 +23508,31 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(48); +var _object = __webpack_require__(51); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); -var _reactAddonsShallowCompare = __webpack_require__(75); +var _reactAddonsShallowCompare = __webpack_require__(77); var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _reactWithStyles = __webpack_require__(55); +var _reactWithStyles = __webpack_require__(56); -var _reactPortal = __webpack_require__(215); +var _reactPortal = __webpack_require__(214); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); -var _consolidatedEvents = __webpack_require__(104); +var _consolidatedEvents = __webpack_require__(103); -var _isTouchDevice = __webpack_require__(79); +var _isTouchDevice = __webpack_require__(81); var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); @@ -25059,45 +23540,45 @@ var _reactOutsideClickHandler = __webpack_require__(133); var _reactOutsideClickHandler2 = _interopRequireDefault(_reactOutsideClickHandler); -var _DateRangePickerShape = __webpack_require__(187); +var _DateRangePickerShape = __webpack_require__(186); var _DateRangePickerShape2 = _interopRequireDefault(_DateRangePickerShape); -var _defaultPhrases = __webpack_require__(49); +var _defaultPhrases = __webpack_require__(52); -var _getResponsiveContainerStyles = __webpack_require__(191); +var _getResponsiveContainerStyles = __webpack_require__(190); var _getResponsiveContainerStyles2 = _interopRequireDefault(_getResponsiveContainerStyles); -var _getDetachedContainerStyles = __webpack_require__(192); +var _getDetachedContainerStyles = __webpack_require__(191); var _getDetachedContainerStyles2 = _interopRequireDefault(_getDetachedContainerStyles); -var _getInputHeight = __webpack_require__(136); +var _getInputHeight = __webpack_require__(137); var _getInputHeight2 = _interopRequireDefault(_getInputHeight); -var _isInclusivelyAfterDay = __webpack_require__(93); +var _isInclusivelyAfterDay = __webpack_require__(92); var _isInclusivelyAfterDay2 = _interopRequireDefault(_isInclusivelyAfterDay); -var _disableScroll2 = __webpack_require__(193); +var _disableScroll2 = __webpack_require__(192); var _disableScroll3 = _interopRequireDefault(_disableScroll2); -var _DateRangePickerInputController = __webpack_require__(194); +var _DateRangePickerInputController = __webpack_require__(193); var _DateRangePickerInputController2 = _interopRequireDefault(_DateRangePickerInputController); -var _DayPickerRangeController = __webpack_require__(203); +var _DayPickerRangeController = __webpack_require__(202); var _DayPickerRangeController2 = _interopRequireDefault(_DayPickerRangeController); -var _CloseButton = __webpack_require__(95); +var _CloseButton = __webpack_require__(94); var _CloseButton2 = _interopRequireDefault(_CloseButton); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -25850,7 +24331,7 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref) { })(DateRangePicker); /***/ }), -/* 286 */ +/* 302 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -25862,23 +24343,23 @@ Object.defineProperty(exports, "__esModule", { var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); -var _consolidatedEvents = __webpack_require__(104); +var _consolidatedEvents = __webpack_require__(103); var _object = __webpack_require__(134); var _object2 = _interopRequireDefault(_object); -var _document = __webpack_require__(293); +var _document = __webpack_require__(313); var _document2 = _interopRequireDefault(_document); @@ -26088,24 +24569,24 @@ OutsideClickHandler.propTypes = propTypes; OutsideClickHandler.defaultProps = defaultProps; /***/ }), -/* 287 */ +/* 303 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -module.exports = __webpack_require__(288); +module.exports = __webpack_require__(304); /***/ }), -/* 288 */ +/* 304 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var ES2015 = __webpack_require__(289); -var assign = __webpack_require__(181); +var ES2015 = __webpack_require__(305); +var assign = __webpack_require__(180); var ES2016 = assign(assign({}, ES2015), { // https://github.com/tc39/ecma262/pull/60 @@ -26121,17 +24602,17 @@ module.exports = ES2016; /***/ }), -/* 289 */ +/* 305 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var has = __webpack_require__(62); -var toPrimitive = __webpack_require__(153); -var keys = __webpack_require__(89); +var has = __webpack_require__(74); +var toPrimitive = __webpack_require__(306); +var keys = __webpack_require__(126); -var GetIntrinsic = __webpack_require__(135); +var GetIntrinsic = __webpack_require__(136); var $TypeError = GetIntrinsic('%TypeError%'); var $SyntaxError = GetIntrinsic('%SyntaxError%'); @@ -26144,17 +24625,17 @@ var $RegExp = GetIntrinsic('%RegExp%'); var hasSymbols = !!$Symbol; -var assertRecord = __webpack_require__(178); -var $isNaN = __webpack_require__(179); -var $isFinite = __webpack_require__(180); +var assertRecord = __webpack_require__(177); +var $isNaN = __webpack_require__(178); +var $isFinite = __webpack_require__(179); var MAX_SAFE_INTEGER = $Number.MAX_SAFE_INTEGER || Math.pow(2, 53) - 1; -var assign = __webpack_require__(181); -var sign = __webpack_require__(182); -var mod = __webpack_require__(183); -var isPrimitive = __webpack_require__(290); +var assign = __webpack_require__(180); +var sign = __webpack_require__(181); +var mod = __webpack_require__(182); +var isPrimitive = __webpack_require__(308); var parseInteger = parseInt; -var bind = __webpack_require__(58); +var bind = __webpack_require__(72); var arraySlice = bind.call(Function.call, $Array.prototype.slice); var strSlice = bind.call(Function.call, $String.prototype.slice); var isBinary = bind.call(Function.call, $RegExp.prototype.test, /^0b[01]+$/i); @@ -26197,9 +24678,9 @@ var trim = function (value) { return replace(value, trimRegex, ''); }; -var ES5 = __webpack_require__(291); +var ES5 = __webpack_require__(309); -var hasRegExpMatcher = __webpack_require__(165); +var hasRegExpMatcher = __webpack_require__(311); // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-abstract-operations var ES6 = assign(assign({}, ES5), { @@ -26918,7 +25399,99 @@ module.exports = ES6; /***/ }), -/* 290 */ +/* 306 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +module.exports = __webpack_require__(307); + + +/***/ }), +/* 307 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol'; + +var isPrimitive = __webpack_require__(176); +var isCallable = __webpack_require__(135); +var isDate = __webpack_require__(162); +var isSymbol = __webpack_require__(131); + +var ordinaryToPrimitive = function OrdinaryToPrimitive(O, hint) { + if (typeof O === 'undefined' || O === null) { + throw new TypeError('Cannot call method on ' + O); + } + if (typeof hint !== 'string' || (hint !== 'number' && hint !== 'string')) { + throw new TypeError('hint must be "string" or "number"'); + } + var methodNames = hint === 'string' ? ['toString', 'valueOf'] : ['valueOf', 'toString']; + var method, result, i; + for (i = 0; i < methodNames.length; ++i) { + method = O[methodNames[i]]; + if (isCallable(method)) { + result = method.call(O); + if (isPrimitive(result)) { + return result; + } + } + } + throw new TypeError('No default value'); +}; + +var GetMethod = function GetMethod(O, P) { + var func = O[P]; + if (func !== null && typeof func !== 'undefined') { + if (!isCallable(func)) { + throw new TypeError(func + ' returned for property ' + P + ' of object ' + O + ' is not a function'); + } + return func; + } + return void 0; +}; + +// http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive +module.exports = function ToPrimitive(input) { + if (isPrimitive(input)) { + return input; + } + var hint = 'default'; + if (arguments.length > 1) { + if (arguments[1] === String) { + hint = 'string'; + } else if (arguments[1] === Number) { + hint = 'number'; + } + } + + var exoticToPrim; + if (hasSymbols) { + if (Symbol.toPrimitive) { + exoticToPrim = GetMethod(input, Symbol.toPrimitive); + } else if (isSymbol(input)) { + exoticToPrim = Symbol.prototype.valueOf; + } + } + if (typeof exoticToPrim !== 'undefined') { + var result = exoticToPrim.call(input, hint); + if (isPrimitive(result)) { + return result; + } + throw new TypeError('unable to convert exotic object to primitive'); + } + if (hint === 'default' && (isDate(input) || isSymbol(input))) { + hint = 'string'; + } + return ordinaryToPrimitive(input, hint === 'default' ? 'number' : hint); +}; + + +/***/ }), +/* 308 */ /***/ (function(module, exports) { module.exports = function isPrimitive(value) { @@ -26927,29 +25500,29 @@ module.exports = function isPrimitive(value) { /***/ }), -/* 291 */ +/* 309 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var GetIntrinsic = __webpack_require__(135); +var GetIntrinsic = __webpack_require__(136); var $Object = GetIntrinsic('%Object%'); var $TypeError = GetIntrinsic('%TypeError%'); var $String = GetIntrinsic('%String%'); -var assertRecord = __webpack_require__(178); -var $isNaN = __webpack_require__(179); -var $isFinite = __webpack_require__(180); +var assertRecord = __webpack_require__(177); +var $isNaN = __webpack_require__(178); +var $isFinite = __webpack_require__(179); -var sign = __webpack_require__(182); -var mod = __webpack_require__(183); +var sign = __webpack_require__(181); +var mod = __webpack_require__(182); -var IsCallable = __webpack_require__(100); -var toPrimitive = __webpack_require__(164); +var IsCallable = __webpack_require__(135); +var toPrimitive = __webpack_require__(310); -var has = __webpack_require__(62); +var has = __webpack_require__(74); // https://es5.github.io/#x9 var ES5 = { @@ -27169,14 +25742,112 @@ module.exports = ES5; /***/ }), -/* 292 */ +/* 310 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var getPolyfill = __webpack_require__(184); -var define = __webpack_require__(54); +var toStr = Object.prototype.toString; + +var isPrimitive = __webpack_require__(176); + +var isCallable = __webpack_require__(135); + +// http://ecma-international.org/ecma-262/5.1/#sec-8.12.8 +var ES5internalSlots = { + '[[DefaultValue]]': function (O) { + var actualHint; + if (arguments.length > 1) { + actualHint = arguments[1]; + } else { + actualHint = toStr.call(O) === '[object Date]' ? String : Number; + } + + if (actualHint === String || actualHint === Number) { + var methods = actualHint === String ? ['toString', 'valueOf'] : ['valueOf', 'toString']; + var value, i; + for (i = 0; i < methods.length; ++i) { + if (isCallable(O[methods[i]])) { + value = O[methods[i]](); + if (isPrimitive(value)) { + return value; + } + } + } + throw new TypeError('No default value'); + } + throw new TypeError('invalid [[DefaultValue]] hint supplied'); + } +}; + +// http://ecma-international.org/ecma-262/5.1/#sec-9.1 +module.exports = function ToPrimitive(input) { + if (isPrimitive(input)) { + return input; + } + if (arguments.length > 1) { + return ES5internalSlots['[[DefaultValue]]'](input, arguments[1]); + } + return ES5internalSlots['[[DefaultValue]]'](input); +}; + + +/***/ }), +/* 311 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var has = __webpack_require__(74); +var regexExec = RegExp.prototype.exec; +var gOPD = Object.getOwnPropertyDescriptor; + +var tryRegexExecCall = function tryRegexExec(value) { + try { + var lastIndex = value.lastIndex; + value.lastIndex = 0; + + regexExec.call(value); + return true; + } catch (e) { + return false; + } finally { + value.lastIndex = lastIndex; + } +}; +var toStr = Object.prototype.toString; +var regexClass = '[object RegExp]'; +var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; + +module.exports = function isRegex(value) { + if (!value || typeof value !== 'object') { + return false; + } + if (!hasToStringTag) { + return toStr.call(value) === regexClass; + } + + var descriptor = gOPD(value, 'lastIndex'); + var hasLastIndexDataProperty = descriptor && has(descriptor, 'value'); + if (!hasLastIndexDataProperty) { + return false; + } + + return tryRegexExecCall(value); +}; + + +/***/ }), +/* 312 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var getPolyfill = __webpack_require__(183); +var define = __webpack_require__(64); module.exports = function shimValues() { var polyfill = getPolyfill(); @@ -27190,18 +25861,18 @@ module.exports = function shimValues() { /***/ }), -/* 293 */ +/* 313 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var define = __webpack_require__(54); +var define = __webpack_require__(64); -var implementation = __webpack_require__(185); -var getPolyfill = __webpack_require__(186); +var implementation = __webpack_require__(184); +var getPolyfill = __webpack_require__(185); var polyfill = getPolyfill(); -var shim = __webpack_require__(294); +var shim = __webpack_require__(314); var boundContains = function contains(node, other) { return polyfill.apply(node, [other]); @@ -27217,14 +25888,14 @@ module.exports = boundContains; /***/ }), -/* 294 */ +/* 314 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var define = __webpack_require__(54); -var getPolyfill = __webpack_require__(186); +var define = __webpack_require__(64); +var getPolyfill = __webpack_require__(185); module.exports = function shimContains() { var polyfill = getPolyfill(); @@ -27247,12 +25918,12 @@ module.exports = function shimContains() { /***/ }), -/* 295 */ +/* 315 */ /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__(137), - now = __webpack_require__(296), - toNumber = __webpack_require__(298); +var isObject = __webpack_require__(138), + now = __webpack_require__(316), + toNumber = __webpack_require__(318); /** Error message constants. */ var FUNC_ERROR_TEXT = 'Expected a function'; @@ -27444,10 +26115,10 @@ module.exports = debounce; /***/ }), -/* 296 */ +/* 316 */ /***/ (function(module, exports, __webpack_require__) { -var root = __webpack_require__(198); +var root = __webpack_require__(197); /** * Gets the timestamp of the number of milliseconds that have elapsed since @@ -27473,7 +26144,7 @@ module.exports = now; /***/ }), -/* 297 */ +/* 317 */ /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */ @@ -27481,14 +26152,14 @@ var freeGlobal = typeof global == 'object' && global && global.Object === Object module.exports = freeGlobal; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(64))) +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(61))) /***/ }), -/* 298 */ +/* 318 */ /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__(137), - isSymbol = __webpack_require__(299); +var isObject = __webpack_require__(138), + isSymbol = __webpack_require__(319); /** Used as references for various `Number` constants. */ var NAN = 0 / 0; @@ -27556,11 +26227,11 @@ module.exports = toNumber; /***/ }), -/* 299 */ +/* 319 */ /***/ (function(module, exports, __webpack_require__) { -var baseGetTag = __webpack_require__(300), - isObjectLike = __webpack_require__(303); +var baseGetTag = __webpack_require__(320), + isObjectLike = __webpack_require__(323); /** `Object#toString` result references. */ var symbolTag = '[object Symbol]'; @@ -27591,12 +26262,12 @@ module.exports = isSymbol; /***/ }), -/* 300 */ +/* 320 */ /***/ (function(module, exports, __webpack_require__) { -var Symbol = __webpack_require__(199), - getRawTag = __webpack_require__(301), - objectToString = __webpack_require__(302); +var Symbol = __webpack_require__(198), + getRawTag = __webpack_require__(321), + objectToString = __webpack_require__(322); /** `Object#toString` result references. */ var nullTag = '[object Null]', @@ -27625,10 +26296,10 @@ module.exports = baseGetTag; /***/ }), -/* 301 */ +/* 321 */ /***/ (function(module, exports, __webpack_require__) { -var Symbol = __webpack_require__(199); +var Symbol = __webpack_require__(198); /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -27677,7 +26348,7 @@ module.exports = getRawTag; /***/ }), -/* 302 */ +/* 322 */ /***/ (function(module, exports) { /** Used for built-in method references. */ @@ -27705,7 +26376,7 @@ module.exports = objectToString; /***/ }), -/* 303 */ +/* 323 */ /***/ (function(module, exports) { /** @@ -27740,7 +26411,7 @@ module.exports = isObjectLike; /***/ }), -/* 304 */ +/* 324 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -27762,7 +26433,7 @@ function getSelectedDateOffset(fn, day) { } /***/ }), -/* 305 */ +/* 325 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -27774,49 +26445,49 @@ Object.defineProperty(exports, "__esModule", { var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; -var _object = __webpack_require__(48); +var _object = __webpack_require__(51); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); -var _reactWithStyles = __webpack_require__(55); +var _reactWithStyles = __webpack_require__(56); -var _defaultPhrases = __webpack_require__(49); +var _defaultPhrases = __webpack_require__(52); -var _getPhrasePropTypes = __webpack_require__(53); +var _getPhrasePropTypes = __webpack_require__(55); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _LeftArrow = __webpack_require__(201); +var _LeftArrow = __webpack_require__(200); var _LeftArrow2 = _interopRequireDefault(_LeftArrow); -var _RightArrow = __webpack_require__(200); +var _RightArrow = __webpack_require__(199); var _RightArrow2 = _interopRequireDefault(_RightArrow); -var _ChevronUp = __webpack_require__(306); +var _ChevronUp = __webpack_require__(326); var _ChevronUp2 = _interopRequireDefault(_ChevronUp); -var _ChevronDown = __webpack_require__(307); +var _ChevronDown = __webpack_require__(327); var _ChevronDown2 = _interopRequireDefault(_ChevronDown); -var _ScrollableOrientationShape = __webpack_require__(78); +var _ScrollableOrientationShape = __webpack_require__(80); var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -28071,7 +26742,7 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { })(DayPickerNavigation); /***/ }), -/* 306 */ +/* 326 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -28081,7 +26752,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); @@ -28107,7 +26778,7 @@ ChevronUp.defaultProps = { exports['default'] = ChevronUp; /***/ }), -/* 307 */ +/* 327 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -28117,7 +26788,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); @@ -28143,7 +26814,7 @@ ChevronDown.defaultProps = { exports['default'] = ChevronDown; /***/ }), -/* 308 */ +/* 328 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -28158,33 +26829,33 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(48); +var _object = __webpack_require__(51); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); -var _reactWithStyles = __webpack_require__(55); +var _reactWithStyles = __webpack_require__(56); -var _defaultPhrases = __webpack_require__(49); +var _defaultPhrases = __webpack_require__(52); -var _getPhrasePropTypes = __webpack_require__(53); +var _getPhrasePropTypes = __webpack_require__(55); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _KeyboardShortcutRow = __webpack_require__(309); +var _KeyboardShortcutRow = __webpack_require__(329); var _KeyboardShortcutRow2 = _interopRequireDefault(_KeyboardShortcutRow); -var _CloseButton = __webpack_require__(95); +var _CloseButton = __webpack_require__(94); var _CloseButton2 = _interopRequireDefault(_CloseButton); @@ -28652,7 +27323,7 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref3) { })(DayPickerKeyboardShortcuts); /***/ }), -/* 309 */ +/* 329 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -28664,21 +27335,21 @@ Object.defineProperty(exports, "__esModule", { var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; -var _object = __webpack_require__(48); +var _object = __webpack_require__(51); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(33); +var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); -var _reactWithStyles = __webpack_require__(55); +var _reactWithStyles = __webpack_require__(56); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -28767,7 +27438,7 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { })(KeyboardShortcutRow); /***/ }), -/* 310 */ +/* 330 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -28778,7 +27449,7 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = getNumberOfCalendarMonthWeeks; -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); @@ -28798,7 +27469,7 @@ function getNumberOfCalendarMonthWeeks(month) { } /***/ }), -/* 311 */ +/* 331 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -28813,7 +27484,7 @@ function getActiveElement() { } /***/ }), -/* 312 */ +/* 332 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -28828,27 +27499,27 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(48); +var _object = __webpack_require__(51); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(28); +var _react = __webpack_require__(20); var _react2 = _interopRequireDefault(_react); -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _reactWithStyles = __webpack_require__(55); +var _reactWithStyles = __webpack_require__(56); -var _reactPortal = __webpack_require__(215); +var _reactPortal = __webpack_require__(214); -var _airbnbPropTypes = __webpack_require__(46); +var _airbnbPropTypes = __webpack_require__(47); -var _consolidatedEvents = __webpack_require__(104); +var _consolidatedEvents = __webpack_require__(103); -var _isTouchDevice = __webpack_require__(79); +var _isTouchDevice = __webpack_require__(81); var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); @@ -28856,53 +27527,53 @@ var _reactOutsideClickHandler = __webpack_require__(133); var _reactOutsideClickHandler2 = _interopRequireDefault(_reactOutsideClickHandler); -var _SingleDatePickerShape = __webpack_require__(207); +var _SingleDatePickerShape = __webpack_require__(206); var _SingleDatePickerShape2 = _interopRequireDefault(_SingleDatePickerShape); -var _defaultPhrases = __webpack_require__(49); +var _defaultPhrases = __webpack_require__(52); -var _toMomentObject = __webpack_require__(77); +var _toMomentObject = __webpack_require__(79); var _toMomentObject2 = _interopRequireDefault(_toMomentObject); -var _toLocalizedDateString = __webpack_require__(138); +var _toLocalizedDateString = __webpack_require__(139); var _toLocalizedDateString2 = _interopRequireDefault(_toLocalizedDateString); -var _getResponsiveContainerStyles = __webpack_require__(191); +var _getResponsiveContainerStyles = __webpack_require__(190); var _getResponsiveContainerStyles2 = _interopRequireDefault(_getResponsiveContainerStyles); -var _getDetachedContainerStyles = __webpack_require__(192); +var _getDetachedContainerStyles = __webpack_require__(191); var _getDetachedContainerStyles2 = _interopRequireDefault(_getDetachedContainerStyles); -var _getInputHeight = __webpack_require__(136); +var _getInputHeight = __webpack_require__(137); var _getInputHeight2 = _interopRequireDefault(_getInputHeight); -var _isInclusivelyAfterDay = __webpack_require__(93); +var _isInclusivelyAfterDay = __webpack_require__(92); var _isInclusivelyAfterDay2 = _interopRequireDefault(_isInclusivelyAfterDay); -var _disableScroll2 = __webpack_require__(193); +var _disableScroll2 = __webpack_require__(192); var _disableScroll3 = _interopRequireDefault(_disableScroll2); -var _SingleDatePickerInput = __webpack_require__(208); +var _SingleDatePickerInput = __webpack_require__(207); var _SingleDatePickerInput2 = _interopRequireDefault(_SingleDatePickerInput); -var _DayPickerSingleDateController = __webpack_require__(206); +var _DayPickerSingleDateController = __webpack_require__(205); var _DayPickerSingleDateController2 = _interopRequireDefault(_DayPickerSingleDateController); -var _CloseButton = __webpack_require__(95); +var _CloseButton = __webpack_require__(94); var _CloseButton2 = _interopRequireDefault(_CloseButton); -var _constants = __webpack_require__(40); +var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -29688,7 +28359,7 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref) { })(SingleDatePicker); /***/ }), -/* 313 */ +/* 333 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -29699,11 +28370,11 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = isInclusivelyBeforeDay; -var _moment = __webpack_require__(29); +var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _isAfterDay = __webpack_require__(107); +var _isAfterDay = __webpack_require__(106); var _isAfterDay2 = _interopRequireDefault(_isAfterDay); @@ -29715,7 +28386,7 @@ function isInclusivelyBeforeDay(a, b) { } /***/ }), -/* 314 */ +/* 334 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -29739,7 +28410,7 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", { value: true }); -var React = __importStar(__webpack_require__(28)); +var React = __importStar(__webpack_require__(20)); var styles = { top: { width: '100%', @@ -29813,7 +28484,7 @@ exports.Resizer = Resizer; /***/ }), -/* 315 */ +/* 335 */ /***/ (function(module, exports) { // @@ -29963,26 +28634,6 @@ module.exports.strategies = { /***/ }), -/* 316 */, -/* 317 */, -/* 318 */, -/* 319 */, -/* 320 */, -/* 321 */, -/* 322 */, -/* 323 */, -/* 324 */, -/* 325 */, -/* 326 */, -/* 327 */, -/* 328 */, -/* 329 */, -/* 330 */, -/* 331 */, -/* 332 */, -/* 333 */, -/* 334 */, -/* 335 */, /* 336 */, /* 337 */, /* 338 */, @@ -29990,7 +28641,25 @@ module.exports.strategies = { /* 340 */, /* 341 */, /* 342 */, -/* 343 */ +/* 343 */, +/* 344 */, +/* 345 */, +/* 346 */, +/* 347 */, +/* 348 */, +/* 349 */, +/* 350 */, +/* 351 */, +/* 352 */, +/* 353 */, +/* 354 */, +/* 355 */, +/* 356 */, +/* 357 */, +/* 358 */, +/* 359 */, +/* 360 */, +/* 361 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -29999,16 +28668,24 @@ __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js var objectSpread = __webpack_require__(7); +// EXTERNAL MODULE: external {"this":"lodash"} +var external_this_lodash_ = __webpack_require__(2); + // EXTERNAL MODULE: external {"this":["wp","element"]} var external_this_wp_element_ = __webpack_require__(0); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/primitives/svg/index.js +/** + * External dependencies + */ + /** * WordPress dependencies */ + var svg_Circle = function Circle(props) { return Object(external_this_wp_element_["createElement"])('circle', props); }; @@ -30033,7 +28710,7 @@ var svg_SVG = function SVG(props) { // eslint-disable-next-line react/forbid-elements - return Object(external_this_wp_element_["createElement"])("svg", appliedProps); + return Object(external_this_wp_element_["createElement"])("svg", Object(external_this_lodash_["omit"])(appliedProps, '__unstableActive')); }; // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/primitives/horizontal-rule/index.js @@ -30048,13 +28725,13 @@ var BlockQuotation = 'blockquote'; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(10); +var defineProperty = __webpack_require__(9); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(23); +var slicedToArray = __webpack_require__(22); // EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(16); +var classnames = __webpack_require__(11); var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/animate/index.js @@ -30110,28 +28787,25 @@ function Animate(_ref) { /* harmony default export */ var build_module_animate = (Animate); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(12); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(13); +var possibleConstructorReturn = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(14); +var getPrototypeOf = __webpack_require__(16); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js -var assertThisInitialized = __webpack_require__(5); +var assertThisInitialized = __webpack_require__(6); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(11); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(15); +var inherits = __webpack_require__(17); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(17); - -// EXTERNAL MODULE: external {"this":"lodash"} -var external_this_lodash_ = __webpack_require__(2); +var toConsumableArray = __webpack_require__(18); // EXTERNAL MODULE: external {"this":["wp","keycodes"]} var external_this_wp_keycodes_ = __webpack_require__(19); @@ -30143,12 +28817,9 @@ var external_this_wp_i18n_ = __webpack_require__(1); var external_this_wp_compose_ = __webpack_require__(8); // EXTERNAL MODULE: external {"this":["wp","richText"]} -var external_this_wp_richText_ = __webpack_require__(22); +var external_this_wp_richText_ = __webpack_require__(24); -// EXTERNAL MODULE: external {"this":["wp","dom"]} -var external_this_wp_dom_ = __webpack_require__(25); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js var objectWithoutProperties = __webpack_require__(21); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/button/index.js @@ -30208,14 +28879,13 @@ function Button(props, ref) { /* harmony default export */ var build_module_button = (Object(external_this_wp_element_["forwardRef"])(Button)); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(18); +var esm_extends = __webpack_require__(14); -// EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} -var external_this_wp_isShallowEqual_ = __webpack_require__(41); -var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_); +// EXTERNAL MODULE: external {"this":["wp","dom"]} +var external_this_wp_dom_ = __webpack_require__(29); // EXTERNAL MODULE: external {"this":["wp","deprecated"]} -var external_this_wp_deprecated_ = __webpack_require__(37); +var external_this_wp_deprecated_ = __webpack_require__(35); var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_deprecated_); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/popover/utils.js @@ -30227,10 +28897,6 @@ var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(ext */ var HEIGHT_OFFSET = 10; // used by the arrow and a bit of empty space -var isMobileViewport = function isMobileViewport() { - return window.innerWidth < 782; -}; - var isRTL = function isRTL() { return document.documentElement.dir === 'rtl'; }; @@ -30368,14 +29034,12 @@ function computePopoverYAxisPosition(anchorRect, contentSize, yAxis) { * @param {Object} anchorRect Anchor Rect. * @param {Object} contentSize Content Size. * @param {string} position Position. - * @param {boolean} expandOnMobile Whether to expand the popover on mobile or not. * * @return {Object} Popover position and constraints. */ function computePopoverPosition(anchorRect, contentSize) { var position = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'top'; - var expandOnMobile = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false; var _position$split = position.split(' '), _position$split2 = Object(slicedToArray["a" /* default */])(_position$split, 2), @@ -30385,9 +29049,7 @@ function computePopoverPosition(anchorRect, contentSize) { var yAxisPosition = computePopoverYAxisPosition(anchorRect, contentSize, yAxis); var xAxisPosition = computePopoverXAxisPosition(anchorRect, contentSize, xAxis, yAxisPosition.yAxis); - return Object(objectSpread["a" /* default */])({ - isMobile: isMobileViewport() && expandOnMobile - }, xAxisPosition, yAxisPosition); + return Object(objectSpread["a" /* default */])({}, xAxisPosition, yAxisPosition); } // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-focus-return/context.js @@ -30413,10 +29075,10 @@ function computePopoverPosition(anchorRect, contentSize) { var _createContext = Object(external_this_wp_element_["createContext"])({ focusHistory: [] }), - Provider = _createContext.Provider, + context_Provider = _createContext.Provider, Consumer = _createContext.Consumer; -Provider.displayName = 'FocusReturnProvider'; +context_Provider.displayName = 'FocusReturnProvider'; Consumer.displayName = 'FocusReturnConsumer'; /** * The maximum history length to capture for the focus stack. When exceeded, @@ -30468,7 +29130,7 @@ function (_Component) { var _this$props = this.props, children = _this$props.children, className = _this$props.className; - return Object(external_this_wp_element_["createElement"])(Provider, { + return Object(external_this_wp_element_["createElement"])(context_Provider, { value: this.state }, Object(external_this_wp_element_["createElement"])("div", { onFocus: this.onFocus, @@ -30526,11 +29188,11 @@ function isComponentLike(object) { * when the component is unmounted. * * @param {(WPComponent|Object)} options The component to be enhanced with - * focus return behavior, or an object - * describing the component and the - * focus return characteristics. + * focus return behavior, or an object + * describing the component and the + * focus return characteristics. * - * @return {Component} Component with the focus restauration behaviour. + * @return {WPComponent} Component with the focus restauration behaviour. */ @@ -31171,11 +29833,6 @@ function (_Component) { /* harmony default export */ var build_module_tooltip = (tooltip_Tooltip); -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/dashicon/icon-class.js -var getIconClassName = function getIconClassName(icon, className) { - return ['dashicon', 'dashicons-' + icon, className].filter(Boolean).join(' '); -}; - // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/dashicon/index.js @@ -31203,7 +29860,6 @@ OR if you're looking to change now SVGs get output, you'll need to edit strings - var dashicon_Dashicon = /*#__PURE__*/ function (_Component) { @@ -31223,8 +29879,7 @@ function (_Component) { _this$props$size = _this$props.size, size = _this$props$size === void 0 ? 20 : _this$props$size, className = _this$props.className, - ariaPressed = _this$props.ariaPressed, - extraProps = Object(objectWithoutProperties["a" /* default */])(_this$props, ["icon", "size", "className", "ariaPressed"]); + extraProps = Object(objectWithoutProperties["a" /* default */])(_this$props, ["icon", "size", "className"]); var path; @@ -32386,7 +31041,7 @@ function (_Component) { return null; } - var iconClass = getIconClassName(icon, className, ariaPressed); + var iconClass = ['dashicon', 'dashicons-' + icon, className].filter(Boolean).join(' '); return Object(external_this_wp_element_["createElement"])(svg_SVG, Object(esm_extends["a" /* default */])({ "aria-hidden": true, role: "img", @@ -32429,19 +31084,24 @@ function Icon(_ref) { size = _ref.size, additionalProps = Object(objectWithoutProperties["a" /* default */])(_ref, ["icon", "size"]); - var iconSize; + // Dashicons should be 20x20 by default. + var dashiconSize = size || 20; if ('string' === typeof icon) { - // Dashicons should be 20x20 by default - iconSize = size || 20; return Object(external_this_wp_element_["createElement"])(dashicon_Dashicon, Object(esm_extends["a" /* default */])({ icon: icon, - size: iconSize + size: dashiconSize }, additionalProps)); - } // Any other icons should be 24x24 by default + } + + if (icon && dashicon_Dashicon === icon.type) { + return Object(external_this_wp_element_["cloneElement"])(icon, Object(objectSpread["a" /* default */])({ + size: dashiconSize + }, additionalProps)); + } // Icons should be 24x24 by default. - iconSize = size || 24; + var iconSize = size || 24; if ('function' === typeof icon) { if (icon.prototype instanceof external_this_wp_element_["Component"]) { @@ -32506,7 +31166,8 @@ function IconButton(props, ref) { tooltip = props.tooltip, shortcut = props.shortcut, labelPosition = props.labelPosition, - additionalProps = Object(objectWithoutProperties["a" /* default */])(props, ["icon", "children", "label", "className", "tooltip", "shortcut", "labelPosition"]); + size = props.size, + additionalProps = Object(objectWithoutProperties["a" /* default */])(props, ["icon", "children", "label", "className", "tooltip", "shortcut", "labelPosition", "size"]); var classes = classnames_default()('components-icon-button', className, { 'has-text': children @@ -32524,9 +31185,10 @@ function IconButton(props, ref) { }, additionalProps, { className: classes, ref: ref - }), Object(external_this_lodash_["isString"])(icon) ? Object(external_this_wp_element_["createElement"])(build_module_icon, { - icon: icon - }) : icon, children); + }), Object(external_this_wp_element_["createElement"])(build_module_icon, { + icon: icon, + size: size + }), children); if (showTooltip) { element = Object(external_this_wp_element_["createElement"])(build_module_tooltip, { @@ -32561,7 +31223,7 @@ function IconButton(props, ref) { * @param {Object} args Keyword args. * @param {HTMLDocument} args.htmlDocument The document to lock the scroll for. * @param {string} args.className The name of the class used to lock scrolling. - * @return {Component} The bound ScrollLock component. + * @return {WPComponent} The bound ScrollLock component. */ function createScrollLockComponent() { @@ -32688,59 +31350,29 @@ function createScrollLockComponent() { - - - - - - /** * WordPress dependencies */ -var isolated_event_container_IsolatedEventContainer = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(IsolatedEventContainer, _Component); +function stopPropagation(event) { + event.stopPropagation(); +} - function IsolatedEventContainer(props) { - var _this; +/* harmony default export */ var isolated_event_container = (Object(external_this_wp_element_["forwardRef"])(function (_ref, ref) { + var children = _ref.children, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["children"]); - Object(classCallCheck["a" /* default */])(this, IsolatedEventContainer); + // Disable reason: this stops certain events from propagating outside of the component. + // - onMouseDown is disabled as this can cause interactions with other DOM elements - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(IsolatedEventContainer).call(this, props)); - _this.stopEventPropagationOutsideContainer = _this.stopEventPropagationOutsideContainer.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; - } - - Object(createClass["a" /* default */])(IsolatedEventContainer, [{ - key: "stopEventPropagationOutsideContainer", - value: function stopEventPropagationOutsideContainer(event) { - event.stopPropagation(); - } - }, { - key: "render", - value: function render() { - var _this$props = this.props, - children = _this$props.children, - props = Object(objectWithoutProperties["a" /* default */])(_this$props, ["children"]); // Disable reason: this stops certain events from propagating outside of the component. - // - onMouseDown is disabled as this can cause interactions with other DOM elements - - /* eslint-disable jsx-a11y/no-static-element-interactions */ - - - return Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, props, { - onMouseDown: this.stopEventPropagationOutsideContainer - }), children); - /* eslint-enable jsx-a11y/no-static-element-interactions */ - } - }]); - - return IsolatedEventContainer; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var isolated_event_container = (isolated_event_container_IsolatedEventContainer); + /* eslint-disable jsx-a11y/no-static-element-interactions */ + return Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, props, { + ref: ref, + onMouseDown: stopPropagation + }), children); + /* eslint-enable jsx-a11y/no-static-element-interactions */ +})); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/context.js @@ -32771,7 +31403,7 @@ var SlotFillContext = Object(external_this_wp_element_["createContext"])({ getFills: function getFills() {}, subscribe: function subscribe() {} }); -var context_Provider = SlotFillContext.Provider, +var slot_fill_context_Provider = SlotFillContext.Provider, context_Consumer = SlotFillContext.Consumer; var context_SlotFillProvider = @@ -32791,6 +31423,7 @@ function (_Component) { _this.unregisterFill = _this.unregisterFill.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.getSlot = _this.getSlot.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.getFills = _this.getFills.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.hasFills = _this.hasFills.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.subscribe = _this.subscribe.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.slots = {}; _this.fills = {}; @@ -32802,6 +31435,7 @@ function (_Component) { unregisterFill: _this.unregisterFill, getSlot: _this.getSlot, getFills: _this.getFills, + hasFills: _this.hasFills, subscribe: _this.subscribe }; return _this; @@ -32866,6 +31500,11 @@ function (_Component) { return Object(external_this_lodash_["sortBy"])(this.fills[name], 'occurrence'); } + }, { + key: "hasFills", + value: function hasFills(name) { + return this.fills[name] && !!this.fills[name].length; + } }, { key: "resetFillOccurrence", value: function resetFillOccurrence(name) { @@ -32902,7 +31541,7 @@ function (_Component) { }, { key: "render", value: function render() { - return Object(external_this_wp_element_["createElement"])(context_Provider, { + return Object(external_this_wp_element_["createElement"])(slot_fill_context_Provider, { value: this.contextValue }, this.props.children); } @@ -32940,6 +31579,90 @@ var context_useSlot = function useSlot(name) { /* harmony default export */ var slot_fill_context = (context_SlotFillProvider); +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/fill.js + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + +var occurrences = 0; + +function fill_FillComponent(_ref) { + var name = _ref.name, + children = _ref.children, + registerFill = _ref.registerFill, + unregisterFill = _ref.unregisterFill; + var slot = context_useSlot(name); + var ref = Object(external_this_wp_element_["useRef"])({ + name: name, + children: children + }); + + if (!ref.current.occurrence) { + ref.current.occurrence = ++occurrences; + } + + Object(external_this_wp_element_["useLayoutEffect"])(function () { + registerFill(name, ref.current); + return function () { + return unregisterFill(name, ref.current); + }; + }, []); + Object(external_this_wp_element_["useLayoutEffect"])(function () { + ref.current.children = children; + + if (slot && !slot.props.bubblesVirtually) { + slot.forceUpdate(); + } + }, [children]); + Object(external_this_wp_element_["useLayoutEffect"])(function () { + if (name === ref.current.name) { + // ignore initial effect + return; + } + + unregisterFill(ref.current.name, ref.current); + ref.current.name = name; + registerFill(name, ref.current); + }, [name]); + + if (!slot || !slot.node || !slot.props.bubblesVirtually) { + return null; + } // If a function is passed as a child, provide it with the fillProps. + + + if (Object(external_this_lodash_["isFunction"])(children)) { + children = children(slot.props.fillProps); + } + + return Object(external_this_wp_element_["createPortal"])(children, slot.node); +} + +var fill_Fill = function Fill(props) { + return Object(external_this_wp_element_["createElement"])(context_Consumer, null, function (_ref2) { + var registerFill = _ref2.registerFill, + unregisterFill = _ref2.unregisterFill; + return Object(external_this_wp_element_["createElement"])(fill_FillComponent, Object(esm_extends["a" /* default */])({}, props, { + registerFill: registerFill, + unregisterFill: unregisterFill + })); + }); +}; + +/* harmony default export */ var slot_fill_fill = (fill_Fill); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/slot.js @@ -33069,125 +31792,6 @@ var slot_Slot = function Slot(props) { /* harmony default export */ var slot_fill_slot = (slot_Slot); -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/fill.js - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - -/** - * Internal dependencies - */ - - -var occurrences = 0; - -function fill_FillComponent(_ref) { - var name = _ref.name, - children = _ref.children, - registerFill = _ref.registerFill, - unregisterFill = _ref.unregisterFill; - var slot = context_useSlot(name); - var ref = Object(external_this_wp_element_["useRef"])({ - name: name, - children: children - }); - - if (!ref.current.occurrence) { - ref.current.occurrence = ++occurrences; - } - - Object(external_this_wp_element_["useLayoutEffect"])(function () { - registerFill(name, ref.current); - return function () { - return unregisterFill(name, ref.current); - }; - }, []); - Object(external_this_wp_element_["useLayoutEffect"])(function () { - ref.current.children = children; - - if (slot && !slot.props.bubblesVirtually) { - slot.forceUpdate(); - } - }, [children]); - Object(external_this_wp_element_["useLayoutEffect"])(function () { - if (name === ref.current.name) { - // ignore initial effect - return; - } - - unregisterFill(ref.current.name, ref.current); - ref.current.name = name; - registerFill(name, ref.current); - }, [name]); - - if (!slot || !slot.node || !slot.props.bubblesVirtually) { - return null; - } // If a function is passed as a child, provide it with the fillProps. - - - if (Object(external_this_lodash_["isFunction"])(children)) { - children = children(slot.props.fillProps); - } - - return Object(external_this_wp_element_["createPortal"])(children, slot.node); -} - -var fill_Fill = function Fill(props) { - return Object(external_this_wp_element_["createElement"])(context_Consumer, null, function (_ref2) { - var registerFill = _ref2.registerFill, - unregisterFill = _ref2.unregisterFill; - return Object(external_this_wp_element_["createElement"])(fill_FillComponent, Object(esm_extends["a" /* default */])({}, props, { - registerFill: registerFill, - unregisterFill: unregisterFill - })); - }); -}; - -/* harmony default export */ var slot_fill_fill = (fill_Fill); - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/index.js - - - -/** - * Internal dependencies - */ - - - - - - -function createSlotFill(name) { - var FillComponent = function FillComponent(props) { - return Object(external_this_wp_element_["createElement"])(slot_fill_fill, Object(esm_extends["a" /* default */])({ - name: name - }, props)); - }; - - FillComponent.displayName = name + 'Fill'; - - var SlotComponent = function SlotComponent(props) { - return Object(external_this_wp_element_["createElement"])(slot_fill_slot, Object(esm_extends["a" /* default */])({ - name: name - }, props)); - }; - - SlotComponent.displayName = name + 'Slot'; - return { - Fill: FillComponent, - Slot: SlotComponent - }; -} - // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/popover/index.js @@ -33231,187 +31835,97 @@ var FocusManaged = with_constrained_tabbing(with_focus_return(function (_ref) { */ var SLOT_NAME = 'Popover'; -/** - * Hook used trigger an event handler once the window is resized or scrolled. - * - * @param {Function} handler Event handler. - * @param {Object} ignoredScrollableRef scroll events inside this element are ignored. - */ -function useThrottledWindowScrollOrResize(handler, ignoredScrollableRef) { - // Refresh anchor rect on resize - Object(external_this_wp_element_["useEffect"])(function () { - var refreshHandle; +function computeAnchorRect(anchorRefFallback, anchorRect, getAnchorRect) { + var anchorRef = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false; + var shouldAnchorIncludePadding = arguments.length > 4 ? arguments[4] : undefined; - var throttledRefresh = function throttledRefresh(event) { - window.cancelAnimationFrame(refreshHandle); + if (anchorRect) { + return anchorRect; + } - if (ignoredScrollableRef && event && event.type === 'scroll' && ignoredScrollableRef.current.contains(event.target)) { - return; - } - - refreshHandle = window.requestAnimationFrame(handler); - }; - - window.addEventListener('resize', throttledRefresh); - window.addEventListener('scroll', throttledRefresh, true); - return function () { - window.removeEventListener('resize', throttledRefresh); - window.removeEventListener('scroll', throttledRefresh, true); - }; - }, []); -} -/** - * Hook used to compute and update the anchor position properly. - * - * @param {Object} anchorRef reference to the popover anchor element. - * @param {Object} contentRef reference to the popover content element. - * @param {Object} anchorRect anchor Rect prop used to override the computed value. - * @param {Function} getAnchorRect function used to override the anchor value computation algorithm. - * - * @return {Object} Anchor position. - */ - - -function useAnchor(anchorRef, contentRef, anchorRect, getAnchorRect) { - var _useState = Object(external_this_wp_element_["useState"])(null), - _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), - anchor = _useState2[0], - setAnchor = _useState2[1]; - - var refreshAnchorRect = function refreshAnchorRect() { - if (!anchorRef.current) { + if (getAnchorRect) { + if (!anchorRefFallback.current) { return; } - var newAnchor; + return getAnchorRect(anchorRefFallback.current); + } - if (anchorRect) { - newAnchor = anchorRect; - } else if (getAnchorRect) { - newAnchor = getAnchorRect(anchorRef.current); - } else { - var rect = anchorRef.current.parentNode.getBoundingClientRect(); // subtract padding - - var _window$getComputedSt = window.getComputedStyle(anchorRef.current.parentNode), - paddingTop = _window$getComputedSt.paddingTop, - paddingBottom = _window$getComputedSt.paddingBottom; - - var topPad = parseInt(paddingTop, 10); - var bottomPad = parseInt(paddingBottom, 10); - newAnchor = { - x: rect.left, - y: rect.top + topPad, - width: rect.width, - height: rect.height - topPad - bottomPad, - left: rect.left, - right: rect.right, - top: rect.top + topPad, - bottom: rect.bottom - bottomPad - }; - } - - var didAnchorRectChange = !external_this_wp_isShallowEqual_default()(newAnchor, anchor); - - if (didAnchorRectChange) { - setAnchor(newAnchor); - } - }; - - Object(external_this_wp_element_["useEffect"])(refreshAnchorRect, [anchorRect, getAnchorRect]); - Object(external_this_wp_element_["useEffect"])(function () { - if (!anchorRect) { - /* - * There are sometimes we need to reposition or resize the popover that are not - * handled by the resize/scroll window events (i.e. CSS changes in the layout - * that changes the position of the anchor). - * - * For these situations, we refresh the popover every 0.5s - */ - var intervalHandle = setInterval(refreshAnchorRect, 500); - return function () { - return clearInterval(intervalHandle); - }; - } - }, [anchorRect]); - useThrottledWindowScrollOrResize(refreshAnchorRect, contentRef); - return anchor; -} -/** - * Hook used to compute the initial size of an element. - * The popover applies styling to limit the height of the element, - * we only care about the initial size. - * - * @param {Object} ref Reference to the popover content element. - * - * @return {Object} Content size. - */ - - -function useInitialContentSize(ref) { - var _useState3 = Object(external_this_wp_element_["useState"])(null), - _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2), - contentSize = _useState4[0], - setContentSize = _useState4[1]; - - Object(external_this_wp_element_["useEffect"])(function () { - var contentRect = ref.current.getBoundingClientRect(); - setContentSize({ - width: contentRect.width, - height: contentRect.height - }); - }, []); - return contentSize; -} -/** - * Hook used to compute and update the position of the popover - * based on the anchor position and the content size. - * - * @param {Object} anchor Anchor Position. - * @param {Object} contentSize Content Size. - * @param {string} position Position prop. - * @param {boolean} expandOnMobile Whether to show the popover full width on mobile. - * @param {Object} contentRef Reference to the popover content element. - * - * @return {Object} Popover position. - */ - - -function usePopoverPosition(anchor, contentSize, position, expandOnMobile, contentRef) { - var _useState5 = Object(external_this_wp_element_["useState"])({ - popoverLeft: null, - popoverTop: null, - yAxis: 'top', - xAxis: 'center', - contentHeight: null, - contentWidth: null, - isMobile: false - }), - _useState6 = Object(slicedToArray["a" /* default */])(_useState5, 2), - popoverPosition = _useState6[0], - setPopoverPosition = _useState6[1]; - - var refreshPopoverPosition = function refreshPopoverPosition() { - if (!anchor || !contentSize) { + if (anchorRef !== false) { + if (!anchorRef) { return; } - var newPopoverPosition = computePopoverPosition(anchor, contentSize, position, expandOnMobile); - - if (popoverPosition.yAxis !== newPopoverPosition.yAxis || popoverPosition.xAxis !== newPopoverPosition.xAxis || popoverPosition.popoverLeft !== newPopoverPosition.popoverLeft || popoverPosition.popoverTop !== newPopoverPosition.popoverTop || popoverPosition.contentHeight !== newPopoverPosition.contentHeight || popoverPosition.contentWidth !== newPopoverPosition.contentWidth || popoverPosition.isMobile !== newPopoverPosition.isMobile) { - setPopoverPosition(newPopoverPosition); + if (anchorRef instanceof window.Range) { + return Object(external_this_wp_dom_["getRectangleFromRange"])(anchorRef); } - }; - Object(external_this_wp_element_["useEffect"])(refreshPopoverPosition, [anchor, contentSize]); - useThrottledWindowScrollOrResize(refreshPopoverPosition, contentRef); - return popoverPosition; + var _rect = anchorRef.getBoundingClientRect(); + + if (shouldAnchorIncludePadding) { + return _rect; + } + + return withoutPadding(_rect, anchorRef); + } + + if (!anchorRefFallback.current) { + return; + } + + var parentNode = anchorRefFallback.current.parentNode; + var rect = parentNode.getBoundingClientRect(); + + if (shouldAnchorIncludePadding) { + return rect; + } + + return withoutPadding(rect, parentNode); +} + +function addBuffer(rect) { + var verticalBuffer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; + var horizontalBuffer = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0; + return { + x: rect.left - horizontalBuffer, + y: rect.top - verticalBuffer, + width: rect.width + 2 * horizontalBuffer, + height: rect.height + 2 * verticalBuffer, + left: rect.left - horizontalBuffer, + right: rect.right + horizontalBuffer, + top: rect.top - verticalBuffer, + bottom: rect.bottom + verticalBuffer + }; +} + +function withoutPadding(rect, element) { + var _window$getComputedSt = window.getComputedStyle(element), + paddingTop = _window$getComputedSt.paddingTop, + paddingBottom = _window$getComputedSt.paddingBottom, + paddingLeft = _window$getComputedSt.paddingLeft, + paddingRight = _window$getComputedSt.paddingRight; + + var top = paddingTop ? parseInt(paddingTop, 10) : 0; + var bottom = paddingBottom ? parseInt(paddingBottom, 10) : 0; + var left = paddingLeft ? parseInt(paddingLeft, 10) : 0; + var right = paddingRight ? parseInt(paddingRight, 10) : 0; + return { + x: rect.left + left, + y: rect.top + top, + width: rect.width - left - right, + height: rect.height - top - bottom, + left: rect.left + left, + right: rect.right - right, + top: rect.top + top, + bottom: rect.bottom - bottom + }; } /** * Hook used to focus the first tabbable element on mount. * * @param {boolean|string} focusOnMount Focus on mount mode. - * @param {Object} contentRef Reference to the popover content element. + * @param {Object} contentRef Reference to the popover content element. */ @@ -33454,6 +31968,60 @@ function useFocusContentOnMount(focusOnMount, contentRef) { }; }, []); } +/** + * Sets or removes an element attribute. + * + * @param {Element} element The element to modify. + * @param {string} name The attribute name to set or remove. + * @param {?string} value The value to set. A falsy value will remove the + * attribute. + */ + + +function setAttribute(element, name, value) { + if (!value) { + if (element.hasAttribute(name)) { + element.removeAttribute(name); + } + } else if (element.getAttribute(name) !== value) { + element.setAttribute(name, value); + } +} +/** + * Sets or removes an element style property. + * + * @param {Element} element The element to modify. + * @param {string} property The property to set or remove. + * @param {?string} value The value to set. A falsy value will remove the + * property. + */ + + +function setStyle(element, property) { + var value = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ''; + + if (element.style[property] !== value) { + element.style[property] = value; + } +} +/** + * Sets or removes an element class. + * + * @param {Element} element The element to modify. + * @param {string} name The class to set or remove. + * @param {boolean} toggle True to set the class, false to remove. + */ + + +function setClass(element, name, toggle) { + if (toggle) { + if (!element.classList.contains(name)) { + element.classList.add(name); + } + } else if (element.classList.contains(name)) { + element.classList.remove(name); + } +} var popover_Popover = function Popover(_ref2) { var headerTitle = _ref2.headerTitle, @@ -33468,6 +32036,10 @@ var popover_Popover = function Popover(_ref2) { range = _ref2.range, _ref2$focusOnMount = _ref2.focusOnMount, focusOnMount = _ref2$focusOnMount === void 0 ? 'firstElement' : _ref2$focusOnMount, + anchorRef = _ref2.anchorRef, + shouldAnchorIncludePadding = _ref2.shouldAnchorIncludePadding, + anchorVerticalBuffer = _ref2.anchorVerticalBuffer, + anchorHorizontalBuffer = _ref2.anchorHorizontalBuffer, anchorRect = _ref2.anchorRect, getAnchorRect = _ref2.getAnchorRect, expandOnMobile = _ref2.expandOnMobile, @@ -33475,27 +32047,98 @@ var popover_Popover = function Popover(_ref2) { animate = _ref2$animate === void 0 ? true : _ref2$animate, onClickOutside = _ref2.onClickOutside, onFocusOutside = _ref2.onFocusOutside, - contentProps = Object(objectWithoutProperties["a" /* default */])(_ref2, ["headerTitle", "onClose", "onKeyDown", "children", "className", "noArrow", "position", "range", "focusOnMount", "anchorRect", "getAnchorRect", "expandOnMobile", "animate", "onClickOutside", "onFocusOutside"]); + contentProps = Object(objectWithoutProperties["a" /* default */])(_ref2, ["headerTitle", "onClose", "onKeyDown", "children", "className", "noArrow", "position", "range", "focusOnMount", "anchorRef", "shouldAnchorIncludePadding", "anchorVerticalBuffer", "anchorHorizontalBuffer", "anchorRect", "getAnchorRect", "expandOnMobile", "animate", "onClickOutside", "onFocusOutside"]); - var anchorRef = Object(external_this_wp_element_["useRef"])(null); - var contentRef = Object(external_this_wp_element_["useRef"])(null); // Animation + var anchorRefFallback = Object(external_this_wp_element_["useRef"])(null); + var contentRef = Object(external_this_wp_element_["useRef"])(null); + var containerRef = Object(external_this_wp_element_["useRef"])(); + var contentRect = Object(external_this_wp_element_["useRef"])(); + var isMobileViewport = Object(external_this_wp_compose_["useViewportMatch"])('medium', '<'); - var _useState7 = Object(external_this_wp_element_["useState"])(false), - _useState8 = Object(slicedToArray["a" /* default */])(_useState7, 2), - isReadyToAnimate = _useState8[0], - setIsReadyToAnimate = _useState8[1]; // Anchor position + var _useState = Object(external_this_wp_element_["useState"])(), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + animateOrigin = _useState2[0], + setAnimateOrigin = _useState2[1]; - - var anchor = useAnchor(anchorRef, contentRef, anchorRect, getAnchorRect); // Content size - - var contentSize = useInitialContentSize(contentRef); + var isExpanded = expandOnMobile && isMobileViewport; + noArrow = isExpanded || noArrow; Object(external_this_wp_element_["useEffect"])(function () { - if (contentSize) { - setIsReadyToAnimate(true); - } - }, [contentSize]); // Compute the position + var containerEl = containerRef.current; + var contentEl = contentRef.current; - var popoverPosition = usePopoverPosition(anchor, contentSize, position, expandOnMobile, contentRef); + if (isExpanded) { + setClass(containerEl, 'is-without-arrow', noArrow); + setAttribute(containerEl, 'data-x-axis'); + setAttribute(containerEl, 'data-y-axis'); + setStyle(containerEl, 'top'); + setStyle(containerEl, 'left'); + setStyle(contentEl, 'maxHeight'); + setStyle(contentEl, 'maxWidth'); + return; + } + + var refresh = function refresh() { + var anchor = computeAnchorRect(anchorRefFallback, anchorRect, getAnchorRect, anchorRef, shouldAnchorIncludePadding); + + if (!anchor) { + return; + } + + anchor = addBuffer(anchor, anchorVerticalBuffer, anchorHorizontalBuffer); + + if (!contentRect.current) { + contentRect.current = contentEl.getBoundingClientRect(); + } + + var _computePopoverPositi = computePopoverPosition(anchor, contentRect.current, position), + popoverTop = _computePopoverPositi.popoverTop, + popoverLeft = _computePopoverPositi.popoverLeft, + xAxis = _computePopoverPositi.xAxis, + yAxis = _computePopoverPositi.yAxis, + contentHeight = _computePopoverPositi.contentHeight, + contentWidth = _computePopoverPositi.contentWidth; + + setClass(containerEl, 'is-without-arrow', noArrow || xAxis === 'center' && yAxis === 'middle'); + setAttribute(containerEl, 'data-x-axis', xAxis); + setAttribute(containerEl, 'data-y-axis', yAxis); + setStyle(containerEl, 'top', typeof popoverTop === 'number' ? popoverTop + 'px' : ''); + setStyle(containerEl, 'left', typeof popoverLeft === 'number' ? popoverLeft + 'px' : ''); + setStyle(contentEl, 'maxHeight', typeof contentHeight === 'number' ? contentHeight + 'px' : ''); + setStyle(contentEl, 'maxWidth', typeof contentWidth === 'number' ? contentWidth + 'px' : ''); // Compute the animation position + + var yAxisMapping = { + top: 'bottom', + bottom: 'top' + }; + var xAxisMapping = { + left: 'right', + right: 'left' + }; + var animateYAxis = yAxisMapping[yAxis] || 'middle'; + var animateXAxis = xAxisMapping[xAxis] || 'center'; + setAnimateOrigin(animateXAxis + ' ' + animateYAxis); + }; // Height may still adjust between now and the next tick. + + + var timeoutId = window.setTimeout(refresh); + /* + * There are sometimes we need to reposition or resize the popover that + * are not handled by the resize/scroll window events (i.e. CSS changes + * in the layout that changes the position of the anchor). + * + * For these situations, we refresh the popover every 0.5s + */ + + var intervalHandle = window.setInterval(refresh, 500); + window.addEventListener('resize', refresh); + window.addEventListener('scroll', refresh, true); + return function () { + window.clearTimeout(timeoutId); + window.clearInterval(intervalHandle); + window.removeEventListener('resize', refresh); + window.removeEventListener('scroll', refresh, true); + }; + }, [isExpanded, anchorRect, getAnchorRect, anchorRef, shouldAnchorIncludePadding, anchorVerticalBuffer, anchorHorizontalBuffer, position]); useFocusContentOnMount(focusOnMount, contentRef); // Event handlers var maybeClose = function maybeClose(event) { @@ -33553,44 +32196,28 @@ var popover_Popover = function Popover(_ref2) { alternative: 'onFocusOutside' }); onClickOutside(clickEvent); - } // Compute the animation position - - - var yAxisMapping = { - top: 'bottom', - bottom: 'top' - }; - var xAxisMapping = { - left: 'right', - right: 'left' - }; - var animateYAxis = yAxisMapping[popoverPosition.yAxis] || 'middle'; - var animateXAxis = xAxisMapping[popoverPosition.xAxis] || 'center'; - var classes = classnames_default()('components-popover', className, 'is-' + popoverPosition.yAxis, 'is-' + popoverPosition.xAxis, { - 'is-mobile': popoverPosition.isMobile, - 'is-without-arrow': noArrow || popoverPosition.xAxis === 'center' && popoverPosition.yAxis === 'middle' - }); // Disable reason: We care to capture the _bubbled_ events from inputs + } // Disable reason: We care to capture the _bubbled_ events from inputs // within popover as inferring close intent. + var content = Object(external_this_wp_element_["createElement"])(detect_outside, { onFocusOutside: handleOnFocusOutside }, Object(external_this_wp_element_["createElement"])(build_module_animate, { - type: animate && isReadyToAnimate ? 'appear' : null, + type: animate && animateOrigin ? 'appear' : null, options: { - origin: animateYAxis + ' ' + animateXAxis + origin: animateOrigin } }, function (_ref3) { var animateClassName = _ref3.className; return Object(external_this_wp_element_["createElement"])(isolated_event_container, Object(esm_extends["a" /* default */])({ - className: classnames_default()(classes, animateClassName), - style: { - top: !popoverPosition.isMobile && popoverPosition.popoverTop ? popoverPosition.popoverTop + 'px' : undefined, - left: !popoverPosition.isMobile && popoverPosition.popoverLeft ? popoverPosition.popoverLeft + 'px' : undefined, - visibility: contentSize ? undefined : 'hidden' - } + className: classnames_default()('components-popover', className, animateClassName, { + 'is-expanded': isExpanded, + 'is-without-arrow': noArrow + }) }, contentProps, { - onKeyDown: maybeClose - }), popoverPosition.isMobile && Object(external_this_wp_element_["createElement"])("div", { + onKeyDown: maybeClose, + ref: containerRef + }), isExpanded && Object(external_this_wp_element_["createElement"])("div", { className: "components-popover__header" }, Object(external_this_wp_element_["createElement"])("span", { className: "components-popover__header-title" @@ -33601,10 +32228,6 @@ var popover_Popover = function Popover(_ref2) { })), Object(external_this_wp_element_["createElement"])("div", { ref: contentRef, className: "components-popover__content", - style: { - maxHeight: !popoverPosition.isMobile && popoverPosition.contentHeight ? popoverPosition.contentHeight + 'px' : undefined, - maxWidth: !popoverPosition.isMobile && popoverPosition.contentWidth ? popoverPosition.contentWidth + 'px' : undefined - }, tabIndex: "-1" }, children)); })); // Apply focus to element as long as focusOnMount is truthy; false is @@ -33626,8 +32249,8 @@ var popover_Popover = function Popover(_ref2) { } return Object(external_this_wp_element_["createElement"])("span", { - ref: anchorRef - }, content, popoverPosition.isMobile && expandOnMobile && Object(external_this_wp_element_["createElement"])(scroll_lock, null)); + ref: anchorRefFallback + }, content, isMobileViewport && expandOnMobile && Object(external_this_wp_element_["createElement"])(scroll_lock, null)); }); }; @@ -33643,7 +32266,7 @@ PopoverContainer.Slot = function () { /* harmony default export */ var popover = (PopoverContainer); // EXTERNAL MODULE: external {"this":["wp","a11y"]} -var external_this_wp_a11y_ = __webpack_require__(45); +var external_this_wp_a11y_ = __webpack_require__(44); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-spoken-messages/index.js @@ -33670,9 +32293,9 @@ var external_this_wp_a11y_ = __webpack_require__(45); * A Higher Order Component used to be provide a unique instance ID by * component. * - * @param {WPElement} WrappedComponent The wrapped component. + * @param {WPComponent} WrappedComponent The wrapped component. * - * @return {Component} Component with an instanceId prop. + * @return {WPComponent} The component to be rendered. */ /* harmony default export */ var with_spoken_messages = (Object(external_this_wp_compose_["createHigherOrderComponent"])(function (WrappedComponent) { @@ -33744,7 +32367,6 @@ var external_this_wp_a11y_ = __webpack_require__(45); - /** * Internal dependencies */ @@ -33816,7 +32438,7 @@ var external_this_wp_a11y_ = __webpack_require__(45); */ /** - * @typedef {Object} Completer + * @typedef {Object} WPCompleter * @property {string} name a way to identify a completer, useful for selective overriding. * @property {?string} className A class to apply to the popup menu. * @property {string} triggerPrefix the prefix that will display the menu. @@ -33861,13 +32483,9 @@ function filterOptions(search) { return filtered; } -function getCaretRect() { +function getRange() { var selection = window.getSelection(); - var range = selection.rangeCount ? selection.getRangeAt(0) : null; - - if (range) { - return Object(external_this_wp_dom_["getRectangleFromRange"])(range); - } + return selection.rangeCount ? selection.getRangeAt(0) : null; } var autocomplete_Autocomplete = @@ -33990,8 +32608,8 @@ function (_Component) { /** * Load options for an autocompleter. * - * @param {Completer} completer The autocompleter. - * @param {string} query The query, if any. + * @param {WPCompleter} completer The autocompleter. + * @param {string} query The query, if any. */ }, { @@ -34247,7 +32865,7 @@ function (_Component) { onClose: this.reset, position: "top right", className: "components-autocomplete__popover", - getAnchorRect: getCaretRect + anchorRef: getRange() }, Object(external_this_wp_element_["createElement"])("div", { id: listBoxId, role: "listbox", @@ -34274,6 +32892,64 @@ function (_Component) { }(external_this_wp_element_["Component"]); /* harmony default export */ var autocomplete = (Object(external_this_wp_compose_["compose"])([with_spoken_messages, external_this_wp_compose_["withInstanceId"]])(autocomplete_Autocomplete)); +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/visually-hidden/utils.js + + + +/** + * Utility Functions + */ + +/** + * renderAsRenderProps is used to wrap a component and convert + * the passed property "as" either a string or component, to the + * rendered tag if a string, or component. + * + * See VisuallyHidden hidden for example. + * + * @param {string|WPComponent} as A tag or component to render. + * @return {WPComponent} The rendered component. + */ +function renderAsRenderProps(_ref) { + var _ref$as = _ref.as, + Component = _ref$as === void 0 ? 'div' : _ref$as, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["as"]); + + if (typeof props.children === 'function') { + return props.children(props); + } + + return Object(external_this_wp_element_["createElement"])(Component, props); +} + + + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/visually-hidden/index.js + + + +/** + * Internal dependencies + */ + +/** + * VisuallyHidden component to render text out non-visually + * for use in devices such as a screen reader. + */ + +function VisuallyHidden(_ref) { + var _ref$as = _ref.as, + as = _ref$as === void 0 ? 'div' : _ref$as, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["as"]); + + return renderAsRenderProps(Object(objectSpread["a" /* default */])({ + as: as, + className: 'components-visually-hidden' + }, props)); +} + +/* harmony default export */ var visually_hidden = (VisuallyHidden); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/base-control/index.js @@ -34281,6 +32957,11 @@ function (_Component) { * External dependencies */ +/** + * Internal dependencies + */ + + function BaseControl(_ref) { var id = _ref.id, @@ -34293,12 +32974,15 @@ function BaseControl(_ref) { className: classnames_default()('components-base-control', className) }, Object(external_this_wp_element_["createElement"])("div", { className: "components-base-control__field" - }, label && id && Object(external_this_wp_element_["createElement"])("label", { - className: classnames_default()('components-base-control__label', { - 'screen-reader-text': hideLabelFromVision - }), + }, label && id && (hideLabelFromVision ? Object(external_this_wp_element_["createElement"])(visually_hidden, { + as: "label", htmlFor: id - }, label), label && !id && Object(external_this_wp_element_["createElement"])(BaseControl.VisualLabel, null, label), children), !!help && Object(external_this_wp_element_["createElement"])("p", { + }, label) : Object(external_this_wp_element_["createElement"])("label", { + className: "components-base-control__label", + htmlFor: id + }, label)), label && !id && (hideLabelFromVision ? Object(external_this_wp_element_["createElement"])(visually_hidden, { + as: "label" + }, label) : Object(external_this_wp_element_["createElement"])(BaseControl.VisualLabel, null, label)), children), !!help && Object(external_this_wp_element_["createElement"])("p", { id: id + '__help', className: "components-base-control__help" }, help)); @@ -34338,6 +33022,2483 @@ function ButtonGroup(_ref) { /* harmony default export */ var button_group = (ButtonGroup); +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/context.js +/** + * WordPress dependencies + */ + +var CardContext = Object(external_this_wp_element_["createContext"])({}); +var context_useCardContext = function useCardContext() { + return Object(external_this_wp_element_["useContext"])(CardContext); +}; + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/defineProperty.js +var helpers_defineProperty = __webpack_require__(222); +var defineProperty_default = /*#__PURE__*/__webpack_require__.n(helpers_defineProperty); + +// EXTERNAL MODULE: external {"this":"React"} +var external_this_React_ = __webpack_require__(20); + +// CONCATENATED MODULE: ./node_modules/@emotion/memoize/dist/memoize.browser.esm.js +function memoize(fn) { + var cache = {}; + return function (arg) { + if (cache[arg] === undefined) cache[arg] = fn(arg); + return cache[arg]; + }; +} + +/* harmony default export */ var memoize_browser_esm = (memoize); + +// CONCATENATED MODULE: ./node_modules/@emotion/is-prop-valid/dist/is-prop-valid.browser.esm.js + + +var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23 + +var is_prop_valid_browser_esm_index = memoize_browser_esm(function (prop) { + return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111 + /* o */ + && prop.charCodeAt(1) === 110 + /* n */ + && prop.charCodeAt(2) < 91; +} +/* Z+1 */ +); + +/* harmony default export */ var is_prop_valid_browser_esm = (is_prop_valid_browser_esm_index); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/inheritsLoose.js +var inheritsLoose = __webpack_require__(95); +var inheritsLoose_default = /*#__PURE__*/__webpack_require__.n(inheritsLoose); + +// CONCATENATED MODULE: ./node_modules/@emotion/cache/node_modules/@emotion/sheet/dist/sheet.browser.esm.js +/* + +Based off glamor's StyleSheet, thanks Sunil ❤️ + +high performance StyleSheet for css-in-js systems + +- uses multiple style tags behind the scenes for millions of rules +- uses `insertRule` for appending in production for *much* faster performance + +// usage + +import { StyleSheet } from '@emotion/sheet' + +let styleSheet = new StyleSheet({ key: '', container: document.head }) + +styleSheet.insert('#box { border: 1px solid red; }') +- appends a css rule into the stylesheet + +styleSheet.flush() +- empties the stylesheet of all its contents + +*/ +// $FlowFixMe +function sheetForTag(tag) { + if (tag.sheet) { + // $FlowFixMe + return tag.sheet; + } // this weirdness brought to you by firefox + + /* istanbul ignore next */ + + + for (var i = 0; i < document.styleSheets.length; i++) { + if (document.styleSheets[i].ownerNode === tag) { + // $FlowFixMe + return document.styleSheets[i]; + } + } +} + +function createStyleElement(options) { + var tag = document.createElement('style'); + tag.setAttribute('data-emotion', options.key); + + if (options.nonce !== undefined) { + tag.setAttribute('nonce', options.nonce); + } + + tag.appendChild(document.createTextNode('')); + return tag; +} + +var StyleSheet = +/*#__PURE__*/ +function () { + function StyleSheet(options) { + this.isSpeedy = options.speedy === undefined ? "production" === 'production' : options.speedy; + this.tags = []; + this.ctr = 0; + this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets + + this.key = options.key; + this.container = options.container; + this.before = null; + } + + var _proto = StyleSheet.prototype; + + _proto.insert = function insert(rule) { + // the max length is how many rules we have per style tag, it's 65000 in speedy mode + // it's 1 in dev because we insert source maps that map a single rule to a location + // and you can only have one source map per style tag + if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) { + var _tag = createStyleElement(this); + + var before; + + if (this.tags.length === 0) { + before = this.before; + } else { + before = this.tags[this.tags.length - 1].nextSibling; + } + + this.container.insertBefore(_tag, before); + this.tags.push(_tag); + } + + var tag = this.tags[this.tags.length - 1]; + + if (this.isSpeedy) { + var sheet = sheetForTag(tag); + + try { + // this is a really hot path + // we check the second character first because having "i" + // as the second character will happen less often than + // having "@" as the first character + var isImportRule = rule.charCodeAt(1) === 105 && rule.charCodeAt(0) === 64; // this is the ultrafast version, works across browsers + // the big drawback is that the css won't be editable in devtools + + sheet.insertRule(rule, // we need to insert @import rules before anything else + // otherwise there will be an error + // technically this means that the @import rules will + // _usually_(not always since there could be multiple style tags) + // be the first ones in prod and generally later in dev + // this shouldn't really matter in the real world though + // @import is generally only used for font faces from google fonts and etc. + // so while this could be technically correct then it would be slower and larger + // for a tiny bit of correctness that won't matter in the real world + isImportRule ? 0 : sheet.cssRules.length); + } catch (e) { + if (false) {} + } + } else { + tag.appendChild(document.createTextNode(rule)); + } + + this.ctr++; + }; + + _proto.flush = function flush() { + // $FlowFixMe + this.tags.forEach(function (tag) { + return tag.parentNode.removeChild(tag); + }); + this.tags = []; + this.ctr = 0; + }; + + return StyleSheet; +}(); + + + +// CONCATENATED MODULE: ./node_modules/@emotion/stylis/dist/stylis.browser.esm.js +function stylis_min (W) { + function M(d, c, e, h, a) { + for (var m = 0, b = 0, v = 0, n = 0, q, g, x = 0, K = 0, k, u = k = q = 0, l = 0, r = 0, I = 0, t = 0, B = e.length, J = B - 1, y, f = '', p = '', F = '', G = '', C; l < B;) { + g = e.charCodeAt(l); + l === J && 0 !== b + n + v + m && (0 !== b && (g = 47 === b ? 10 : 47), n = v = m = 0, B++, J++); + + if (0 === b + n + v + m) { + if (l === J && (0 < r && (f = f.replace(N, '')), 0 < f.trim().length)) { + switch (g) { + case 32: + case 9: + case 59: + case 13: + case 10: + break; + + default: + f += e.charAt(l); + } + + g = 59; + } + + switch (g) { + case 123: + f = f.trim(); + q = f.charCodeAt(0); + k = 1; + + for (t = ++l; l < B;) { + switch (g = e.charCodeAt(l)) { + case 123: + k++; + break; + + case 125: + k--; + break; + + case 47: + switch (g = e.charCodeAt(l + 1)) { + case 42: + case 47: + a: { + for (u = l + 1; u < J; ++u) { + switch (e.charCodeAt(u)) { + case 47: + if (42 === g && 42 === e.charCodeAt(u - 1) && l + 2 !== u) { + l = u + 1; + break a; + } + + break; + + case 10: + if (47 === g) { + l = u + 1; + break a; + } + + } + } + + l = u; + } + + } + + break; + + case 91: + g++; + + case 40: + g++; + + case 34: + case 39: + for (; l++ < J && e.charCodeAt(l) !== g;) { + } + + } + + if (0 === k) break; + l++; + } + + k = e.substring(t, l); + 0 === q && (q = (f = f.replace(ca, '').trim()).charCodeAt(0)); + + switch (q) { + case 64: + 0 < r && (f = f.replace(N, '')); + g = f.charCodeAt(1); + + switch (g) { + case 100: + case 109: + case 115: + case 45: + r = c; + break; + + default: + r = O; + } + + k = M(c, r, k, g, a + 1); + t = k.length; + 0 < A && (r = X(O, f, I), C = H(3, k, r, c, D, z, t, g, a, h), f = r.join(''), void 0 !== C && 0 === (t = (k = C.trim()).length) && (g = 0, k = '')); + if (0 < t) switch (g) { + case 115: + f = f.replace(da, ea); + + case 100: + case 109: + case 45: + k = f + '{' + k + '}'; + break; + + case 107: + f = f.replace(fa, '$1 $2'); + k = f + '{' + k + '}'; + k = 1 === w || 2 === w && L('@' + k, 3) ? '@-webkit-' + k + '@' + k : '@' + k; + break; + + default: + k = f + k, 112 === h && (k = (p += k, '')); + } else k = ''; + break; + + default: + k = M(c, X(c, f, I), k, h, a + 1); + } + + F += k; + k = I = r = u = q = 0; + f = ''; + g = e.charCodeAt(++l); + break; + + case 125: + case 59: + f = (0 < r ? f.replace(N, '') : f).trim(); + if (1 < (t = f.length)) switch (0 === u && (q = f.charCodeAt(0), 45 === q || 96 < q && 123 > q) && (t = (f = f.replace(' ', ':')).length), 0 < A && void 0 !== (C = H(1, f, c, d, D, z, p.length, h, a, h)) && 0 === (t = (f = C.trim()).length) && (f = '\x00\x00'), q = f.charCodeAt(0), g = f.charCodeAt(1), q) { + case 0: + break; + + case 64: + if (105 === g || 99 === g) { + G += f + e.charAt(l); + break; + } + + default: + 58 !== f.charCodeAt(t - 1) && (p += P(f, q, g, f.charCodeAt(2))); + } + I = r = u = q = 0; + f = ''; + g = e.charCodeAt(++l); + } + } + + switch (g) { + case 13: + case 10: + 47 === b ? b = 0 : 0 === 1 + q && 107 !== h && 0 < f.length && (r = 1, f += '\x00'); + 0 < A * Y && H(0, f, c, d, D, z, p.length, h, a, h); + z = 1; + D++; + break; + + case 59: + case 125: + if (0 === b + n + v + m) { + z++; + break; + } + + default: + z++; + y = e.charAt(l); + + switch (g) { + case 9: + case 32: + if (0 === n + m + b) switch (x) { + case 44: + case 58: + case 9: + case 32: + y = ''; + break; + + default: + 32 !== g && (y = ' '); + } + break; + + case 0: + y = '\\0'; + break; + + case 12: + y = '\\f'; + break; + + case 11: + y = '\\v'; + break; + + case 38: + 0 === n + b + m && (r = I = 1, y = '\f' + y); + break; + + case 108: + if (0 === n + b + m + E && 0 < u) switch (l - u) { + case 2: + 112 === x && 58 === e.charCodeAt(l - 3) && (E = x); + + case 8: + 111 === K && (E = K); + } + break; + + case 58: + 0 === n + b + m && (u = l); + break; + + case 44: + 0 === b + v + n + m && (r = 1, y += '\r'); + break; + + case 34: + case 39: + 0 === b && (n = n === g ? 0 : 0 === n ? g : n); + break; + + case 91: + 0 === n + b + v && m++; + break; + + case 93: + 0 === n + b + v && m--; + break; + + case 41: + 0 === n + b + m && v--; + break; + + case 40: + if (0 === n + b + m) { + if (0 === q) switch (2 * x + 3 * K) { + case 533: + break; + + default: + q = 1; + } + v++; + } + + break; + + case 64: + 0 === b + v + n + m + u + k && (k = 1); + break; + + case 42: + case 47: + if (!(0 < n + m + v)) switch (b) { + case 0: + switch (2 * g + 3 * e.charCodeAt(l + 1)) { + case 235: + b = 47; + break; + + case 220: + t = l, b = 42; + } + + break; + + case 42: + 47 === g && 42 === x && t + 2 !== l && (33 === e.charCodeAt(t + 2) && (p += e.substring(t, l + 1)), y = '', b = 0); + } + } + + 0 === b && (f += y); + } + + K = x; + x = g; + l++; + } + + t = p.length; + + if (0 < t) { + r = c; + if (0 < A && (C = H(2, p, r, d, D, z, t, h, a, h), void 0 !== C && 0 === (p = C).length)) return G + p + F; + p = r.join(',') + '{' + p + '}'; + + if (0 !== w * E) { + 2 !== w || L(p, 2) || (E = 0); + + switch (E) { + case 111: + p = p.replace(ha, ':-moz-$1') + p; + break; + + case 112: + p = p.replace(Q, '::-webkit-input-$1') + p.replace(Q, '::-moz-$1') + p.replace(Q, ':-ms-input-$1') + p; + } + + E = 0; + } + } + + return G + p + F; + } + + function X(d, c, e) { + var h = c.trim().split(ia); + c = h; + var a = h.length, + m = d.length; + + switch (m) { + case 0: + case 1: + var b = 0; + + for (d = 0 === m ? '' : d[0] + ' '; b < a; ++b) { + c[b] = Z(d, c[b], e).trim(); + } + + break; + + default: + var v = b = 0; + + for (c = []; b < a; ++b) { + for (var n = 0; n < m; ++n) { + c[v++] = Z(d[n] + ' ', h[b], e).trim(); + } + } + + } + + return c; + } + + function Z(d, c, e) { + var h = c.charCodeAt(0); + 33 > h && (h = (c = c.trim()).charCodeAt(0)); + + switch (h) { + case 38: + return c.replace(F, '$1' + d.trim()); + + case 58: + return d.trim() + c.replace(F, '$1' + d.trim()); + + default: + if (0 < 1 * e && 0 < c.indexOf('\f')) return c.replace(F, (58 === d.charCodeAt(0) ? '' : '$1') + d.trim()); + } + + return d + c; + } + + function P(d, c, e, h) { + var a = d + ';', + m = 2 * c + 3 * e + 4 * h; + + if (944 === m) { + d = a.indexOf(':', 9) + 1; + var b = a.substring(d, a.length - 1).trim(); + b = a.substring(0, d).trim() + b + ';'; + return 1 === w || 2 === w && L(b, 1) ? '-webkit-' + b + b : b; + } + + if (0 === w || 2 === w && !L(a, 1)) return a; + + switch (m) { + case 1015: + return 97 === a.charCodeAt(10) ? '-webkit-' + a + a : a; + + case 951: + return 116 === a.charCodeAt(3) ? '-webkit-' + a + a : a; + + case 963: + return 110 === a.charCodeAt(5) ? '-webkit-' + a + a : a; + + case 1009: + if (100 !== a.charCodeAt(4)) break; + + case 969: + case 942: + return '-webkit-' + a + a; + + case 978: + return '-webkit-' + a + '-moz-' + a + a; + + case 1019: + case 983: + return '-webkit-' + a + '-moz-' + a + '-ms-' + a + a; + + case 883: + if (45 === a.charCodeAt(8)) return '-webkit-' + a + a; + if (0 < a.indexOf('image-set(', 11)) return a.replace(ja, '$1-webkit-$2') + a; + break; + + case 932: + if (45 === a.charCodeAt(4)) switch (a.charCodeAt(5)) { + case 103: + return '-webkit-box-' + a.replace('-grow', '') + '-webkit-' + a + '-ms-' + a.replace('grow', 'positive') + a; + + case 115: + return '-webkit-' + a + '-ms-' + a.replace('shrink', 'negative') + a; + + case 98: + return '-webkit-' + a + '-ms-' + a.replace('basis', 'preferred-size') + a; + } + return '-webkit-' + a + '-ms-' + a + a; + + case 964: + return '-webkit-' + a + '-ms-flex-' + a + a; + + case 1023: + if (99 !== a.charCodeAt(8)) break; + b = a.substring(a.indexOf(':', 15)).replace('flex-', '').replace('space-between', 'justify'); + return '-webkit-box-pack' + b + '-webkit-' + a + '-ms-flex-pack' + b + a; + + case 1005: + return ka.test(a) ? a.replace(aa, ':-webkit-') + a.replace(aa, ':-moz-') + a : a; + + case 1e3: + b = a.substring(13).trim(); + c = b.indexOf('-') + 1; + + switch (b.charCodeAt(0) + b.charCodeAt(c)) { + case 226: + b = a.replace(G, 'tb'); + break; + + case 232: + b = a.replace(G, 'tb-rl'); + break; + + case 220: + b = a.replace(G, 'lr'); + break; + + default: + return a; + } + + return '-webkit-' + a + '-ms-' + b + a; + + case 1017: + if (-1 === a.indexOf('sticky', 9)) break; + + case 975: + c = (a = d).length - 10; + b = (33 === a.charCodeAt(c) ? a.substring(0, c) : a).substring(d.indexOf(':', 7) + 1).trim(); + + switch (m = b.charCodeAt(0) + (b.charCodeAt(7) | 0)) { + case 203: + if (111 > b.charCodeAt(8)) break; + + case 115: + a = a.replace(b, '-webkit-' + b) + ';' + a; + break; + + case 207: + case 102: + a = a.replace(b, '-webkit-' + (102 < m ? 'inline-' : '') + 'box') + ';' + a.replace(b, '-webkit-' + b) + ';' + a.replace(b, '-ms-' + b + 'box') + ';' + a; + } + + return a + ';'; + + case 938: + if (45 === a.charCodeAt(5)) switch (a.charCodeAt(6)) { + case 105: + return b = a.replace('-items', ''), '-webkit-' + a + '-webkit-box-' + b + '-ms-flex-' + b + a; + + case 115: + return '-webkit-' + a + '-ms-flex-item-' + a.replace(ba, '') + a; + + default: + return '-webkit-' + a + '-ms-flex-line-pack' + a.replace('align-content', '').replace(ba, '') + a; + } + break; + + case 973: + case 989: + if (45 !== a.charCodeAt(3) || 122 === a.charCodeAt(4)) break; + + case 931: + case 953: + if (!0 === la.test(d)) return 115 === (b = d.substring(d.indexOf(':') + 1)).charCodeAt(0) ? P(d.replace('stretch', 'fill-available'), c, e, h).replace(':fill-available', ':stretch') : a.replace(b, '-webkit-' + b) + a.replace(b, '-moz-' + b.replace('fill-', '')) + a; + break; + + case 962: + if (a = '-webkit-' + a + (102 === a.charCodeAt(5) ? '-ms-' + a : '') + a, 211 === e + h && 105 === a.charCodeAt(13) && 0 < a.indexOf('transform', 10)) return a.substring(0, a.indexOf(';', 27) + 1).replace(ma, '$1-webkit-$2') + a; + } + + return a; + } + + function L(d, c) { + var e = d.indexOf(1 === c ? ':' : '{'), + h = d.substring(0, 3 !== c ? e : 10); + e = d.substring(e + 1, d.length - 1); + return R(2 !== c ? h : h.replace(na, '$1'), e, c); + } + + function ea(d, c) { + var e = P(c, c.charCodeAt(0), c.charCodeAt(1), c.charCodeAt(2)); + return e !== c + ';' ? e.replace(oa, ' or ($1)').substring(4) : '(' + c + ')'; + } + + function H(d, c, e, h, a, m, b, v, n, q) { + for (var g = 0, x = c, w; g < A; ++g) { + switch (w = S[g].call(B, d, x, e, h, a, m, b, v, n, q)) { + case void 0: + case !1: + case !0: + case null: + break; + + default: + x = w; + } + } + + if (x !== c) return x; + } + + function T(d) { + switch (d) { + case void 0: + case null: + A = S.length = 0; + break; + + default: + if ('function' === typeof d) S[A++] = d;else if ('object' === typeof d) for (var c = 0, e = d.length; c < e; ++c) { + T(d[c]); + } else Y = !!d | 0; + } + + return T; + } + + function U(d) { + d = d.prefix; + void 0 !== d && (R = null, d ? 'function' !== typeof d ? w = 1 : (w = 2, R = d) : w = 0); + return U; + } + + function B(d, c) { + var e = d; + 33 > e.charCodeAt(0) && (e = e.trim()); + V = e; + e = [V]; + + if (0 < A) { + var h = H(-1, c, e, e, D, z, 0, 0, 0, 0); + void 0 !== h && 'string' === typeof h && (c = h); + } + + var a = M(O, e, c, 0, 0); + 0 < A && (h = H(-2, a, e, e, D, z, a.length, 0, 0, 0), void 0 !== h && (a = h)); + V = ''; + E = 0; + z = D = 1; + return a; + } + + var ca = /^\0+/g, + N = /[\0\r\f]/g, + aa = /: */g, + ka = /zoo|gra/, + ma = /([,: ])(transform)/g, + ia = /,\r+?/g, + F = /([\t\r\n ])*\f?&/g, + fa = /@(k\w+)\s*(\S*)\s*/, + Q = /::(place)/g, + ha = /:(read-only)/g, + G = /[svh]\w+-[tblr]{2}/, + da = /\(\s*(.*)\s*\)/g, + oa = /([\s\S]*?);/g, + ba = /-self|flex-/g, + na = /[^]*?(:[rp][el]a[\w-]+)[^]*/, + la = /stretch|:\s*\w+\-(?:conte|avail)/, + ja = /([^-])(image-set\()/, + z = 1, + D = 1, + E = 0, + w = 1, + O = [], + S = [], + A = 0, + R = null, + Y = 0, + V = ''; + B.use = T; + B.set = U; + void 0 !== W && U(W); + return B; +} + +/* harmony default export */ var stylis_browser_esm = (stylis_min); + +// CONCATENATED MODULE: ./node_modules/@emotion/weak-memoize/dist/weak-memoize.browser.esm.js +var weakMemoize = function weakMemoize(func) { + // $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps + var cache = new WeakMap(); + return function (arg) { + if (cache.has(arg)) { + // $FlowFixMe + return cache.get(arg); + } + + var ret = func(arg); + cache.set(arg, ret); + return ret; + }; +}; + +/* harmony default export */ var weak_memoize_browser_esm = (weakMemoize); + +// CONCATENATED MODULE: ./node_modules/@emotion/cache/dist/cache.browser.esm.js + + + + +// https://github.com/thysultan/stylis.js/tree/master/plugins/rule-sheet +// inlined to avoid umd wrapper and peerDep warnings/installing stylis +// since we use stylis after closure compiler +var delimiter = '/*|*/'; +var needle = delimiter + '}'; + +function toSheet(block) { + if (block) { + Sheet.current.insert(block + '}'); + } +} + +var Sheet = { + current: null +}; +var ruleSheet = function ruleSheet(context, content, selectors, parents, line, column, length, ns, depth, at) { + switch (context) { + // property + case 1: + { + switch (content.charCodeAt(0)) { + case 64: + { + // @import + Sheet.current.insert(content + ';'); + return ''; + } + // charcode for l + + case 108: + { + // charcode for b + // this ignores label + if (content.charCodeAt(2) === 98) { + return ''; + } + } + } + + break; + } + // selector + + case 2: + { + if (ns === 0) return content + delimiter; + break; + } + // at-rule + + case 3: + { + switch (ns) { + // @font-face, @page + case 102: + case 112: + { + Sheet.current.insert(selectors[0] + content); + return ''; + } + + default: + { + return content + (at === 0 ? delimiter : ''); + } + } + } + + case -2: + { + content.split(needle).forEach(toSheet); + } + } +}; + +var cache_browser_esm_createCache = function createCache(options) { + if (options === undefined) options = {}; + var key = options.key || 'css'; + var stylisOptions; + + if (options.prefix !== undefined) { + stylisOptions = { + prefix: options.prefix + }; + } + + var stylis = new stylis_browser_esm(stylisOptions); + + if (false) {} + + var inserted = {}; // $FlowFixMe + + var container; + + { + container = options.container || document.head; + var nodes = document.querySelectorAll("style[data-emotion-" + key + "]"); + Array.prototype.forEach.call(nodes, function (node) { + var attrib = node.getAttribute("data-emotion-" + key); // $FlowFixMe + + attrib.split(' ').forEach(function (id) { + inserted[id] = true; + }); + + if (node.parentNode !== container) { + container.appendChild(node); + } + }); + } + + var _insert; + + { + stylis.use(options.stylisPlugins)(ruleSheet); + + _insert = function insert(selector, serialized, sheet, shouldCache) { + var name = serialized.name; + Sheet.current = sheet; + + if (false) { var map; } + + stylis(selector, serialized.styles); + + if (shouldCache) { + cache.inserted[name] = true; + } + }; + } + + if (false) { var commentEnd, commentStart; } + + var cache = { + key: key, + sheet: new StyleSheet({ + key: key, + container: container, + nonce: options.nonce, + speedy: options.speedy + }), + nonce: options.nonce, + inserted: inserted, + registered: {}, + insert: _insert + }; + return cache; +}; + +/* harmony default export */ var cache_browser_esm = (cache_browser_esm_createCache); + +// CONCATENATED MODULE: ./node_modules/@emotion/utils/dist/utils.browser.esm.js +var isBrowser = "object" !== 'undefined'; +function getRegisteredStyles(registered, registeredStyles, classNames) { + var rawClassName = ''; + classNames.split(' ').forEach(function (className) { + if (registered[className] !== undefined) { + registeredStyles.push(registered[className]); + } else { + rawClassName += className + " "; + } + }); + return rawClassName; +} +var insertStyles = function insertStyles(cache, serialized, isStringTag) { + var className = cache.key + "-" + serialized.name; + + if ( // we only need to add the styles to the registered cache if the + // class name could be used further down + // the tree but if it's a string tag, we know it won't + // so we don't have to add it to registered cache. + // this improves memory usage since we can avoid storing the whole style string + (isStringTag === false || // we need to always store it if we're in compat mode and + // in node since emotion-server relies on whether a style is in + // the registered cache to know whether a style is global or not + // also, note that this check will be dead code eliminated in the browser + isBrowser === false && cache.compat !== undefined) && cache.registered[className] === undefined) { + cache.registered[className] = serialized.styles; + } + + if (cache.inserted[serialized.name] === undefined) { + var current = serialized; + + do { + var maybeStyles = cache.insert("." + className, current, cache.sheet, true); + + current = current.next; + } while (current !== undefined); + } +}; + + + +// CONCATENATED MODULE: ./node_modules/@emotion/hash/dist/hash.browser.esm.js +/* eslint-disable */ +// murmurhash2 via https://github.com/garycourt/murmurhash-js/blob/master/murmurhash2_gc.js +function murmurhash2_32_gc(str) { + var l = str.length, + h = l ^ l, + i = 0, + k; + + while (l >= 4) { + k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24; + k = (k & 0xffff) * 0x5bd1e995 + (((k >>> 16) * 0x5bd1e995 & 0xffff) << 16); + k ^= k >>> 24; + k = (k & 0xffff) * 0x5bd1e995 + (((k >>> 16) * 0x5bd1e995 & 0xffff) << 16); + h = (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0x5bd1e995 & 0xffff) << 16) ^ k; + l -= 4; + ++i; + } + + switch (l) { + case 3: + h ^= (str.charCodeAt(i + 2) & 0xff) << 16; + + case 2: + h ^= (str.charCodeAt(i + 1) & 0xff) << 8; + + case 1: + h ^= str.charCodeAt(i) & 0xff; + h = (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0x5bd1e995 & 0xffff) << 16); + } + + h ^= h >>> 13; + h = (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0x5bd1e995 & 0xffff) << 16); + h ^= h >>> 15; + return (h >>> 0).toString(36); +} + +/* harmony default export */ var hash_browser_esm = (murmurhash2_32_gc); + +// CONCATENATED MODULE: ./node_modules/@emotion/unitless/dist/unitless.browser.esm.js +var unitlessKeys = { + animationIterationCount: 1, + borderImageOutset: 1, + borderImageSlice: 1, + borderImageWidth: 1, + boxFlex: 1, + boxFlexGroup: 1, + boxOrdinalGroup: 1, + columnCount: 1, + columns: 1, + flex: 1, + flexGrow: 1, + flexPositive: 1, + flexShrink: 1, + flexNegative: 1, + flexOrder: 1, + gridRow: 1, + gridRowEnd: 1, + gridRowSpan: 1, + gridRowStart: 1, + gridColumn: 1, + gridColumnEnd: 1, + gridColumnSpan: 1, + gridColumnStart: 1, + msGridRow: 1, + msGridRowSpan: 1, + msGridColumn: 1, + msGridColumnSpan: 1, + fontWeight: 1, + lineHeight: 1, + opacity: 1, + order: 1, + orphans: 1, + tabSize: 1, + widows: 1, + zIndex: 1, + zoom: 1, + WebkitLineClamp: 1, + // SVG-related properties + fillOpacity: 1, + floodOpacity: 1, + stopOpacity: 1, + strokeDasharray: 1, + strokeDashoffset: 1, + strokeMiterlimit: 1, + strokeOpacity: 1, + strokeWidth: 1 +}; + +/* harmony default export */ var unitless_browser_esm = (unitlessKeys); + +// CONCATENATED MODULE: ./node_modules/@emotion/serialize/dist/serialize.browser.esm.js + + + + +var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences"; +var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key)."; +var hyphenateRegex = /[A-Z]|^ms/g; +var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g; + +var isCustomProperty = function isCustomProperty(property) { + return property.charCodeAt(1) === 45; +}; + +var isProcessableValue = function isProcessableValue(value) { + return value != null && typeof value !== 'boolean'; +}; + +var processStyleName = memoize_browser_esm(function (styleName) { + return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase(); +}); + +var serialize_browser_esm_processStyleValue = function processStyleValue(key, value) { + switch (key) { + case 'animation': + case 'animationName': + { + if (typeof value === 'string') { + return value.replace(animationRegex, function (match, p1, p2) { + cursor = { + name: p1, + styles: p2, + next: cursor + }; + return p1; + }); + } + } + } + + if (unitless_browser_esm[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) { + return value + 'px'; + } + + return value; +}; + +if (false) { var hyphenatedCache, hyphenPattern, msPattern, oldProcessStyleValue, contentValues, contentValuePattern; } + +var shouldWarnAboutInterpolatingClassNameFromCss = true; + +function handleInterpolation(mergedProps, registered, interpolation, couldBeSelectorInterpolation) { + if (interpolation == null) { + return ''; + } + + if (interpolation.__emotion_styles !== undefined) { + if (false) {} + + return interpolation; + } + + switch (typeof interpolation) { + case 'boolean': + { + return ''; + } + + case 'object': + { + if (interpolation.anim === 1) { + cursor = { + name: interpolation.name, + styles: interpolation.styles, + next: cursor + }; + return interpolation.name; + } + + if (interpolation.styles !== undefined) { + var next = interpolation.next; + + if (next !== undefined) { + // not the most efficient thing ever but this is a pretty rare case + // and there will be very few iterations of this generally + while (next !== undefined) { + cursor = { + name: next.name, + styles: next.styles, + next: cursor + }; + next = next.next; + } + } + + var styles = interpolation.styles + ";"; + + if (false) {} + + return styles; + } + + return createStringFromObject(mergedProps, registered, interpolation); + } + + case 'function': + { + if (mergedProps !== undefined) { + var previousCursor = cursor; + var result = interpolation(mergedProps); + cursor = previousCursor; + return handleInterpolation(mergedProps, registered, result, couldBeSelectorInterpolation); + } else if (false) {} + + break; + } + + case 'string': + if (false) { var replaced, matched; } + + break; + } // finalize string values (regular strings and functions interpolated into css calls) + + + if (registered == null) { + return interpolation; + } + + var cached = registered[interpolation]; + + if (false) {} + + return cached !== undefined && !couldBeSelectorInterpolation ? cached : interpolation; +} + +function createStringFromObject(mergedProps, registered, obj) { + var string = ''; + + if (Array.isArray(obj)) { + for (var i = 0; i < obj.length; i++) { + string += handleInterpolation(mergedProps, registered, obj[i], false); + } + } else { + for (var _key in obj) { + var value = obj[_key]; + + if (typeof value !== 'object') { + if (registered != null && registered[value] !== undefined) { + string += _key + "{" + registered[value] + "}"; + } else if (isProcessableValue(value)) { + string += processStyleName(_key) + ":" + serialize_browser_esm_processStyleValue(_key, value) + ";"; + } + } else { + if (_key === 'NO_COMPONENT_SELECTOR' && "production" !== 'production') { + throw new Error('Component selectors can only be used in conjunction with babel-plugin-emotion.'); + } + + if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) { + for (var _i = 0; _i < value.length; _i++) { + if (isProcessableValue(value[_i])) { + string += processStyleName(_key) + ":" + serialize_browser_esm_processStyleValue(_key, value[_i]) + ";"; + } + } + } else { + var interpolated = handleInterpolation(mergedProps, registered, value, false); + + switch (_key) { + case 'animation': + case 'animationName': + { + string += processStyleName(_key) + ":" + interpolated + ";"; + break; + } + + default: + { + if (false) {} + + string += _key + "{" + interpolated + "}"; + } + } + } + } + } + } + + return string; +} + +var labelPattern = /label:\s*([^\s;\n{]+)\s*;/g; +var sourceMapPattern; + +if (false) {} // this is the cursor for keyframes +// keyframes are stored on the SerializedStyles object as a linked list + + +var cursor; +var serialize_browser_esm_serializeStyles = function serializeStyles(args, registered, mergedProps) { + if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) { + return args[0]; + } + + var stringMode = true; + var styles = ''; + cursor = undefined; + var strings = args[0]; + + if (strings == null || strings.raw === undefined) { + stringMode = false; + styles += handleInterpolation(mergedProps, registered, strings, false); + } else { + if (false) {} + + styles += strings[0]; + } // we start at 1 since we've already handled the first arg + + + for (var i = 1; i < args.length; i++) { + styles += handleInterpolation(mergedProps, registered, args[i], styles.charCodeAt(styles.length - 1) === 46); + + if (stringMode) { + if (false) {} + + styles += strings[i]; + } + } + + var sourceMap; + + if (false) {} // using a global regex with .exec is stateful so lastIndex has to be reset each time + + + labelPattern.lastIndex = 0; + var identifierName = ''; + var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5 + + while ((match = labelPattern.exec(styles)) !== null) { + identifierName += '-' + // $FlowFixMe we know it's not null + match[1]; + } + + var name = hash_browser_esm(styles) + identifierName; + + if (false) {} + + return { + name: name, + styles: styles, + next: cursor + }; +}; + + + +// CONCATENATED MODULE: ./node_modules/@emotion/sheet/dist/sheet.browser.esm.js +/* + +Based off glamor's StyleSheet, thanks Sunil ❤️ + +high performance StyleSheet for css-in-js systems + +- uses multiple style tags behind the scenes for millions of rules +- uses `insertRule` for appending in production for *much* faster performance + +// usage + +import { StyleSheet } from '@emotion/sheet' + +let styleSheet = new StyleSheet({ key: '', container: document.head }) + +styleSheet.insert('#box { border: 1px solid red; }') +- appends a css rule into the stylesheet + +styleSheet.flush() +- empties the stylesheet of all its contents + +*/ +// $FlowFixMe +function sheet_browser_esm_sheetForTag(tag) { + if (tag.sheet) { + // $FlowFixMe + return tag.sheet; + } // this weirdness brought to you by firefox + + /* istanbul ignore next */ + + + for (var i = 0; i < document.styleSheets.length; i++) { + if (document.styleSheets[i].ownerNode === tag) { + // $FlowFixMe + return document.styleSheets[i]; + } + } +} + +function sheet_browser_esm_createStyleElement(options) { + var tag = document.createElement('style'); + tag.setAttribute('data-emotion', options.key); + + if (options.nonce !== undefined) { + tag.setAttribute('nonce', options.nonce); + } + + tag.appendChild(document.createTextNode('')); + return tag; +} + +var sheet_browser_esm_StyleSheet = +/*#__PURE__*/ +function () { + function StyleSheet(options) { + this.isSpeedy = options.speedy === undefined ? "production" === 'production' : options.speedy; + this.tags = []; + this.ctr = 0; + this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets + + this.key = options.key; + this.container = options.container; + this.before = null; + } + + var _proto = StyleSheet.prototype; + + _proto.insert = function insert(rule) { + // the max length is how many rules we have per style tag, it's 65000 in speedy mode + // it's 1 in dev because we insert source maps that map a single rule to a location + // and you can only have one source map per style tag + if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) { + var _tag = sheet_browser_esm_createStyleElement(this); + + var before; + + if (this.tags.length === 0) { + before = this.before; + } else { + before = this.tags[this.tags.length - 1].nextSibling; + } + + this.container.insertBefore(_tag, before); + this.tags.push(_tag); + } + + var tag = this.tags[this.tags.length - 1]; + + if (this.isSpeedy) { + var sheet = sheet_browser_esm_sheetForTag(tag); + + try { + // this is a really hot path + // we check the second character first because having "i" + // as the second character will happen less often than + // having "@" as the first character + var isImportRule = rule.charCodeAt(1) === 105 && rule.charCodeAt(0) === 64; // this is the ultrafast version, works across browsers + // the big drawback is that the css won't be editable in devtools + + sheet.insertRule(rule, // we need to insert @import rules before anything else + // otherwise there will be an error + // technically this means that the @import rules will + // _usually_(not always since there could be multiple style tags) + // be the first ones in prod and generally later in dev + // this shouldn't really matter in the real world though + // @import is generally only used for font faces from google fonts and etc. + // so while this could be technically correct then it would be slower and larger + // for a tiny bit of correctness that won't matter in the real world + isImportRule ? 0 : sheet.cssRules.length); + } catch (e) { + if (false) {} + } + } else { + tag.appendChild(document.createTextNode(rule)); + } + + this.ctr++; + }; + + _proto.flush = function flush() { + // $FlowFixMe + this.tags.forEach(function (tag) { + return tag.parentNode.removeChild(tag); + }); + this.tags = []; + this.ctr = 0; + }; + + return StyleSheet; +}(); + + + +// CONCATENATED MODULE: ./node_modules/@emotion/css/dist/css.browser.esm.js + + +function css_browser_esm_css() { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + return serialize_browser_esm_serializeStyles(args); +} + +/* harmony default export */ var css_browser_esm = (css_browser_esm_css); + +// CONCATENATED MODULE: ./node_modules/@emotion/core/dist/core.browser.esm.js + + + + + + + + + +var EmotionCacheContext = Object(external_this_React_["createContext"])( // we're doing this to avoid preconstruct's dead code elimination in this one case +// because this module is primarily intended for the browser and node +// but it's also required in react native and similar environments sometimes +// and we could have a special build just for that +// but this is much easier and the native packages +// might use a different theme context in the future anyway +typeof HTMLElement !== 'undefined' ? cache_browser_esm() : null); +var ThemeContext = Object(external_this_React_["createContext"])({}); +var CacheProvider = EmotionCacheContext.Provider; + +var core_browser_esm_withEmotionCache = function withEmotionCache(func) { + var render = function render(props, ref) { + return Object(external_this_React_["createElement"])(EmotionCacheContext.Consumer, null, function (cache) { + return func(props, cache, ref); + }); + }; // $FlowFixMe + + + return Object(external_this_React_["forwardRef"])(render); +}; + +// thus we only need to replace what is a valid character for JS, but not for CSS + +var sanitizeIdentifier = function sanitizeIdentifier(identifier) { + return identifier.replace(/\$/g, '-'); +}; + +var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__'; +var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__'; +var core_browser_esm_hasOwnProperty = Object.prototype.hasOwnProperty; + +var core_browser_esm_render = function render(cache, props, theme, ref) { + var cssProp = theme === null ? props.css : props.css(theme); // so that using `css` from `emotion` and passing the result to the css prop works + // not passing the registered cache to serializeStyles because it would + // make certain babel optimisations not possible + + if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) { + cssProp = cache.registered[cssProp]; + } + + var type = props[typePropName]; + var registeredStyles = [cssProp]; + var className = ''; + + if (typeof props.className === 'string') { + className = getRegisteredStyles(cache.registered, registeredStyles, props.className); + } else if (props.className != null) { + className = props.className + " "; + } + + var serialized = serialize_browser_esm_serializeStyles(registeredStyles); + + if (false) { var labelFromStack; } + + var rules = insertStyles(cache, serialized, typeof type === 'string'); + className += cache.key + "-" + serialized.name; + var newProps = {}; + + for (var key in props) { + if (core_browser_esm_hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && ( true || false)) { + newProps[key] = props[key]; + } + } + + newProps.ref = ref; + newProps.className = className; + var ele = Object(external_this_React_["createElement"])(type, newProps); + + return ele; +}; + +var Emotion = +/* #__PURE__ */ +core_browser_esm_withEmotionCache(function (props, cache, ref) { + // use Context.read for the theme when it's stable + if (typeof props.css === 'function') { + return Object(external_this_React_["createElement"])(ThemeContext.Consumer, null, function (theme) { + return core_browser_esm_render(cache, props, theme, ref); + }); + } + + return core_browser_esm_render(cache, props, null, ref); +}); + +if (false) {} // $FlowFixMe + + +var core_browser_esm_jsx = function jsx(type, props) { + var args = arguments; + + if (props == null || !core_browser_esm_hasOwnProperty.call(props, 'css')) { + // $FlowFixMe + return external_this_React_["createElement"].apply(undefined, args); + } + + if (false) {} + + var argsLength = args.length; + var createElementArgArray = new Array(argsLength); + createElementArgArray[0] = Emotion; + var newProps = {}; + + for (var key in props) { + if (core_browser_esm_hasOwnProperty.call(props, key)) { + newProps[key] = props[key]; + } + } + + newProps[typePropName] = type; + + if (false) { var match, error; } + + createElementArgArray[1] = newProps; + + for (var i = 2; i < argsLength; i++) { + createElementArgArray[i] = args[i]; + } // $FlowFixMe + + + return external_this_React_["createElement"].apply(null, createElementArgArray); +}; + +var warnedAboutCssPropForGlobal = false; +var Global = +/* #__PURE__ */ +core_browser_esm_withEmotionCache(function (props, cache) { + if (false) {} + + var styles = props.styles; + + if (typeof styles === 'function') { + return Object(external_this_React_["createElement"])(ThemeContext.Consumer, null, function (theme) { + var serialized = serialize_browser_esm_serializeStyles([styles(theme)]); + return Object(external_this_React_["createElement"])(core_browser_esm_InnerGlobal, { + serialized: serialized, + cache: cache + }); + }); + } + + var serialized = serialize_browser_esm_serializeStyles([styles]); + return Object(external_this_React_["createElement"])(core_browser_esm_InnerGlobal, { + serialized: serialized, + cache: cache + }); +}); + +// maintain place over rerenders. +// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild +// initial client-side render from SSR, use place of hydrating tag +var core_browser_esm_InnerGlobal = +/*#__PURE__*/ +function (_React$Component) { + inheritsLoose_default()(InnerGlobal, _React$Component); + + function InnerGlobal(props, context, updater) { + return _React$Component.call(this, props, context, updater) || this; + } + + var _proto = InnerGlobal.prototype; + + _proto.componentDidMount = function componentDidMount() { + this.sheet = new sheet_browser_esm_StyleSheet({ + key: this.props.cache.key + "-global", + nonce: this.props.cache.sheet.nonce, + container: this.props.cache.sheet.container + }); // $FlowFixMe + + var node = document.querySelector("style[data-emotion-" + this.props.cache.key + "=\"" + this.props.serialized.name + "\"]"); + + if (node !== null) { + this.sheet.tags.push(node); + } + + if (this.props.cache.sheet.tags.length) { + this.sheet.before = this.props.cache.sheet.tags[0]; + } + + this.insertStyles(); + }; + + _proto.componentDidUpdate = function componentDidUpdate(prevProps) { + if (prevProps.serialized.name !== this.props.serialized.name) { + this.insertStyles(); + } + }; + + _proto.insertStyles = function insertStyles$1() { + if (this.props.serialized.next !== undefined) { + // insert keyframes + insertStyles(this.props.cache, this.props.serialized.next, true); + } + + if (this.sheet.tags.length) { + // if this doesn't exist then it will be null so the style element will be appended + var element = this.sheet.tags[this.sheet.tags.length - 1].nextElementSibling; + this.sheet.before = element; + this.sheet.flush(); + } + + this.props.cache.insert("", this.props.serialized, this.sheet, false); + }; + + _proto.componentWillUnmount = function componentWillUnmount() { + this.sheet.flush(); + }; + + _proto.render = function render() { + + return null; + }; + + return InnerGlobal; +}(external_this_React_["Component"]); + +var core_browser_esm_keyframes = function keyframes() { + var insertable = css_browser_esm.apply(void 0, arguments); + var name = "animation-" + insertable.name; // $FlowFixMe + + return { + name: name, + styles: "@keyframes " + name + "{" + insertable.styles + "}", + anim: 1, + toString: function toString() { + return "_EMO_" + this.name + "_" + this.styles + "_EMO_"; + } + }; +}; + +var core_browser_esm_classnames = function classnames(args) { + var len = args.length; + var i = 0; + var cls = ''; + + for (; i < len; i++) { + var arg = args[i]; + if (arg == null) continue; + var toAdd = void 0; + + switch (typeof arg) { + case 'boolean': + break; + + case 'object': + { + if (Array.isArray(arg)) { + toAdd = classnames(arg); + } else { + toAdd = ''; + + for (var k in arg) { + if (arg[k] && k) { + toAdd && (toAdd += ' '); + toAdd += k; + } + } + } + + break; + } + + default: + { + toAdd = arg; + } + } + + if (toAdd) { + cls && (cls += ' '); + cls += toAdd; + } + } + + return cls; +}; + +function merge(registered, css, className) { + var registeredStyles = []; + var rawClassName = getRegisteredStyles(registered, registeredStyles, className); + + if (registeredStyles.length < 2) { + return className; + } + + return rawClassName + css(registeredStyles); +} + +var ClassNames = core_browser_esm_withEmotionCache(function (props, context) { + return Object(external_this_React_["createElement"])(ThemeContext.Consumer, null, function (theme) { + var hasRendered = false; + + var css = function css() { + if (hasRendered && "production" !== 'production') { + throw new Error('css can only be used during render'); + } + + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + var serialized = serialize_browser_esm_serializeStyles(args, context.registered); + + { + insertStyles(context, serialized, false); + } + + return context.key + "-" + serialized.name; + }; + + var cx = function cx() { + if (hasRendered && "production" !== 'production') { + throw new Error('cx can only be used during render'); + } + + for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { + args[_key2] = arguments[_key2]; + } + + return merge(context.registered, css, core_browser_esm_classnames(args)); + }; + + var content = { + css: css, + cx: cx, + theme: theme + }; + var ele = props.children(content); + hasRendered = true; + + return ele; + }); +}); + + + +// CONCATENATED MODULE: ./node_modules/@emotion/styled-base/node_modules/@emotion/utils/dist/utils.browser.esm.js +var utils_browser_esm_isBrowser = "object" !== 'undefined'; +function utils_browser_esm_getRegisteredStyles(registered, registeredStyles, classNames) { + var rawClassName = ''; + classNames.split(' ').forEach(function (className) { + if (registered[className] !== undefined) { + registeredStyles.push(registered[className]); + } else { + rawClassName += className + " "; + } + }); + return rawClassName; +} +var utils_browser_esm_insertStyles = function insertStyles(cache, serialized, isStringTag) { + var className = cache.key + "-" + serialized.name; + + if ( // we only need to add the styles to the registered cache if the + // class name could be used further down + // the tree but if it's a string tag, we know it won't + // so we don't have to add it to registered cache. + // this improves memory usage since we can avoid storing the whole style string + (isStringTag === false || // we need to always store it if we're in compat mode and + // in node since emotion-server relies on whether a style is in + // the registered cache to know whether a style is global or not + // also, note that this check will be dead code eliminated in the browser + utils_browser_esm_isBrowser === false && cache.compat !== undefined) && cache.registered[className] === undefined) { + cache.registered[className] = serialized.styles; + } + + if (cache.inserted[serialized.name] === undefined) { + var current = serialized; + + do { + var maybeStyles = cache.insert("." + className, current, cache.sheet, true); + + current = current.next; + } while (current !== undefined); + } +}; + + + +// CONCATENATED MODULE: ./node_modules/@emotion/styled-base/dist/styled-base.browser.esm.js + + + + + + + +var testOmitPropsOnStringTag = is_prop_valid_browser_esm; + +var testOmitPropsOnComponent = function testOmitPropsOnComponent(key) { + return key !== 'theme' && key !== 'innerRef'; +}; + +var getDefaultShouldForwardProp = function getDefaultShouldForwardProp(tag) { + return typeof tag === 'string' && // 96 is one less than the char code + // for "a" so this is checking that + // it's a lowercase character + tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent; +}; + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { defineProperty_default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } +var styled_base_browser_esm_ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences"; + +var styled_base_browser_esm_createStyled = function createStyled(tag, options) { + if (false) {} + + var identifierName; + var shouldForwardProp; + var targetClassName; + + if (options !== undefined) { + identifierName = options.label; + targetClassName = options.target; + shouldForwardProp = tag.__emotion_forwardProp && options.shouldForwardProp ? function (propName) { + return tag.__emotion_forwardProp(propName) && // $FlowFixMe + options.shouldForwardProp(propName); + } : options.shouldForwardProp; + } + + var isReal = tag.__emotion_real === tag; + var baseTag = isReal && tag.__emotion_base || tag; + + if (typeof shouldForwardProp !== 'function' && isReal) { + shouldForwardProp = tag.__emotion_forwardProp; + } + + var defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag); + var shouldUseAs = !defaultShouldForwardProp('as'); + return function () { + var args = arguments; + var styles = isReal && tag.__emotion_styles !== undefined ? tag.__emotion_styles.slice(0) : []; + + if (identifierName !== undefined) { + styles.push("label:" + identifierName + ";"); + } + + if (args[0] == null || args[0].raw === undefined) { + styles.push.apply(styles, args); + } else { + if (false) {} + + styles.push(args[0][0]); + var len = args.length; + var i = 1; + + for (; i < len; i++) { + if (false) {} + + styles.push(args[i], args[0][i]); + } + } // $FlowFixMe: we need to cast StatelessFunctionalComponent to our PrivateStyledComponent class + + + var Styled = core_browser_esm_withEmotionCache(function (props, context, ref) { + return Object(external_this_React_["createElement"])(ThemeContext.Consumer, null, function (theme) { + var finalTag = shouldUseAs && props.as || baseTag; + var className = ''; + var classInterpolations = []; + var mergedProps = props; + + if (props.theme == null) { + mergedProps = {}; + + for (var key in props) { + mergedProps[key] = props[key]; + } + + mergedProps.theme = theme; + } + + if (typeof props.className === 'string') { + className = utils_browser_esm_getRegisteredStyles(context.registered, classInterpolations, props.className); + } else if (props.className != null) { + className = props.className + " "; + } + + var serialized = serialize_browser_esm_serializeStyles(styles.concat(classInterpolations), context.registered, mergedProps); + var rules = utils_browser_esm_insertStyles(context, serialized, typeof finalTag === 'string'); + className += context.key + "-" + serialized.name; + + if (targetClassName !== undefined) { + className += " " + targetClassName; + } + + var finalShouldForwardProp = shouldUseAs && shouldForwardProp === undefined ? getDefaultShouldForwardProp(finalTag) : defaultShouldForwardProp; + var newProps = {}; + + for (var _key in props) { + if (shouldUseAs && _key === 'as') continue; + + if ( // $FlowFixMe + finalShouldForwardProp(_key)) { + newProps[_key] = props[_key]; + } + } + + newProps.className = className; + newProps.ref = ref || props.innerRef; + + if (false) {} + + var ele = Object(external_this_React_["createElement"])(finalTag, newProps); + + return ele; + }); + }); + Styled.displayName = identifierName !== undefined ? identifierName : "Styled(" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + ")"; + Styled.defaultProps = tag.defaultProps; + Styled.__emotion_real = Styled; + Styled.__emotion_base = baseTag; + Styled.__emotion_styles = styles; + Styled.__emotion_forwardProp = shouldForwardProp; + Object.defineProperty(Styled, 'toString', { + value: function value() { + if (targetClassName === undefined && "production" !== 'production') { + return 'NO_COMPONENT_SELECTOR'; + } // $FlowFixMe: coerce undefined to string + + + return "." + targetClassName; + } + }); + + Styled.withComponent = function (nextTag, nextOptions) { + return createStyled(nextTag, nextOptions !== undefined ? _objectSpread({}, options || {}, {}, nextOptions) : options).apply(void 0, styles); + }; + + return Styled; + }; +}; + +/* harmony default export */ var styled_base_browser_esm = (styled_base_browser_esm_createStyled); + +// EXTERNAL MODULE: ./node_modules/tinycolor2/tinycolor.js +var tinycolor = __webpack_require__(48); +var tinycolor_default = /*#__PURE__*/__webpack_require__.n(tinycolor); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/colors-values.js + + +/** + * Internal dependencies + */ + +var BASE = { + black: '#000', + white: '#fff' +}; +var DARK_GRAY = { + 900: '#191e23', + 800: '#23282d', + 700: '#32373c', + 600: '#40464d', + 500: '#555d66', + // Use this most of the time for dark items. + 400: '#606a73', + 300: '#6c7781', + // Lightest gray that can be used for AA text contrast. + 200: '#7e8993', + 150: '#8d96a0', + // Lightest gray that can be used for AA non-text contrast. + 100: '#8f98a1' +}; +var DARK_OPACITY = { + 900: rgba('#000510', 0.9), + 800: rgba('#00000a', 0.85), + 700: rgba('#06060b', 0.8), + 600: rgba('#000913', 0.75), + 500: rgba('#0a1829', 0.7), + 400: rgba('#0a1829', 0.65), + 300: rgba('#0e1c2e', 0.62), + 200: rgba('#162435', 0.55), + 100: rgba('#223443', 0.5), + backgroundFill: rgba(DARK_GRAY[700], 0.7) +}; +var DARK_OPACITY_LIGHT = { + 900: rgba('#304455', 0.45), + 800: rgba('#425863', 0.4), + 700: rgba('#667886', 0.35), + 600: rgba('#7b86a2', 0.3), + 500: rgba('#9197a2', 0.25), + 400: rgba('#95959c', 0.2), + 300: rgba('#829493', 0.15), + 200: rgba('#8b8b96', 0.1), + 100: rgba('#747474', 0.05) +}; +var LIGHT_GRAY = { + 900: '#a2aab2', + 800: '#b5bcc2', + 700: '#ccd0d4', + 600: '#d7dade', + 500: '#e2e4e7', + // Good for "grayed" items and borders. + 400: '#e8eaeb', + // Good for "readonly" input fields and special text selection. + 300: '#edeff0', + 200: '#f3f4f5', + 100: '#f8f9f9' +}; +var LIGHT_OPACITY_LIGHT = { + 900: rgba(BASE.white, 0.5), + 800: rgba(BASE.white, 0.45), + 700: rgba(BASE.white, 0.4), + 600: rgba(BASE.white, 0.35), + 500: rgba(BASE.white, 0.3), + 400: rgba(BASE.white, 0.25), + 300: rgba(BASE.white, 0.2), + 200: rgba(BASE.white, 0.15), + 100: rgba(BASE.white, 0.1), + backgroundFill: rgba(LIGHT_GRAY[300], 0.8) +}; // Additional colors. +// Some are from https://make.wordpress.org/design/handbook/foundations/colors/. + +var BLUE = { + wordpress: { + 700: '#00669b' + }, + dark: { + 900: '#0071a1' + }, + medium: { + 900: '#006589', + 800: '#00739c', + 700: '#007fac', + 600: '#008dbe', + 500: '#00a0d2', + 400: '#33b3db', + 300: '#66c6e4', + 200: '#bfe7f3', + 100: '#e5f5fa', + highlight: '#b3e7fe', + focus: '#007cba' + } +}; +var ALERT = { + yellow: '#f0b849', + red: '#d94f4f', + green: '#4ab866' +}; +var COLORS = Object(objectSpread["a" /* default */])({}, BASE, { + darkGrey: DARK_GRAY, + darkOpacity: DARK_OPACITY, + darkOpacityLight: DARK_OPACITY_LIGHT, + lightGray: LIGHT_GRAY, + lightGrayLight: LIGHT_OPACITY_LIGHT, + blue: BLUE, + alert: ALERT +}); +/* harmony default export */ var colors_values = (COLORS); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/colors.js +/** + * External dependencies + */ + + +/** + * Internal dependencies + */ + + +/** + * Generating a CSS complient rgba() color value. + * + * @param {string} hexValue The hex value to convert to rgba(). + * @param {number} alpha The alpha value for opacity. + * @return {string} The converted rgba() color value. + * + * @example + * rgba( '#000000', 0.5 ) + * // rgba(0, 0, 0, 0.5) + */ + +function rgba() { + var hexValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; + var alpha = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1; + + var _tinycolor$toRgb = tinycolor_default()(hexValue).toRgb(), + r = _tinycolor$toRgb.r, + g = _tinycolor$toRgb.g, + b = _tinycolor$toRgb.b; + + return "rgba(".concat(r, ", ").concat(g, ", ").concat(b, ", ").concat(alpha, ")"); +} +/** + * Retrieves a color from the color palette. + * + * @param {string} value The value to retrieve. + * @return {string} The color (or fallback, if not found). + * + * @example + * color( 'blue.wordpress.700' ) + * // #00669b + */ + +function colors_color(value) { + var fallbackColor = '#000'; + return Object(external_this_lodash_["get"])(COLORS, value, fallbackColor); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/styles/card-styles.js + + +/** + * Internal dependencies + */ + + +var styleProps = { + borderColor: colors_color('lightGray.500'), + borderRadius: '3px', + backgroundShady: colors_color('lightGray.200') +}; +var borderColor = styleProps.borderColor, + borderRadius = styleProps.borderRadius, + backgroundShady = styleProps.backgroundShady; +var CardUI = styled_base_browser_esm("div", { + target: "e1q7k77g0", + label: "CardUI" +})("background:", colors_color('white'), ";box-sizing:border-box;border-radius:", borderRadius, ";border:1px solid ", borderColor, ";", handleBorderless, ";&.is-elevated{box-shadow:0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12);}" + ( true ? "" : undefined)); +var HeaderUI = styled_base_browser_esm("div", { + target: "e1q7k77g1", + label: "HeaderUI" +})("border-bottom:1px solid ", borderColor, ";border-top-left-radius:", borderRadius, ";border-top-right-radius:", borderRadius, ";box-sizing:border-box;&:last-child{border-bottom:none;}", headerFooterSizes, ";", handleBorderless, ";", handleShady, ";" + ( true ? "" : undefined)); +var MediaUI = styled_base_browser_esm("div", { + target: "e1q7k77g2", + label: "MediaUI" +})("box-sizing:border-box;overflow:hidden;& > img,& > iframe{display:block;height:auto;max-width:100%;width:100%;}&:first-of-type{border-top-left-radius:", borderRadius, ";border-top-right-radius:", borderRadius, ";}&:last-of-type{border-bottom-left-radius:", borderRadius, ";border-bottom-right-radius:", borderRadius, ";}" + ( true ? "" : undefined)); +var BodyUI = styled_base_browser_esm("div", { + target: "e1q7k77g3", + label: "BodyUI" +})("box-sizing:border-box;", bodySize, ";", handleShady, ";" + ( true ? "" : undefined)); +var FooterUI = styled_base_browser_esm("div", { + target: "e1q7k77g4", + label: "FooterUI" +})("border-top:1px solid ", borderColor, ";border-bottom-left-radius:", borderRadius, ";border-bottom-right-radius:", borderRadius, ";box-sizing:border-box;&:first-of-type{border-top:none;}", headerFooterSizes, ";", handleBorderless, ";", handleShady, ";" + ( true ? "" : undefined)); +var DividerUI = +/*#__PURE__*/ +styled_base_browser_esm(HorizontalRule, { + target: "e1q7k77g5", + label: "DividerUI" +})("all:unset;border-top:1px solid ", borderColor, ";box-sizing:border-box;display:block;height:0;width:100%;" + ( true ? "" : undefined)); +function bodySize() { + return "\n\t\t&.is-size {\n\t\t\t&-large {\n\t\t\t\tpadding: 28px;\n\t\t\t}\n\t\t\t&-medium {\n\t\t\t\tpadding: 20px;\n\t\t\t}\n\t\t\t&-small {\n\t\t\t\tpadding: 12px;\n\t\t\t}\n\t\t\t&-extraSmall {\n\t\t\t\tpadding: 8px;\n\t\t\t}\n\t\t}\n\t"; +} +function headerFooterSizes() { + return "\n\t\t&.is-size {\n\t\t\t&-large {\n\t\t\t\tpadding: 20px 28px;\n\t\t\t}\n\t\t\t&-medium {\n\t\t\t\tpadding: 12px 20px;\n\t\t\t}\n\t\t\t&-small {\n\t\t\t\tpadding: 8px 12px;\n\t\t\t}\n\t\t\t&-extraSmall {\n\t\t\t\tpadding: 4px 8px;\n\t\t\t}\n\t\t}\n\t"; +} +function handleBorderless() { + return "\n\t\t&.is-borderless {\n\t\t\tborder: none;\n\t\t}\n\t"; +} +function handleShady() { + return "\n\t\t&.is-shady {\n\t\t\tbackground: ".concat(backgroundShady, ";\n\t\t}\n\t"); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/index.js + + + + +/** + * External dependencies + */ + +/** + * Internal dependencies + */ + + + +var card_defaultProps = { + isBorderless: false, + isElevated: false, + size: 'medium' +}; +function Card(props) { + var className = props.className, + isBorderless = props.isBorderless, + isElevated = props.isElevated, + size = props.size, + additionalProps = Object(objectWithoutProperties["a" /* default */])(props, ["className", "isBorderless", "isElevated", "size"]); + + var Provider = CardContext.Provider; + var contextProps = { + isBorderless: isBorderless, + isElevated: isElevated, + size: size + }; + var classes = classnames_default()('components-card', isBorderless && 'is-borderless', isElevated && 'is-elevated', size && "is-size-".concat(size), className); + return Object(external_this_wp_element_["createElement"])(Provider, { + value: contextProps + }, Object(external_this_wp_element_["createElement"])(CardUI, Object(esm_extends["a" /* default */])({}, additionalProps, { + className: classes + }))); +} +Card.defaultProps = card_defaultProps; +/* harmony default export */ var card = (Card); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/body.js + + + + + +/** + * External dependencies + */ + +/** + * Internal dependencies + */ + + + +var body_defaultProps = { + isShady: false, + size: 'medium' +}; +function CardBody(props) { + var className = props.className, + isShady = props.isShady, + additionalProps = Object(objectWithoutProperties["a" /* default */])(props, ["className", "isShady"]); + + var mergedProps = Object(objectSpread["a" /* default */])({}, body_defaultProps, context_useCardContext(), props); + + var size = mergedProps.size; + var classes = classnames_default()('components-card__body', isShady && 'is-shady', size && "is-size-".concat(size), className); + return Object(external_this_wp_element_["createElement"])(BodyUI, Object(esm_extends["a" /* default */])({}, additionalProps, { + className: classes + })); +} +/* harmony default export */ var card_body = (CardBody); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/divider.js + + + + +/** + * External dependencies + */ + +/** + * Internal dependencies + */ + + +function CardDivider(props) { + var className = props.className, + additionalProps = Object(objectWithoutProperties["a" /* default */])(props, ["className"]); + + var classes = classnames_default()('components-card__divider', className); + return Object(external_this_wp_element_["createElement"])(DividerUI, Object(esm_extends["a" /* default */])({}, additionalProps, { + children: null, + className: classes, + role: "separator" + })); +} +/* harmony default export */ var divider = (CardDivider); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/footer.js + + + + + +/** + * External dependencies + */ + +/** + * Internal dependencies + */ + + + +var footer_defaultProps = { + isBorderless: false, + isShady: false, + size: 'medium' +}; +function CardFooter(props) { + var className = props.className, + isShady = props.isShady, + additionalProps = Object(objectWithoutProperties["a" /* default */])(props, ["className", "isShady"]); + + var mergedProps = Object(objectSpread["a" /* default */])({}, footer_defaultProps, context_useCardContext(), props); + + var isBorderless = mergedProps.isBorderless, + size = mergedProps.size; + var classes = classnames_default()('components-card__footer', isBorderless && 'is-borderless', isShady && 'is-shady', size && "is-size-".concat(size), className); + return Object(external_this_wp_element_["createElement"])(FooterUI, Object(esm_extends["a" /* default */])({}, additionalProps, { + className: classes + })); +} +/* harmony default export */ var footer = (CardFooter); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/header.js + + + + + +/** + * External dependencies + */ + +/** + * Internal dependencies + */ + + + +var header_defaultProps = { + isBorderless: false, + isShady: false, + size: 'medium' +}; +function CardHeader(props) { + var className = props.className, + isShady = props.isShady, + additionalProps = Object(objectWithoutProperties["a" /* default */])(props, ["className", "isShady"]); + + var mergedProps = Object(objectSpread["a" /* default */])({}, header_defaultProps, context_useCardContext(), props); + + var isBorderless = mergedProps.isBorderless, + size = mergedProps.size; + var classes = classnames_default()('components-card__header', isBorderless && 'is-borderless', isShady && 'is-shady', size && "is-size-".concat(size), className); + return Object(external_this_wp_element_["createElement"])(HeaderUI, Object(esm_extends["a" /* default */])({}, additionalProps, { + className: classes + })); +} +/* harmony default export */ var card_header = (CardHeader); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/media.js + + + + +/** + * External dependencies + */ + +/** + * Internal dependencies + */ + + +function CardMedia(props) { + var className = props.className, + additionalProps = Object(objectWithoutProperties["a" /* default */])(props, ["className"]); + + var classes = classnames_default()('components-card__media', className); + return Object(external_this_wp_element_["createElement"])(MediaUI, Object(esm_extends["a" /* default */])({}, additionalProps, { + className: classes + })); +} +/* harmony default export */ var media = (CardMedia); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/checkbox-control/index.js @@ -34440,7 +35601,7 @@ function (_Component) { Object(classCallCheck["a" /* default */])(this, ClipboardButton); _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ClipboardButton).apply(this, arguments)); - _this.bindContainer = _this.bindContainer.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.containerRef = Object(external_this_wp_element_["createRef"])(); _this.onCopy = _this.onCopy.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.getText = _this.getText.bind(Object(assertThisInitialized["a" /* default */])(_this)); return _this; @@ -34449,11 +35610,10 @@ function (_Component) { Object(createClass["a" /* default */])(ClipboardButton, [{ key: "componentDidMount", value: function componentDidMount() { - var container = this.container, - getText = this.getText, + var getText = this.getText, onCopy = this.onCopy; - var button = container.firstChild; - this.clipboard = new clipboard_default.a(button, { + var container = this.containerRef.current; + this.clipboard = new clipboard_default.a(container.firstChild, { text: getText, container: container }); @@ -34466,11 +35626,6 @@ function (_Component) { delete this.clipboard; clearTimeout(this.onCopyTimeout); } - }, { - key: "bindContainer", - value: function bindContainer(container) { - this.container = container; - } }, { key: "onCopy", value: function onCopy(args) { @@ -34531,7 +35686,7 @@ function (_Component) { }; return Object(external_this_wp_element_["createElement"])("span", { - ref: this.bindContainer, + ref: this.containerRef, onCopy: focusOnCopyEventTarget }, Object(external_this_wp_element_["createElement"])(ComponentToUse, Object(esm_extends["a" /* default */])({}, buttonProps, { className: classes @@ -34569,142 +35724,6 @@ var color_indicator_ColorIndicator = function ColorIndicator(_ref) { /* harmony default export */ var color_indicator = (color_indicator_ColorIndicator); -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/dropdown/index.js - - - - - - - - - -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - - -var dropdown_Dropdown = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(Dropdown, _Component); - - function Dropdown() { - var _this; - - Object(classCallCheck["a" /* default */])(this, Dropdown); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(Dropdown).apply(this, arguments)); - _this.toggle = _this.toggle.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.close = _this.close.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.closeIfFocusOutside = _this.closeIfFocusOutside.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.containerRef = Object(external_this_wp_element_["createRef"])(); - _this.state = { - isOpen: false - }; - return _this; - } - - Object(createClass["a" /* default */])(Dropdown, [{ - key: "componentWillUnmount", - value: function componentWillUnmount() { - var isOpen = this.state.isOpen; - var onToggle = this.props.onToggle; - - if (isOpen && onToggle) { - onToggle(false); - } - } - }, { - key: "componentDidUpdate", - value: function componentDidUpdate(prevProps, prevState) { - var isOpen = this.state.isOpen; - var onToggle = this.props.onToggle; - - if (prevState.isOpen !== isOpen && onToggle) { - onToggle(isOpen); - } - } - }, { - key: "toggle", - value: function toggle() { - this.setState(function (state) { - return { - isOpen: !state.isOpen - }; - }); - } - /** - * Closes the dropdown if a focus leaves the dropdown wrapper. This is - * intentionally distinct from `onClose` since focus loss from the popover - * is expected to occur when using the Dropdown's toggle button, in which - * case the correct behavior is to keep the dropdown closed. The same applies - * in case when focus is moved to the modal dialog. - */ - - }, { - key: "closeIfFocusOutside", - value: function closeIfFocusOutside() { - if (!this.containerRef.current.contains(document.activeElement) && !document.activeElement.closest('[role="dialog"]')) { - this.close(); - } - } - }, { - key: "close", - value: function close() { - this.setState({ - isOpen: false - }); - } - }, { - key: "render", - value: function render() { - var isOpen = this.state.isOpen; - var _this$props = this.props, - renderContent = _this$props.renderContent, - renderToggle = _this$props.renderToggle, - _this$props$position = _this$props.position, - position = _this$props$position === void 0 ? 'bottom' : _this$props$position, - className = _this$props.className, - contentClassName = _this$props.contentClassName, - expandOnMobile = _this$props.expandOnMobile, - headerTitle = _this$props.headerTitle, - focusOnMount = _this$props.focusOnMount, - popoverProps = _this$props.popoverProps; - var args = { - isOpen: isOpen, - onToggle: this.toggle, - onClose: this.close - }; - return Object(external_this_wp_element_["createElement"])("div", { - className: className, - ref: this.containerRef - }, renderToggle(args), isOpen && Object(external_this_wp_element_["createElement"])(popover, Object(esm_extends["a" /* default */])({ - className: contentClassName, - position: position, - onClose: this.close, - onFocusOutside: this.closeIfFocusOutside, - expandOnMobile: expandOnMobile, - headerTitle: headerTitle, - focusOnMount: focusOnMount - }, popoverProps), renderContent(args))); - } - }]); - - return Dropdown; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var dropdown = (dropdown_Dropdown); - -// EXTERNAL MODULE: ./node_modules/tinycolor2/tinycolor.js -var tinycolor = __webpack_require__(47); -var tinycolor_default = /*#__PURE__*/__webpack_require__.n(tinycolor); - // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/utils.js /** * Parts of this source were derived and modified from react-color, @@ -34946,27 +35965,7 @@ var mousetrap = __webpack_require__(224); var mousetrap_default = /*#__PURE__*/__webpack_require__.n(mousetrap); // EXTERNAL MODULE: ./node_modules/mousetrap/plugins/global-bind/mousetrap-global-bind.js -var mousetrap_global_bind = __webpack_require__(236); - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/keyboard-shortcuts/platform.js -/** - * External dependencies - */ - -/** - * Return true if platform is MacOS. - * - * @param {Object} _window window object by default; used for DI testing. - * - * @return {boolean} True if MacOS; false otherwise. - */ - -function isAppleOS() { - var _window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : window; - - var platform = _window.navigator.platform; - return platform.indexOf('Mac') !== -1 || Object(external_this_lodash_["includes"])(['iPad', 'iPhone'], platform); -} +var mousetrap_global_bind = __webpack_require__(235); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/keyboard-shortcuts/index.js @@ -35301,7 +36300,7 @@ function (_Component) { return Alpha; }(external_this_wp_element_["Component"]); -/* harmony default export */ var alpha = (Object(external_this_wp_compose_["pure"])(alpha_Alpha)); +/* harmony default export */ var color_picker_alpha = (Object(external_this_wp_compose_["pure"])(alpha_Alpha)); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/hue.js @@ -35357,6 +36356,7 @@ function (_Component) { + var hue_Hue = /*#__PURE__*/ function (_Component) { @@ -35528,8 +36528,8 @@ function (_Component) { className: "components-color-picker__hue-pointer", style: pointerLocation, onKeyDown: this.preventKeyEvents - }), Object(external_this_wp_element_["createElement"])("p", { - className: "components-color-picker__hue-description screen-reader-text", + }), Object(external_this_wp_element_["createElement"])(visually_hidden, { + as: "p", id: "components-color-picker__hue-description-".concat(instanceId) }, Object(external_this_wp_i18n_["__"])('Move the arrow left or right to change hue.'))))); } @@ -35621,6 +36621,7 @@ function TextControl(_ref) { + /* Wrapper for TextControl, only used to handle intermediate state while typing. */ var inputs_Input = @@ -35830,8 +36831,8 @@ function (_Component2) { onChange: this.handleChange })); } else if (this.state.view === 'rgb') { - return Object(external_this_wp_element_["createElement"])("fieldset", null, Object(external_this_wp_element_["createElement"])("legend", { - className: "screen-reader-text" + return Object(external_this_wp_element_["createElement"])("fieldset", null, Object(external_this_wp_element_["createElement"])(visually_hidden, { + as: "legend" }, Object(external_this_wp_i18n_["__"])('Color value in RGB')), Object(external_this_wp_element_["createElement"])("div", { className: "components-color-picker__inputs-fields" }, Object(external_this_wp_element_["createElement"])(inputs_Input, { @@ -35873,8 +36874,8 @@ function (_Component2) { step: "0.05" }))); } else if (this.state.view === 'hsl') { - return Object(external_this_wp_element_["createElement"])("fieldset", null, Object(external_this_wp_element_["createElement"])("legend", { - className: "screen-reader-text" + return Object(external_this_wp_element_["createElement"])("fieldset", null, Object(external_this_wp_element_["createElement"])(visually_hidden, { + as: "legend" }, Object(external_this_wp_i18n_["__"])('Color value in HSL')), Object(external_this_wp_element_["createElement"])("div", { className: "components-color-picker__inputs-fields" }, Object(external_this_wp_element_["createElement"])(inputs_Input, { @@ -36001,6 +37002,8 @@ function (_Component2) { + + var saturation_Saturation = /*#__PURE__*/ function (_Component) { @@ -36170,14 +37173,13 @@ function (_Component) { className: "components-color-picker__saturation-white" }), Object(external_this_wp_element_["createElement"])("div", { className: "components-color-picker__saturation-black" - }), Object(external_this_wp_element_["createElement"])("button", { + }), Object(external_this_wp_element_["createElement"])(build_module_button, { "aria-label": Object(external_this_wp_i18n_["__"])('Choose a shade'), "aria-describedby": "color-picker-saturation-".concat(instanceId), className: "components-color-picker__saturation-pointer", style: pointerLocation, onKeyDown: this.preventKeyEvents - }), Object(external_this_wp_element_["createElement"])("div", { - className: "screen-reader-text", + }), Object(external_this_wp_element_["createElement"])(visually_hidden, { id: "color-picker-saturation-".concat(instanceId) }, Object(external_this_wp_i18n_["__"])('Use your arrow keys to change the base color. Move up to lighten the color, down to darken, left to decrease saturation, and right to increase saturation.')))); /* eslint-enable jsx-a11y/no-noninteractive-element-interactions */ @@ -36452,7 +37454,7 @@ function (_Component) { }, Object(external_this_wp_element_["createElement"])(hue, { hsl: hsl, onChange: this.commitValues - }), disableAlpha ? null : Object(external_this_wp_element_["createElement"])(alpha, { + }), disableAlpha ? null : Object(external_this_wp_element_["createElement"])(color_picker_alpha, { rgb: rgb, hsl: hsl, onChange: this.commitValues @@ -36471,14 +37473,20 @@ function (_Component) { -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-palette/index.js +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/dropdown/index.js + + + + + + + /** * External dependencies */ - /** * WordPress dependencies */ @@ -36490,97 +37498,3069 @@ function (_Component) { +var dropdown_Dropdown = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(Dropdown, _Component); + + function Dropdown() { + var _this; + + Object(classCallCheck["a" /* default */])(this, Dropdown); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(Dropdown).apply(this, arguments)); + _this.toggle = _this.toggle.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.close = _this.close.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.closeIfFocusOutside = _this.closeIfFocusOutside.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.containerRef = Object(external_this_wp_element_["createRef"])(); + _this.state = { + isOpen: false + }; + return _this; + } + + Object(createClass["a" /* default */])(Dropdown, [{ + key: "componentWillUnmount", + value: function componentWillUnmount() { + var isOpen = this.state.isOpen; + var onToggle = this.props.onToggle; + + if (isOpen && onToggle) { + onToggle(false); + } + } + }, { + key: "componentDidUpdate", + value: function componentDidUpdate(prevProps, prevState) { + var isOpen = this.state.isOpen; + var onToggle = this.props.onToggle; + + if (prevState.isOpen !== isOpen && onToggle) { + onToggle(isOpen); + } + } + }, { + key: "toggle", + value: function toggle() { + this.setState(function (state) { + return { + isOpen: !state.isOpen + }; + }); + } + /** + * Closes the dropdown if a focus leaves the dropdown wrapper. This is + * intentionally distinct from `onClose` since focus loss from the popover + * is expected to occur when using the Dropdown's toggle button, in which + * case the correct behavior is to keep the dropdown closed. The same applies + * in case when focus is moved to the modal dialog. + */ + + }, { + key: "closeIfFocusOutside", + value: function closeIfFocusOutside() { + if (!this.containerRef.current.contains(document.activeElement) && !document.activeElement.closest('[role="dialog"]')) { + this.close(); + } + } + }, { + key: "close", + value: function close() { + if (this.props.onClose) { + this.props.onClose(); + } + + this.setState({ + isOpen: false + }); + } + }, { + key: "render", + value: function render() { + var isOpen = this.state.isOpen; + var _this$props = this.props, + renderContent = _this$props.renderContent, + renderToggle = _this$props.renderToggle, + _this$props$position = _this$props.position, + position = _this$props$position === void 0 ? 'bottom' : _this$props$position, + className = _this$props.className, + contentClassName = _this$props.contentClassName, + expandOnMobile = _this$props.expandOnMobile, + headerTitle = _this$props.headerTitle, + focusOnMount = _this$props.focusOnMount, + popoverProps = _this$props.popoverProps; + var args = { + isOpen: isOpen, + onToggle: this.toggle, + onClose: this.close + }; + return Object(external_this_wp_element_["createElement"])("div", { + className: classnames_default()('components-dropdown', className), + ref: this.containerRef + }, renderToggle(args), isOpen && Object(external_this_wp_element_["createElement"])(popover, Object(esm_extends["a" /* default */])({ + className: contentClassName, + position: position, + onClose: this.close, + onFocusOutside: this.closeIfFocusOutside, + expandOnMobile: expandOnMobile, + headerTitle: headerTitle, + focusOnMount: focusOnMount + }, popoverProps), renderContent(args))); + } + }]); + + return Dropdown; +}(external_this_wp_element_["Component"]); + +/* harmony default export */ var dropdown = (dropdown_Dropdown); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/circular-option-picker/index.js + + + + +/** + * External dependencies + */ + +/** + * Internal dependencies + */ + + + + + + +function Option(_ref) { + var className = _ref.className, + isSelected = _ref.isSelected, + tooltipText = _ref.tooltipText, + additionalProps = Object(objectWithoutProperties["a" /* default */])(_ref, ["className", "isSelected", "tooltipText"]); + + var optionButton = Object(external_this_wp_element_["createElement"])(build_module_button, Object(esm_extends["a" /* default */])({ + "aria-pressed": isSelected, + className: classnames_default()(className, 'components-circular-option-picker__option', { + 'is-active': isSelected + }) + }, additionalProps)); + return Object(external_this_wp_element_["createElement"])("div", { + className: "components-circular-option-picker__option-wrapper" + }, tooltipText ? Object(external_this_wp_element_["createElement"])(build_module_tooltip, { + text: tooltipText + }, optionButton) : optionButton, isSelected && Object(external_this_wp_element_["createElement"])(dashicon_Dashicon, { + icon: "saved" + })); +} + +function DropdownLinkAction(_ref2) { + var buttonProps = _ref2.buttonProps, + className = _ref2.className, + dropdownProps = _ref2.dropdownProps, + linkText = _ref2.linkText; + return Object(external_this_wp_element_["createElement"])(dropdown, Object(esm_extends["a" /* default */])({ + className: classnames_default()('components-circular-option-picker__dropdown-link-action', className), + renderToggle: function renderToggle(_ref3) { + var isOpen = _ref3.isOpen, + onToggle = _ref3.onToggle; + return Object(external_this_wp_element_["createElement"])(build_module_button, Object(esm_extends["a" /* default */])({ + "aria-expanded": isOpen, + onClick: onToggle, + isLink: true + }, buttonProps), linkText); + } + }, dropdownProps)); +} + +function ButtonAction(_ref4) { + var className = _ref4.className, + children = _ref4.children, + additionalProps = Object(objectWithoutProperties["a" /* default */])(_ref4, ["className", "children"]); + + return Object(external_this_wp_element_["createElement"])(build_module_button, Object(esm_extends["a" /* default */])({ + className: classnames_default()('components-circular-option-picker__clear', className), + isSmall: true, + isDefault: true + }, additionalProps), children); +} + +function CircularOptionPicker(_ref5) { + var actions = _ref5.actions, + className = _ref5.className, + options = _ref5.options, + children = _ref5.children; + return Object(external_this_wp_element_["createElement"])("div", { + className: classnames_default()('components-circular-option-picker', className) + }, options, children, actions && Object(external_this_wp_element_["createElement"])("div", { + className: "components-circular-option-picker__custom-clear-wrapper" + }, actions)); +} +CircularOptionPicker.Option = Option; +CircularOptionPicker.ButtonAction = ButtonAction; +CircularOptionPicker.DropdownLinkAction = DropdownLinkAction; + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-palette/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ function ColorPalette(_ref) { - var colors = _ref.colors, + var _ref$clearable = _ref.clearable, + clearable = _ref$clearable === void 0 ? true : _ref$clearable, + className = _ref.className, + colors = _ref.colors, _ref$disableCustomCol = _ref.disableCustomColors, disableCustomColors = _ref$disableCustomCol === void 0 ? false : _ref$disableCustomCol, - value = _ref.value, onChange = _ref.onChange, - className = _ref.className, - _ref$clearable = _ref.clearable, - clearable = _ref$clearable === void 0 ? true : _ref$clearable; + value = _ref.value; + var clearColor = Object(external_this_wp_element_["useCallback"])(function () { + return onChange(undefined); + }, [onChange]); + var colorOptions = Object(external_this_wp_element_["useMemo"])(function () { + return Object(external_this_lodash_["map"])(colors, function (_ref2) { + var color = _ref2.color, + name = _ref2.name; + return Object(external_this_wp_element_["createElement"])(CircularOptionPicker.Option, { + key: color, + isSelected: value === color, + tooltipText: name || // translators: %s: color hex code e.g: "#f00". + Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Color code: %s'), color), + style: { + color: color + }, + onClick: value === color ? clearColor : function () { + return onChange(color); + }, + "aria-label": name ? // translators: %s: The name of the color e.g: "vivid red". + Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Color: %s'), name) : // translators: %s: color hex code e.g: "#f00". + Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Color code: %s'), color) + }); + }); + }, [colors, value, onChange, clearColor]); + var renderCustomColorPicker = Object(external_this_wp_element_["useCallback"])(function () { + return Object(external_this_wp_element_["createElement"])(color_picker_ColorPicker, { + color: value, + onChangeComplete: function onChangeComplete(color) { + return onChange(color.hex); + }, + disableAlpha: true + }); + }, [value]); + return Object(external_this_wp_element_["createElement"])(CircularOptionPicker, { + className: className, + options: colorOptions, + actions: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, !disableCustomColors && Object(external_this_wp_element_["createElement"])(CircularOptionPicker.DropdownLinkAction, { + dropdownProps: { + renderContent: renderCustomColorPicker, + contentClassName: 'components-color-palette__picker' + }, + buttonProps: { + 'aria-label': Object(external_this_wp_i18n_["__"])('Custom color picker') + }, + linkText: Object(external_this_wp_i18n_["__"])('Custom Color') + }), !!clearable && Object(external_this_wp_element_["createElement"])(CircularOptionPicker.ButtonAction, { + onClick: clearColor + }, Object(external_this_wp_i18n_["__"])('Clear'))) + }); +} - function applyOrUnset(color) { - return function () { - return onChange(value === color ? undefined : color); - }; +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +var objectWithoutPropertiesLoose = __webpack_require__(40); + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +function _inheritsLoose(subClass, superClass) { + subClass.prototype = Object.create(superClass.prototype); + subClass.prototype.constructor = subClass; + subClass.__proto__ = superClass; +} +// EXTERNAL MODULE: ./node_modules/prop-types/index.js +var prop_types = __webpack_require__(28); +var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types); + +// EXTERNAL MODULE: ./node_modules/downshift/node_modules/react-is/index.js +var react_is = __webpack_require__(145); + +// CONCATENATED MODULE: ./node_modules/compute-scroll-into-view/es/index.js +function isElement(el) { + return el != null && typeof el === 'object' && el.nodeType === 1; +} + +function canOverflow(overflow, skipOverflowHiddenElements) { + if (skipOverflowHiddenElements && overflow === 'hidden') { + return false; } - var customColorPickerLabel = Object(external_this_wp_i18n_["__"])('Custom color picker'); + return overflow !== 'visible' && overflow !== 'clip'; +} - var classes = classnames_default()('components-color-palette', className); - return Object(external_this_wp_element_["createElement"])("div", { - className: classes - }, Object(external_this_lodash_["map"])(colors, function (_ref2) { - var color = _ref2.color, - name = _ref2.name; - var style = { - color: color - }; - var itemClasses = classnames_default()('components-color-palette__item', { - 'is-active': value === color +function getFrameElement(el) { + if (!el.ownerDocument || !el.ownerDocument.defaultView) { + return null; + } + + return el.ownerDocument.defaultView.frameElement; +} + +function isHiddenByFrame(el) { + var frame = getFrameElement(el); + + if (!frame) { + return false; + } + + return frame.clientHeight < el.scrollHeight || frame.clientWidth < el.scrollWidth; +} + +function isScrollable(el, skipOverflowHiddenElements) { + if (el.clientHeight < el.scrollHeight || el.clientWidth < el.scrollWidth) { + var style = getComputedStyle(el, null); + return canOverflow(style.overflowY, skipOverflowHiddenElements) || canOverflow(style.overflowX, skipOverflowHiddenElements) || isHiddenByFrame(el); + } + + return false; +} + +function alignNearest(scrollingEdgeStart, scrollingEdgeEnd, scrollingSize, scrollingBorderStart, scrollingBorderEnd, elementEdgeStart, elementEdgeEnd, elementSize) { + if (elementEdgeStart < scrollingEdgeStart && elementEdgeEnd > scrollingEdgeEnd || elementEdgeStart > scrollingEdgeStart && elementEdgeEnd < scrollingEdgeEnd) { + return 0; + } + + if (elementEdgeStart <= scrollingEdgeStart && elementSize <= scrollingSize || elementEdgeEnd >= scrollingEdgeEnd && elementSize >= scrollingSize) { + return elementEdgeStart - scrollingEdgeStart - scrollingBorderStart; + } + + if (elementEdgeEnd > scrollingEdgeEnd && elementSize < scrollingSize || elementEdgeStart < scrollingEdgeStart && elementSize > scrollingSize) { + return elementEdgeEnd - scrollingEdgeEnd + scrollingBorderEnd; + } + + return 0; +} + +/* harmony default export */ var es = (function (target, options) { + var scrollMode = options.scrollMode, + block = options.block, + inline = options.inline, + boundary = options.boundary, + skipOverflowHiddenElements = options.skipOverflowHiddenElements; + var checkBoundary = typeof boundary === 'function' ? boundary : function (node) { + return node !== boundary; + }; + + if (!isElement(target)) { + throw new TypeError('Invalid target'); + } + + var scrollingElement = document.scrollingElement || document.documentElement; + var frames = []; + var cursor = target; + + while (isElement(cursor) && checkBoundary(cursor)) { + cursor = cursor.parentNode; + + if (cursor === scrollingElement) { + frames.push(cursor); + break; + } + + if (cursor === document.body && isScrollable(cursor) && !isScrollable(document.documentElement)) { + continue; + } + + if (isScrollable(cursor, skipOverflowHiddenElements)) { + frames.push(cursor); + } + } + + var viewportWidth = window.visualViewport ? visualViewport.width : innerWidth; + var viewportHeight = window.visualViewport ? visualViewport.height : innerHeight; + var viewportX = window.scrollX || pageXOffset; + var viewportY = window.scrollY || pageYOffset; + + var _target$getBoundingCl = target.getBoundingClientRect(), + targetHeight = _target$getBoundingCl.height, + targetWidth = _target$getBoundingCl.width, + targetTop = _target$getBoundingCl.top, + targetRight = _target$getBoundingCl.right, + targetBottom = _target$getBoundingCl.bottom, + targetLeft = _target$getBoundingCl.left; + + var targetBlock = block === 'start' || block === 'nearest' ? targetTop : block === 'end' ? targetBottom : targetTop + targetHeight / 2; + var targetInline = inline === 'center' ? targetLeft + targetWidth / 2 : inline === 'end' ? targetRight : targetLeft; + var computations = []; + + for (var index = 0; index < frames.length; index++) { + var frame = frames[index]; + + var _frame$getBoundingCli = frame.getBoundingClientRect(), + height = _frame$getBoundingCli.height, + width = _frame$getBoundingCli.width, + top = _frame$getBoundingCli.top, + right = _frame$getBoundingCli.right, + bottom = _frame$getBoundingCli.bottom, + left = _frame$getBoundingCli.left; + + if (scrollMode === 'if-needed' && targetTop >= 0 && targetLeft >= 0 && targetBottom <= viewportHeight && targetRight <= viewportWidth && targetTop >= top && targetBottom <= bottom && targetLeft >= left && targetRight <= right) { + return computations; + } + + var frameStyle = getComputedStyle(frame); + var borderLeft = parseInt(frameStyle.borderLeftWidth, 10); + var borderTop = parseInt(frameStyle.borderTopWidth, 10); + var borderRight = parseInt(frameStyle.borderRightWidth, 10); + var borderBottom = parseInt(frameStyle.borderBottomWidth, 10); + var blockScroll = 0; + var inlineScroll = 0; + var scrollbarWidth = 'offsetWidth' in frame ? frame.offsetWidth - frame.clientWidth - borderLeft - borderRight : 0; + var scrollbarHeight = 'offsetHeight' in frame ? frame.offsetHeight - frame.clientHeight - borderTop - borderBottom : 0; + + if (scrollingElement === frame) { + if (block === 'start') { + blockScroll = targetBlock; + } else if (block === 'end') { + blockScroll = targetBlock - viewportHeight; + } else if (block === 'nearest') { + blockScroll = alignNearest(viewportY, viewportY + viewportHeight, viewportHeight, borderTop, borderBottom, viewportY + targetBlock, viewportY + targetBlock + targetHeight, targetHeight); + } else { + blockScroll = targetBlock - viewportHeight / 2; + } + + if (inline === 'start') { + inlineScroll = targetInline; + } else if (inline === 'center') { + inlineScroll = targetInline - viewportWidth / 2; + } else if (inline === 'end') { + inlineScroll = targetInline - viewportWidth; + } else { + inlineScroll = alignNearest(viewportX, viewportX + viewportWidth, viewportWidth, borderLeft, borderRight, viewportX + targetInline, viewportX + targetInline + targetWidth, targetWidth); + } + + blockScroll = Math.max(0, blockScroll + viewportY); + inlineScroll = Math.max(0, inlineScroll + viewportX); + } else { + if (block === 'start') { + blockScroll = targetBlock - top - borderTop; + } else if (block === 'end') { + blockScroll = targetBlock - bottom + borderBottom + scrollbarHeight; + } else if (block === 'nearest') { + blockScroll = alignNearest(top, bottom, height, borderTop, borderBottom + scrollbarHeight, targetBlock, targetBlock + targetHeight, targetHeight); + } else { + blockScroll = targetBlock - (top + height / 2) + scrollbarHeight / 2; + } + + if (inline === 'start') { + inlineScroll = targetInline - left - borderLeft; + } else if (inline === 'center') { + inlineScroll = targetInline - (left + width / 2) + scrollbarWidth / 2; + } else if (inline === 'end') { + inlineScroll = targetInline - right + borderRight + scrollbarWidth; + } else { + inlineScroll = alignNearest(left, right, width, borderLeft, borderRight + scrollbarWidth, targetInline, targetInline + targetWidth, targetWidth); + } + + var scrollLeft = frame.scrollLeft, + scrollTop = frame.scrollTop; + blockScroll = Math.max(0, Math.min(scrollTop + blockScroll, frame.scrollHeight - height + scrollbarHeight)); + inlineScroll = Math.max(0, Math.min(scrollLeft + inlineScroll, frame.scrollWidth - width + scrollbarWidth)); + targetBlock += scrollTop - blockScroll; + targetInline += scrollLeft - inlineScroll; + } + + computations.push({ + el: frame, + top: blockScroll, + left: inlineScroll }); - return Object(external_this_wp_element_["createElement"])("div", { - key: color, - className: "components-color-palette__item-wrapper" - }, Object(external_this_wp_element_["createElement"])(build_module_tooltip, { - text: name || // translators: %s: color hex code e.g: "#f00". - Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Color code: %s'), color) - }, Object(external_this_wp_element_["createElement"])("button", { - type: "button", - className: itemClasses, - style: style, - onClick: applyOrUnset(color), - "aria-label": name ? // translators: %s: The name of the color e.g: "vivid red". - Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Color: %s'), name) : // translators: %s: color hex code e.g: "#f00". - Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Color code: %s'), color), - "aria-pressed": value === color - })), value === color && Object(external_this_wp_element_["createElement"])(dashicon_Dashicon, { - icon: "saved" - })); - }), Object(external_this_wp_element_["createElement"])("div", { - className: "components-color-palette__custom-clear-wrapper" - }, !disableCustomColors && Object(external_this_wp_element_["createElement"])(dropdown, { - className: "components-color-palette__custom-color", - contentClassName: "components-color-palette__picker", - renderToggle: function renderToggle(_ref3) { - var isOpen = _ref3.isOpen, - onToggle = _ref3.onToggle; - return Object(external_this_wp_element_["createElement"])(build_module_button, { - "aria-expanded": isOpen, - onClick: onToggle, - "aria-label": customColorPickerLabel, - isLink: true - }, Object(external_this_wp_i18n_["__"])('Custom Color')); - }, - renderContent: function renderContent() { - return Object(external_this_wp_element_["createElement"])(color_picker_ColorPicker, { - color: value, - onChangeComplete: function onChangeComplete(color) { - return onChange(color.hex); + } + + return computations; +}); +// CONCATENATED MODULE: ./node_modules/downshift/dist/downshift.esm.js + + + + + + + + + +var idCounter = 0; +/** + * Accepts a parameter and returns it if it's a function + * or a noop function if it's not. This allows us to + * accept a callback, but not worry about it if it's not + * passed. + * @param {Function} cb the callback + * @return {Function} a function + */ + +function cbToCb(cb) { + return typeof cb === 'function' ? cb : noop; +} + +function noop() {} +/** + * Scroll node into view if necessary + * @param {HTMLElement} node the element that should scroll into view + * @param {HTMLElement} menuNode the menu element of the component + */ + + +function downshift_esm_scrollIntoView(node, menuNode) { + if (node === null) { + return; + } + + var actions = es(node, { + boundary: menuNode, + block: 'nearest', + scrollMode: 'if-needed' + }); + actions.forEach(function (_ref) { + var el = _ref.el, + top = _ref.top, + left = _ref.left; + el.scrollTop = top; + el.scrollLeft = left; + }); +} +/** + * @param {HTMLElement} parent the parent node + * @param {HTMLElement} child the child node + * @return {Boolean} whether the parent is the child or the child is in the parent + */ + + +function isOrContainsNode(parent, child) { + return parent === child || parent.contains && parent.contains(child); +} +/** + * Simple debounce implementation. Will call the given + * function once after the time given has passed since + * it was last called. + * @param {Function} fn the function to call after the time + * @param {Number} time the time to wait + * @return {Function} the debounced function + */ + + +function debounce(fn, time) { + var timeoutId; + + function cancel() { + if (timeoutId) { + clearTimeout(timeoutId); + } + } + + function wrapper() { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + cancel(); + timeoutId = setTimeout(function () { + timeoutId = null; + fn.apply(void 0, args); + }, time); + } + + wrapper.cancel = cancel; + return wrapper; +} +/** + * This is intended to be used to compose event handlers. + * They are executed in order until one of them sets + * `event.preventDownshiftDefault = true`. + * @param {...Function} fns the event handler functions + * @return {Function} the event handler to add to an element + */ + + +function callAllEventHandlers() { + for (var _len2 = arguments.length, fns = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { + fns[_key2] = arguments[_key2]; + } + + return function (event) { + for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) { + args[_key3 - 1] = arguments[_key3]; + } + + return fns.some(function (fn) { + if (fn) { + fn.apply(void 0, [event].concat(args)); + } + + return event.preventDownshiftDefault || event.hasOwnProperty('nativeEvent') && event.nativeEvent.preventDownshiftDefault; + }); + }; +} + +function handleRefs() { + for (var _len4 = arguments.length, refs = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) { + refs[_key4] = arguments[_key4]; + } + + return function (node) { + refs.forEach(function (ref) { + if (typeof ref === 'function') { + ref(node); + } else if (ref) { + ref.current = node; + } + }); + }; +} +/** + * This generates a unique ID for an instance of Downshift + * @return {String} the unique ID + */ + + +function downshift_esm_generateId() { + return String(idCounter++); +} +/** + * Resets idCounter to 0. Used for SSR. + */ + + +function resetIdCounter() { + idCounter = 0; +} +/** + * @param {Object} param the downshift state and other relevant properties + * @return {String} the a11y status message + */ + + +function downshift_esm_getA11yStatusMessage(_ref2) { + var isOpen = _ref2.isOpen, + selectedItem = _ref2.selectedItem, + resultCount = _ref2.resultCount, + previousResultCount = _ref2.previousResultCount, + itemToString = _ref2.itemToString; + + if (!isOpen) { + return selectedItem ? itemToString(selectedItem) : ''; + } + + if (!resultCount) { + return 'No results are available.'; + } + + if (resultCount !== previousResultCount) { + return resultCount + " result" + (resultCount === 1 ? ' is' : 's are') + " available, use up and down arrow keys to navigate. Press Enter key to select."; + } + + return ''; +} +/** + * Takes an argument and if it's an array, returns the first item in the array + * otherwise returns the argument + * @param {*} arg the maybe-array + * @param {*} defaultValue the value if arg is falsey not defined + * @return {*} the arg or it's first item + */ + + +function unwrapArray(arg, defaultValue) { + arg = Array.isArray(arg) ? + /* istanbul ignore next (preact) */ + arg[0] : arg; + + if (!arg && defaultValue) { + return defaultValue; + } else { + return arg; + } +} +/** + * @param {Object} element (P)react element + * @return {Boolean} whether it's a DOM element + */ + + +function isDOMElement(element) { + // then we assume this is react + return typeof element.type === 'string'; +} +/** + * @param {Object} element (P)react element + * @return {Object} the props + */ + + +function getElementProps(element) { + return element.props; +} +/** + * Throws a helpful error message for required properties. Useful + * to be used as a default in destructuring or object params. + * @param {String} fnName the function name + * @param {String} propName the prop name + */ + + +function requiredProp(fnName, propName) { + // eslint-disable-next-line no-console + console.error("The property \"" + propName + "\" is required in \"" + fnName + "\""); +} + +var stateKeys = ['highlightedIndex', 'inputValue', 'isOpen', 'selectedItem', 'type']; +/** + * @param {Object} state the state object + * @return {Object} state that is relevant to downshift + */ + +function pickState(state) { + if (state === void 0) { + state = {}; + } + + var result = {}; + stateKeys.forEach(function (k) { + if (state.hasOwnProperty(k)) { + result[k] = state[k]; + } + }); + return result; +} +/** + * Normalizes the 'key' property of a KeyboardEvent in IE/Edge + * @param {Object} event a keyboardEvent object + * @return {String} keyboard key + */ + + +function normalizeArrowKey(event) { + var key = event.key, + keyCode = event.keyCode; + /* istanbul ignore next (ie) */ + + if (keyCode >= 37 && keyCode <= 40 && key.indexOf('Arrow') !== 0) { + return "Arrow" + key; + } + + return key; +} +/** + * Simple check if the value passed is object literal + * @param {*} obj any things + * @return {Boolean} whether it's object literal + */ + + +function isPlainObject(obj) { + return Object.prototype.toString.call(obj) === '[object Object]'; +} +/** + * Returns the new index in the list, in a circular way. If next value is out of bonds from the total, + * it will wrap to either 0 or itemCount - 1. + * + * @param {number} moveAmount Number of positions to move. Negative to move backwards, positive forwards. + * @param {number} baseIndex The initial position to move from. + * @param {number} itemCount The total number of items. + * @returns {number} The new index after the move. + */ + + +function getNextWrappingIndex(moveAmount, baseIndex, itemCount) { + var itemsLastIndex = itemCount - 1; + + if (typeof baseIndex !== 'number' || baseIndex < 0 || baseIndex >= itemCount) { + baseIndex = moveAmount > 0 ? -1 : itemsLastIndex + 1; + } + + var newIndex = baseIndex + moveAmount; + + if (newIndex < 0) { + newIndex = itemsLastIndex; + } else if (newIndex > itemsLastIndex) { + newIndex = 0; + } + + return newIndex; +} + +var cleanupStatus = debounce(function () { + getStatusDiv().textContent = ''; +}, 500); +/** + * @param {String} status the status message + * @param {Object} documentProp document passed by the user. + */ + +function setStatus(status, documentProp) { + var div = getStatusDiv(documentProp); + + if (!status) { + return; + } + + div.textContent = status; + cleanupStatus(); +} +/** + * Get the status node or create it if it does not already exist. + * @param {Object} documentProp document passed by the user. + * @return {HTMLElement} the status node. + */ + + +function getStatusDiv(documentProp) { + if (documentProp === void 0) { + documentProp = document; + } + + var statusDiv = documentProp.getElementById('a11y-status-message'); + + if (statusDiv) { + return statusDiv; + } + + statusDiv = documentProp.createElement('div'); + statusDiv.setAttribute('id', 'a11y-status-message'); + statusDiv.setAttribute('role', 'status'); + statusDiv.setAttribute('aria-live', 'polite'); + statusDiv.setAttribute('aria-relevant', 'additions text'); + Object.assign(statusDiv.style, { + border: '0', + clip: 'rect(0 0 0 0)', + height: '1px', + margin: '-1px', + overflow: 'hidden', + padding: '0', + position: 'absolute', + width: '1px' + }); + documentProp.body.appendChild(statusDiv); + return statusDiv; +} + +var unknown = false ? undefined : 0; +var mouseUp = false ? undefined : 1; +var itemMouseEnter = false ? undefined : 2; +var keyDownArrowUp = false ? undefined : 3; +var keyDownArrowDown = false ? undefined : 4; +var keyDownEscape = false ? undefined : 5; +var keyDownEnter = false ? undefined : 6; +var keyDownHome = false ? undefined : 7; +var keyDownEnd = false ? undefined : 8; +var clickItem = false ? undefined : 9; +var blurInput = false ? undefined : 10; +var changeInput = false ? undefined : 11; +var keyDownSpaceButton = false ? undefined : 12; +var clickButton = false ? undefined : 13; +var blurButton = false ? undefined : 14; +var controlledPropUpdatedSelectedItem = false ? undefined : 15; +var touchEnd = false ? undefined : 16; + +var stateChangeTypes = /*#__PURE__*/Object.freeze({ + __proto__: null, + unknown: unknown, + mouseUp: mouseUp, + itemMouseEnter: itemMouseEnter, + keyDownArrowUp: keyDownArrowUp, + keyDownArrowDown: keyDownArrowDown, + keyDownEscape: keyDownEscape, + keyDownEnter: keyDownEnter, + keyDownHome: keyDownHome, + keyDownEnd: keyDownEnd, + clickItem: clickItem, + blurInput: blurInput, + changeInput: changeInput, + keyDownSpaceButton: keyDownSpaceButton, + clickButton: clickButton, + blurButton: blurButton, + controlledPropUpdatedSelectedItem: controlledPropUpdatedSelectedItem, + touchEnd: touchEnd +}); + +var downshift_esm_Downshift = +/*#__PURE__*/ +function () { + var Downshift = + /*#__PURE__*/ + function (_Component) { + _inheritsLoose(Downshift, _Component); + + function Downshift(_props) { + var _this = _Component.call(this, _props) || this; + + _this.id = _this.props.id || "downshift-" + downshift_esm_generateId(); + _this.menuId = _this.props.menuId || _this.id + "-menu"; + _this.labelId = _this.props.labelId || _this.id + "-label"; + _this.inputId = _this.props.inputId || _this.id + "-input"; + + _this.getItemId = _this.props.getItemId || function (index) { + return _this.id + "-item-" + index; + }; + + _this.input = null; + _this.items = []; + _this.itemCount = null; + _this.previousResultCount = 0; + _this.timeoutIds = []; + + _this.internalSetTimeout = function (fn, time) { + var id = setTimeout(function () { + _this.timeoutIds = _this.timeoutIds.filter(function (i) { + return i !== id; + }); + fn(); + }, time); + + _this.timeoutIds.push(id); + }; + + _this.setItemCount = function (count) { + _this.itemCount = count; + }; + + _this.unsetItemCount = function () { + _this.itemCount = null; + }; + + _this.setHighlightedIndex = function (highlightedIndex, otherStateToSet) { + if (highlightedIndex === void 0) { + highlightedIndex = _this.props.defaultHighlightedIndex; + } + + if (otherStateToSet === void 0) { + otherStateToSet = {}; + } + + otherStateToSet = pickState(otherStateToSet); + + _this.internalSetState(Object(esm_extends["a" /* default */])({ + highlightedIndex: highlightedIndex + }, otherStateToSet)); + }; + + _this.clearSelection = function (cb) { + _this.internalSetState({ + selectedItem: null, + inputValue: '', + highlightedIndex: _this.props.defaultHighlightedIndex, + isOpen: _this.props.defaultIsOpen + }, cb); + }; + + _this.selectItem = function (item, otherStateToSet, cb) { + otherStateToSet = pickState(otherStateToSet); + + _this.internalSetState(Object(esm_extends["a" /* default */])({ + isOpen: _this.props.defaultIsOpen, + highlightedIndex: _this.props.defaultHighlightedIndex, + selectedItem: item, + inputValue: _this.props.itemToString(item) + }, otherStateToSet), cb); + }; + + _this.selectItemAtIndex = function (itemIndex, otherStateToSet, cb) { + var item = _this.items[itemIndex]; + + if (item == null) { + return; + } + + _this.selectItem(item, otherStateToSet, cb); + }; + + _this.selectHighlightedItem = function (otherStateToSet, cb) { + return _this.selectItemAtIndex(_this.getState().highlightedIndex, otherStateToSet, cb); + }; + + _this.internalSetState = function (stateToSet, cb) { + var isItemSelected, onChangeArg; + var onStateChangeArg = {}; + var isStateToSetFunction = typeof stateToSet === 'function'; // we want to call `onInputValueChange` before the `setState` call + // so someone controlling the `inputValue` state gets notified of + // the input change as soon as possible. This avoids issues with + // preserving the cursor position. + // See https://github.com/downshift-js/downshift/issues/217 for more info. + + if (!isStateToSetFunction && stateToSet.hasOwnProperty('inputValue')) { + _this.props.onInputValueChange(stateToSet.inputValue, Object(esm_extends["a" /* default */])({}, _this.getStateAndHelpers(), {}, stateToSet)); + } + + return _this.setState(function (state) { + state = _this.getState(state); + var newStateToSet = isStateToSetFunction ? stateToSet(state) : stateToSet; // Your own function that could modify the state that will be set. + + newStateToSet = _this.props.stateReducer(state, newStateToSet); // checks if an item is selected, regardless of if it's different from + // what was selected before + // used to determine if onSelect and onChange callbacks should be called + + isItemSelected = newStateToSet.hasOwnProperty('selectedItem'); // this keeps track of the object we want to call with setState + + var nextState = {}; // this is just used to tell whether the state changed + + var nextFullState = {}; // we need to call on change if the outside world is controlling any of our state + // and we're trying to update that state. OR if the selection has changed and we're + // trying to update the selection + + if (isItemSelected && newStateToSet.selectedItem !== state.selectedItem) { + onChangeArg = newStateToSet.selectedItem; + } + + newStateToSet.type = newStateToSet.type || unknown; + Object.keys(newStateToSet).forEach(function (key) { + // onStateChangeArg should only have the state that is + // actually changing + if (state[key] !== newStateToSet[key]) { + onStateChangeArg[key] = newStateToSet[key]; + } // the type is useful for the onStateChangeArg + // but we don't actually want to set it in internal state. + // this is an undocumented feature for now... Not all internalSetState + // calls support it and I'm not certain we want them to yet. + // But it enables users controlling the isOpen state to know when + // the isOpen state changes due to mouseup events which is quite handy. + + + if (key === 'type') { + return; + } + + nextFullState[key] = newStateToSet[key]; // if it's coming from props, then we don't care to set it internally + + if (!_this.isControlledProp(key)) { + nextState[key] = newStateToSet[key]; + } + }); // if stateToSet is a function, then we weren't able to call onInputValueChange + // earlier, so we'll call it now that we know what the inputValue state will be. + + if (isStateToSetFunction && newStateToSet.hasOwnProperty('inputValue')) { + _this.props.onInputValueChange(newStateToSet.inputValue, Object(esm_extends["a" /* default */])({}, _this.getStateAndHelpers(), {}, newStateToSet)); + } + + return nextState; + }, function () { + // call the provided callback if it's a function + cbToCb(cb)(); // only call the onStateChange and onChange callbacks if + // we have relevant information to pass them. + + var hasMoreStateThanType = Object.keys(onStateChangeArg).length > 1; + + if (hasMoreStateThanType) { + _this.props.onStateChange(onStateChangeArg, _this.getStateAndHelpers()); + } + + if (isItemSelected) { + _this.props.onSelect(stateToSet.selectedItem, _this.getStateAndHelpers()); + } + + if (onChangeArg !== undefined) { + _this.props.onChange(onChangeArg, _this.getStateAndHelpers()); + } // this is currently undocumented and therefore subject to change + // We'll try to not break it, but just be warned. + + + _this.props.onUserAction(onStateChangeArg, _this.getStateAndHelpers()); + }); + }; + + _this.rootRef = function (node) { + return _this._rootNode = node; + }; + + _this.getRootProps = function (_temp, _temp2) { + var _extends2; + + var _ref = _temp === void 0 ? {} : _temp, + _ref$refKey = _ref.refKey, + refKey = _ref$refKey === void 0 ? 'ref' : _ref$refKey, + ref = _ref.ref, + rest = Object(objectWithoutPropertiesLoose["a" /* default */])(_ref, ["refKey", "ref"]); + + var _ref2 = _temp2 === void 0 ? {} : _temp2, + _ref2$suppressRefErro = _ref2.suppressRefError, + suppressRefError = _ref2$suppressRefErro === void 0 ? false : _ref2$suppressRefErro; + + // this is used in the render to know whether the user has called getRootProps. + // It uses that to know whether to apply the props automatically + _this.getRootProps.called = true; + _this.getRootProps.refKey = refKey; + _this.getRootProps.suppressRefError = suppressRefError; + + var _this$getState = _this.getState(), + isOpen = _this$getState.isOpen; + + return Object(esm_extends["a" /* default */])((_extends2 = {}, _extends2[refKey] = handleRefs(ref, _this.rootRef), _extends2.role = 'combobox', _extends2['aria-expanded'] = isOpen, _extends2['aria-haspopup'] = 'listbox', _extends2['aria-owns'] = isOpen ? _this.menuId : null, _extends2['aria-labelledby'] = _this.labelId, _extends2), rest); + }; + + _this.keyDownHandlers = { + ArrowDown: function ArrowDown(event) { + var _this2 = this; + + event.preventDefault(); + + if (this.getState().isOpen) { + var amount = event.shiftKey ? 5 : 1; + this.moveHighlightedIndex(amount, { + type: keyDownArrowDown + }); + } else { + this.internalSetState({ + isOpen: true, + type: keyDownArrowDown + }, function () { + var itemCount = _this2.getItemCount(); + + if (itemCount > 0) { + _this2.setHighlightedIndex(getNextWrappingIndex(1, _this2.getState().highlightedIndex, itemCount), { + type: keyDownArrowDown + }); + } + }); + } }, - disableAlpha: true + ArrowUp: function ArrowUp(event) { + var _this3 = this; + + event.preventDefault(); + + if (this.getState().isOpen) { + var amount = event.shiftKey ? -5 : -1; + this.moveHighlightedIndex(amount, { + type: keyDownArrowUp + }); + } else { + this.internalSetState({ + isOpen: true, + type: keyDownArrowUp + }, function () { + var itemCount = _this3.getItemCount(); + + if (itemCount > 0) { + _this3.setHighlightedIndex(getNextWrappingIndex(-1, _this3.getState().highlightedIndex, itemCount), { + type: keyDownArrowDown + }); + } + }); + } + }, + Enter: function Enter(event) { + var _this$getState2 = this.getState(), + isOpen = _this$getState2.isOpen, + highlightedIndex = _this$getState2.highlightedIndex; + + if (isOpen && highlightedIndex != null) { + event.preventDefault(); + var item = this.items[highlightedIndex]; + var itemNode = this.getItemNodeFromIndex(highlightedIndex); + + if (item == null || itemNode && itemNode.hasAttribute('disabled')) { + return; + } + + this.selectHighlightedItem({ + type: keyDownEnter + }); + } + }, + Escape: function Escape(event) { + event.preventDefault(); + this.reset({ + type: keyDownEscape, + selectedItem: null, + inputValue: '' + }); + } + }; + _this.buttonKeyDownHandlers = Object(esm_extends["a" /* default */])({}, _this.keyDownHandlers, { + ' ': function _(event) { + event.preventDefault(); + this.toggleMenu({ + type: keyDownSpaceButton + }); + } + }); + _this.inputKeyDownHandlers = Object(esm_extends["a" /* default */])({}, _this.keyDownHandlers, { + Home: function Home(event) { + this.highlightFirstOrLastIndex(event, true, { + type: keyDownHome + }); + }, + End: function End(event) { + this.highlightFirstOrLastIndex(event, false, { + type: keyDownEnd + }); + } + }); + + _this.getToggleButtonProps = function (_temp3) { + var _ref3 = _temp3 === void 0 ? {} : _temp3, + onClick = _ref3.onClick, + onPress = _ref3.onPress, + onKeyDown = _ref3.onKeyDown, + onKeyUp = _ref3.onKeyUp, + onBlur = _ref3.onBlur, + rest = Object(objectWithoutPropertiesLoose["a" /* default */])(_ref3, ["onClick", "onPress", "onKeyDown", "onKeyUp", "onBlur"]); + + var _this$getState3 = _this.getState(), + isOpen = _this$getState3.isOpen; + + var enabledEventHandlers = { + onClick: callAllEventHandlers(onClick, _this.buttonHandleClick), + onKeyDown: callAllEventHandlers(onKeyDown, _this.buttonHandleKeyDown), + onKeyUp: callAllEventHandlers(onKeyUp, _this.buttonHandleKeyUp), + onBlur: callAllEventHandlers(onBlur, _this.buttonHandleBlur) + }; + var eventHandlers = rest.disabled ? {} : enabledEventHandlers; + return Object(esm_extends["a" /* default */])({ + type: 'button', + role: 'button', + 'aria-label': isOpen ? 'close menu' : 'open menu', + 'aria-haspopup': true, + 'data-toggle': true + }, eventHandlers, {}, rest); + }; + + _this.buttonHandleKeyUp = function (event) { + // Prevent click event from emitting in Firefox + event.preventDefault(); + }; + + _this.buttonHandleKeyDown = function (event) { + var key = normalizeArrowKey(event); + + if (_this.buttonKeyDownHandlers[key]) { + _this.buttonKeyDownHandlers[key].call(Object(assertThisInitialized["a" /* default */])(_this), event); + } + }; + + _this.buttonHandleClick = function (event) { + event.preventDefault(); // handle odd case for Safari and Firefox which + // don't give the button the focus properly. + + /* istanbul ignore if (can't reasonably test this) */ + + if ( _this.props.environment.document.activeElement === _this.props.environment.document.body) { + event.target.focus(); + } // to simplify testing components that use downshift, we'll not wrap this in a setTimeout + // if the NODE_ENV is test. With the proper build system, this should be dead code eliminated + // when building for production and should therefore have no impact on production code. + + + if (false) {} else { + // Ensure that toggle of menu occurs after the potential blur event in iOS + _this.internalSetTimeout(function () { + return _this.toggleMenu({ + type: clickButton + }); + }); + } + }; + + _this.buttonHandleBlur = function (event) { + var blurTarget = event.target; // Save blur target for comparison with activeElement later + // Need setTimeout, so that when the user presses Tab, the activeElement is the next focused element, not body element + + _this.internalSetTimeout(function () { + if (!_this.isMouseDown && (_this.props.environment.document.activeElement == null || _this.props.environment.document.activeElement.id !== _this.inputId) && _this.props.environment.document.activeElement !== blurTarget // Do nothing if we refocus the same element again (to solve issue in Safari on iOS) + ) { + _this.reset({ + type: blurButton + }); + } + }); + }; + + _this.getLabelProps = function (props) { + return Object(esm_extends["a" /* default */])({ + htmlFor: _this.inputId, + id: _this.labelId + }, props); + }; + + _this.getInputProps = function (_temp4) { + var _ref4 = _temp4 === void 0 ? {} : _temp4, + onKeyDown = _ref4.onKeyDown, + onBlur = _ref4.onBlur, + onChange = _ref4.onChange, + onInput = _ref4.onInput, + onChangeText = _ref4.onChangeText, + rest = Object(objectWithoutPropertiesLoose["a" /* default */])(_ref4, ["onKeyDown", "onBlur", "onChange", "onInput", "onChangeText"]); + + var onChangeKey; + var eventHandlers = {}; + /* istanbul ignore next (preact) */ + + onChangeKey = 'onChange'; + + var _this$getState4 = _this.getState(), + inputValue = _this$getState4.inputValue, + isOpen = _this$getState4.isOpen, + highlightedIndex = _this$getState4.highlightedIndex; + + if (!rest.disabled) { + var _eventHandlers; + + eventHandlers = (_eventHandlers = {}, _eventHandlers[onChangeKey] = callAllEventHandlers(onChange, onInput, _this.inputHandleChange), _eventHandlers.onKeyDown = callAllEventHandlers(onKeyDown, _this.inputHandleKeyDown), _eventHandlers.onBlur = callAllEventHandlers(onBlur, _this.inputHandleBlur), _eventHandlers); + } + /* istanbul ignore if (react-native) */ + + + return Object(esm_extends["a" /* default */])({ + 'aria-autocomplete': 'list', + 'aria-activedescendant': isOpen && typeof highlightedIndex === 'number' && highlightedIndex >= 0 ? _this.getItemId(highlightedIndex) : null, + 'aria-controls': isOpen ? _this.menuId : null, + 'aria-labelledby': _this.labelId, + // https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion + // revert back since autocomplete="nope" is ignored on latest Chrome and Opera + autoComplete: 'off', + value: inputValue, + id: _this.inputId + }, eventHandlers, {}, rest); + }; + + _this.inputHandleKeyDown = function (event) { + var key = normalizeArrowKey(event); + + if (key && _this.inputKeyDownHandlers[key]) { + _this.inputKeyDownHandlers[key].call(Object(assertThisInitialized["a" /* default */])(_this), event); + } + }; + + _this.inputHandleChange = function (event) { + _this.internalSetState({ + type: changeInput, + isOpen: true, + inputValue: event.target.value, + highlightedIndex: _this.props.defaultHighlightedIndex + }); + }; + + _this.inputHandleBlur = function () { + // Need setTimeout, so that when the user presses Tab, the activeElement is the next focused element, not the body element + _this.internalSetTimeout(function () { + var downshiftButtonIsActive = _this.props.environment.document && !!_this.props.environment.document.activeElement && !!_this.props.environment.document.activeElement.dataset && _this.props.environment.document.activeElement.dataset.toggle && _this._rootNode && _this._rootNode.contains(_this.props.environment.document.activeElement); + + if (!_this.isMouseDown && !downshiftButtonIsActive) { + _this.reset({ + type: blurInput + }); + } + }); + }; + + _this.menuRef = function (node) { + _this._menuNode = node; + }; + + _this.getMenuProps = function (_temp5, _temp6) { + var _extends3; + + var _ref5 = _temp5 === void 0 ? {} : _temp5, + _ref5$refKey = _ref5.refKey, + refKey = _ref5$refKey === void 0 ? 'ref' : _ref5$refKey, + ref = _ref5.ref, + props = Object(objectWithoutPropertiesLoose["a" /* default */])(_ref5, ["refKey", "ref"]); + + var _ref6 = _temp6 === void 0 ? {} : _temp6, + _ref6$suppressRefErro = _ref6.suppressRefError, + suppressRefError = _ref6$suppressRefErro === void 0 ? false : _ref6$suppressRefErro; + + _this.getMenuProps.called = true; + _this.getMenuProps.refKey = refKey; + _this.getMenuProps.suppressRefError = suppressRefError; + return Object(esm_extends["a" /* default */])((_extends3 = {}, _extends3[refKey] = handleRefs(ref, _this.menuRef), _extends3.role = 'listbox', _extends3['aria-labelledby'] = props && props['aria-label'] ? null : _this.labelId, _extends3.id = _this.menuId, _extends3), props); + }; + + _this.getItemProps = function (_temp7) { + var _enabledEventHandlers; + + var _ref7 = _temp7 === void 0 ? {} : _temp7, + onMouseMove = _ref7.onMouseMove, + onMouseDown = _ref7.onMouseDown, + onClick = _ref7.onClick, + onPress = _ref7.onPress, + index = _ref7.index, + _ref7$item = _ref7.item, + item = _ref7$item === void 0 ? true ? + /* istanbul ignore next */ + undefined : undefined : _ref7$item, + rest = Object(objectWithoutPropertiesLoose["a" /* default */])(_ref7, ["onMouseMove", "onMouseDown", "onClick", "onPress", "index", "item"]); + + if (index === undefined) { + _this.items.push(item); + + index = _this.items.indexOf(item); + } else { + _this.items[index] = item; + } + + var onSelectKey = 'onClick'; + var customClickHandler = onClick; + var enabledEventHandlers = (_enabledEventHandlers = { + // onMouseMove is used over onMouseEnter here. onMouseMove + // is only triggered on actual mouse movement while onMouseEnter + // can fire on DOM changes, interrupting keyboard navigation + onMouseMove: callAllEventHandlers(onMouseMove, function () { + if (index === _this.getState().highlightedIndex) { + return; + } + + _this.setHighlightedIndex(index, { + type: itemMouseEnter + }); // We never want to manually scroll when changing state based + // on `onMouseMove` because we will be moving the element out + // from under the user which is currently scrolling/moving the + // cursor + + + _this.avoidScrolling = true; + + _this.internalSetTimeout(function () { + return _this.avoidScrolling = false; + }, 250); + }), + onMouseDown: callAllEventHandlers(onMouseDown, function (event) { + // This prevents the activeElement from being changed + // to the item so it can remain with the current activeElement + // which is a more common use case. + event.preventDefault(); + }) + }, _enabledEventHandlers[onSelectKey] = callAllEventHandlers(customClickHandler, function () { + _this.selectItemAtIndex(index, { + type: clickItem + }); + }), _enabledEventHandlers); // Passing down the onMouseDown handler to prevent redirect + // of the activeElement if clicking on disabled items + + var eventHandlers = rest.disabled ? { + onMouseDown: enabledEventHandlers.onMouseDown + } : enabledEventHandlers; + return Object(esm_extends["a" /* default */])({ + id: _this.getItemId(index), + role: 'option', + 'aria-selected': _this.getState().highlightedIndex === index + }, eventHandlers, {}, rest); + }; + + _this.clearItems = function () { + _this.items = []; + }; + + _this.reset = function (otherStateToSet, cb) { + if (otherStateToSet === void 0) { + otherStateToSet = {}; + } + + otherStateToSet = pickState(otherStateToSet); + + _this.internalSetState(function (_ref8) { + var selectedItem = _ref8.selectedItem; + return Object(esm_extends["a" /* default */])({ + isOpen: _this.props.defaultIsOpen, + highlightedIndex: _this.props.defaultHighlightedIndex, + inputValue: _this.props.itemToString(selectedItem) + }, otherStateToSet); + }, cb); + }; + + _this.toggleMenu = function (otherStateToSet, cb) { + if (otherStateToSet === void 0) { + otherStateToSet = {}; + } + + otherStateToSet = pickState(otherStateToSet); + + _this.internalSetState(function (_ref9) { + var isOpen = _ref9.isOpen; + return Object(esm_extends["a" /* default */])({ + isOpen: !isOpen + }, isOpen && { + highlightedIndex: _this.props.defaultHighlightedIndex + }, {}, otherStateToSet); + }, function () { + var _this$getState5 = _this.getState(), + isOpen = _this$getState5.isOpen, + highlightedIndex = _this$getState5.highlightedIndex; + + if (isOpen) { + if (_this.getItemCount() > 0 && typeof highlightedIndex === 'number') { + _this.setHighlightedIndex(highlightedIndex, otherStateToSet); + } + } + + cbToCb(cb)(); + }); + }; + + _this.openMenu = function (cb) { + _this.internalSetState({ + isOpen: true + }, cb); + }; + + _this.closeMenu = function (cb) { + _this.internalSetState({ + isOpen: false + }, cb); + }; + + _this.updateStatus = debounce(function () { + var state = _this.getState(); + + var item = _this.items[state.highlightedIndex]; + + var resultCount = _this.getItemCount(); + + var status = _this.props.getA11yStatusMessage(Object(esm_extends["a" /* default */])({ + itemToString: _this.props.itemToString, + previousResultCount: _this.previousResultCount, + resultCount: resultCount, + highlightedItem: item + }, state)); + + _this.previousResultCount = resultCount; + setStatus(status, _this.props.environment.document); + }, 200); + + // fancy destructuring + defaults + aliases + // this basically says each value of state should either be set to + // the initial value or the default value if the initial value is not provided + var _this$props = _this.props, + defaultHighlightedIndex = _this$props.defaultHighlightedIndex, + _this$props$initialHi = _this$props.initialHighlightedIndex, + _highlightedIndex = _this$props$initialHi === void 0 ? defaultHighlightedIndex : _this$props$initialHi, + defaultIsOpen = _this$props.defaultIsOpen, + _this$props$initialIs = _this$props.initialIsOpen, + _isOpen = _this$props$initialIs === void 0 ? defaultIsOpen : _this$props$initialIs, + _this$props$initialIn = _this$props.initialInputValue, + _inputValue = _this$props$initialIn === void 0 ? '' : _this$props$initialIn, + _this$props$initialSe = _this$props.initialSelectedItem, + _selectedItem = _this$props$initialSe === void 0 ? null : _this$props$initialSe; + + var _state = _this.getState({ + highlightedIndex: _highlightedIndex, + isOpen: _isOpen, + inputValue: _inputValue, + selectedItem: _selectedItem + }); + + if (_state.selectedItem != null && _this.props.initialInputValue === undefined) { + _state.inputValue = _this.props.itemToString(_state.selectedItem); + } + + _this.state = _state; + return _this; + } + + var _proto = Downshift.prototype; + + /** + * Clear all running timeouts + */ + _proto.internalClearTimeouts = function internalClearTimeouts() { + this.timeoutIds.forEach(function (id) { + clearTimeout(id); + }); + this.timeoutIds = []; + } + /** + * Gets the state based on internal state or props + * If a state value is passed via props, then that + * is the value given, otherwise it's retrieved from + * stateToMerge + * + * This will perform a shallow merge of the given state object + * with the state coming from props + * (for the controlled component scenario) + * This is used in state updater functions so they're referencing + * the right state regardless of where it comes from. + * + * @param {Object} stateToMerge defaults to this.state + * @return {Object} the state + */ + ; + + _proto.getState = function getState(stateToMerge) { + var _this4 = this; + + if (stateToMerge === void 0) { + stateToMerge = this.state; + } + + return Object.keys(stateToMerge).reduce(function (state, key) { + state[key] = _this4.isControlledProp(key) ? _this4.props[key] : stateToMerge[key]; + return state; + }, {}); + } + /** + * This determines whether a prop is a "controlled prop" meaning it is + * state which is controlled by the outside of this component rather + * than within this component. + * @param {String} key the key to check + * @return {Boolean} whether it is a controlled controlled prop + */ + ; + + _proto.isControlledProp = function isControlledProp(key) { + return this.props[key] !== undefined; + }; + + _proto.getItemCount = function getItemCount() { + // things read better this way. They're in priority order: + // 1. `this.itemCount` + // 2. `this.props.itemCount` + // 3. `this.items.length` + var itemCount = this.items.length; + + if (this.itemCount != null) { + itemCount = this.itemCount; + } else if (this.props.itemCount !== undefined) { + itemCount = this.props.itemCount; + } + + return itemCount; + }; + + _proto.getItemNodeFromIndex = function getItemNodeFromIndex(index) { + return this.props.environment.document.getElementById(this.getItemId(index)); + }; + + _proto.scrollHighlightedItemIntoView = function scrollHighlightedItemIntoView() { + /* istanbul ignore else (react-native) */ + { + var node = this.getItemNodeFromIndex(this.getState().highlightedIndex); + this.props.scrollIntoView(node, this._menuNode); + } + }; + + _proto.moveHighlightedIndex = function moveHighlightedIndex(amount, otherStateToSet) { + var itemCount = this.getItemCount(); + + if (itemCount > 0) { + var nextHighlightedIndex = getNextWrappingIndex(amount, this.getState().highlightedIndex, itemCount); + this.setHighlightedIndex(nextHighlightedIndex, otherStateToSet); + } + }; + + _proto.highlightFirstOrLastIndex = function highlightFirstOrLastIndex(event, first, otherStateToSet) { + var itemsLastIndex = this.getItemCount() - 1; + + if (itemsLastIndex < 0 || !this.getState().isOpen) { + return; + } + + event.preventDefault(); + this.setHighlightedIndex(first ? 0 : itemsLastIndex, otherStateToSet); + }; + + _proto.getStateAndHelpers = function getStateAndHelpers() { + var _this$getState6 = this.getState(), + highlightedIndex = _this$getState6.highlightedIndex, + inputValue = _this$getState6.inputValue, + selectedItem = _this$getState6.selectedItem, + isOpen = _this$getState6.isOpen; + + var itemToString = this.props.itemToString; + var id = this.id; + var getRootProps = this.getRootProps, + getToggleButtonProps = this.getToggleButtonProps, + getLabelProps = this.getLabelProps, + getMenuProps = this.getMenuProps, + getInputProps = this.getInputProps, + getItemProps = this.getItemProps, + openMenu = this.openMenu, + closeMenu = this.closeMenu, + toggleMenu = this.toggleMenu, + selectItem = this.selectItem, + selectItemAtIndex = this.selectItemAtIndex, + selectHighlightedItem = this.selectHighlightedItem, + setHighlightedIndex = this.setHighlightedIndex, + clearSelection = this.clearSelection, + clearItems = this.clearItems, + reset = this.reset, + setItemCount = this.setItemCount, + unsetItemCount = this.unsetItemCount, + setState = this.internalSetState; + return { + // prop getters + getRootProps: getRootProps, + getToggleButtonProps: getToggleButtonProps, + getLabelProps: getLabelProps, + getMenuProps: getMenuProps, + getInputProps: getInputProps, + getItemProps: getItemProps, + // actions + reset: reset, + openMenu: openMenu, + closeMenu: closeMenu, + toggleMenu: toggleMenu, + selectItem: selectItem, + selectItemAtIndex: selectItemAtIndex, + selectHighlightedItem: selectHighlightedItem, + setHighlightedIndex: setHighlightedIndex, + clearSelection: clearSelection, + clearItems: clearItems, + setItemCount: setItemCount, + unsetItemCount: unsetItemCount, + setState: setState, + // props + itemToString: itemToString, + // derived + id: id, + // state + highlightedIndex: highlightedIndex, + inputValue: inputValue, + isOpen: isOpen, + selectedItem: selectedItem + }; + } //////////////////////////// ROOT + ; + + _proto.componentDidMount = function componentDidMount() { + var _this5 = this; + + /* istanbul ignore if (react-native) */ + if (false) {} + /* istanbul ignore if (react-native) */ + + + { + var targetWithinDownshift = function (target, checkActiveElement) { + if (checkActiveElement === void 0) { + checkActiveElement = true; + } + + var document = _this5.props.environment.document; + return [_this5._rootNode, _this5._menuNode].some(function (contextNode) { + return contextNode && (isOrContainsNode(contextNode, target) || checkActiveElement && isOrContainsNode(contextNode, document.activeElement)); + }); + }; // this.isMouseDown helps us track whether the mouse is currently held down. + // This is useful when the user clicks on an item in the list, but holds the mouse + // down long enough for the list to disappear (because the blur event fires on the input) + // this.isMouseDown is used in the blur handler on the input to determine whether the blur event should + // trigger hiding the menu. + + + var onMouseDown = function () { + _this5.isMouseDown = true; + }; + + var onMouseUp = function (event) { + _this5.isMouseDown = false; // if the target element or the activeElement is within a downshift node + // then we don't want to reset downshift + + var contextWithinDownshift = targetWithinDownshift(event.target); + + if (!contextWithinDownshift && _this5.getState().isOpen) { + _this5.reset({ + type: mouseUp + }, function () { + return _this5.props.onOuterClick(_this5.getStateAndHelpers()); + }); + } + }; // Touching an element in iOS gives focus and hover states, but touching out of + // the element will remove hover, and persist the focus state, resulting in the + // blur event not being triggered. + // this.isTouchMove helps us track whether the user is tapping or swiping on a touch screen. + // If the user taps outside of Downshift, the component should be reset, + // but not if the user is swiping + + + var onTouchStart = function () { + _this5.isTouchMove = false; + }; + + var onTouchMove = function () { + _this5.isTouchMove = true; + }; + + var onTouchEnd = function (event) { + var contextWithinDownshift = targetWithinDownshift(event.target, false); + + if (!_this5.isTouchMove && !contextWithinDownshift && _this5.getState().isOpen) { + _this5.reset({ + type: touchEnd + }, function () { + return _this5.props.onOuterClick(_this5.getStateAndHelpers()); + }); + } + }; + + var environment = this.props.environment; + environment.addEventListener('mousedown', onMouseDown); + environment.addEventListener('mouseup', onMouseUp); + environment.addEventListener('touchstart', onTouchStart); + environment.addEventListener('touchmove', onTouchMove); + environment.addEventListener('touchend', onTouchEnd); + + this.cleanup = function () { + _this5.internalClearTimeouts(); + + _this5.updateStatus.cancel(); + + environment.removeEventListener('mousedown', onMouseDown); + environment.removeEventListener('mouseup', onMouseUp); + environment.removeEventListener('touchstart', onTouchStart); + environment.removeEventListener('touchmove', onTouchMove); + environment.removeEventListener('touchend', onTouchEnd); + }; + } + }; + + _proto.shouldScroll = function shouldScroll(prevState, prevProps) { + var _ref10 = this.props.highlightedIndex === undefined ? this.getState() : this.props, + currentHighlightedIndex = _ref10.highlightedIndex; + + var _ref11 = prevProps.highlightedIndex === undefined ? prevState : prevProps, + prevHighlightedIndex = _ref11.highlightedIndex; + + var scrollWhenOpen = currentHighlightedIndex && this.getState().isOpen && !prevState.isOpen; + return scrollWhenOpen || currentHighlightedIndex !== prevHighlightedIndex; + }; + + _proto.componentDidUpdate = function componentDidUpdate(prevProps, prevState) { + if (false) {} + + if (this.isControlledProp('selectedItem') && this.props.selectedItemChanged(prevProps.selectedItem, this.props.selectedItem)) { + this.internalSetState({ + type: controlledPropUpdatedSelectedItem, + inputValue: this.props.itemToString(this.props.selectedItem) + }); + } + + if (!this.avoidScrolling && this.shouldScroll(prevState, prevProps)) { + this.scrollHighlightedItemIntoView(); + } + /* istanbul ignore else (react-native) */ + + + this.updateStatus(); + }; + + _proto.componentWillUnmount = function componentWillUnmount() { + this.cleanup(); // avoids memory leak + }; + + _proto.render = function render() { + var children = unwrapArray(this.props.children, noop); // because the items are rerendered every time we call the children + // we clear this out each render and it will be populated again as + // getItemProps is called. + + this.clearItems(); // we reset this so we know whether the user calls getRootProps during + // this render. If they do then we don't need to do anything, + // if they don't then we need to clone the element they return and + // apply the props for them. + + this.getRootProps.called = false; + this.getRootProps.refKey = undefined; + this.getRootProps.suppressRefError = undefined; // we do something similar for getMenuProps + + this.getMenuProps.called = false; + this.getMenuProps.refKey = undefined; + this.getMenuProps.suppressRefError = undefined; // we do something similar for getLabelProps + + this.getLabelProps.called = false; // and something similar for getInputProps + + this.getInputProps.called = false; + var element = unwrapArray(children(this.getStateAndHelpers())); + + if (!element) { + return null; + } + + if (this.getRootProps.called || this.props.suppressRefError) { + if (false) {} + + return element; + } else if (isDOMElement(element)) { + // they didn't apply the root props, but we can clone + // this and apply the props ourselves + return Object(external_this_React_["cloneElement"])(element, this.getRootProps(getElementProps(element))); + } + /* istanbul ignore else */ + + + if (false) {} + /* istanbul ignore next */ + + + return undefined; + }; + + return Downshift; + }(external_this_React_["Component"]); + + Downshift.defaultProps = { + defaultHighlightedIndex: null, + defaultIsOpen: false, + getA11yStatusMessage: downshift_esm_getA11yStatusMessage, + itemToString: function itemToString(i) { + if (i == null) { + return ''; + } + + if (false) {} + + return String(i); + }, + onStateChange: noop, + onInputValueChange: noop, + onUserAction: noop, + onChange: noop, + onSelect: noop, + onOuterClick: noop, + selectedItemChanged: function selectedItemChanged(prevItem, item) { + return prevItem !== item; + }, + environment: typeof window === 'undefined' + /* istanbul ignore next (ssr) */ + ? {} : window, + stateReducer: function stateReducer(state, stateToSet) { + return stateToSet; + }, + suppressRefError: false, + scrollIntoView: downshift_esm_scrollIntoView + }; + Downshift.stateChangeTypes = stateChangeTypes; + return Downshift; +}(); + + false ? undefined : void 0; + +function validateGetMenuPropsCalledCorrectly(node, _ref12) { + var refKey = _ref12.refKey; + + if (!node) { + // eslint-disable-next-line no-console + console.error("downshift: The ref prop \"" + refKey + "\" from getMenuProps was not applied correctly on your menu element."); + } +} + +function validateGetRootPropsCalledCorrectly(element, _ref13) { + var refKey = _ref13.refKey; + var refKeySpecified = refKey !== 'ref'; + var isComposite = !isDOMElement(element); + + if (isComposite && !refKeySpecified && !Object(react_is["isForwardRef"])(element)) { + // eslint-disable-next-line no-console + console.error('downshift: You returned a non-DOM element. You must specify a refKey in getRootProps'); + } else if (!isComposite && refKeySpecified) { + // eslint-disable-next-line no-console + console.error("downshift: You returned a DOM element. You should not specify a refKey in getRootProps. You specified \"" + refKey + "\""); + } + + if (!Object(react_is["isForwardRef"])(element) && !getElementProps(element)[refKey]) { + // eslint-disable-next-line no-console + console.error("downshift: You must apply the ref prop \"" + refKey + "\" from getRootProps onto your root element."); + } +} + +function validateControlledUnchanged(prevProps, nextProps) { + var warningDescription = "This prop should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled Downshift element for the lifetime of the component. More info: https://github.com/downshift-js/downshift#control-props"; + ['selectedItem', 'isOpen', 'inputValue', 'highlightedIndex'].forEach(function (propKey) { + if (prevProps[propKey] !== undefined && nextProps[propKey] === undefined) { + // eslint-disable-next-line no-console + console.error("downshift: A component has changed the controlled prop \"" + propKey + "\" to be uncontrolled. " + warningDescription); + } else if (prevProps[propKey] === undefined && nextProps[propKey] !== undefined) { + // eslint-disable-next-line no-console + console.error("downshift: A component has changed the uncontrolled prop \"" + propKey + "\" to be controlled. " + warningDescription); + } + }); +} + +function getElementIds(generateDefaultId, _temp) { + var _ref = _temp === void 0 ? {} : _temp, + id = _ref.id, + labelId = _ref.labelId, + menuId = _ref.menuId, + getItemId = _ref.getItemId, + toggleButtonId = _ref.toggleButtonId; + + var uniqueId = id === undefined ? "downshift-" + generateDefaultId() : id; + return { + labelId: labelId || uniqueId + "-label", + menuId: menuId || uniqueId + "-menu", + getItemId: getItemId || function (index) { + return uniqueId + "-item-" + index; + }, + toggleButtonId: toggleButtonId || uniqueId + "-toggle-button" + }; +} + +function getNextWrappingIndex$1(moveAmount, baseIndex, itemsLength, circular) { + if (baseIndex === -1) { + return moveAmount > 0 ? 0 : itemsLength - 1; + } + + var nextIndex = baseIndex + moveAmount; + + if (nextIndex < 0) { + return circular ? itemsLength - 1 : 0; + } + + if (nextIndex >= itemsLength) { + return circular ? 0 : itemsLength - 1; + } + + return nextIndex; +} + +function getItemIndexByCharacterKey(keysSoFar, highlightedIndex, items, itemToStringParam) { + var newHighlightedIndex = -1; + var itemStrings = items.map(function (item) { + return itemToStringParam(item).toLowerCase(); + }); + var startPosition = highlightedIndex + 1; + newHighlightedIndex = itemStrings.slice(startPosition).findIndex(function (itemString) { + return itemString.startsWith(keysSoFar); + }); + + if (newHighlightedIndex > -1) { + return newHighlightedIndex + startPosition; + } else { + return itemStrings.slice(0, startPosition).findIndex(function (itemString) { + return itemString.startsWith(keysSoFar); + }); + } +} + +function getState(state, props) { + return Object.keys(state).reduce(function (prevState, key) { + // eslint-disable-next-line no-param-reassign + prevState[key] = key in props ? props[key] : state[key]; + return prevState; + }, {}); +} + +function getItemIndex(index, item, items) { + if (index !== undefined) { + return index; + } + + if (items.length === 0) { + return -1; + } + + return items.indexOf(item); +} + +function downshift_esm_itemToString(item) { + return item ? String(item) : ''; +} + +function getPropTypesValidator(caller, propTypes) { + // istanbul ignore next + return function (options) { + if (options === void 0) { + options = {}; + } + + Object.entries(propTypes).forEach(function (_ref2) { + var key = _ref2[0]; + prop_types_default.a.checkPropTypes(propTypes, options, key, caller.name); + }); + }; +} + +function isAcceptedCharacterKey(key) { + return /^\S{1}$/.test(key); +} + +function capitalizeString(string) { + return "" + string.slice(0, 1).toUpperCase() + string.slice(1); +} + +function invokeOnChangeHandler(propKey, props, state, changes) { + var handler = "on" + capitalizeString(propKey) + "Change"; + + if (props[handler] && changes[propKey] !== undefined && changes[propKey] !== state[propKey]) { + props[handler](changes); + } +} + +function callOnChangeProps(props, state, changes) { + Object.keys(state).forEach(function (stateKey) { + invokeOnChangeHandler(stateKey, props, state, changes); + }); + + if (props.onStateChange && changes !== undefined) { + props.onStateChange(changes); + } +} + +function useEnhancedReducer(reducer, initialState, props) { + var enhancedReducer = Object(external_this_React_["useCallback"])(function (state, action) { + state = getState(state, action.props); + var stateReducer = action.props.stateReducer; + var changes = reducer(state, action); + var newState = stateReducer(state, Object(esm_extends["a" /* default */])({}, action, { + changes: changes + })); + callOnChangeProps(action.props, state, newState); + return newState; + }, [reducer]); + + var _useReducer = Object(external_this_React_["useReducer"])(enhancedReducer, initialState), + state = _useReducer[0], + dispatch = _useReducer[1]; + + return [getState(state, props), dispatch]; +} + +var lastId = 0; // istanbul ignore next + +var genId = function () { + return ++lastId; +}; +/** + * Autogenerate IDs to facilitate WAI-ARIA and server rendering. + * Taken from @reach/auto-id + * @see https://github.com/reach/reach-ui/blob/6e9dbcf716d5c9a3420e062e5bac1ac4671d01cb/packages/auto-id/src/index.js + */ +// istanbul ignore next + + +function useId() { + var _useState = Object(external_this_React_["useState"])(null), + id = _useState[0], + setId = _useState[1]; + + Object(external_this_React_["useEffect"])(function () { + return setId(genId()); + }, []); + return id; +} +/** + * Checks if nextElement receives focus after the blur event. + * + * @param {FocusEvent} event The blur event. + * @param {Element} nextElement The element to check that receive focus next. + * @returns {boolean} If the focus lands on nextElement. + */ + + +function focusLandsOnElement(event, nextElement) { + return event.relatedTarget === nextElement || // https://github.com/downshift-js/downshift/issues/832 - workaround for Firefox. + event.nativeEvent && (nextElement === event.nativeEvent.explicitOriginalTarget || nextElement.contains(event.nativeEvent.explicitOriginalTarget)); +} + +var defaultStateValues = { + highlightedIndex: -1, + isOpen: false, + selectedItem: null +}; + +function getA11yStatusMessage$1(_ref) { + var isOpen = _ref.isOpen, + items = _ref.items; + + if (!items) { + return ''; + } + + var resultCount = items.length; + + if (isOpen) { + if (resultCount === 0) { + return 'No results are available'; + } + + return resultCount + " result" + (resultCount === 1 ? ' is' : 's are') + " available, use up and down arrow keys to navigate. Press Enter key to select."; + } + + return ''; +} + +function downshift_esm_getA11ySelectionMessage(_ref2) { + var selectedItem = _ref2.selectedItem, + itemToString = _ref2.itemToString; + return itemToString(selectedItem) + " has been selected."; +} + +function getHighlightedIndexOnOpen(props, state, offset) { + var items = props.items, + initialHighlightedIndex = props.initialHighlightedIndex, + defaultHighlightedIndex = props.defaultHighlightedIndex; + var selectedItem = state.selectedItem, + highlightedIndex = state.highlightedIndex; // initialHighlightedIndex will give value to highlightedIndex on initial state only. + + if (initialHighlightedIndex !== undefined && highlightedIndex > -1) { + return initialHighlightedIndex; + } + + if (defaultHighlightedIndex !== undefined) { + return defaultHighlightedIndex; + } + + if (selectedItem) { + if (offset === 0) { + return items.indexOf(selectedItem); + } + + return getNextWrappingIndex$1(offset, items.indexOf(selectedItem), items.length, false); + } + + if (offset === 0) { + return -1; + } + + return offset < 0 ? items.length - 1 : 0; +} + +function getDefaultValue(props, propKey) { + var defaultPropKey = "default" + capitalizeString(propKey); + + if (defaultPropKey in props) { + return props[defaultPropKey]; + } + + return defaultStateValues[propKey]; +} + +function getInitialValue(props, propKey) { + if (propKey in props) { + return props[propKey]; + } + + var initialPropKey = "initial" + capitalizeString(propKey); + + if (initialPropKey in props) { + return props[initialPropKey]; + } + + return getDefaultValue(props, propKey); +} + +function getInitialState(props) { + var selectedItem = getInitialValue(props, 'selectedItem'); + var highlightedIndex = getInitialValue(props, 'highlightedIndex'); + var isOpen = getInitialValue(props, 'isOpen'); + return { + highlightedIndex: highlightedIndex < 0 && selectedItem ? props.items.indexOf(selectedItem) : highlightedIndex, + isOpen: isOpen, + selectedItem: selectedItem, + keysSoFar: '' + }; +} + +var downshift_esm_propTypes = { + items: prop_types_default.a.array.isRequired, + itemToString: prop_types_default.a.func, + getA11yStatusMessage: prop_types_default.a.func, + getA11ySelectionMessage: prop_types_default.a.func, + circularNavigation: prop_types_default.a.bool, + highlightedIndex: prop_types_default.a.number, + defaultHighlightedIndex: prop_types_default.a.number, + initialHighlightedIndex: prop_types_default.a.number, + isOpen: prop_types_default.a.bool, + defaultIsOpen: prop_types_default.a.bool, + initialIsOpen: prop_types_default.a.bool, + selectedItem: prop_types_default.a.any, + initialSelectedItem: prop_types_default.a.any, + defaultSelectedItem: prop_types_default.a.any, + id: prop_types_default.a.string, + labelId: prop_types_default.a.string, + menuId: prop_types_default.a.string, + getItemId: prop_types_default.a.func, + toggleButtonId: prop_types_default.a.string, + stateReducer: prop_types_default.a.func, + onSelectedItemChange: prop_types_default.a.func, + onHighlightedIndexChange: prop_types_default.a.func, + onStateChange: prop_types_default.a.func, + onIsOpenChange: prop_types_default.a.func, + environment: prop_types_default.a.shape({ + addEventListener: prop_types_default.a.func, + removeEventListener: prop_types_default.a.func, + document: prop_types_default.a.shape({ + getElementById: prop_types_default.a.func, + activeElement: prop_types_default.a.any, + body: prop_types_default.a.any + }) + }) +}; + +var MenuKeyDownArrowDown = false ? undefined : 0; +var MenuKeyDownArrowUp = false ? undefined : 1; +var MenuKeyDownEscape = false ? undefined : 2; +var MenuKeyDownHome = false ? undefined : 3; +var MenuKeyDownEnd = false ? undefined : 4; +var MenuKeyDownEnter = false ? undefined : 5; +var MenuKeyDownCharacter = false ? undefined : 6; +var MenuBlur = false ? undefined : 7; +var MenuMouseLeave = false ? undefined : 8; +var ItemMouseMove = false ? undefined : 9; +var ItemClick = false ? undefined : 10; +var ToggleButtonKeyDownCharacter = false ? undefined : 11; +var ToggleButtonKeyDownArrowDown = false ? undefined : 12; +var ToggleButtonKeyDownArrowUp = false ? undefined : 13; +var ToggleButtonClick = false ? undefined : 14; +var FunctionToggleMenu = false ? undefined : 15; +var FunctionOpenMenu = false ? undefined : 16; +var FunctionCloseMenu = false ? undefined : 17; +var FunctionSetHighlightedIndex = false ? undefined : 18; +var FunctionSelectItem = false ? undefined : 19; +var FunctionClearKeysSoFar = false ? undefined : 20; +var FunctionReset = false ? undefined : 21; + +var stateChangeTypes$1 = /*#__PURE__*/Object.freeze({ + __proto__: null, + MenuKeyDownArrowDown: MenuKeyDownArrowDown, + MenuKeyDownArrowUp: MenuKeyDownArrowUp, + MenuKeyDownEscape: MenuKeyDownEscape, + MenuKeyDownHome: MenuKeyDownHome, + MenuKeyDownEnd: MenuKeyDownEnd, + MenuKeyDownEnter: MenuKeyDownEnter, + MenuKeyDownCharacter: MenuKeyDownCharacter, + MenuBlur: MenuBlur, + MenuMouseLeave: MenuMouseLeave, + ItemMouseMove: ItemMouseMove, + ItemClick: ItemClick, + ToggleButtonKeyDownCharacter: ToggleButtonKeyDownCharacter, + ToggleButtonKeyDownArrowDown: ToggleButtonKeyDownArrowDown, + ToggleButtonKeyDownArrowUp: ToggleButtonKeyDownArrowUp, + ToggleButtonClick: ToggleButtonClick, + FunctionToggleMenu: FunctionToggleMenu, + FunctionOpenMenu: FunctionOpenMenu, + FunctionCloseMenu: FunctionCloseMenu, + FunctionSetHighlightedIndex: FunctionSetHighlightedIndex, + FunctionSelectItem: FunctionSelectItem, + FunctionClearKeysSoFar: FunctionClearKeysSoFar, + FunctionReset: FunctionReset +}); + +/* eslint-disable complexity */ + +function downshiftSelectReducer(state, action) { + var type = action.type, + props = action.props, + shiftKey = action.shiftKey; + var changes; + + switch (type) { + case ItemMouseMove: + changes = { + highlightedIndex: action.index + }; + break; + + case ItemClick: + changes = { + isOpen: getDefaultValue(props, 'isOpen'), + highlightedIndex: getDefaultValue(props, 'highlightedIndex'), + selectedItem: props.items[action.index] + }; + break; + + case MenuBlur: + changes = { + isOpen: false, + highlightedIndex: -1 + }; + break; + + case MenuKeyDownArrowDown: + changes = { + highlightedIndex: getNextWrappingIndex$1(shiftKey ? 5 : 1, state.highlightedIndex, props.items.length, props.circularNavigation) + }; + break; + + case MenuKeyDownArrowUp: + changes = { + highlightedIndex: getNextWrappingIndex$1(shiftKey ? -5 : -1, state.highlightedIndex, props.items.length, props.circularNavigation) + }; + break; + + case MenuKeyDownHome: + changes = { + highlightedIndex: 0 + }; + break; + + case MenuKeyDownEnd: + changes = { + highlightedIndex: props.items.length - 1 + }; + break; + + case MenuKeyDownEscape: + changes = { + isOpen: false, + highlightedIndex: -1 + }; + break; + + case MenuKeyDownEnter: + changes = Object(esm_extends["a" /* default */])({ + isOpen: getDefaultValue(props, 'isOpen'), + highlightedIndex: getDefaultValue(props, 'highlightedIndex') + }, state.highlightedIndex >= 0 && { + selectedItem: props.items[state.highlightedIndex] + }); + break; + + case MenuKeyDownCharacter: + { + var lowercasedKey = action.key; + var keysSoFar = "" + state.keysSoFar + lowercasedKey; + var highlightedIndex = getItemIndexByCharacterKey(keysSoFar, state.highlightedIndex, props.items, props.itemToString); + changes = Object(esm_extends["a" /* default */])({ + keysSoFar: keysSoFar + }, highlightedIndex >= 0 && { + highlightedIndex: highlightedIndex + }); + } + break; + + case MenuMouseLeave: + changes = { + highlightedIndex: -1 + }; + break; + + case ToggleButtonKeyDownCharacter: + { + var _lowercasedKey = action.key; + + var _keysSoFar = "" + state.keysSoFar + _lowercasedKey; + + var itemIndex = getItemIndexByCharacterKey(_keysSoFar, state.selectedItem ? props.items.indexOf(state.selectedItem) : -1, props.items, props.itemToString); + changes = Object(esm_extends["a" /* default */])({ + keysSoFar: _keysSoFar + }, itemIndex >= 0 && { + selectedItem: props.items[itemIndex] + }); + } + break; + + case ToggleButtonKeyDownArrowDown: + { + changes = { + isOpen: true, + highlightedIndex: getHighlightedIndexOnOpen(props, state, 1) + }; + break; + } + + case ToggleButtonKeyDownArrowUp: + changes = { + isOpen: true, + highlightedIndex: getHighlightedIndexOnOpen(props, state, -1) + }; + break; + + case ToggleButtonClick: + case FunctionToggleMenu: + changes = { + isOpen: !state.isOpen, + highlightedIndex: state.isOpen ? -1 : getHighlightedIndexOnOpen(props, state, 0) + }; + break; + + case FunctionOpenMenu: + changes = { + isOpen: true, + highlightedIndex: getHighlightedIndexOnOpen(props, state, 0) + }; + break; + + case FunctionCloseMenu: + changes = { + isOpen: false + }; + break; + + case FunctionSetHighlightedIndex: + changes = { + highlightedIndex: action.highlightedIndex + }; + break; + + case FunctionSelectItem: + changes = { + selectedItem: action.selectedItem + }; + break; + + case FunctionClearKeysSoFar: + changes = { + keysSoFar: '' + }; + break; + + case FunctionReset: + changes = { + highlightedIndex: getDefaultValue(props, 'highlightedIndex'), + isOpen: getDefaultValue(props, 'isOpen'), + selectedItem: getDefaultValue(props, 'selectedItem') + }; + break; + + default: + throw new Error('Reducer called without proper action type.'); + } + + return Object(esm_extends["a" /* default */])({}, state, {}, changes); +} +/* eslint-enable complexity */ + +var validatePropTypes = true ? +/* istanbul ignore next */ +null : undefined; +var downshift_esm_defaultProps = { + itemToString: downshift_esm_itemToString, + stateReducer: function stateReducer(s, a) { + return a.changes; + }, + getA11yStatusMessage: getA11yStatusMessage$1, + getA11ySelectionMessage: downshift_esm_getA11ySelectionMessage, + scrollIntoView: downshift_esm_scrollIntoView, + environment: typeof window === 'undefined' + /* istanbul ignore next (ssr) */ + ? {} : window +}; +useSelect.stateChangeTypes = stateChangeTypes$1; + +function useSelect(userProps) { + if (userProps === void 0) { + userProps = {}; + } + + /* istanbul ignore else */ + if (false) {} // Props defaults and destructuring. + + + var props = Object(esm_extends["a" /* default */])({}, downshift_esm_defaultProps, {}, userProps); + + var items = props.items, + itemToString = props.itemToString, + getA11yStatusMessage = props.getA11yStatusMessage, + getA11ySelectionMessage = props.getA11ySelectionMessage, + initialIsOpen = props.initialIsOpen, + defaultIsOpen = props.defaultIsOpen, + scrollIntoView = props.scrollIntoView, + environment = props.environment; // Initial state depending on controlled props. + + var initialState = getInitialState(props); // Reducer init. + + var _useEnhancedReducer = useEnhancedReducer(downshiftSelectReducer, initialState, props), + _useEnhancedReducer$ = _useEnhancedReducer[0], + isOpen = _useEnhancedReducer$.isOpen, + highlightedIndex = _useEnhancedReducer$.highlightedIndex, + selectedItem = _useEnhancedReducer$.selectedItem, + keysSoFar = _useEnhancedReducer$.keysSoFar, + dispatchWithoutProps = _useEnhancedReducer[1]; + + var dispatch = function (action) { + return dispatchWithoutProps(Object(esm_extends["a" /* default */])({ + props: props + }, action)); + }; // IDs generation. + + + var _getElementIds = getElementIds(useId, props), + labelId = _getElementIds.labelId, + getItemId = _getElementIds.getItemId, + menuId = _getElementIds.menuId, + toggleButtonId = _getElementIds.toggleButtonId; + /* Refs */ + + + var toggleButtonRef = Object(external_this_React_["useRef"])(null); + var menuRef = Object(external_this_React_["useRef"])(null); + var itemRefs = Object(external_this_React_["useRef"])(); + itemRefs.current = []; + var isInitialMount = Object(external_this_React_["useRef"])(true); + var shouldScroll = Object(external_this_React_["useRef"])(true); + var clearTimeout = Object(external_this_React_["useRef"])(null); + /* Effects */ + + /* Sets a11y status message on changes in isOpen. */ + + Object(external_this_React_["useEffect"])(function () { + if (isInitialMount.current) { + return; + } + + setStatus(getA11yStatusMessage({ + isOpen: isOpen, + items: items, + selectedItem: selectedItem, + itemToString: itemToString + }), environment.document); // eslint-disable-next-line react-hooks/exhaustive-deps + }, [isOpen]); + /* Sets a11y status message on changes in selectedItem. */ + + Object(external_this_React_["useEffect"])(function () { + if (isInitialMount.current) { + return; + } + + setStatus(getA11ySelectionMessage({ + isOpen: isOpen, + items: items, + selectedItem: selectedItem, + itemToString: itemToString + }), environment.document); // eslint-disable-next-line react-hooks/exhaustive-deps + }, [selectedItem]); + /* Sets cleanup for the keysSoFar after 500ms. */ + + Object(external_this_React_["useEffect"])(function () { + // init the clean function here as we need access to dispatch. + if (isInitialMount.current) { + clearTimeout.current = debounce(function () { + dispatch({ + type: FunctionClearKeysSoFar + }); + }, 500); + } + + if (!keysSoFar) { + return; + } + + clearTimeout.current(); // eslint-disable-next-line react-hooks/exhaustive-deps + }, [keysSoFar]); + /* Controls the focus on the menu or the toggle button. */ + + Object(external_this_React_["useEffect"])(function () { + // Don't focus menu on first render. + if (isInitialMount.current) { + // Unless it was initialised as open. + if (initialIsOpen || defaultIsOpen || isOpen) { + menuRef.current.focus(); + } + + return; + } // Focus menu on open. + // istanbul ignore next + + + if (isOpen) { + menuRef.current.focus(); // Focus toggleButton on close. + } else if (environment.document.activeElement === menuRef.current) { + toggleButtonRef.current.focus(); + } // eslint-disable-next-line react-hooks/exhaustive-deps + + }, [isOpen]); + /* Scroll on highlighted item if change comes from keyboard. */ + + Object(external_this_React_["useEffect"])(function () { + if (highlightedIndex < 0 || !isOpen || !itemRefs.current.length) { + return; + } + + if (shouldScroll.current === false) { + shouldScroll.current = true; + } else { + scrollIntoView(itemRefs.current[highlightedIndex], menuRef.current); + } // eslint-disable-next-line react-hooks/exhaustive-deps + + }, [highlightedIndex]); + /* Make initial ref false. */ + + Object(external_this_React_["useEffect"])(function () { + isInitialMount.current = false; + }, []); + /* Event handler functions */ + + var menuKeyDownHandlers = { + ArrowDown: function ArrowDown(event) { + event.preventDefault(); + dispatch({ + type: MenuKeyDownArrowDown, + shiftKey: event.shiftKey + }); + }, + ArrowUp: function ArrowUp(event) { + event.preventDefault(); + dispatch({ + type: MenuKeyDownArrowUp, + shiftKey: event.shiftKey + }); + }, + Home: function Home(event) { + event.preventDefault(); + dispatch({ + type: MenuKeyDownHome + }); + }, + End: function End(event) { + event.preventDefault(); + dispatch({ + type: MenuKeyDownEnd + }); + }, + Escape: function Escape() { + dispatch({ + type: MenuKeyDownEscape + }); + }, + Enter: function Enter(event) { + event.preventDefault(); + dispatch({ + type: MenuKeyDownEnter + }); + }, + Tab: function Tab(event) { + // The exception that calls MenuBlur. + // istanbul ignore next + if (event.shiftKey) { + dispatch({ + type: MenuBlur + }); + } + } + }; + var toggleButtonKeyDownHandlers = { + ArrowDown: function ArrowDown(event) { + event.preventDefault(); + dispatch({ + type: ToggleButtonKeyDownArrowDown + }); + }, + ArrowUp: function ArrowUp(event) { + event.preventDefault(); + dispatch({ + type: ToggleButtonKeyDownArrowUp }); } - }), !!clearable && Object(external_this_wp_element_["createElement"])(build_module_button, { - className: "components-color-palette__clear", - type: "button", - onClick: function onClick() { - return onChange(undefined); + }; // Event handlers. + + var menuHandleKeyDown = function (event) { + var key = normalizeArrowKey(event); + + if (key && menuKeyDownHandlers[key]) { + menuKeyDownHandlers[key](event); + } else if (isAcceptedCharacterKey(key)) { + dispatch({ + type: MenuKeyDownCharacter, + key: key + }); + } + }; // Focus going back to the toggleButton is something we control (Escape, Enter, Click). + // We are toggleing special actions for these cases in reducer, not MenuBlur. + // Since Shift-Tab also lands focus on toggleButton, we will handle it as exception and call MenuBlur. + + + var menuHandleBlur = function (event) { + if (!focusLandsOnElement(event, toggleButtonRef.current)) { + dispatch({ + type: MenuBlur + }); + } + }; + + var menuHandleMouseLeave = function () { + dispatch({ + type: MenuMouseLeave + }); + }; + + var toggleButtonHandleClick = function () { + dispatch({ + type: ToggleButtonClick + }); + }; + + var toggleButtonHandleKeyDown = function (event) { + var key = normalizeArrowKey(event); + + if (key && toggleButtonKeyDownHandlers[key]) { + toggleButtonKeyDownHandlers[key](event); + } else if (isAcceptedCharacterKey(key)) { + dispatch({ + type: ToggleButtonKeyDownCharacter, + key: key + }); + } + }; + + var itemHandleMouseMove = function (index) { + if (index === highlightedIndex) { + return; + } + + shouldScroll.current = false; + dispatch({ + type: ItemMouseMove, + index: index + }); + }; + + var itemHandleClick = function (index) { + dispatch({ + type: ItemClick, + index: index + }); + }; // returns + + + return { + // prop getters. + getToggleButtonProps: function getToggleButtonProps(_temp2) { + var _extends3; + + var _ref2 = _temp2 === void 0 ? {} : _temp2, + onClick = _ref2.onClick, + onKeyDown = _ref2.onKeyDown, + _ref2$refKey = _ref2.refKey, + refKey = _ref2$refKey === void 0 ? 'ref' : _ref2$refKey, + ref = _ref2.ref, + rest = Object(objectWithoutPropertiesLoose["a" /* default */])(_ref2, ["onClick", "onKeyDown", "refKey", "ref"]); + + var toggleProps = Object(esm_extends["a" /* default */])((_extends3 = {}, _extends3[refKey] = handleRefs(ref, function (toggleButtonNode) { + toggleButtonRef.current = toggleButtonNode; + }), _extends3.id = toggleButtonId, _extends3['aria-haspopup'] = 'listbox', _extends3['aria-expanded'] = isOpen, _extends3['aria-labelledby'] = labelId + " " + toggleButtonId, _extends3), rest); + + if (!rest.disabled) { + toggleProps.onClick = callAllEventHandlers(onClick, toggleButtonHandleClick); + toggleProps.onKeyDown = callAllEventHandlers(onKeyDown, toggleButtonHandleKeyDown); + } + + return toggleProps; }, - isSmall: true, - isDefault: true - }, Object(external_this_wp_i18n_["__"])('Clear')))); + getLabelProps: function getLabelProps(labelProps) { + return Object(esm_extends["a" /* default */])({ + id: labelId, + htmlFor: toggleButtonId + }, labelProps); + }, + getMenuProps: function getMenuProps(_temp) { + var _extends2; + + var _ref = _temp === void 0 ? {} : _temp, + onKeyDown = _ref.onKeyDown, + onBlur = _ref.onBlur, + onMouseLeave = _ref.onMouseLeave, + _ref$refKey = _ref.refKey, + refKey = _ref$refKey === void 0 ? 'ref' : _ref$refKey, + ref = _ref.ref, + rest = Object(objectWithoutPropertiesLoose["a" /* default */])(_ref, ["onKeyDown", "onBlur", "onMouseLeave", "refKey", "ref"]); + + return Object(esm_extends["a" /* default */])((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function (menuNode) { + menuRef.current = menuNode; + }), _extends2.id = menuId, _extends2.role = 'listbox', _extends2['aria-labelledby'] = labelId, _extends2.tabIndex = -1, _extends2), highlightedIndex > -1 && { + 'aria-activedescendant': getItemId(highlightedIndex) + }, { + onKeyDown: callAllEventHandlers(onKeyDown, menuHandleKeyDown), + onBlur: callAllEventHandlers(onBlur, menuHandleBlur), + onMouseLeave: callAllEventHandlers(onMouseLeave, menuHandleMouseLeave) + }, rest); + }, + getItemProps: function getItemProps(_temp3) { + var _extends4; + + var _ref3 = _temp3 === void 0 ? {} : _temp3, + item = _ref3.item, + index = _ref3.index, + _ref3$refKey = _ref3.refKey, + refKey = _ref3$refKey === void 0 ? 'ref' : _ref3$refKey, + ref = _ref3.ref, + onMouseMove = _ref3.onMouseMove, + onClick = _ref3.onClick, + rest = Object(objectWithoutPropertiesLoose["a" /* default */])(_ref3, ["item", "index", "refKey", "ref", "onMouseMove", "onClick"]); + + var itemIndex = getItemIndex(index, item, items); + + if (itemIndex < 0) { + throw new Error('Pass either item or item index in getItemProps!'); + } + + var itemProps = Object(esm_extends["a" /* default */])((_extends4 = {}, _extends4[refKey] = handleRefs(ref, function (itemNode) { + if (itemNode) { + itemRefs.current.push(itemNode); + } + }), _extends4.role = 'option', _extends4), itemIndex === highlightedIndex && { + 'aria-selected': true + }, { + id: getItemId(itemIndex) + }, rest); + + if (!rest.disabled) { + itemProps.onMouseMove = callAllEventHandlers(onMouseMove, function () { + return itemHandleMouseMove(itemIndex); + }); + itemProps.onClick = callAllEventHandlers(onClick, function () { + return itemHandleClick(itemIndex); + }); + } + + return itemProps; + }, + // actions. + toggleMenu: function toggleMenu() { + dispatch({ + type: FunctionToggleMenu + }); + }, + openMenu: function openMenu() { + dispatch({ + type: FunctionOpenMenu + }); + }, + closeMenu: function closeMenu() { + dispatch({ + type: FunctionCloseMenu + }); + }, + setHighlightedIndex: function setHighlightedIndex(newHighlightedIndex) { + dispatch({ + type: FunctionSetHighlightedIndex, + highlightedIndex: newHighlightedIndex + }); + }, + selectItem: function selectItem(newSelectedItem) { + dispatch({ + type: FunctionSelectItem, + selectedItem: newSelectedItem + }); + }, + reset: function reset() { + dispatch({ + type: FunctionReset + }); + }, + // state. + highlightedIndex: highlightedIndex, + isOpen: isOpen, + selectedItem: selectedItem + }; +} + +/* harmony default export */ var downshift_esm = (downshift_esm_Downshift); + + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-select-control/index.js + + +/** + * External dependencies + */ + + +/** + * Internal dependencies + */ + + + +var custom_select_control_itemToString = function itemToString(item) { + return item && item.name; +}; // This is needed so that in Windows, where +// the menu does not necessarily open on +// key up/down, you can still switch between +// options with the menu closed. + + +var custom_select_control_stateReducer = function stateReducer(_ref, _ref2) { + var selectedItem = _ref.selectedItem; + var type = _ref2.type, + changes = _ref2.changes, + items = _ref2.props.items; + + switch (type) { + case useSelect.stateChangeTypes.ToggleButtonKeyDownArrowDown: + // If we already have a selected item, try to select the next one, + // without circular navigation. Otherwise, select the first item. + return { + selectedItem: items[selectedItem ? Math.min(items.indexOf(selectedItem) + 1, items.length - 1) : 0] + }; + + case useSelect.stateChangeTypes.ToggleButtonKeyDownArrowUp: + // If we already have a selected item, try to select the previous one, + // without circular navigation. Otherwise, select the last item. + return { + selectedItem: items[selectedItem ? Math.max(items.indexOf(selectedItem) - 1, 0) : items.length - 1] + }; + + default: + return changes; + } +}; + +function CustomSelectControl(_ref3) { + var className = _ref3.className, + hideLabelFromVision = _ref3.hideLabelFromVision, + label = _ref3.label, + items = _ref3.options, + onSelectedItemChange = _ref3.onChange, + _selectedItem = _ref3.value; + + var _useSelect = useSelect({ + initialSelectedItem: items[0], + items: items, + itemToString: custom_select_control_itemToString, + onSelectedItemChange: onSelectedItemChange, + selectedItem: _selectedItem, + stateReducer: custom_select_control_stateReducer + }), + getLabelProps = _useSelect.getLabelProps, + getToggleButtonProps = _useSelect.getToggleButtonProps, + getMenuProps = _useSelect.getMenuProps, + getItemProps = _useSelect.getItemProps, + isOpen = _useSelect.isOpen, + highlightedIndex = _useSelect.highlightedIndex, + selectedItem = _useSelect.selectedItem; + + var menuProps = getMenuProps({ + className: 'components-custom-select-control__menu' + }); // We need this here, because the null active descendant is not + // fully ARIA compliant. + + if (menuProps['aria-activedescendant'] && menuProps['aria-activedescendant'].slice(0, 'downshift-null'.length) === 'downshift-null') { + delete menuProps['aria-activedescendant']; + } + + return Object(external_this_wp_element_["createElement"])("div", { + className: classnames_default()('components-custom-select-control', className) + }, Object(external_this_wp_element_["createElement"])("label", getLabelProps({ + className: classnames_default()('components-custom-select-control__label', { + 'screen-reader-text': hideLabelFromVision + }) + }), label), Object(external_this_wp_element_["createElement"])(build_module_button, getToggleButtonProps({ + // This is needed because some speech recognition software don't support `aria-labelledby`. + 'aria-label': label, + 'aria-labelledby': undefined, + className: 'components-custom-select-control__button' + }), custom_select_control_itemToString(selectedItem), Object(external_this_wp_element_["createElement"])(dashicon_Dashicon, { + icon: "arrow-down-alt2", + className: "components-custom-select-control__button-icon" + })), Object(external_this_wp_element_["createElement"])("ul", menuProps, isOpen && items.map(function (item, index) { + return (// eslint-disable-next-line react/jsx-key + Object(external_this_wp_element_["createElement"])("li", getItemProps({ + item: item, + index: index, + key: item.key, + className: classnames_default()('components-custom-select-control__item', { + 'is-highlighted': index === highlightedIndex + }), + style: item.style + }), item === selectedItem && Object(external_this_wp_element_["createElement"])(dashicon_Dashicon, { + icon: "saved", + className: "components-custom-select-control__item-icon" + }), item.name) + ); + }))); } // EXTERNAL MODULE: ./node_modules/react-dates/initialize.js var initialize = __webpack_require__(237); // EXTERNAL MODULE: external {"this":"moment"} -var external_this_moment_ = __webpack_require__(29); +var external_this_moment_ = __webpack_require__(30); var external_this_moment_default = /*#__PURE__*/__webpack_require__.n(external_this_moment_); // EXTERNAL MODULE: ./node_modules/react-dates/index.js @@ -36679,7 +40659,7 @@ function (_Component) { * object representing now. If a null value is passed, return a null value. * * @param {?string} currentDate Date representing the currently selected date or null to signify no selection. - * @return {?Moment} Moment object for selected date or null. + * @return {?moment.Moment} Moment object for selected date or null. */ }, { @@ -37207,6 +41187,7 @@ function (_Component) { var _this$props = this.props, currentDate = _this$props.currentDate, is12Hour = _this$props.is12Hour, + isInvalidDate = _this$props.isInvalidDate, onChange = _this$props.onChange; return Object(external_this_wp_element_["createElement"])("div", { className: "components-datetime" @@ -37216,7 +41197,8 @@ function (_Component) { is12Hour: is12Hour }), Object(external_this_wp_element_["createElement"])(date_time_date, { currentDate: currentDate, - onChange: onChange + onChange: onChange, + isInvalidDate: isInvalidDate })), this.state.calendarHelpIsVisible && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("div", { className: "components-datetime__calendar-help" }, Object(external_this_wp_element_["createElement"])("h4", null, Object(external_this_wp_i18n_["__"])('Click to Select')), Object(external_this_wp_element_["createElement"])("ul", null, Object(external_this_wp_element_["createElement"])("li", null, Object(external_this_wp_i18n_["__"])('Click the right or left arrows to select other months in the past or the future.')), Object(external_this_wp_element_["createElement"])("li", null, Object(external_this_wp_i18n_["__"])('Click the desired day to select it.'))), Object(external_this_wp_element_["createElement"])("h4", null, Object(external_this_wp_i18n_["__"])('Navigating with a keyboard')), Object(external_this_wp_element_["createElement"])("ul", null, Object(external_this_wp_element_["createElement"])("li", null, Object(external_this_wp_element_["createElement"])("abbr", { @@ -37253,6 +41235,205 @@ function (_Component) { return DateTimePicker; }(external_this_wp_element_["Component"]); +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/select-control/index.js + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + + +function SelectControl(_ref) { + var help = _ref.help, + instanceId = _ref.instanceId, + label = _ref.label, + _ref$multiple = _ref.multiple, + multiple = _ref$multiple === void 0 ? false : _ref$multiple, + onChange = _ref.onChange, + _ref$options = _ref.options, + options = _ref$options === void 0 ? [] : _ref$options, + className = _ref.className, + hideLabelFromVision = _ref.hideLabelFromVision, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["help", "instanceId", "label", "multiple", "onChange", "options", "className", "hideLabelFromVision"]); + + var id = "inspector-select-control-".concat(instanceId); + + var onChangeValue = function onChangeValue(event) { + if (multiple) { + var selectedOptions = Object(toConsumableArray["a" /* default */])(event.target.options).filter(function (_ref2) { + var selected = _ref2.selected; + return selected; + }); + + var newValues = selectedOptions.map(function (_ref3) { + var value = _ref3.value; + return value; + }); + onChange(newValues); + return; + } + + onChange(event.target.value); + }; // Disable reason: A select with an onchange throws a warning + + /* eslint-disable jsx-a11y/no-onchange */ + + + return !Object(external_this_lodash_["isEmpty"])(options) && Object(external_this_wp_element_["createElement"])(base_control, { + label: label, + hideLabelFromVision: hideLabelFromVision, + id: id, + help: help, + className: className + }, Object(external_this_wp_element_["createElement"])("select", Object(esm_extends["a" /* default */])({ + id: id, + className: "components-select-control__input", + onChange: onChangeValue, + "aria-describedby": !!help ? "".concat(id, "__help") : undefined, + multiple: multiple + }, props), options.map(function (option, index) { + return Object(external_this_wp_element_["createElement"])("option", { + key: "".concat(option.label, "-").concat(option.value, "-").concat(index), + value: option.value, + disabled: option.disabled + }, option.label); + }))); + /* eslint-enable jsx-a11y/no-onchange */ +} + +/* harmony default export */ var select_control = (Object(external_this_wp_compose_["withInstanceId"])(SelectControl)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/dimension-control/sizes.js +/** + * Sizes + * + * defines the sizes used in dimension controls + * all hardcoded `size` values are based on the value of + * the Sass variable `$block-padding` from + * `packages/block-editor/src/components/dimension-control/sizes.js`. + */ + +/** + * WordPress dependencies + */ + +/** + * Finds the correct size object from the provided sizes + * table by size slug (eg: `medium`) + * + * @param {Array} sizes containing objects for each size definition + * @param {string} slug a string representation of the size (eg: `medium`) + * @return {Object} the matching size definition + */ + +var findSizeBySlug = function findSizeBySlug(sizes, slug) { + return sizes.find(function (size) { + return slug === size.slug; + }); +}; +/* harmony default export */ var dimension_control_sizes = ([{ + name: Object(external_this_wp_i18n_["__"])('None'), + slug: 'none' +}, { + name: Object(external_this_wp_i18n_["__"])('Small'), + slug: 'small' +}, { + name: Object(external_this_wp_i18n_["__"])('Medium'), + slug: 'medium' +}, { + name: Object(external_this_wp_i18n_["__"])('Large'), + slug: 'large' +}, { + name: Object(external_this_wp_i18n_["__"])('Extra Large'), + slug: 'xlarge' +}]); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/dimension-control/index.js + + +/** + * External dependencies + */ + + +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + + + +/** + * Internal dependencies + */ + + +function DimensionControl(props) { + var label = props.label, + value = props.value, + _props$sizes = props.sizes, + sizes = _props$sizes === void 0 ? dimension_control_sizes : _props$sizes, + icon = props.icon, + onChange = props.onChange, + _props$className = props.className, + className = _props$className === void 0 ? '' : _props$className; + + var onChangeSpacingSize = function onChangeSpacingSize(val) { + var theSize = findSizeBySlug(sizes, val); + + if (!theSize || value === theSize.slug) { + onChange(undefined); + } else if (Object(external_this_lodash_["isFunction"])(onChange)) { + onChange(theSize.slug); + } + }; + + var formatSizesAsOptions = function formatSizesAsOptions(theSizes) { + var options = theSizes.map(function (_ref) { + var name = _ref.name, + slug = _ref.slug; + return { + label: name, + value: slug + }; + }); + return [{ + label: Object(external_this_wp_i18n_["__"])('Default'), + value: '' + }].concat(options); + }; + + var selectLabel = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, icon && Object(external_this_wp_element_["createElement"])(build_module_icon, { + icon: icon + }), label); + return Object(external_this_wp_element_["createElement"])(select_control, { + className: classnames_default()(className, 'block-editor-dimension-control'), + label: selectLabel, + hideLabelFromVision: false, + value: value, + onChange: onChangeSpacingSize, + options: formatSizesAsOptions(sizes) + }); +} +/* harmony default export */ var dimension_control = (DimensionControl); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/disabled/index.js @@ -37382,7 +41563,6 @@ disabled_Disabled.Consumer = disabled_Consumer; - /** * External dependencies */ @@ -37517,10 +41697,9 @@ function (_Component) { } // Hack: Remove iFrames as it's causing the embeds drag clone to freeze - Object(toConsumableArray["a" /* default */])(clone.querySelectorAll('iframe')).forEach(function (child) { + Array.from(clone.querySelectorAll('iframe')).forEach(function (child) { return child.parentNode.removeChild(child); }); - this.cloneWrapper.appendChild(clone); elementWrapper.appendChild(this.cloneWrapper); // Mark the current cursor coordinates. @@ -37566,6 +41745,10 @@ function (_Component) { /* harmony default export */ var draggable = (Object(external_this_wp_compose_["withSafeTimeout"])(draggable_Draggable)); +// EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} +var external_this_wp_isShallowEqual_ = __webpack_require__(45); +var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/drop-zone/provider.js @@ -37923,14 +42106,17 @@ function (_Component) { value: function render() { var _this$props = this.props, className = _this$props.className, - label = _this$props.label; + label = _this$props.label, + onFilesDrop = _this$props.onFilesDrop, + onHTMLDrop = _this$props.onHTMLDrop, + onDrop = _this$props.onDrop; var _this$state = this.state, isDraggingOverDocument = _this$state.isDraggingOverDocument, isDraggingOverElement = _this$state.isDraggingOverElement, position = _this$state.position, type = _this$state.type; var classes = classnames_default()('components-drop-zone', className, Object(defineProperty["a" /* default */])({ - 'is-active': isDraggingOverDocument || isDraggingOverElement, + 'is-active': (isDraggingOverDocument || isDraggingOverElement) && (type === 'file' && onFilesDrop || type === 'html' && onHTMLDrop || type === 'default' && onDrop), 'is-dragging-over-document': isDraggingOverDocument, 'is-dragging-over-element': isDraggingOverElement, 'is-close-to-top': position && position.y === 'top', @@ -38203,65 +42389,6 @@ function NavigableMenu(_ref, ref) { } /* harmony default export */ var menu = (Object(external_this_wp_element_["forwardRef"])(NavigableMenu)); -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigable-container/tabbable.js - - - - -/** - * WordPress dependencies - */ - - -/** - * Internal dependencies - */ - - -function TabbableContainer(_ref, ref) { - var eventToOffset = _ref.eventToOffset, - props = Object(objectWithoutProperties["a" /* default */])(_ref, ["eventToOffset"]); - - var innerEventToOffset = function innerEventToOffset(evt) { - var keyCode = evt.keyCode, - shiftKey = evt.shiftKey; - - if (external_this_wp_keycodes_["TAB"] === keyCode) { - return shiftKey ? -1 : 1; - } // Allow custom handling of keys besides Tab. - // - // By default, TabbableContainer will move focus forward on Tab and - // backward on Shift+Tab. The handler below will be used for all other - // events. The semantics for `eventToOffset`'s return - // values are the following: - // - // - +1: move focus forward - // - -1: move focus backward - // - 0: don't move focus, but acknowledge event and thus stop it - // - undefined: do nothing, let the event propagate - - - if (eventToOffset) { - return eventToOffset(evt); - } - }; - - return Object(external_this_wp_element_["createElement"])(navigable_container_container, Object(esm_extends["a" /* default */])({ - ref: ref, - stopNavigationEvents: true, - onlyBrowserTabstops: true, - eventToOffset: innerEventToOffset - }, props)); -} -/* harmony default export */ var tabbable = (Object(external_this_wp_element_["forwardRef"])(TabbableContainer)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigable-container/index.js -/** - * Internal Dependencies - */ - - - // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/dropdown-menu/index.js @@ -38370,8 +42497,20 @@ function DropdownMenu(_ref) { }, toggleProps); return Object(external_this_wp_element_["createElement"])(icon_button, Object(esm_extends["a" /* default */])({}, mergedToggleProps, { icon: icon, - onClick: onToggle, - onKeyDown: openOnArrowDown, + onClick: function onClick(event) { + onToggle(event); + + if (mergedToggleProps.onClick) { + mergedToggleProps.onClick(event); + } + }, + onKeyDown: function onKeyDown(event) { + openOnArrowDown(event); + + if (mergedToggleProps.onKeyDown) { + mergedToggleProps.onKeyDown(event); + } + }, "aria-haspopup": "true", "aria-expanded": isOpen, label: label @@ -38436,6 +42575,7 @@ function DropdownMenu(_ref) { */ + function ExternalLink(_ref, ref) { var href = _ref.href, children = _ref.children, @@ -38453,8 +42593,8 @@ function ExternalLink(_ref, ref) { target: "_blank", rel: rel, ref: ref - }), children, Object(external_this_wp_element_["createElement"])("span", { - className: "screen-reader-text" + }), children, Object(external_this_wp_element_["createElement"])(visually_hidden, { + as: "span" }, /* translators: accessibility text */ Object(external_this_wp_i18n_["__"])('(opens in a new tab)')), Object(external_this_wp_element_["createElement"])(dashicon_Dashicon, { @@ -38590,8 +42730,8 @@ function (_Component) { var left = Math.max(bounds.left, Math.min(cursorPosition.left, bounds.right)); var top = Math.max(bounds.top, Math.min(cursorPosition.top, bounds.bottom)); var percentages = { - x: (left - bounds.left) / (pickerDimensions.width - bounds.left * 2), - y: (top - bounds.top) / (pickerDimensions.height - bounds.top * 2) + x: ((left - bounds.left) / (pickerDimensions.width - bounds.left * 2)).toFixed(2), + y: ((top - bounds.top) / (pickerDimensions.height - bounds.top * 2)).toFixed(2) }; this.setState({ percentages: percentages @@ -38624,7 +42764,7 @@ function (_Component) { var onChange = this.props.onChange; var percentages = this.state.percentages; var cleanValue = Math.max(Math.min(parseInt(value), 100), 0); - percentages[axis] = cleanValue ? cleanValue / 100 : 0; + percentages[axis] = (cleanValue ? cleanValue / 100 : 0).toFixed(2); this.setState({ percentages: percentages }, function () { @@ -38805,8 +42945,8 @@ focal_point_picker_FocalPointPicker.defaultProps = { * Browser dependencies */ -var focusable_iframe_window = window, - FocusEvent = focusable_iframe_window.FocusEvent; +var _window = window, + FocusEvent = _window.FocusEvent; var focusable_iframe_FocusableIframe = /*#__PURE__*/ @@ -38983,87 +43123,6 @@ function RangeControl(_ref) { currentInput: null })])(RangeControl)); -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/select-control/index.js - - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - -/** - * Internal dependencies - */ - - - -function SelectControl(_ref) { - var help = _ref.help, - instanceId = _ref.instanceId, - label = _ref.label, - _ref$multiple = _ref.multiple, - multiple = _ref$multiple === void 0 ? false : _ref$multiple, - onChange = _ref.onChange, - _ref$options = _ref.options, - options = _ref$options === void 0 ? [] : _ref$options, - className = _ref.className, - hideLabelFromVision = _ref.hideLabelFromVision, - props = Object(objectWithoutProperties["a" /* default */])(_ref, ["help", "instanceId", "label", "multiple", "onChange", "options", "className", "hideLabelFromVision"]); - - var id = "inspector-select-control-".concat(instanceId); - - var onChangeValue = function onChangeValue(event) { - if (multiple) { - var selectedOptions = Object(toConsumableArray["a" /* default */])(event.target.options).filter(function (_ref2) { - var selected = _ref2.selected; - return selected; - }); - - var newValues = selectedOptions.map(function (_ref3) { - var value = _ref3.value; - return value; - }); - onChange(newValues); - return; - } - - onChange(event.target.value); - }; // Disable reason: A select with an onchange throws a warning - - /* eslint-disable jsx-a11y/no-onchange */ - - - return !Object(external_this_lodash_["isEmpty"])(options) && Object(external_this_wp_element_["createElement"])(base_control, { - label: label, - hideLabelFromVision: hideLabelFromVision, - id: id, - help: help, - className: className - }, Object(external_this_wp_element_["createElement"])("select", Object(esm_extends["a" /* default */])({ - id: id, - className: "components-select-control__input", - onChange: onChangeValue, - "aria-describedby": !!help ? "".concat(id, "__help") : undefined, - multiple: multiple - }, props), options.map(function (option, index) { - return Object(external_this_wp_element_["createElement"])("option", { - key: "".concat(option.label, "-").concat(option.value, "-").concat(index), - value: option.value, - disabled: option.disabled - }, option.label); - }))); - /* eslint-enable jsx-a11y/no-onchange */ -} - -/* harmony default export */ var select_control = (Object(external_this_wp_compose_["withInstanceId"])(SelectControl)); - // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/font-size-picker/index.js @@ -39074,6 +43133,7 @@ function SelectControl(_ref) { */ + /** * Internal dependencies */ @@ -39093,16 +43153,23 @@ function getSelectValueFromFontSize(fontSizes, value) { return 'normal'; } -function getSelectOptions(optionsArray) { - return [].concat(Object(toConsumableArray["a" /* default */])(optionsArray.map(function (option) { +function getSelectOptions(optionsArray, disableCustomFontSizes) { + if (!disableCustomFontSizes) { + optionsArray = [].concat(Object(toConsumableArray["a" /* default */])(optionsArray), [{ + slug: 'custom', + name: Object(external_this_wp_i18n_["__"])('Custom') + }]); + } + + return optionsArray.map(function (option) { return { - value: option.slug, - label: option.name + key: option.slug, + name: option.name, + style: { + fontSize: option.size + } }; - })), [{ - value: 'custom', - label: Object(external_this_wp_i18n_["__"])('Custom') - }]); + }); } function FontSizePicker(_ref) { @@ -39114,7 +43181,8 @@ function FontSizePicker(_ref) { onChange = _ref.onChange, value = _ref.value, _ref$withSlider = _ref.withSlider, - withSlider = _ref$withSlider === void 0 ? false : _ref$withSlider; + withSlider = _ref$withSlider === void 0 ? false : _ref$withSlider, + instanceId = _ref.instanceId; var _useState = Object(external_this_wp_element_["useState"])(getSelectValueFromFontSize(fontSizes, value)), _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), @@ -39137,35 +43205,46 @@ function FontSizePicker(_ref) { onChange(Number(newValue)); }; - var onSelectChangeValue = function onSelectChangeValue(eventValue) { - setCurrentSelectValue(eventValue); - var selectedFont = fontSizes.find(function (font) { - return font.slug === eventValue; - }); - - if (selectedFont) { - onChange(selectedFont.size); - } + var onSelectChangeValue = function onSelectChangeValue(_ref2) { + var selectedItem = _ref2.selectedItem; + setCurrentSelectValue(selectedItem.key); + onChange(selectedItem.style && selectedItem.style.fontSize); }; - return Object(external_this_wp_element_["createElement"])("fieldset", null, Object(external_this_wp_element_["createElement"])("legend", null, Object(external_this_wp_i18n_["__"])('Font Size')), Object(external_this_wp_element_["createElement"])("div", { + var onSliderChangeValue = function onSliderChangeValue(sliderValue) { + onChange(sliderValue); + setCurrentSelectValue(getSelectValueFromFontSize(fontSizes, sliderValue)); + }; + + var options = getSelectOptions(fontSizes, disableCustomFontSizes); + var rangeControlNumberId = "components-range-control__number#".concat(instanceId); + return Object(external_this_wp_element_["createElement"])("fieldset", { + className: "components-font-size-picker" + }, Object(external_this_wp_element_["createElement"])("legend", { + className: "screen-reader-text" + }, Object(external_this_wp_i18n_["__"])('Font Size')), Object(external_this_wp_element_["createElement"])("div", { className: "components-font-size-picker__controls" - }, fontSizes.length > 0 && Object(external_this_wp_element_["createElement"])(select_control, { + }, fontSizes.length > 0 && Object(external_this_wp_element_["createElement"])(CustomSelectControl, { className: 'components-font-size-picker__select', - label: 'Choose preset', - hideLabelFromVision: true, - value: currentSelectValue, - onChange: onSelectChangeValue, - options: getSelectOptions(fontSizes) - }), !withSlider && !disableCustomFontSizes && Object(external_this_wp_element_["createElement"])("input", { + label: Object(external_this_wp_i18n_["__"])('Preset Size'), + options: options, + value: options.find(function (option) { + return option.key === currentSelectValue; + }) || options[0], + onChange: onSelectChangeValue + }), !withSlider && !disableCustomFontSizes && Object(external_this_wp_element_["createElement"])("div", { + className: "components-range-control__number-container" + }, Object(external_this_wp_element_["createElement"])("label", { + htmlFor: rangeControlNumberId + }, Object(external_this_wp_i18n_["__"])('Custom')), Object(external_this_wp_element_["createElement"])("input", { + id: rangeControlNumberId, className: "components-range-control__number", type: "number", onChange: onChangeValue, "aria-label": Object(external_this_wp_i18n_["__"])('Custom'), value: value || '' - }), Object(external_this_wp_element_["createElement"])(build_module_button, { + })), Object(external_this_wp_element_["createElement"])(build_module_button, { className: "components-color-palette__clear", - type: "button", disabled: value === undefined, onClick: function onClick() { onChange(undefined); @@ -39178,7 +43257,7 @@ function FontSizePicker(_ref) { label: Object(external_this_wp_i18n_["__"])('Custom Size'), value: value || '', initialPosition: fallbackFontSize, - onChange: onChange, + onChange: onSliderChangeValue, min: 12, max: 100, beforeIcon: "editor-textcolor", @@ -39186,7 +43265,7 @@ function FontSizePicker(_ref) { })); } -/* harmony default export */ var font_size_picker = (FontSizePicker); +/* harmony default export */ var font_size_picker = (Object(external_this_wp_compose_["withInstanceId"])(FontSizePicker)); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/form-file-upload/index.js @@ -39361,6 +43440,7 @@ var esm_typeof = __webpack_require__(31); + function Token(_ref) { var value = _ref.value, status = _ref.status, @@ -39404,8 +43484,8 @@ function Token(_ref) { }, Object(external_this_wp_element_["createElement"])("span", { className: "components-form-token-field__token-text", id: "components-form-token-field__token-text-".concat(instanceId) - }, Object(external_this_wp_element_["createElement"])("span", { - className: "screen-reader-text" + }, Object(external_this_wp_element_["createElement"])(visually_hidden, { + as: "span" }, termPositionAndCount), Object(external_this_wp_element_["createElement"])("span", { "aria-hidden": "true" }, transformedValue)), Object(external_this_wp_element_["createElement"])(icon_button, { @@ -39700,7 +43780,7 @@ suggestions_list_SuggestionsList.defaultProps = { -var initialState = { +var form_token_field_initialState = { incompleteTokenValue: '', inputOffsetFromEnd: 0, isActive: false, @@ -39720,7 +43800,7 @@ function (_Component) { Object(classCallCheck["a" /* default */])(this, FormTokenField); _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(FormTokenField).apply(this, arguments)); - _this.state = initialState; + _this.state = form_token_field_initialState; _this.onKeyDown = _this.onKeyDown.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onKeyPress = _this.onKeyPress.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onFocus = _this.onFocus.bind(Object(assertThisInitialized["a" /* default */])(_this)); @@ -39798,7 +43878,7 @@ function (_Component) { isActive: false }); } else { - this.setState(initialState); + this.setState(form_token_field_initialState); } } }, { @@ -40362,7 +44442,7 @@ form_token_field_FormTokenField.defaultProps = { }; /* harmony default export */ var form_token_field = (with_spoken_messages(Object(external_this_wp_compose_["withInstanceId"])(form_token_field_FormTokenField))); -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/menu-group/index.js +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/gradient-picker/index.js /** @@ -40375,132 +44455,746 @@ form_token_field_FormTokenField.defaultProps = { -function MenuGroup(_ref) { - var children = _ref.children, - _ref$className = _ref.className, - className = _ref$className === void 0 ? '' : _ref$className, - instanceId = _ref.instanceId, - label = _ref.label; - - if (!external_this_wp_element_["Children"].count(children)) { - return null; - } - - var labelId = "components-menu-group-label-".concat(instanceId); - var classNames = classnames_default()(className, 'components-menu-group'); - return Object(external_this_wp_element_["createElement"])("div", { - className: classNames - }, label && Object(external_this_wp_element_["createElement"])("div", { - className: "components-menu-group__label", - id: labelId, - "aria-hidden": "true" - }, label), Object(external_this_wp_element_["createElement"])("div", { - role: "group", - "aria-labelledby": label ? labelId : null - }, children)); -} -/* harmony default export */ var menu_group = (Object(external_this_wp_compose_["withInstanceId"])(MenuGroup)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/menu-item/index.js - - - - -/** - * External dependencies - */ - - -/** - * WordPress dependencies - */ - - /** * Internal dependencies */ - -/** - * Renders a generic menu item for use inside the more menu. - * - * @return {WPElement} More menu item. - */ - -function MenuItem(_ref) { - var children = _ref.children, - info = _ref.info, - className = _ref.className, - icon = _ref.icon, - shortcut = _ref.shortcut, - isSelected = _ref.isSelected, - _ref$role = _ref.role, - role = _ref$role === void 0 ? 'menuitem' : _ref$role, - props = Object(objectWithoutProperties["a" /* default */])(_ref, ["children", "info", "className", "icon", "shortcut", "isSelected", "role"]); - - className = classnames_default()('components-menu-item__button', className, { - 'has-icon': icon - }); - - if (info) { - children = Object(external_this_wp_element_["createElement"])("span", { - className: "components-menu-item__info-wrapper" - }, children, Object(external_this_wp_element_["createElement"])("span", { - className: "components-menu-item__info" - }, info)); - } - - if (icon && !Object(external_this_lodash_["isString"])(icon)) { - icon = Object(external_this_wp_element_["cloneElement"])(icon, { - className: 'components-menu-items__item-icon', - height: 20, - width: 20 +function GradientPicker(_ref) { + var className = _ref.className, + gradients = _ref.gradients, + onChange = _ref.onChange, + value = _ref.value, + _ref$clearable = _ref.clearable, + clearable = _ref$clearable === void 0 ? true : _ref$clearable; + var clearGradient = Object(external_this_wp_element_["useCallback"])(function () { + return onChange(undefined); + }, [onChange]); + var gradientOptions = Object(external_this_wp_element_["useMemo"])(function () { + return Object(external_this_lodash_["map"])(gradients, function (_ref2) { + var gradient = _ref2.gradient, + name = _ref2.name; + return Object(external_this_wp_element_["createElement"])(CircularOptionPicker.Option, { + key: gradient, + value: gradient, + isSelected: value === gradient, + tooltipText: name || // translators: %s: gradient code e.g: "linear-gradient(90deg, rgba(98,16,153,1) 0%, rgba(172,110,22,1) 100%);". + Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Gradient code: %s'), gradient), + style: { + color: 'rgba( 0,0,0,0 )', + background: gradient + }, + onClick: value === gradient ? clearGradient : function () { + return onChange(gradient); + }, + "aria-label": name ? // translators: %s: The name of the gradient e.g: "Angular red to blue". + Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Gradient: %s'), name) : // translators: %s: gradient code e.g: "linear-gradient(90deg, rgba(98,16,153,1) 0%, rgba(172,110,22,1) 100%);". + Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Gradient code: %s'), gradient) + }); }); + }, [gradients, value, onChange, clearGradient]); + return Object(external_this_wp_element_["createElement"])(CircularOptionPicker, { + className: className, + options: gradientOptions, + actions: clearable && Object(external_this_wp_element_["createElement"])(CircularOptionPicker.ButtonAction, { + onClick: clearGradient + }, Object(external_this_wp_i18n_["__"])('Clear')) + }); +} + +// EXTERNAL MODULE: ./node_modules/gradient-parser/build/node.js +var build_node = __webpack_require__(146); +var node_default = /*#__PURE__*/__webpack_require__.n(build_node); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-picker/constants.js +var INSERT_POINT_WIDTH = 23; +var GRADIENT_MARKERS_WIDTH = 18; +var MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_MARKER = (INSERT_POINT_WIDTH + GRADIENT_MARKERS_WIDTH) / 2; +var MINIMUM_ABSOLUTE_LEFT_POSITION = 5; +var MINIMUM_DISTANCE_BETWEEN_POINTS = 9; +var MINIMUM_SIGNIFICANT_MOVE = 5; +var DEFAULT_GRADIENT = 'linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%)'; +var COLOR_POPOVER_PROPS = { + className: 'components-custom-gradient-picker__color-picker-popover', + position: 'top' +}; + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-picker/serializer.js + + +/** + * External dependencies + */ + +function serializeGradientColor(_ref) { + var type = _ref.type, + value = _ref.value; + return "".concat(type, "(").concat(value.join(','), ")"); +} +function serializeGradientPosition(_ref2) { + var type = _ref2.type, + value = _ref2.value; + return "".concat(value).concat(type); +} +function serializeGradientColorStop(_ref3) { + var type = _ref3.type, + value = _ref3.value, + length = _ref3.length; + return "".concat(serializeGradientColor({ + type: type, + value: value + }), " ").concat(serializeGradientPosition(length)); +} +function serializeGradientOrientation(orientation) { + if (!orientation || orientation.type !== 'angular') { + return; } - return Object(external_this_wp_element_["createElement"])(icon_button, Object(esm_extends["a" /* default */])({ - icon: icon // Make sure aria-checked matches spec https://www.w3.org/TR/wai-aria-1.1/#aria-checked - , - "aria-checked": role === 'menuitemcheckbox' || role === 'menuitemradio' ? isSelected : undefined, - role: role, - className: className - }, props), children, Object(external_this_wp_element_["createElement"])(build_module_shortcut, { - className: "components-menu-item__shortcut", - shortcut: shortcut - })); + return "".concat(orientation.value, "deg"); +} +function serializeGradient(_ref4) { + var type = _ref4.type, + orientation = _ref4.orientation, + colorStops = _ref4.colorStops; + var serializedOrientation = serializeGradientOrientation(orientation); + var serializedColorStops = colorStops.sort(function (colorStop1, colorStop2) { + return Object(external_this_lodash_["get"])(colorStop1, ['length', 'value'], 0) - Object(external_this_lodash_["get"])(colorStop2, ['length', 'value'], 0); + }).map(serializeGradientColorStop); + return "".concat(type, "(").concat(Object(external_this_lodash_["compact"])([serializedOrientation].concat(Object(toConsumableArray["a" /* default */])(serializedColorStops))).join(','), ")"); } -/* harmony default export */ var menu_item = (MenuItem); -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/menu-items-choice/index.js +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-picker/utils.js + + + +/** + * External dependencies + */ + +/** + * Internal dependencies + */ + + + + +function tinyColorRgbToGradientColorStop(_ref) { + var r = _ref.r, + g = _ref.g, + b = _ref.b, + a = _ref.a; + + if (a === 1) { + return { + type: 'rgb', + value: [r, g, b] + }; + } + + return { + type: 'rgba', + value: [r, g, b, a] + }; +} + +function getGradientWithColorStopAdded(gradientAST, relativePosition, rgbaColor) { + var colorStop = tinyColorRgbToGradientColorStop(rgbaColor); + colorStop.length = { + type: '%', + value: relativePosition + }; + return Object(objectSpread["a" /* default */])({}, gradientAST, { + colorStops: [].concat(Object(toConsumableArray["a" /* default */])(gradientAST.colorStops), [colorStop]) + }); +} +function getGradientWithPositionAtIndexChanged(gradientAST, index, relativePosition) { + return Object(objectSpread["a" /* default */])({}, gradientAST, { + colorStops: gradientAST.colorStops.map(function (colorStop, colorStopIndex) { + if (colorStopIndex !== index) { + return colorStop; + } + + return Object(objectSpread["a" /* default */])({}, colorStop, { + length: Object(objectSpread["a" /* default */])({}, colorStop.length, { + value: relativePosition + }) + }); + }) + }); +} +function isControlPointOverlapping(gradientAST, position, initialIndex) { + var initialPosition = parseInt(gradientAST.colorStops[initialIndex].length.value); + var minPosition = Math.min(initialPosition, position); + var maxPosition = Math.max(initialPosition, position); + return Object(external_this_lodash_["some"])(gradientAST.colorStops, function (_ref2, index) { + var length = _ref2.length; + var itemPosition = parseInt(length.value); + return index !== initialIndex && (Math.abs(itemPosition - position) < MINIMUM_DISTANCE_BETWEEN_POINTS || minPosition < itemPosition && itemPosition < maxPosition); + }); +} + +function getGradientWithPositionAtIndexSummed(gradientAST, index, valueToSum) { + var currentPosition = gradientAST.colorStops[index].length.value; + var newPosition = Math.max(0, Math.min(100, parseInt(currentPosition) + valueToSum)); + + if (isControlPointOverlapping(gradientAST, newPosition, index)) { + return gradientAST; + } + + return getGradientWithPositionAtIndexChanged(gradientAST, index, newPosition); +} + +function getGradientWithPositionAtIndexIncreased(gradientAST, index) { + return getGradientWithPositionAtIndexSummed(gradientAST, index, MINIMUM_DISTANCE_BETWEEN_POINTS); +} +function getGradientWithPositionAtIndexDecreased(gradientAST, index) { + return getGradientWithPositionAtIndexSummed(gradientAST, index, -MINIMUM_DISTANCE_BETWEEN_POINTS); +} +function getGradientWithColorAtIndexChanged(gradientAST, index, rgbaColor) { + return Object(objectSpread["a" /* default */])({}, gradientAST, { + colorStops: gradientAST.colorStops.map(function (colorStop, colorStopIndex) { + if (colorStopIndex !== index) { + return colorStop; + } + + return Object(objectSpread["a" /* default */])({}, colorStop, tinyColorRgbToGradientColorStop(rgbaColor)); + }) + }); +} +function getGradientWithColorAtPositionChanged(gradientAST, relativePositionValue, rgbaColor) { + var index = Object(external_this_lodash_["findIndex"])(gradientAST.colorStops, function (colorStop) { + return colorStop && colorStop.length && colorStop.length.type === '%' && colorStop.length.value === relativePositionValue.toString(); + }); + return getGradientWithColorAtIndexChanged(gradientAST, index, rgbaColor); +} +function getGradientWithControlPointRemoved(gradientAST, index) { + return Object(objectSpread["a" /* default */])({}, gradientAST, { + colorStops: gradientAST.colorStops.filter(function (elem, elemIndex) { + return elemIndex !== index; + }) + }); +} +function getHorizontalRelativeGradientPosition(mouseXCoordinate, containerElement, positionedElementWidth) { + if (!containerElement) { + return; + } + + var _containerElement$get = containerElement.getBoundingClientRect(), + x = _containerElement$get.x, + width = _containerElement$get.width; + + var absolutePositionValue = mouseXCoordinate - x - MINIMUM_ABSOLUTE_LEFT_POSITION - positionedElementWidth / 2; + var availableWidth = width - MINIMUM_ABSOLUTE_LEFT_POSITION - INSERT_POINT_WIDTH; + return Math.round(Math.min(Math.max(absolutePositionValue * 100 / availableWidth, 0), 100)); +} +/** + * Returns the marker points from a gradient AST. + * + * @param {Object} gradientAST An object representing the gradient AST. + * + * @return {Array.<{color: string, position: string, positionValue: number}>} + * An array of markerPoint objects. + * color: A string with the color code ready to be used in css style e.g: "rgba( 1, 2 , 3, 0.5)". + * position: A string with the position ready to be used in css style e.g: "70%". + * positionValue: A number with the relative position value e.g: 70. + */ + +function getMarkerPoints(gradientAST) { + if (!gradientAST) { + return []; + } + + return Object(external_this_lodash_["map"])(gradientAST.colorStops, function (colorStop) { + if (!colorStop || !colorStop.length || colorStop.length.type !== '%') { + return null; + } + + return { + color: serializeGradientColor(colorStop), + position: serializeGradientPosition(colorStop.length), + positionValue: parseInt(colorStop.length.value) + }; + }); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-picker/control-points.js + + + + + + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + /** * Internal dependencies */ -function MenuItemsChoice(_ref) { - var _ref$choices = _ref.choices, - choices = _ref$choices === void 0 ? [] : _ref$choices, - onSelect = _ref.onSelect, - value = _ref.value; - return choices.map(function (item) { - var isSelected = value === item.value; - return Object(external_this_wp_element_["createElement"])(menu_item, { - key: item.value, - role: "menuitemradio", - icon: isSelected && 'yes', - isSelected: isSelected, - shortcut: item.shortcut, - onClick: function onClick() { - if (!isSelected) { - onSelect(item.value); - } + + + + + + + +var control_points_ControlPointKeyboardMove = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(ControlPointKeyboardMove, _Component); + + function ControlPointKeyboardMove() { + var _this; + + Object(classCallCheck["a" /* default */])(this, ControlPointKeyboardMove); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ControlPointKeyboardMove).apply(this, arguments)); + _this.increase = _this.increase.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.decrease = _this.decrease.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.shortcuts = { + right: _this.increase, + left: _this.decrease + }; + return _this; + } + + Object(createClass["a" /* default */])(ControlPointKeyboardMove, [{ + key: "increase", + value: function increase(event) { + // Stop propagation of the key press event to avoid focus moving + // to another editor area. + event.stopPropagation(); + var _this$props = this.props, + gradientIndex = _this$props.gradientIndex, + onChange = _this$props.onChange, + gradientAST = _this$props.gradientAST; + onChange(getGradientWithPositionAtIndexIncreased(gradientAST, gradientIndex)); + } + }, { + key: "decrease", + value: function decrease(event) { + // Stop propagation of the key press event to avoid focus moving + // to another editor area. + event.stopPropagation(); + var _this$props2 = this.props, + gradientIndex = _this$props2.gradientIndex, + onChange = _this$props2.onChange, + gradientAST = _this$props2.gradientAST; + onChange(getGradientWithPositionAtIndexDecreased(gradientAST, gradientIndex)); + } + }, { + key: "render", + value: function render() { + var children = this.props.children; + return Object(external_this_wp_element_["createElement"])(keyboard_shortcuts, { + shortcuts: this.shortcuts + }, children); + } + }]); + + return ControlPointKeyboardMove; +}(external_this_wp_element_["Component"]); + +var ControlPointButton = Object(external_this_wp_compose_["withInstanceId"])(function (_ref) { + var instanceId = _ref.instanceId, + isOpen = _ref.isOpen, + position = _ref.position, + color = _ref.color, + onChange = _ref.onChange, + gradientIndex = _ref.gradientIndex, + gradientAST = _ref.gradientAST, + additionalProps = Object(objectWithoutProperties["a" /* default */])(_ref, ["instanceId", "isOpen", "position", "color", "onChange", "gradientIndex", "gradientAST"]); + + var descriptionId = "components-custom-gradient-picker__control-point-button-description-".concat(instanceId); + return Object(external_this_wp_element_["createElement"])(control_points_ControlPointKeyboardMove, { + onChange: onChange, + gradientIndex: gradientIndex, + gradientAST: gradientAST + }, Object(external_this_wp_element_["createElement"])(build_module_button, Object(esm_extends["a" /* default */])({ + "aria-label": Object(external_this_wp_i18n_["sprintf"])( // translators: %1$s: gradient position e.g: 70%, %2$s: gradient color code e.g: rgb(52,121,151). + Object(external_this_wp_i18n_["__"])('Gradient control point at position %1$s with color code %2$s.'), position, color), + "aria-describedby": descriptionId, + "aria-expanded": isOpen, + className: classnames_default()('components-custom-gradient-picker__control-point-button', { + 'is-active': isOpen + }), + style: { + left: position + } + }, additionalProps)), Object(external_this_wp_element_["createElement"])("div", { + className: "screen-reader-text", + id: descriptionId + }, Object(external_this_wp_i18n_["__"])('Use your left or right arrow keys or drag and drop with the mouse to change the gradient position. Press the button to change the color or remove the control point.'))); +}); +function ControlPoints(_ref2) { + var gradientPickerDomRef = _ref2.gradientPickerDomRef, + ignoreMarkerPosition = _ref2.ignoreMarkerPosition, + markerPoints = _ref2.markerPoints, + onChange = _ref2.onChange, + gradientAST = _ref2.gradientAST, + onStartControlPointChange = _ref2.onStartControlPointChange, + onStopControlPointChange = _ref2.onStopControlPointChange; + var controlPointMoveState = Object(external_this_wp_element_["useRef"])(); + + var onMouseMove = function onMouseMove(event) { + var relativePosition = getHorizontalRelativeGradientPosition(event.clientX, gradientPickerDomRef.current, GRADIENT_MARKERS_WIDTH); + var _controlPointMoveStat = controlPointMoveState.current, + referenceGradientAST = _controlPointMoveStat.gradientAST, + position = _controlPointMoveStat.position, + significantMoveHappened = _controlPointMoveStat.significantMoveHappened; + + if (!significantMoveHappened) { + var initialPosition = referenceGradientAST.colorStops[position].length.value; + + if (Math.abs(initialPosition - relativePosition) >= MINIMUM_SIGNIFICANT_MOVE) { + controlPointMoveState.current.significantMoveHappened = true; } - }, item.label); + } + + if (!isControlPointOverlapping(referenceGradientAST, relativePosition, position)) { + onChange(getGradientWithPositionAtIndexChanged(referenceGradientAST, position, relativePosition)); + } + }; + + var cleanEventListeners = function cleanEventListeners() { + if (window && window.removeEventListener && controlPointMoveState.current && controlPointMoveState.current.listenersActivated) { + window.removeEventListener('mousemove', onMouseMove); + window.removeEventListener('mouseup', cleanEventListeners); + onStopControlPointChange(); + controlPointMoveState.current.listenersActivated = false; + } + }; + + Object(external_this_wp_element_["useEffect"])(function () { + return function () { + cleanEventListeners(); + }; + }, []); + return markerPoints.map(function (point, index) { + return point && ignoreMarkerPosition !== point.positionValue && Object(external_this_wp_element_["createElement"])(dropdown, { + key: index, + onClose: onStopControlPointChange, + renderToggle: function renderToggle(_ref3) { + var isOpen = _ref3.isOpen, + onToggle = _ref3.onToggle; + return Object(external_this_wp_element_["createElement"])(ControlPointButton, { + key: index, + onClick: function onClick() { + if (controlPointMoveState.current && controlPointMoveState.current.significantMoveHappened) { + return; + } + + onStartControlPointChange(); + onToggle(); + }, + onMouseDown: function onMouseDown() { + if (window && window.addEventListener) { + controlPointMoveState.current = { + gradientAST: gradientAST, + position: index, + significantMoveHappened: false, + listenersActivated: true + }; + onStartControlPointChange(); + window.addEventListener('mousemove', onMouseMove); + window.addEventListener('mouseup', cleanEventListeners); + } + }, + isOpen: isOpen, + position: point.position, + color: point.color, + onChange: onChange, + gradientAST: gradientAST, + gradientIndex: index + }); + }, + renderContent: function renderContent(_ref4) { + var onClose = _ref4.onClose; + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(color_picker_ColorPicker, { + color: point.color, + onChangeComplete: function onChangeComplete(_ref5) { + var rgb = _ref5.rgb; + onChange(getGradientWithColorAtIndexChanged(gradientAST, index, rgb)); + } + }), Object(external_this_wp_element_["createElement"])(build_module_button, { + className: "components-custom-gradient-picker__remove-control-point", + onClick: function onClick() { + onChange(getGradientWithControlPointRemoved(gradientAST, index)); + onClose(); + }, + isLink: true + }, Object(external_this_wp_i18n_["__"])('Remove Control Point'))); + }, + popoverProps: COLOR_POPOVER_PROPS + }); }); } +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-picker/index.js + + + +/** + * External dependencies + */ + + + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + + + + + + + + +function InsertPoint(_ref) { + var onChange = _ref.onChange, + gradientAST = _ref.gradientAST, + onOpenInserter = _ref.onOpenInserter, + onCloseInserter = _ref.onCloseInserter, + insertPosition = _ref.insertPosition; + + var _useState = Object(external_this_wp_element_["useState"])(false), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + alreadyInsertedPoint = _useState2[0], + setAlreadyInsertedPoint = _useState2[1]; + + return Object(external_this_wp_element_["createElement"])(dropdown, { + className: "components-custom-gradient-picker__inserter", + onClose: function onClose() { + onCloseInserter(); + }, + renderToggle: function renderToggle(_ref2) { + var isOpen = _ref2.isOpen, + onToggle = _ref2.onToggle; + return Object(external_this_wp_element_["createElement"])(icon_button, { + "aria-expanded": isOpen, + onClick: function onClick() { + setAlreadyInsertedPoint(false); + onOpenInserter(); + onToggle(); + }, + className: "components-custom-gradient-picker__insert-point", + icon: "insert", + style: { + left: insertPosition !== null ? "".concat(insertPosition, "%") : undefined + } + }); + }, + renderContent: function renderContent() { + return Object(external_this_wp_element_["createElement"])(color_picker_ColorPicker, { + onChangeComplete: function onChangeComplete(_ref3) { + var rgb = _ref3.rgb; + var newGradient; + + if (alreadyInsertedPoint) { + newGradient = getGradientWithColorAtPositionChanged(gradientAST, insertPosition, rgb); + } else { + newGradient = getGradientWithColorStopAdded(gradientAST, insertPosition, rgb); + setAlreadyInsertedPoint(true); + } + + onChange(newGradient); + } + }); + }, + popoverProps: COLOR_POPOVER_PROPS + }); +} + +function customGradientBarReducer(state, action) { + switch (action.type) { + case 'MOVE_INSERTER': + if (state.id === 'IDLE' || state.id === 'MOVING_INSERTER') { + return { + id: 'MOVING_INSERTER', + insertPosition: action.insertPosition + }; + } + + break; + + case 'STOP_INSERTER_MOVE': + if (state.id === 'MOVING_INSERTER') { + return { + id: 'IDLE' + }; + } + + break; + + case 'OPEN_INSERTER': + if (state.id === 'MOVING_INSERTER') { + return { + id: 'INSERTING_CONTROL_POINT', + insertPosition: state.insertPosition + }; + } + + break; + + case 'CLOSE_INSERTER': + if (state.id === 'INSERTING_CONTROL_POINT') { + return { + id: 'IDLE' + }; + } + + break; + + case 'START_CONTROL_CHANGE': + if (state.id === 'IDLE') { + return { + id: 'MOVING_CONTROL_POINT' + }; + } + + break; + + case 'STOP_CONTROL_CHANGE': + if (state.id === 'MOVING_CONTROL_POINT') { + return { + id: 'IDLE' + }; + } + + break; + } + + return state; +} + +var customGradientBarReducerInitialState = { + id: 'IDLE' +}; +function CustomGradientPicker(_ref4) { + var value = _ref4.value, + onChange = _ref4.onChange; + var hasGradient = !!value; // gradientAST will contain the gradient AST as parsed by gradient-parser npm module. + // More information of its structure available at. + + var gradientAST; + var gradientValueUsed; + + try { + gradientAST = node_default.a.parse(value || DEFAULT_GRADIENT)[0]; + gradientValueUsed = value || DEFAULT_GRADIENT; + } catch (error) { + hasGradient = false; + gradientAST = node_default.a.parse(DEFAULT_GRADIENT)[0]; + gradientValueUsed = DEFAULT_GRADIENT; + } + + var onGradientStructureChange = function onGradientStructureChange(newGradientStructure) { + onChange(serializeGradient(newGradientStructure)); + }; + + var gradientPickerDomRef = Object(external_this_wp_element_["useRef"])(); + var markerPoints = getMarkerPoints(gradientAST); + + var _useReducer = Object(external_this_wp_element_["useReducer"])(customGradientBarReducer, customGradientBarReducerInitialState), + _useReducer2 = Object(slicedToArray["a" /* default */])(_useReducer, 2), + gradientBarState = _useReducer2[0], + gradientBarStateDispatch = _useReducer2[1]; + + var onMouseEnterAndMove = function onMouseEnterAndMove(event) { + var insertPosition = getHorizontalRelativeGradientPosition(event.clientX, gradientPickerDomRef.current, INSERT_POINT_WIDTH); // If the insert point is close to an existing control point don't show it. + + if (Object(external_this_lodash_["some"])(markerPoints, function (_ref5) { + var positionValue = _ref5.positionValue; + return Math.abs(insertPosition - positionValue) < MINIMUM_DISTANCE_BETWEEN_POINTS; + })) { + if (gradientBarState.id === 'MOVING_INSERTER') { + gradientBarStateDispatch({ + type: 'STOP_INSERTER_MOVE' + }); + } + + return; + } + + gradientBarStateDispatch({ + type: 'MOVE_INSERTER', + insertPosition: insertPosition + }); + }; + + var onMouseLeave = function onMouseLeave() { + gradientBarStateDispatch({ + type: 'STOP_INSERTER_MOVE' + }); + }; + + var isMovingInserter = gradientBarState.id === 'MOVING_INSERTER'; + var isInsertingControlPoint = gradientBarState.id === 'INSERTING_CONTROL_POINT'; + return Object(external_this_wp_element_["createElement"])("div", { + ref: gradientPickerDomRef, + className: classnames_default()('components-custom-gradient-picker', { + 'has-gradient': hasGradient + }), + onMouseEnter: onMouseEnterAndMove, + onMouseMove: onMouseEnterAndMove, + style: { + background: gradientValueUsed + }, + onMouseLeave: onMouseLeave + }, Object(external_this_wp_element_["createElement"])("div", { + className: "components-custom-gradient-picker__markers-container" + }, (isMovingInserter || isInsertingControlPoint) && Object(external_this_wp_element_["createElement"])(InsertPoint, { + insertPosition: gradientBarState.insertPosition, + onChange: onGradientStructureChange, + gradientAST: gradientAST, + onOpenInserter: function onOpenInserter() { + gradientBarStateDispatch({ + type: 'OPEN_INSERTER' + }); + }, + onCloseInserter: function onCloseInserter() { + gradientBarStateDispatch({ + type: 'CLOSE_INSERTER' + }); + } + }), Object(external_this_wp_element_["createElement"])(ControlPoints, { + gradientPickerDomRef: gradientPickerDomRef, + ignoreMarkerPosition: isInsertingControlPoint ? gradientBarState.insertPosition : undefined, + markerPoints: markerPoints, + onChange: onGradientStructureChange, + gradientAST: gradientAST, + onStartControlPointChange: function onStartControlPointChange() { + gradientBarStateDispatch({ + type: 'START_CONTROL_CHANGE' + }); + }, + onStopControlPointChange: function onStopControlPointChange() { + gradientBarStateDispatch({ + type: 'STOP_CONTROL_CHANGE' + }); + } + }))); +} + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/modal/frame.js @@ -40690,7 +45384,7 @@ var header_ModalHeader = function ModalHeader(_ref) { onClose = _ref.onClose, closeLabel = _ref.closeLabel, headingId = _ref.headingId, - isDismissable = _ref.isDismissable; + isDismissible = _ref.isDismissible; var label = closeLabel ? closeLabel : Object(external_this_wp_i18n_["__"])('Close dialog'); return Object(external_this_wp_element_["createElement"])("div", { className: "components-modal__header" @@ -40702,7 +45396,7 @@ var header_ModalHeader = function ModalHeader(_ref) { }, icon), title && Object(external_this_wp_element_["createElement"])("h1", { id: headingId, className: "components-modal__header-heading" - }, title)), isDismissable && Object(external_this_wp_element_["createElement"])(icon_button, { + }, title)), isDismissible && Object(external_this_wp_element_["createElement"])(icon_button, { onClick: onClose, icon: "no-alt", label: label @@ -40794,6 +45488,7 @@ function showApp() { */ + /** * Internal dependencies */ @@ -40925,12 +45620,20 @@ function (_Component) { children = _this$props.children, aria = _this$props.aria, instanceId = _this$props.instanceId, + isDismissible = _this$props.isDismissible, isDismissable = _this$props.isDismissable, - otherProps = Object(objectWithoutProperties["a" /* default */])(_this$props, ["onRequestClose", "title", "icon", "closeButtonLabel", "children", "aria", "instanceId", "isDismissable"]); + otherProps = Object(objectWithoutProperties["a" /* default */])(_this$props, ["onRequestClose", "title", "icon", "closeButtonLabel", "children", "aria", "instanceId", "isDismissible", "isDismissable"]); - var headingId = aria.labelledby || "components-modal-header-".concat(instanceId); // Disable reason: this stops mouse events from triggering tooltips and + var headingId = aria.labelledby || "components-modal-header-".concat(instanceId); + + if (isDismissable) { + external_this_wp_deprecated_default()('isDismissable prop of the Modal component', { + alternative: 'isDismissible prop (renamed) of the Modal component' + }); + } // Disable reason: this stops mouse events from triggering tooltips and // other elements underneath the modal overlay. + return Object(external_this_wp_element_["createPortal"])(Object(external_this_wp_element_["createElement"])(modal_frame, Object(esm_extends["a" /* default */])({ onRequestClose: onRequestClose, aria: { @@ -40944,7 +45647,7 @@ function (_Component) { closeLabel: closeButtonLabel, headingId: headingId, icon: icon, - isDismissable: isDismissable, + isDismissible: isDismissible || isDismissable, onClose: onRequestClose, title: title }), children)), this.node); @@ -40961,7 +45664,7 @@ modal_Modal.defaultProps = { focusOnMount: true, shouldCloseOnEsc: true, shouldCloseOnClickOutside: true, - isDismissable: true, + isDismissible: true, /* accessibility */ aria: { @@ -40971,6 +45674,415 @@ modal_Modal.defaultProps = { }; /* harmony default export */ var modal = (Object(external_this_wp_compose_["withInstanceId"])(modal_Modal)); +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/guide/icons.js + + +/** + * Internal dependencies + */ + +var icons_BackButtonIcon = function BackButtonIcon() { + return Object(external_this_wp_element_["createElement"])(svg_SVG, { + xmlns: "http://www.w3.org/2000/svg", + width: "24", + height: "24" + }, Object(external_this_wp_element_["createElement"])(svg_Path, { + d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" + }), Object(external_this_wp_element_["createElement"])(svg_Path, { + d: "M0 0h24v24H0z", + fill: "none" + })); +}; +var icons_ForwardButtonIcon = function ForwardButtonIcon() { + return Object(external_this_wp_element_["createElement"])(svg_SVG, { + xmlns: "http://www.w3.org/2000/svg", + width: "24", + height: "24" + }, Object(external_this_wp_element_["createElement"])(svg_Path, { + d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" + }), Object(external_this_wp_element_["createElement"])(svg_Path, { + d: "M0 0h24v24H0z", + fill: "none" + })); +}; +var icons_PageControlIcon = function PageControlIcon(_ref) { + var isSelected = _ref.isSelected; + return Object(external_this_wp_element_["createElement"])(svg_SVG, { + width: "12", + height: "12", + fill: "none", + xmlns: "http://www.w3.org/2000/svg" + }, Object(external_this_wp_element_["createElement"])(svg_Circle, { + cx: "6", + cy: "6", + r: "6", + fill: isSelected ? '#419ECD' : '#E1E3E6' + })); +}; + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/guide/page-control.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + + +function PageControl(_ref) { + var currentPage = _ref.currentPage, + numberOfPages = _ref.numberOfPages, + setCurrentPage = _ref.setCurrentPage; + return Object(external_this_wp_element_["createElement"])("ul", { + className: "components-guide__page-control", + "aria-label": Object(external_this_wp_i18n_["__"])('Guide controls') + }, Object(external_this_lodash_["times"])(numberOfPages, function (page) { + return Object(external_this_wp_element_["createElement"])("li", { + key: page + }, Object(external_this_wp_element_["createElement"])(icon_button, { + key: page, + icon: Object(external_this_wp_element_["createElement"])(icons_PageControlIcon, { + isSelected: page === currentPage + }) + /* translators: %1$d: current page number %2$d: total number of pages */ + , + "aria-label": Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Page %1$d of %2$d'), page + 1, numberOfPages), + onClick: function onClick() { + return setCurrentPage(page); + } + })); + })); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/guide/finish-button.js + + +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + +function FinishButton(_ref) { + var className = _ref.className, + onClick = _ref.onClick, + children = _ref.children; + var button = Object(external_this_wp_element_["useRef"])(null); // Focus the button on mount if nothing else is focused. This prevents a + // focus loss when the 'Next' button is swapped out. + + Object(external_this_wp_element_["useLayoutEffect"])(function () { + if (document.activeElement === document.body) { + button.current.focus(); + } + }, [button]); + return Object(external_this_wp_element_["createElement"])(build_module_button, { + ref: button, + className: className, + isPrimary: true, + isLarge: true, + onClick: onClick + }, children); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/guide/index.js + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + + + + + + +function Guide(_ref) { + var children = _ref.children, + className = _ref.className, + finishButtonText = _ref.finishButtonText, + onFinish = _ref.onFinish; + + var _useState = Object(external_this_wp_element_["useState"])(0), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + currentPage = _useState2[0], + setCurrentPage = _useState2[1]; + + var numberOfPages = external_this_wp_element_["Children"].count(children); + var canGoBack = currentPage > 0; + var canGoForward = currentPage < numberOfPages - 1; + + var goBack = function goBack() { + if (canGoBack) { + setCurrentPage(currentPage - 1); + } + }; + + var goForward = function goForward() { + if (canGoForward) { + setCurrentPage(currentPage + 1); + } + }; + + if (numberOfPages === 0) { + return null; + } + + return Object(external_this_wp_element_["createElement"])(modal, { + className: classnames_default()('components-guide', className), + onRequestClose: onFinish + }, Object(external_this_wp_element_["createElement"])(keyboard_shortcuts, { + key: currentPage, + shortcuts: { + left: goBack, + right: goForward + } + }), Object(external_this_wp_element_["createElement"])("div", { + className: "components-guide__container" + }, children[currentPage], !canGoForward && Object(external_this_wp_element_["createElement"])(FinishButton, { + className: "components-guide__inline-finish-button", + onClick: onFinish + }, finishButtonText || Object(external_this_wp_i18n_["__"])('Finish')), Object(external_this_wp_element_["createElement"])("div", { + className: "components-guide__footer" + }, canGoBack && Object(external_this_wp_element_["createElement"])(icon_button, { + className: "components-guide__back-button", + icon: Object(external_this_wp_element_["createElement"])(icons_BackButtonIcon, null), + onClick: goBack + }, Object(external_this_wp_i18n_["__"])('Previous')), Object(external_this_wp_element_["createElement"])(PageControl, { + currentPage: currentPage, + numberOfPages: numberOfPages, + setCurrentPage: setCurrentPage + }), canGoForward && Object(external_this_wp_element_["createElement"])(icon_button, { + className: "components-guide__forward-button", + icon: Object(external_this_wp_element_["createElement"])(icons_ForwardButtonIcon, null), + onClick: goForward + }, Object(external_this_wp_i18n_["__"])('Next')), !canGoForward && Object(external_this_wp_element_["createElement"])(FinishButton, { + className: "components-guide__finish-button", + onClick: onFinish + }, finishButtonText || Object(external_this_wp_i18n_["__"])('Finish'))))); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/guide/page.js + +function GuidePage(props) { + return Object(external_this_wp_element_["createElement"])("div", props); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/menu-group/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +function MenuGroup(_ref) { + var children = _ref.children, + _ref$className = _ref.className, + className = _ref$className === void 0 ? '' : _ref$className, + instanceId = _ref.instanceId, + label = _ref.label; + + if (!external_this_wp_element_["Children"].count(children)) { + return null; + } + + var labelId = "components-menu-group-label-".concat(instanceId); + var classNames = classnames_default()(className, 'components-menu-group'); + return Object(external_this_wp_element_["createElement"])("div", { + className: classNames + }, label && Object(external_this_wp_element_["createElement"])("div", { + className: "components-menu-group__label", + id: labelId, + "aria-hidden": "true" + }, label), Object(external_this_wp_element_["createElement"])("div", { + role: "group", + "aria-labelledby": label ? labelId : null + }, children)); +} +/* harmony default export */ var menu_group = (Object(external_this_wp_compose_["withInstanceId"])(MenuGroup)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/menu-item/index.js + + + + +/** + * External dependencies + */ + + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + + +/** + * Renders a generic menu item for use inside the more menu. + * + * @return {WPComponent} The component to be rendered. + */ + +function MenuItem(_ref) { + var children = _ref.children, + info = _ref.info, + className = _ref.className, + icon = _ref.icon, + shortcut = _ref.shortcut, + isSelected = _ref.isSelected, + _ref$role = _ref.role, + role = _ref$role === void 0 ? 'menuitem' : _ref$role, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["children", "info", "className", "icon", "shortcut", "isSelected", "role"]); + + className = classnames_default()('components-menu-item__button', className, { + 'has-icon': icon + }); + + if (info) { + children = Object(external_this_wp_element_["createElement"])("span", { + className: "components-menu-item__info-wrapper" + }, children, Object(external_this_wp_element_["createElement"])("span", { + className: "components-menu-item__info" + }, info)); + } + + if (icon && !Object(external_this_lodash_["isString"])(icon)) { + icon = Object(external_this_wp_element_["cloneElement"])(icon, { + className: 'components-menu-items__item-icon', + height: 20, + width: 20 + }); + } + + return Object(external_this_wp_element_["createElement"])(icon_button, Object(esm_extends["a" /* default */])({ + icon: icon // Make sure aria-checked matches spec https://www.w3.org/TR/wai-aria-1.1/#aria-checked + , + "aria-checked": role === 'menuitemcheckbox' || role === 'menuitemradio' ? isSelected : undefined, + role: role, + className: className + }, props), children, Object(external_this_wp_element_["createElement"])(build_module_shortcut, { + className: "components-menu-item__shortcut", + shortcut: shortcut + })); +} +/* harmony default export */ var menu_item = (MenuItem); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/menu-items-choice/index.js + + +/** + * Internal dependencies + */ + +function MenuItemsChoice(_ref) { + var _ref$choices = _ref.choices, + choices = _ref$choices === void 0 ? [] : _ref$choices, + onSelect = _ref.onSelect, + value = _ref.value; + return choices.map(function (item) { + var isSelected = value === item.value; + return Object(external_this_wp_element_["createElement"])(menu_item, { + key: item.value, + role: "menuitemradio", + icon: isSelected && 'yes', + isSelected: isSelected, + shortcut: item.shortcut, + className: "components-menu-items-choice", + onClick: function onClick() { + if (!isSelected) { + onSelect(item.value); + } + } + }, item.label); + }); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigable-container/tabbable.js + + + + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + +function TabbableContainer(_ref, ref) { + var eventToOffset = _ref.eventToOffset, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["eventToOffset"]); + + var innerEventToOffset = function innerEventToOffset(evt) { + var keyCode = evt.keyCode, + shiftKey = evt.shiftKey; + + if (external_this_wp_keycodes_["TAB"] === keyCode) { + return shiftKey ? -1 : 1; + } // Allow custom handling of keys besides Tab. + // + // By default, TabbableContainer will move focus forward on Tab and + // backward on Shift+Tab. The handler below will be used for all other + // events. The semantics for `eventToOffset`'s return + // values are the following: + // + // - +1: move focus forward + // - -1: move focus backward + // - 0: don't move focus, but acknowledge event and thus stop it + // - undefined: do nothing, let the event propagate + + + if (eventToOffset) { + return eventToOffset(evt); + } + }; + + return Object(external_this_wp_element_["createElement"])(navigable_container_container, Object(esm_extends["a" /* default */])({ + ref: ref, + stopNavigationEvents: true, + onlyBrowserTabstops: true, + eventToOffset: innerEventToOffset + }, props)); +} +/* harmony default export */ var tabbable = (Object(external_this_wp_element_["forwardRef"])(TabbableContainer)); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/notice/index.js @@ -41288,7 +46400,6 @@ function PanelRow(_ref) { * External dependencies */ - /** * Internal dependencies */ @@ -41322,9 +46433,9 @@ function Placeholder(_ref) { className: "components-placeholder__preview" }, preview), Object(external_this_wp_element_["createElement"])("div", { className: "components-placeholder__label" - }, Object(external_this_lodash_["isString"])(icon) ? Object(external_this_wp_element_["createElement"])(dashicon_Dashicon, { + }, Object(external_this_wp_element_["createElement"])(build_module_icon, { icon: icon - }) : icon, label), !!instructions && Object(external_this_wp_element_["createElement"])("div", { + }), label), !!instructions && Object(external_this_wp_element_["createElement"])("div", { className: "components-placeholder__instructions" }, instructions), Object(external_this_wp_element_["createElement"])("div", { className: fieldsetClasses @@ -41603,7 +46714,9 @@ var re_resizable_lib = __webpack_require__(226); function ResizableBox(_ref) { var className = _ref.className, - props = Object(objectWithoutProperties["a" /* default */])(_ref, ["className"]); + _ref$showHandle = _ref.showHandle, + showHandle = _ref$showHandle === void 0 ? false : _ref$showHandle, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["className", "showHandle"]); // Removes the inline styles in the drag handles. var handleStylesOverrides = { @@ -41618,7 +46731,7 @@ function ResizableBox(_ref) { var sideHandleClassName = 'components-resizable-box__side-handle'; var cornerHandleClassName = 'components-resizable-box__corner-handle'; return Object(external_this_wp_element_["createElement"])(re_resizable_lib["Resizable"], Object(esm_extends["a" /* default */])({ - className: classnames_default()('components-resizable-box__container', className), + className: classnames_default()('components-resizable-box__container', showHandle && 'has-show-handle', className), handleClasses: { top: classnames_default()(handleClassName, sideHandleClassName, 'components-resizable-box__handle-top'), right: classnames_default()(handleClassName, sideHandleClassName, 'components-resizable-box__handle-right'), @@ -41951,7 +47064,7 @@ function Snackbar(_ref, ref) { /* harmony default export */ var snackbar = (Object(external_this_wp_element_["forwardRef"])(Snackbar)); // EXTERNAL MODULE: external {"this":"regeneratorRuntime"} -var external_this_regeneratorRuntime_ = __webpack_require__(20); +var external_this_regeneratorRuntime_ = __webpack_require__(23); var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js @@ -42309,6 +47422,37 @@ function TextareaControl(_ref) { /* harmony default export */ var textarea_control = (Object(external_this_wp_compose_["withInstanceId"])(TextareaControl)); +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text-highlight/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +var text_highlight_TextHighlight = function TextHighlight(_ref) { + var _ref$text = _ref.text, + text = _ref$text === void 0 ? '' : _ref$text, + _ref$highlight = _ref.highlight, + highlight = _ref$highlight === void 0 ? '' : _ref$highlight; + + if (!highlight.trim()) { + return text; + } + + var regex = new RegExp("(".concat(Object(external_this_lodash_["escapeRegExp"])(highlight), ")"), 'gi'); + return Object(external_this_wp_element_["__experimentalCreateInterpolateElement"])(text.replace(regex, '$&'), { + mark: Object(external_this_wp_element_["createElement"])("mark", null) + }); +}; + +/* harmony default export */ var text_highlight = (text_highlight_TextHighlight); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tip/index.js @@ -42418,6 +47562,1526 @@ function (_Component) { /* harmony default export */ var toggle_control = (Object(external_this_wp_compose_["withInstanceId"])(toggle_control_ToggleControl)); +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-context/index.js +/** + * WordPress dependencies + */ + +var ToolbarContext = Object(external_this_wp_element_["createContext"])(); +/* harmony default export */ var toolbar_context = (ToolbarContext); + +// CONCATENATED MODULE: ./node_modules/reakit-system/es/_rollupPluginBabelHelpers-ce04ac6e.js +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + +function _rollupPluginBabelHelpers_ce04ac6e_ownKeys(object, enumerableOnly) { + var keys = Object.keys(object); + + if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(object); + if (enumerableOnly) symbols = symbols.filter(function (sym) { + return Object.getOwnPropertyDescriptor(object, sym).enumerable; + }); + keys.push.apply(keys, symbols); + } + + return keys; +} + +function _objectSpread2(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? arguments[i] : {}; + + if (i % 2) { + _rollupPluginBabelHelpers_ce04ac6e_ownKeys(Object(source), true).forEach(function (key) { + _defineProperty(target, key, source[key]); + }); + } else if (Object.getOwnPropertyDescriptors) { + Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); + } else { + _rollupPluginBabelHelpers_ce04ac6e_ownKeys(Object(source)).forEach(function (key) { + Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); + }); + } + } + + return target; +} + +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-system/es/SystemContext.js + + +var SystemContext = Object(external_this_React_["createContext"])({}); + + + +// CONCATENATED MODULE: ./node_modules/reakit-system/es/useCreateElement.js + + + + +function isRenderProp(children) { + return typeof children === "function"; +} + +var useCreateElement_useCreateElement = function useCreateElement(type, props, children) { + if (children === void 0) { + children = props.children; + } + + var context = Object(external_this_React_["useContext"])(SystemContext); + + if (context.useCreateElement) { + return context.useCreateElement(type, props, children); + } + + if (isRenderProp(children)) { + var _ = props.children, + rest = _objectWithoutPropertiesLoose(props, ["children"]); + + return children(rest); + } + + return Object(external_this_React_["createElement"])(type, props, children); +}; + + + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/splitProps.js +function splitProps(props, keys) { + var propsKeys = Object.keys(props); + var picked = {}; + var omitted = {}; + + for (var _i = 0, _propsKeys = propsKeys; _i < _propsKeys.length; _i++) { + var key = _propsKeys[_i]; + + if (keys.indexOf(key) >= 0) { + picked[key] = props[key]; + } else { + omitted[key] = props[key]; + } + } + + return [picked, omitted]; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-system/es/createComponent.js + + + + + + +function memo(component, propsAreEqual) { + return Object(external_this_React_["memo"])(component, propsAreEqual); +} + +function forwardRef(component) { + return Object(external_this_React_["forwardRef"])(component); +} + +function createComponent(_ref) { + var type = _ref.as, + useHook = _ref.useHook, + _ref$keys = _ref.keys, + keys = _ref$keys === void 0 ? useHook && useHook.__keys || [] : _ref$keys, + _ref$propsAreEqual = _ref.propsAreEqual, + propsAreEqual = _ref$propsAreEqual === void 0 ? useHook && useHook.__propsAreEqual : _ref$propsAreEqual, + _ref$useCreateElement = _ref.useCreateElement, + useCreateElement$1 = _ref$useCreateElement === void 0 ? useCreateElement_useCreateElement : _ref$useCreateElement; + + var Comp = function Comp(_ref2, ref) { + var _ref2$as = _ref2.as, + as = _ref2$as === void 0 ? type : _ref2$as, + props = _objectWithoutPropertiesLoose(_ref2, ["as"]); + + if (useHook) { + var _splitProps = splitProps(props, keys), + _options = _splitProps[0], + htmlProps = _splitProps[1]; + + var _useHook = useHook(_options, _objectSpread2({ + ref: ref + }, htmlProps)), + unstable_wrap = _useHook.unstable_wrap, + elementProps = _objectWithoutPropertiesLoose(_useHook, ["unstable_wrap"]); // @ts-ignore + + + var asKeys = as.render ? as.render.__keys : as.__keys; + var asOptions = asKeys ? splitProps(props, asKeys)[0] : {}; + var element = useCreateElement$1(as, _objectSpread2({}, elementProps, {}, asOptions)); + + if (unstable_wrap) { + return unstable_wrap(element); + } + + return element; + } + + return useCreateElement$1(as, props); + }; + + Comp.__keys = keys; + + if (false) {} + + return memo(forwardRef(Comp), propsAreEqual); +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-system/es/useToken.js + + + +function useToken(token, defaultValue) { + Object(external_this_React_["useDebugValue"])(token); + var context = Object(external_this_React_["useContext"])(SystemContext); + return context[token] != null ? context[token] : defaultValue; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-system/es/useProps.js + + + + +function useProps_useProps(name, options, htmlProps) { + if (options === void 0) { + options = {}; + } + + if (htmlProps === void 0) { + htmlProps = {}; + } + + var hookName = "use" + name + "Props"; + Object(external_this_React_["useDebugValue"])(hookName); + var useHook = useToken(hookName); + + if (useHook) { + return useHook(options, htmlProps); + } + + return htmlProps; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-system/es/useOptions.js + + + + + +function useOptions_useOptions(name, options, htmlProps) { + if (options === void 0) { + options = {}; + } + + if (htmlProps === void 0) { + htmlProps = {}; + } + + var hookName = "use" + name + "Options"; + Object(external_this_React_["useDebugValue"])(hookName); + var useHook = useToken(hookName); + + if (useHook) { + return _objectSpread2({}, options, {}, useHook(options, htmlProps)); + } + + return options; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/isObject.js +function isObject(arg) { + return typeof arg === "object" && arg != null; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/toArray.js +function toArray(arg) { + if (Array.isArray(arg)) { + return arg; + } + + return typeof arg !== "undefined" ? [arg] : []; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-system/es/createHook.js + + + + + + + + + +function deepEqual(objA, objB, depth) { + if (depth === void 0) { + depth = 1; + } + + if (objA === objB) return true; + if (!objA || !objB) return false; + var aKeys = Object.keys(objA); + var bKeys = Object.keys(objB); + var length = aKeys.length; + if (bKeys.length !== length) return false; + + for (var _i = 0, _aKeys = aKeys; _i < _aKeys.length; _i++) { + var key = _aKeys[_i]; + + if (objA[key] !== objB[key]) { + if (!depth || !isObject(objA[key]) || !isObject(objB[key]) || !deepEqual(objA[key], objB[key], depth - 1)) { + return false; + } + } + } + + return true; +} + +function createHook(options) { + var composedHooks = toArray(options.compose); + + var __useOptions = function __useOptions(hookOptions, htmlProps) { + // Call the current hook's useOptions first + if (options.useOptions) { + hookOptions = options.useOptions(hookOptions, htmlProps); + } // If there's name, call useOptions from the system context + + + if (options.name) { + hookOptions = useOptions_useOptions(options.name, hookOptions, htmlProps); + } + + return hookOptions; + }; + + var useHook = function useHook(hookOptions, htmlProps, unstable_ignoreUseOptions) { + if (hookOptions === void 0) { + hookOptions = {}; + } + + if (htmlProps === void 0) { + htmlProps = {}; + } + + if (unstable_ignoreUseOptions === void 0) { + unstable_ignoreUseOptions = false; + } + + // This won't execute when useHook was called from within another useHook + if (!unstable_ignoreUseOptions) { + hookOptions = __useOptions(hookOptions, htmlProps); + } // We're already calling composed useOptions here + // That's why we ignoreUseOptions for composed hooks + + + if (options.compose) { + composedHooks.forEach(function (hook) { + hookOptions = hook.__useOptions(hookOptions, htmlProps); + }); + } // Call the current hook's useProps + + + if (options.useProps) { + htmlProps = options.useProps(hookOptions, htmlProps); + } // If there's name, call useProps from the system context + + + if (options.name) { + htmlProps = useProps_useProps(options.name, hookOptions, htmlProps); + } + + if (options.compose) { + if (options.useComposeOptions) { + hookOptions = options.useComposeOptions(hookOptions, htmlProps); + } + + composedHooks.forEach(function (hook) { + // @ts-ignore The third option is only used internally + htmlProps = hook(hookOptions, htmlProps, true); + }); + } + + return htmlProps; + }; + + if (false) {} + + useHook.__useOptions = __useOptions; // It's used by createComponent to split option props (keys) and html props + + useHook.__keys = [].concat(composedHooks.reduce(function (allKeys, hook) { + allKeys.push.apply(allKeys, hook.__keys || []); + return allKeys; + }, []), options.useState ? options.useState.__keys : [], options.keys || []); + var hasPropsAreEqual = Boolean(options.propsAreEqual || composedHooks.find(function (hook) { + return Boolean(hook.__propsAreEqual); + })); + + if (hasPropsAreEqual) { + useHook.__propsAreEqual = function (prev, next) { + var result = options.propsAreEqual && options.propsAreEqual(prev, next); + + if (result != null) { + return result; + } + + for (var _iterator = composedHooks, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { + var _ref; + + if (_isArray) { + if (_i >= _iterator.length) break; + _ref = _iterator[_i++]; + } else { + _i = _iterator.next(); + if (_i.done) break; + _ref = _i.value; + } + + var hook = _ref; + var propsAreEqual = hook.__propsAreEqual; + var hookResult = propsAreEqual && propsAreEqual(prev, next); + + if (hookResult != null) { + return hookResult; + } + } + + return deepEqual(prev, next); + }; + } + + return useHook; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit/es/_rollupPluginBabelHelpers-f089acec.js +function _rollupPluginBabelHelpers_f089acec_defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + +function _rollupPluginBabelHelpers_f089acec_ownKeys(object, enumerableOnly) { + var keys = Object.keys(object); + + if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(object); + if (enumerableOnly) symbols = symbols.filter(function (sym) { + return Object.getOwnPropertyDescriptor(object, sym).enumerable; + }); + keys.push.apply(keys, symbols); + } + + return keys; +} + +function _rollupPluginBabelHelpers_f089acec_objectSpread2(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? arguments[i] : {}; + + if (i % 2) { + _rollupPluginBabelHelpers_f089acec_ownKeys(Object(source), true).forEach(function (key) { + _rollupPluginBabelHelpers_f089acec_defineProperty(target, key, source[key]); + }); + } else if (Object.getOwnPropertyDescriptors) { + Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); + } else { + _rollupPluginBabelHelpers_f089acec_ownKeys(Object(source)).forEach(function (key) { + Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); + }); + } + } + + return target; +} + +function _rollupPluginBabelHelpers_f089acec_objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/mergeRefs.js +function mergeRefs() { + for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) { + refs[_key] = arguments[_key]; + } + + var filteredRefs = refs.filter(Boolean); + if (!filteredRefs.length) return null; + if (filteredRefs.length === 1) return filteredRefs[0]; + return function (instance) { + for (var _iterator = filteredRefs, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { + var _ref; + + if (_isArray) { + if (_i >= _iterator.length) break; + _ref = _iterator[_i++]; + } else { + _i = _iterator.next(); + if (_i.done) break; + _ref = _i.value; + } + + var ref = _ref; + + if (typeof ref === "function") { + ref(instance); + } else if (ref) { + ref.current = instance; + } + } + }; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/getDocument.js +function getDocument(element) { + return element ? element.ownerDocument || element : window.document; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/hasFocusWithin.js + + +function hasFocusWithin(element) { + var document = getDocument(element); + if (!document.activeElement) return false; + return element.contains(document.activeElement); +} + + + +// CONCATENATED MODULE: ./node_modules/reakit/es/Box/Box.js + + + +var useBox = createHook({ + name: "Box", + keys: ["unstable_system"] +}); +var Box = createComponent({ + as: "div", + useHook: useBox +}); + + + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/closest.js +// closest ponyfill +function matches(element, selectors) { + if ("matches" in element) return element.matches(selectors); + if ("msMatchesSelector" in element) return element.msMatchesSelector(selectors); + return element.webkitMatchesSelector(selectors); +} + +function closest(element, selectors) { + if ("closest" in element) return element.closest(selectors); + + do { + if (matches(element, selectors)) return element; + element = element.parentElement || element.parentNode; + } while (element !== null && element.nodeType === 1); + + return null; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/tabbable.js + + +var selector = "input:not([type='hidden']):not([disabled]), select:not([disabled]), " + "textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], " + "iframe, object, embed, area[href], audio[controls], video[controls], " + "[contenteditable]:not([contenteditable='false'])"; + +function isVisible(element) { + return element.offsetWidth > 0 || element.offsetHeight > 0 || element.getClientRects().length > 0; +} + +function hasNegativeTabIndex(element) { + var tabIndex = parseInt(element.getAttribute("tabIndex") || "0", 10); + return tabIndex < 0; +} + +function isFocusable(element) { + return element.matches(selector) && isVisible(element); +} +function isTabbable(element) { + return isFocusable(element) && !hasNegativeTabIndex(element); +} +function getAllFocusableIn(container) { + var allFocusable = Array.from(container.querySelectorAll(selector)); + allFocusable.unshift(container); + return allFocusable.filter(isFocusable); +} +function getFirstFocusableIn(container) { + var allFocusable = getAllFocusableIn(container); + return allFocusable.length ? allFocusable[0] : null; +} +function getAllTabbableIn(container, fallbackToFocusable) { + var allFocusable = Array.from(container.querySelectorAll(selector)); + var allTabbable = allFocusable.filter(isTabbable); + + if (isTabbable(container)) { + allTabbable.unshift(container); + } + + if (!allTabbable.length && fallbackToFocusable) { + return allFocusable; + } + + return allTabbable; +} +function getFirstTabbableIn(container, fallbackToFocusable) { + var _getAllTabbableIn = getAllTabbableIn(container, fallbackToFocusable), + first = _getAllTabbableIn[0]; + + return first || null; +} +function getLastTabbableIn(container, fallbackToFocusable) { + var allTabbable = getAllTabbableIn(container, fallbackToFocusable); + return allTabbable[allTabbable.length - 1] || null; +} +function getNextTabbableIn(container, fallbackToFocusable) { + var _ref = container.ownerDocument || document, + activeElement = _ref.activeElement; + + var allFocusable = getAllFocusableIn(container); + var index = allFocusable.indexOf(activeElement); + var slice = allFocusable.slice(index + 1); + return slice.find(isTabbable) || allFocusable.find(isTabbable) || (fallbackToFocusable ? slice[0] : null); +} +function getPreviousTabbableIn(container, fallbackToFocusable) { + var _ref2 = container.ownerDocument || document, + activeElement = _ref2.activeElement; + + var allFocusable = getAllFocusableIn(container).reverse(); + var index = allFocusable.indexOf(activeElement); + var slice = allFocusable.slice(index + 1); + return slice.find(isTabbable) || allFocusable.find(isTabbable) || (fallbackToFocusable ? slice[0] : null); +} +function getClosestFocusable(element) { + var container = null; + + do { + container = closest(element, selector); + } while (container && !isFocusable(container)); + + return container; +} + +function defaultIsActive(element) { + var _ref3 = element.ownerDocument || document, + activeElement = _ref3.activeElement; + + return activeElement === element; +} + +function ensureFocus(element, _temp) { + var _ref4 = _temp === void 0 ? {} : _temp, + _ref4$isActive = _ref4.isActive, + isActive = _ref4$isActive === void 0 ? defaultIsActive : _ref4$isActive, + preventScroll = _ref4.preventScroll; + + if (isActive(element)) return -1; + element.focus({ + preventScroll: preventScroll + }); + if (isActive(element)) return -1; + return requestAnimationFrame(function () { + element.focus({ + preventScroll: preventScroll + }); + }); +} + + + +// CONCATENATED MODULE: ./node_modules/reakit/es/Tabbable/Tabbable.js + + + + + + + + + +function isNativeTabbable(element) { + return element instanceof HTMLButtonElement || element instanceof HTMLInputElement || element instanceof HTMLSelectElement || element instanceof HTMLTextAreaElement || element instanceof HTMLAnchorElement || element instanceof HTMLAudioElement || element instanceof HTMLVideoElement; +} + +function isInput(element) { + return element instanceof HTMLInputElement || element instanceof HTMLTextAreaElement || element instanceof HTMLSelectElement; +} // https://twitter.com/diegohaz/status/1176998102139572225 + + +function receivesFocusOnMouseDown(element) { + var _navigator = navigator, + userAgent = _navigator.userAgent; + + var is = function is(string) { + return userAgent.indexOf(string) !== -1; + }; + + var isMac = is("Mac"); + var isSafariOrFirefox = is("Safari") || is("Firefox"); + return !isMac || !isSafariOrFirefox || !(element instanceof HTMLButtonElement); +} + +var useTabbable = createHook({ + name: "Tabbable", + compose: useBox, + keys: ["disabled", "focusable", "unstable_clickOnEnter", "unstable_clickOnSpace"], + useOptions: function useOptions(_ref, _ref2) { + var disabled = _ref2.disabled; + + var _ref$unstable_clickOn = _ref.unstable_clickOnEnter, + unstable_clickOnEnter = _ref$unstable_clickOn === void 0 ? true : _ref$unstable_clickOn, + _ref$unstable_clickOn2 = _ref.unstable_clickOnSpace, + unstable_clickOnSpace = _ref$unstable_clickOn2 === void 0 ? true : _ref$unstable_clickOn2, + options = _rollupPluginBabelHelpers_f089acec_objectWithoutPropertiesLoose(_ref, ["unstable_clickOnEnter", "unstable_clickOnSpace"]); + + return _rollupPluginBabelHelpers_f089acec_objectSpread2({ + disabled: disabled, + unstable_clickOnEnter: unstable_clickOnEnter, + unstable_clickOnSpace: unstable_clickOnSpace + }, options); + }, + useProps: function useProps(options, _ref3) { + var htmlRef = _ref3.ref, + htmlTabIndex = _ref3.tabIndex, + htmlOnClick = _ref3.onClick, + htmlOnMouseDown = _ref3.onMouseDown, + htmlOnKeyDown = _ref3.onKeyDown, + htmlStyle = _ref3.style, + htmlProps = _rollupPluginBabelHelpers_f089acec_objectWithoutPropertiesLoose(_ref3, ["ref", "tabIndex", "onClick", "onMouseDown", "onKeyDown", "style"]); + + var ref = Object(external_this_React_["useRef"])(null); + var trulyDisabled = options.disabled && !options.focusable; + + var _React$useState = Object(external_this_React_["useState"])(true), + nativeTabbable = _React$useState[0], + setNativeTabbable = _React$useState[1]; + + var tabIndex = nativeTabbable ? htmlTabIndex : htmlTabIndex || 0; + var style = options.disabled && !nativeTabbable ? _rollupPluginBabelHelpers_f089acec_objectSpread2({ + pointerEvents: "none" + }, htmlStyle) : htmlStyle; + Object(external_this_React_["useEffect"])(function () { + if (ref.current && !isNativeTabbable(ref.current)) { + setNativeTabbable(false); + } + }, []); + var onClick = Object(external_this_React_["useCallback"])(function (event) { + if (options.disabled) { + event.stopPropagation(); + event.preventDefault(); + } else if (htmlOnClick) { + htmlOnClick(event); + } + }, [options.disabled, htmlOnClick]); + var onMouseDown = Object(external_this_React_["useCallback"])(function (event) { + if (options.disabled) { + event.stopPropagation(); + event.preventDefault(); + return; + } + + var self = event.currentTarget; + var target = event.target; + + if (self.contains(target) && !isInput(target) && !receivesFocusOnMouseDown(self)) { + event.preventDefault(); + var isFocusControl = isFocusable(target) || target instanceof HTMLLabelElement; + + if (!hasFocusWithin(self) || self === target || !isFocusControl) { + self.focus(); + } + } + + if (htmlOnMouseDown) { + htmlOnMouseDown(event); + } + }, [options.disabled, htmlOnMouseDown]); + var onKeyDown = Object(external_this_React_["useCallback"])(function (event) { + if (htmlOnKeyDown) { + htmlOnKeyDown(event); + } + + if (options.disabled || isNativeTabbable(event.currentTarget)) return; // Per the spec, space only triggers button click on key up. + // On key down, it triggers the :active state. + // Since we can't mimic this behavior, we trigger click on key down. + + if (options.unstable_clickOnEnter && event.key === "Enter" || options.unstable_clickOnSpace && event.key === " ") { + event.preventDefault(); + event.target.dispatchEvent(new MouseEvent("click", { + view: window, + bubbles: true, + cancelable: false + })); + } + }, [options.disabled, options.unstable_clickOnEnter, options.unstable_clickOnSpace, htmlOnKeyDown]); + return _rollupPluginBabelHelpers_f089acec_objectSpread2({ + ref: mergeRefs(ref, htmlRef), + disabled: trulyDisabled, + tabIndex: trulyDisabled ? undefined : tabIndex, + "aria-disabled": options.disabled, + onClick: onClick, + onMouseDown: onMouseDown, + onKeyDown: onKeyDown, + style: style + }, htmlProps); + } +}); +var Tabbable = createComponent({ + as: "button", + useHook: useTabbable +}); + + + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/useAllCallbacks.js + + +function useAllCallbacks() { + for (var _len = arguments.length, callbacks = new Array(_len), _key = 0; _key < _len; _key++) { + callbacks[_key] = arguments[_key]; + } + + return Object(external_this_React_["useCallback"])(function () { + var fns = callbacks.filter(Boolean); + + for (var _iterator = fns, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { + var _ref; + + if (_isArray) { + if (_i >= _iterator.length) break; + _ref = _iterator[_i++]; + } else { + _i = _iterator.next(); + if (_i.done) break; + _ref = _i.value; + } + + var callback = _ref; + callback.apply(void 0, arguments); + } + }, callbacks); +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/createOnKeyDown.js +function createOnKeyDown(_temp) { + var _ref = _temp === void 0 ? {} : _temp, + keyMap = _ref.keyMap, + onKey = _ref.onKey, + stopPropagation = _ref.stopPropagation, + onKeyDown = _ref.onKeyDown, + _ref$shouldKeyDown = _ref.shouldKeyDown, + shouldKeyDown = _ref$shouldKeyDown === void 0 ? function () { + return true; + } : _ref$shouldKeyDown, + _ref$preventDefault = _ref.preventDefault, + preventDefault = _ref$preventDefault === void 0 ? true : _ref$preventDefault; + + return function (event) { + if (!keyMap) return; + var finalKeyMap = typeof keyMap === "function" ? keyMap(event) : keyMap; + var shouldPreventDefault = typeof preventDefault === "function" ? preventDefault(event) : preventDefault; + var shouldStopPropagation = typeof stopPropagation === "function" ? stopPropagation(event) : stopPropagation; + + if (event.key in finalKeyMap) { + var action = finalKeyMap[event.key]; + + if (typeof action === "function" && shouldKeyDown(event)) { + if (shouldPreventDefault) event.preventDefault(); + if (shouldStopPropagation) event.stopPropagation(); + if (onKey) onKey(event); + action(event); // Prevent onKeyDown from being called twice for the same keys + + return; + } + } + + if (onKeyDown) { + onKeyDown(event); + } + }; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit/es/Id/IdProvider.js + + +var defaultPrefix = "id"; +function generateRandomString(prefix) { + if (prefix === void 0) { + prefix = defaultPrefix; + } + + return "" + (prefix ? prefix + "-" : "") + Math.random().toString(32).substr(2, 6); +} + +var unstable_IdContext = Object(external_this_React_["createContext"])(generateRandomString); +function unstable_IdProvider(_ref) { + var children = _ref.children, + _ref$prefix = _ref.prefix, + prefix = _ref$prefix === void 0 ? defaultPrefix : _ref$prefix; + var count = Object(external_this_React_["useRef"])(0); + var generateId = Object(external_this_React_["useCallback"])(function (localPrefix) { + if (localPrefix === void 0) { + localPrefix = prefix; + } + + return "" + (localPrefix ? localPrefix + "-" : "") + ++count.current; + }, []); + return Object(external_this_React_["createElement"])(unstable_IdContext.Provider, { + value: generateId + }, children); +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/useSealedState.js + + +function useSealedState(initialState) { + var _React$useState = Object(external_this_React_["useState"])(initialState), + sealed = _React$useState[0]; + + return sealed; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit/es/Id/IdState.js + + + + +function unstable_useIdState(initialState) { + if (initialState === void 0) { + initialState = {}; + } + + var _useSealedState = useSealedState(initialState), + initialBaseId = _useSealedState.baseId; + + var generateId = Object(external_this_React_["useContext"])(unstable_IdContext); + var idCountRef = Object(external_this_React_["useRef"])(0); + + var _React$useState = Object(external_this_React_["useState"])(function () { + return initialBaseId || generateId(); + }), + baseId = _React$useState[0], + setBaseId = _React$useState[1]; + + return { + baseId: baseId, + unstable_setBaseId: setBaseId, + unstable_idCountRef: idCountRef + }; +} +var IdState_keys = ["baseId", "unstable_setBaseId", "unstable_idCountRef"]; +unstable_useIdState.__keys = IdState_keys; + + + +// CONCATENATED MODULE: ./node_modules/reakit/es/Id/Id.js + + + + + + + + + +var unstable_useId = createHook({ + name: "Id", + compose: useBox, + useState: unstable_useIdState, + keys: ["id"], + useOptions: function useOptions(options, htmlProps) { + var generateId = Object(external_this_React_["useContext"])(unstable_IdContext); + + var _React$useState = Object(external_this_React_["useState"])(function () { + // This comes from useIdState + if (options.unstable_idCountRef) { + options.unstable_idCountRef.current += 1; + return "-" + options.unstable_idCountRef.current; + } // If there's no useIdState, we check if `baseId` was passed (as a prop, + // not from useIdState). + + + if (options.baseId) { + return "-" + generateId(""); + } + + return ""; + }), + suffix = _React$useState[0]; // `baseId` will be the prop passed directly as a prop or via useIdState. + // If there's neither, then it'll fallback to Context's generateId. + // This generateId can result in a sequential ID (if there's a Provider) + // or a random string (without Provider). + + + var baseId = Object(external_this_React_["useMemo"])(function () { + return options.baseId || generateId(); + }, [options.baseId, generateId]); + var id = options.id || htmlProps.id || "" + baseId + suffix; + return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, options, { + id: id + }); + }, + useProps: function useProps(options, htmlProps) { + var id = typeof htmlProps.id === "undefined" ? options.id : htmlProps.id; + return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, htmlProps, { + id: id + }); + } +}); +var unstable_Id = createComponent({ + as: "div", + useHook: unstable_useId +}); + + + +// CONCATENATED MODULE: ./node_modules/reakit/es/Rover/RoverState.js + + + + + + + +function RoverState_reducer(state, action) { + var stops = state.stops, + currentId = state.currentId, + pastId = state.unstable_pastId, + moves = state.unstable_moves, + loop = state.loop; + + switch (action.type) { + case "register": + { + var _id = action.id, + _ref = action.ref; + + if (stops.length === 0) { + return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { + stops: [{ + id: _id, + ref: _ref + }] + }); + } + + var index = stops.findIndex(function (stop) { + return stop.id === _id; + }); + + if (index >= 0) { + return state; + } + + var indexToInsertAt = stops.findIndex(function (stop) { + if (!stop.ref.current || !_ref.current) return false; // Return true if the new rover element is located earlier in the DOM + // than stop's element, else false: + + return Boolean(stop.ref.current.compareDocumentPosition(_ref.current) & Node.DOCUMENT_POSITION_PRECEDING); + }); // findIndex returns -1 when the new rover should be inserted + // at the end of stops (the compareDocumentPosition test + // always returns false in that case). + + if (indexToInsertAt === -1) { + return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { + stops: [].concat(stops, [{ + id: _id, + ref: _ref + }]) + }); + } + + return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { + stops: [].concat(stops.slice(0, indexToInsertAt), [{ + id: _id, + ref: _ref + }], stops.slice(indexToInsertAt)) + }); + } + + case "unregister": + { + var _id2 = action.id; + var nextStops = stops.filter(function (stop) { + return stop.id !== _id2; + }); + + if (nextStops.length === stops.length) { + false ? undefined : void 0; + return state; + } + + return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { + stops: nextStops, + unstable_pastId: pastId && pastId === _id2 ? null : pastId, + currentId: currentId && currentId === _id2 ? null : currentId + }); + } + + case "move": + { + var _id3 = action.id, + silent = action.silent; + var nextMoves = silent ? moves : moves + 1; + + if (_id3 === null) { + return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { + currentId: null, + unstable_pastId: currentId, + unstable_moves: nextMoves + }); + } + + var _index = stops.findIndex(function (stop) { + return stop.id === _id3; + }); // Item doesn't exist, so we don't count a move + + + if (_index === -1) { + return state; + } + + if (stops[_index].id === currentId) { + return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { + unstable_moves: nextMoves + }); + } + + return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { + currentId: stops[_index].id, + unstable_pastId: currentId, + unstable_moves: nextMoves + }); + } + + case "next": + { + if (currentId == null) { + return RoverState_reducer(state, { + type: "move", + id: stops[0] && stops[0].id + }); + } + + var _index2 = stops.findIndex(function (stop) { + return stop.id === currentId; + }); // If loop is truthy, turns [0, currentId, 2, 3] into [currentId, 2, 3, 0] + // Otherwise turns into [currentId, 2, 3] + + + var reorderedStops = [].concat(stops.slice(_index2 + 1), loop ? stops.slice(0, _index2) : []); + var nextIndex = reorderedStops.findIndex(function (stop) { + return stop.id === currentId; + }) + 1; + return RoverState_reducer(state, { + type: "move", + id: reorderedStops[nextIndex] && reorderedStops[nextIndex].id + }); + } + + case "previous": + { + var _reducer = RoverState_reducer(_rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { + stops: stops.slice().reverse() + }), { + type: "next" + }), + _ = _reducer.stops, + nextState = _rollupPluginBabelHelpers_f089acec_objectWithoutPropertiesLoose(_reducer, ["stops"]); + + return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, {}, nextState); + } + + case "first": + { + var stop = stops[0]; + return RoverState_reducer(state, { + type: "move", + id: stop && stop.id + }); + } + + case "last": + { + var _stop = stops[stops.length - 1]; + return RoverState_reducer(state, { + type: "move", + id: _stop && _stop.id + }); + } + + case "reset": + { + return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { + currentId: null, + unstable_pastId: null + }); + } + + case "orientate": + return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { + orientation: action.orientation + }); + + default: + throw new Error(); + } +} + +function useRoverState(initialState) { + if (initialState === void 0) { + initialState = {}; + } + + var _useSealedState = useSealedState(initialState), + orientation = _useSealedState.orientation, + _useSealedState$curre = _useSealedState.currentId, + currentId = _useSealedState$curre === void 0 ? null : _useSealedState$curre, + _useSealedState$loop = _useSealedState.loop, + loop = _useSealedState$loop === void 0 ? false : _useSealedState$loop, + sealed = _rollupPluginBabelHelpers_f089acec_objectWithoutPropertiesLoose(_useSealedState, ["orientation", "currentId", "loop"]); + + var _React$useReducer = Object(external_this_React_["useReducer"])(RoverState_reducer, { + orientation: orientation, + stops: [], + currentId: currentId, + unstable_pastId: null, + unstable_moves: 0, + loop: loop + }), + state = _React$useReducer[0], + dispatch = _React$useReducer[1]; + + var idState = unstable_useIdState(sealed); + return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, idState, {}, state, { + register: Object(external_this_React_["useCallback"])(function (id, ref) { + return dispatch({ + type: "register", + id: id, + ref: ref + }); + }, []), + unregister: Object(external_this_React_["useCallback"])(function (id) { + return dispatch({ + type: "unregister", + id: id + }); + }, []), + move: Object(external_this_React_["useCallback"])(function (id, silent) { + return dispatch({ + type: "move", + id: id, + silent: silent + }); + }, []), + next: Object(external_this_React_["useCallback"])(function () { + return dispatch({ + type: "next" + }); + }, []), + previous: Object(external_this_React_["useCallback"])(function () { + return dispatch({ + type: "previous" + }); + }, []), + first: Object(external_this_React_["useCallback"])(function () { + return dispatch({ + type: "first" + }); + }, []), + last: Object(external_this_React_["useCallback"])(function () { + return dispatch({ + type: "last" + }); + }, []), + unstable_reset: Object(external_this_React_["useCallback"])(function () { + return dispatch({ + type: "reset" + }); + }, []), + unstable_orientate: Object(external_this_React_["useCallback"])(function (o) { + return dispatch({ + type: "orientate", + orientation: o + }); + }, []) + }); +} +var RoverState_keys = [].concat(unstable_useIdState.__keys, ["orientation", "stops", "currentId", "unstable_pastId", "unstable_moves", "loop", "register", "unregister", "move", "next", "previous", "first", "last", "unstable_reset", "unstable_orientate"]); +useRoverState.__keys = RoverState_keys; + + + +// CONCATENATED MODULE: ./node_modules/reakit/es/Rover/Rover.js + + + + + + + + + + + + + + + + + + +var useRover = createHook({ + name: "Rover", + compose: [useTabbable, unstable_useId], + useState: useRoverState, + keys: ["stopId"], + useProps: function useProps(options, _ref) { + var htmlRef = _ref.ref, + _ref$tabIndex = _ref.tabIndex, + htmlTabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex, + htmlOnFocus = _ref.onFocus, + htmlOnKeyDown = _ref.onKeyDown, + htmlProps = _rollupPluginBabelHelpers_f089acec_objectWithoutPropertiesLoose(_ref, ["ref", "tabIndex", "onFocus", "onKeyDown"]); + + var ref = Object(external_this_React_["useRef"])(null); + var stopId = options.stopId || options.id || htmlProps.id; + var trulyDisabled = options.disabled && !options.focusable; + var noFocused = options.currentId == null; + var focused = options.currentId === stopId; + var isFirst = (options.stops || [])[0] && options.stops[0].id === stopId; + var shouldTabIndex = focused || isFirst && noFocused; + Object(external_this_React_["useEffect"])(function () { + if (trulyDisabled || !stopId) return undefined; + options.register && options.register(stopId, ref); + return function () { + return options.unregister && options.unregister(stopId); + }; + }, [stopId, trulyDisabled, options.register, options.unregister]); + Object(external_this_React_["useEffect"])(function () { + if (!ref.current) { + false ? undefined : void 0; + return; + } + + if (options.unstable_moves && focused && !hasFocusWithin(ref.current)) { + ref.current.focus(); + } + }, [focused, options.unstable_moves]); + var onFocus = Object(external_this_React_["useCallback"])(function (event) { + if (!stopId || !event.currentTarget.contains(event.target)) return; // this is already focused, so we move silently + + options.move(stopId, true); + }, [options.move, stopId]); + var onKeyDown = Object(external_this_React_["useMemo"])(function () { + return createOnKeyDown({ + onKeyDown: htmlOnKeyDown, + stopPropagation: true, + // Ignore portals + shouldKeyDown: function shouldKeyDown(event) { + return (// https://github.com/facebook/react/issues/11387 + event.currentTarget.contains(event.target) + ); + }, + keyMap: { + ArrowUp: options.orientation !== "horizontal" && options.previous, + ArrowRight: options.orientation !== "vertical" && options.next, + ArrowDown: options.orientation !== "horizontal" && options.next, + ArrowLeft: options.orientation !== "vertical" && options.previous, + Home: options.first, + End: options.last, + PageUp: options.first, + PageDown: options.last + } + }); + }, [htmlOnKeyDown, options.orientation, options.previous, options.next, options.first, options.last]); + return _rollupPluginBabelHelpers_f089acec_objectSpread2({ + ref: mergeRefs(ref, htmlRef), + id: stopId, + tabIndex: shouldTabIndex ? htmlTabIndex : -1, + onFocus: useAllCallbacks(onFocus, htmlOnFocus), + onKeyDown: onKeyDown + }, htmlProps); + } +}); +var Rover = createComponent({ + as: "button", + useHook: useRover +}); + + + +// CONCATENATED MODULE: ./node_modules/reakit/es/Toolbar/ToolbarState.js + + + + + + + + +function useToolbarState(initialState) { + if (initialState === void 0) { + initialState = {}; + } + + var _useSealedState = useSealedState(initialState), + _useSealedState$orien = _useSealedState.orientation, + orientation = _useSealedState$orien === void 0 ? "horizontal" : _useSealedState$orien, + sealed = _rollupPluginBabelHelpers_f089acec_objectWithoutPropertiesLoose(_useSealedState, ["orientation"]); + + return useRoverState(_rollupPluginBabelHelpers_f089acec_objectSpread2({ + orientation: orientation + }, sealed)); +} +var ToolbarState_keys = [].concat(useRoverState.__keys); +useToolbarState.__keys = ToolbarState_keys; + + + +// CONCATENATED MODULE: ./node_modules/reakit/es/Toolbar/ToolbarItem.js + + + + + + + + + + + + + + + + + + + + +var useToolbarItem = createHook({ + name: "ToolbarItem", + compose: useRover, + useState: useToolbarState +}); +var ToolbarItem = createComponent({ + as: "button", + useHook: useToolbarItem +}); + + + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-button/accessible-toolbar-button-container.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + + +function AccessibleToolbarButtonContainer(props) { + var accessibleToolbarState = Object(external_this_wp_element_["useContext"])(toolbar_context); + var childButton = external_this_wp_element_["Children"].only(props.children); // https://reakit.io/docs/composition/#props-hooks + + var itemHTMLProps = useToolbarItem(accessibleToolbarState, childButton.props); + return Object(external_this_wp_element_["createElement"])("div", props, Object(external_this_wp_element_["cloneElement"])(childButton, itemHTMLProps)); +} + +/* harmony default export */ var accessible_toolbar_button_container = (AccessibleToolbarButtonContainer); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-button/toolbar-button-container.js @@ -42437,6 +49101,11 @@ var toolbar_button_container_ToolbarButtonContainer = function ToolbarButtonCont * External dependencies */ +/** + * WordPress dependencies + */ + + /** * Internal dependencies */ @@ -42444,6 +49113,8 @@ var toolbar_button_container_ToolbarButtonContainer = function ToolbarButtonCont + + function ToolbarButton(_ref) { var containerClassName = _ref.containerClassName, icon = _ref.icon, @@ -42456,9 +49127,10 @@ function ToolbarButton(_ref) { isDisabled = _ref.isDisabled, extraProps = _ref.extraProps, children = _ref.children; - return Object(external_this_wp_element_["createElement"])(toolbar_button_container, { - className: containerClassName - }, Object(external_this_wp_element_["createElement"])(icon_button, Object(esm_extends["a" /* default */])({ + // It'll contain state if `ToolbarButton` is being used within + // `` + var accessibleToolbarState = Object(external_this_wp_element_["useContext"])(toolbar_context); + var button = Object(external_this_wp_element_["createElement"])(icon_button, Object(esm_extends["a" /* default */])({ icon: icon, label: title, shortcut: shortcut, @@ -42466,30 +49138,43 @@ function ToolbarButton(_ref) { onClick: function onClick(event) { event.stopPropagation(); - _onClick(); + if (_onClick) { + _onClick(event); + } }, className: classnames_default()('components-toolbar__control', className, { 'is-active': isActive }), "aria-pressed": isActive, disabled: isDisabled - }, extraProps)), children); + }, extraProps)); + + if (accessibleToolbarState) { + return Object(external_this_wp_element_["createElement"])(accessible_toolbar_button_container, { + className: containerClassName + }, button); + } // ToolbarButton is being used outside of the accessible Toolbar + + + return Object(external_this_wp_element_["createElement"])(toolbar_button_container, { + className: containerClassName + }, button, children); } /* harmony default export */ var toolbar_button = (ToolbarButton); -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar/toolbar-container.js +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-group/toolbar-group-container.js -var toolbar_container_ToolbarContainer = function ToolbarContainer(props) { +var toolbar_group_container_ToolbarGroupContainer = function ToolbarGroupContainer(props) { return Object(external_this_wp_element_["createElement"])("div", { className: props.className }, props.children); }; -/* harmony default export */ var toolbar_container = (toolbar_container_ToolbarContainer); +/* harmony default export */ var toolbar_group_container = (toolbar_group_container_ToolbarGroupContainer); -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar/index.js +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-group/toolbar-group-collapsed.js @@ -42498,6 +49183,10 @@ var toolbar_container_ToolbarContainer = function ToolbarContainer(props) { * External dependencies */ +/** + * WordPress dependencies + */ + /** * Internal dependencies @@ -42506,8 +49195,67 @@ var toolbar_container_ToolbarContainer = function ToolbarContainer(props) { +function ToolbarGroupCollapsed(_ref) { + var _ref$controls = _ref.controls, + controls = _ref$controls === void 0 ? [] : _ref$controls, + className = _ref.className, + icon = _ref.icon, + label = _ref.label, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["controls", "className", "icon", "label"]); + + // It'll contain state if `ToolbarGroup` is being used within + // `` + var accessibleToolbarState = Object(external_this_wp_element_["useContext"])(toolbar_context); + + var renderDropdownMenu = function renderDropdownMenu(toggleProps) { + return Object(external_this_wp_element_["createElement"])(dropdown_menu, Object(esm_extends["a" /* default */])({ + hasArrowIndicator: true, + icon: icon, + label: label, + controls: controls, + className: className, + toggleProps: toggleProps + }, props)); + }; + + if (accessibleToolbarState) { + return (// https://reakit.io/docs/composition/#render-props + Object(external_this_wp_element_["createElement"])(ToolbarItem, accessibleToolbarState, function (toolbarItemHTMLProps) { + return renderDropdownMenu(toolbarItemHTMLProps); + }) + ); + } + + return renderDropdownMenu(); +} + +/* harmony default export */ var toolbar_group_collapsed = (ToolbarGroupCollapsed); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-group/index.js + + + + /** - * Renders a toolbar with controls. + * External dependencies + */ + + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + + + + +/** + * Renders a collapsible group of controls * * The `controls` prop accepts an array of sets. A set is an array of controls. * Controls have the following shape: @@ -42529,29 +49277,36 @@ var toolbar_container_ToolbarContainer = function ToolbarContainer(props) { * Either `controls` or `children` is required, otherwise this components * renders nothing. * - * @param {Object} props - * @param {Array} [props.controls] The controls to render in this toolbar. - * @param {ReactElement} [props.children] Any other things to render inside the - * toolbar besides the controls. - * @param {string} [props.className] Class to set on the container div. - * - * @return {ReactElement} The rendered toolbar. + * @param {Object} props Component props. + * @param {Array} [props.controls] The controls to render in this toolbar. + * @param {WPElement} [props.children] Any other things to render inside the toolbar besides the controls. + * @param {string} [props.className] Class to set on the container div. + * @param {boolean} [props.isCollapsed] Turns ToolbarGroup into a dropdown menu. + * @param {WPBlockTypeIconRender} [props.icon] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element. + * @param {string} [props.label] The menu item text. */ -function Toolbar(_ref) { +function ToolbarGroup(_ref) { var _ref$controls = _ref.controls, controls = _ref$controls === void 0 ? [] : _ref$controls, children = _ref.children, className = _ref.className, isCollapsed = _ref.isCollapsed, icon = _ref.icon, - label = _ref.label, - otherProps = Object(objectWithoutProperties["a" /* default */])(_ref, ["controls", "children", "className", "isCollapsed", "icon", "label"]); + title = _ref.title, + otherProps = Object(objectWithoutProperties["a" /* default */])(_ref, ["controls", "children", "className", "isCollapsed", "icon", "title"]); + + // It'll contain state if `ToolbarGroup` is being used within + // `` + var accessibleToolbarState = Object(external_this_wp_element_["useContext"])(toolbar_context); if ((!controls || !controls.length) && !children) { return null; - } // Normalize controls to nested array of objects (sets of controls) + } + var finalClassName = classnames_default()( // Unfortunately, there's legacy code referencing to `.components-toolbar` + // So we can't get rid of it + accessibleToolbarState ? 'components-toolbar-group' : 'components-toolbar', className); // Normalize controls to nested array of objects (sets of controls) var controlSets = controls; @@ -42560,17 +49315,17 @@ function Toolbar(_ref) { } if (isCollapsed) { - return Object(external_this_wp_element_["createElement"])(dropdown_menu, { - hasArrowIndicator: true, + return Object(external_this_wp_element_["createElement"])(toolbar_group_collapsed, Object(esm_extends["a" /* default */])({ icon: icon, - label: label, + label: title, controls: controlSets, - className: classnames_default()('components-toolbar', className) - }); + className: finalClassName, + children: children + }, otherProps)); } - return Object(external_this_wp_element_["createElement"])(toolbar_container, Object(esm_extends["a" /* default */])({ - className: classnames_default()('components-toolbar', className) + return Object(external_this_wp_element_["createElement"])(toolbar_group_container, Object(esm_extends["a" /* default */])({ + className: finalClassName }, otherProps), Object(external_this_lodash_["flatMap"])(controlSets, function (controlSet, indexOfSet) { return controlSet.map(function (control, indexOfControl) { return Object(external_this_wp_element_["createElement"])(toolbar_button, Object(esm_extends["a" /* default */])({ @@ -42581,7 +49336,210 @@ function Toolbar(_ref) { }), children); } -/* harmony default export */ var toolbar = (Toolbar); +/* harmony default export */ var toolbar_group = (ToolbarGroup); + +// CONCATENATED MODULE: ./node_modules/reakit/es/Id/IdGroup.js + + + + + + + + + +var unstable_useIdGroup = createHook({ + name: "IdGroup", + compose: useBox, + useState: unstable_useIdState, + keys: ["id"], + useOptions: function useOptions(options, htmlProps) { + var generateId = Object(external_this_React_["useContext"])(unstable_IdContext); + + var _React$useState = Object(external_this_React_["useState"])(function () { + return options.id || htmlProps.id || options.baseId || generateId(); + }), + baseId = _React$useState[0]; // If there's useIdState and IdGroup has received a different id, then set + // the baseId on the state. + + + if (options.unstable_setBaseId && baseId !== options.baseId) { + options.unstable_setBaseId(baseId); + } + + return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, options, { + baseId: baseId + }); + }, + useProps: function useProps(options, htmlProps) { + var id = typeof htmlProps.id === "undefined" ? options.id : htmlProps.id; + return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, htmlProps, { + id: id + }); + } +}); +var unstable_IdGroup = createComponent({ + as: "div", + useHook: unstable_useIdGroup +}); + + + +// CONCATENATED MODULE: ./node_modules/reakit/es/Toolbar/Toolbar.js + + + + + + + + + + + + + + +var useToolbar = createHook({ + name: "Toolbar", + compose: unstable_useIdGroup, + useState: useToolbarState, + useProps: function useProps(options, htmlProps) { + return _rollupPluginBabelHelpers_f089acec_objectSpread2({ + role: "toolbar", + "aria-orientation": options.orientation + }, htmlProps); + } +}); +var Toolbar = createComponent({ + as: "div", + useHook: useToolbar, + useCreateElement: function useCreateElement$1(type, props, children) { + false ? undefined : void 0; + return useCreateElement_useCreateElement(type, props, children); + } +}); + + + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar/toolbar-container.js + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + + +function ToolbarContainer(_ref, ref) { + var accessibilityLabel = _ref.accessibilityLabel, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["accessibilityLabel"]); + + // https://reakit.io/docs/basic-concepts/#state-hooks + var toolbarState = useToolbarState({ + loop: true + }); + return (// This will provide state for `ToolbarButton`'s + Object(external_this_wp_element_["createElement"])(toolbar_context.Provider, { + value: toolbarState + }, Object(external_this_wp_element_["createElement"])(Toolbar, Object(esm_extends["a" /* default */])({ + ref: ref, + "aria-label": accessibilityLabel + }, toolbarState, props))) + ); +} + +/* harmony default export */ var toolbar_container = (Object(external_this_wp_element_["forwardRef"])(ToolbarContainer)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar/index.js + + + + +/** + * External dependencies + */ + +/** + * Internal dependencies + */ + + + +/** + * Renders a toolbar. + * + * To add controls, simply pass `ToolbarButton` components as children. + * + * @param {Object} props Component props. + * @param {string} [props.className] Class to set on the container div. + */ + +function toolbar_Toolbar(_ref) { + var className = _ref.className, + __experimentalAccessibilityLabel = _ref.__experimentalAccessibilityLabel, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["className", "__experimentalAccessibilityLabel"]); + + if (__experimentalAccessibilityLabel) { + return Object(external_this_wp_element_["createElement"])(toolbar_container // `ToolbarGroup` already uses components-toolbar for compatibility reasons + , Object(esm_extends["a" /* default */])({ + className: classnames_default()('components-accessible-toolbar', className), + accessibilityLabel: __experimentalAccessibilityLabel + }, props)); + } + + return Object(external_this_wp_element_["createElement"])(toolbar_group, Object(esm_extends["a" /* default */])({}, props, { + className: className + })); +} + +/* harmony default export */ var toolbar = (toolbar_Toolbar); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/index.js + + + +/** + * Internal dependencies + */ + + + + + + +function createSlotFill(name) { + var FillComponent = function FillComponent(props) { + return Object(external_this_wp_element_["createElement"])(slot_fill_fill, Object(esm_extends["a" /* default */])({ + name: name + }, props)); + }; + + FillComponent.displayName = name + 'Fill'; + + var SlotComponent = function SlotComponent(props) { + return Object(external_this_wp_element_["createElement"])(slot_fill_slot, Object(esm_extends["a" /* default */])({ + name: name + }, props)); + }; + + SlotComponent.displayName = name + 'Slot'; + return { + Fill: FillComponent, + Slot: SlotComponent + }; +} // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/navigate-regions/index.js @@ -42593,7 +49551,6 @@ function Toolbar(_ref) { - /** * External dependencies */ @@ -42640,7 +49597,7 @@ function Toolbar(_ref) { }, { key: "focusRegion", value: function focusRegion(offset) { - var regions = Object(toConsumableArray["a" /* default */])(this.container.querySelectorAll('[role="region"]')); + var regions = Array.from(this.container.querySelectorAll('[role="region"]')); if (!regions.length) { return; @@ -42657,16 +49614,21 @@ function Toolbar(_ref) { } nextRegion.focus(); - this.setState({ - isFocusingRegions: true - }); + + if (!this.state.isFocusingRegions) { + this.setState({ + isFocusingRegions: true + }); + } } }, { key: "onClick", value: function onClick() { - this.setState({ - isFocusingRegions: false - }); + if (this.state.isFocusingRegions) { + this.setState({ + isFocusingRegions: false + }); + } } }, { key: "render", @@ -42964,8 +49926,9 @@ var v4_default = /*#__PURE__*/__webpack_require__.n(v4); /** * Override the default edit UI to include notices if supported. * - * @param {Function|Component} OriginalComponent Original component. - * @return {Component} Wrapped component. + * @param {WPComponent} OriginalComponent Original component. + * + * @return {WPComponent} Wrapped component. */ /* harmony default export */ var with_notices = (Object(external_this_wp_compose_["createHigherOrderComponent"])(function (OriginalComponent) { @@ -43090,15 +50053,23 @@ var v4_default = /*#__PURE__*/__webpack_require__.n(v4); /* concated harmony reexport BaseControl */__webpack_require__.d(__webpack_exports__, "BaseControl", function() { return base_control; }); /* concated harmony reexport Button */__webpack_require__.d(__webpack_exports__, "Button", function() { return build_module_button; }); /* concated harmony reexport ButtonGroup */__webpack_require__.d(__webpack_exports__, "ButtonGroup", function() { return button_group; }); +/* concated harmony reexport Card */__webpack_require__.d(__webpack_exports__, "Card", function() { return card; }); +/* concated harmony reexport CardBody */__webpack_require__.d(__webpack_exports__, "CardBody", function() { return card_body; }); +/* concated harmony reexport CardDivider */__webpack_require__.d(__webpack_exports__, "CardDivider", function() { return divider; }); +/* concated harmony reexport CardFooter */__webpack_require__.d(__webpack_exports__, "CardFooter", function() { return footer; }); +/* concated harmony reexport CardHeader */__webpack_require__.d(__webpack_exports__, "CardHeader", function() { return card_header; }); +/* concated harmony reexport CardMedia */__webpack_require__.d(__webpack_exports__, "CardMedia", function() { return media; }); /* concated harmony reexport CheckboxControl */__webpack_require__.d(__webpack_exports__, "CheckboxControl", function() { return checkbox_control; }); /* concated harmony reexport ClipboardButton */__webpack_require__.d(__webpack_exports__, "ClipboardButton", function() { return clipboard_button; }); /* concated harmony reexport ColorIndicator */__webpack_require__.d(__webpack_exports__, "ColorIndicator", function() { return color_indicator; }); /* concated harmony reexport ColorPalette */__webpack_require__.d(__webpack_exports__, "ColorPalette", function() { return ColorPalette; }); /* concated harmony reexport ColorPicker */__webpack_require__.d(__webpack_exports__, "ColorPicker", function() { return color_picker_ColorPicker; }); +/* concated harmony reexport CustomSelectControl */__webpack_require__.d(__webpack_exports__, "CustomSelectControl", function() { return CustomSelectControl; }); /* concated harmony reexport Dashicon */__webpack_require__.d(__webpack_exports__, "Dashicon", function() { return dashicon_Dashicon; }); /* concated harmony reexport DateTimePicker */__webpack_require__.d(__webpack_exports__, "DateTimePicker", function() { return date_time_DateTimePicker; }); /* concated harmony reexport DatePicker */__webpack_require__.d(__webpack_exports__, "DatePicker", function() { return date_time_date; }); /* concated harmony reexport TimePicker */__webpack_require__.d(__webpack_exports__, "TimePicker", function() { return time; }); +/* concated harmony reexport __experimentalDimensionControl */__webpack_require__.d(__webpack_exports__, "__experimentalDimensionControl", function() { return dimension_control; }); /* concated harmony reexport Disabled */__webpack_require__.d(__webpack_exports__, "Disabled", function() { return build_module_disabled; }); /* concated harmony reexport Draggable */__webpack_require__.d(__webpack_exports__, "Draggable", function() { return draggable; }); /* concated harmony reexport DropZone */__webpack_require__.d(__webpack_exports__, "DropZone", function() { return drop_zone; }); @@ -43112,6 +50083,10 @@ var v4_default = /*#__PURE__*/__webpack_require__.n(v4); /* concated harmony reexport FormFileUpload */__webpack_require__.d(__webpack_exports__, "FormFileUpload", function() { return form_file_upload; }); /* concated harmony reexport FormToggle */__webpack_require__.d(__webpack_exports__, "FormToggle", function() { return form_toggle; }); /* concated harmony reexport FormTokenField */__webpack_require__.d(__webpack_exports__, "FormTokenField", function() { return form_token_field; }); +/* concated harmony reexport __experimentalGradientPicker */__webpack_require__.d(__webpack_exports__, "__experimentalGradientPicker", function() { return GradientPicker; }); +/* concated harmony reexport __experimentalCustomGradientPicker */__webpack_require__.d(__webpack_exports__, "__experimentalCustomGradientPicker", function() { return CustomGradientPicker; }); +/* concated harmony reexport Guide */__webpack_require__.d(__webpack_exports__, "Guide", function() { return Guide; }); +/* concated harmony reexport GuidePage */__webpack_require__.d(__webpack_exports__, "GuidePage", function() { return GuidePage; }); /* concated harmony reexport Icon */__webpack_require__.d(__webpack_exports__, "Icon", function() { return build_module_icon; }); /* concated harmony reexport IconButton */__webpack_require__.d(__webpack_exports__, "IconButton", function() { return icon_button; }); /* concated harmony reexport KeyboardShortcuts */__webpack_require__.d(__webpack_exports__, "KeyboardShortcuts", function() { return keyboard_shortcuts; }); @@ -43143,17 +50118,21 @@ var v4_default = /*#__PURE__*/__webpack_require__.n(v4); /* concated harmony reexport TabPanel */__webpack_require__.d(__webpack_exports__, "TabPanel", function() { return tab_panel; }); /* concated harmony reexport TextControl */__webpack_require__.d(__webpack_exports__, "TextControl", function() { return text_control; }); /* concated harmony reexport TextareaControl */__webpack_require__.d(__webpack_exports__, "TextareaControl", function() { return textarea_control; }); +/* concated harmony reexport TextHighlight */__webpack_require__.d(__webpack_exports__, "TextHighlight", function() { return text_highlight; }); /* concated harmony reexport Tip */__webpack_require__.d(__webpack_exports__, "Tip", function() { return tip; }); /* concated harmony reexport ToggleControl */__webpack_require__.d(__webpack_exports__, "ToggleControl", function() { return toggle_control; }); /* concated harmony reexport Toolbar */__webpack_require__.d(__webpack_exports__, "Toolbar", function() { return toolbar; }); /* concated harmony reexport ToolbarButton */__webpack_require__.d(__webpack_exports__, "ToolbarButton", function() { return toolbar_button; }); +/* concated harmony reexport ToolbarGroup */__webpack_require__.d(__webpack_exports__, "ToolbarGroup", function() { return toolbar_group; }); /* concated harmony reexport Tooltip */__webpack_require__.d(__webpack_exports__, "Tooltip", function() { return build_module_tooltip; }); /* concated harmony reexport TreeSelect */__webpack_require__.d(__webpack_exports__, "TreeSelect", function() { return TreeSelect; }); +/* concated harmony reexport VisuallyHidden */__webpack_require__.d(__webpack_exports__, "VisuallyHidden", function() { return visually_hidden; }); /* concated harmony reexport IsolatedEventContainer */__webpack_require__.d(__webpack_exports__, "IsolatedEventContainer", function() { return isolated_event_container; }); /* concated harmony reexport createSlotFill */__webpack_require__.d(__webpack_exports__, "createSlotFill", function() { return createSlotFill; }); /* concated harmony reexport Slot */__webpack_require__.d(__webpack_exports__, "Slot", function() { return slot_fill_slot; }); /* concated harmony reexport Fill */__webpack_require__.d(__webpack_exports__, "Fill", function() { return slot_fill_fill; }); /* concated harmony reexport SlotFillProvider */__webpack_require__.d(__webpack_exports__, "SlotFillProvider", function() { return slot_fill_context; }); +/* concated harmony reexport __experimentalSlotFillConsumer */__webpack_require__.d(__webpack_exports__, "__experimentalSlotFillConsumer", function() { return context_Consumer; }); /* concated harmony reexport navigateRegions */__webpack_require__.d(__webpack_exports__, "navigateRegions", function() { return navigate_regions; }); /* concated harmony reexport withConstrainedTabbing */__webpack_require__.d(__webpack_exports__, "withConstrainedTabbing", function() { return with_constrained_tabbing; }); /* concated harmony reexport withFallbackStyles */__webpack_require__.d(__webpack_exports__, "withFallbackStyles", function() { return with_fallback_styles; }); @@ -43211,6 +50190,21 @@ var v4_default = /*#__PURE__*/__webpack_require__.n(v4); + + + + + + + + + + + + + + + diff --git a/wp-includes/js/dist/components.min.js b/wp-includes/js/dist/components.min.js index f859b60918..0f3d7afeb2 100644 --- a/wp-includes/js/dist/components.min.js +++ b/wp-includes/js/dist/components.min.js @@ -1,17 +1,25 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.components=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=343)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.lodash}()},,,function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(10);function o(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},function(e,t){!function(){e.exports=this.wp.richText}()},function(e,t,n){"use strict";var r=n(38);var o=n(39);function a(e,t){return Object(r.a)(e)||function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}(e,t)||Object(o.a)()}n.d(t,"a",(function(){return a}))},,function(e,t){!function(){e.exports=this.wp.dom}()},,function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.moment}()},function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}n.d(t,"a",(function(){return o}))},,function(e,t,n){e.exports=n(86)()},,,,function(e,t){!function(){e.exports=this.wp.deprecated}()},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DISPLAY_FORMAT="L",t.ISO_FORMAT="YYYY-MM-DD",t.ISO_MONTH_FORMAT="YYYY-MM",t.START_DATE="startDate",t.END_DATE="endDate",t.HORIZONTAL_ORIENTATION="horizontal",t.VERTICAL_ORIENTATION="vertical",t.VERTICAL_SCROLLABLE="verticalScrollable",t.ICON_BEFORE_POSITION="before",t.ICON_AFTER_POSITION="after",t.INFO_POSITION_TOP="top",t.INFO_POSITION_BOTTOM="bottom",t.INFO_POSITION_BEFORE="before",t.INFO_POSITION_AFTER="after",t.ANCHOR_LEFT="left",t.ANCHOR_RIGHT="right",t.OPEN_DOWN="down",t.OPEN_UP="up",t.DAY_SIZE=39,t.BLOCKED_MODIFIER="blocked",t.WEEKDAYS=[0,1,2,3,4,5,6],t.FANG_WIDTH_PX=20,t.FANG_HEIGHT_PX=10,t.DEFAULT_VERTICAL_SPACING=22,t.MODIFIER_KEY_NAMES=new Set(["Shift","Control","Alt","Meta"])},function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},,function(e,t,n){"use strict";function r(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function s(e){r(i,o,a,s,c,"next",e)}function c(e){r(i,o,a,s,c,"throw",e)}s(void 0)}))}}n.d(t,"a",(function(){return o}))},,function(e,t){!function(){e.exports=this.wp.a11y}()},function(e,t,n){e.exports=n(271)},function(e,t,n){var r;!function(o){var a=/^\s+/,i=/\s+$/,s=0,c=o.round,l=o.min,u=o.max,d=o.random;function h(e,t){if(t=t||{},(e=e||"")instanceof h)return e;if(!(this instanceof h))return new h(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,c=null,d=!1,h=!1;"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(i,"").toLowerCase();var t,n=!1;if(E[e])e=E[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=K.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=K.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=K.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=K.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=K.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=K.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=K.hex8.exec(e))return{r:N(t[1]),g:N(t[2]),b:N(t[3]),a:L(t[4]),format:n?"name":"hex8"};if(t=K.hex6.exec(e))return{r:N(t[1]),g:N(t[2]),b:N(t[3]),format:n?"name":"hex"};if(t=K.hex4.exec(e))return{r:N(t[1]+""+t[1]),g:N(t[2]+""+t[2]),b:N(t[3]+""+t[3]),a:L(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=K.hex3.exec(e))return{r:N(t[1]+""+t[1]),g:N(t[2]+""+t[2]),b:N(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(W(e.r)&&W(e.g)&&W(e.b)?(f=e.r,p=e.g,b=e.b,t={r:255*I(f,255),g:255*I(p,255),b:255*I(b,255)},d=!0,h="%"===String(e.r).substr(-1)?"prgb":"rgb"):W(e.h)&&W(e.s)&&W(e.v)?(r=H(e.s),s=H(e.v),t=function(e,t,n){e=6*I(e,360),t=I(t,100),n=I(n,100);var r=o.floor(e),a=e-r,i=n*(1-t),s=n*(1-a*t),c=n*(1-(1-a)*t),l=r%6;return{r:255*[n,s,i,i,c,n][l],g:255*[c,n,n,s,i,i][l],b:255*[i,i,c,n,n,s][l]}}(e.h,r,s),d=!0,h="hsv"):W(e.h)&&W(e.s)&&W(e.l)&&(r=H(e.s),c=H(e.l),t=function(e,t,n){var r,o,a;function i(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=I(e,360),t=I(t,100),n=I(n,100),0===t)r=o=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=i(c,s,e+1/3),o=i(c,s,e),a=i(c,s,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,r,c),d=!0,h="hsl"),e.hasOwnProperty("a")&&(n=e.a));var f,p,b;return n=z(n),{ok:d,format:e.format||h,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=c(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=n.ok,this._tc_id=s++}function f(e,t,n){e=I(e,255),t=I(t,255),n=I(n,255);var r,o,a=u(e,t,n),i=l(e,t,n),s=(a+i)/2;if(a==i)r=o=0;else{var c=a-i;switch(o=s>.5?c/(2-a-i):c/(a+i),a){case e:r=(t-n)/c+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(h(r));return a}function P(e,t){t=t||6;for(var n=h(e).toHsv(),r=n.h,o=n.s,a=n.v,i=[],s=1/t;t--;)i.push(h({h:r,s:o,v:a})),a=(a+s)%1;return i}h.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=z(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return b(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var a=[A(c(e).toString(16)),A(c(t).toString(16)),A(c(n).toString(16)),A(R(r))];if(o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*I(this._r,255))+"%",g:c(100*I(this._g,255))+"%",b:c(100*I(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*I(this._r,255))+"%, "+c(100*I(this._g,255))+"%, "+c(100*I(this._b,255))+"%)":"rgba("+c(100*I(this._r,255))+"%, "+c(100*I(this._g,255))+"%, "+c(100*I(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=h(e);n="#"+v(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return h(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(O,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(y,arguments)},saturate:function(){return this._applyModification(m,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(D,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(j,arguments)},triad:function(){return this._applyCombination(S,arguments)},tetrad:function(){return this._applyCombination(M,arguments)}},h.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:H(e[r]));e=n}return h(e,t)},h.equals=function(e,t){return!(!e||!t)&&h(e).toRgbString()==h(t).toRgbString()},h.random=function(){return h.fromRatio({r:d(),g:d(),b:d()})},h.mix=function(e,t,n){n=0===n?0:n||50;var r=h(e).toRgb(),o=h(t).toRgb(),a=n/100;return h({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},h.readability=function(e,t){var n=h(e),r=h(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},h.isReadable=function(e,t,n){var r,o,a=h.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},h.mostReadable=function(e,t,n){var r,o,a,i,s=null,c=0;o=(n=n||{}).includeFallbackColors,a=n.level,i=n.size;for(var l=0;lc&&(c=r,s=h(t[l]));return h.isReadable(e,s,{level:a,size:i})||!o?s:(n.includeFallbackColors=!1,h.mostReadable(e,["#fff","#000"],n))};var E=h.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},T=h.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(E);function z(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function I(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function x(e){return l(1,u(0,e))}function N(e){return parseInt(e,16)}function A(e){return 1==e.length?"0"+e:""+e}function H(e){return e<=1&&(e=100*e+"%"),e}function R(e){return o.round(255*parseFloat(e)).toString(16)}function L(e){return N(e)/255}var F,V,B,K=(V="[\\s|\\(]+("+(F="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",B="[\\s|\\(]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",{CSS_UNIT:new RegExp(F),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function W(e){return!!K.CSS_UNIT.exec(e)}e.exports?e.exports=h:void 0===(r=function(){return h}.call(t,n,t,e))||(e.exports=r)}(Math)},function(e,t,n){"use strict";var r=n(54),o=n(169),a=n(170),i=n(267),s=a();r(s,{getPolyfill:a,implementation:o,shim:i}),e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="Interact with the calendar and add the check-in date for your trip.",o="Move backward to switch to the previous month.",a="Move forward to switch to the next month.",i="page up and page down keys",s="Home and end keys",c="Escape key",l="Select the date in focus.",u="Move backward (left) and forward (right) by one day.",d="Move backward (up) and forward (down) by one week.",h="Return to the date input field.",f="Press the down arrow key to interact with the calendar and\n select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",p=function(e){var t=e.date;return"Choose "+String(t)+" as your check-in date. It’s available."},b=function(e){var t=e.date;return"Choose "+String(t)+" as your check-out date. It’s available."},v=function(e){return e.date},y=function(e){var t=e.date;return"Not available. "+String(t)},m=function(e){var t=e.date;return"Selected. "+String(t)};t.default={calendarLabel:"Calendar",closeDatePicker:"Close",focusStartDate:r,clearDate:"Clear Date",clearDates:"Clear Dates",jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,keyboardNavigationInstructions:f,chooseAvailableStartDate:p,chooseAvailableEndDate:b,dateIsUnavailable:y,dateIsSelected:m};t.DateRangePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDates:"Clear Dates",focusStartDate:r,jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,keyboardNavigationInstructions:f,chooseAvailableStartDate:p,chooseAvailableEndDate:b,dateIsUnavailable:y,dateIsSelected:m},t.DateRangePickerInputPhrases={focusStartDate:r,clearDates:"Clear Dates",keyboardNavigationInstructions:f},t.SingleDatePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDate:"Clear Date",jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,keyboardNavigationInstructions:f,chooseAvailableDate:v,dateIsUnavailable:y,dateIsSelected:m},t.SingleDatePickerInputPhrases={clearDate:"Clear Date",keyboardNavigationInstructions:f},t.DayPickerPhrases={calendarLabel:"Calendar",jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,chooseAvailableStartDate:p,chooseAvailableEndDate:b,chooseAvailableDate:v,dateIsUnavailable:y,dateIsSelected:m},t.DayPickerKeyboardShortcutsPhrases={keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h},t.DayPickerNavigationPhrases={jumpToPrevMonth:o,jumpToNextMonth:a},t.CalendarDayPhrases={chooseAvailableDate:v,dateIsUnavailable:y,dateIsSelected:m}},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).reduce((function(e,t){return(0,r.default)({},e,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},t,o.default.oneOfType([o.default.string,o.default.func,o.default.node])))}),{})};var r=a(n(48)),o=a(n(33));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var r=n(89),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),a=Object.prototype.toString,i=Array.prototype.concat,s=Object.defineProperty,c=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),l=function(e,t,n,r){var o;t in e&&("function"!=typeof(o=r)||"[object Function]"!==a.call(o)||!r())||(c?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},a=r(t);o&&(a=i.call(a,Object.getOwnPropertySymbols(t)));for(var s=0;s1&&void 0!==arguments[1]?arguments[1]:{},n=t.stylesPropName,s=void 0===n?"styles":n,u=t.themePropName,h=void 0===u?"theme":u,p=t.cssPropName,m=void 0===p?"css":p,g=t.flushBefore,O=void 0!==g&&g,k=t.pureComponent,_=void 0!==k&&k,w=void 0,D=void 0,S=void 0,M=void 0,j=function(e){if(e){if(!i.default.PureComponent)throw new ReferenceError("withStyles() pureComponent option requires React 15.3.0 or later");return i.default.PureComponent}return i.default.Component}(_);function C(e){return e===l.DIRECTIONS.LTR?d.default.resolveLTR:d.default.resolveRTL}function P(t,n){var r=function(e){return e===l.DIRECTIONS.LTR?S:M}(t),o=t===l.DIRECTIONS.LTR?w:D,a=d.default.get();return o&&r===a?o:(t===l.DIRECTIONS.RTL?(D=e?d.default.createRTL(e):b,M=a,o=D):(w=e?d.default.createLTR(e):b,S=a,o=w),o)}function E(e,t){return{resolveMethod:C(e),styleDef:P(e)}}return function(e){var t=e.displayName||e.name||"Component",n=function(t){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t)),o=r.context[l.CHANNEL]?r.context[l.CHANNEL].getState():y;return r.state=E(o),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),o(n,[{key:"componentDidMount",value:function(){var e=this;this.context[l.CHANNEL]&&(this.channelUnsubscribe=this.context[l.CHANNEL].subscribe((function(t){e.setState(E(t))})))}},{key:"componentWillUnmount",value:function(){this.channelUnsubscribe&&this.channelUnsubscribe()}},{key:"render",value:function(){var t;O&&d.default.flush();var n=this.state,o=n.resolveMethod,a=n.styleDef;return i.default.createElement(e,r({},this.props,(f(t={},h,d.default.get()),f(t,s,a()),f(t,m,o),t)))}}]),n}(j);return n.WrappedComponent=e,n.displayName="withStyles("+String(t)+")",n.contextTypes=v,e.propTypes&&(n.propTypes=(0,a.default)({},e.propTypes),delete n.propTypes[s],delete n.propTypes[h],delete n.propTypes[m]),e.defaultProps&&(n.defaultProps=(0,a.default)({},e.defaultProps)),(0,c.default)(n,e)}};var a=h(n(48)),i=h(n(28)),s=h(n(33)),c=h(n(272)),l=n(275),u=h(n(276)),d=h(n(167));function h(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.css=d.default.resolveLTR,t.withStylesPropTypes={styles:s.default.object.isRequired,theme:s.default.object.isRequired,css:s.default.func.isRequired};var p={},b=function(){return p};var v=f({},l.CHANNEL,u.default),y=l.DIRECTIONS.LTR},function(e,t){!function(){e.exports=this.ReactDOM}()},,function(e,t,n){"use strict";var r=n(244);e.exports=Function.prototype.bind||r},function(e,t,n){"use strict";var r=TypeError,o=Object.getOwnPropertyDescriptor?function(){return Object.getOwnPropertyDescriptor(arguments,"callee").get}():function(){throw new r},a=n(99)(),i=Object.getPrototypeOf||function(e){return e.__proto__},s=void 0,c="undefined"==typeof Uint8Array?void 0:i(Uint8Array),l={"$ %Array%":Array,"$ %ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"$ %ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"$ %ArrayIteratorPrototype%":a?i([][Symbol.iterator]()):void 0,"$ %ArrayPrototype%":Array.prototype,"$ %ArrayProto_entries%":Array.prototype.entries,"$ %ArrayProto_forEach%":Array.prototype.forEach,"$ %ArrayProto_keys%":Array.prototype.keys,"$ %ArrayProto_values%":Array.prototype.values,"$ %AsyncFromSyncIteratorPrototype%":void 0,"$ %AsyncFunction%":void 0,"$ %AsyncFunctionPrototype%":void 0,"$ %AsyncGenerator%":void 0,"$ %AsyncGeneratorFunction%":void 0,"$ %AsyncGeneratorPrototype%":void 0,"$ %AsyncIteratorPrototype%":s&&a&&Symbol.asyncIterator?s[Symbol.asyncIterator]():void 0,"$ %Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"$ %Boolean%":Boolean,"$ %BooleanPrototype%":Boolean.prototype,"$ %DataView%":"undefined"==typeof DataView?void 0:DataView,"$ %DataViewPrototype%":"undefined"==typeof DataView?void 0:DataView.prototype,"$ %Date%":Date,"$ %DatePrototype%":Date.prototype,"$ %decodeURI%":decodeURI,"$ %decodeURIComponent%":decodeURIComponent,"$ %encodeURI%":encodeURI,"$ %encodeURIComponent%":encodeURIComponent,"$ %Error%":Error,"$ %ErrorPrototype%":Error.prototype,"$ %eval%":eval,"$ %EvalError%":EvalError,"$ %EvalErrorPrototype%":EvalError.prototype,"$ %Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"$ %Float32ArrayPrototype%":"undefined"==typeof Float32Array?void 0:Float32Array.prototype,"$ %Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"$ %Float64ArrayPrototype%":"undefined"==typeof Float64Array?void 0:Float64Array.prototype,"$ %Function%":Function,"$ %FunctionPrototype%":Function.prototype,"$ %Generator%":void 0,"$ %GeneratorFunction%":void 0,"$ %GeneratorPrototype%":void 0,"$ %Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"$ %Int8ArrayPrototype%":"undefined"==typeof Int8Array?void 0:Int8Array.prototype,"$ %Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"$ %Int16ArrayPrototype%":"undefined"==typeof Int16Array?void 0:Int8Array.prototype,"$ %Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"$ %Int32ArrayPrototype%":"undefined"==typeof Int32Array?void 0:Int32Array.prototype,"$ %isFinite%":isFinite,"$ %isNaN%":isNaN,"$ %IteratorPrototype%":a?i(i([][Symbol.iterator]())):void 0,"$ %JSON%":JSON,"$ %JSONParse%":JSON.parse,"$ %Map%":"undefined"==typeof Map?void 0:Map,"$ %MapIteratorPrototype%":"undefined"!=typeof Map&&a?i((new Map)[Symbol.iterator]()):void 0,"$ %MapPrototype%":"undefined"==typeof Map?void 0:Map.prototype,"$ %Math%":Math,"$ %Number%":Number,"$ %NumberPrototype%":Number.prototype,"$ %Object%":Object,"$ %ObjectPrototype%":Object.prototype,"$ %ObjProto_toString%":Object.prototype.toString,"$ %ObjProto_valueOf%":Object.prototype.valueOf,"$ %parseFloat%":parseFloat,"$ %parseInt%":parseInt,"$ %Promise%":"undefined"==typeof Promise?void 0:Promise,"$ %PromisePrototype%":"undefined"==typeof Promise?void 0:Promise.prototype,"$ %PromiseProto_then%":"undefined"==typeof Promise?void 0:Promise.prototype.then,"$ %Promise_all%":"undefined"==typeof Promise?void 0:Promise.all,"$ %Promise_reject%":"undefined"==typeof Promise?void 0:Promise.reject,"$ %Promise_resolve%":"undefined"==typeof Promise?void 0:Promise.resolve,"$ %Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"$ %RangeError%":RangeError,"$ %RangeErrorPrototype%":RangeError.prototype,"$ %ReferenceError%":ReferenceError,"$ %ReferenceErrorPrototype%":ReferenceError.prototype,"$ %Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"$ %RegExp%":RegExp,"$ %RegExpPrototype%":RegExp.prototype,"$ %Set%":"undefined"==typeof Set?void 0:Set,"$ %SetIteratorPrototype%":"undefined"!=typeof Set&&a?i((new Set)[Symbol.iterator]()):void 0,"$ %SetPrototype%":"undefined"==typeof Set?void 0:Set.prototype,"$ %SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"$ %SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"$ %String%":String,"$ %StringIteratorPrototype%":a?i(""[Symbol.iterator]()):void 0,"$ %StringPrototype%":String.prototype,"$ %Symbol%":a?Symbol:void 0,"$ %SymbolPrototype%":a?Symbol.prototype:void 0,"$ %SyntaxError%":SyntaxError,"$ %SyntaxErrorPrototype%":SyntaxError.prototype,"$ %ThrowTypeError%":o,"$ %TypedArray%":c,"$ %TypedArrayPrototype%":c?c.prototype:void 0,"$ %TypeError%":r,"$ %TypeErrorPrototype%":r.prototype,"$ %Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"$ %Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?void 0:Uint8Array.prototype,"$ %Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"$ %Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"$ %Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"$ %Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?void 0:Uint16Array.prototype,"$ %Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"$ %Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?void 0:Uint32Array.prototype,"$ %URIError%":URIError,"$ %URIErrorPrototype%":URIError.prototype,"$ %WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"$ %WeakMapPrototype%":"undefined"==typeof WeakMap?void 0:WeakMap.prototype,"$ %WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"$ %WeakSetPrototype%":"undefined"==typeof WeakSet?void 0:WeakSet.prototype},u=n(58).call(Function.call,String.prototype.replace),d=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,h=/\\(\\)?/g,f=function(e){var t=[];return u(e,d,(function(e,n,r,o){t[t.length]=r?u(o,h,"$1"):n||e})),t},p=function(e,t){var n="$ "+e;if(!(n in l))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===l[n]&&!t)throw new r("intrinsic "+e+" exists, but is not available. Please file an issue!");return l[n]};e.exports=function(e,t){if(arguments.length>1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');var n=f(e);if(0===n.length)return p(e,t);for(var r=p("%"+n[0]+"%",t),o=1;o1?t-1:0),r=1;r=n.length)break;a=n[o++]}else{if((o=n.next()).done)break;a=o.value}for(var i=a,s=!1,c=0;c=f.startTime+l.duration;else if(l.decay)v=p+g/(1-.998)*(1-Math.exp(-(1-.998)*(t-f.startTime))),(u=Math.abs(f.lastPosition-v)<.1)&&(b=v);else{d=void 0!==f.lastTime?f.lastTime:t,g=void 0!==f.lastVelocity?f.lastVelocity:l.initialVelocity,t>d+64&&(d=t);for(var O=Math.floor(t-d),k=0;kb:v=e);++n);return n-1}(e,a);return function(e,t,n,r,o,a,i,s,c){var l=c?c(e):e;if(ln){if("identity"===s)return l;"clamp"===s&&(l=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=a(l),r===-1/0?l=-l:o===1/0?l+=r:l=l*(o-r)+r;return l}(e,a[t],a[t+1],o[t],o[t+1],c,i,s,r.map)}}var F=function(e){function t(n,r,o,a){var i;return(i=e.call(this)||this).calc=void 0,i.payload=n instanceof g&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],i.calc=L(r,o,a),i}c(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t,n){this.calc=L(e,t,n)},n.interpolate=function(e,n,r){return new t(this,e,n,r)},t}(g);var V=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}c(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t,n){return new F(this,e,t,n)},t}(m),B=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new V(e)})),n}c(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new F(this,e,t)},t}(g),K=0,W=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=K++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=b(e),n=t.delay,r=void 0===n?0:n,i=t.to,s=a(t,["delay","to"]);if(u.arr(i)||u.fun(i))this.queue.push(o({},s,{delay:r,to:i}));else if(i){var c={};Object.entries(i).forEach((function(e){var t,n=e[0],a=e[1],i=o({to:(t={},t[n]=a,t),delay:p(r,n)},s),l=c[i.delay]&&c[i.delay].to;c[i.delay]=o({},c[i.delay],i,{to:o({},l,i.to)})})),this.queue=Object.values(c)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(s),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,a=e.to,i=void 0===a?{}:a;u.obj(r)&&(n.merged=o({},r,n.merged)),u.obj(i)&&(n.merged=o({},n.merged,i))}));var r=this.local=++this.guid,i=this.localQueue=this.queue;this.queue=[],i.forEach((function(t,o){var s=t.delay,c=a(t,["delay"]),l=function(t){o===i.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},d=u.arr(c.to)||u.fun(c.to);s?setTimeout((function(){r===n.guid&&(d?n.runAsync(c,l):n.diff(c).start(l))}),s):d?n.runAsync(c,l):n.diff(c).start(l)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,H.has(t)||H.add(t),A||(A=!0,D(T||R));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,H.has(t)&&H.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,a(e,["delay"])),i=this.local,s=Promise.resolve(void 0);if(u.arr(r.to))for(var c=function(e){var t=e,a=o({},r,b(r.to[t]));u.arr(a.config)&&(a.config=a.config[t]),s=s.then((function(){if(i===n.guid)return new Promise((function(e){return n.diff(a).start(e)}))}))},l=0;l=r.length)return"break";i=r[a++]}else{if((a=r.next()).done)return"break";i=a.value}var n=i.key,s=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(s),e.current.deleted=e.current.deleted.filter(s))},r=e.current.deleted,o=Array.isArray(r),a=0;for(r=o?r:r[Symbol.iterator]();;){var i;if("break"===n())break}e.current.forceUpdate()}var J=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof m||(t=v.transform(t)),n.payload=t,n}return c(t,e),t}(O),ee={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},te="[-+]?\\d*\\.?\\d+",ne=te+"%";function re(){for(var e=arguments.length,t=new Array(e),n=0;n1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function fe(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,a=he(o,r,e+1/3),i=he(o,r,e),s=he(o,r,e-1/3);return Math.round(255*a)<<24|Math.round(255*i)<<16|Math.round(255*s)<<8}function pe(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function be(e){return(parseFloat(e)%360+360)%360/360}function ve(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ye(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function me(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ue.exec(t))?parseInt(n[1]+"ff",16)>>>0:ee.hasOwnProperty(t)?ee[t]:(n=oe.exec(t))?(pe(n[1])<<24|pe(n[2])<<16|pe(n[3])<<8|255)>>>0:(n=ae.exec(t))?(pe(n[1])<<24|pe(n[2])<<16|pe(n[3])<<8|ve(n[4]))>>>0:(n=ce.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=de.exec(t))?parseInt(n[1],16)>>>0:(n=le.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ie.exec(t))?(255|fe(be(n[1]),ye(n[2]),ye(n[3])))>>>0:(n=se.exec(t))?(fe(be(n[1]),ye(n[2]),ye(n[3]))|ve(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var ge=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Oe=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ke=new RegExp("("+Object.keys(ee).join("|")+")","g"),_e={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},we=["Webkit","Ms","Moz","O"];function De(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||_e.hasOwnProperty(e)&&_e[e]?(""+t).trim():t+"px"}_e=Object.keys(_e).reduce((function(e,t){return we.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),_e);var Se={};I((function(e){return new J(e)})),P("div"),M((function(e){var t=e.output.map((function(e){return e.replace(Oe,me)})).map((function(e){return e.replace(ke,me)})),n=t[0].match(ge).map((function(){return[]}));t.forEach((function(e){e.match(ge).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(ge).map((function(t,r){return L(o({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(ge,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,o){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+o+")"}))}})),_(ee),k((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,i=t.scrollLeft,s=a(t,["style","children","scrollTop","scrollLeft"]),c="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var l in void 0!==o&&(e.scrollTop=o),void 0!==i&&(e.scrollLeft=i),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(l)){var u=0===l.indexOf("--"),d=De(l,n[l],u);"float"===l&&(l="cssFloat"),u?e.style.setProperty(l,d):e.style[l]=d}for(var h in s){var f=c?h:Se[h]||(Se[h]=h.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(f)&&e.setAttribute(f,s[h])}}),(function(e){return e}));var Me,je,Ce=(Me=function(e){return i.forwardRef((function(t,n){var r=d(),c=i.useRef(!0),l=i.useRef(null),h=i.useRef(null),f=i.useCallback((function(e){var t=l.current;l.current=new N(e,(function(){var e=!1;h.current&&(e=v.fn(h.current,l.current.getAnimatedValue())),h.current&&!1!==e||r()})),t&&t.detach()}),[]);i.useEffect((function(){return function(){c.current=!1,l.current&&l.current.detach()}}),[]),i.useImperativeHandle(n,(function(){return z(h,c,r)})),f(t);var p,b=l.current.getValue(),y=(b.scrollTop,b.scrollLeft,a(b,["scrollTop","scrollLeft"])),m=(p=e,!u.fun(p)||p.prototype instanceof s.Component?function(e){return h.current=function(e,t){return t&&(u.fun(t)?t(e):u.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return s.createElement(e,o({},y,{ref:m}))}))},void 0===(je=!1)&&(je=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=je?t[0].toLowerCase()+t.substring(1):t;return e[n]=Me(n),e}),Me)}),Pe=Ce(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);t.apply=Ce,t.config={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},t.update=R,t.animated=Pe,t.a=Pe,t.interpolate=function(e,t,n){return e&&new F(e,t,n)},t.Globals=x,t.useSpring=function(e){var t=u.fun(e),n=$(1,t?e:[e]),r=n[0],o=n[1],a=n[2];return t?[r[0],o,a]:r},t.useTrail=function(e,t){var n=i.useRef(!1),r=u.fun(t),a=p(t),s=i.useRef(),c=$(e,(function(e,t){return 0===e&&(s.current=[]),s.current.push(t),o({},a,{config:p(a.config,e),attach:e>0&&function(){return s.current[e-1]}})})),l=c[0],d=c[1],h=c[2],f=i.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,i=s.current[r];return o({},e,{config:p(e.config||a.config,t),attach:i&&function(){return i}})}))}}),[e,a.reverse]);return i.useEffect((function(){n.current&&!r&&f(t)})),i.useEffect((function(){n.current=!0}),[]),r?[l,f,h]:l},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),s=X(r),c=s.lazy,l=void 0!==c&&c,u=(s.unique,s.reset),h=void 0!==u&&u,f=(s.enter,s.leave,s.update,s.onDestroyed),b=(s.keys,s.items,s.onFrame),v=s.onRest,y=s.onStart,m=s.ref,g=a(s,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),O=d(),k=i.useRef(!1),_=i.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!k.current&&new Map,forceUpdate:O});return i.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(_.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(_.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(_.current.instances).map((function(e){return e[1]}))}}})),_.current=function(e,t){var n=e.first,r=e.prevProps,i=a(e,["first","prevProps"]),s=X(t),c=s.items,l=s.keys,u=s.initial,d=s.from,h=s.enter,f=s.leave,b=s.update,v=s.trail,y=void 0===v?0:v,m=s.unique,g=s.config,O=s.order,k=void 0===O?[G,q,Y]:O,_=X(r),w=_.keys,D=_.items,S=o({},i.current),M=[].concat(i.deleted),j=Object.keys(S),C=new Set(j),P=new Set(l),E=l.filter((function(e){return!C.has(e)})),T=i.transitions.filter((function(e){return!e.destroyed&&!P.has(e.originalKey)})).map((function(e){return e.originalKey})),z=l.filter((function(e){return C.has(e)})),I=-y;for(;k.length;){switch(k.shift()){case G:E.forEach((function(e,t){m&&M.find((function(t){return t.originalKey===e}))&&(M=M.filter((function(t){return t.originalKey!==e})));var r=l.indexOf(e),o=c[r],a=n&&void 0!==u?"initial":G;S[e]={slot:a,originalKey:e,key:m?String(e):U++,item:o,trail:I+=y,config:p(g,o,a),from:p(n&&void 0!==u?u||{}:d,o),to:p(h,o)}}));break;case q:T.forEach((function(e){var t=w.indexOf(e),n=D[t],r=q;M.unshift(o({},S[e],{slot:r,destroyed:!0,left:w[Math.max(0,t-1)],right:w[Math.min(w.length,t+1)],trail:I+=y,config:p(g,n,r),to:p(f,n)})),delete S[e]}));break;case Y:z.forEach((function(e){var t=l.indexOf(e),n=c[t],r=Y;S[e]=o({},S[e],{item:n,slot:r,trail:I+=y,config:p(g,n,r),to:p(b,n)})}))}}var x=l.map((function(e){return S[e]}));return M.forEach((function(e){var t,n=e.left,r=(e.right,a(e,["left","right"]));-1!==(t=x.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),x=[].concat(x.slice(0,t),[r],x.slice(t))})),o({},i,{changed:E.length||T.length||z.length,first:n&&0===E.length,transitions:x,current:S,deleted:M,prevProps:t})}(_.current,r),_.current.changed&&_.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,a=e.config,i=e.trail,s=e.key,c=e.item;_.current.instances.has(s)||_.current.instances.set(s,new W);var u=_.current.instances.get(s),d=o({},g,{to:r,from:n,config:a,ref:m,onRest:function(n){_.current.mounted&&(e.destroyed&&(m||l||Q(_,s),f&&f(c)),!Array.from(_.current.instances).some((function(e){return!e[1].idle}))&&(m||l)&&_.current.deleted.length>0&&Q(_),v&&v(c,t,n))},onStart:y&&function(){return y(c,t)},onFrame:b&&function(e){return b(c,t,e)},delay:i,reset:h&&t===G});u.update(d),_.current.paused||u.start()})),i.useEffect((function(){return _.current.mounted=k.current=!0,function(){_.current.mounted=k.current=!1,Array.from(_.current.instances).map((function(e){return e[1].destroy()})),_.current.instances.clear()}}),[]),_.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:_.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=i.useRef();i.useEffect((function(){u.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var a=e.current;if(a){var i=a.controllers;if(i.length){var s=n*t[r];i.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+s})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=$},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(29),o=n(269),a=n(270);e.exports={momentObj:a.createMomentChecker("object",(function(e){return"object"==typeof e}),(function(e){return o.isValidMoment(e)}),"Moment"),momentString:a.createMomentChecker("string",(function(e){return"string"==typeof e}),(function(e){return o.isValidMoment(r(e))}),"Moment"),momentDurationObj:a.createMomentChecker("object",(function(e){return"object"==typeof e}),(function(e){return r.isDuration(e)}),"Duration")}},function(e,t,n){var r=n(84),o=n(85);e.exports=function(e,t,n){var a=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||r)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var s=0;s<16;++s)t[a+s]=i[s];return t||o(i)}},function(e,t,n){"use strict";e.exports=n(112)},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(33),a=(r=o)&&r.__esModule?r:{default:r},i=n(40);t.default=a.default.oneOf(i.WEEKDAYS)},,function(e,t,n){"use strict";var r=n(59),o=n(101),a=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&a(e,".prototype.")?o(n):n}},function(e,t,n){"use strict";var r=n(268);e.exports=function(e,t,n){return!r(e.props,t)||!r(e.state,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!a.default.isMoment(e)||!a.default.isMoment(t))&&(e.date()===t.date()&&e.month()===t.month()&&e.year()===t.year())};var r,o=n(29),a=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t?[t,i.DISPLAY_FORMAT,i.ISO_FORMAT]:[i.DISPLAY_FORMAT,i.ISO_FORMAT],r=(0,a.default)(e,n,!0);return r.isValid()?r.hour(12):null};var r,o=n(29),a=(r=o)&&r.__esModule?r:{default:r},i=n(40)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(33),a=(r=o)&&r.__esModule?r:{default:r},i=n(40);t.default=a.default.oneOf([i.HORIZONTAL_ORIENTATION,i.VERTICAL_ORIENTATION,i.VERTICAL_SCROLLABLE])},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"==typeof window||!("ontouchstart"in window||window.DocumentTouch&&"undefined"!=typeof document&&document instanceof window.DocumentTouch))||!("undefined"==typeof navigator||!navigator.maxTouchPoints&&!navigator.msMaxTouchPoints)},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(33),a=(r=o)&&r.__esModule?r:{default:r},i=n(40);t.default=a.default.oneOf([i.OPEN_DOWN,i.OPEN_UP])},,,,function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);e.exports=function(){return n(r),r}}else{var o=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),o[t]=e>>>((3&t)<<3)&255;return o}}},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,o=n;return[o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]]].join("")}},function(e,t,n){"use strict";var r=n(87);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},,function(e,t,n){"use strict";var r=Array.prototype.slice,o=n(146),a=Object.keys,i=a?function(e){return a(e)}:n(243),s=Object.keys;i.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return o(e)?s(r.call(e)):s(e)}):Object.keys=i;return Object.keys||i},e.exports=i},function(e,t,n){"use strict";var r=n(59),o=n(62),a=r("%Object%").assign;e.exports=function(e,t){if(a)return a(e,t);for(var n in t)o(t,n)&&(e[n]=t[n]);return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(33),a=(r=o)&&r.__esModule?r:{default:r},i=n(40);t.default=a.default.oneOf([i.ICON_BEFORE_POSITION,i.ICON_AFTER_POSITION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(33),a=(r=o)&&r.__esModule?r:{default:r},i=n(40);t.default=a.default.oneOf([i.INFO_POSITION_TOP,i.INFO_POSITION_BOTTOM,i.INFO_POSITION_BEFORE,i.INFO_POSITION_AFTER])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&!(0,o.default)(e,t)};var r=a(n(29)),o=a(n(94));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!a.default.isMoment(e)||!a.default.isMoment(t))return!1;var n=e.year(),r=e.month(),o=t.year(),i=t.month(),s=n===o,c=r===i;return s&&c?e.date()2?n-2:0),o=2;o0?!0===i?r.scrollTop(t,g.top+O.top):!1===i?r.scrollTop(t,g.top+k.top):O.top<0?r.scrollTop(t,g.top+O.top):r.scrollTop(t,g.top+k.top):a||((i=void 0===i||!!i)?r.scrollTop(t,g.top+O.top):r.scrollTop(t,g.top+k.top)),o&&(O.left<0||k.left>0?!0===s?r.scrollLeft(t,g.left+O.left):!1===s?r.scrollLeft(t,g.left+k.left):O.left<0?r.scrollLeft(t,g.left+O.left):r.scrollLeft(t,g.left+k.left):a||((s=void 0===s||!!s)?r.scrollLeft(t,g.left+O.left):r.scrollLeft(t,g.left+k.left)))}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}},function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},,,,,,,function(e,t,n){var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=r&&o&&"function"==typeof o.get?o.get:null,i=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&c&&"function"==typeof c.get?c.get:null,u=s&&Set.prototype.forEach,d=Boolean.prototype.valueOf,h=Object.prototype.toString,f="function"==typeof BigInt?BigInt.prototype.valueOf:null,p=n(250).custom,b=p&&g(p)?p:null;function v(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function y(e){return String(e).replace(/"/g,""")}function m(e){return"[object Array]"===_(e)}function g(e){return"[object Symbol]"===_(e)}e.exports=function e(t,n,r,o){if(n||(n={}),k(n,"quoteStyle")&&"single"!==n.quoteStyle&&"double"!==n.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function(e,t){return v(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,w),"single",t)}(t,n);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var s=void 0===n.depth?5:n.depth;if(void 0===r&&(r=0),r>=s&&s>0&&"object"==typeof t)return"[Object]";if(void 0===o)o=[];else if(function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n=0)return"[Circular]";function c(t,a){return a&&(o=o.slice()).push(a),e(t,n,r+1,o)}if("function"==typeof t){var h=function(e){if(e.name)return e.name;var t=String(e).match(/^function\s*([\w$]+)/);if(t)return t[1]}(t);return"[Function"+(h?": "+h:"")+"]"}if(g(t)){var p=Symbol.prototype.toString.call(t);return"object"==typeof t?D(p):p}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var O="<"+String(t.nodeName).toLowerCase(),j=t.attributes||[],C=0;C"}if(m(t))return 0===t.length?"[]":"[ "+M(t,c).join(", ")+" ]";if(function(e){return"[object Error]"===_(e)}(t))return 0===(P=M(t,c)).length?"["+String(t)+"]":"{ ["+String(t)+"] "+P.join(", ")+" }";if("object"==typeof t){if(b&&"function"==typeof t[b])return t[b]();if("function"==typeof t.inspect)return t.inspect()}if(function(e){if(!a)return!1;try{a.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var P=[];return i.call(t,(function(e,n){P.push(c(n,t)+" => "+c(e,t))})),S("Map",a.call(t),P)}if(function(e){if(!l)return!1;try{l.call(e);try{a.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){P=[];return u.call(t,(function(e){P.push(c(e,t))})),S("Set",l.call(t),P)}if(function(e){return"[object Number]"===_(e)}(t))return D(c(Number(t)));if(function(e){return"[object BigInt]"===_(e)}(t))return D(c(f.call(t)));if(function(e){return"[object Boolean]"===_(e)}(t))return D(d.call(t));if(function(e){return"[object String]"===_(e)}(t))return D(c(String(t)));if(!function(e){return"[object Date]"===_(e)}(t)&&!function(e){return"[object RegExp]"===_(e)}(t)){var E=M(t,c);return 0===E.length?"{}":"{ "+E.join(", ")+" }"}return String(t)};var O=Object.prototype.hasOwnProperty||function(e){return e in this};function k(e,t){return O.call(e,t)}function _(e){return h.call(e)}function w(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+t.toString(16)}function D(e){return"Object("+e+")"}function S(e,t,n){return e+" ("+t+") {"+n.join(", ")+"}"}function M(e,t){var n=m(e),r=[];if(n){r.length=e.length;for(var o=0;o1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');var n="$ "+e;if(!(n in c))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===c[n]&&!t)throw new TypeError("intrinsic "+e+" exists, but is not available. Please file an issue!");return c[n]}},function(e,t,n){"use strict";function r(e,t,n){var r="number"==typeof t,o="number"==typeof n,a="number"==typeof e;return r&&o?t+n:r&&a?t+e:r?t:o&&a?n+e:o?n:a?2*e:0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.font.input,o=n.lineHeight,a=n.lineHeight_small,i=e.spacing,s=i.inputPadding,c=i.displayTextPaddingVertical,l=i.displayTextPaddingTop,u=i.displayTextPaddingBottom,d=i.displayTextPaddingVertical_small,h=i.displayTextPaddingTop_small,f=i.displayTextPaddingBottom_small,p=t?a:o,b=t?r(d,h,f):r(c,l,u);return parseInt(p,10)+2*s+b}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(a.DISPLAY_FORMAT):null};var r=i(n(29)),o=i(n(77)),a=n(40);function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){var i=t.clone().startOf("month");a&&(i=i.startOf("week"));if((0,r.default)(e,i))return!1;var s=t.clone().add(n-1,"months").endOf("month");a&&(s=s.endOf("week"));return!(0,o.default)(e,s)};var r=a(n(94)),o=a(n(107));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureDayPicker=t.defaultProps=void 0;var r=Object.assign||function(e){for(var t=1;t=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t,n){"use strict";var r=n(245);e.exports=function(){var e=r.ToObject(this),t=r.ToLength(r.Get(e,"length")),n=1;arguments.length>0&&void 0!==arguments[0]&&(n=r.ToInteger(arguments[0]));var o=r.ArraySpeciesCreate(e,0);return r.FlattenIntoArray(o,e,t,0,n),o}},function(e,t,n){"use strict";var r=n(58).call(Function.call,String.prototype.replace),o=/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]*/;e.exports=function(){return r(this,o,"")}},function(e,t,n){"use strict";var r=n(148);e.exports=function(){if(!String.prototype.trimLeft)return r;return"​"!=="​".trimLeft()?r:String.prototype.trimLeft}},function(e,t,n){"use strict";var r=n(58).call(Function.call,String.prototype.replace),o=/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]*$/;e.exports=function(){return r(this,o,"")}},function(e,t,n){"use strict";var r=n(150);e.exports=function(){if(!String.prototype.trimRight)return r;return"​"!=="​".trimRight()?r:String.prototype.trimRight}},function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,n){"use strict";e.exports=n(255)},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var r=Object.prototype.toString;if(n(99)()){var o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==r.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&a.test(o.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,t,n){"use strict";var r=n(59),o=r("%TypeError%"),a=r("%SyntaxError%"),i=n(62),s={"Property Descriptor":function(e,t){if("Object"!==e.Type(t))return!1;var n={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var r in t)if(i(t,r)&&!n[r])return!1;var a=i(t,"[[Value]]"),s=i(t,"[[Get]]")||i(t,"[[Set]]");if(a&&s)throw new o("Property Descriptors may not be both accessor and data descriptors");return!0}};e.exports=function(e,t,n,r){var i=s[t];if("function"!=typeof i)throw new a("unknown record type: "+t);if(!i(e,r))throw new o(n+" must be a "+t)}},function(e,t,n){"use strict";var r=Number.isNaN||function(e){return e!=e};e.exports=Number.isFinite||function(e){return"number"==typeof e&&!r(e)&&e!==1/0&&e!==-1/0}},function(e,t,n){"use strict";var r=n(59),o=r("%Math%"),a=r("%Number%");e.exports=a.MAX_SAFE_INTEGER||o.pow(2,53)-1},function(e,t,n){"use strict";e.exports=function(e){return e>=0?1:-1}},function(e,t,n){"use strict";e.exports=function(e,t){var n=e%t;return Math.floor(n>=0?n:n+t)}},function(e,t,n){"use strict";var r=n(59),o=n(62),a=r("%TypeError%");e.exports=function(e,t){if("Object"!==e.Type(t))return!1;var n={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var r in t)if(o(t,r)&&!n[r])return!1;if(e.IsDataDescriptor(t)&&e.IsAccessorDescriptor(t))throw new a("Property Descriptors may not be both accessor and data descriptors");return!0}},function(e,t,n){"use strict";var r=n(59)("RegExp.prototype.test"),o=n(101);e.exports=function(e){return o(r,e)}},function(e,t,n){"use strict";var r=n(74)("String.prototype.slice");e.exports=function(e,t){return e===t||!(e.length>t.length)&&r(t,0,e.length)===e}},function(e,t,n){"use strict";var r=Object.prototype.toString,o=n(154),a=n(100),i=function(e){var t;if((t=arguments.length>1?arguments[1]:"[object Date]"===r.call(e)?String:Number)===String||t===Number){var n,i,s=t===String?["toString","valueOf"]:["valueOf","toString"];for(i=0;i1?i(e,arguments[1]):i(e)}},function(e,t,n){"use strict";var r=n(62),o=RegExp.prototype.exec,a=Object.getOwnPropertyDescriptor,i=Object.prototype.toString,s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!s)return"[object RegExp]"===i.call(e);var t=a(e,"lastIndex");return!(!t||!r(t,"value"))&&function(e){try{var t=e.lastIndex;return e.lastIndex=0,o.call(e),!0}catch(e){return!1}finally{e.lastIndex=t}}(e)}},function(e,t,n){"use strict";var r=n(147);e.exports=function(){return Array.prototype.flat||r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=void 0,o=void 0;function a(e,t){var n=t(e(o));return function(){return n}}function i(e){return a(e,r.createLTR||r.create)}function s(){for(var e=arguments.length,t=Array(e),n=0;n2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e)return 0;var o="width"===t?"Left":"Top",a="width"===t?"Right":"Bottom",i=!n||r?window.getComputedStyle(e):null,s=e.offsetWidth,c=e.offsetHeight,l="width"===t?s:c;n||(l-=parseFloat(i["padding"+o])+parseFloat(i["padding"+a])+parseFloat(i["border"+o+"Width"])+parseFloat(i["border"+a+"Width"]));r&&(l+=parseFloat(i["margin"+o])+parseFloat(i["margin"+a]));return l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=o&&a=0?1:-1}},function(e,t){e.exports=function(e,t){var n=e%t;return Math.floor(n>=0?n:n+t)}},function(e,t,n){"use strict";var r=n(177);e.exports=function(){return"function"==typeof Object.values?Object.values:r}},function(e,t,n){"use strict";e.exports=function(e){if(arguments.length<1)throw new TypeError("1 argument is required");if("object"!=typeof e)throw new TypeError("Argument 1 (”other“) to Node.contains must be an instance of Node");var t=e;do{if(this===t)return!0;t&&(t=t.parentNode)}while(t);return!1}},function(e,t,n){"use strict";var r=n(185);e.exports=function(){if("undefined"!=typeof document){if(document.contains)return document.contains;if(document.body&&document.body.contains)return document.body.contains}return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n(33)),o=v(n(65)),a=n(46),i=n(49),s=v(n(53)),c=v(n(188)),l=v(n(91)),u=v(n(189)),d=v(n(106)),h=v(n(190)),f=v(n(80)),p=v(n(72)),b=v(n(92));function v(e){return e&&e.__esModule?e:{default:e}}t.default={startDate:o.default.momentObj,endDate:o.default.momentObj,onDatesChange:r.default.func.isRequired,focusedInput:c.default,onFocusChange:r.default.func.isRequired,onClose:r.default.func,startDateId:r.default.string.isRequired,startDatePlaceholderText:r.default.string,endDateId:r.default.string.isRequired,endDatePlaceholderText:r.default.string,disabled:d.default,required:r.default.bool,readOnly:r.default.bool,screenReaderInputMessage:r.default.string,showClearDates:r.default.bool,showDefaultInputIcon:r.default.bool,inputIconPosition:l.default,customInputIcon:r.default.node,customArrowIcon:r.default.node,customCloseIcon:r.default.node,noBorder:r.default.bool,block:r.default.bool,small:r.default.bool,regular:r.default.bool,keepFocusOnInput:r.default.bool,renderMonthText:(0,a.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,a.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),orientation:u.default,anchorDirection:h.default,openDirection:f.default,horizontalMargin:r.default.number,withPortal:r.default.bool,withFullScreenPortal:r.default.bool,appendToBody:r.default.bool,disableScroll:r.default.bool,daySize:a.nonNegativeInteger,isRTL:r.default.bool,firstDayOfWeek:p.default,initialVisibleMonth:r.default.func,numberOfMonths:r.default.number,keepOpenOnDateSelect:r.default.bool,reopenPickerOnClearDates:r.default.bool,renderCalendarInfo:r.default.func,calendarInfoPosition:b.default,hideKeyboardShortcutsPanel:r.default.bool,verticalHeight:a.nonNegativeInteger,transitionDuration:a.nonNegativeInteger,verticalSpacing:a.nonNegativeInteger,navPrev:r.default.node,navNext:r.default.node,onPrevMonthClick:r.default.func,onNextMonthClick:r.default.func,renderCalendarDay:r.default.func,renderDayContents:r.default.func,minimumNights:r.default.number,enableOutsideDays:r.default.bool,isDayBlocked:r.default.func,isOutsideRange:r.default.func,isDayHighlighted:r.default.func,displayFormat:r.default.oneOfType([r.default.string,r.default.func]),monthFormat:r.default.string,weekDayFormat:r.default.string,phrases:r.default.shape((0,s.default)(i.DateRangePickerPhrases)),dayAriaLabelFormat:r.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(33),a=(r=o)&&r.__esModule?r:{default:r},i=n(40);t.default=a.default.oneOf([i.START_DATE,i.END_DATE])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(33),a=(r=o)&&r.__esModule?r:{default:r},i=n(40);t.default=a.default.oneOf([i.HORIZONTAL_ORIENTATION,i.VERTICAL_ORIENTATION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(33),a=(r=o)&&r.__esModule?r:{default:r},i=n(40);t.default=a.default.oneOf([i.ANCHOR_LEFT,i.ANCHOR_RIGHT])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,o){var a="undefined"!=typeof window?window.innerWidth:0,i=e===r.ANCHOR_LEFT?a-n:n,s=o||0;return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},e,Math.min(t+i-s,0))};var r=n(40)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var o=n.getBoundingClientRect(),a=o.left,i=o.top;e===r.OPEN_UP&&(i=-(window.innerHeight-o.bottom));t===r.ANCHOR_RIGHT&&(a=-(window.innerWidth-o.right));return{transform:"translate3d("+String(Math.round(a))+"px, "+String(Math.round(i))+"px, 0)"}};var r=n(40)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollParent=o,t.getScrollAncestorsOverflowY=a,t.default=function(e){var t=a(e),n=function(e){return t.forEach((function(t,n){n.style.setProperty("overflow-y",e?"hidden":t)}))};return n(!0),function(){return n(!1)}};var r=function(){return document.scrollingElement||document.documentElement};function o(e){var t=e.parentElement;if(null==t)return r();var n=window.getComputedStyle(t).overflowY;return"visible"!==n&&"hidden"!==n&&t.scrollHeight>t.clientHeight?t:o(t)}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,n=r(),i=o(e);return t.set(i,i.style.overflowY),i===n?t:a(i,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0&&(R||N||i!==k)){var U=m||this.today;V=this.deleteModifierFromRange(V,U,U.clone().add(k,"days"),"blocked-minimum-nights"),V=this.deleteModifierFromRange(V,U,U.clone().add(k,"days"),"blocked")}(R||x)&&(0,d.default)(P).forEach((function(e){Object.keys(e).forEach((function(e){var n=(0,u.default)(e),r=!1;(R||T)&&(s(n)?(V=t.addModifier(V,n,"blocked-out-of-range"),r=!0):V=t.deleteModifier(V,n,"blocked-out-of-range")),(R||z)&&(c(n)?(V=t.addModifier(V,n,"blocked-calendar"),r=!0):V=t.deleteModifier(V,n,"blocked-calendar")),V=r?t.addModifier(V,n,"blocked"):t.deleteModifier(V,n,"blocked"),(R||I)&&(V=l(n)?t.addModifier(V,n,"highlighted-calendar"):t.deleteModifier(V,n,"highlighted-calendar"))}))})),i>0&&n&&o===E.END_DATE&&(V=this.addModifierToRange(V,n,n.clone().add(i,"days"),"blocked-minimum-nights"),V=this.addModifierToRange(V,n,n.clone().add(i,"days"),"blocked"));var G=(0,u.default)();if((0,y.default)(this.today,G)||(V=this.deleteModifier(V,this.today,"today"),V=this.addModifier(V,G,"today"),this.today=G),Object.keys(V).length>0&&this.setState({visibleDays:(0,a.default)({},P,V)}),R||h!==S){var q=A(h,o);this.setState({phrases:(0,a.default)({},h,{chooseAvailableDate:q})})}}},{key:"onDayClick",value:function(e,t){var n=this.props,r=n.keepOpenOnDateSelect,o=n.minimumNights,a=n.onBlur,i=n.focusedInput,s=n.onFocusChange,c=n.onClose,l=n.onDatesChange,u=n.startDateOffset,d=n.endDateOffset,h=n.disabled;if(t&&t.preventDefault(),!this.isBlocked(e)){var f=this.props,p=f.startDate,v=f.endDate;if(u||d)p=(0,_.default)(u,e),v=(0,_.default)(d,e),r||(s(null),c({startDate:p,endDate:v}));else if(i===E.START_DATE){var y=v&&v.clone().subtract(o,"days"),O=(0,g.default)(y,e)||(0,m.default)(p,v),k=h===E.END_DATE;k&&O||(p=e,O&&(v=null)),k&&!O?(s(null),c({startDate:p,endDate:v})):k||s(E.END_DATE)}else if(i===E.END_DATE){var w=p&&p.clone().add(o,"days");p?(0,b.default)(e,w)?(v=e,r||(s(null),c({startDate:p,endDate:v}))):h!==E.START_DATE&&(p=e,v=null):(v=e,s(E.START_DATE))}l({startDate:p,endDate:v}),a()}}},{key:"onDayMouseEnter",value:function(e){if(!this.isTouchDevice){var t=this.props,n=t.startDate,r=t.endDate,o=t.focusedInput,i=t.minimumNights,s=t.startDateOffset,c=t.endDateOffset,l=this.state,u=l.hoverDate,d=l.visibleDays,h=null;if(o){var f=s||c,p={};if(f){var b=(0,_.default)(s,e),v=(0,_.default)(c,e,(function(e){return e.add(1,"day")}));h={start:b,end:v},this.state.dateOffset&&this.state.dateOffset.start&&this.state.dateOffset.end&&(p=this.deleteModifierFromRange(p,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),p=this.addModifierToRange(p,b,v,"hovered-offset")}if(!f){if(p=this.deleteModifier(p,u,"hovered"),p=this.addModifier(p,e,"hovered"),n&&!r&&o===E.END_DATE){if((0,m.default)(u,n)){var O=u.clone().add(1,"day");p=this.deleteModifierFromRange(p,n,O,"hovered-span")}if(!this.isBlocked(e)&&(0,m.default)(e,n)){var k=e.clone().add(1,"day");p=this.addModifierToRange(p,n,k,"hovered-span")}}if(!n&&r&&o===E.START_DATE&&((0,g.default)(u,r)&&(p=this.deleteModifierFromRange(p,u,r,"hovered-span")),!this.isBlocked(e)&&(0,g.default)(e,r)&&(p=this.addModifierToRange(p,e,r,"hovered-span"))),n){var w=n.clone().add(1,"day"),D=n.clone().add(i+1,"days");if(p=this.deleteModifierFromRange(p,w,D,"after-hovered-start"),(0,y.default)(e,n)){var S=n.clone().add(1,"day"),M=n.clone().add(i+1,"days");p=this.addModifierToRange(p,S,M,"after-hovered-start")}}}this.setState({hoverDate:e,dateOffset:h,visibleDays:(0,a.default)({},d,p)})}}}},{key:"onDayMouseLeave",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,i=this.state,s=i.hoverDate,c=i.visibleDays,l=i.dateOffset;if(!this.isTouchDevice&&s){var u={};if(u=this.deleteModifier(u,s,"hovered"),l&&(u=this.deleteModifierFromRange(u,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),n&&!r&&(0,m.default)(s,n)){var d=s.clone().add(1,"day");u=this.deleteModifierFromRange(u,n,d,"hovered-span")}if(!n&&r&&(0,m.default)(r,s)&&(u=this.deleteModifierFromRange(u,s,r,"hovered-span")),n&&(0,y.default)(e,n)){var h=n.clone().add(1,"day"),f=n.clone().add(o+1,"days");u=this.deleteModifierFromRange(u,h,f,"after-hovered-start")}this.setState({hoverDate:null,visibleDays:(0,a.default)({},c,u)})}}},{key:"onPrevMonthClick",value:function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(0,n+1).forEach((function(e){c[e]=s[e]}));var l=i.clone().subtract(2,"months"),u=(0,O.default)(l,1,r,!0),d=i.clone().subtract(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onNextMonthClick",value:function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(1).forEach((function(e){c[e]=s[e]}));var l=i.clone().add(n+1,"month"),u=(0,O.default)(l,1,r,!0),d=i.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onMonthChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===E.VERTICAL_SCROLLABLE,a=(0,O.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}},{key:"onYearChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===E.VERTICAL_SCROLLABLE,a=(0,O.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}},{key:"onMultiplyScrollableMonths",value:function(){var e=this.props,t=e.numberOfMonths,n=e.enableOutsideDays,r=this.state,o=r.currentMonth,i=r.visibleDays,s=Object.keys(i).length,c=o.clone().add(s,"month"),l=(0,O.default)(c,t,n,!0);this.setState({visibleDays:(0,a.default)({},i,this.getModifiers(l))})}},{key:"getFirstFocusableDay",value:function(e){var t=this,n=this.props,o=n.startDate,a=n.endDate,i=n.focusedInput,s=n.minimumNights,c=n.numberOfMonths,l=e.clone().startOf("month");if(i===E.START_DATE&&o?l=o.clone():i===E.END_DATE&&!a&&o?l=o.clone().add(s,"days"):i===E.END_DATE&&a&&(l=a.clone()),this.isBlocked(l)){for(var u=[],d=e.clone().add(c-1,"months").endOf("month"),h=l.clone();!(0,m.default)(h,d);)h=h.clone().add(1,"day"),u.push(h);var f=u.filter((function(e){return!t.isBlocked(e)}));f.length>0&&(l=r(f,1)[0])}return l}},{key:"getModifiers",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,w.default)(e)]=t.getModifiersForDay(e)}))})),n}},{key:"getModifiersForDay",value:function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))}},{key:"getStateForNewMonth",value:function(e){var t=this,n=e.initialVisibleMonth,r=e.numberOfMonths,o=e.enableOutsideDays,a=e.orientation,i=e.startDate,s=(n||(i?function(){return i}:function(){return t.today}))(),c=a===E.VERTICAL_SCROLLABLE;return{currentMonth:s,visibleDays:this.getModifiers((0,O.default)(s,r,o,c))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,h=o;if(s===E.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,k.default)(t,d,h,i))return e;var f=(0,w.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(f)>-1})).reduce((function(t,r){var o=e[r]||u[r],i=new Set(o[f]);return i.add(n),(0,a.default)({},t,I({},r,(0,a.default)({},o,I({},f,i))))}),p);else{var b=(0,D.default)(t),v=e[b]||u[b],y=new Set(v[f]);y.add(n),p=(0,a.default)({},p,I({},b,(0,a.default)({},v,I({},f,y))))}return p}},{key:"addModifierToRange",value:function(e,t,n,r){for(var o=e,a=t.clone();(0,g.default)(a,n);)o=this.addModifier(o,a,r),a=a.clone().add(1,"day");return o}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,h=o;if(s===E.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,k.default)(t,d,h,i))return e;var f=(0,w.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(f)>-1})).reduce((function(t,r){var o=e[r]||u[r],i=new Set(o[f]);return i.delete(n),(0,a.default)({},t,I({},r,(0,a.default)({},o,I({},f,i))))}),p);else{var b=(0,D.default)(t),v=e[b]||u[b],y=new Set(v[f]);y.delete(n),p=(0,a.default)({},p,I({},b,(0,a.default)({},v,I({},f,y))))}return p}},{key:"deleteModifierFromRange",value:function(e,t,n,r){for(var o=e,a=t.clone();(0,g.default)(a,n);)o=this.deleteModifier(o,a,r),a=a.clone().add(1,"day");return o}},{key:"doesNotMeetMinimumNights",value:function(e){var t=this.props,n=t.startDate,r=t.isOutsideRange,o=t.focusedInput,a=t.minimumNights;if(o!==E.END_DATE)return!1;if(n){var i=e.diff(n.clone().startOf("day").hour(12),"days");return i=0}return r((0,u.default)(e).subtract(a,"days"))}},{key:"isDayAfterHoveredStartDate",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,a=(this.state||{}).hoverDate;return!!n&&!r&&!this.isBlocked(e)&&(0,v.default)(a,e)&&o>0&&(0,y.default)(a,n)}},{key:"isEndDate",value:function(e){var t=this.props.endDate;return(0,y.default)(e,t)}},{key:"isHovered",value:function(e){var t=(this.state||{}).hoverDate;return!!this.props.focusedInput&&(0,y.default)(e,t)}},{key:"isInHoveredSpan",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=(this.state||{}).hoverDate,a=!!n&&!r&&(e.isBetween(n,o)||(0,y.default)(o,e)),i=!!r&&!n&&(e.isBetween(o,r)||(0,y.default)(o,e)),s=o&&!this.isBlocked(o);return(a||i)&&s}},{key:"isInSelectedSpan",value:function(e){var t=this.props,n=t.startDate,r=t.endDate;return e.isBetween(n,r)}},{key:"isLastInRange",value:function(e){var t=this.props.endDate;return this.isInSelectedSpan(e)&&(0,v.default)(e,t)}},{key:"isStartDate",value:function(e){var t=this.props.startDate;return(0,y.default)(e,t)}},{key:"isBlocked",value:function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)||this.doesNotMeetMinimumNights(e)}},{key:"isToday",value:function(e){return(0,y.default)(e,this.today)}},{key:"isFirstDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}},{key:"isLastDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}},{key:"render",value:function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,a=e.navPrev,s=e.navNext,c=e.noNavButtons,l=e.onOutsideClick,u=e.withPortal,d=e.enableOutsideDays,h=e.firstDayOfWeek,f=e.hideKeyboardShortcutsPanel,p=e.daySize,b=e.focusedInput,v=e.renderCalendarDay,y=e.renderDayContents,m=e.renderCalendarInfo,g=e.renderMonthElement,O=e.calendarInfoPosition,k=e.onBlur,_=e.isFocused,w=e.showKeyboardShortcuts,D=e.isRTL,S=e.weekDayFormat,M=e.dayAriaLabelFormat,j=e.verticalHeight,C=e.noBorder,P=e.transitionDuration,E=e.verticalBorderSpacing,z=e.horizontalMonthPadding,I=this.state,x=I.currentMonth,N=I.phrases,A=I.visibleDays;return i.default.createElement(T.default,{orientation:n,enableOutsideDays:d,modifiers:A,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,onMultiplyScrollableMonths:this.onMultiplyScrollableMonths,monthFormat:r,renderMonthText:o,withPortal:u,hidden:!b,initialVisibleMonth:function(){return x},daySize:p,onOutsideClick:l,navPrev:a,navNext:s,noNavButtons:c,renderCalendarDay:v,renderDayContents:y,renderCalendarInfo:m,renderMonthElement:g,calendarInfoPosition:O,firstDayOfWeek:h,hideKeyboardShortcutsPanel:f,isFocused:_,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:k,showKeyboardShortcuts:w,phrases:N,isRTL:D,weekDayFormat:S,dayAriaLabelFormat:M,verticalHeight:j,verticalBorderSpacing:E,noBorder:C,transitionDuration:P,horizontalMonthPadding:z})}}]),t}(i.default.Component);t.default=H,H.propTypes=x,H.defaultProps=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!r.default.isMoment(e)||!r.default.isMoment(t))return!1;var n=(0,r.default)(e).add(1,"day");return(0,o.default)(n,t)};var r=a(n(29)),o=a(n(76));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){if(!r.default.isMoment(e))return{};for(var i={},s=a?e.clone():e.clone().subtract(1,"month"),c=0;c<(a?t:t+2);c+=1){var l=[],u=s.clone(),d=u.clone().startOf("month").hour(12),h=u.clone().endOf("month").hour(12),f=d.clone();if(n)for(var p=0;p0&&this.setState({visibleDays:(0,a.default)({},w,T)})}},{key:"componentWillUpdate",value:function(){this.today=(0,u.default)()}},{key:"onDayClick",value:function(e,t){if(t&&t.preventDefault(),!this.isBlocked(e)){var n=this.props,r=n.onDateChange,o=n.keepOpenOnDateSelect,a=n.onFocusChange,i=n.onClose;r(e),o||(a({focused:!1}),i({date:e}))}}},{key:"onDayMouseEnter",value:function(e){if(!this.isTouchDevice){var t=this.state,n=t.hoverDate,r=t.visibleDays,o=this.deleteModifier({},n,"hovered");o=this.addModifier(o,e,"hovered"),this.setState({hoverDate:e,visibleDays:(0,a.default)({},r,o)})}}},{key:"onDayMouseLeave",value:function(){var e=this.state,t=e.hoverDate,n=e.visibleDays;if(!this.isTouchDevice&&t){var r=this.deleteModifier({},t,"hovered");this.setState({hoverDate:null,visibleDays:(0,a.default)({},n,r)})}}},{key:"onPrevMonthClick",value:function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(0,n+1).forEach((function(e){c[e]=s[e]}));var l=i.clone().subtract(1,"month"),u=(0,y.default)(l,1,r);this.setState({currentMonth:l,visibleDays:(0,a.default)({},c,this.getModifiers(u))},(function(){t(l.clone())}))}},{key:"onNextMonthClick",value:function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(1).forEach((function(e){c[e]=s[e]}));var l=i.clone().add(n,"month"),u=(0,y.default)(l,1,r),d=i.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onMonthChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===D.VERTICAL_SCROLLABLE,a=(0,y.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}},{key:"onYearChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===D.VERTICAL_SCROLLABLE,a=(0,y.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}},{key:"getFirstFocusableDay",value:function(e){var t=this,n=this.props,o=n.date,a=n.numberOfMonths,i=e.clone().startOf("month");if(o&&(i=o.clone()),this.isBlocked(i)){for(var s=[],c=e.clone().add(a-1,"months").endOf("month"),l=i.clone();!(0,v.default)(l,c);)l=l.clone().add(1,"day"),s.push(l);var u=s.filter((function(e){return!t.isBlocked(e)&&(0,v.default)(e,i)}));if(u.length>0){var d=r(u,1);i=d[0]}}return i}},{key:"getModifiers",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,g.default)(e)]=t.getModifiersForDay(e)}))})),n}},{key:"getModifiersForDay",value:function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))}},{key:"getStateForNewMonth",value:function(e){var t=this,n=e.initialVisibleMonth,r=e.date,o=e.numberOfMonths,a=e.enableOutsideDays,i=(n||(r?function(){return r}:function(){return t.today}))();return{currentMonth:i,visibleDays:this.getModifiers((0,y.default)(i,o,a))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,h=o;if(s===D.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,m.default)(t,d,h,i))return e;var f=(0,g.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(f)>-1})).reduce((function(t,r){var o=e[r]||u[r],i=new Set(o[f]);return i.add(n),(0,a.default)({},t,j({},r,(0,a.default)({},o,j({},f,i))))}),p);else{var b=(0,O.default)(t),v=e[b]||u[b],y=new Set(v[f]);y.add(n),p=(0,a.default)({},p,j({},b,(0,a.default)({},v,j({},f,y))))}return p}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,h=o;if(s===D.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,m.default)(t,d,h,i))return e;var f=(0,g.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(f)>-1})).reduce((function(t,r){var o=e[r]||u[r],i=new Set(o[f]);return i.delete(n),(0,a.default)({},t,j({},r,(0,a.default)({},o,j({},f,i))))}),p);else{var b=(0,O.default)(t),v=e[b]||u[b],y=new Set(v[f]);y.delete(n),p=(0,a.default)({},p,j({},b,(0,a.default)({},v,j({},f,y))))}return p}},{key:"isBlocked",value:function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)}},{key:"isHovered",value:function(e){var t=(this.state||{}).hoverDate;return(0,b.default)(e,t)}},{key:"isSelected",value:function(e){var t=this.props.date;return(0,b.default)(e,t)}},{key:"isToday",value:function(e){return(0,b.default)(e,this.today)}},{key:"isFirstDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}},{key:"isLastDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}},{key:"render",value:function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,a=e.navPrev,s=e.navNext,c=e.onOutsideClick,l=e.withPortal,u=e.focused,d=e.enableOutsideDays,h=e.hideKeyboardShortcutsPanel,f=e.daySize,p=e.firstDayOfWeek,b=e.renderCalendarDay,v=e.renderDayContents,y=e.renderCalendarInfo,m=e.renderMonthElement,g=e.calendarInfoPosition,O=e.isFocused,k=e.isRTL,_=e.phrases,w=e.dayAriaLabelFormat,D=e.onBlur,M=e.showKeyboardShortcuts,j=e.weekDayFormat,C=e.verticalHeight,P=e.noBorder,E=e.transitionDuration,T=e.verticalBorderSpacing,z=e.horizontalMonthPadding,I=this.state,x=I.currentMonth,N=I.visibleDays;return i.default.createElement(S.default,{orientation:n,enableOutsideDays:d,modifiers:N,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,monthFormat:r,withPortal:l,hidden:!u,hideKeyboardShortcutsPanel:h,initialVisibleMonth:function(){return x},firstDayOfWeek:p,onOutsideClick:c,navPrev:a,navNext:s,renderMonthText:o,renderCalendarDay:b,renderDayContents:v,renderCalendarInfo:y,renderMonthElement:m,calendarInfoPosition:g,isFocused:O,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:D,phrases:_,daySize:f,isRTL:k,showKeyboardShortcuts:M,weekDayFormat:j,dayAriaLabelFormat:w,verticalHeight:C,noBorder:P,transitionDuration:E,verticalBorderSpacing:T,horizontalMonthPadding:z})}}]),t}(i.default.Component);t.default=E,E.propTypes=C,E.defaultProps=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n(33)),o=p(n(65)),a=n(46),i=n(49),s=p(n(53)),c=p(n(91)),l=p(n(189)),u=p(n(190)),d=p(n(80)),h=p(n(72)),f=p(n(92));function p(e){return e&&e.__esModule?e:{default:e}}t.default={date:o.default.momentObj,onDateChange:r.default.func.isRequired,focused:r.default.bool,onFocusChange:r.default.func.isRequired,id:r.default.string.isRequired,placeholder:r.default.string,disabled:r.default.bool,required:r.default.bool,readOnly:r.default.bool,screenReaderInputMessage:r.default.string,showClearDate:r.default.bool,customCloseIcon:r.default.node,showDefaultInputIcon:r.default.bool,inputIconPosition:c.default,customInputIcon:r.default.node,noBorder:r.default.bool,block:r.default.bool,small:r.default.bool,regular:r.default.bool,verticalSpacing:a.nonNegativeInteger,keepFocusOnInput:r.default.bool,renderMonthText:(0,a.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,a.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),orientation:l.default,anchorDirection:u.default,openDirection:d.default,horizontalMargin:r.default.number,withPortal:r.default.bool,withFullScreenPortal:r.default.bool,appendToBody:r.default.bool,disableScroll:r.default.bool,initialVisibleMonth:r.default.func,firstDayOfWeek:h.default,numberOfMonths:r.default.number,keepOpenOnDateSelect:r.default.bool,reopenPickerOnClearDate:r.default.bool,renderCalendarInfo:r.default.func,calendarInfoPosition:f.default,hideKeyboardShortcutsPanel:r.default.bool,daySize:a.nonNegativeInteger,isRTL:r.default.bool,verticalHeight:a.nonNegativeInteger,transitionDuration:a.nonNegativeInteger,horizontalMonthPadding:a.nonNegativeInteger,navPrev:r.default.node,navNext:r.default.node,onPrevMonthClick:r.default.func,onNextMonthClick:r.default.func,onClose:r.default.func,renderCalendarDay:r.default.func,renderDayContents:r.default.func,enableOutsideDays:r.default.bool,isDayBlocked:r.default.func,isOutsideRange:r.default.func,isDayHighlighted:r.default.func,displayFormat:r.default.oneOfType([r.default.string,r.default.func]),monthFormat:r.default.string,weekDayFormat:r.default.string,phrases:r.default.shape((0,s.default)(i.SingleDatePickerPhrases)),dayAriaLabelFormat:r.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t,n){"use strict";var r=n(33);var o=n(34);function a(e,t){return Object(r.a)(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}}(e,t)||Object(o.a)()}n.d(t,"a",(function(){return a}))},function(e,t){!function(){e.exports=this.regeneratorRuntime}()},function(e,t){!function(){e.exports=this.wp.richText}()},,,function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t,n){e.exports=n(88)()},function(e,t){!function(){e.exports=this.wp.dom}()},function(e,t){!function(){e.exports=this.moment}()},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",(function(){return r}))},function(e,t){!function(){e.exports=this.wp.deprecated}()},,,,,function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DISPLAY_FORMAT="L",t.ISO_FORMAT="YYYY-MM-DD",t.ISO_MONTH_FORMAT="YYYY-MM",t.START_DATE="startDate",t.END_DATE="endDate",t.HORIZONTAL_ORIENTATION="horizontal",t.VERTICAL_ORIENTATION="vertical",t.VERTICAL_SCROLLABLE="verticalScrollable",t.ICON_BEFORE_POSITION="before",t.ICON_AFTER_POSITION="after",t.INFO_POSITION_TOP="top",t.INFO_POSITION_BOTTOM="bottom",t.INFO_POSITION_BEFORE="before",t.INFO_POSITION_AFTER="after",t.ANCHOR_LEFT="left",t.ANCHOR_RIGHT="right",t.OPEN_DOWN="down",t.OPEN_UP="up",t.DAY_SIZE=39,t.BLOCKED_MODIFIER="blocked",t.WEEKDAYS=[0,1,2,3,4,5,6],t.FANG_WIDTH_PX=20,t.FANG_HEIGHT_PX=10,t.DEFAULT_VERTICAL_SPACING=22,t.MODIFIER_KEY_NAMES=new Set(["Shift","Control","Alt","Meta"])},,function(e,t,n){"use strict";function r(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function s(e){r(i,o,a,s,c,"next",e)}function c(e){r(i,o,a,s,c,"throw",e)}s(void 0)}))}}n.d(t,"a",(function(){return o}))},function(e,t){!function(){e.exports=this.wp.a11y}()},function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},function(e,t,n){"use strict";var r=TypeError,o=Object.getOwnPropertyDescriptor;if(o)try{o({},"")}catch(e){o=null}var a=function(){throw new r},i=o?function(){try{return arguments.callee,a}catch(e){try{return o(arguments,"callee").get}catch(e){return a}}}():a,s=n(245)(),c=Object.getPrototypeOf||function(e){return e.__proto__},l=void 0,u="undefined"==typeof Uint8Array?void 0:c(Uint8Array),d={"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"%ArrayIteratorPrototype%":s?c([][Symbol.iterator]()):void 0,"%ArrayPrototype%":Array.prototype,"%ArrayProto_entries%":Array.prototype.entries,"%ArrayProto_forEach%":Array.prototype.forEach,"%ArrayProto_keys%":Array.prototype.keys,"%ArrayProto_values%":Array.prototype.values,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":void 0,"%AsyncFunctionPrototype%":void 0,"%AsyncGenerator%":void 0,"%AsyncGeneratorFunction%":void 0,"%AsyncGeneratorPrototype%":void 0,"%AsyncIteratorPrototype%":l&&s&&Symbol.asyncIterator?l[Symbol.asyncIterator]():void 0,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%Boolean%":Boolean,"%BooleanPrototype%":Boolean.prototype,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%DataViewPrototype%":"undefined"==typeof DataView?void 0:DataView.prototype,"%Date%":Date,"%DatePrototype%":Date.prototype,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%ErrorPrototype%":Error.prototype,"%eval%":eval,"%EvalError%":EvalError,"%EvalErrorPrototype%":EvalError.prototype,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float32ArrayPrototype%":"undefined"==typeof Float32Array?void 0:Float32Array.prototype,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%Float64ArrayPrototype%":"undefined"==typeof Float64Array?void 0:Float64Array.prototype,"%Function%":Function,"%FunctionPrototype%":Function.prototype,"%Generator%":void 0,"%GeneratorFunction%":void 0,"%GeneratorPrototype%":void 0,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int8ArrayPrototype%":"undefined"==typeof Int8Array?void 0:Int8Array.prototype,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int16ArrayPrototype%":"undefined"==typeof Int16Array?void 0:Int8Array.prototype,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%Int32ArrayPrototype%":"undefined"==typeof Int32Array?void 0:Int32Array.prototype,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":s?c(c([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%JSONParse%":"object"==typeof JSON?JSON.parse:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&s?c((new Map)[Symbol.iterator]()):void 0,"%MapPrototype%":"undefined"==typeof Map?void 0:Map.prototype,"%Math%":Math,"%Number%":Number,"%NumberPrototype%":Number.prototype,"%Object%":Object,"%ObjectPrototype%":Object.prototype,"%ObjProto_toString%":Object.prototype.toString,"%ObjProto_valueOf%":Object.prototype.valueOf,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%PromisePrototype%":"undefined"==typeof Promise?void 0:Promise.prototype,"%PromiseProto_then%":"undefined"==typeof Promise?void 0:Promise.prototype.then,"%Promise_all%":"undefined"==typeof Promise?void 0:Promise.all,"%Promise_reject%":"undefined"==typeof Promise?void 0:Promise.reject,"%Promise_resolve%":"undefined"==typeof Promise?void 0:Promise.resolve,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%RangeErrorPrototype%":RangeError.prototype,"%ReferenceError%":ReferenceError,"%ReferenceErrorPrototype%":ReferenceError.prototype,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%RegExpPrototype%":RegExp.prototype,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&s?c((new Set)[Symbol.iterator]()):void 0,"%SetPrototype%":"undefined"==typeof Set?void 0:Set.prototype,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"%String%":String,"%StringIteratorPrototype%":s?c(""[Symbol.iterator]()):void 0,"%StringPrototype%":String.prototype,"%Symbol%":s?Symbol:void 0,"%SymbolPrototype%":s?Symbol.prototype:void 0,"%SyntaxError%":SyntaxError,"%SyntaxErrorPrototype%":SyntaxError.prototype,"%ThrowTypeError%":i,"%TypedArray%":u,"%TypedArrayPrototype%":u?u.prototype:void 0,"%TypeError%":r,"%TypeErrorPrototype%":r.prototype,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?void 0:Uint8Array.prototype,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?void 0:Uint16Array.prototype,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?void 0:Uint32Array.prototype,"%URIError%":URIError,"%URIErrorPrototype%":URIError.prototype,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakMapPrototype%":"undefined"==typeof WeakMap?void 0:WeakMap.prototype,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"%WeakSetPrototype%":"undefined"==typeof WeakSet?void 0:WeakSet.prototype},f=n(72).call(Function.call,String.prototype.replace),h=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,p=/\\(\\)?/g,b=function(e){var t=[];return f(e,h,(function(e,n,r,o){t[t.length]=r?f(o,p,"$1"):n||e})),t},v=function(e,t){if(!(e in d))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===d[e]&&!t)throw new r("intrinsic "+e+" exists, but is not available. Please file an issue!");return d[e]};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');for(var n=b(e),r=v("%"+(n.length>0?n[0]:"")+"%",t),a=1;a=n.length){var i=o(r,n[a]);r=i?i.get||i.value:r[n[a]]}else r=r[n[a]];return r}},function(e,t,n){e.exports=n(287)},function(e,t,n){var r;!function(o){var a=/^\s+/,i=/\s+$/,s=0,c=o.round,l=o.min,u=o.max,d=o.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,c=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(i,"").toLowerCase();var t,n=!1;if(P[e])e=P[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=K.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=K.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=K.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=K.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=K.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=K.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=K.hex8.exec(e))return{r:N(t[1]),g:N(t[2]),b:N(t[3]),a:L(t[4]),format:n?"name":"hex8"};if(t=K.hex6.exec(e))return{r:N(t[1]),g:N(t[2]),b:N(t[3]),format:n?"name":"hex"};if(t=K.hex4.exec(e))return{r:N(t[1]+""+t[1]),g:N(t[2]+""+t[2]),b:N(t[3]+""+t[3]),a:L(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=K.hex3.exec(e))return{r:N(t[1]+""+t[1]),g:N(t[2]+""+t[2]),b:N(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(W(e.r)&&W(e.g)&&W(e.b)?(h=e.r,p=e.g,b=e.b,t={r:255*I(h,255),g:255*I(p,255),b:255*I(b,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):W(e.h)&&W(e.s)&&W(e.v)?(r=R(e.s),s=R(e.v),t=function(e,t,n){e=6*I(e,360),t=I(t,100),n=I(n,100);var r=o.floor(e),a=e-r,i=n*(1-t),s=n*(1-a*t),c=n*(1-(1-a)*t),l=r%6;return{r:255*[n,s,i,i,c,n][l],g:255*[c,n,n,s,i,i][l],b:255*[i,i,c,n,n,s][l]}}(e.h,r,s),d=!0,f="hsv"):W(e.h)&&W(e.s)&&W(e.l)&&(r=R(e.s),c=R(e.l),t=function(e,t,n){var r,o,a;function i(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=I(e,360),t=I(t,100),n=I(n,100),0===t)r=o=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=i(c,s,e+1/3),o=i(c,s,e),a=i(c,s,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,r,c),d=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var h,p,b;return n=z(n),{ok:d,format:e.format||f,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=c(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=n.ok,this._tc_id=s++}function h(e,t,n){e=I(e,255),t=I(t,255),n=I(n,255);var r,o,a=u(e,t,n),i=l(e,t,n),s=(a+i)/2;if(a==i)r=o=0;else{var c=a-i;switch(o=s>.5?c/(2-a-i):c/(a+i),a){case e:r=(t-n)/c+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(f(r));return a}function E(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,a=n.v,i=[],s=1/t;t--;)i.push(f({h:r,s:o,v:a})),a=(a+s)%1;return i}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=z(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return b(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var a=[A(c(e).toString(16)),A(c(t).toString(16)),A(c(n).toString(16)),A(H(r))];if(o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*I(this._r,255))+"%",g:c(100*I(this._g,255))+"%",b:c(100*I(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*I(this._r,255))+"%, "+c(100*I(this._g,255))+"%, "+c(100*I(this._b,255))+"%)":"rgba("+c(100*I(this._r,255))+"%, "+c(100*I(this._g,255))+"%, "+c(100*I(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(x[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);n="#"+v(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(O,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(M,arguments)},complement:function(){return this._applyCombination(D,arguments)},monochromatic:function(){return this._applyCombination(E,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(S,arguments)},tetrad:function(){return this._applyCombination(j,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:R(e[r]));e=n}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r=f(e).toRgb(),o=f(t).toRgb(),a=n/100;return f({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},f.readability=function(e,t){var n=f(e),r=f(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,a=f.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},f.mostReadable=function(e,t,n){var r,o,a,i,s=null,c=0;o=(n=n||{}).includeFallbackColors,a=n.level,i=n.size;for(var l=0;lc&&(c=r,s=f(t[l]));return f.isReadable(e,s,{level:a,size:i})||!o?s:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var P=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},x=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(P);function z(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function I(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function T(e){return l(1,u(0,e))}function N(e){return parseInt(e,16)}function A(e){return 1==e.length?"0"+e:""+e}function R(e){return e<=1&&(e=100*e+"%"),e}function H(e){return o.round(255*parseFloat(e)).toString(16)}function L(e){return N(e)/255}var F,V,B,K=(V="[\\s|\\(]+("+(F="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",B="[\\s|\\(]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",{CSS_UNIT:new RegExp(F),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function W(e){return!!K.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},,,function(e,t,n){"use strict";var r=n(64),o=n(167),a=n(168),i=n(283),s=a();r(s,{getPolyfill:a,implementation:o,shim:i}),e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="Interact with the calendar and add the check-in date for your trip.",o="Move backward to switch to the previous month.",a="Move forward to switch to the next month.",i="page up and page down keys",s="Home and end keys",c="Escape key",l="Select the date in focus.",u="Move backward (left) and forward (right) by one day.",d="Move backward (up) and forward (down) by one week.",f="Return to the date input field.",h="Press the down arrow key to interact with the calendar and\n select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",p=function(e){var t=e.date;return"Choose "+String(t)+" as your check-in date. It’s available."},b=function(e){var t=e.date;return"Choose "+String(t)+" as your check-out date. It’s available."},v=function(e){return e.date},m=function(e){var t=e.date;return"Not available. "+String(t)},y=function(e){var t=e.date;return"Selected. "+String(t)};t.default={calendarLabel:"Calendar",closeDatePicker:"Close",focusStartDate:r,clearDate:"Clear Date",clearDates:"Clear Dates",jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableStartDate:p,chooseAvailableEndDate:b,dateIsUnavailable:m,dateIsSelected:y};t.DateRangePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDates:"Clear Dates",focusStartDate:r,jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableStartDate:p,chooseAvailableEndDate:b,dateIsUnavailable:m,dateIsSelected:y},t.DateRangePickerInputPhrases={focusStartDate:r,clearDates:"Clear Dates",keyboardNavigationInstructions:h},t.SingleDatePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDate:"Clear Date",jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y},t.SingleDatePickerInputPhrases={clearDate:"Clear Date",keyboardNavigationInstructions:h},t.DayPickerPhrases={calendarLabel:"Calendar",jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,chooseAvailableStartDate:p,chooseAvailableEndDate:b,chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y},t.DayPickerKeyboardShortcutsPhrases={keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f},t.DayPickerNavigationPhrases={jumpToPrevMonth:o,jumpToNextMonth:a},t.CalendarDayPhrases={chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).reduce((function(e,t){return(0,r.default)({},e,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},t,o.default.oneOfType([o.default.string,o.default.func,o.default.node])))}),{})};var r=a(n(51)),o=a(n(28));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withStylesPropTypes=t.css=void 0;var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=t.stylesPropName,s=void 0===n?"styles":n,u=t.themePropName,f=void 0===u?"theme":u,p=t.cssPropName,y=void 0===p?"css":p,g=t.flushBefore,O=void 0!==g&&g,k=t.pureComponent,_=void 0!==k&&k,w=void 0,D=void 0,S=void 0,j=void 0,C=function(e){if(e){if(!i.default.PureComponent)throw new ReferenceError("withStyles() pureComponent option requires React 15.3.0 or later");return i.default.PureComponent}return i.default.Component}(_);function M(e){return e===l.DIRECTIONS.LTR?d.default.resolveLTR:d.default.resolveRTL}function E(t,n){var r=function(e){return e===l.DIRECTIONS.LTR?S:j}(t),o=t===l.DIRECTIONS.LTR?w:D,a=d.default.get();return o&&r===a?o:(t===l.DIRECTIONS.RTL?(D=e?d.default.createRTL(e):b,j=a,o=D):(w=e?d.default.createLTR(e):b,S=a,o=w),o)}function P(e,t){return{resolveMethod:M(e),styleDef:E(e)}}return function(e){var t=e.displayName||e.name||"Component",n=function(t){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t)),o=r.context[l.CHANNEL]?r.context[l.CHANNEL].getState():m;return r.state=P(o),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),o(n,[{key:"componentDidMount",value:function(){var e=this;this.context[l.CHANNEL]&&(this.channelUnsubscribe=this.context[l.CHANNEL].subscribe((function(t){e.setState(P(t))})))}},{key:"componentWillUnmount",value:function(){this.channelUnsubscribe&&this.channelUnsubscribe()}},{key:"render",value:function(){var t;O&&d.default.flush();var n=this.state,o=n.resolveMethod,a=n.styleDef;return i.default.createElement(e,r({},this.props,(h(t={},f,d.default.get()),h(t,s,a()),h(t,y,o),t)))}}]),n}(C);return n.WrappedComponent=e,n.displayName="withStyles("+String(t)+")",n.contextTypes=v,e.propTypes&&(n.propTypes=(0,a.default)({},e.propTypes),delete n.propTypes[s],delete n.propTypes[f],delete n.propTypes[y]),e.defaultProps&&(n.defaultProps=(0,a.default)({},e.defaultProps)),(0,c.default)(n,e)}};var a=f(n(51)),i=f(n(20)),s=f(n(28)),c=f(n(288)),l=n(291),u=f(n(292)),d=f(n(165));function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.css=d.default.resolveLTR,t.withStylesPropTypes={styles:s.default.object.isRequired,theme:s.default.object.isRequired,css:s.default.func.isRequired};var p={},b=function(){return p};var v=h({},l.CHANNEL,u.default),m=l.DIRECTIONS.LTR},function(e,t){!function(){e.exports=this.ReactDOM}()},,,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(117)),a=r(n(118)),i=n(20),s=r(i),c=r(n(95)),l=r(n(119)),u={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(u.str(e)||u.num(e))return e===t;if(u.obj(e)&&u.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!u.und(n)||e===t}};function d(){var e=i.useState(!1)[1];return i.useCallback((function(){return e((function(e){return!e}))}),[])}function f(e,t){return u.und(e)||u.nul(e)?t:e}function h(e){return u.und(e)?[]:u.arr(e)?e:[e]}function p(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=n.length)break;a=n[o++]}else{if((o=n.next()).done)break;a=o.value}for(var i=a,s=!1,c=0;c=h.startTime+l.duration;else if(l.decay)v=p+g/(1-.998)*(1-Math.exp(-(1-.998)*(t-h.startTime))),(u=Math.abs(h.lastPosition-v)<.1)&&(b=v);else{d=void 0!==h.lastTime?h.lastTime:t,g=void 0!==h.lastVelocity?h.lastVelocity:l.initialVelocity,t>d+64&&(d=t);for(var O=Math.floor(t-d),k=0;kb:v=e);++n);return n-1}(e,a);return function(e,t,n,r,o,a,i,s,c){var l=c?c(e):e;if(ln){if("identity"===s)return l;"clamp"===s&&(l=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=a(l),r===-1/0?l=-l:o===1/0?l+=r:l=l*(o-r)+r;return l}(e,a[t],a[t+1],o[t],o[t+1],c,i,s,r.map)}}var F=function(e){function t(n,r,o,a){var i;return(i=e.call(this)||this).calc=void 0,i.payload=n instanceof g&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],i.calc=L(r,o,a),i}c(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t,n){this.calc=L(e,t,n)},n.interpolate=function(e,n,r){return new t(this,e,n,r)},t}(g);var V=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}c(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t,n){return new F(this,e,t,n)},t}(y),B=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new V(e)})),n}c(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new F(this,e,t)},t}(g),K=0,W=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=K++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=b(e),n=t.delay,r=void 0===n?0:n,i=t.to,s=a(t,["delay","to"]);if(u.arr(i)||u.fun(i))this.queue.push(o({},s,{delay:r,to:i}));else if(i){var c={};Object.entries(i).forEach((function(e){var t,n=e[0],a=e[1],i=o({to:(t={},t[n]=a,t),delay:p(r,n)},s),l=c[i.delay]&&c[i.delay].to;c[i.delay]=o({},c[i.delay],i,{to:o({},l,i.to)})})),this.queue=Object.values(c)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(s),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,a=e.to,i=void 0===a?{}:a;u.obj(r)&&(n.merged=o({},r,n.merged)),u.obj(i)&&(n.merged=o({},n.merged,i))}));var r=this.local=++this.guid,i=this.localQueue=this.queue;this.queue=[],i.forEach((function(t,o){var s=t.delay,c=a(t,["delay"]),l=function(t){o===i.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},d=u.arr(c.to)||u.fun(c.to);s?setTimeout((function(){r===n.guid&&(d?n.runAsync(c,l):n.diff(c).start(l))}),s):d?n.runAsync(c,l):n.diff(c).start(l)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,R.has(t)||R.add(t),A||(A=!0,D(x||H));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,R.has(t)&&R.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,a(e,["delay"])),i=this.local,s=Promise.resolve(void 0);if(u.arr(r.to))for(var c=function(e){var t=e,a=o({},r,b(r.to[t]));u.arr(a.config)&&(a.config=a.config[t]),s=s.then((function(){if(i===n.guid)return new Promise((function(e){return n.diff(a).start(e)}))}))},l=0;l=r.length)return"break";i=r[a++]}else{if((a=r.next()).done)return"break";i=a.value}var n=i.key,s=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(s),e.current.deleted=e.current.deleted.filter(s))},r=e.current.deleted,o=Array.isArray(r),a=0;for(r=o?r:r[Symbol.iterator]();;){var i;if("break"===n())break}e.current.forceUpdate()}var J=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof y||(t=v.transform(t)),n.payload=t,n}return c(t,e),t}(O),ee={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},te="[-+]?\\d*\\.?\\d+",ne=te+"%";function re(){for(var e=arguments.length,t=new Array(e),n=0;n1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function he(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,a=fe(o,r,e+1/3),i=fe(o,r,e),s=fe(o,r,e-1/3);return Math.round(255*a)<<24|Math.round(255*i)<<16|Math.round(255*s)<<8}function pe(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function be(e){return(parseFloat(e)%360+360)%360/360}function ve(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function me(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function ye(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ue.exec(t))?parseInt(n[1]+"ff",16)>>>0:ee.hasOwnProperty(t)?ee[t]:(n=oe.exec(t))?(pe(n[1])<<24|pe(n[2])<<16|pe(n[3])<<8|255)>>>0:(n=ae.exec(t))?(pe(n[1])<<24|pe(n[2])<<16|pe(n[3])<<8|ve(n[4]))>>>0:(n=ce.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=de.exec(t))?parseInt(n[1],16)>>>0:(n=le.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ie.exec(t))?(255|he(be(n[1]),me(n[2]),me(n[3])))>>>0:(n=se.exec(t))?(he(be(n[1]),me(n[2]),me(n[3]))|ve(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var ge=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Oe=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ke=new RegExp("("+Object.keys(ee).join("|")+")","g"),_e={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},we=["Webkit","Ms","Moz","O"];function De(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||_e.hasOwnProperty(e)&&_e[e]?(""+t).trim():t+"px"}_e=Object.keys(_e).reduce((function(e,t){return we.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),_e);var Se={};I((function(e){return new J(e)})),E("div"),j((function(e){var t=e.output.map((function(e){return e.replace(Oe,ye)})).map((function(e){return e.replace(ke,ye)})),n=t[0].match(ge).map((function(){return[]}));t.forEach((function(e){e.match(ge).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(ge).map((function(t,r){return L(o({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(ge,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,o){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+o+")"}))}})),_(ee),k((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,i=t.scrollLeft,s=a(t,["style","children","scrollTop","scrollLeft"]),c="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var l in void 0!==o&&(e.scrollTop=o),void 0!==i&&(e.scrollLeft=i),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(l)){var u=0===l.indexOf("--"),d=De(l,n[l],u);"float"===l&&(l="cssFloat"),u?e.style.setProperty(l,d):e.style[l]=d}for(var f in s){var h=c?f:Se[f]||(Se[f]=f.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(h)&&e.setAttribute(h,s[f])}}),(function(e){return e}));var je,Ce,Me=(je=function(e){return i.forwardRef((function(t,n){var r=d(),c=i.useRef(!0),l=i.useRef(null),f=i.useRef(null),h=i.useCallback((function(e){var t=l.current;l.current=new N(e,(function(){var e=!1;f.current&&(e=v.fn(f.current,l.current.getAnimatedValue())),f.current&&!1!==e||r()})),t&&t.detach()}),[]);i.useEffect((function(){return function(){c.current=!1,l.current&&l.current.detach()}}),[]),i.useImperativeHandle(n,(function(){return z(f,c,r)})),h(t);var p,b=l.current.getValue(),m=(b.scrollTop,b.scrollLeft,a(b,["scrollTop","scrollLeft"])),y=(p=e,!u.fun(p)||p.prototype instanceof s.Component?function(e){return f.current=function(e,t){return t&&(u.fun(t)?t(e):u.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return s.createElement(e,o({},m,{ref:y}))}))},void 0===(Ce=!1)&&(Ce=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=Ce?t[0].toLowerCase()+t.substring(1):t;return e[n]=je(n),e}),je)}),Ee=Me(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);t.apply=Me,t.config={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},t.update=H,t.animated=Ee,t.a=Ee,t.interpolate=function(e,t,n){return e&&new F(e,t,n)},t.Globals=T,t.useSpring=function(e){var t=u.fun(e),n=U(1,t?e:[e]),r=n[0],o=n[1],a=n[2];return t?[r[0],o,a]:r},t.useTrail=function(e,t){var n=i.useRef(!1),r=u.fun(t),a=p(t),s=i.useRef(),c=U(e,(function(e,t){return 0===e&&(s.current=[]),s.current.push(t),o({},a,{config:p(a.config,e),attach:e>0&&function(){return s.current[e-1]}})})),l=c[0],d=c[1],f=c[2],h=i.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,i=s.current[r];return o({},e,{config:p(e.config||a.config,t),attach:i&&function(){return i}})}))}}),[e,a.reverse]);return i.useEffect((function(){n.current&&!r&&h(t)})),i.useEffect((function(){n.current=!0}),[]),r?[l,h,f]:l},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),s=X(r),c=s.lazy,l=void 0!==c&&c,u=(s.unique,s.reset),f=void 0!==u&&u,h=(s.enter,s.leave,s.update,s.onDestroyed),b=(s.keys,s.items,s.onFrame),v=s.onRest,m=s.onStart,y=s.ref,g=a(s,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),O=d(),k=i.useRef(!1),_=i.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!k.current&&new Map,forceUpdate:O});return i.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(_.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(_.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(_.current.instances).map((function(e){return e[1]}))}}})),_.current=function(e,t){var n=e.first,r=e.prevProps,i=a(e,["first","prevProps"]),s=X(t),c=s.items,l=s.keys,u=s.initial,d=s.from,f=s.enter,h=s.leave,b=s.update,v=s.trail,m=void 0===v?0:v,y=s.unique,g=s.config,O=s.order,k=void 0===O?[G,q,Y]:O,_=X(r),w=_.keys,D=_.items,S=o({},i.current),j=[].concat(i.deleted),C=Object.keys(S),M=new Set(C),E=new Set(l),P=l.filter((function(e){return!M.has(e)})),x=i.transitions.filter((function(e){return!e.destroyed&&!E.has(e.originalKey)})).map((function(e){return e.originalKey})),z=l.filter((function(e){return M.has(e)})),I=-m;for(;k.length;){switch(k.shift()){case G:P.forEach((function(e,t){y&&j.find((function(t){return t.originalKey===e}))&&(j=j.filter((function(t){return t.originalKey!==e})));var r=l.indexOf(e),o=c[r],a=n&&void 0!==u?"initial":G;S[e]={slot:a,originalKey:e,key:y?String(e):$++,item:o,trail:I+=m,config:p(g,o,a),from:p(n&&void 0!==u?u||{}:d,o),to:p(f,o)}}));break;case q:x.forEach((function(e){var t=w.indexOf(e),n=D[t],r=q;j.unshift(o({},S[e],{slot:r,destroyed:!0,left:w[Math.max(0,t-1)],right:w[Math.min(w.length,t+1)],trail:I+=m,config:p(g,n,r),to:p(h,n)})),delete S[e]}));break;case Y:z.forEach((function(e){var t=l.indexOf(e),n=c[t],r=Y;S[e]=o({},S[e],{item:n,slot:r,trail:I+=m,config:p(g,n,r),to:p(b,n)})}))}}var T=l.map((function(e){return S[e]}));return j.forEach((function(e){var t,n=e.left,r=(e.right,a(e,["left","right"]));-1!==(t=T.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),T=[].concat(T.slice(0,t),[r],T.slice(t))})),o({},i,{changed:P.length||x.length||z.length,first:n&&0===P.length,transitions:T,current:S,deleted:j,prevProps:t})}(_.current,r),_.current.changed&&_.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,a=e.config,i=e.trail,s=e.key,c=e.item;_.current.instances.has(s)||_.current.instances.set(s,new W);var u=_.current.instances.get(s),d=o({},g,{to:r,from:n,config:a,ref:y,onRest:function(n){_.current.mounted&&(e.destroyed&&(y||l||Q(_,s),h&&h(c)),!Array.from(_.current.instances).some((function(e){return!e[1].idle}))&&(y||l)&&_.current.deleted.length>0&&Q(_),v&&v(c,t,n))},onStart:m&&function(){return m(c,t)},onFrame:b&&function(e){return b(c,t,e)},delay:i,reset:f&&t===G});u.update(d),_.current.paused||u.start()})),i.useEffect((function(){return _.current.mounted=k.current=!0,function(){_.current.mounted=k.current=!1,Array.from(_.current.instances).map((function(e){return e[1].destroy()})),_.current.instances.clear()}}),[]),_.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:_.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=i.useRef();i.useEffect((function(){u.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var a=e.current;if(a){var i=a.controllers;if(i.length){var s=n*t[r];i.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+s})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=U},function(e,t,n){"use strict";var r=n(126),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),a=Object.prototype.toString,i=Array.prototype.concat,s=Object.defineProperty,c=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),l=function(e,t,n,r){var o;t in e&&("function"!=typeof(o=r)||"[object Function]"!==a.call(o)||!r())||(c?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},a=r(t);o&&(a=i.call(a,Object.getOwnPropertySymbols(t)));for(var s=0;s>>((3&t)<<3)&255;return o}}},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,o=n;return[o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]]].join("")}},function(e,t,n){"use strict";var r=n(89);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(28),a=(r=o)&&r.__esModule?r:{default:r},i=n(41);t.default=a.default.oneOf([i.ICON_BEFORE_POSITION,i.ICON_AFTER_POSITION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(28),a=(r=o)&&r.__esModule?r:{default:r},i=n(41);t.default=a.default.oneOf([i.INFO_POSITION_TOP,i.INFO_POSITION_BOTTOM,i.INFO_POSITION_BEFORE,i.INFO_POSITION_AFTER])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&!(0,o.default)(e,t)};var r=a(n(30)),o=a(n(93));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!a.default.isMoment(e)||!a.default.isMoment(t))return!1;var n=e.year(),r=e.month(),o=t.year(),i=t.month(),s=n===o,c=r===i;return s&&c?e.date()2?n-2:0),o=2;o0?!0===i?r.scrollTop(t,g.top+O.top):!1===i?r.scrollTop(t,g.top+k.top):O.top<0?r.scrollTop(t,g.top+O.top):r.scrollTop(t,g.top+k.top):a||((i=void 0===i||!!i)?r.scrollTop(t,g.top+O.top):r.scrollTop(t,g.top+k.top)),o&&(O.left<0||k.left>0?!0===s?r.scrollLeft(t,g.left+O.left):!1===s?r.scrollLeft(t,g.left+k.left):O.left<0?r.scrollLeft(t,g.left+O.left):r.scrollLeft(t,g.left+k.left):a||((s=void 0===s||!!s)?r.scrollLeft(t,g.left+O.left):r.scrollLeft(t,g.left+k.left)))}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},,,,,,,function(e,t,n){"use strict";var r=Array.prototype.slice,o=n(151),a=Object.keys,i=a?function(e){return a(e)}:n(243),s=Object.keys;i.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return o(e)?s(r.call(e)):s(e)}):Object.keys=i;return Object.keys||i},e.exports=i},function(e,t,n){"use strict";var r=n(72),o=n(46)("%Function%"),a=o.apply,i=o.call;e.exports=function(){return r.apply(i,arguments)},e.exports.apply=function(){return r.apply(a,arguments)}},function(e,t,n){"use strict";var r=n(46)("%TypeError%"),o=n(153),a=n(100),i=n(73);e.exports=function(e,t){if("Object"!==i(e))throw new r("Assertion failed: Type(O) is not Object");if(!a(t))throw new r("Assertion failed: IsPropertyKey(P) is not true, got "+o(t));return e[t]}},function(e,t,n){"use strict";var r=n(46),o=n(127),a=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&a(e,".prototype.")?o(n):n}},function(e,t,n){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},function(e,t,n){"use strict";var r=Object.prototype.toString;if(n(271)()){var o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==r.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&a.test(o.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCalendarDay=void 0;var r=Object.assign||function(e){for(var t=1;t1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');var n="$ "+e;if(!(n in c))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===c[n]&&!t)throw new TypeError("intrinsic "+e+" exists, but is not available. Please file an issue!");return c[n]}},function(e,t,n){"use strict";function r(e,t,n){var r="number"==typeof t,o="number"==typeof n,a="number"==typeof e;return r&&o?t+n:r&&a?t+e:r?t:o&&a?n+e:o?n:a?2*e:0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.font.input,o=n.lineHeight,a=n.lineHeight_small,i=e.spacing,s=i.inputPadding,c=i.displayTextPaddingVertical,l=i.displayTextPaddingTop,u=i.displayTextPaddingBottom,d=i.displayTextPaddingVertical_small,f=i.displayTextPaddingTop_small,h=i.displayTextPaddingBottom_small,p=t?a:o,b=t?r(d,f,h):r(c,l,u);return parseInt(p,10)+2*s+b}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(a.DISPLAY_FORMAT):null};var r=i(n(30)),o=i(n(79)),a=n(41);function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){var i=t.clone().startOf("month");a&&(i=i.startOf("week"));if((0,r.default)(e,i))return!1;var s=t.clone().add(n-1,"months").endOf("month");a&&(s=s.endOf("week"));return!(0,o.default)(e,s)};var r=a(n(93)),o=a(n(106));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureDayPicker=t.defaultProps=void 0;var r=Object.assign||function(e){for(var t=1;t0&&n("Invalid input not EOF"),e}function o(){return a("linear-gradient",e.linearGradient,s)||a("repeating-linear-gradient",e.repeatingLinearGradient,s)||a("radial-gradient",e.radialGradient,c)||a("repeating-radial-gradient",e.repeatingRadialGradient,c)}function a(t,r,o){return i(r,(function(r){var a=o();return a&&(y(e.comma)||n("Missing comma before color stops")),{type:t,orientation:a,colorStops:f(h)}}))}function i(t,r){var o=y(t);if(o)return y(e.startCall)||n("Missing ("),result=r(o),y(e.endCall)||n("Missing )"),result}function s(){return m("directional",e.sideOrCorner,1)||m("angular",e.angleValue,1)}function c(){var n,r,o=l();return o&&((n=[]).push(o),r=t,y(e.comma)&&((o=l())?n.push(o):t=r)),n}function l(){var e=function(){var e=m("shape",/^(circle)/i,0);e&&(e.style=v()||u());return e}()||function(){var e=m("shape",/^(ellipse)/i,0);e&&(e.style=b()||u());return e}();if(e)e.at=function(){if(m("position",/^at/,0)){var e=d();return e||n("Missing positioning value"),e}}();else{var t=d();t&&(e={type:"default-radial",at:t})}return e}function u(){return m("extent-keyword",e.extentKeywords,1)}function d(){var e={x:b(),y:b()};if(e.x||e.y)return{type:"position",value:e}}function f(t){var r=t(),o=[];if(r)for(o.push(r);y(e.comma);)(r=t())?o.push(r):n("One extra comma");return o}function h(){var t=m("hex",e.hexColor,1)||i(e.rgbaColor,(function(){return{type:"rgba",value:f(p)}}))||i(e.rgbColor,(function(){return{type:"rgb",value:f(p)}}))||m("literal",e.literalColor,0);return t||n("Expected color definition"),t.length=b(),t}function p(){return y(e.number)[1]}function b(){return m("%",e.percentageValue,1)||m("position-keyword",e.positionKeywords,1)||v()}function v(){return m("px",e.pixelValue,1)||m("em",e.emValue,1)}function m(e,t,n){var r=y(t);if(r)return{type:e,value:r[n]}}function y(e){var n,r;return(r=/^[\n\r\t\s]+/.exec(t))&&g(r[0].length),(n=e.exec(t))&&g(n[0].length),n}function g(e){t=t.substr(e)}return function(e){return t=e.toString(),r()}}(),t.parse=(n||{}).parse},,,,,function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t=r.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t,n){"use strict";var r=n(247),o=n(252),a=n(128),i=n(161),s=n(160),c=n(273);e.exports=function(){var e=c(this),t=s(a(e,"length")),n=1;arguments.length>0&&void 0!==arguments[0]&&(n=i(arguments[0]));var l=r(e,0);return o(l,e,t,0,n),l}},function(e,t,n){var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=r&&o&&"function"==typeof o.get?o.get:null,i=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&c&&"function"==typeof c.get?c.get:null,u=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h=Boolean.prototype.valueOf,p=Object.prototype.toString,b=String.prototype.match,v="function"==typeof BigInt?BigInt.prototype.valueOf:null,m=n(248).custom,y=m&&_(m)?m:null;function g(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function O(e){return String(e).replace(/"/g,""")}function k(e){return"[object Array]"===S(e)}function _(e){return"[object Symbol]"===S(e)}e.exports=function e(t,n,r,o){var s=n||{};if(D(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function(e,t){return g(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,j),"single",t)}(t,s);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var c=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=c&&c>0&&"object"==typeof t)return"[Object]";if(void 0===o)o=[];else if(function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n=0)return"[Circular]";function p(t,n){return n&&(o=o.slice()).push(n),e(t,s,r+1,o)}if("function"==typeof t){var m=function(e){if(e.name)return e.name;var t=b.call(e,/^function\s*([\w$]+)/);if(t)return t[1];return null}(t);return"[Function"+(m?": "+m:"")+"]"}if(_(t)){var w=Symbol.prototype.toString.call(t);return"object"==typeof t?C(w):w}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var x="<"+String(t.nodeName).toLowerCase(),z=t.attributes||[],I=0;I"}if(k(t))return 0===t.length?"[]":"[ "+P(t,p).join(", ")+" ]";if(function(e){return"[object Error]"===S(e)}(t)){var T=P(t,p);return 0===T.length?"["+String(t)+"]":"{ ["+String(t)+"] "+T.join(", ")+" }"}if("object"==typeof t){if(y&&"function"==typeof t[y])return t[y]();if("function"==typeof t.inspect)return t.inspect()}if(function(e){if(!a||!e||"object"!=typeof e)return!1;try{a.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var N=[];return i.call(t,(function(e,n){N.push(p(n,t)+" => "+p(e,t))})),E("Map",a.call(t),N)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{a.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var A=[];return u.call(t,(function(e){A.push(p(e,t))})),E("Set",l.call(t),A)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return M("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return M("WeakSet");if(function(e){return"[object Number]"===S(e)}(t))return C(p(Number(t)));if(function(e){return"[object BigInt]"===S(e)}(t))return C(p(v.call(t)));if(function(e){return"[object Boolean]"===S(e)}(t))return C(h.call(t));if(function(e){return"[object String]"===S(e)}(t))return C(p(String(t)));if(!function(e){return"[object Date]"===S(e)}(t)&&!function(e){return"[object RegExp]"===S(e)}(t)){var R=P(t,p);return 0===R.length?"{}":"{ "+R.join(", ")+" }"}return String(t)};var w=Object.prototype.hasOwnProperty||function(e){return e in this};function D(e,t){return w.call(e,t)}function S(e){return p.call(e)}function j(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+t.toString(16)}function C(e){return"Object("+e+")"}function M(e){return e+" { ? }"}function E(e,t,n){return e+" ("+t+") {"+n.join(", ")+"}"}function P(e,t){var n=k(e),r=[];if(n){r.length=e.length;for(var o=0;or?r:t}},function(e,t,n){"use strict";var r=n(263),o=n(266);e.exports=function(e){var t=o(e);return r(t)}},function(e,t,n){"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,a="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(a?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,n){"use strict";var r=n(152);e.exports=function(){return Array.prototype.flat||r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=void 0,o=void 0;function a(e,t){var n=t(e(o));return function(){return n}}function i(e){return a(e,r.createLTR||r.create)}function s(){for(var e=arguments.length,t=Array(e),n=0;n2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e)return 0;var o="width"===t?"Left":"Top",a="width"===t?"Right":"Bottom",i=!n||r?window.getComputedStyle(e):null,s=e.offsetWidth,c=e.offsetHeight,l="width"===t?s:c;n||(l-=parseFloat(i["padding"+o])+parseFloat(i["padding"+a])+parseFloat(i["border"+o+"Width"])+parseFloat(i["border"+a+"Width"]));r&&(l+=parseFloat(i["margin"+o])+parseFloat(i["margin"+a]));return l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=o&&a=0?1:-1}},function(e,t){e.exports=function(e,t){var n=e%t;return Math.floor(n>=0?n:n+t)}},function(e,t,n){"use strict";var r=n(175);e.exports=function(){return"function"==typeof Object.values?Object.values:r}},function(e,t,n){"use strict";e.exports=function(e){if(arguments.length<1)throw new TypeError("1 argument is required");if("object"!=typeof e)throw new TypeError("Argument 1 (”other“) to Node.contains must be an instance of Node");var t=e;do{if(this===t)return!0;t&&(t=t.parentNode)}while(t);return!1}},function(e,t,n){"use strict";var r=n(184);e.exports=function(){if("undefined"!=typeof document){if(document.contains)return document.contains;if(document.body&&document.body.contains)return document.body.contains}return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n(28)),o=v(n(65)),a=n(47),i=n(52),s=v(n(55)),c=v(n(187)),l=v(n(90)),u=v(n(188)),d=v(n(105)),f=v(n(189)),h=v(n(82)),p=v(n(75)),b=v(n(91));function v(e){return e&&e.__esModule?e:{default:e}}t.default={startDate:o.default.momentObj,endDate:o.default.momentObj,onDatesChange:r.default.func.isRequired,focusedInput:c.default,onFocusChange:r.default.func.isRequired,onClose:r.default.func,startDateId:r.default.string.isRequired,startDatePlaceholderText:r.default.string,endDateId:r.default.string.isRequired,endDatePlaceholderText:r.default.string,disabled:d.default,required:r.default.bool,readOnly:r.default.bool,screenReaderInputMessage:r.default.string,showClearDates:r.default.bool,showDefaultInputIcon:r.default.bool,inputIconPosition:l.default,customInputIcon:r.default.node,customArrowIcon:r.default.node,customCloseIcon:r.default.node,noBorder:r.default.bool,block:r.default.bool,small:r.default.bool,regular:r.default.bool,keepFocusOnInput:r.default.bool,renderMonthText:(0,a.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,a.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),orientation:u.default,anchorDirection:f.default,openDirection:h.default,horizontalMargin:r.default.number,withPortal:r.default.bool,withFullScreenPortal:r.default.bool,appendToBody:r.default.bool,disableScroll:r.default.bool,daySize:a.nonNegativeInteger,isRTL:r.default.bool,firstDayOfWeek:p.default,initialVisibleMonth:r.default.func,numberOfMonths:r.default.number,keepOpenOnDateSelect:r.default.bool,reopenPickerOnClearDates:r.default.bool,renderCalendarInfo:r.default.func,calendarInfoPosition:b.default,hideKeyboardShortcutsPanel:r.default.bool,verticalHeight:a.nonNegativeInteger,transitionDuration:a.nonNegativeInteger,verticalSpacing:a.nonNegativeInteger,navPrev:r.default.node,navNext:r.default.node,onPrevMonthClick:r.default.func,onNextMonthClick:r.default.func,renderCalendarDay:r.default.func,renderDayContents:r.default.func,minimumNights:r.default.number,enableOutsideDays:r.default.bool,isDayBlocked:r.default.func,isOutsideRange:r.default.func,isDayHighlighted:r.default.func,displayFormat:r.default.oneOfType([r.default.string,r.default.func]),monthFormat:r.default.string,weekDayFormat:r.default.string,phrases:r.default.shape((0,s.default)(i.DateRangePickerPhrases)),dayAriaLabelFormat:r.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(28),a=(r=o)&&r.__esModule?r:{default:r},i=n(41);t.default=a.default.oneOf([i.START_DATE,i.END_DATE])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(28),a=(r=o)&&r.__esModule?r:{default:r},i=n(41);t.default=a.default.oneOf([i.HORIZONTAL_ORIENTATION,i.VERTICAL_ORIENTATION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(28),a=(r=o)&&r.__esModule?r:{default:r},i=n(41);t.default=a.default.oneOf([i.ANCHOR_LEFT,i.ANCHOR_RIGHT])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,o){var a="undefined"!=typeof window?window.innerWidth:0,i=e===r.ANCHOR_LEFT?a-n:n,s=o||0;return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},e,Math.min(t+i-s,0))};var r=n(41)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var o=n.getBoundingClientRect(),a=o.left,i=o.top;e===r.OPEN_UP&&(i=-(window.innerHeight-o.bottom));t===r.ANCHOR_RIGHT&&(a=-(window.innerWidth-o.right));return{transform:"translate3d("+String(Math.round(a))+"px, "+String(Math.round(i))+"px, 0)"}};var r=n(41)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollParent=o,t.getScrollAncestorsOverflowY=a,t.default=function(e){var t=a(e),n=function(e){return t.forEach((function(t,n){n.style.setProperty("overflow-y",e?"hidden":t)}))};return n(!0),function(){return n(!1)}};var r=function(){return document.scrollingElement||document.documentElement};function o(e){var t=e.parentElement;if(null==t)return r();var n=window.getComputedStyle(t).overflowY;return"visible"!==n&&"hidden"!==n&&t.scrollHeight>t.clientHeight?t:o(t)}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,n=r(),i=o(e);return t.set(i,i.style.overflowY),i===n?t:a(i,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0&&(H||N||i!==k)){var $=y||this.today;V=this.deleteModifierFromRange(V,$,$.clone().add(k,"days"),"blocked-minimum-nights"),V=this.deleteModifierFromRange(V,$,$.clone().add(k,"days"),"blocked")}(H||T)&&(0,d.default)(E).forEach((function(e){Object.keys(e).forEach((function(e){var n=(0,u.default)(e),r=!1;(H||x)&&(s(n)?(V=t.addModifier(V,n,"blocked-out-of-range"),r=!0):V=t.deleteModifier(V,n,"blocked-out-of-range")),(H||z)&&(c(n)?(V=t.addModifier(V,n,"blocked-calendar"),r=!0):V=t.deleteModifier(V,n,"blocked-calendar")),V=r?t.addModifier(V,n,"blocked"):t.deleteModifier(V,n,"blocked"),(H||I)&&(V=l(n)?t.addModifier(V,n,"highlighted-calendar"):t.deleteModifier(V,n,"highlighted-calendar"))}))})),i>0&&n&&o===P.END_DATE&&(V=this.addModifierToRange(V,n,n.clone().add(i,"days"),"blocked-minimum-nights"),V=this.addModifierToRange(V,n,n.clone().add(i,"days"),"blocked"));var G=(0,u.default)();if((0,m.default)(this.today,G)||(V=this.deleteModifier(V,this.today,"today"),V=this.addModifier(V,G,"today"),this.today=G),Object.keys(V).length>0&&this.setState({visibleDays:(0,a.default)({},E,V)}),H||f!==S){var q=A(f,o);this.setState({phrases:(0,a.default)({},f,{chooseAvailableDate:q})})}}},{key:"onDayClick",value:function(e,t){var n=this.props,r=n.keepOpenOnDateSelect,o=n.minimumNights,a=n.onBlur,i=n.focusedInput,s=n.onFocusChange,c=n.onClose,l=n.onDatesChange,u=n.startDateOffset,d=n.endDateOffset,f=n.disabled;if(t&&t.preventDefault(),!this.isBlocked(e)){var h=this.props,p=h.startDate,v=h.endDate;if(u||d)p=(0,_.default)(u,e),v=(0,_.default)(d,e),r||(s(null),c({startDate:p,endDate:v}));else if(i===P.START_DATE){var m=v&&v.clone().subtract(o,"days"),O=(0,g.default)(m,e)||(0,y.default)(p,v),k=f===P.END_DATE;k&&O||(p=e,O&&(v=null)),k&&!O?(s(null),c({startDate:p,endDate:v})):k||s(P.END_DATE)}else if(i===P.END_DATE){var w=p&&p.clone().add(o,"days");p?(0,b.default)(e,w)?(v=e,r||(s(null),c({startDate:p,endDate:v}))):f!==P.START_DATE&&(p=e,v=null):(v=e,s(P.START_DATE))}l({startDate:p,endDate:v}),a()}}},{key:"onDayMouseEnter",value:function(e){if(!this.isTouchDevice){var t=this.props,n=t.startDate,r=t.endDate,o=t.focusedInput,i=t.minimumNights,s=t.startDateOffset,c=t.endDateOffset,l=this.state,u=l.hoverDate,d=l.visibleDays,f=null;if(o){var h=s||c,p={};if(h){var b=(0,_.default)(s,e),v=(0,_.default)(c,e,(function(e){return e.add(1,"day")}));f={start:b,end:v},this.state.dateOffset&&this.state.dateOffset.start&&this.state.dateOffset.end&&(p=this.deleteModifierFromRange(p,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),p=this.addModifierToRange(p,b,v,"hovered-offset")}if(!h){if(p=this.deleteModifier(p,u,"hovered"),p=this.addModifier(p,e,"hovered"),n&&!r&&o===P.END_DATE){if((0,y.default)(u,n)){var O=u.clone().add(1,"day");p=this.deleteModifierFromRange(p,n,O,"hovered-span")}if(!this.isBlocked(e)&&(0,y.default)(e,n)){var k=e.clone().add(1,"day");p=this.addModifierToRange(p,n,k,"hovered-span")}}if(!n&&r&&o===P.START_DATE&&((0,g.default)(u,r)&&(p=this.deleteModifierFromRange(p,u,r,"hovered-span")),!this.isBlocked(e)&&(0,g.default)(e,r)&&(p=this.addModifierToRange(p,e,r,"hovered-span"))),n){var w=n.clone().add(1,"day"),D=n.clone().add(i+1,"days");if(p=this.deleteModifierFromRange(p,w,D,"after-hovered-start"),(0,m.default)(e,n)){var S=n.clone().add(1,"day"),j=n.clone().add(i+1,"days");p=this.addModifierToRange(p,S,j,"after-hovered-start")}}}this.setState({hoverDate:e,dateOffset:f,visibleDays:(0,a.default)({},d,p)})}}}},{key:"onDayMouseLeave",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,i=this.state,s=i.hoverDate,c=i.visibleDays,l=i.dateOffset;if(!this.isTouchDevice&&s){var u={};if(u=this.deleteModifier(u,s,"hovered"),l&&(u=this.deleteModifierFromRange(u,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),n&&!r&&(0,y.default)(s,n)){var d=s.clone().add(1,"day");u=this.deleteModifierFromRange(u,n,d,"hovered-span")}if(!n&&r&&(0,y.default)(r,s)&&(u=this.deleteModifierFromRange(u,s,r,"hovered-span")),n&&(0,m.default)(e,n)){var f=n.clone().add(1,"day"),h=n.clone().add(o+1,"days");u=this.deleteModifierFromRange(u,f,h,"after-hovered-start")}this.setState({hoverDate:null,visibleDays:(0,a.default)({},c,u)})}}},{key:"onPrevMonthClick",value:function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(0,n+1).forEach((function(e){c[e]=s[e]}));var l=i.clone().subtract(2,"months"),u=(0,O.default)(l,1,r,!0),d=i.clone().subtract(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onNextMonthClick",value:function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(1).forEach((function(e){c[e]=s[e]}));var l=i.clone().add(n+1,"month"),u=(0,O.default)(l,1,r,!0),d=i.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onMonthChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===P.VERTICAL_SCROLLABLE,a=(0,O.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}},{key:"onYearChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===P.VERTICAL_SCROLLABLE,a=(0,O.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}},{key:"onMultiplyScrollableMonths",value:function(){var e=this.props,t=e.numberOfMonths,n=e.enableOutsideDays,r=this.state,o=r.currentMonth,i=r.visibleDays,s=Object.keys(i).length,c=o.clone().add(s,"month"),l=(0,O.default)(c,t,n,!0);this.setState({visibleDays:(0,a.default)({},i,this.getModifiers(l))})}},{key:"getFirstFocusableDay",value:function(e){var t=this,n=this.props,o=n.startDate,a=n.endDate,i=n.focusedInput,s=n.minimumNights,c=n.numberOfMonths,l=e.clone().startOf("month");if(i===P.START_DATE&&o?l=o.clone():i===P.END_DATE&&!a&&o?l=o.clone().add(s,"days"):i===P.END_DATE&&a&&(l=a.clone()),this.isBlocked(l)){for(var u=[],d=e.clone().add(c-1,"months").endOf("month"),f=l.clone();!(0,y.default)(f,d);)f=f.clone().add(1,"day"),u.push(f);var h=u.filter((function(e){return!t.isBlocked(e)}));h.length>0&&(l=r(h,1)[0])}return l}},{key:"getModifiers",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,w.default)(e)]=t.getModifiersForDay(e)}))})),n}},{key:"getModifiersForDay",value:function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))}},{key:"getStateForNewMonth",value:function(e){var t=this,n=e.initialVisibleMonth,r=e.numberOfMonths,o=e.enableOutsideDays,a=e.orientation,i=e.startDate,s=(n||(i?function(){return i}:function(){return t.today}))(),c=a===P.VERTICAL_SCROLLABLE;return{currentMonth:s,visibleDays:this.getModifiers((0,O.default)(s,r,o,c))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===P.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,k.default)(t,d,f,i))return e;var h=(0,w.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],i=new Set(o[h]);return i.add(n),(0,a.default)({},t,I({},r,(0,a.default)({},o,I({},h,i))))}),p);else{var b=(0,D.default)(t),v=e[b]||u[b],m=new Set(v[h]);m.add(n),p=(0,a.default)({},p,I({},b,(0,a.default)({},v,I({},h,m))))}return p}},{key:"addModifierToRange",value:function(e,t,n,r){for(var o=e,a=t.clone();(0,g.default)(a,n);)o=this.addModifier(o,a,r),a=a.clone().add(1,"day");return o}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===P.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,k.default)(t,d,f,i))return e;var h=(0,w.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],i=new Set(o[h]);return i.delete(n),(0,a.default)({},t,I({},r,(0,a.default)({},o,I({},h,i))))}),p);else{var b=(0,D.default)(t),v=e[b]||u[b],m=new Set(v[h]);m.delete(n),p=(0,a.default)({},p,I({},b,(0,a.default)({},v,I({},h,m))))}return p}},{key:"deleteModifierFromRange",value:function(e,t,n,r){for(var o=e,a=t.clone();(0,g.default)(a,n);)o=this.deleteModifier(o,a,r),a=a.clone().add(1,"day");return o}},{key:"doesNotMeetMinimumNights",value:function(e){var t=this.props,n=t.startDate,r=t.isOutsideRange,o=t.focusedInput,a=t.minimumNights;if(o!==P.END_DATE)return!1;if(n){var i=e.diff(n.clone().startOf("day").hour(12),"days");return i=0}return r((0,u.default)(e).subtract(a,"days"))}},{key:"isDayAfterHoveredStartDate",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,a=(this.state||{}).hoverDate;return!!n&&!r&&!this.isBlocked(e)&&(0,v.default)(a,e)&&o>0&&(0,m.default)(a,n)}},{key:"isEndDate",value:function(e){var t=this.props.endDate;return(0,m.default)(e,t)}},{key:"isHovered",value:function(e){var t=(this.state||{}).hoverDate;return!!this.props.focusedInput&&(0,m.default)(e,t)}},{key:"isInHoveredSpan",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=(this.state||{}).hoverDate,a=!!n&&!r&&(e.isBetween(n,o)||(0,m.default)(o,e)),i=!!r&&!n&&(e.isBetween(o,r)||(0,m.default)(o,e)),s=o&&!this.isBlocked(o);return(a||i)&&s}},{key:"isInSelectedSpan",value:function(e){var t=this.props,n=t.startDate,r=t.endDate;return e.isBetween(n,r)}},{key:"isLastInRange",value:function(e){var t=this.props.endDate;return this.isInSelectedSpan(e)&&(0,v.default)(e,t)}},{key:"isStartDate",value:function(e){var t=this.props.startDate;return(0,m.default)(e,t)}},{key:"isBlocked",value:function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)||this.doesNotMeetMinimumNights(e)}},{key:"isToday",value:function(e){return(0,m.default)(e,this.today)}},{key:"isFirstDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}},{key:"isLastDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}},{key:"render",value:function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,a=e.navPrev,s=e.navNext,c=e.noNavButtons,l=e.onOutsideClick,u=e.withPortal,d=e.enableOutsideDays,f=e.firstDayOfWeek,h=e.hideKeyboardShortcutsPanel,p=e.daySize,b=e.focusedInput,v=e.renderCalendarDay,m=e.renderDayContents,y=e.renderCalendarInfo,g=e.renderMonthElement,O=e.calendarInfoPosition,k=e.onBlur,_=e.isFocused,w=e.showKeyboardShortcuts,D=e.isRTL,S=e.weekDayFormat,j=e.dayAriaLabelFormat,C=e.verticalHeight,M=e.noBorder,E=e.transitionDuration,P=e.verticalBorderSpacing,z=e.horizontalMonthPadding,I=this.state,T=I.currentMonth,N=I.phrases,A=I.visibleDays;return i.default.createElement(x.default,{orientation:n,enableOutsideDays:d,modifiers:A,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,onMultiplyScrollableMonths:this.onMultiplyScrollableMonths,monthFormat:r,renderMonthText:o,withPortal:u,hidden:!b,initialVisibleMonth:function(){return T},daySize:p,onOutsideClick:l,navPrev:a,navNext:s,noNavButtons:c,renderCalendarDay:v,renderDayContents:m,renderCalendarInfo:y,renderMonthElement:g,calendarInfoPosition:O,firstDayOfWeek:f,hideKeyboardShortcutsPanel:h,isFocused:_,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:k,showKeyboardShortcuts:w,phrases:N,isRTL:D,weekDayFormat:S,dayAriaLabelFormat:j,verticalHeight:C,verticalBorderSpacing:P,noBorder:M,transitionDuration:E,horizontalMonthPadding:z})}}]),t}(i.default.Component);t.default=R,R.propTypes=T,R.defaultProps=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!r.default.isMoment(e)||!r.default.isMoment(t))return!1;var n=(0,r.default)(e).add(1,"day");return(0,o.default)(n,t)};var r=a(n(30)),o=a(n(78));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){if(!r.default.isMoment(e))return{};for(var i={},s=a?e.clone():e.clone().subtract(1,"month"),c=0;c<(a?t:t+2);c+=1){var l=[],u=s.clone(),d=u.clone().startOf("month").hour(12),f=u.clone().endOf("month").hour(12),h=d.clone();if(n)for(var p=0;p0&&this.setState({visibleDays:(0,a.default)({},w,x)})}},{key:"componentWillUpdate",value:function(){this.today=(0,u.default)()}},{key:"onDayClick",value:function(e,t){if(t&&t.preventDefault(),!this.isBlocked(e)){var n=this.props,r=n.onDateChange,o=n.keepOpenOnDateSelect,a=n.onFocusChange,i=n.onClose;r(e),o||(a({focused:!1}),i({date:e}))}}},{key:"onDayMouseEnter",value:function(e){if(!this.isTouchDevice){var t=this.state,n=t.hoverDate,r=t.visibleDays,o=this.deleteModifier({},n,"hovered");o=this.addModifier(o,e,"hovered"),this.setState({hoverDate:e,visibleDays:(0,a.default)({},r,o)})}}},{key:"onDayMouseLeave",value:function(){var e=this.state,t=e.hoverDate,n=e.visibleDays;if(!this.isTouchDevice&&t){var r=this.deleteModifier({},t,"hovered");this.setState({hoverDate:null,visibleDays:(0,a.default)({},n,r)})}}},{key:"onPrevMonthClick",value:function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(0,n+1).forEach((function(e){c[e]=s[e]}));var l=i.clone().subtract(1,"month"),u=(0,m.default)(l,1,r);this.setState({currentMonth:l,visibleDays:(0,a.default)({},c,this.getModifiers(u))},(function(){t(l.clone())}))}},{key:"onNextMonthClick",value:function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(1).forEach((function(e){c[e]=s[e]}));var l=i.clone().add(n,"month"),u=(0,m.default)(l,1,r),d=i.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onMonthChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===D.VERTICAL_SCROLLABLE,a=(0,m.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}},{key:"onYearChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===D.VERTICAL_SCROLLABLE,a=(0,m.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}},{key:"getFirstFocusableDay",value:function(e){var t=this,n=this.props,o=n.date,a=n.numberOfMonths,i=e.clone().startOf("month");if(o&&(i=o.clone()),this.isBlocked(i)){for(var s=[],c=e.clone().add(a-1,"months").endOf("month"),l=i.clone();!(0,v.default)(l,c);)l=l.clone().add(1,"day"),s.push(l);var u=s.filter((function(e){return!t.isBlocked(e)&&(0,v.default)(e,i)}));if(u.length>0){var d=r(u,1);i=d[0]}}return i}},{key:"getModifiers",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,g.default)(e)]=t.getModifiersForDay(e)}))})),n}},{key:"getModifiersForDay",value:function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))}},{key:"getStateForNewMonth",value:function(e){var t=this,n=e.initialVisibleMonth,r=e.date,o=e.numberOfMonths,a=e.enableOutsideDays,i=(n||(r?function(){return r}:function(){return t.today}))();return{currentMonth:i,visibleDays:this.getModifiers((0,m.default)(i,o,a))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===D.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,y.default)(t,d,f,i))return e;var h=(0,g.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],i=new Set(o[h]);return i.add(n),(0,a.default)({},t,C({},r,(0,a.default)({},o,C({},h,i))))}),p);else{var b=(0,O.default)(t),v=e[b]||u[b],m=new Set(v[h]);m.add(n),p=(0,a.default)({},p,C({},b,(0,a.default)({},v,C({},h,m))))}return p}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===D.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,y.default)(t,d,f,i))return e;var h=(0,g.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],i=new Set(o[h]);return i.delete(n),(0,a.default)({},t,C({},r,(0,a.default)({},o,C({},h,i))))}),p);else{var b=(0,O.default)(t),v=e[b]||u[b],m=new Set(v[h]);m.delete(n),p=(0,a.default)({},p,C({},b,(0,a.default)({},v,C({},h,m))))}return p}},{key:"isBlocked",value:function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)}},{key:"isHovered",value:function(e){var t=(this.state||{}).hoverDate;return(0,b.default)(e,t)}},{key:"isSelected",value:function(e){var t=this.props.date;return(0,b.default)(e,t)}},{key:"isToday",value:function(e){return(0,b.default)(e,this.today)}},{key:"isFirstDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}},{key:"isLastDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}},{key:"render",value:function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,a=e.navPrev,s=e.navNext,c=e.onOutsideClick,l=e.withPortal,u=e.focused,d=e.enableOutsideDays,f=e.hideKeyboardShortcutsPanel,h=e.daySize,p=e.firstDayOfWeek,b=e.renderCalendarDay,v=e.renderDayContents,m=e.renderCalendarInfo,y=e.renderMonthElement,g=e.calendarInfoPosition,O=e.isFocused,k=e.isRTL,_=e.phrases,w=e.dayAriaLabelFormat,D=e.onBlur,j=e.showKeyboardShortcuts,C=e.weekDayFormat,M=e.verticalHeight,E=e.noBorder,P=e.transitionDuration,x=e.verticalBorderSpacing,z=e.horizontalMonthPadding,I=this.state,T=I.currentMonth,N=I.visibleDays;return i.default.createElement(S.default,{orientation:n,enableOutsideDays:d,modifiers:N,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,monthFormat:r,withPortal:l,hidden:!u,hideKeyboardShortcutsPanel:f,initialVisibleMonth:function(){return T},firstDayOfWeek:p,onOutsideClick:c,navPrev:a,navNext:s,renderMonthText:o,renderCalendarDay:b,renderDayContents:v,renderCalendarInfo:m,renderMonthElement:y,calendarInfoPosition:g,isFocused:O,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:D,phrases:_,daySize:h,isRTL:k,showKeyboardShortcuts:j,weekDayFormat:C,dayAriaLabelFormat:w,verticalHeight:M,noBorder:E,transitionDuration:P,verticalBorderSpacing:x,horizontalMonthPadding:z})}}]),t}(i.default.Component);t.default=P,P.propTypes=M,P.defaultProps=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n(28)),o=p(n(65)),a=n(47),i=n(52),s=p(n(55)),c=p(n(90)),l=p(n(188)),u=p(n(189)),d=p(n(82)),f=p(n(75)),h=p(n(91));function p(e){return e&&e.__esModule?e:{default:e}}t.default={date:o.default.momentObj,onDateChange:r.default.func.isRequired,focused:r.default.bool,onFocusChange:r.default.func.isRequired,id:r.default.string.isRequired,placeholder:r.default.string,disabled:r.default.bool,required:r.default.bool,readOnly:r.default.bool,screenReaderInputMessage:r.default.string,showClearDate:r.default.bool,customCloseIcon:r.default.node,showDefaultInputIcon:r.default.bool,inputIconPosition:c.default,customInputIcon:r.default.node,noBorder:r.default.bool,block:r.default.bool,small:r.default.bool,regular:r.default.bool,verticalSpacing:a.nonNegativeInteger,keepFocusOnInput:r.default.bool,renderMonthText:(0,a.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,a.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),orientation:l.default,anchorDirection:u.default,openDirection:d.default,horizontalMargin:r.default.number,withPortal:r.default.bool,withFullScreenPortal:r.default.bool,appendToBody:r.default.bool,disableScroll:r.default.bool,initialVisibleMonth:r.default.func,firstDayOfWeek:f.default,numberOfMonths:r.default.number,keepOpenOnDateSelect:r.default.bool,reopenPickerOnClearDate:r.default.bool,renderCalendarInfo:r.default.func,calendarInfoPosition:h.default,hideKeyboardShortcutsPanel:r.default.bool,daySize:a.nonNegativeInteger,isRTL:r.default.bool,verticalHeight:a.nonNegativeInteger,transitionDuration:a.nonNegativeInteger,horizontalMonthPadding:a.nonNegativeInteger,navPrev:r.default.node,navNext:r.default.node,onPrevMonthClick:r.default.func,onNextMonthClick:r.default.func,onClose:r.default.func,renderCalendarDay:r.default.func,renderDayContents:r.default.func,enableOutsideDays:r.default.bool,isDayBlocked:r.default.func,isOutsideRange:r.default.func,isDayHighlighted:r.default.func,displayFormat:r.default.oneOfType([r.default.string,r.default.func]),monthFormat:r.default.string,weekDayFormat:r.default.string,phrases:r.default.shape((0,s.default)(i.SingleDatePickerPhrases)),dayAriaLabelFormat:r.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===r(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,s.default)(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new a.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}]),t}(i.default);function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=l},function(e,t,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,s.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,s.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=c},function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r":".","?":"/","|":"\\"},d={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},h=1;h<20;++h)c[111+h]="f"+h;for(h=0;h<=9;++h)c[h+96]=h.toString();m.prototype.bind=function(e,t,n){return e=e instanceof Array?e:[e],this._bindMultiple.call(this,e,t,n),this},m.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},m.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},m.prototype.reset=function(){return this._callbacks={},this._directMap={},this},m.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function e(t,n){return null!==t&&t!==a&&(t===n||e(t.parentNode,n))}(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},m.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},m.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(c[t]=e[t]);s=null},m.init=function(){var e=m(a);for(var t in e)"_"!==t.charAt(0)&&(m[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},m.init(),o.Mousetrap=m,e.exports&&(e.exports=m),void 0===(r=function(){return m}.call(t,n,t,e))||(e.exports=r)}function f(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function p(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return c[e.which]?c[e.which]:l[e.which]?l[e.which]:String.fromCharCode(e.which).toLowerCase()}function b(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function v(e,t,n){return n||(n=function(){if(!s)for(var e in s={},c)e>95&&e<112||c.hasOwnProperty(e)&&(s[c[e]]=e);return s}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function y(e,t){var n,r,o,a=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),o=0;o1?h(e,s,n,r):(i=y(e,r),t._callbacks[i.key]=t._callbacks[i.key]||[],l(i.key,i.modifiers,{type:i.action},o,e,a),t._callbacks[i.key][o?"unshift":"push"]({callback:n,modifiers:i.modifiers,action:i.action,seq:o,level:a,combo:e}))}t._handleKey=function(e,t,n){var r,o=l(e,t,n),a={},d=0,h=!1;for(r=0;r0&&!o.call(e,0))for(var b=0;b0)for(var v=0;v5&&(a=arguments[5]);for(var i=r,s=0;s0&&(f=this.IsArray(h)),f){var p=this.ToLength(this.Get(h,"length"));i=this.FlattenIntoArray(e,h,p,i,o-1)}else{if(i>=c)throw new l("index too large");this.CreateDataPropertyOrThrow(e,this.ToString(i),h),i+=1}}s+=1}return i},TrimString:function(e,t){var n,a=this.RequireObjectCoercible(e),i=this.ToString(a);if("start"===t)n=r(i);else if("end"===t)n=o(i);else{if("start+end"!==t)throw new l('Assertion failed: invalid `where` value; must be "start", "end", or "start+end"');n=r(o(i))}return n}});e.exports=u},function(e,t,n){"use strict";var r=n(58),o=n(54),a=n(148),i=n(149),s=n(247),c=r.call(Function.call,i());o(c,{getPolyfill:i,implementation:a,shim:s}),e.exports=c},function(e,t,n){"use strict";var r=n(54),o=n(149);e.exports=function(){var e=o();return r(String.prototype,{trimLeft:e},{trimLeft:function(){return String.prototype.trimLeft!==e}}),e}},function(e,t,n){"use strict";var r=n(58),o=n(54),a=n(150),i=n(151),s=n(249),c=r.call(Function.call,i());o(c,{getPolyfill:i,implementation:a,shim:s}),e.exports=c},function(e,t,n){"use strict";var r=n(54),o=n(151);e.exports=function(){var e=o();return r(String.prototype,{trimRight:e},{trimRight:function(){return String.prototype.trimRight!==e}}),e}},function(e,t){},function(e,t,n){"use strict";var r=n(59),o=n(89),a=n(128),i=n(252),s=n(90),c=n(130),l=n(101),u=n(131),d=n(163),h=r("%String%"),f=r("%TypeError%"),p=n(74),b=n(162),v=n(129),y=p("Symbol.prototype.valueOf",!0),m=p("String.prototype.slice"),g=p("String.prototype.indexOf"),O=parseInt,k=b(/^[0-9]$/),_=p("Promise.resolve",!0),w=p("Object.prototype.propertyIsEnumerable"),D=l.apply(r("%Array.prototype.push%")),S=y?r("%Object.getOwnPropertySymbols%"):null,M=function(e,t){return m("00"+e,-(t||2))},j=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],P=s(s({},i),{EnumerableOwnPropertyNames:i.EnumerableOwnProperties,thisSymbolValue:function(e){if(!y)throw new SyntaxError("Symbols are not supported; thisSymbolValue requires that `value` be a Symbol or a Symbol object");return"Symbol"===this.Type(e)?e:y(e)},IsStringPrefix:function(e,t){if("String"!==this.Type(e))throw new TypeError('Assertion failed: "p" must be a String');if("String"!==this.Type(t))throw new TypeError('Assertion failed: "q" must be a String');return d(e,t)},NumberToString:function(e){if("Number"!==this.Type(e))throw new TypeError('Assertion failed: "m" must be a String');return h(e)},CopyDataProperties:function(e,t,n){if("Object"!==this.Type(e))throw new TypeError('Assertion failed: "target" must be an Object');if(!this.IsArray(n))throw new TypeError('Assertion failed: "excludedItems" must be a List of Property Keys');for(var r=0;r=0&&a.IsInteger(a.ToNumber(r));if(!1===o&&s){var l=a.Get(i,r);a.CreateDataProperty(e,r,l)}})),e},PromiseResolve:function(e,t){if(!_)throw new SyntaxError("This environment does not support Promises.");return _(e,t)},GetSubstitution:function(e,t,n,r,o,i){if("String"!==this.Type(e))throw new f("Assertion failed: `matched` must be a String");var s=e.length;if("String"!==this.Type(t))throw new f("Assertion failed: `str` must be a String");var c=t.length;if(!this.IsInteger(n)||n<0||n>c)throw new f("Assertion failed: `position` must be a nonnegative integer, and less than or equal to the length of `string`, got "+a(n));var l=this;if(!this.IsArray(r)||!u(r,(function(e,t,n){return"String"===l.Type(e)||!(t in n)})))throw new f("Assertion failed: `captures` must be a List of Strings, got "+a(r));if("String"!==this.Type(i))throw new f("Assertion failed: `replacement` must be a String");var d=n+s,h=r.length;"Undefined"!==this.Type(o)&&(o=this.ToObject(o));for(var p="",b=0;b=i.length,_=b+2>=i.length;if("$"!==v||y)p+=i[b];else{var w=i[b+1];if("$"===w)p+="$",b+=1;else if("&"===w)p+=e,b+=1;else if("`"===w)p+=0===n?"":m(t,0,n-1),b+=1;else if("'"===w)p+=d>=c?"":m(t,d),b+=1;else{var D=_?null:i[b+2];if(!k(w)||"0"===w||!_&&k(D))if(k(w)&&(_||k(D))){var S=w+D,M=O(S,10)-1;p+=S<=h&&"Undefined"===this.Type(r[M])?"":r[M],b+=2}else if("<"===w)if("Undefined"===this.Type(o))p+="$<",b+=2;else{var j=g(i,">",b);if(j>-1){var C=m(i,b,j),P=this.Get(o,C);"Undefined"!==this.Type(P)&&(p+=this.ToString(P)),b+="$<"+C+">".length}}else p+="$";else{var E=O(w,10);p+=E<=h&&"Undefined"===this.Type(r[E-1])?"":r[E-1],b+=1}}}}return p},DateString:function(e){if("Number"!==this.Type(e)||v(e))throw new f("Assertion failed: `tv` must be a non-NaN Number");return j[this.WeekDay(e)]+" "+C[this.MonthFromTime(e)]+" "+M(this.DateFromTime(e))+" "+M(this.YearFromTime(e),4)},TimeString:function(e){if("Number"!==this.Type(e)||v(e))throw new f("Assertion failed: `tv` must be a non-NaN Number");var t=this.HourFromTime(e),n=this.MinFromTime(e),r=this.SecFromTime(e);return M(t)+":"+M(n)+":"+M(r)+" GMT"}});delete P.EnumerableOwnProperties,delete P.IsPropertyDescriptor,e.exports=P},function(e,t,n){"use strict";var r=n(59),o=n(253),a=n(90),i=n(130),s=n(101),c=r("%TypeError%"),l=n(74),u=l("Object.prototype.propertyIsEnumerable"),d=s.apply(r("%Array.prototype.push%")),h=l("Array.prototype.push"),f=a(a({},o),{ToIndex:function(e){if(void 0===e)return 0;var t=this.ToInteger(e);if(t<0)throw new RangeError("index must be >= 0");var n=this.ToLength(t);if(!this.SameValueZero(t,n))throw new RangeError("index must be >= 0 and < 2 ** 53 - 1");return n},EnumerableOwnProperties:function(e,t){var n=o.EnumerableOwnNames(e);if("key"===t)return n;if("value"===t||"key+value"===t){var r=[];return i(n,(function(n){u(e,n)&&d(r,["value"===t?e[n]:[n,e[n]]])})),r}throw new c('Assertion failed: "kind" is not "key", "value", or "key+value": '+t)},IterableToList:function(e,t){for(var n=this.GetIterator(e,t),r=[],o=!0;o;)if(o=this.IteratorStep(n)){var a=this.IteratorValue(o);h(r,a)}return r}});delete f.EnumerableOwnNames,delete f.IterableToArrayLike,e.exports=f},function(e,t,n){"use strict";var r=n(99)(),o=n(254),a=n(90),i=n(74),s=i("Array.prototype.push"),c=i("Array.prototype.slice"),l=i("Array.prototype.join"),u=a(a({},o),{SameValueNonNumber:function(e,t){if("number"==typeof e||typeof e!=typeof t)throw new TypeError("SameValueNonNumber requires two non-number values of the same type.");return this.SameValue(e,t)},IterableToArrayLike:function(e){var t;if(r)t=this.GetMethod(e,Symbol.iterator);else if(this.IsArray(e))t=function(){var e=-1,t=this;return{next:function(){return{done:(e+=1)>=t.length,value:t[e]}}}};else if("String"===this.Type(e)){var n=this;t=function(){var t=0;return{next:function(){var r=n.AdvanceStringIndex(e,t,!0),o=l(c(e,t,r),"");return t=r,{done:r>e.length,value:o}}}}}if(void 0!==t){for(var o=this.GetIterator(e,t),a=[],i=!0;i;)if(i=this.IteratorStep(o)){var u=this.IteratorValue(i);s(a,u)}return a}return this.ToObject(e)}});e.exports=u},function(e,t,n){"use strict";var r=n(62),o=n(153),a=n(89),i=n(128),s=n(59),c=s("%TypeError%"),l=s("%RangeError%"),u=s("%SyntaxError%"),d=s("%Array%"),h=d.prototype,f=s("%String%"),p=s("%Object%"),b=s("%Number%"),v=s("%Symbol%",!0),y=s("%RegExp%"),m=s("%Date%"),g=p.preventExtensions,O=n(99)(),k=n(156),_=n(129),w=n(157),D=Math.pow(2,32)-1,S=n(158),M=n(90),j=n(159),C=n(160),P=n(257),E=n(130),T=n(131),z=n(258),I=n(161),x=parseInt,N=n(74),A=n(162),H=N("Promise.prototype.then",!0),R=N("Array.prototype.slice"),L=N("String.prototype.slice"),F=A(/^0b[01]+$/i),V=A(/^0o[0-7]+$/i),B=A(/^[0-9]$/),K=N("RegExp.prototype.exec"),W=A(new y("["+["…","​","￾"].join("")+"]","g")),$=A(/^[-+]0x[0-9a-f]+$/i),U=N("String.prototype.charCodeAt"),G=N("Object.prototype.propertyIsEnumerable"),q=N("Object.prototype.toString"),Y=N("Number.prototype.valueOf"),Z=N("Boolean.prototype.valueOf"),X=N("String.prototype.valueOf"),Q=N("Date.prototype.valueOf"),J=N("Symbol.prototype.toString",!0),ee=Math.floor,te=Math.abs,ne=p.create,re=p.getOwnPropertyDescriptor,oe=p.getOwnPropertyNames,ae=p.getOwnPropertySymbols,ie=p.isExtensible,se=p.defineProperty,ce=Object.setPrototypeOf||([].__proto__!==Array.prototype?null:function(e,t){return e.__proto__=t,e}),le=function(e,t,n,r){if(!se){if(!e.IsDataDescriptor(r))return!1;if(!r["[[Configurable]]"]||!r["[[Writable]]"])return!1;if(n in t&&G(t,n)!==!!r["[[Enumerable]]"])return!1;var o=r["[[Value]]"];return t[n]=o,e.SameValue(t[n],o)}return se(t,n,e.FromPropertyDescriptor(r)),!0},ue=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),de=new RegExp("(^["+ue+"]+)|(["+ue+"]+$)","g"),he=N("String.prototype.replace"),fe=n(259),pe=n(165),be=M(M({},fe),{Call:function(e,t){var n=arguments.length>2?arguments[2]:[];if(!this.IsCallable(e))throw new c(i(e)+" is not a function");return e.apply(t,n)},ToPrimitive:o,ToNumber:function(e){var t=P(e)?e:o(e,b);if("symbol"==typeof t)throw new c("Cannot convert a Symbol value to a number");if("string"==typeof t){if(F(t))return this.ToNumber(x(L(t,2),2));if(V(t))return this.ToNumber(x(L(t,2),8));if(W(t)||$(t))return NaN;var n=function(e){return he(e,de,"")}(t);if(n!==t)return this.ToNumber(n)}return b(t)},ToInt16:function(e){var t=this.ToUint16(e);return t>=32768?t-65536:t},ToInt8:function(e){var t=this.ToUint8(e);return t>=128?t-256:t},ToUint8:function(e){var t=this.ToNumber(e);if(_(t)||0===t||!w(t))return 0;var n=j(t)*ee(te(t));return C(n,256)},ToUint8Clamp:function(e){var t=this.ToNumber(e);if(_(t)||t<=0)return 0;if(t>=255)return 255;var n=ee(e);return n+.5S?S:t},CanonicalNumericIndexString:function(e){if("[object String]"!==q(e))throw new c("must be a string");if("-0"===e)return-0;var t=this.ToNumber(e);return this.SameValue(this.ToString(t),e)?t:void 0},RequireObjectCoercible:fe.CheckObjectCoercible,IsArray:d.isArray||function(e){return"[object Array]"===q(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:g?function(e){return!P(e)&&ie(e)}:function(e){return!0},IsInteger:function(e){if("number"!=typeof e||_(e)||!w(e))return!1;var t=te(e);return ee(t)===t},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(O){var t=e[v.match];if(void 0!==t)return fe.ToBoolean(t)}return pe(e)},SameValueZero:function(e,t){return e===t||_(e)&&_(t)},GetV:function(e,t){if(!this.IsPropertyKey(t))throw new c("Assertion failed: IsPropertyKey(P) is not true");return this.ToObject(e)[t]},GetMethod:function(e,t){if(!this.IsPropertyKey(t))throw new c("Assertion failed: IsPropertyKey(P) is not true");var n=this.GetV(e,t);if(null!=n){if(!this.IsCallable(n))throw new c(t+"is not a function");return n}},Get:function(e,t){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new c("Assertion failed: IsPropertyKey(P) is not true, got "+i(t));return e[t]},Type:function(e){return"symbol"==typeof e?"Symbol":fe.Type(e)},SpeciesConstructor:function(e,t){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");var n=e.constructor;if(void 0===n)return t;if("Object"!==this.Type(n))throw new c("O.constructor is not an Object");var r=O&&v.species?n[v.species]:void 0;if(null==r)return t;if(this.IsConstructor(r))return r;throw new c("no constructor found")},FromPropertyDescriptor:function(e){if(void 0===e)return e;k(this,"Property Descriptor","Desc",e);var t={};return"[[Value]]"in e&&(t.value=e["[[Value]]"]),"[[Writable]]"in e&&(t.writable=e["[[Writable]]"]),"[[Get]]"in e&&(t.get=e["[[Get]]"]),"[[Set]]"in e&&(t.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(t.enumerable=e["[[Enumerable]]"]),"[[Configurable]]"in e&&(t.configurable=e["[[Configurable]]"]),t},CompletePropertyDescriptor:function(e){return k(this,"Property Descriptor","Desc",e),this.IsGenericDescriptor(e)||this.IsDataDescriptor(e)?(r(e,"[[Value]]")||(e["[[Value]]"]=void 0),r(e,"[[Writable]]")||(e["[[Writable]]"]=!1)):(r(e,"[[Get]]")||(e["[[Get]]"]=void 0),r(e,"[[Set]]")||(e["[[Set]]"]=void 0)),r(e,"[[Enumerable]]")||(e["[[Enumerable]]"]=!1),r(e,"[[Configurable]]")||(e["[[Configurable]]"]=!1),e},Set:function(e,t,n,r){if("Object"!==this.Type(e))throw new c("O must be an Object");if(!this.IsPropertyKey(t))throw new c("P must be a Property Key");if("Boolean"!==this.Type(r))throw new c("Throw must be a Boolean");if(r)return e[t]=n,!0;try{e[t]=n}catch(e){return!1}},HasOwnProperty:function(e,t){if("Object"!==this.Type(e))throw new c("O must be an Object");if(!this.IsPropertyKey(t))throw new c("P must be a Property Key");return r(e,t)},HasProperty:function(e,t){if("Object"!==this.Type(e))throw new c("O must be an Object");if(!this.IsPropertyKey(t))throw new c("P must be a Property Key");return t in e},IsConcatSpreadable:function(e){if("Object"!==this.Type(e))return!1;if(O&&"symbol"==typeof v.isConcatSpreadable){var t=this.Get(e,Symbol.isConcatSpreadable);if(void 0!==t)return this.ToBoolean(t)}return this.IsArray(e)},Invoke:function(e,t){if(!this.IsPropertyKey(t))throw new c("P must be a Property Key");var n=R(arguments,2),r=this.GetV(e,t);return this.Call(r,e,n)},GetIterator:function(e,t){var n=t;if(arguments.length<2){if(!O)throw new SyntaxError("GetIterator depends on native Symbol support when `method` is not passed");n=this.GetMethod(e,v.iterator)}var r=this.Call(n,e);if("Object"!==this.Type(r))throw new c("iterator must return an object");return r},IteratorNext:function(e,t){var n=this.Invoke(e,"next",arguments.length<2?[]:[t]);if("Object"!==this.Type(n))throw new c("iterator next must return an object");return n},IteratorComplete:function(e){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(iterResult) is not Object");return this.ToBoolean(this.Get(e,"done"))},IteratorValue:function(e){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(iterResult) is not Object");return this.Get(e,"value")},IteratorStep:function(e){var t=this.IteratorNext(e);return!0!==this.IteratorComplete(t)&&t},IteratorClose:function(e,t){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(iterator) is not Object");if(!this.IsCallable(t))throw new c("Assertion failed: completion is not a thunk for a Completion Record");var n,r=t,o=this.GetMethod(e,"return");if(void 0===o)return r();try{var a=this.Call(o,e,[])}catch(e){throw n=r(),r=null,e}if(n=r(),r=null,"Object"!==this.Type(a))throw new c("iterator .return must return an object");return n},CreateIterResultObject:function(e,t){if("Boolean"!==this.Type(t))throw new c("Assertion failed: Type(done) is not Boolean");return{value:e,done:t}},RegExpExec:function(e,t){if("Object"!==this.Type(e))throw new c("R must be an Object");if("String"!==this.Type(t))throw new c("S must be a String");var n=this.Get(e,"exec");if(this.IsCallable(n)){var r=this.Call(n,e,[t]);if(null===r||"Object"===this.Type(r))return r;throw new c('"exec" method must return `null` or an Object')}return K(e,t)},ArraySpeciesCreate:function(e,t){if(!this.IsInteger(t)||t<0)throw new c("Assertion failed: length must be an integer >= 0");var n,r=0===t?0:t;if(this.IsArray(e)&&(n=this.Get(e,"constructor"),"Object"===this.Type(n)&&O&&v.species&&null===(n=this.Get(n,v.species))&&(n=void 0)),void 0===n)return d(r);if(!this.IsConstructor(n))throw new c("C must be a constructor");return new n(r)},CreateDataProperty:function(e,t,n){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new c("Assertion failed: IsPropertyKey(P) is not true");var r=re(e,t),o=r||this.IsExtensible(e);return!(r&&(!r.writable||!r.configurable)||!o)&&le(this,e,t,{"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0})},CreateDataPropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new c("Assertion failed: IsPropertyKey(P) is not true");var r=this.CreateDataProperty(e,t,n);if(!r)throw new c("unable to create data property");return r},ObjectCreate:function(e,t){if(null!==e&&"Object"!==this.Type(e))throw new c("Assertion failed: proto must be null or an object");var n=arguments.length<2?[]:t;if(n.length>0)throw new u("es-abstract does not yet support internal slots");if(null===e&&!ne)throw new u("native Object.create support is required to create null objects");return ne(e)},AdvanceStringIndex:function(e,t,n){if("String"!==this.Type(e))throw new c("S must be a String");if(!this.IsInteger(t)||t<0||t>S)throw new c("Assertion failed: length must be an integer >= 0 and <= 2**53");if("Boolean"!==this.Type(n))throw new c("Assertion failed: unicode must be a Boolean");if(!n)return t+1;if(t+1>=e.length)return t+1;var r=U(e,t);if(r<55296||r>56319)return t+1;var o=U(e,t+1);return o<56320||o>57343?t+1:t+2},CreateMethodProperty:function(e,t,n){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new c("Assertion failed: IsPropertyKey(P) is not true");return le(this,e,t,{"[[Configurable]]":!0,"[[Enumerable]]":!1,"[[Value]]":n,"[[Writable]]":!0})},DefinePropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new c("Assertion failed: IsPropertyKey(P) is not true");var r=I(this,n)?n:this.ToPropertyDescriptor(n);if(!I(this,r))throw new c("Assertion failed: Desc is not a valid Property Descriptor");return le(this,e,t,r)},DeletePropertyOrThrow:function(e,t){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new c("Assertion failed: IsPropertyKey(P) is not true");var n=delete e[t];if(!n)throw new TypeError("Attempt to delete property failed.");return n},EnumerableOwnNames:function(e){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");return a(e)},thisNumberValue:function(e){return"Number"===this.Type(e)?e:Y(e)},thisBooleanValue:function(e){return"Boolean"===this.Type(e)?e:Z(e)},thisStringValue:function(e){return"String"===this.Type(e)?e:X(e)},thisTimeValue:function(e){return Q(e)},SetIntegrityLevel:function(e,t){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");if("sealed"!==t&&"frozen"!==t)throw new c('Assertion failed: `level` must be `"sealed"` or `"frozen"`');if(!g)throw new u("SetIntegrityLevel requires native `Object.preventExtensions` support");if(!g(e))return!1;if(!oe)throw new u("SetIntegrityLevel requires native `Object.getOwnPropertyNames` support");var n=oe(e),r=this;return"sealed"===t?E(n,(function(t){r.DefinePropertyOrThrow(e,t,{configurable:!1})})):"frozen"===t&&E(n,(function(t){var n,o=re(e,t);void 0!==o&&(n=r.IsAccessorDescriptor(r.ToPropertyDescriptor(o))?{configurable:!1}:{configurable:!1,writable:!1},r.DefinePropertyOrThrow(e,t,n))})),!0},TestIntegrityLevel:function(e,t){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");if("sealed"!==t&&"frozen"!==t)throw new c('Assertion failed: `level` must be `"sealed"` or `"frozen"`');if(this.IsExtensible(e))return!1;var n=oe(e),r=this;return 0===n.length||T(n,(function(n){var o=re(e,n);if(void 0!==o){if(o.configurable)return!1;if("frozen"===t&&r.IsDataDescriptor(r.ToPropertyDescriptor(o))&&o.writable)return!1}return!0}))},OrdinaryHasInstance:function(e,t){if(!1===this.IsCallable(e))return!1;if("Object"!==this.Type(t))return!1;var n=this.Get(e,"prototype");if("Object"!==this.Type(n))throw new c("OrdinaryHasInstance called on an object with an invalid prototype property.");return t instanceof e},OrdinaryHasProperty:function(e,t){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new c("Assertion failed: P must be a Property Key");return t in e},InstanceofOperator:function(e,t){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");var n=O&&v.hasInstance?this.GetMethod(t,v.hasInstance):void 0;if(void 0!==n)return this.ToBoolean(this.Call(n,t,[e]));if(!this.IsCallable(t))throw new c("`C` is not Callable");return this.OrdinaryHasInstance(t,e)},IsPromise:function(e){if("Object"!==this.Type(e))return!1;if(!H)return!1;try{H(e)}catch(e){return!1}return!0},"Abstract Equality Comparison":function(e,t){var n=this.Type(e),r=this.Type(t);return n===r?e===t:null==e&&null==t||("Number"===n&&"String"===r?this["Abstract Equality Comparison"](e,this.ToNumber(t)):"String"===n&&"Number"===r?this["Abstract Equality Comparison"](this.ToNumber(e),t):"Boolean"===n?this["Abstract Equality Comparison"](this.ToNumber(e),t):"Boolean"===r?this["Abstract Equality Comparison"](e,this.ToNumber(t)):"String"!==n&&"Number"!==n&&"Symbol"!==n||"Object"!==r?"Object"===n&&("String"===r||"Number"===r||"Symbol"===r)&&this["Abstract Equality Comparison"](this.ToPrimitive(e),t):this["Abstract Equality Comparison"](e,this.ToPrimitive(t)))},ValidateAndApplyPropertyDescriptor:function(e,t,n,r,o){var a=this.Type(e);if("Undefined"!==a&&"Object"!==a)throw new c("Assertion failed: O must be undefined or an Object");if("Boolean"!==this.Type(n))throw new c("Assertion failed: extensible must be a Boolean");if(!I(this,r))throw new c("Assertion failed: Desc must be a Property Descriptor");if("Undefined"!==this.Type(o)&&!I(this,o))throw new c("Assertion failed: current must be a Property Descriptor, or undefined");if("Undefined"!==a&&!this.IsPropertyKey(t))throw new c("Assertion failed: if O is not undefined, P must be a Property Key");if("Undefined"===this.Type(o)){if(!n)return!1;if(this.IsGenericDescriptor(r)||this.IsDataDescriptor(r))"Undefined"!==a&&le(this,e,t,{"[[Configurable]]":r["[[Configurable]]"],"[[Enumerable]]":r["[[Enumerable]]"],"[[Value]]":r["[[Value]]"],"[[Writable]]":r["[[Writable]]"]});else{if(!this.IsAccessorDescriptor(r))throw new c("Assertion failed: Desc is not an accessor descriptor");if("Undefined"!==a)return le(this,e,t,r)}return!0}if(this.IsGenericDescriptor(r)&&!("[[Configurable]]"in r)&&!("[[Enumerable]]"in r))return!0;if(z(this,r,o))return!0;if(!o["[[Configurable]]"]){if(r["[[Configurable]]"])return!1;if("[[Enumerable]]"in r&&!r["[[Enumerable]]"]==!!o["[[Enumerable]]"])return!1}if(this.IsGenericDescriptor(r));else if(this.IsDataDescriptor(o)!==this.IsDataDescriptor(r)){if(!o["[[Configurable]]"])return!1;this.IsDataDescriptor(o)?"Undefined"!==a&&le(this,e,t,{"[[Configurable]]":o["[[Configurable]]"],"[[Enumerable]]":o["[[Enumerable]]"],"[[Get]]":void 0}):"Undefined"!==a&&le(this,e,t,{"[[Configurable]]":o["[[Configurable]]"],"[[Enumerable]]":o["[[Enumerable]]"],"[[Value]]":void 0})}else if(this.IsDataDescriptor(o)&&this.IsDataDescriptor(r)){if(!o["[[Configurable]]"]&&!o["[[Writable]]"])return!("[[Writable]]"in r&&r["[[Writable]]"])&&!("[[Value]]"in r&&!this.SameValue(r["[[Value]]"],o["[[Value]]"]))}else{if(!this.IsAccessorDescriptor(o)||!this.IsAccessorDescriptor(r))throw new c("Assertion failed: current and Desc are not both data, both accessors, or one accessor and one data.");if(!o["[[Configurable]]"])return!("[[Set]]"in r&&!this.SameValue(r["[[Set]]"],o["[[Set]]"]))&&!("[[Get]]"in r&&!this.SameValue(r["[[Get]]"],o["[[Get]]"]))}return"Undefined"===a||le(this,e,t,r)},OrdinaryDefineOwnProperty:function(e,t,n){if("Object"!==this.Type(e))throw new c("Assertion failed: O must be an Object");if(!this.IsPropertyKey(t))throw new c("Assertion failed: P must be a Property Key");if(!I(this,n))throw new c("Assertion failed: Desc must be a Property Descriptor");var r=re(e,t),o=r&&this.ToPropertyDescriptor(r),a=this.IsExtensible(e);return this.ValidateAndApplyPropertyDescriptor(e,t,a,n,o)},OrdinaryGetOwnProperty:function(e,t){if("Object"!==this.Type(e))throw new c("Assertion failed: O must be an Object");if(!this.IsPropertyKey(t))throw new c("Assertion failed: P must be a Property Key");if(r(e,t)){if(!re){var n=this.IsArray(e)&&"length"===t,o=this.IsRegExp(e)&&"lastIndex"===t;return{"[[Configurable]]":!(n||o),"[[Enumerable]]":G(e,t),"[[Value]]":e[t],"[[Writable]]":!0}}return this.ToPropertyDescriptor(re(e,t))}},ArrayCreate:function(e){if(!this.IsInteger(e)||e<0)throw new c("Assertion failed: `length` must be an integer Number >= 0");if(e>D)throw new l("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:h,n=[];if(t!==h){if(!ce)throw new u("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");ce(n,t)}return 0!==e&&(n.length=e),n},ArraySetLength:function(e,t){if(!this.IsArray(e))throw new c("Assertion failed: A must be an Array");if(!I(this,t))throw new c("Assertion failed: Desc must be a Property Descriptor");if(!("[[Value]]"in t))return this.OrdinaryDefineOwnProperty(e,"length",t);var n=M({},t),r=this.ToUint32(t["[[Value]]"]);if(r!==this.ToNumber(t["[[Value]]"]))throw new l("Invalid array length");n["[[Value]]"]=r;var o=this.OrdinaryGetOwnProperty(e,"length");if(!this.IsDataDescriptor(o))throw new c("Assertion failed: an array had a non-data descriptor on `length`");var a,i=o["[[Value]]"];if(r>=i)return this.OrdinaryDefineOwnProperty(e,"length",n);if(!o["[[Writable]]"])return!1;if("[[Writable]]"in n&&!n["[[Writable]]"]?(a=!1,n["[[Writable]]"]=!0):a=!0,!this.OrdinaryDefineOwnProperty(e,"length",n))return!1;for(;r"+a+""},GetOwnPropertyKeys:function(e,t){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");if("Symbol"===t)return O&&ae?ae(e):[];if("String"===t)return oe?oe(e):a(e);throw new c('Assertion failed: `Type` must be `"String"` or `"Symbol"`')},SymbolDescriptiveString:function(e){if("Symbol"!==this.Type(e))throw new c("Assertion failed: `sym` must be a Symbol");return J(e)},GetSubstitution:function(e,t,n,r,o){if("String"!==this.Type(e))throw new c("Assertion failed: `matched` must be a String");var a=e.length;if("String"!==this.Type(t))throw new c("Assertion failed: `str` must be a String");var s=t.length;if(!this.IsInteger(n)||n<0||n>s)throw new c("Assertion failed: `position` must be a nonnegative integer, and less than or equal to the length of `string`, got "+i(n));var l=this;if(!this.IsArray(r)||!T(r,(function(e,t,n){return"String"===l.Type(e)||!(t in n)})))throw new c("Assertion failed: `captures` must be a List of Strings, got "+i(r));if("String"!==this.Type(o))throw new c("Assertion failed: `replacement` must be a String");for(var u=n+a,d=r.length,h="",f=0;f=o.length,v=f+2>=o.length;if("$"!==p||b)h+=o[f];else{var y=o[f+1];if("$"===y)h+="$",f+=1;else if("&"===y)h+=e,f+=1;else if("`"===y)h+=0===n?"":L(t,0,n-1),f+=1;else if("'"===y)h+=u>=s?"":L(t,u),f+=1;else{var m=v?null:o[f+2];if(!B(y)||"0"===y||!v&&B(m))if(B(y)&&(v||B(m))){var g=y+m,O=x(g,10)-1;h+=g<=d&&"Undefined"===this.Type(r[O])?"":r[O],f+=2}else h+="$";else{var k=x(y,10);h+=k<=d&&"Undefined"===this.Type(r[k-1])?"":r[k-1],f+=1}}}}return h},ToDateString:function(e){if("Number"!==this.Type(e))throw new c("Assertion failed: `tv` must be a Number");return _(e)?"Invalid Date":m(e)}});delete be.CheckObjectCoercible,e.exports=be},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=n(154),a=n(100),i=n(256),s=n(155),c=function(e,t){if(null==e)throw new TypeError("Cannot call method on "+e);if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,r,i,s="string"===t?["toString","valueOf"]:["valueOf","toString"];for(i=0;i1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),r&&(Symbol.toPrimitive?t=l(e,Symbol.toPrimitive):s(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var a=t.call(e,n);if(o(a))return a;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(i(e)||s(e))&&(n="string"),c(e,"default"===n?"number":n)}},function(e,t,n){"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,a="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(a?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,n){"use strict";e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var r=n(131);e.exports=function(e,t,n){return r(["[[Configurable]]","[[Enumerable]]","[[Get]]","[[Set]]","[[Value]]","[[Writable]]"],(function(r){return r in t==r in n&&e.SameValue(t[r],n[r])}))}},function(e,t,n){"use strict";var r=n(59),o=r("%Object%"),a=r("%EvalError%"),i=r("%TypeError%"),s=r("%String%"),c=r("%Date%"),l=r("%Number%"),u=r("%Math.floor%"),d=r("%Date.UTC%"),h=r("%Math.abs%"),f=n(156),p=n(161),b=n(129),v=n(157),y=n(159),m=n(160),g=n(163),O=n(74),k=n(100),_=n(164),w=n(62),D=O("Date.prototype.getUTCFullYear"),S={ToPrimitive:_,ToBoolean:function(e){return!!e},ToNumber:function(e){return+e},ToInteger:function(e){var t=this.ToNumber(e);return b(t)?0:0!==t&&v(t)?y(t)*Math.floor(Math.abs(t)):t},ToInt32:function(e){return this.ToNumber(e)>>0},ToUint32:function(e){return this.ToNumber(e)>>>0},ToUint16:function(e){var t=this.ToNumber(e);if(b(t)||0===t||!v(t))return 0;var n=y(t)*Math.floor(Math.abs(t));return m(n,65536)},ToString:function(e){return s(e)},ToObject:function(e){return this.CheckObjectCoercible(e),o(e)},CheckObjectCoercible:function(e,t){if(null==e)throw new i(t||"Cannot call method on "+e);return e},IsCallable:k,SameValue:function(e,t){return e===t?0!==e||1/e==1/t:b(e)&&b(t)},Type:function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0},IsPropertyDescriptor:function(e){return p(this,e)},IsAccessorDescriptor:function(e){return void 0!==e&&(f(this,"Property Descriptor","Desc",e),!(!w(e,"[[Get]]")&&!w(e,"[[Set]]")))},IsDataDescriptor:function(e){return void 0!==e&&(f(this,"Property Descriptor","Desc",e),!(!w(e,"[[Value]]")&&!w(e,"[[Writable]]")))},IsGenericDescriptor:function(e){return void 0!==e&&(f(this,"Property Descriptor","Desc",e),!this.IsAccessorDescriptor(e)&&!this.IsDataDescriptor(e))},FromPropertyDescriptor:function(e){if(void 0===e)return e;if(f(this,"Property Descriptor","Desc",e),this.IsDataDescriptor(e))return{value:e["[[Value]]"],writable:!!e["[[Writable]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};if(this.IsAccessorDescriptor(e))return{get:e["[[Get]]"],set:e["[[Set]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};throw new i("FromPropertyDescriptor must be called with a fully populated Property Descriptor")},ToPropertyDescriptor:function(e){if("Object"!==this.Type(e))throw new i("ToPropertyDescriptor requires an object");var t={};if(w(e,"enumerable")&&(t["[[Enumerable]]"]=this.ToBoolean(e.enumerable)),w(e,"configurable")&&(t["[[Configurable]]"]=this.ToBoolean(e.configurable)),w(e,"value")&&(t["[[Value]]"]=e.value),w(e,"writable")&&(t["[[Writable]]"]=this.ToBoolean(e.writable)),w(e,"get")){var n=e.get;if(void 0!==n&&!this.IsCallable(n))throw new TypeError("getter must be a function");t["[[Get]]"]=n}if(w(e,"set")){var r=e.set;if(void 0!==r&&!this.IsCallable(r))throw new i("setter must be a function");t["[[Set]]"]=r}if((w(t,"[[Get]]")||w(t,"[[Set]]"))&&(w(t,"[[Value]]")||w(t,"[[Writable]]")))throw new i("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t},"Abstract Equality Comparison":function(e,t){var n=this.Type(e),r=this.Type(t);return n===r?e===t:null==e&&null==t||("Number"===n&&"String"===r?this["Abstract Equality Comparison"](e,this.ToNumber(t)):"String"===n&&"Number"===r?this["Abstract Equality Comparison"](this.ToNumber(e),t):"Boolean"===n?this["Abstract Equality Comparison"](this.ToNumber(e),t):"Boolean"===r?this["Abstract Equality Comparison"](e,this.ToNumber(t)):"String"!==n&&"Number"!==n||"Object"!==r?"Object"===n&&("String"===r||"Number"===r)&&this["Abstract Equality Comparison"](this.ToPrimitive(e),t):this["Abstract Equality Comparison"](e,this.ToPrimitive(t)))},"Strict Equality Comparison":function(e,t){var n=this.Type(e);return n===this.Type(t)&&("Undefined"===n||"Null"===n||e===t)},"Abstract Relational Comparison":function(e,t,n){if("Boolean"!==this.Type(n))throw new i("Assertion failed: LeftFirst argument must be a Boolean");var r,o;if(n?(r=this.ToPrimitive(e,l),o=this.ToPrimitive(t,l)):(o=this.ToPrimitive(t,l),r=this.ToPrimitive(e,l)),!("String"===this.Type(r)&&"String"===this.Type(o))){var a=this.ToNumber(r),s=this.ToNumber(o);if(b(a)||b(s))return;return(!v(a)||!v(s)||a!==s)&&((0!==a||0!==s)&&(a!==1/0&&(s===1/0||s!==-1/0&&(a===-1/0||a864e13?NaN:l(new c(this.ToNumber(e)))},modulo:function(e,t){return m(e,t)}};e.exports=S},function(e,t,n){"use strict";var r=n(54),o=n(166);e.exports=function(){var e=o();return r(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),e}},function(e,t,n){"use strict";(function(t){var r=n(54),o=n(155),a="__ global cache key __";"function"==typeof Symbol&&o(Symbol("foo"))&&"function"==typeof Symbol.for&&(a=Symbol.for(a));var i=function(){return!0},s=function(){if(!t[a]){var e={};e[a]={};var n={};n[a]=i,r(t,e,n)}return t[a]},c=s(),l=function(e){return o(e)?Symbol.prototype.valueOf.call(e):typeof e+" | "+String(e)},u=function(e){if(!function(e){return null===e||"object"!=typeof e&&"function"!=typeof e}(e))throw new TypeError("key must not be an object")},d={clear:function(){delete t[a],c=s()},delete:function(e){return u(e),delete c[l(e)],!d.has(e)},get:function(e){return u(e),c[l(e)]},has:function(e){return u(e),l(e)in c},set:function(e,t){u(e);var n=l(e),o={};o[n]=t;var a={};return a[n]=i,r(c,o,a),d.has(e)},setIfMissingThenGet:function(e,t){if(d.has(e))return d.get(e);var n=t();return d.set(e,n),n}};e.exports=d}).call(this,n(64))},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.GLOBAL_CACHE_KEY="reactWithStylesInterfaceCSS",t.MAX_SPECIFICITY=20},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e.length>0?String(e)+"__":"")+String(t)}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[],n=!1,r={},o=0;o>",baseInvalidMessage:"Invalid "};function r(e){if("function"!=typeof e)throw new Error(n.invalidPropValidator);var t=e.bind(null,!1,null);return t.isRequired=e.bind(null,!0,null),t.withPredicate=function(t){if("function"!=typeof t)throw new Error(n.invalidPredicate);var r=e.bind(null,!1,t);return r.isRequired=e.bind(null,!0,t),r},t}function o(e,t,r){return new Error("The prop `"+e+"` "+n.requiredCore+" in `"+t+"`, but its value is `"+r+"`.")}var a=-1;e.exports={constructPropValidatorVariations:r,createMomentChecker:function(e,t,i,s){return r((function(r,c,l,u,d,h,f){var p=l[u],b=typeof p,v=function(e,t,n,r){var i=void 0===r,s=null===r;if(e){if(i)return o(n,t,"undefined");if(s)return o(n,t,"null")}return i||s?null:a}(r,d=d||n.anonymousMessage,f=f||u,p);if(v!==a)return v;if(t&&!t(p))return new Error(n.invalidTypeCore+": `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+e+"`.");if(!i(p))return new Error(n.baseInvalidMessage+h+" `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+s+"`.");if(c&&!c(p)){var y=c.name||n.anonymousMessage;return new Error(n.baseInvalidMessage+h+" `"+u+"` of type `"+b+"` supplied to `"+d+"`. "+n.predicateFailureCore+" `"+y+"`.")}return null}))},messages:n}},function(e,t,n){"use strict";function r(){return null}function o(){return r}r.isRequired=r,e.exports={and:o,between:o,booleanSome:o,childrenHavePropXorChildren:o,childrenOf:o,childrenOfType:o,childrenSequenceOf:o,componentWithName:o,disallowedIf:o,elementType:o,empty:o,explicitNull:o,forbidExtraProps:Object,integer:o,keysOf:o,mutuallyExclusiveProps:o,mutuallyExclusiveTrueProps:o,nChildren:o,nonNegativeInteger:r,nonNegativeNumber:o,numericString:o,object:o,or:o,range:o,ref:o,requiredBy:o,restrictedProp:o,sequenceOf:o,shape:o,stringEndsWith:o,stringStartsWith:o,uniqueArray:o,uniqueArrayOf:o,valuesOf:o,withShape:o}},function(e,t,n){"use strict";var r=n(273),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=f(n);o&&o!==p&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=c(t),b=c(n),v=0;v0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===r(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,s.default)(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new a.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}]),t}(i.default);function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=l},function(e,t,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,s.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,s.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=c},function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r":".","?":"/","|":"\\"},d={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},f=1;f<20;++f)c[111+f]="f"+f;for(f=0;f<=9;++f)c[f+96]=f.toString();y.prototype.bind=function(e,t,n){return e=e instanceof Array?e:[e],this._bindMultiple.call(this,e,t,n),this},y.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},y.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},y.prototype.reset=function(){return this._callbacks={},this._directMap={},this},y.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function e(t,n){return null!==t&&t!==a&&(t===n||e(t.parentNode,n))}(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},y.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},y.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(c[t]=e[t]);s=null},y.init=function(){var e=y(a);for(var t in e)"_"!==t.charAt(0)&&(y[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},y.init(),o.Mousetrap=y,e.exports&&(e.exports=y),void 0===(r=function(){return y}.call(t,n,t,e))||(e.exports=r)}function h(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function p(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return c[e.which]?c[e.which]:l[e.which]?l[e.which]:String.fromCharCode(e.which).toLowerCase()}function b(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function v(e,t,n){return n||(n=function(){if(!s)for(var e in s={},c)e>95&&e<112||c.hasOwnProperty(e)&&(s[c[e]]=e);return s}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function m(e,t){var n,r,o,a=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),o=0;o1?f(e,s,n,r):(i=m(e,r),t._callbacks[i.key]=t._callbacks[i.key]||[],l(i.key,i.modifiers,{type:i.action},o,e,a),t._callbacks[i.key][o?"unshift":"push"]({callback:n,modifiers:i.modifiers,action:i.action,seq:o,level:a,combo:e}))}t._handleKey=function(e,t,n){var r,o=l(e,t,n),a={},d=0,f=!1;for(r=0;r0&&!o.call(e,0))for(var b=0;b0)for(var v=0;v= 0");var n,r=0===t?0:t;if(c(e)&&(n=s(e,"constructor"),a&&"Object"===d(n)&&null===(n=s(n,a))&&(n=void 0)),void 0===n)return o(r);if(!l(n))throw new i("C must be a constructor");return new n(r)}},function(e,t){},function(e,t,n){"use strict";e.exports=function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0}},function(e,t,n){"use strict";e.exports=function(e){return"function"==typeof e&&!!e.prototype}},function(e,t,n){"use strict";var r=n(46)("%Math%"),o=r.floor,a=r.abs,i=n(130),s=n(155);e.exports=function(e){if("number"!=typeof e||i(e)||!s(e))return!1;var t=a(e);return o(t)===t}},function(e,t,n){"use strict";var r=n(46)("%TypeError%"),o=n(156),a=n(253),i=n(255),s=n(128),c=n(262),l=n(154),u=n(160),d=n(272);e.exports=function e(t,n,f,h,p){var b;arguments.length>5&&(b=arguments[5]);for(var v=h,m=0;m0&&(k=l(O)),k){var _=u(s(O,"length"));v=e(t,O,_,v,p-1)}else{if(v>=o)throw new r("index too large");i(t,d(v),O),v+=1}}m+=1}return v}},function(e,t,n){"use strict";var r=n(46)("%TypeError%"),o=n(153),a=n(254);e.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!a(e))throw new r(o(e)+" is not a function");return e.apply(t,n)}},function(e,t,n){"use strict";e.exports=n(157)},function(e,t,n){"use strict";var r=n(46)("%TypeError%"),o=n(256),a=n(100),i=n(73);e.exports=function(e,t,n){if("Object"!==i(e))throw new r("Assertion failed: Type(O) is not Object");if(!a(t))throw new r("Assertion failed: IsPropertyKey(P) is not true");var s=o(e,t,n);if(!s)throw new r("unable to create data property");return s}},function(e,t,n){"use strict";var r=n(46),o=r("%Object.getOwnPropertyDescriptor%"),a=r("%TypeError%"),i=n(257),s=n(258),c=n(259),l=n(260),u=n(100),d=n(261),f=n(73);e.exports=function(e,t,n){if("Object"!==f(e))throw new a("Assertion failed: Type(O) is not Object");if(!u(t))throw new a("Assertion failed: IsPropertyKey(P) is not true");var r=o(e,t),h=r||l(e);return!(r&&(!r.writable||!r.configurable)||!h)&&i(c,d,s,e,t,{"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0})}},function(e,t,n){"use strict";var r=n(46)("%Object.defineProperty%"),o=n(129)("Object.prototype.propertyIsEnumerable");e.exports=function(e,t,n,a,i,s){if(!r){if(!e(s))return!1;if(!s["[[Configurable]]"]||!s["[[Writable]]"])return!1;if(i in a&&o(a,i)!==!!s["[[Enumerable]]"])return!1;var c=s["[[Value]]"];return a[i]=c,t(a[i],c)}return r(a,i,n(s)),!0}},function(e,t,n){"use strict";var r=n(158),o=n(73);e.exports=function(e){if(void 0===e)return e;r(o,"Property Descriptor","Desc",e);var t={};return"[[Value]]"in e&&(t.value=e["[[Value]]"]),"[[Writable]]"in e&&(t.writable=e["[[Writable]]"]),"[[Get]]"in e&&(t.get=e["[[Get]]"]),"[[Set]]"in e&&(t.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(t.enumerable=e["[[Enumerable]]"]),"[[Configurable]]"in e&&(t.configurable=e["[[Configurable]]"]),t}},function(e,t,n){"use strict";var r=n(74),o=n(158),a=n(73);e.exports=function(e){return void 0!==e&&(o(a,"Property Descriptor","Desc",e),!(!r(e,"[[Value]]")&&!r(e,"[[Writable]]")))}},function(e,t,n){"use strict";var r=n(46)("%Object%"),o=n(159),a=r.preventExtensions,i=r.isExtensible;e.exports=a?function(e){return!o(e)&&i(e)}:function(e){return!0}},function(e,t,n){"use strict";var r=n(130);e.exports=function(e,t){return e===t?0!==e||1/e==1/t:r(e)&&r(t)}},function(e,t,n){"use strict";var r=n(46)("%TypeError%"),o=n(100),a=n(73);e.exports=function(e,t){if("Object"!==a(e))throw new r("Assertion failed: `O` must be an Object");if(!o(t))throw new r("Assertion failed: `P` must be a Property Key");return t in e}},function(e,t,n){"use strict";var r=n(46)("%Math%"),o=n(264),a=n(130),i=n(155),s=n(265),c=r.floor,l=r.abs;e.exports=function(e){var t=o(e);return a(t)?0:0!==t&&i(t)?s(t)*c(l(t)):t}},function(e,t,n){"use strict";e.exports=function(e){return+e}},function(e,t,n){"use strict";e.exports=function(e){return e>=0?1:-1}},function(e,t,n){"use strict";var r=n(46),o=r("%TypeError%"),a=r("%Number%"),i=r("%RegExp%"),s=r("%parseInt%"),c=n(129),l=n(267),u=n(159),d=c("String.prototype.slice"),f=l(/^0b[01]+$/i),h=l(/^0o[0-7]+$/i),p=l(/^[-+]0x[0-9a-f]+$/i),b=l(new i("["+["…","​","￾"].join("")+"]","g")),v=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),m=new RegExp("(^["+v+"]+)|(["+v+"]+$)","g"),y=c("String.prototype.replace"),g=n(268);e.exports=function e(t){var n=u(t)?t:g(t,a);if("symbol"==typeof n)throw new o("Cannot convert a Symbol value to a number");if("string"==typeof n){if(f(n))return e(s(d(n,2),2));if(h(n))return e(s(d(n,2),8));if(b(n)||p(n))return NaN;var r=function(e){return y(e,m,"")}(n);if(r!==n)return e(r)}return a(n)}},function(e,t,n){"use strict";var r=n(46)("RegExp.prototype.test"),o=n(127);e.exports=function(e){return o(r,e)}},function(e,t,n){"use strict";var r=n(269);e.exports=function(e){return arguments.length>1?r(e,arguments[1]):r(e)}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=n(270),a=n(157),i=n(162),s=n(131),c=function(e,t){if(null==e)throw new TypeError("Cannot call method on "+e);if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,r,i,s="string"===t?["toString","valueOf"]:["valueOf","toString"];for(i=0;i1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),r&&(Symbol.toPrimitive?t=l(e,Symbol.toPrimitive):s(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var a=t.call(e,n);if(o(a))return a;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(i(e)||s(e))&&(n="string"),c(e,"default"===n?"number":n)}},function(e,t,n){"use strict";e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";(function(t){var r=t.Symbol,o=n(163);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,n(61))},function(e,t,n){"use strict";var r=n(46),o=r("%String%"),a=r("%TypeError%");e.exports=function(e){if("symbol"==typeof e)throw new a("Cannot convert a Symbol value to a string");return o(e)}},function(e,t,n){"use strict";var r=n(46)("%Object%"),o=n(274);e.exports=function(e){return o(e),r(e)}},function(e,t,n){"use strict";e.exports=n(275)},function(e,t,n){"use strict";var r=n(46)("%TypeError%");e.exports=function(e,t){if(null==e)throw new r(t||"Cannot call method on "+e);return e}},function(e,t,n){"use strict";var r=n(64),o=n(164);e.exports=function(){var e=o();return r(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),e}},function(e,t,n){"use strict";(function(t){var r=n(64),o=n(131),a="__ global cache key __";"function"==typeof Symbol&&o(Symbol("foo"))&&"function"==typeof Symbol.for&&(a=Symbol.for(a));var i=function(){return!0},s=function(){if(!t[a]){var e={};e[a]={};var n={};n[a]=i,r(t,e,n)}return t[a]},c=s(),l=function(e){return o(e)?Symbol.prototype.valueOf.call(e):typeof e+" | "+String(e)},u=function(e){if(!function(e){return null===e||"object"!=typeof e&&"function"!=typeof e}(e))throw new TypeError("key must not be an object")},d={clear:function(){delete t[a],c=s()},delete:function(e){return u(e),delete c[l(e)],!d.has(e)},get:function(e){return u(e),c[l(e)]},has:function(e){return u(e),l(e)in c},set:function(e,t){u(e);var n=l(e),o={};o[n]=t;var a={};return a[n]=i,r(c,o,a),d.has(e)},setIfMissingThenGet:function(e,t){if(d.has(e))return d.get(e);var n=t();return d.set(e,n),n}};e.exports=d}).call(this,n(61))},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.GLOBAL_CACHE_KEY="reactWithStylesInterfaceCSS",t.MAX_SPECIFICITY=20},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e.length>0?String(e)+"__":"")+String(t)}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[],n=!1,r={},o=0;o>",baseInvalidMessage:"Invalid "};function r(e){if("function"!=typeof e)throw new Error(n.invalidPropValidator);var t=e.bind(null,!1,null);return t.isRequired=e.bind(null,!0,null),t.withPredicate=function(t){if("function"!=typeof t)throw new Error(n.invalidPredicate);var r=e.bind(null,!1,t);return r.isRequired=e.bind(null,!0,t),r},t}function o(e,t,r){return new Error("The prop `"+e+"` "+n.requiredCore+" in `"+t+"`, but its value is `"+r+"`.")}var a=-1;e.exports={constructPropValidatorVariations:r,createMomentChecker:function(e,t,i,s){return r((function(r,c,l,u,d,f,h){var p=l[u],b=typeof p,v=function(e,t,n,r){var i=void 0===r,s=null===r;if(e){if(i)return o(n,t,"undefined");if(s)return o(n,t,"null")}return i||s?null:a}(r,d=d||n.anonymousMessage,h=h||u,p);if(v!==a)return v;if(t&&!t(p))return new Error(n.invalidTypeCore+": `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+e+"`.");if(!i(p))return new Error(n.baseInvalidMessage+f+" `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+s+"`.");if(c&&!c(p)){var m=c.name||n.anonymousMessage;return new Error(n.baseInvalidMessage+f+" `"+u+"` of type `"+b+"` supplied to `"+d+"`. "+n.predicateFailureCore+" `"+m+"`.")}return null}))},messages:n}},function(e,t,n){"use strict";function r(){return null}function o(){return r}r.isRequired=r,e.exports={and:o,between:o,booleanSome:o,childrenHavePropXorChildren:o,childrenOf:o,childrenOfType:o,childrenSequenceOf:o,componentWithName:o,disallowedIf:o,elementType:o,empty:o,explicitNull:o,forbidExtraProps:Object,integer:o,keysOf:o,mutuallyExclusiveProps:o,mutuallyExclusiveTrueProps:o,nChildren:o,nonNegativeInteger:r,nonNegativeNumber:o,numericString:o,object:o,or:o,range:o,ref:o,requiredBy:o,restrictedProp:o,sequenceOf:o,shape:o,stringEndsWith:o,stringStartsWith:o,uniqueArray:o,uniqueArrayOf:o,valuesOf:o,withShape:o}},function(e,t,n){"use strict";var r=n(289),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=h(n);o&&o!==p&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=c(t),b=c(n),v=0;v2&&void 0!==arguments[2]?arguments[2]:a.default.localeData().firstDayOfWeek();if(!a.default.isMoment(e)||!e.isValid())throw new TypeError("`month` must be a valid moment object");if(-1===i.WEEKDAYS.indexOf(n))throw new TypeError("`firstDayOfWeek` must be an integer between 0 and 6");for(var r=e.clone().startOf("month").hour(12),o=e.clone().endOf("month").hour(12),s=(r.day()+7-n)%7,c=(n+6-o.day())%7,l=r.clone().subtract(s,"day"),u=o.clone().add(c,"day").diff(l,"days")+1,d=l.clone(),h=[],f=0;f=s&&f2?arguments[2]:[];if(!this.IsCallable(e))throw new s(e+" is not a function");return e.apply(t,n)},ToPrimitive:o,ToNumber:function(e){var t=w(e)?e:o(e,h);if("symbol"==typeof t)throw new s("Cannot convert a Symbol value to a number");if("string"==typeof t){if(C(t))return this.ToNumber(D(j(t,2),2));if(P(t))return this.ToNumber(D(j(t,2),8));if(z(t)||I(t))return NaN;var n=function(e){return q(e,G,"")}(t);if(n!==t)return this.ToNumber(n)}return h(t)},ToInt16:function(e){var t=this.ToUint16(e);return t>=32768?t-65536:t},ToInt8:function(e){var t=this.ToUint8(e);return t>=128?t-256:t},ToUint8:function(e){var t=this.ToNumber(e);if(y(t)||0===t||!m(t))return 0;var n=k(t)*F(V(t));return _(n,256)},ToUint8Clamp:function(e){var t=this.ToNumber(e);if(y(t)||t<=0)return 0;if(t>=255)return 255;var n=F(e);return n+.5g?g:t},CanonicalNumericIndexString:function(e){if("[object String]"!==N(e))throw new s("must be a string");if("-0"===e)return-0;var t=this.ToNumber(e);return this.SameValue(this.ToString(t),e)?t:void 0},RequireObjectCoercible:Y.CheckObjectCoercible,IsArray:l.isArray||function(e){return"[object Array]"===N(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:Object.preventExtensions?function(e){return!w(e)&&W(e)}:function(e){return!0},IsInteger:function(e){if("number"!=typeof e||y(e)||!m(e))return!1;var t=V(e);return F(t)===t},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(b){var t=e[f.match];if(void 0!==t)return Y.ToBoolean(t)}return Z(e)},SameValueZero:function(e,t){return e===t||y(e)&&y(t)},GetV:function(e,t){if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return this.ToObject(e)[t]},GetMethod:function(e,t){if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var n=this.GetV(e,t);if(null!=n){if(!this.IsCallable(n))throw new s(t+"is not a function");return n}},Get:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return e[t]},Type:function(e){return"symbol"==typeof e?"Symbol":Y.Type(e)},SpeciesConstructor:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");var n=e.constructor;if(void 0===n)return t;if("Object"!==this.Type(n))throw new s("O.constructor is not an Object");var r=b&&f.species?n[f.species]:void 0;if(null==r)return t;if(this.IsConstructor(r))return r;throw new s("no constructor found")},CompletePropertyDescriptor:function(e){return v(this,"Property Descriptor","Desc",e),this.IsGenericDescriptor(e)||this.IsDataDescriptor(e)?(r(e,"[[Value]]")||(e["[[Value]]"]=void 0),r(e,"[[Writable]]")||(e["[[Writable]]"]=!1)):(r(e,"[[Get]]")||(e["[[Get]]"]=void 0),r(e,"[[Set]]")||(e["[[Set]]"]=void 0)),r(e,"[[Enumerable]]")||(e["[[Enumerable]]"]=!1),r(e,"[[Configurable]]")||(e["[[Configurable]]"]=!1),e},Set:function(e,t,n,r){if("Object"!==this.Type(e))throw new s("O must be an Object");if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");if("Boolean"!==this.Type(r))throw new s("Throw must be a Boolean");if(r)return e[t]=n,!0;try{e[t]=n}catch(e){return!1}},HasOwnProperty:function(e,t){if("Object"!==this.Type(e))throw new s("O must be an Object");if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");return r(e,t)},HasProperty:function(e,t){if("Object"!==this.Type(e))throw new s("O must be an Object");if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");return t in e},IsConcatSpreadable:function(e){if("Object"!==this.Type(e))return!1;if(b&&"symbol"==typeof f.isConcatSpreadable){var t=this.Get(e,Symbol.isConcatSpreadable);if(void 0!==t)return this.ToBoolean(t)}return this.IsArray(e)},Invoke:function(e,t){if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");var n=M(arguments,2),r=this.GetV(e,t);return this.Call(r,e,n)},GetIterator:function(e,t){if(!b)throw new SyntaxError("ES.GetIterator depends on native iterator support.");var n=t;arguments.length<2&&(n=this.GetMethod(e,f.iterator));var r=this.Call(n,e);if("Object"!==this.Type(r))throw new s("iterator must return an object");return r},IteratorNext:function(e,t){var n=this.Invoke(e,"next",arguments.length<2?[]:[t]);if("Object"!==this.Type(n))throw new s("iterator next must return an object");return n},IteratorComplete:function(e){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(iterResult) is not Object");return this.ToBoolean(this.Get(e,"done"))},IteratorValue:function(e){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(iterResult) is not Object");return this.Get(e,"value")},IteratorStep:function(e){var t=this.IteratorNext(e);return!0!==this.IteratorComplete(t)&&t},IteratorClose:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(iterator) is not Object");if(!this.IsCallable(t))throw new s("Assertion failed: completion is not a thunk for a Completion Record");var n,r=t,o=this.GetMethod(e,"return");if(void 0===o)return r();try{var a=this.Call(o,e,[])}catch(e){throw n=r(),r=null,e}if(n=r(),r=null,"Object"!==this.Type(a))throw new s("iterator .return must return an object");return n},CreateIterResultObject:function(e,t){if("Boolean"!==this.Type(t))throw new s("Assertion failed: Type(done) is not Boolean");return{value:e,done:t}},RegExpExec:function(e,t){if("Object"!==this.Type(e))throw new s("R must be an Object");if("String"!==this.Type(t))throw new s("S must be a String");var n=this.Get(e,"exec");if(this.IsCallable(n)){var r=this.Call(n,e,[t]);if(null===r||"Object"===this.Type(r))return r;throw new s('"exec" method must return `null` or an Object')}return E(e,t)},ArraySpeciesCreate:function(e,t){if(!this.IsInteger(t)||t<0)throw new s("Assertion failed: length must be an integer >= 0");var n,r=0===t?0:t;if(this.IsArray(e)&&(n=this.Get(e,"constructor"),"Object"===this.Type(n)&&b&&f.species&&null===(n=this.Get(n,f.species))&&(n=void 0)),void 0===n)return l(r);if(!this.IsConstructor(n))throw new s("C must be a constructor");return new n(r)},CreateDataProperty:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var r=K(e,t),o=r||"function"!=typeof W||W(e);return!(!(!r||r.writable&&r.configurable)||!o)&&($(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}),!0)},CreateDataPropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var r=this.CreateDataProperty(e,t,n);if(!r)throw new s("unable to create data property");return r},ObjectCreate:function(e,t){if(null!==e&&"Object"!==this.Type(e))throw new s("Assertion failed: proto must be null or an object");var n=arguments.length<2?[]:t;if(n.length>0)throw new c("es-abstract does not yet support internal slots");if(null===e&&!B)throw new c("native Object.create support is required to create null objects");return B(e)},AdvanceStringIndex:function(e,t,n){if("String"!==this.Type(e))throw new s("S must be a String");if(!this.IsInteger(t)||t<0||t>g)throw new s("Assertion failed: length must be an integer >= 0 and <= 2**53");if("Boolean"!==this.Type(n))throw new s("Assertion failed: unicode must be a Boolean");if(!n)return t+1;if(t+1>=e.length)return t+1;var r=x(e,t);if(r<55296||r>56319)return t+1;var o=x(e,t+1);return o<56320||o>57343?t+1:t+2},CreateMethodProperty:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return!!$(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0})},DefinePropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return!!$(e,t,n)},DeletePropertyOrThrow:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var n=delete e[t];if(!n)throw new TypeError("Attempt to delete property failed.");return n},EnumerableOwnNames:function(e){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");return a(e)},thisNumberValue:function(e){return"Number"===this.Type(e)?e:A(e)},thisBooleanValue:function(e){return"Boolean"===this.Type(e)?e:H(e)},thisStringValue:function(e){return"String"===this.Type(e)?e:R(e)},thisTimeValue:function(e){return L(e)}});delete X.CheckObjectCoercible,e.exports=X},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var r=n(135),o=r("%Object%"),a=r("%TypeError%"),i=r("%String%"),s=n(178),c=n(179),l=n(180),u=n(182),d=n(183),h=n(100),f=n(164),p=n(62),b={ToPrimitive:f,ToBoolean:function(e){return!!e},ToNumber:function(e){return+e},ToInteger:function(e){var t=this.ToNumber(e);return c(t)?0:0!==t&&l(t)?u(t)*Math.floor(Math.abs(t)):t},ToInt32:function(e){return this.ToNumber(e)>>0},ToUint32:function(e){return this.ToNumber(e)>>>0},ToUint16:function(e){var t=this.ToNumber(e);if(c(t)||0===t||!l(t))return 0;var n=u(t)*Math.floor(Math.abs(t));return d(n,65536)},ToString:function(e){return i(e)},ToObject:function(e){return this.CheckObjectCoercible(e),o(e)},CheckObjectCoercible:function(e,t){if(null==e)throw new a(t||"Cannot call method on "+e);return e},IsCallable:h,SameValue:function(e,t){return e===t?0!==e||1/e==1/t:c(e)&&c(t)},Type:function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0},IsPropertyDescriptor:function(e){if("Object"!==this.Type(e))return!1;var t={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var n in e)if(p(e,n)&&!t[n])return!1;var r=p(e,"[[Value]]"),o=p(e,"[[Get]]")||p(e,"[[Set]]");if(r&&o)throw new a("Property Descriptors may not be both accessor and data descriptors");return!0},IsAccessorDescriptor:function(e){return void 0!==e&&(s(this,"Property Descriptor","Desc",e),!(!p(e,"[[Get]]")&&!p(e,"[[Set]]")))},IsDataDescriptor:function(e){return void 0!==e&&(s(this,"Property Descriptor","Desc",e),!(!p(e,"[[Value]]")&&!p(e,"[[Writable]]")))},IsGenericDescriptor:function(e){return void 0!==e&&(s(this,"Property Descriptor","Desc",e),!this.IsAccessorDescriptor(e)&&!this.IsDataDescriptor(e))},FromPropertyDescriptor:function(e){if(void 0===e)return e;if(s(this,"Property Descriptor","Desc",e),this.IsDataDescriptor(e))return{value:e["[[Value]]"],writable:!!e["[[Writable]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};if(this.IsAccessorDescriptor(e))return{get:e["[[Get]]"],set:e["[[Set]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};throw new a("FromPropertyDescriptor must be called with a fully populated Property Descriptor")},ToPropertyDescriptor:function(e){if("Object"!==this.Type(e))throw new a("ToPropertyDescriptor requires an object");var t={};if(p(e,"enumerable")&&(t["[[Enumerable]]"]=this.ToBoolean(e.enumerable)),p(e,"configurable")&&(t["[[Configurable]]"]=this.ToBoolean(e.configurable)),p(e,"value")&&(t["[[Value]]"]=e.value),p(e,"writable")&&(t["[[Writable]]"]=this.ToBoolean(e.writable)),p(e,"get")){var n=e.get;if(void 0!==n&&!this.IsCallable(n))throw new TypeError("getter must be a function");t["[[Get]]"]=n}if(p(e,"set")){var r=e.set;if(void 0!==r&&!this.IsCallable(r))throw new a("setter must be a function");t["[[Set]]"]=r}if((p(t,"[[Get]]")||p(t,"[[Set]]"))&&(p(t,"[[Value]]")||p(t,"[[Writable]]")))throw new a("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}};e.exports=b},function(e,t,n){"use strict";var r=n(184),o=n(54);e.exports=function(){var e=r();return o(Object,{values:e},{values:function(){return Object.values!==e}}),e}},function(e,t,n){"use strict";var r=n(54),o=n(185),a=n(186),i=a(),s=function(e,t){return i.apply(e,[t])};r(s,{getPolyfill:a,implementation:o,shim:n(294)}),e.exports=s},function(e,t,n){"use strict";var r=n(54),o=n(186);e.exports=function(){var e=o();return"undefined"!=typeof document&&(r(document,{contains:e},{contains:function(){return document.contains!==e}}),"undefined"!=typeof Element&&r(Element.prototype,{contains:e},{contains:function(){return Element.prototype.contains!==e}})),e}},function(e,t,n){var r=n(137),o=n(296),a=n(298),i="Expected a function",s=Math.max,c=Math.min;e.exports=function(e,t,n){var l,u,d,h,f,p,b=0,v=!1,y=!1,m=!0;if("function"!=typeof e)throw new TypeError(i);function g(t){var n=l,r=u;return l=u=void 0,b=t,h=e.apply(r,n)}function O(e){var n=e-p;return void 0===p||n>=t||n<0||y&&e-b>=d}function k(){var e=o();if(O(e))return _(e);f=setTimeout(k,function(e){var n=t-(e-p);return y?c(n,d-(e-b)):n}(e))}function _(e){return f=void 0,m&&l?g(e):(l=u=void 0,h)}function w(){var e=o(),n=O(e);if(l=arguments,u=this,p=e,n){if(void 0===f)return function(e){return b=e,f=setTimeout(k,t),v?g(e):h}(p);if(y)return clearTimeout(f),f=setTimeout(k,t),g(p)}return void 0===f&&(f=setTimeout(k,t)),h}return t=a(t)||0,r(n)&&(v=!!n.leading,d=(y="maxWait"in n)?s(a(n.maxWait)||0,t):d,m="trailing"in n?!!n.trailing:m),w.cancel=function(){void 0!==f&&clearTimeout(f),b=0,l=p=u=f=void 0},w.flush=function(){return void 0===f?h:_(o())},w}},function(e,t,n){var r=n(198);e.exports=function(){return r.Date.now()}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(64))},function(e,t,n){var r=n(137),o=n(299),a=NaN,i=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return a;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=c.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):s.test(e)?a:+e}},function(e,t,n){var r=n(300),o=n(303),a="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==a}},function(e,t,n){var r=n(199),o=n(301),a=n(302),i="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:i:c&&c in Object(e)?o(e):a(e)}},function(e,t,n){var r=n(199),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r;return e?n(e(t.clone())):t};var r=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:a.default.localeData().firstDayOfWeek(),n=function(e,t){return(e.day()-t+7)%7}(e.clone().startOf("month"),t);return Math.ceil((n+e.daysInMonth())/7)};var r,o=n(29),a=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return"undefined"!=typeof document&&document.activeElement}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureSingleDatePicker=void 0;var r=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:"top",o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=n.split(" "),i=Object(h.a)(a,2),s=i[0],c=i[1],l=void 0===c?"center":c,u=function(e,t,n){var r,o=t.height,a=e.top+e.height/2,i={popoverTop:a,contentHeight:(a-o/2>0?o/2:a)+(a+o/2>window.innerHeight?window.innerHeight-a:o/2)},s={popoverTop:e.top,contentHeight:e.top-A-o>0?o:e.top-A},c={popoverTop:e.bottom,contentHeight:e.bottom+A+o>window.innerHeight?window.innerHeight-A-e.bottom:o},l=null;if("middle"===n&&i.contentHeight===o)r="middle";else if("top"===n&&s.contentHeight===o)r="top";else if("bottom"===n&&c.contentHeight===o)r="bottom";else{var u="top"===(r=s.contentHeight>c.contentHeight?"top":"bottom")?s.contentHeight:c.contentHeight;l=u!==o?u:null}return{yAxis:r,popoverTop:"middle"===r?i.popoverTop:"top"===r?s.popoverTop:c.popoverTop,contentHeight:l}}(e,t,s),d=function(e,t,n,r){var o=t.width;"left"===n&&R()?n="right":"right"===n&&R()&&(n="left");var a,i=Math.round(e.left+e.width/2),s={popoverLeft:i,contentWidth:(i-o/2>0?o/2:i)+(i+o/2>window.innerWidth?window.innerWidth-i:o/2)},c="middle"===r?e.left:i,l={popoverLeft:c,contentWidth:c-o>0?o:c},u="middle"===r?e.right:i,d={popoverLeft:u,contentWidth:u+o>window.innerWidth?window.innerWidth-u:o},h=null;if("center"===n&&s.contentWidth===o)a="center";else if("left"===n&&l.contentWidth===o)a="left";else if("right"===n&&d.contentWidth===o)a="right";else{var f="left"===(a=l.contentWidth>d.contentWidth?"left":"right")?l.contentWidth:d.contentWidth;h=f!==o?f:null}return{xAxis:a,popoverLeft:"center"===a?s.popoverLeft:"left"===a?l.popoverLeft:d.popoverLeft,contentWidth:h}}(e,t,l,u.yAxis);return Object(r.a)({isMobile:H()&&o},d,u)}var F=Object(o.createContext)({focusHistory:[]}),V=F.Provider,B=F.Consumer;V.displayName="FocusReturnProvider",B.displayName="FocusReturnConsumer";var K=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).onFocus=e.onFocus.bind(Object(g.a)(e)),e.state={focusHistory:[]},e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"onFocus",value:function(e){var t=this.state.focusHistory,n=Object(w.uniq)([].concat(Object(_.a)(t),[e.target]).slice(-100).reverse()).reverse();this.setState({focusHistory:n})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className;return Object(o.createElement)(V,{value:this.state},Object(o.createElement)("div",{onFocus:this.onFocus,className:n},t))}}]),t}(o.Component);var W=Object(M.createHigherOrderComponent)((function e(t){if((r=t)instanceof o.Component||"function"==typeof r){var n=t;return e({})(n)}var r,a=t.onFocusReturn,i=void 0===a?w.stubTrue:a;return function(e){var t=function(t){function n(){var e;return Object(v.a)(this,n),(e=Object(y.a)(this,Object(m.a)(n).apply(this,arguments))).ownFocusedElements=new Set,e.activeElementOnMount=document.activeElement,e.setIsFocusedFalse=function(){return e.isFocused=!1},e.setIsFocusedTrue=function(t){e.ownFocusedElements.add(t.target),e.isFocused=!0},e}return Object(k.a)(n,t),Object(O.a)(n,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused,n=this.ownFocusedElements;if(t&&!1!==i())for(var r,o=[].concat(Object(_.a)(w.without.apply(void 0,[this.props.focus.focusHistory].concat(Object(_.a)(n)))),[e]);r=o.pop();)if(document.body.contains(r))return void r.focus()}},{key:"render",value:function(){return Object(o.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},Object(o.createElement)(e,this.props.childProps))}}]),n}(o.Component);return function(e){return Object(o.createElement)(B,null,(function(n){return Object(o.createElement)(t,{childProps:e,focus:n})}))}}}),"withFocusReturn"),$=Object(M.createHigherOrderComponent)((function(e){return function(t){function n(){var e;return Object(v.a)(this,n),(e=Object(y.a)(this,Object(m.a)(n).apply(this,arguments))).focusContainRef=Object(o.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(Object(g.a)(e)),e}return Object(k.a)(n,t),Object(O.a)(n,[{key:"handleTabBehaviour",value:function(e){if(e.keyCode===D.TAB){var t=C.focus.tabbable.find(this.focusContainRef.current);if(t.length){var n=t[0],r=t[t.length-1];e.shiftKey&&e.target===n?(e.preventDefault(),r.focus()):(e.shiftKey||e.target!==r)&&t.includes(e.target)||(e.preventDefault(),n.focus())}}}},{key:"render",value:function(){return Object(o.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(o.createElement)(e,this.props))}}]),n}(o.Component)}),"withConstrainedTabbing"),U=["button","submit"];var G=Object(M.createHigherOrderComponent)((function(e){return function(t){function n(){var e;return Object(v.a)(this,n),(e=Object(y.a)(this,Object(m.a)(n).apply(this,arguments))).bindNode=e.bindNode.bind(Object(g.a)(e)),e.cancelBlurCheck=e.cancelBlurCheck.bind(Object(g.a)(e)),e.queueBlurCheck=e.queueBlurCheck.bind(Object(g.a)(e)),e.normalizeButtonFocus=e.normalizeButtonFocus.bind(Object(g.a)(e)),e}return Object(k.a)(n,t),Object(O.a)(n,[{key:"componentWillUnmount",value:function(){this.cancelBlurCheck()}},{key:"bindNode",value:function(e){e?this.node=e:(delete this.node,this.cancelBlurCheck())}},{key:"queueBlurCheck",value:function(e){var t=this;e.persist(),this.preventBlurCheck||(this.blurCheckTimeout=setTimeout((function(){document.hasFocus()?"function"==typeof t.node.handleFocusOutside&&t.node.handleFocusOutside(e):e.preventDefault()}),0))}},{key:"cancelBlurCheck",value:function(){clearTimeout(this.blurCheckTimeout)}},{key:"normalizeButtonFocus",value:function(e){var t=e.type,n=e.target;Object(w.includes)(["mouseup","touchend"],t)?this.preventBlurCheck=!1:function(e){switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(w.includes)(U,e.type)}return!1}(n)&&(this.preventBlurCheck=!0)}},{key:"render",value:function(){return Object(o.createElement)("div",{onFocus:this.cancelBlurCheck,onMouseDown:this.normalizeButtonFocus,onMouseUp:this.normalizeButtonFocus,onTouchStart:this.normalizeButtonFocus,onTouchEnd:this.normalizeButtonFocus,onBlur:this.queueBlurCheck},Object(o.createElement)(e,Object(T.a)({ref:this.bindNode},this.props)))}}]),n}(o.Component)}),"withFocusOutside"),q=function(e){function t(){return Object(v.a)(this,t),Object(y.a)(this,Object(m.a)(t).apply(this,arguments))}return Object(k.a)(t,e),Object(O.a)(t,[{key:"handleFocusOutside",value:function(e){this.props.onFocusOutside(e)}},{key:"render",value:function(){return this.props.children}}]),t}(o.Component),Y=G(q);var Z=function(e){var t,n,r=e.shortcut,a=e.className;return r?(Object(w.isString)(r)&&(t=r),Object(w.isObject)(r)&&(t=r.display,n=r.ariaLabel),Object(o.createElement)("span",{className:a,"aria-label":n},t)):null},X=700,Q=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).delayedSetIsOver=Object(w.debounce)((function(t){return e.setState({isOver:t})}),X),e.cancelIsMouseDown=e.createSetIsMouseDown(!1),e.isInMouseDown=!1,e.state={isOver:!1},e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel(),document.removeEventListener("mouseup",this.cancelIsMouseDown)}},{key:"emitToChild",value:function(e,t){var n=this.props.children;if(1===o.Children.count(n)){var r=o.Children.only(n);"function"==typeof r.props[e]&&r.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var n=this;return function(r){if(n.emitToChild(e,r),!(r.currentTarget.disabled||"focus"===r.type&&n.isInMouseDown)){n.delayedSetIsOver.cancel();var o=Object(w.includes)(["focus","mouseenter"],r.type);o!==n.state.isOver&&(t?n.delayedSetIsOver(o):n.setState({isOver:o}))}}}},{key:"createSetIsMouseDown",value:function(e){var t=this;return function(n){t.emitToChild(e?"onMouseDown":"onMouseUp",n),document[e?"addEventListener":"removeEventListener"]("mouseup",t.cancelIsMouseDown),t.isInMouseDown=e}}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.position,r=e.text,a=e.shortcut;if(1!==o.Children.count(t))return t;var i=o.Children.only(t),s=this.state.isOver;return Object(o.cloneElement)(i,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),onMouseDown:this.createSetIsMouseDown(!0),children:Object(o.concatChildren)(i.props.children,s&&Object(o.createElement)(ge,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true",animate:!1},r,Object(o.createElement)(Z,{className:"components-tooltip__shortcut",shortcut:a})))})}}]),t}(o.Component),J=function(e){function t(){return Object(v.a)(this,t),Object(y.a)(this,Object(m.a)(t).apply(this,arguments))}return Object(k.a)(t,e),Object(O.a)(t,[{key:"render",value:function(){var e,t=this.props,n=t.icon,r=t.size,a=void 0===r?20:r,i=t.className,c=(t.ariaPressed,Object(P.a)(t,["icon","size","className","ariaPressed"]));switch(n){case"admin-appearance":e="M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z";break;case"admin-collapse":e="M10 2.16c4.33 0 7.84 3.51 7.84 7.84s-3.51 7.84-7.84 7.84S2.16 14.33 2.16 10 5.71 2.16 10 2.16zm2 11.72V6.12L6.18 9.97z";break;case"admin-comments":e="M5 2h9c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z";break;case"admin-customizer":e="M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z";break;case"admin-generic":e="M18 12h-2.18c-.17.7-.44 1.35-.81 1.93l1.54 1.54-2.1 2.1-1.54-1.54c-.58.36-1.23.63-1.91.79V19H8v-2.18c-.68-.16-1.33-.43-1.91-.79l-1.54 1.54-2.12-2.12 1.54-1.54c-.36-.58-.63-1.23-.79-1.91H1V9.03h2.17c.16-.7.44-1.35.8-1.94L2.43 5.55l2.1-2.1 1.54 1.54c.58-.37 1.24-.64 1.93-.81V2h3v2.18c.68.16 1.33.43 1.91.79l1.54-1.54 2.12 2.12-1.54 1.54c.36.59.64 1.24.8 1.94H18V12zm-8.5 1.5c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z";break;case"admin-home":e="M16 8.5l1.53 1.53-1.06 1.06L10 4.62l-6.47 6.47-1.06-1.06L10 2.5l4 4v-2h2v4zm-6-2.46l6 5.99V18H4v-5.97zM12 17v-5H8v5h4z";break;case"admin-links":e="M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z";break;case"admin-media":e="M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z";break;case"admin-multisite":e="M14.27 6.87L10 3.14 5.73 6.87 5 6.14l5-4.38 5 4.38zM14 8.42l-4.05 3.43L6 8.38v-.74l4-3.5 4 3.5v.78zM11 9.7V8H9v1.7h2zm-1.73 4.03L5 10 .73 13.73 0 13l5-4.38L10 13zm10 0L15 10l-4.27 3.73L10 13l5-4.38L20 13zM5 11l4 3.5V18H1v-3.5zm10 0l4 3.5V18h-8v-3.5zm-9 6v-2H4v2h2zm10 0v-2h-2v2h2z";break;case"admin-network":e="M16.95 2.58c1.96 1.95 1.96 5.12 0 7.07-1.51 1.51-3.75 1.84-5.59 1.01l-1.87 3.31-2.99.31L5 18H2l-1-2 7.95-7.69c-.92-1.87-.62-4.18.93-5.73 1.95-1.96 5.12-1.96 7.07 0zm-2.51 3.79c.74 0 1.33-.6 1.33-1.34 0-.73-.59-1.33-1.33-1.33-.73 0-1.33.6-1.33 1.33 0 .74.6 1.34 1.33 1.34z";break;case"admin-page":e="M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z";break;case"admin-plugins":e="M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z";break;case"admin-post":e="M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z";break;case"admin-settings":e="M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z";break;case"admin-site-alt":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm7.5 6.48c-.274.896-.908 1.64-1.75 2.05-.45-1.69-1.658-3.074-3.27-3.75.13-.444.41-.83.79-1.09-.43-.28-1-.42-1.34.07-.53.69 0 1.61.21 2v.14c-.555-.337-.99-.84-1.24-1.44-.966-.03-1.922.208-2.76.69-.087-.565-.032-1.142.16-1.68.733.07 1.453-.23 1.92-.8.46-.52-.13-1.18-.59-1.58h.36c1.36-.01 2.702.335 3.89 1 1.36 1.005 2.194 2.57 2.27 4.26.24 0 .7-.55.91-.92.172.34.32.69.44 1.05zM9 16.84c-2.05-2.08.25-3.75-1-5.24-.92-.85-2.29-.26-3.11-1.23-.282-1.473.267-2.982 1.43-3.93.52-.44 4-1 5.42.22.83.715 1.415 1.674 1.67 2.74.46.035.918-.066 1.32-.29.41 2.98-3.15 6.74-5.73 7.73zM5.15 2.09c.786-.3 1.676-.028 2.16.66-.42.38-.94.63-1.5.72.02-.294.085-.584.19-.86l-.85-.52z";break;case"admin-site-alt2":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm2.92 12.34c0 .35.14.63.36.66.22.03.47-.22.58-.6l.2.08c.718.384 1.07 1.22.84 2-.15.69-.743 1.198-1.45 1.24-.49-1.21-2.11.06-3.56-.22-.612-.154-1.11-.6-1.33-1.19 1.19-.11 2.85-1.73 4.36-1.97zM8 11.27c.918 0 1.695-.68 1.82-1.59.44.54.41 1.324-.07 1.83-.255.223-.594.325-.93.28-.335-.047-.635-.236-.82-.52zm3-.76c.41.39 3-.06 3.52 1.09-.95-.2-2.95.61-3.47-1.08l-.05-.01zM9.73 5.45v.27c-.65-.77-1.33-1.07-1.61-.57-.28.5 1 1.11.76 1.88-.24.77-1.27.56-1.88 1.61-.61 1.05-.49 2.42 1.24 3.67-1.192-.132-2.19-.962-2.54-2.11-.4-1.2-.09-2.26-.78-2.46C4 7.46 3 8.71 3 9.8c-1.26-1.26.05-2.86-1.2-4.18C3.5 1.998 7.644.223 11.44 1.49c-1.1 1.02-1.722 2.458-1.71 3.96z";break;case"admin-site-alt3":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z";break;case"admin-site":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm3.46 11.95c0 1.47-.8 3.3-4.06 4.7.3-4.17-2.52-3.69-3.2-5 .126-1.1.804-2.063 1.8-2.55-1.552-.266-3-.96-4.18-2 .05.47.28.904.64 1.21-.782-.295-1.458-.817-1.94-1.5.977-3.225 3.883-5.482 7.25-5.63-.84 1.38-1.5 4.13 0 5.57C7.23 7 6.26 5 5.41 5.79c-1.13 1.06.33 2.51 3.42 3.08 3.29.59 3.66 1.58 3.63 3.08zm1.34-4c-.32-1.11.62-2.23 1.69-3.14 1.356 1.955 1.67 4.45.84 6.68-.77-1.89-2.17-2.32-2.53-3.57v.03z";break;case"admin-tools":e="M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z";break;case"admin-users":e="M10 9.25c-2.27 0-2.73-3.44-2.73-3.44C7 4.02 7.82 2 9.97 2c2.16 0 2.98 2.02 2.71 3.81 0 0-.41 3.44-2.68 3.44zm0 2.57L12.72 10c2.39 0 4.52 2.33 4.52 4.53v2.49s-3.65 1.13-7.24 1.13c-3.65 0-7.24-1.13-7.24-1.13v-2.49c0-2.25 1.94-4.48 4.47-4.48z";break;case"album":e="M0 18h10v-.26c1.52.4 3.17.35 4.76-.24 4.14-1.52 6.27-6.12 4.75-10.26-1.43-3.89-5.58-6-9.51-4.98V2H0v16zM9 3v14H1V3h8zm5.45 8.22c-.68 1.35-2.32 1.9-3.67 1.23-.31-.15-.57-.35-.78-.59V8.13c.8-.86 2.11-1.13 3.22-.58 1.35.68 1.9 2.32 1.23 3.67zm-2.75-.82c.22.16.53.12.7-.1.16-.22.12-.53-.1-.7s-.53-.12-.7.1c-.16.21-.12.53.1.7zm3.01 3.67c-1.17.78-2.56.99-3.83.69-.27-.06-.44-.34-.37-.61s.34-.43.62-.36l.17.04c.96.17 1.98-.01 2.86-.59.47-.32.86-.72 1.14-1.18.15-.23.45-.3.69-.16.23.15.3.46.16.69-.36.57-.84 1.08-1.44 1.48zm1.05 1.57c-1.48.99-3.21 1.32-4.84 1.06-.28-.05-.47-.32-.41-.6.05-.27.32-.45.61-.39l.22.04c1.31.15 2.68-.14 3.87-.94.71-.47 1.27-1.07 1.7-1.74.14-.24.45-.31.68-.16.24.14.31.45.16.69-.49.79-1.16 1.49-1.99 2.04z";break;case"align-center":e="M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z";break;case"align-full-width":e="M17 13V3H3v10h14zM5 17h10v-2H5v2z";break;case"align-left":e="M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z";break;case"align-none":e="M3 5h14V3H3v2zm10 8V7H3v6h10zM3 17h14v-2H3v2z";break;case"align-pull-left":e="M9 16V4H3v12h6zm2-7h6V7h-6v2zm0 4h6v-2h-6v2z";break;case"align-pull-right":e="M17 16V4h-6v12h6zM9 7H3v2h6V7zm0 4H3v2h6v-2z";break;case"align-right":e="M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z";break;case"align-wide":e="M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z";break;case"analytics":e="M18 18V2H2v16h16zM16 5H4V4h12v1zM7 7v3h3c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3zm1 2V7c1.1 0 2 .9 2 2H8zm8-1h-4V7h4v1zm0 3h-4V9h4v2zm0 2h-4v-1h4v1zm0 3H4v-1h12v1z";break;case"archive":e="M19 4v2H1V4h18zM2 7h16v10H2V7zm11 3V9H7v1h6z";break;case"arrow-down-alt":e="M9 2h2v12l4-4 2 1-7 7-7-7 2-1 4 4V2z";break;case"arrow-down-alt2":e="M5 6l5 5 5-5 2 1-7 7-7-7z";break;case"arrow-down":e="M15 8l-4.03 6L7 8h8z";break;case"arrow-left-alt":e="M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z";break;case"arrow-left-alt2":e="M14 5l-5 5 5 5-1 2-7-7 7-7z";break;case"arrow-left":e="M13 14L7 9.97 13 6v8z";break;case"arrow-right-alt":e="M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z";break;case"arrow-right-alt2":e="M6 15l5-5-5-5 1-2 7 7-7 7z";break;case"arrow-right":e="M8 6l6 4.03L8 14V6z";break;case"arrow-up-alt":e="M11 18H9V6l-4 4-2-1 7-7 7 7-2 1-4-4v12z";break;case"arrow-up-alt2":e="M15 14l-5-5-5 5-2-1 7-7 7 7z";break;case"arrow-up":e="M7 13l4.03-6L15 13H7z";break;case"art":e="M8.55 3.06c1.01.34-1.95 2.01-.1 3.13 1.04.63 3.31-2.22 4.45-2.86.97-.54 2.67-.65 3.53 1.23 1.09 2.38.14 8.57-3.79 11.06-3.97 2.5-8.97 1.23-10.7-2.66-2.01-4.53 3.12-11.09 6.61-9.9zm1.21 6.45c.73 1.64 4.7-.5 3.79-2.8-.59-1.49-4.48 1.25-3.79 2.8z";break;case"awards":e="M4.46 5.16L5 7.46l-.54 2.29 2.01 1.24L7.7 13l2.3-.54 2.3.54 1.23-2.01 2.01-1.24L15 7.46l.54-2.3-2-1.24-1.24-2.01-2.3.55-2.29-.54-1.25 2zm5.55 6.34C7.79 11.5 6 9.71 6 7.49c0-2.2 1.79-3.99 4.01-3.99 2.2 0 3.99 1.79 3.99 3.99 0 2.22-1.79 4.01-3.99 4.01zm-.02-1C8.33 10.5 7 9.16 7 7.5c0-1.65 1.33-3 2.99-3S13 5.85 13 7.5c0 1.66-1.35 3-3.01 3zm3.84 1.1l-1.28 2.24-2.08-.47L13 19.2l1.4-2.2h2.5zm-7.7.07l1.25 2.25 2.13-.51L7 19.2 5.6 17H3.1z";break;case"backup":e="M13.65 2.88c3.93 2.01 5.48 6.84 3.47 10.77s-6.83 5.48-10.77 3.47c-1.87-.96-3.2-2.56-3.86-4.4l1.64-1.03c.45 1.57 1.52 2.95 3.08 3.76 3.01 1.54 6.69.35 8.23-2.66 1.55-3.01.36-6.69-2.65-8.24C9.78 3.01 6.1 4.2 4.56 7.21l1.88.97-4.95 3.08-.39-5.82 1.78.91C4.9 2.4 9.75.89 13.65 2.88zm-4.36 7.83C9.11 10.53 9 10.28 9 10c0-.07.03-.12.04-.19h-.01L10 5l.97 4.81L14 13l-4.5-2.12.02-.02c-.08-.04-.16-.09-.23-.15z";break;case"block-default":e="M15 6V4h-3v2H8V4H5v2H4c-.6 0-1 .4-1 1v8h14V7c0-.6-.4-1-1-1h-1z";break;case"book-alt":e="M5 17h13v2H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h13v14H5c-.55 0-1 .45-1 1s.45 1 1 1zm2-3.5v-11c0-.28-.22-.5-.5-.5s-.5.22-.5.5v11c0 .28.22.5.5.5s.5-.22.5-.5z";break;case"book":e="M16 3h2v16H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h9v14H5c-.55 0-1 .45-1 1s.45 1 1 1h11V3z";break;case"buddicons-activity":e="M8 1v7h2V6c0-1.52 1.45-3 3-3v.86c.55-.52 1.26-.86 2-.86v3h1c1.1 0 2 .9 2 2s-.9 2-2 2h-1v6c0 .55-.45 1-1 1s-1-.45-1-1v-2.18c-.31.11-.65.18-1 .18v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2c-.35 0-.69-.07-1-.18V16c0 .55-.45 1-1 1s-1-.45-1-1v-4H2v-1c0-1.66 1.34-3 3-3h2V1h1zm5 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z";break;case"buddicons-bbpress-logo":e="M8.5 12.6c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.3 1.7c-.3 1 .3 1.5 1 1.5 1.2 0 1.9-1.1 2.2-2.4zm-4-6.4C3.7 7.3 3.3 8.6 3.3 10c0 1 .2 1.9.6 2.8l1-4.6c.3-1.7.4-2-.4-2zm9.3 6.4c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.4 1.7c-.2 1.1.4 1.6 1.1 1.6 1.1-.1 1.9-1.2 2.2-2.5zM10 3.3c-2 0-3.9.9-5.1 2.3.6-.1 1.4-.2 1.8-.3.2 0 .2.1.2.2 0 .2-1 4.8-1 4.8.5-.3 1.2-.7 1.8-.7.9 0 1.5.4 1.9.9l.5-2.4c.4-1.6.4-1.9-.4-1.9-.4 0-.4-.5 0-.6.6-.1 1.8-.2 2.3-.3.2 0 .2.1.2.2l-1 4.8c.5-.4 1.2-.7 1.9-.7 1.7 0 2.5 1.3 2.1 3-.3 1.7-2 3-3.8 3-1.3 0-2.1-.7-2.3-1.4-.7.8-1.7 1.3-2.8 1.4 1.1.7 2.4 1.1 3.7 1.1 3.7 0 6.7-3 6.7-6.7s-3-6.7-6.7-6.7zM10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 15.5c-2.1 0-4-.8-5.3-2.2-.3-.4-.7-.8-1-1.2-.7-1.2-1.2-2.6-1.2-4.1 0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5z";break;case"buddicons-buddypress-logo":e="M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10 4.48 0 10 0zm0 .5C4.75.5.5 4.75.5 10s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5S15.25.5 10 .5zm0 1c4.7 0 8.5 3.8 8.5 8.5s-3.8 8.5-8.5 8.5-8.5-3.8-8.5-8.5S5.3 1.5 10 1.5zm1.8 1.71c-.57 0-1.1.17-1.55.45 1.56.37 2.73 1.77 2.73 3.45 0 .69-.21 1.33-.55 1.87 1.31-.29 2.29-1.45 2.29-2.85 0-1.61-1.31-2.92-2.92-2.92zm-2.38 1c-1.61 0-2.92 1.31-2.92 2.93 0 1.61 1.31 2.92 2.92 2.92 1.62 0 2.93-1.31 2.93-2.92 0-1.62-1.31-2.93-2.93-2.93zm4.25 5.01l-.51.59c2.34.69 2.45 3.61 2.45 3.61h1.28c0-4.71-3.22-4.2-3.22-4.2zm-2.1.8l-2.12 2.09-2.12-2.09C3.12 10.24 3.89 15 3.89 15h11.08c.47-4.98-3.4-4.98-3.4-4.98z";break;case"buddicons-community":e="M9 3c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zm4 0c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zM9 9V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 0V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 1c0-1.48-1.41-2.77-3.5-3.46V9c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V6.01c-.17 0-.33-.01-.5-.01s-.33.01-.5.01V9c0 .83-.67 1.5-1.5 1.5S6.5 9.83 6.5 9V6.54C4.41 7.23 3 8.52 3 10c0 1.41.95 2.65 3.21 3.37 1.11.35 2.39 1.12 3.79 1.12s2.69-.78 3.79-1.13C16.04 12.65 17 11.41 17 10zm-7 5.43c1.43 0 2.74-.79 3.88-1.11 1.9-.53 2.49-1.34 3.12-2.32v3c0 2.21-3.13 4-7 4s-7-1.79-7-4v-3c.64.99 1.32 1.8 3.15 2.33 1.13.33 2.44 1.1 3.85 1.1z";break;case"buddicons-forums":e="M13.5 7h-7C5.67 7 5 6.33 5 5.5S5.67 4 6.5 4h1.59C8.04 3.84 8 3.68 8 3.5 8 2.67 8.67 2 9.5 2h1c.83 0 1.5.67 1.5 1.5 0 .18-.04.34-.09.5h1.59c.83 0 1.5.67 1.5 1.5S14.33 7 13.5 7zM4 8h12c.55 0 1 .45 1 1s-.45 1-1 1H4c-.55 0-1-.45-1-1s.45-1 1-1zm1 3h10c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm2 3h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.09c.05.16.09.32.09.5 0 .83-.67 1.5-1.5 1.5h-1c-.83 0-1.5-.67-1.5-1.5 0-.18.04-.34.09-.5H7c-.55 0-1-.45-1-1s.45-1 1-1z";break;case"buddicons-friends":e="M8.75 5.77C8.75 4.39 7 2 7 2S5.25 4.39 5.25 5.77 5.9 7.5 7 7.5s1.75-.35 1.75-1.73zm6 0C14.75 4.39 13 2 13 2s-1.75 2.39-1.75 3.77S11.9 7.5 13 7.5s1.75-.35 1.75-1.73zM9 17V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm6 0V9c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-9-6l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2zm-6 3l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2z";break;case"buddicons-groups":e="M15.45 6.25c1.83.94 1.98 3.18.7 4.98-.8 1.12-2.33 1.88-3.46 1.78L10.05 18H9l-2.65-4.99c-1.13.16-2.73-.63-3.55-1.79-1.28-1.8-1.13-4.04.71-4.97.48-.24.96-.33 1.43-.31-.01.4.01.8.07 1.21.26 1.69 1.41 3.53 2.86 4.37-.19.55-.49.99-.88 1.25L9 16.58v-5.66C7.64 10.55 6.26 8.76 6 7c-.4-2.65 1-5 3.5-5s3.9 2.35 3.5 5c-.26 1.76-1.64 3.55-3 3.92v5.77l2.07-3.84c-.44-.23-.77-.71-.99-1.3 1.48-.83 2.65-2.69 2.91-4.4.06-.41.08-.82.07-1.22.46-.01.92.08 1.39.32z";break;case"buddicons-pm":e="M10 2c3 0 8 5 8 5v11H2V7s5-5 8-5zm7 14.72l-3.73-2.92L17 11l-.43-.37-2.26 1.3.24-4.31-8.77-.52-.46 4.54-1.99-.95L3 11l3.73 2.8-3.44 2.85.4.43L10 13l6.53 4.15z";break;case"buddicons-replies":e="M17.54 10.29c1.17 1.17 1.17 3.08 0 4.25-1.18 1.17-3.08 1.17-4.25 0l-.34-.52c0 3.66-2 4.38-2.95 4.98-.82-.6-2.95-1.28-2.95-4.98l-.34.52c-1.17 1.17-3.07 1.17-4.25 0-1.17-1.17-1.17-3.08 0-4.25 0 0 1.02-.67 2.1-1.3C3.71 7.84 3.2 6.42 3.2 4.88c0-.34.03-.67.08-1C3.53 5.66 4.47 7.22 5.8 8.3c.67-.35 1.85-.83 2.37-.92H8c-1.1 0-2-.9-2-2s.9-2 2-2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5h2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5c1.1 0 2 .9 2 2s-.9 2-2 2h-.17c.51.09 1.78.61 2.38.92 1.33-1.08 2.27-2.64 2.52-4.42.05.33.08.66.08 1 0 1.54-.51 2.96-1.36 4.11 1.08.63 2.09 1.3 2.09 1.3zM8.5 6.38c.5 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-2.3 5.73c-.12.11-.19.26-.19.43.02.25.23.46.49.46h1c.26 0 .47-.21.49-.46 0-.15-.07-.29-.19-.43-.08-.06-.18-.11-.3-.11h-1c-.12 0-.22.05-.3.11zM12 12.5c0-.12-.06-.28-.19-.38-.09-.07-.19-.12-.31-.12h-3c-.12 0-.22.05-.31.12-.11.1-.19.25-.19.38 0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 15h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm1 2h1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5z";break;case"buddicons-topics":e="M10.44 1.66c-.59-.58-1.54-.58-2.12 0L2.66 7.32c-.58.58-.58 1.53 0 2.12.6.6 1.56.56 2.12 0l5.66-5.66c.58-.58.59-1.53 0-2.12zm2.83 2.83c-.59-.59-1.54-.59-2.12 0l-5.66 5.66c-.59.58-.59 1.53 0 2.12.6.6 1.56.55 2.12 0l5.66-5.66c.58-.58.58-1.53 0-2.12zm1.06 6.72l4.18 4.18c.59.58.59 1.53 0 2.12s-1.54.59-2.12 0l-4.18-4.18-1.77 1.77c-.59.58-1.54.58-2.12 0-.59-.59-.59-1.54 0-2.13l5.66-5.65c.58-.59 1.53-.59 2.12 0 .58.58.58 1.53 0 2.12zM5 15c0-1.59-1.66-4-1.66-4S2 13.78 2 15s.6 2 1.34 2h.32C4.4 17 5 16.59 5 15z";break;case"buddicons-tracking":e="M10.98 6.78L15.5 15c-1 2-3.5 3-5.5 3s-4.5-1-5.5-3L9 6.82c-.75-1.23-2.28-1.98-4.29-2.03l2.46-2.92c1.68 1.19 2.46 2.32 2.97 3.31.56-.87 1.2-1.68 2.7-2.12l1.83 2.86c-1.42-.34-2.64.08-3.69.86zM8.17 10.4l-.93 1.69c.49.11 1 .16 1.54.16 1.35 0 2.58-.36 3.55-.95l-1.01-1.82c-.87.53-1.96.86-3.15.92zm.86 5.38c1.99 0 3.73-.74 4.74-1.86l-.98-1.76c-1 1.12-2.74 1.87-4.74 1.87-.62 0-1.21-.08-1.76-.21l-.63 1.15c.94.5 2.1.81 3.37.81z";break;case"building":e="M3 20h14V0H3v20zM7 3H5V1h2v2zm4 0H9V1h2v2zm4 0h-2V1h2v2zM7 6H5V4h2v2zm4 0H9V4h2v2zm4 0h-2V4h2v2zM7 9H5V7h2v2zm4 0H9V7h2v2zm4 0h-2V7h2v2zm-8 3H5v-2h2v2zm4 0H9v-2h2v2zm4 0h-2v-2h2v2zm-4 7H5v-6h6v6zm4-4h-2v-2h2v2zm0 3h-2v-2h2v2z";break;case"businessman":e="M7.3 6l-.03-.19c-.04-.37-.05-.73-.03-1.08.02-.36.1-.71.25-1.04.14-.32.31-.61.52-.86s.49-.46.83-.6c.34-.15.72-.23 1.13-.23.69 0 1.26.2 1.71.59s.76.87.91 1.44.18 1.16.09 1.78l-.03.19c-.01.09-.05.25-.11.48-.05.24-.12.47-.2.69-.08.21-.19.45-.34.72-.14.27-.3.49-.47.69-.18.19-.4.34-.67.48-.27.13-.55.19-.86.19s-.59-.06-.87-.19c-.26-.13-.49-.29-.67-.5-.18-.2-.34-.42-.49-.66-.15-.25-.26-.49-.34-.73-.09-.25-.16-.47-.21-.67-.06-.21-.1-.37-.12-.5zm9.2 6.24c.41.7.5 1.41.5 2.14v2.49c0 .03-.12.08-.29.13-.18.04-.42.13-.97.27-.55.12-1.1.24-1.65.34s-1.19.19-1.95.27c-.75.08-1.46.12-2.13.12-.68 0-1.39-.04-2.14-.12-.75-.07-1.4-.17-1.98-.27-.58-.11-1.08-.23-1.56-.34-.49-.11-.8-.21-1.06-.29L3 16.87v-2.49c0-.75.07-1.46.46-2.15s.81-1.25 1.5-1.68C5.66 10.12 7.19 10 8 10l1.67 1.67L9 13v3l1.02 1.08L11 16v-3l-.68-1.33L11.97 10c.77 0 2.2.07 2.9.52.71.45 1.21 1.02 1.63 1.72z";break;case"button":e="M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z";break;case"calendar-alt":e="M15 4h3v15H2V4h3V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1h4V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1zM6 3v2.5c0 .14.05.26.15.36.09.09.21.14.35.14s.26-.05.35-.14c.1-.1.15-.22.15-.36V3c0-.14-.05-.26-.15-.35-.09-.1-.21-.15-.35-.15s-.26.05-.35.15c-.1.09-.15.21-.15.35zm7 0v2.5c0 .14.05.26.14.36.1.09.22.14.36.14s.26-.05.36-.14c.09-.1.14-.22.14-.36V3c0-.14-.05-.26-.14-.35-.1-.1-.22-.15-.36-.15s-.26.05-.36.15c-.09.09-.14.21-.14.35zm4 15V8H3v10h14zM7 9v2H5V9h2zm2 0h2v2H9V9zm4 2V9h2v2h-2zm-6 1v2H5v-2h2zm2 0h2v2H9v-2zm4 2v-2h2v2h-2zm-6 1v2H5v-2h2zm4 2H9v-2h2v2zm4 0h-2v-2h2v2z";break;case"calendar":e="M15 4h3v14H2V4h3V3c0-.83.67-1.5 1.5-1.5S8 2.17 8 3v1h4V3c0-.83.67-1.5 1.5-1.5S15 2.17 15 3v1zM6 3v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5S6 2.72 6 3zm7 0v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5s-.5.22-.5.5zm4 14V8H3v9h14zM7 16V9H5v7h2zm4 0V9H9v7h2zm4 0V9h-2v7h2z";break;case"camera":e="M6 5V3H3v2h3zm12 10V4H9L7 6H2v9h16zm-7-8c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z";break;case"carrot":e="M2 18.43c1.51 1.36 11.64-4.67 13.14-7.21.72-1.22-.13-3.01-1.52-4.44C15.2 5.73 16.59 9 17.91 8.31c.6-.32.99-1.31.7-1.92-.52-1.08-2.25-1.08-3.42-1.21.83-.2 2.82-1.05 2.86-2.25.04-.92-1.13-1.97-2.05-1.86-1.21.14-1.65 1.88-2.06 3-.05-.71-.2-2.27-.98-2.95-1.04-.91-2.29-.05-2.32 1.05-.04 1.33 2.82 2.07 1.92 3.67C11.04 4.67 9.25 4.03 8.1 4.7c-.49.31-1.05.91-1.63 1.69.89.94 2.12 2.07 3.09 2.72.2.14.26.42.11.62-.14.21-.42.26-.62.12-.99-.67-2.2-1.78-3.1-2.71-.45.67-.91 1.43-1.34 2.23.85.86 1.93 1.83 2.79 2.41.2.14.25.42.11.62-.14.21-.42.26-.63.12-.85-.58-1.86-1.48-2.71-2.32C2.4 13.69 1.1 17.63 2 18.43z";break;case"cart":e="M6 13h9c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1V4H2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v2h13l-4 7H6v1zm-.5 3c.83 0 1.5.67 1.5 1.5S6.33 19 5.5 19 4 18.33 4 17.5 4.67 16 5.5 16zm9 0c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z";break;case"category":e="M5 7h13v10H2V4h7l2 2H4v9h1V7z";break;case"chart-area":e="M18 18l.01-12.28c.59-.35.99-.99.99-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.47 1.48 1.14 1.8l-4.13 6.58c-.33-.24-.73-.38-1.16-.38-.84 0-1.55.51-1.85 1.24l-2.14-1.53c.09-.22.14-.46.14-.71 0-1.11-.89-2-2-2-1.1 0-2 .89-2 2 0 .73.4 1.36.98 1.71L1 18h17zM17 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM5 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5.85 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"chart-bar":e="M18 18V2h-4v16h4zm-6 0V7H8v11h4zm-6 0v-8H2v8h4z";break;case"chart-line":e="M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z";break;case"chart-pie":e="M10 10V3c3.87 0 7 3.13 7 7h-7zM9 4v7h7c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7z";break;case"clipboard":e="M11.9.39l1.4 1.4c1.61.19 3.5-.74 4.61.37s.18 3 .37 4.61l1.4 1.4c.39.39.39 1.02 0 1.41l-9.19 9.2c-.4.39-1.03.39-1.42 0L1.29 11c-.39-.39-.39-1.02 0-1.42l9.2-9.19c.39-.39 1.02-.39 1.41 0zm.58 2.25l-.58.58 4.95 4.95.58-.58c-.19-.6-.2-1.22-.15-1.82.02-.31.05-.62.09-.92.12-1 .18-1.63-.17-1.98s-.98-.29-1.98-.17c-.3.04-.61.07-.92.09-.6.05-1.22.04-1.82-.15zm4.02.93c.39.39.39 1.03 0 1.42s-1.03.39-1.42 0-.39-1.03 0-1.42 1.03-.39 1.42 0zm-6.72.36l-.71.7L15.44 11l.7-.71zM8.36 5.34l-.7.71 6.36 6.36.71-.7zM6.95 6.76l-.71.7 6.37 6.37.7-.71zM5.54 8.17l-.71.71 6.36 6.36.71-.71zM4.12 9.58l-.71.71 6.37 6.37.71-.71z";break;case"clock":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 14c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm-.71-5.29c.07.05.14.1.23.15l-.02.02L14 13l-3.03-3.19L10 5l-.97 4.81h.01c0 .02-.01.05-.02.09S9 9.97 9 10c0 .28.1.52.29.71z";break;case"cloud-saved":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16h10c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5zm-6.3 5.9l-3.2-3.2 1.4-1.4 1.8 1.8 3.8-3.8 1.4 1.4-5.2 5.2z";break;case"cloud-upload":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16H8v-3H5l4.5-4.5L14 13h-3v3h3.5c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5z";break;case"cloud":e="M14.9 9c1.8.2 3.1 1.7 3.1 3.5 0 1.9-1.6 3.5-3.5 3.5h-10C2.6 16 1 14.4 1 12.5 1 10.7 2.3 9.3 4.1 9 4 8.9 4 8.7 4 8.5 4 7.1 5.1 6 6.5 6c.3 0 .7.1.9.2C8.1 4.9 9.4 4 11 4c2.2 0 4 1.8 4 4 0 .4-.1.7-.1 1z";break;case"columns":e="M3 15h6V5H3v10zm8 0h6V5h-6v10z";break;case"controls-back":e="M2 10l10-6v3.6L18 4v12l-6-3.6V16z";break;case"controls-forward":e="M18 10L8 16v-3.6L2 16V4l6 3.6V4z";break;case"controls-pause":e="M5 16V4h3v12H5zm7-12h3v12h-3V4z";break;case"controls-play":e="M5 4l10 6-10 6V4z";break;case"controls-repeat":e="M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z";break;case"controls-skipback":e="M11.98 7.63l6-3.6v12l-6-3.6v3.6l-8-4.8v4.8h-2v-12h2v4.8l8-4.8v3.6z";break;case"controls-skipforward":e="M8 12.4L2 16V4l6 3.6V4l8 4.8V4h2v12h-2v-4.8L8 16v-3.6z";break;case"controls-volumeoff":e="M2 7h4l5-4v14l-5-4H2V7z";break;case"controls-volumeon":e="M2 7h4l5-4v14l-5-4H2V7zm12.69-2.46C14.82 4.59 18 5.92 18 10s-3.18 5.41-3.31 5.46c-.06.03-.13.04-.19.04-.2 0-.39-.12-.46-.31-.11-.26.02-.55.27-.65.11-.05 2.69-1.15 2.69-4.54 0-3.41-2.66-4.53-2.69-4.54-.25-.1-.38-.39-.27-.65.1-.25.39-.38.65-.27zM16 10c0 2.57-2.23 3.43-2.32 3.47-.06.02-.12.03-.18.03-.2 0-.39-.12-.47-.32-.1-.26.04-.55.29-.65.07-.02 1.68-.67 1.68-2.53s-1.61-2.51-1.68-2.53c-.25-.1-.38-.39-.29-.65.1-.25.39-.39.65-.29.09.04 2.32.9 2.32 3.47z";break;case"cover-image":e="M2.2 1h15.5c.7 0 1.3.6 1.3 1.2v11.5c0 .7-.6 1.2-1.2 1.2H2.2c-.6.1-1.2-.5-1.2-1.1V2.2C1 1.6 1.6 1 2.2 1zM17 13V3H3v10h14zm-4-4s0-5 3-5v7c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1V7c2 0 3 4 3 4s1-4 3-4 3 2 3 2zM4 17h12v2H4z";break;case"dashboard":e="M3.76 16h12.48c1.1-1.37 1.76-3.11 1.76-5 0-4.42-3.58-8-8-8s-8 3.58-8 8c0 1.89.66 3.63 1.76 5zM10 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5.37 5.55L12 7v6c0 1.1-.9 2-2 2s-2-.9-2-2c0-.57.24-1.08.63-1.45zM4 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5 3c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1z";break;case"desktop":e="M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z";break;case"dismiss":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z";break;case"download":e="M14.01 4v6h2V2H4v8h2.01V4h8zm-2 2v6h3l-5 6-5-6h3V6h4z";break;case"edit":e="M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z";break;case"editor-aligncenter":e="M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z";break;case"editor-alignleft":e="M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z";break;case"editor-alignright":e="M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z";break;case"editor-bold":e="M6 4v13h4.54c1.37 0 2.46-.33 3.26-1 .8-.66 1.2-1.58 1.2-2.77 0-.84-.17-1.51-.51-2.01s-.9-.85-1.67-1.03v-.09c.57-.1 1.02-.4 1.36-.9s.51-1.13.51-1.91c0-1.14-.39-1.98-1.17-2.5C12.75 4.26 11.5 4 9.78 4H6zm2.57 5.15V6.26h1.36c.73 0 1.27.11 1.61.32.34.22.51.58.51 1.07 0 .54-.16.92-.47 1.15s-.82.35-1.51.35h-1.5zm0 2.19h1.6c1.44 0 2.16.53 2.16 1.61 0 .6-.17 1.05-.51 1.34s-.86.43-1.57.43H8.57v-3.38z";break;case"editor-break":e="M16 4h2v9H7v3l-5-4 5-4v3h9V4z";break;case"editor-code":e="M9 6l-4 4 4 4-1 2-6-6 6-6zm2 8l4-4-4-4 1-2 6 6-6 6z";break;case"editor-contract":e="M15.75 6.75L18 3v14l-2.25-3.75L17 12h-4v4l1.25-1.25L18 17H2l3.75-2.25L7 16v-4H3l1.25 1.25L2 17V3l2.25 3.75L3 8h4V4L5.75 5.25 2 3h16l-3.75 2.25L13 4v4h4z";break;case"editor-customchar":e="M10 5.4c1.27 0 2.24.36 2.91 1.08.66.71 1 1.76 1 3.13 0 1.28-.23 2.37-.69 3.27-.47.89-1.27 1.52-2.22 2.12v2h6v-2h-3.69c.92-.64 1.62-1.34 2.12-2.34.49-1.01.74-2.13.74-3.35 0-1.78-.55-3.19-1.65-4.22S11.92 3.54 10 3.54s-3.43.53-4.52 1.57c-1.1 1.04-1.65 2.44-1.65 4.2 0 1.21.24 2.31.73 3.33.48 1.01 1.19 1.71 2.1 2.36H3v2h6v-2c-.98-.64-1.8-1.28-2.24-2.17-.45-.89-.67-1.96-.67-3.22 0-1.37.33-2.41 1-3.13C7.75 5.76 8.72 5.4 10 5.4z";break;case"editor-expand":e="M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3";break;case"editor-help":e="M17 10c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7s3.13 7 7 7c3.86 0 7-3.13 7-7zm-6.3 1.48H9.14v-.43c0-.38.08-.7.24-.98s.46-.57.88-.89c.41-.29.68-.53.81-.71.14-.18.2-.39.2-.62 0-.25-.09-.44-.28-.58-.19-.13-.45-.19-.79-.19-.58 0-1.25.19-2 .57l-.64-1.28c.87-.49 1.8-.74 2.77-.74.81 0 1.45.2 1.92.58.48.39.71.91.71 1.55 0 .43-.09.8-.29 1.11-.19.32-.57.67-1.11 1.06-.38.28-.61.49-.71.63-.1.15-.15.34-.15.57v.35zm-1.47 2.74c-.18-.17-.27-.42-.27-.73 0-.33.08-.58.26-.75s.43-.25.77-.25c.32 0 .57.09.75.26s.27.42.27.74c0 .3-.09.55-.27.72-.18.18-.43.27-.75.27-.33 0-.58-.09-.76-.26z";break;case"editor-indent":e="M3 5V3h9v2H3zm10-1V3h4v1h-4zm0 3h2V5l4 3.5-4 3.5v-2h-2V7zM3 8V6h9v2H3zm2 3V9h7v2H5zm-2 3v-2h9v2H3zm10 0v-1h4v1h-4zm-4 3v-2h3v2H9z";break;case"editor-insertmore":e="M17 7V3H3v4h14zM6 11V9H3v2h3zm6 0V9H8v2h4zm5 0V9h-3v2h3zm0 6v-4H3v4h14z";break;case"editor-italic":e="M14.78 6h-2.13l-2.8 9h2.12l-.62 2H4.6l.62-2h2.14l2.8-9H8.03l.62-2h6.75z";break;case"editor-justify":e="M2 3h16v2H2V3zm0 4h16v2H2V7zm0 4h16v2H2v-2zm0 4h16v2H2v-2z";break;case"editor-kitchensink":e="M19 2v6H1V2h18zm-1 5V3H2v4h16zM5 4v2H3V4h2zm3 0v2H6V4h2zm3 0v2H9V4h2zm3 0v2h-2V4h2zm3 0v2h-2V4h2zm2 5v9H1V9h18zm-1 8v-7H2v7h16zM5 11v2H3v-2h2zm3 0v2H6v-2h2zm3 0v2H9v-2h2zm6 0v2h-5v-2h5zm-6 3v2H3v-2h8zm3 0v2h-2v-2h2zm3 0v2h-2v-2h2z";break;case"editor-ltr":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z";break;case"editor-ol-rtl":e="M15.025 8.75a1.048 1.048 0 0 1 .45-.1.507.507 0 0 1 .35.11.455.455 0 0 1 .13.36.803.803 0 0 1-.06.3 1.448 1.448 0 0 1-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76v-.7h-1.72v-.04l.51-.48a7.276 7.276 0 0 0 .7-.71 1.75 1.75 0 0 0 .3-.49 1.254 1.254 0 0 0 .1-.51.968.968 0 0 0-.16-.56 1.007 1.007 0 0 0-.44-.37 1.512 1.512 0 0 0-.65-.14 1.98 1.98 0 0 0-.51.06 1.9 1.9 0 0 0-.42.15 3.67 3.67 0 0 0-.48.35l.45.54a2.505 2.505 0 0 1 .45-.3zM16.695 15.29a1.29 1.29 0 0 0-.74-.3v-.02a1.203 1.203 0 0 0 .65-.37.973.973 0 0 0 .23-.65.81.81 0 0 0-.37-.71 1.72 1.72 0 0 0-1-.26 2.185 2.185 0 0 0-1.33.4l.4.6a1.79 1.79 0 0 1 .46-.23 1.18 1.18 0 0 1 .41-.07c.38 0 .58.15.58.46a.447.447 0 0 1-.22.43 1.543 1.543 0 0 1-.7.12h-.31v.66h.31a1.764 1.764 0 0 1 .75.12.433.433 0 0 1 .23.41.55.55 0 0 1-.2.47 1.084 1.084 0 0 1-.63.15 2.24 2.24 0 0 1-.57-.08 2.671 2.671 0 0 1-.52-.2v.74a2.923 2.923 0 0 0 1.18.22 1.948 1.948 0 0 0 1.22-.33 1.077 1.077 0 0 0 .43-.92.836.836 0 0 0-.26-.64zM15.005 4.17c.06-.05.16-.14.3-.28l-.02.42V7h.84V3h-.69l-1.29 1.03.4.51zM4.02 5h9v1h-9zM4.02 10h9v1h-9zM4.02 15h9v1h-9z";break;case"editor-ol":e="M6 7V3h-.69L4.02 4.03l.4.51.46-.37c.06-.05.16-.14.3-.28l-.02.42V7H6zm2-2h9v1H8V5zm-1.23 6.95v-.7H5.05v-.04l.51-.48c.33-.31.57-.54.7-.71.14-.17.24-.33.3-.49.07-.16.1-.33.1-.51 0-.21-.05-.4-.16-.56-.1-.16-.25-.28-.44-.37s-.41-.14-.65-.14c-.19 0-.36.02-.51.06-.15.03-.29.09-.42.15-.12.07-.29.19-.48.35l.45.54c.16-.13.31-.23.45-.3.15-.07.3-.1.45-.1.14 0 .26.03.35.11s.13.2.13.36c0 .1-.02.2-.06.3s-.1.21-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76zM8 10h9v1H8v-1zm-1.29 3.95c0-.3-.12-.54-.37-.71-.24-.17-.58-.26-1-.26-.52 0-.96.13-1.33.4l.4.6c.17-.11.32-.19.46-.23.14-.05.27-.07.41-.07.38 0 .58.15.58.46 0 .2-.07.35-.22.43s-.38.12-.7.12h-.31v.66h.31c.34 0 .59.04.75.12.15.08.23.22.23.41 0 .22-.07.37-.2.47-.14.1-.35.15-.63.15-.19 0-.38-.03-.57-.08s-.36-.12-.52-.2v.74c.34.15.74.22 1.18.22.53 0 .94-.11 1.22-.33.29-.22.43-.52.43-.92 0-.27-.09-.48-.26-.64s-.42-.26-.74-.3v-.02c.27-.06.49-.19.65-.37.15-.18.23-.39.23-.65zM8 15h9v1H8v-1z";break;case"editor-outdent":e="M7 4V3H3v1h4zm10 1V3H8v2h9zM7 7H5V5L1 8.5 5 12v-2h2V7zm10 1V6H8v2h9zm-2 3V9H8v2h7zm2 3v-2H8v2h9zM7 14v-1H3v1h4zm4 3v-2H8v2h3z";break;case"editor-paragraph":e="M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71C15.5 2.1 15.27 2 15 2z";break;case"editor-paste-text":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.44 1-1 0-.55-.45-1-1-1s-1 .45-1 1c0 .56.45 1 1 1zm5.45-1H17c.55 0 1 .45 1 1v12c0 .56-.45 1-1 1H3c-.55 0-1-.44-1-1V5c0-.55.45-1 1-1h1.55L4 4.63V7h12V4.63zM14 11V9H6v2h3v5h2v-5h3z";break;case"editor-paste-word":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 12V5c0-.55-.45-1-1-1h-1.54l.54.63V7H4V4.62L4.55 4H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-3-8l-2 7h-2l-1-5-1 5H6.92L5 9h2l1 5 1-5h2l1 5 1-5h2z";break;case"editor-quote":e="M9.49 13.22c0-.74-.2-1.38-.61-1.9-.62-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L7.88 4c-2.73 1.3-5.42 4.28-4.96 8.05C3.21 14.43 4.59 16 6.54 16c.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03zm8.05 0c0-.74-.2-1.38-.61-1.9-.63-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L15.93 4c-2.73 1.3-5.41 4.28-4.95 8.05.29 2.38 1.66 3.95 3.61 3.95.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03z";break;case"editor-removeformatting":e="M14.29 4.59l1.1 1.11c.41.4.61.94.61 1.47v2.12c0 .53-.2 1.07-.61 1.47l-6.63 6.63c-.4.41-.94.61-1.47.61s-1.07-.2-1.47-.61l-1.11-1.1-1.1-1.11c-.41-.4-.61-.94-.61-1.47v-2.12c0-.54.2-1.07.61-1.48l6.63-6.62c.4-.41.94-.61 1.47-.61s1.06.2 1.47.61zm-6.21 9.7l6.42-6.42c.39-.39.39-1.03 0-1.43L12.36 4.3c-.19-.19-.45-.29-.72-.29s-.52.1-.71.29l-6.42 6.42c-.39.4-.39 1.04 0 1.43l2.14 2.14c.38.38 1.04.38 1.43 0z";break;case"editor-rtl":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z";break;case"editor-spellcheck":e="M15.84 2.76c.25 0 .49.04.71.11.23.07.44.16.64.25l.35-.81c-.52-.26-1.08-.39-1.69-.39-.58 0-1.09.13-1.52.37-.43.25-.76.61-.99 1.08C13.11 3.83 13 4.38 13 5c0 .99.23 1.75.7 2.28s1.15.79 2.02.79c.6 0 1.13-.09 1.6-.26v-.84c-.26.08-.51.14-.74.19-.24.05-.49.08-.74.08-.59 0-1.04-.19-1.34-.57-.32-.37-.47-.93-.47-1.66 0-.7.16-1.25.48-1.65.33-.4.77-.6 1.33-.6zM6.5 8h1.04L5.3 2H4.24L2 8h1.03l.58-1.66H5.9zM8 2v6h2.17c.67 0 1.19-.15 1.57-.46.38-.3.56-.72.56-1.26 0-.4-.1-.72-.3-.95-.19-.24-.5-.39-.93-.47v-.04c.35-.06.6-.21.78-.44.18-.24.28-.53.28-.88 0-.52-.19-.9-.56-1.14-.36-.24-.96-.36-1.79-.36H8zm.98 2.48V2.82h.85c.44 0 .77.06.97.19.21.12.31.33.31.61 0 .31-.1.53-.29.66-.18.13-.48.2-.89.2h-.95zM5.64 5.5H3.9l.54-1.56c.14-.4.25-.76.32-1.1l.15.52c.07.23.13.4.17.51zm3.34-.23h.99c.44 0 .76.08.98.23.21.15.32.38.32.69 0 .34-.11.59-.32.75s-.52.24-.93.24H8.98V5.27zM4 13l5 5 9-8-1-1-8 6-4-3z";break;case"editor-strikethrough":e="M15.82 12.25c.26 0 .5-.02.74-.07.23-.05.48-.12.73-.2v.84c-.46.17-.99.26-1.58.26-.88 0-1.54-.26-2.01-.79-.39-.44-.62-1.04-.68-1.79h-.94c.12.21.18.48.18.79 0 .54-.18.95-.55 1.26-.38.3-.9.45-1.56.45H8v-2.5H6.59l.93 2.5H6.49l-.59-1.67H3.62L3.04 13H2l.93-2.5H2v-1h1.31l.93-2.49H5.3l.92 2.49H8V7h1.77c1 0 1.41.17 1.77.41.37.24.55.62.55 1.13 0 .35-.09.64-.27.87l-.08.09h1.29c.05-.4.15-.77.31-1.1.23-.46.55-.82.98-1.06.43-.25.93-.37 1.51-.37.61 0 1.17.12 1.69.38l-.35.81c-.2-.1-.42-.18-.64-.25s-.46-.11-.71-.11c-.55 0-.99.2-1.31.59-.23.29-.38.66-.44 1.11H17v1h-2.95c.06.5.2.9.44 1.19.3.37.75.56 1.33.56zM4.44 8.96l-.18.54H5.3l-.22-.61c-.04-.11-.09-.28-.17-.51-.07-.24-.12-.41-.14-.51-.08.33-.18.69-.33 1.09zm4.53-1.09V9.5h1.19c.28-.02.49-.09.64-.18.19-.13.28-.35.28-.66 0-.28-.1-.48-.3-.61-.2-.12-.53-.18-.97-.18h-.84zm-3.33 2.64v-.01H3.91v.01h1.73zm5.28.01l-.03-.02H8.97v1.68h1.04c.4 0 .71-.08.92-.23.21-.16.31-.4.31-.74 0-.31-.11-.54-.32-.69z";break;case"editor-table":e="M18 17V3H2v14h16zM16 7H4V5h12v2zm-7 4H4V9h5v2zm7 0h-5V9h5v2zm-7 4H4v-2h5v2zm7 0h-5v-2h5v2z";break;case"editor-textcolor":e="M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z";break;case"editor-ul":e="M5.5 7C4.67 7 4 6.33 4 5.5 4 4.68 4.67 4 5.5 4 6.32 4 7 4.68 7 5.5 7 6.33 6.32 7 5.5 7zM8 5h9v1H8V5zm-2.5 7c-.83 0-1.5-.67-1.5-1.5C4 9.68 4.67 9 5.5 9c.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 10h9v1H8v-1zm-2.5 7c-.83 0-1.5-.67-1.5-1.5 0-.82.67-1.5 1.5-1.5.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 15h9v1H8v-1z";break;case"editor-underline":e="M14 5h-2v5.71c0 1.99-1.12 2.98-2.45 2.98-1.32 0-2.55-1-2.55-2.96V5H5v5.87c0 1.91 1 4.54 4.48 4.54 3.49 0 4.52-2.58 4.52-4.5V5zm0 13v-2H5v2h9z";break;case"editor-unlink":e="M17.74 2.26c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-.32.33-.69.58-1.08.77L13 10l1.69-1.64.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-.76.76L10 7l-.65-2.14c.19-.38.44-.75.77-1.07l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM2 4l8 6-6-8zm4-2l4 8-2-8H6zM2 6l8 4-8-2V6zm7.36 7.69L10 13l.74 2.35-1.38 1.39c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.39-1.38L7 10l-.69.64-1.52 1.53c-.85.84-.85 2.2 0 3.04.84.85 2.2.85 3.04 0zM18 16l-8-6 6 8zm-4 2l-4-8 2 8h2zm4-4l-8-4 8 2v2z";break;case"editor-video":e="M16 2h-3v1H7V2H4v15h3v-1h6v1h3V2zM6 3v1H5V3h1zm9 0v1h-1V3h1zm-2 1v5H7V4h6zM6 5v1H5V5h1zm9 0v1h-1V5h1zM6 7v1H5V7h1zm9 0v1h-1V7h1zM6 9v1H5V9h1zm9 0v1h-1V9h1zm-2 1v5H7v-5h6zm-7 1v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1z";break;case"ellipsis":e="M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z";break;case"email-alt":e="M19 14.5v-9c0-.83-.67-1.5-1.5-1.5H3.49c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5H17.5c.83 0 1.5-.67 1.5-1.5zm-1.31-9.11c.33.33.15.67-.03.84L13.6 9.95l3.9 4.06c.12.14.2.36.06.51-.13.16-.43.15-.56.05l-4.37-3.73-2.14 1.95-2.13-1.95-4.37 3.73c-.13.1-.43.11-.56-.05-.14-.15-.06-.37.06-.51l3.9-4.06-4.06-3.72c-.18-.17-.36-.51-.03-.84s.67-.17.95.07l6.24 5.04 6.25-5.04c.28-.24.62-.4.95-.07z";break;case"email-alt2":e="M18.01 11.18V2.51c0-1.19-.9-1.81-2-1.37L4 5.91c-1.1.44-2 1.77-2 2.97v8.66c0 1.2.9 1.81 2 1.37l12.01-4.77c1.1-.44 2-1.76 2-2.96zm-1.43-7.46l-6.04 9.33-6.65-4.6c-.1-.07-.36-.32-.17-.64.21-.36.65-.21.65-.21l6.3 2.32s4.83-6.34 5.11-6.7c.13-.17.43-.34.73-.13.29.2.16.49.07.63z";break;case"email":e="M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17-.3.41-.11.87.13 1.07z";break;case"embed-audio":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 3H7v4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.4 0 .7.1 1 .3V5h4v2zm4 3.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-generic":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3 6.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-photo":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 8H3V6h7v6zm4-1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3zm-6-4V8.5L7.2 10 6 9.2 4 11h5zM4.6 8.6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z";break;case"embed-post":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.6 9l-.4.3c-.4.4-.5 1.1-.2 1.6l-.8.8-1.1-1.1-1.3 1.3c-.2.2-1.6 1.3-1.8 1.1-.2-.2.9-1.6 1.1-1.8l1.3-1.3-1.1-1.1.8-.8c.5.3 1.2.3 1.6-.2l.3-.3c.5-.5.5-1.2.2-1.7L8 5l3 2.9-.8.8c-.5-.2-1.2-.2-1.6.3zm5.4 1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-video":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 6.5L8 9.1V11H3V6h5v1.8l2-1.3v4zm4 0L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"excerpt-view":e="M19 18V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6V3h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6v-6h11z";break;case"exit":e="M13 3v2h2v10h-2v2h4V3h-4zm0 8V9H5.4l4.3-4.3-1.4-1.4L1.6 10l6.7 6.7 1.4-1.4L5.4 11H13z";break;case"external":e="M9 3h8v8l-2-1V6.92l-5.6 5.59-1.41-1.41L14.08 5H10zm3 12v-3l2-2v7H3V6h8L9 8H5v7h7z";break;case"facebook-alt":e="M8.46 18h2.93v-7.3h2.45l.37-2.84h-2.82V6.04c0-.82.23-1.38 1.41-1.38h1.51V2.11c-.26-.03-1.15-.11-2.19-.11-2.18 0-3.66 1.33-3.66 3.76v2.1H6v2.84h2.46V18z";break;case"facebook":e="M2.89 2h14.23c.49 0 .88.39.88.88v14.24c0 .48-.39.88-.88.88h-4.08v-6.2h2.08l.31-2.41h-2.39V7.85c0-.7.2-1.18 1.2-1.18h1.28V4.51c-.22-.03-.98-.09-1.86-.09-1.85 0-3.11 1.12-3.11 3.19v1.78H8.46v2.41h2.09V18H2.89c-.49 0-.89-.4-.89-.88V2.88c0-.49.4-.88.89-.88z";break;case"feedback":e="M2 2h16c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm15 14V7H3v9h14zM4 8v1h3V8H4zm4 0v3h8V8H8zm-4 4v1h3v-1H4zm4 0v3h8v-3H8z";break;case"filter":e="M3 4.5v-2s3.34-1 7-1 7 1 7 1v2l-5 7.03v6.97s-1.22-.09-2.25-.59S8 16.5 8 16.5v-4.97z";break;case"flag":e="M5 18V3H3v15h2zm1-6V4c3-1 7 1 11 0v8c-3 1.27-8-1-11 0z";break;case"format-aside":e="M1 1h18v12l-6 6H1V1zm3 3v1h12V4H4zm0 4v1h12V8H4zm6 5v-1H4v1h6zm2 4l5-5h-5v5z";break;case"format-audio":e="M6.99 3.08l11.02-2c.55-.08.99.45.99 1V14.5c0 1.94-1.57 3.5-3.5 3.5S12 16.44 12 14.5c0-1.93 1.57-3.5 3.5-3.5.54 0 1.04.14 1.5.35V5.08l-9 2V16c-.24 1.7-1.74 3-3.5 3C2.57 19 1 17.44 1 15.5 1 13.57 2.57 12 4.5 12c.54 0 1.04.14 1.5.35V4.08c0-.55.44-.91.99-1z";break;case"format-chat":e="M11 6h-.82C9.07 6 8 7.2 8 8.16V10l-3 3v-3H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v3zm0 1h6c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2h-2v3l-3-3h-1c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2z";break;case"format-gallery":e="M16 4h1.96c.57 0 1.04.47 1.04 1.04v12.92c0 .57-.47 1.04-1.04 1.04H5.04C4.47 19 4 18.53 4 17.96V16H2.04C1.47 16 1 15.53 1 14.96V2.04C1 1.47 1.47 1 2.04 1h12.92c.57 0 1.04.47 1.04 1.04V4zM3 14h11V3H3v11zm5-8.5C8 4.67 7.33 4 6.5 4S5 4.67 5 5.5 5.67 7 6.5 7 8 6.33 8 5.5zm2 4.5s1-5 3-5v8H4V7c2 0 2 3 2 3s.33-2 2-2 2 2 2 2zm7 7V6h-1v8.96c0 .57-.47 1.04-1.04 1.04H6v1h11z";break;case"format-image":e="M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z";break;case"format-quote":e="M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z";break;case"format-status":e="M10 1c7 0 9 2.91 9 6.5S17 14 10 14s-9-2.91-9-6.5S3 1 10 1zM5.5 9C6.33 9 7 8.33 7 7.5S6.33 6 5.5 6 4 6.67 4 7.5 4.67 9 5.5 9zM10 9c.83 0 1.5-.67 1.5-1.5S10.83 6 10 6s-1.5.67-1.5 1.5S9.17 9 10 9zm4.5 0c.83 0 1.5-.67 1.5-1.5S15.33 6 14.5 6 13 6.67 13 7.5 13.67 9 14.5 9zM6 14.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-3 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"format-video":e="M2 1h16c.55 0 1 .45 1 1v16l-18-.02V2c0-.55.45-1 1-1zm4 1L4 5h1l2-3H6zm4 0H9L7 5h1zm3 0h-1l-2 3h1zm3 0h-1l-2 3h1zm1 14V6H3v10h14zM8 7l6 4-6 4V7z";break;case"forms":e="M2 2h7v7H2V2zm9 0v7h7V2h-7zM5.5 4.5L7 3H4zM12 8V3h5v5h-5zM4.5 5.5L3 4v3zM8 4L6.5 5.5 8 7V4zM5.5 6.5L4 8h3zM9 18v-7H2v7h7zm9 0h-7v-7h7v7zM8 12v5H3v-5h5zm6.5 1.5L16 12h-3zM12 16l1.5-1.5L12 13v3zm3.5-1.5L17 16v-3zm-1 1L13 17h3z";break;case"googleplus":e="M6.73 10h5.4c.05.29.09.57.09.95 0 3.27-2.19 5.6-5.49 5.6-3.17 0-5.73-2.57-5.73-5.73 0-3.17 2.56-5.73 5.73-5.73 1.54 0 2.84.57 3.83 1.5l-1.55 1.5c-.43-.41-1.17-.89-2.28-.89-1.96 0-3.55 1.62-3.55 3.62 0 1.99 1.59 3.61 3.55 3.61 2.26 0 3.11-1.62 3.24-2.47H6.73V10zM19 10v1.64h-1.64v1.63h-1.63v-1.63h-1.64V10h1.64V8.36h1.63V10H19z";break;case"grid-view":e="M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z";break;case"groups":e="M8.03 4.46c-.29 1.28.55 3.46 1.97 3.46 1.41 0 2.25-2.18 1.96-3.46-.22-.98-1.08-1.63-1.96-1.63-.89 0-1.74.65-1.97 1.63zm-4.13.9c-.25 1.08.47 2.93 1.67 2.93s1.92-1.85 1.67-2.93c-.19-.83-.92-1.39-1.67-1.39s-1.48.56-1.67 1.39zm8.86 0c-.25 1.08.47 2.93 1.66 2.93 1.2 0 1.92-1.85 1.67-2.93-.19-.83-.92-1.39-1.67-1.39-.74 0-1.47.56-1.66 1.39zm-.59 11.43l1.25-4.3C14.2 10 12.71 8.47 10 8.47c-2.72 0-4.21 1.53-3.44 4.02l1.26 4.3C8.05 17.51 9 18 10 18c.98 0 1.94-.49 2.17-1.21zm-6.1-7.63c-.49.67-.96 1.83-.42 3.59l1.12 3.79c-.34.2-.77.31-1.2.31-.85 0-1.65-.41-1.85-1.03l-1.07-3.65c-.65-2.11.61-3.4 2.92-3.4.27 0 .54.02.79.06-.1.1-.2.22-.29.33zm8.35-.39c2.31 0 3.58 1.29 2.92 3.4l-1.07 3.65c-.2.62-1 1.03-1.85 1.03-.43 0-.86-.11-1.2-.31l1.11-3.77c.55-1.78.08-2.94-.42-3.61-.08-.11-.18-.23-.28-.33.25-.04.51-.06.79-.06z";break;case"hammer":e="M17.7 6.32l1.41 1.42-3.47 3.41-1.42-1.42.84-.82c-.32-.76-.81-1.57-1.51-2.31l-4.61 6.59-5.26 4.7c-.39.39-1.02.39-1.42 0l-1.2-1.21c-.39-.39-.39-1.02 0-1.41l10.97-9.92c-1.37-.86-3.21-1.46-5.67-1.48 2.7-.82 4.95-.93 6.58-.3 1.7.66 2.82 2.2 3.91 3.58z";break;case"heading":e="M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4";break;case"heart":e="M10 17.12c3.33-1.4 5.74-3.79 7.04-6.21 1.28-2.41 1.46-4.81.32-6.25-1.03-1.29-2.37-1.78-3.73-1.74s-2.68.63-3.63 1.46c-.95-.83-2.27-1.42-3.63-1.46s-2.7.45-3.73 1.74c-1.14 1.44-.96 3.84.34 6.25 1.28 2.42 3.69 4.81 7.02 6.21z";break;case"hidden":e="M17.2 3.3l.16.17c.39.39.39 1.02 0 1.41L4.55 17.7c-.39.39-1.03.39-1.41 0l-.17-.17c-.39-.39-.39-1.02 0-1.41l1.59-1.6c-1.57-1-2.76-2.3-3.56-3.93.81-1.65 2.03-2.98 3.64-3.99S8.04 5.09 10 5.09c1.2 0 2.33.21 3.4.6l2.38-2.39c.39-.39 1.03-.39 1.42 0zm-7.09 4.01c-.23.25-.34.54-.34.88 0 .31.12.58.31.81l1.8-1.79c-.13-.12-.28-.21-.45-.26-.11-.01-.28-.03-.49-.04-.33.03-.6.16-.83.4zM2.4 10.59c.69 1.23 1.71 2.25 3.05 3.05l1.28-1.28c-.51-.69-.77-1.47-.77-2.36 0-1.06.36-1.98 1.09-2.76-1.04.27-1.96.7-2.76 1.26-.8.58-1.43 1.27-1.89 2.09zm13.22-2.13l.96-.96c1.02.86 1.83 1.89 2.42 3.09-.81 1.65-2.03 2.98-3.64 3.99s-3.4 1.51-5.36 1.51c-.63 0-1.24-.07-1.83-.18l1.07-1.07c.25.02.5.05.76.05 1.63 0 3.13-.4 4.5-1.21s2.4-1.84 3.1-3.09c-.46-.82-1.09-1.51-1.89-2.09-.03-.01-.06-.03-.09-.04zm-5.58 5.58l4-4c-.01 1.1-.41 2.04-1.18 2.81-.78.78-1.72 1.18-2.82 1.19z";break;case"html":e="M4 16v-2H2v2H1v-5h1v2h2v-2h1v5H4zM7 16v-4H5.6v-1h3.7v1H8v4H7zM10 16v-5h1l1.4 3.4h.1L14 11h1v5h-1v-3.1h-.1l-1.1 2.5h-.6l-1.1-2.5H11V16h-1zM19 16h-3v-5h1v4h2v1zM9.4 4.2L7.1 6.5l2.3 2.3-.6 1.2-3.5-3.5L8.8 3l.6 1.2zm1.2 4.6l2.3-2.3-2.3-2.3.6-1.2 3.5 3.5-3.5 3.5-.6-1.2z";break;case"id-alt":e="M18 18H2V2h16v16zM8.05 7.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L8.95 6c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C8.23 4.1 7.95 4 7.6 4c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM16 5V4h-5v1h5zm0 2V6h-5v1h5zM7.62 8.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM16 9V8h-3v1h3zm0 2v-1h-3v1h3zm0 3v-1H4v1h12zm0 2v-1H4v1h12z";break;case"id":e="M18 16H2V4h16v12zM7.05 8.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L7.95 7c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C7.23 5.1 6.95 5 6.6 5c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM17 9V5h-5v4h5zm-10.38.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM17 11v-1h-5v1h5zm0 2v-1h-5v1h5zm0 2v-1H3v1h14z";break;case"image-crop":e="M19 12v3h-4v4h-3v-4H4V7H0V4h4V0h3v4h7l3-3 1 1-3 3v7h4zm-8-5H7v4zm-3 5h4V8z";break;case"image-filter":e="M14 5.87c0-2.2-1.79-4-4-4s-4 1.8-4 4c0 2.21 1.79 4 4 4s4-1.79 4-4zM3.24 10.66c-1.92 1.1-2.57 3.55-1.47 5.46 1.11 1.92 3.55 2.57 5.47 1.47 1.91-1.11 2.57-3.55 1.46-5.47-1.1-1.91-3.55-2.56-5.46-1.46zm9.52 6.93c1.92 1.1 4.36.45 5.47-1.46 1.1-1.92.45-4.36-1.47-5.47-1.91-1.1-4.36-.45-5.46 1.46-1.11 1.92-.45 4.36 1.46 5.47z";break;case"image-flip-horizontal":e="M19 3v14h-8v3H9v-3H1V3h8V0h2v3h8zm-8.5 14V3h-1v14h1zM7 6.5L3 10l4 3.5v-7zM17 10l-4-3.5v7z";break;case"image-flip-vertical":e="M20 9v2h-3v8H3v-8H0V9h3V1h14v8h3zM6.5 7h7L10 3zM17 9.5H3v1h14v-1zM13.5 13h-7l3.5 4z";break;case"image-rotate-left":e="M7 5H5.05c0-1.74.85-2.9 2.95-2.9V0C4.85 0 2.96 2.11 2.96 5H1.18L3.8 8.39zm13-4v14h-5v5H1V10h9V1h10zm-2 2h-6v7h3v3h3V3zm-5 9H3v6h10v-6z";break;case"image-rotate-right":e="M15.95 5H14l3.2 3.39L19.82 5h-1.78c0-2.89-1.89-5-5.04-5v2.1c2.1 0 2.95 1.16 2.95 2.9zM1 1h10v9h9v10H6v-5H1V1zm2 2v10h3v-3h3V3H3zm5 9v6h10v-6H8z";break;case"image-rotate":e="M10.25 1.02c5.1 0 8.75 4.04 8.75 9s-3.65 9-8.75 9c-3.2 0-6.02-1.59-7.68-3.99l2.59-1.52c1.1 1.5 2.86 2.51 4.84 2.51 3.3 0 6-2.79 6-6s-2.7-6-6-6c-1.97 0-3.72 1-4.82 2.49L7 8.02l-6 2v-7L2.89 4.6c1.69-2.17 4.36-3.58 7.36-3.58z";break;case"images-alt":e="M4 15v-3H2V2h12v3h2v3h2v10H6v-3H4zm7-12c-1.1 0-2 .9-2 2h4c0-1.1-.89-2-2-2zm-7 8V6H3v5h1zm7-3h4c0-1.1-.89-2-2-2-1.1 0-2 .9-2 2zm-5 6V9H5v5h1zm9-1c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2s-2 .9-2 2c0 1.11.9 2 2 2zm2 4v-2c-5 0-5-3-10-3v5h10z";break;case"images-alt2":e="M5 3h14v11h-2v2h-2v2H1V7h2V5h2V3zm13 10V4H6v9h12zm-3-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm1 6v-1H5V6H4v9h12zM7 6l10 6H7V6zm7 11v-1H3V8H2v9h12z";break;case"index-card":e="M1 3.17V18h18V4H8v-.83c0-.32-.12-.6-.35-.83S7.14 2 6.82 2H2.18c-.33 0-.6.11-.83.34-.24.23-.35.51-.35.83zM10 6v2H3V6h7zm7 0v10h-5V6h5zm-7 4v2H3v-2h7zm0 4v2H3v-2h7z";break;case"info-outline":e="M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z";break;case"info":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 9V9H9v6h2z";break;case"insert-after":e="M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z";break;case"insert-before":e="M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z";break;case"insert":e="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z";break;case"instagram":e="M12.67 10A2.67 2.67 0 1 0 10 12.67 2.68 2.68 0 0 0 12.67 10zm1.43 0A4.1 4.1 0 1 1 10 5.9a4.09 4.09 0 0 1 4.1 4.1zm1.13-4.27a1 1 0 1 1-1-1 1 1 0 0 1 1 1zM10 3.44c-1.17 0-3.67-.1-4.72.32a2.67 2.67 0 0 0-1.52 1.52c-.42 1-.32 3.55-.32 4.72s-.1 3.67.32 4.72a2.74 2.74 0 0 0 1.52 1.52c1 .42 3.55.32 4.72.32s3.67.1 4.72-.32a2.83 2.83 0 0 0 1.52-1.52c.42-1.05.32-3.55.32-4.72s.1-3.67-.32-4.72a2.74 2.74 0 0 0-1.52-1.52c-1.05-.42-3.55-.32-4.72-.32zM18 10c0 1.1 0 2.2-.05 3.3a4.84 4.84 0 0 1-1.29 3.36A4.8 4.8 0 0 1 13.3 18H6.7a4.84 4.84 0 0 1-3.36-1.29 4.84 4.84 0 0 1-1.29-3.41C2 12.2 2 11.1 2 10V6.7a4.84 4.84 0 0 1 1.34-3.36A4.8 4.8 0 0 1 6.7 2.05C7.8 2 8.9 2 10 2h3.3a4.84 4.84 0 0 1 3.36 1.29A4.8 4.8 0 0 1 18 6.7V10z";break;case"keyboard-hide":e="M18,0 L2,0 C0.9,0 0.01,0.9 0.01,2 L0,12 C0,13.1 0.9,14 2,14 L18,14 C19.1,14 20,13.1 20,12 L20,2 C20,0.9 19.1,0 18,0 Z M18,12 L2,12 L2,2 L18,2 L18,12 Z M9,3 L11,3 L11,5 L9,5 L9,3 Z M9,6 L11,6 L11,8 L9,8 L9,6 Z M6,3 L8,3 L8,5 L6,5 L6,3 Z M6,6 L8,6 L8,8 L6,8 L6,6 Z M3,6 L5,6 L5,8 L3,8 L3,6 Z M3,3 L5,3 L5,5 L3,5 L3,3 Z M6,9 L14,9 L14,11 L6,11 L6,9 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z M12,3 L14,3 L14,5 L12,5 L12,3 Z M15,6 L17,6 L17,8 L15,8 L15,6 Z M15,3 L17,3 L17,5 L15,5 L15,3 Z M10,20 L14,16 L6,16 L10,20 Z";break;case"laptop":e="M3 3h14c.6 0 1 .4 1 1v10c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V4c0-.6.4-1 1-1zm13 2H4v8h12V5zm-3 1H5v4zm6 11v-1H1v1c0 .6.5 1 1.1 1h15.8c.6 0 1.1-.4 1.1-1z";break;case"layout":e="M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z";break;case"leftright":e="M3 10.03L9 6v8zM11 6l6 4.03L11 14V6z";break;case"lightbulb":e="M10 1c3.11 0 5.63 2.52 5.63 5.62 0 1.84-2.03 4.58-2.03 4.58-.33.44-.6 1.25-.6 1.8v1c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-1c0-.55-.27-1.36-.6-1.8 0 0-2.02-2.74-2.02-4.58C4.38 3.52 6.89 1 10 1zM7 16.87V16h6v.87c0 .62-.13 1.13-.75 1.13H12c0 .62-.4 1-1.02 1h-2c-.61 0-.98-.38-.98-1h-.25c-.62 0-.75-.51-.75-1.13z";break;case"list-view":e="M2 19h16c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V3h11zM4 7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V7h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11zM4 15c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11z";break;case"location-alt":e="M13 13.14l1.17-5.94c.79-.43 1.33-1.25 1.33-2.2 0-1.38-1.12-2.5-2.5-2.5S10.5 3.62 10.5 5c0 .95.54 1.77 1.33 2.2zm0-9.64c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm1.72 4.8L18 6.97v9L13.12 18 7 15.97l-5 2v-9l5-2 4.27 1.41 1.73 7.3z";break;case"location":e="M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z";break;case"lock":e="M14 9h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h1V6c0-2.21 1.79-4 4-4s4 1.79 4 4v3zm-2 0V6c0-1.1-.9-2-2-2s-2 .9-2 2v3h4zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"marker":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z";break;case"media-archive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zM8 3.5v2l1.8-1zM11 5L9.2 6 11 7V5zM8 6.5v2l1.8-1zM11 8L9.2 9l1.8 1V8zM8 9.5v2l1.8-1zm3 1.5l-1.8 1 1.8 1v-2zm-1.5 6c.83 0 1.62-.72 1.5-1.63-.05-.38-.49-1.61-.49-1.61l-1.99-1.1s-.45 1.95-.52 2.71c-.07.77.67 1.63 1.5 1.63zm0-2.39c.42 0 .76.34.76.76 0 .43-.34.77-.76.77s-.76-.34-.76-.77c0-.42.34-.76.76-.76z";break;case"media-audio":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm1 7.26V8.09c0-.11-.04-.21-.12-.29-.07-.08-.16-.11-.27-.1 0 0-3.97.71-4.25.78C8.07 8.54 8 8.8 8 9v3.37c-.2-.09-.42-.07-.6-.07-.38 0-.7.13-.96.39-.26.27-.4.58-.4.96 0 .37.14.69.4.95.26.27.58.4.96.4.34 0 .7-.04.96-.26.26-.23.64-.65.64-1.12V10.3l3-.6V12c-.67-.2-1.17.04-1.44.31-.26.26-.39.58-.39.95 0 .38.13.69.39.96.27.26.71.39 1.08.39.38 0 .7-.13.96-.39.26-.27.4-.58.4-.96z";break;case"media-code":e="M12 2l4 4v12H4V2h8zM9 13l-2-2 2-2-1-1-3 3 3 3zm3 1l3-3-3-3-1 1 2 2-2 2z";break;case"media-default":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3z";break;case"media-document":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z";break;case"media-interactive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm2 8V8H6v6h3l-1 2h1l1-2 1 2h1l-1-2h3zm-6-3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5-2v2h-3V9h3zm0 3v1H7v-1h6z";break;case"media-spreadsheet":e="M12 2l4 4v12H4V2h8zm-1 4V3H5v3h6zM8 8V7H5v1h3zm3 0V7H9v1h2zm4 0V7h-3v1h3zm-7 2V9H5v1h3zm3 0V9H9v1h2zm4 0V9h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2z";break;case"media-text":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zm0 2V9H5v1h10zm0 2v-1H5v1h10zm-4 2v-1H5v1h6z";break;case"media-video":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm-1 8v-3c0-.27-.1-.51-.29-.71-.2-.19-.44-.29-.71-.29H7c-.27 0-.51.1-.71.29-.19.2-.29.44-.29.71v3c0 .27.1.51.29.71.2.19.44.29.71.29h3c.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71zm3 1v-5l-2 2v1z";break;case"megaphone":e="M18.15 5.94c.46 1.62.38 3.22-.02 4.48-.42 1.28-1.26 2.18-2.3 2.48-.16.06-.26.06-.4.06-.06.02-.12.02-.18.02-.06.02-.14.02-.22.02h-6.8l2.22 5.5c.02.14-.06.26-.14.34-.08.1-.24.16-.34.16H6.95c-.1 0-.26-.06-.34-.16-.08-.08-.16-.2-.14-.34l-1-5.5H4.25l-.02-.02c-.5.06-1.08-.18-1.54-.62s-.88-1.08-1.06-1.88c-.24-.8-.2-1.56-.02-2.2.18-.62.58-1.08 1.06-1.3l.02-.02 9-5.4c.1-.06.18-.1.24-.16.06-.04.14-.08.24-.12.16-.08.28-.12.5-.18 1.04-.3 2.24.1 3.22.98s1.84 2.24 2.26 3.86zm-2.58 5.98h-.02c.4-.1.74-.34 1.04-.7.58-.7.86-1.76.86-3.04 0-.64-.1-1.3-.28-1.98-.34-1.36-1.02-2.5-1.78-3.24s-1.68-1.1-2.46-.88c-.82.22-1.4.96-1.7 2-.32 1.04-.28 2.36.06 3.72.38 1.36 1 2.5 1.8 3.24.78.74 1.62 1.1 2.48.88zm-2.54-7.08c.22-.04.42-.02.62.04.38.16.76.48 1.02 1s.42 1.2.42 1.78c0 .3-.04.56-.12.8-.18.48-.44.84-.86.94-.34.1-.8-.06-1.14-.4s-.64-.86-.78-1.5c-.18-.62-.12-1.24.02-1.72s.48-.84.82-.94z";break;case"menu-alt":e="M3 4h14v2H3V4zm0 5h14v2H3V9zm0 5h14v2H3v-2z";break;case"menu":e="M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z";break;case"microphone":e="M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z";break;case"migrate":e="M4 6h6V4H2v12.01h8V14H4V6zm2 2h6V5l6 5-6 5v-3H6V8z";break;case"minus":e="M4 9h12v2H4V9z";break;case"money":e="M0 3h20v12h-.75c0-1.79-1.46-3.25-3.25-3.25-1.31 0-2.42.79-2.94 1.91-.25-.1-.52-.16-.81-.16-.98 0-1.8.63-2.11 1.5H0V3zm8.37 3.11c-.06.15-.1.31-.11.47s-.01.33.01.5l.02.08c.01.06.02.14.05.23.02.1.06.2.1.31.03.11.09.22.15.33.07.12.15.22.23.31s.18.17.31.23c.12.06.25.09.4.09.14 0 .27-.03.39-.09s.22-.14.3-.22c.09-.09.16-.2.22-.32.07-.12.12-.23.16-.33s.07-.2.09-.31c.03-.11.04-.18.05-.22s.01-.07.01-.09c.05-.29.03-.56-.04-.82s-.21-.48-.41-.66c-.21-.18-.47-.27-.79-.27-.19 0-.36.03-.52.1-.15.07-.28.16-.38.28-.09.11-.17.25-.24.4zm4.48 6.04v-1.14c0-.33-.1-.66-.29-.98s-.45-.59-.77-.79c-.32-.21-.66-.31-1.02-.31l-1.24.84-1.28-.82c-.37 0-.72.1-1.04.3-.31.2-.56.46-.74.77-.18.32-.27.65-.27.99v1.14l.18.05c.12.04.29.08.51.14.23.05.47.1.74.15.26.05.57.09.91.13.34.03.67.05.99.05.3 0 .63-.02.98-.05.34-.04.64-.08.89-.13.25-.04.5-.1.76-.16l.5-.12c.08-.02.14-.04.19-.06zm3.15.1c1.52 0 2.75 1.23 2.75 2.75s-1.23 2.75-2.75 2.75c-.73 0-1.38-.3-1.87-.77.23-.35.37-.78.37-1.23 0-.77-.39-1.46-.99-1.86.43-.96 1.37-1.64 2.49-1.64zm-5.5 3.5c0-.96.79-1.75 1.75-1.75s1.75.79 1.75 1.75-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75z";break;case"move":e="M19 10l-4 4v-3h-4v4h3l-4 4-4-4h3v-4H5v3l-4-4 4-4v3h4V5H6l4-4 4 4h-3v4h4V6z";break;case"nametag":e="M12 5V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-2-3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 13V7c0-1.1-.9-2-2-2h-3v.33C13 6.25 12.25 7 11.33 7H8.67C7.75 7 7 6.25 7 5.33V5H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-1-6v6H3V9h14zm-8 2c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm3 0c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm-5.96 1.21c.92.48 2.34.79 3.96.79s3.04-.31 3.96-.79c-.21 1-1.89 1.79-3.96 1.79s-3.75-.79-3.96-1.79z";break;case"networking":e="M18 13h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01h-4c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2h-5v2h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01H8c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2H4v2h1c.55 0 1 .45 1 1.01v2.98C6 17.55 5.55 18 5 18H1c-.55 0-1-.45-1-1.01v-2.98C0 13.45.45 13 1 13h1v-2c0-1.1.9-2 2-2h5V7H8c-.55 0-1-.45-1-1.01V3.01C7 2.45 7.45 2 8 2h4c.55 0 1 .45 1 1.01v2.98C13 6.55 12.55 7 12 7h-1v2h5c1.1 0 2 .9 2 2v2z";break;case"no-alt":e="M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z";break;case"no":e="M12.12 10l3.53 3.53-2.12 2.12L10 12.12l-3.54 3.54-2.12-2.12L7.88 10 4.34 6.46l2.12-2.12L10 7.88l3.54-3.53 2.12 2.12z";break;case"palmtree":e="M8.58 2.39c.32 0 .59.05.81.14 1.25.55 1.69 2.24 1.7 3.97.59-.82 2.15-2.29 3.41-2.29s2.94.73 3.53 3.55c-1.13-.65-2.42-.94-3.65-.94-1.26 0-2.45.32-3.29.89.4-.11.86-.16 1.33-.16 1.39 0 2.9.45 3.4 1.31.68 1.16.47 3.38-.76 4.14-.14-2.1-1.69-4.12-3.47-4.12-.44 0-.88.12-1.33.38C8 10.62 7 14.56 7 19H2c0-5.53 4.21-9.65 7.68-10.79-.56-.09-1.17-.15-1.82-.15C6.1 8.06 4.05 8.5 2 10c.76-2.96 2.78-4.1 4.69-4.1 1.25 0 2.45.5 3.2 1.29-.66-2.24-2.49-2.86-4.08-2.86-.8 0-1.55.16-2.05.35.91-1.29 3.31-2.29 4.82-2.29zM13 11.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5.67 1.5 1.5 1.5 1.5-.67 1.5-1.5z";break;case"paperclip":e="M17.05 2.7c1.93 1.94 1.93 5.13 0 7.07L10 16.84c-1.88 1.89-4.91 1.93-6.86.15-.06-.05-.13-.09-.19-.15-1.93-1.94-1.93-5.12 0-7.07l4.94-4.95c.91-.92 2.28-1.1 3.39-.58.3.15.59.33.83.58 1.17 1.17 1.17 3.07 0 4.24l-4.93 4.95c-.39.39-1.02.39-1.41 0s-.39-1.02 0-1.41l4.93-4.95c.39-.39.39-1.02 0-1.41-.38-.39-1.02-.39-1.4 0l-4.94 4.95c-.91.92-1.1 2.29-.57 3.4.14.3.32.59.57.84s.54.43.84.57c1.11.53 2.47.35 3.39-.57l7.05-7.07c1.16-1.17 1.16-3.08 0-4.25-.56-.55-1.28-.83-2-.86-.08.01-.16.01-.24 0-.22-.03-.43-.11-.6-.27-.39-.4-.38-1.05.02-1.45.16-.16.36-.24.56-.28.14-.02.27-.01.4.02 1.19.06 2.36.52 3.27 1.43z";break;case"performance":e="M3.76 17.01h12.48C17.34 15.63 18 13.9 18 12c0-4.41-3.58-8-8-8s-8 3.59-8 8c0 1.9.66 3.63 1.76 5.01zM9 6c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zM4 8c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm4.52 3.4c.84-.83 6.51-3.5 6.51-3.5s-2.66 5.68-3.49 6.51c-.84.84-2.18.84-3.02 0-.83-.83-.83-2.18 0-3.01zM3 13c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1z";break;case"phone":e="M12.06 6l-.21-.2c-.52-.54-.43-.79.08-1.3l2.72-2.75c.81-.82.96-1.21 1.73-.48l.21.2zm.53.45l4.4-4.4c.7.94 2.34 3.47 1.53 5.34-.73 1.67-1.09 1.75-2 3-1.85 2.11-4.18 4.37-6 6.07-1.26.91-1.31 1.33-3 2-1.8.71-4.4-.89-5.38-1.56l4.4-4.4 1.18 1.62c.34.46 1.2-.06 1.8-.66 1.04-1.05 3.18-3.18 4-4.07.59-.59 1.12-1.45.66-1.8zM1.57 16.5l-.21-.21c-.68-.74-.29-.9.52-1.7l2.74-2.72c.51-.49.75-.6 1.27-.11l.2.21z";break;case"playlist-audio":e="M17 3V1H2v2h15zm0 4V5H2v2h15zm-7 4V9H2v2h8zm7.45-1.96l-6 1.12c-.16.02-.19.03-.29.13-.11.09-.16.22-.16.37v4.59c-.29-.13-.66-.14-.93-.14-.54 0-1 .19-1.38.57s-.56.84-.56 1.38c0 .53.18.99.56 1.37s.84.57 1.38.57c.49 0 .92-.16 1.29-.48s.59-.71.65-1.19v-4.95L17 11.27v3.48c-.29-.13-.56-.19-.83-.19-.54 0-1.11.19-1.49.57-.38.37-.57.83-.57 1.37s.19.99.57 1.37.84.57 1.38.57c.53 0 .99-.19 1.37-.57s.57-.83.57-1.37V9.6c0-.16-.05-.3-.16-.41-.11-.12-.24-.17-.39-.15zM8 15v-2H2v2h6zm-2 4v-2H2v2h4z";break;case"playlist-video":e="M17 3V1H2v2h15zm0 4V5H2v2h15zM6 11V9H2v2h4zm2-2h9c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm3 7l3.33-2L11 12v4zm-5-1v-2H2v2h4zm0 4v-2H2v2h4z";break;case"plus-alt":e="M15.8 4.2c3.2 3.21 3.2 8.39 0 11.6-3.21 3.2-8.39 3.2-11.6 0C1 12.59 1 7.41 4.2 4.2 7.41 1 12.59 1 15.8 4.2zm-4.3 11.3v-4h4v-3h-4v-4h-3v4h-4v3h4v4h3z";break;case"plus-light":e="M17 9v2h-6v6H9v-6H3V9h6V3h2v6h6z";break;case"plus":e="M17 7v3h-5v5H9v-5H4V7h5V2h3v5h5z";break;case"portfolio":e="M4 5H.78c-.37 0-.74.32-.69.84l1.56 9.99S3.5 8.47 3.86 6.7c.11-.53.61-.7.98-.7H10s-.7-2.08-.77-2.31C9.11 3.25 8.89 3 8.45 3H5.14c-.36 0-.7.23-.8.64C4.25 4.04 4 5 4 5zm4.88 0h-4s.42-1 .87-1h2.13c.48 0 1 1 1 1zM2.67 16.25c-.31.47-.76.75-1.26.75h15.73c.54 0 .92-.31 1.03-.83.44-2.19 1.68-8.44 1.68-8.44.07-.5-.3-.73-.62-.73H16V5.53c0-.16-.26-.53-.66-.53h-3.76c-.52 0-.87.58-.87.58L10 7H5.59c-.32 0-.63.19-.69.5 0 0-1.59 6.7-1.72 7.33-.07.37-.22.99-.51 1.42zM15.38 7H11s.58-1 1.13-1h2.29c.71 0 .96 1 .96 1z";break;case"post-status":e="M14 6c0 1.86-1.28 3.41-3 3.86V16c0 1-2 2-2 2V9.86c-1.72-.45-3-2-3-3.86 0-2.21 1.79-4 4-4s4 1.79 4 4zM8 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z";break;case"pressthis":e="M14.76 1C16.55 1 18 2.46 18 4.25c0 1.78-1.45 3.24-3.24 3.24-.23 0-.47-.03-.7-.08L13 8.47V19H2V4h9.54c.13-2 1.52-3 3.22-3zm0 5.49C16 6.49 17 5.48 17 4.25 17 3.01 16 2 14.76 2s-2.24 1.01-2.24 2.25c0 .37.1.72.27 1.03L9.57 8.5c-.28.28-1.77 2.22-1.5 2.49.02.03.06.04.1.04.49 0 2.14-1.28 2.39-1.53l3.24-3.24c.29.14.61.23.96.23z";break;case"products":e="M17 8h1v11H2V8h1V6c0-2.76 2.24-5 5-5 .71 0 1.39.15 2 .42.61-.27 1.29-.42 2-.42 2.76 0 5 2.24 5 5v2zM5 6v2h2V6c0-1.13.39-2.16 1.02-3H8C6.35 3 5 4.35 5 6zm10 2V6c0-1.65-1.35-3-3-3h-.02c.63.84 1.02 1.87 1.02 3v2h2zm-5-4.22C9.39 4.33 9 5.12 9 6v2h2V6c0-.88-.39-1.67-1-2.22z";break;case"randomize":e="M18 6.01L14 9V7h-4l-5 8H2v-2h2l5-8h5V3zM2 5h3l1.15 2.17-1.12 1.8L4 7H2V5zm16 9.01L14 17v-2H9l-1.15-2.17 1.12-1.8L10 13h4v-2z";break;case"redo":e="M8 5h5V2l6 4-6 4V7H8c-2.2 0-4 1.8-4 4s1.8 4 4 4h5v2H8c-3.3 0-6-2.7-6-6s2.7-6 6-6z";break;case"rest-api":e="M3 4h2v12H3z";break;case"rss":e="M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z";break;case"saved":e="M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2";break;case"schedule":e="M2 2h16v4H2V2zm0 10V8h4v4H2zm6-2V8h4v2H8zm6 3V8h4v5h-4zm-6 5v-6h4v6H8zm-6 0v-4h4v4H2zm12 0v-3h4v3h-4z";break;case"screenoptions":e="M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z";break;case"search":e="M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z";break;case"share-alt":e="M16.22 5.8c.47.69.29 1.62-.4 2.08-.69.47-1.62.29-2.08-.4-.16-.24-.35-.46-.55-.67-.21-.2-.43-.39-.67-.55s-.5-.3-.77-.41c-.27-.12-.55-.21-.84-.26-.59-.13-1.23-.13-1.82-.01-.29.06-.57.15-.84.27-.27.11-.53.25-.77.41s-.46.35-.66.55c-.21.21-.4.43-.56.67s-.3.5-.41.76c-.01.02-.01.03-.01.04-.1.24-.17.48-.23.72H1V6h2.66c.04-.07.07-.13.12-.2.27-.4.57-.77.91-1.11s.72-.65 1.11-.91c.4-.27.83-.51 1.28-.7s.93-.34 1.41-.43c.99-.21 2.03-.21 3.02 0 .48.09.96.24 1.41.43s.88.43 1.28.7c.39.26.77.57 1.11.91s.64.71.91 1.11zM12.5 10c0-1.38-1.12-2.5-2.5-2.5S7.5 8.62 7.5 10s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5zm-8.72 4.2c-.47-.69-.29-1.62.4-2.09.69-.46 1.62-.28 2.08.41.16.24.35.46.55.67.21.2.43.39.67.55s.5.3.77.41c.27.12.55.2.84.26.59.13 1.23.12 1.82 0 .29-.06.57-.14.84-.26.27-.11.53-.25.77-.41s.46-.35.66-.55c.21-.21.4-.44.56-.67.16-.25.3-.5.41-.76.01-.02.01-.03.01-.04.1-.24.17-.48.23-.72H19v3h-2.66c-.04.06-.07.13-.12.2-.27.4-.57.77-.91 1.11s-.72.65-1.11.91c-.4.27-.83.51-1.28.7s-.93.33-1.41.43c-.99.21-2.03.21-3.02 0-.48-.1-.96-.24-1.41-.43s-.88-.43-1.28-.7c-.39-.26-.77-.57-1.11-.91s-.64-.71-.91-1.11z";break;case"share-alt2":e="M18 8l-5 4V9.01c-2.58.06-4.88.45-7 2.99.29-3.57 2.66-5.66 7-5.94V3zM4 14h11v-2l2-1.6V16H2V5h9.43c-1.83.32-3.31 1-4.41 2H4v7z";break;case"share":e="M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z";break;case"shield-alt":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2z";break;case"shield":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z";break;case"shortcode":e="M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4";break;case"slides":e="M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z";break;case"smartphone":e="M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z";break;case"smiley":e="M7 5.2c1.1 0 2 .89 2 2 0 .37-.11.71-.28 1C8.72 8.2 8 8 7 8s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.9-2 2-2zm6 0c1.11 0 2 .89 2 2 0 .37-.11.71-.28 1 0 0-.72-.2-1.72-.2s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.89-2 2-2zm-3 13.7c3.72 0 7.03-2.36 8.23-5.88l-1.32-.46C15.9 15.52 13.12 17.5 10 17.5s-5.9-1.98-6.91-4.94l-1.32.46c1.2 3.52 4.51 5.88 8.23 5.88z";break;case"sort":e="M11 7H1l5 7zm-2 7h10l-5-7z";break;case"sos":e="M18 10c0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8 8-3.58 8-8zM7.23 3.57L8.72 7.3c-.62.29-1.13.8-1.42 1.42L3.57 7.23c.71-1.64 2.02-2.95 3.66-3.66zm9.2 3.66L12.7 8.72c-.29-.62-.8-1.13-1.42-1.42l1.49-3.73c1.64.71 2.95 2.02 3.66 3.66zM10 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-6.43.77l3.73-1.49c.29.62.8 1.13 1.42 1.42l-1.49 3.73c-1.64-.71-2.95-2.02-3.66-3.66zm9.2 3.66l-1.49-3.73c.62-.29 1.13-.8 1.42-1.42l3.73 1.49c-.71 1.64-2.02 2.95-3.66 3.66z";break;case"star-empty":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z";break;case"star-filled":e="M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z";break;case"star-half":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z";break;case"sticky":e="M5 3.61V1.04l8.99-.01-.01 2.58c-1.22.26-2.16 1.35-2.16 2.67v.5c.01 1.31.93 2.4 2.17 2.66l-.01 2.58h-3.41l-.01 2.57c0 .6-.47 4.41-1.06 4.41-.6 0-1.08-3.81-1.08-4.41v-2.56L5 12.02l.01-2.58c1.23-.25 2.15-1.35 2.15-2.66v-.5c0-1.31-.92-2.41-2.16-2.67z";break;case"store":e="M1 10c.41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.51.43.54 0 1.08-.14 1.49-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.63-.46 1-1.17 1-2V7l-3-7H4L0 7v1c0 .83.37 1.54 1 2zm2 8.99h5v-5h4v5h5v-7c-.37-.05-.72-.22-1-.43-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.49.44-.55 0-1.1-.14-1.51-.44-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.5.44-.54 0-1.09-.14-1.5-.44-.63-.45-1-.73-1-1.57 0 .84-.38 1.12-1 1.57-.29.21-.63.38-1 .44v6.99z";break;case"table-col-after":e="M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z";break;case"table-col-before":e="M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z";break;case"table-col-delete":e="M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z";break;case"table-row-after":e="M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z";break;case"table-row-before":e="M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z";break;case"table-row-delete":e="M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z";break;case"tablet":e="M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z";break;case"tag":e="M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z";break;case"tagcloud":e="M11 3v4H1V3h10zm8 0v4h-7V3h7zM7 8v3H1V8h6zm12 0v3H8V8h11zM9 12v2H1v-2h8zm10 0v2h-9v-2h9zM6 15v1H1v-1h5zm5 0v1H7v-1h4zm3 0v1h-2v-1h2zm5 0v1h-4v-1h4z";break;case"testimonial":e="M4 3h12c.55 0 1.02.2 1.41.59S18 4.45 18 5v7c0 .55-.2 1.02-.59 1.41S16.55 14 16 14h-1l-5 5v-5H4c-.55 0-1.02-.2-1.41-.59S2 12.55 2 12V5c0-.55.2-1.02.59-1.41S3.45 3 4 3zm11 2H4v1h11V5zm1 3H4v1h12V8zm-3 3H4v1h9v-1z";break;case"text":e="M18 3v2H2V3h16zm-6 4v2H2V7h10zm6 0v2h-4V7h4zM8 11v2H2v-2h6zm10 0v2h-8v-2h8zm-4 4v2H2v-2h12z";break;case"thumbs-down":e="M7.28 18c-.15.02-.26-.02-.41-.07-.56-.19-.83-.79-.66-1.35.17-.55 1-3.04 1-3.58 0-.53-.75-1-1.35-1h-3c-.6 0-1-.4-1-1s2-7 2-7c.17-.39.55-1 1-1H14v9h-2.14c-.41.41-3.3 4.71-3.58 5.27-.21.41-.6.68-1 .73zM18 12h-2V3h2v9z";break;case"thumbs-up":e="M12.72 2c.15-.02.26.02.41.07.56.19.83.79.66 1.35-.17.55-1 3.04-1 3.58 0 .53.75 1 1.35 1h3c.6 0 1 .4 1 1s-2 7-2 7c-.17.39-.55 1-1 1H6V8h2.14c.41-.41 3.3-4.71 3.58-5.27.21-.41.6-.68 1-.73zM2 8h2v9H2V8z";break;case"tickets-alt":e="M20 6.38L18.99 9.2v-.01c-.52-.19-1.03-.16-1.53.08s-.85.62-1.04 1.14-.16 1.03.07 1.53c.24.5.62.84 1.15 1.03v.01l-1.01 2.82-15.06-5.38.99-2.79c.52.19 1.03.16 1.53-.08.5-.23.84-.61 1.03-1.13s.16-1.03-.08-1.53c-.23-.49-.61-.83-1.13-1.02L4.93 1zm-4.97 5.69l1.37-3.76c.12-.31.1-.65-.04-.95s-.39-.53-.7-.65L8.14 3.98c-.64-.23-1.37.12-1.6.74L5.17 8.48c-.24.65.1 1.37.74 1.6l7.52 2.74c.14.05.28.08.43.08.52 0 1-.33 1.17-.83zM7.97 4.45l7.51 2.73c.19.07.34.21.43.39.08.18.09.38.02.57l-1.37 3.76c-.13.38-.58.59-.96.45L6.09 9.61c-.39-.14-.59-.57-.45-.96l1.37-3.76c.1-.29.39-.49.7-.49.09 0 .17.02.26.05zm6.82 12.14c.35.27.75.41 1.2.41H16v3H0v-2.96c.55 0 1.03-.2 1.41-.59.39-.38.59-.86.59-1.41s-.2-1.02-.59-1.41-.86-.59-1.41-.59V10h1.05l-.28.8 2.87 1.02c-.51.16-.89.62-.89 1.18v4c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25v-1.75l.83.3c.12.43.36.78.71 1.04zM3.25 17v-4c0-.41.34-.75.75-.75h.83l7.92 2.83V17c0 .41-.34.75-.75.75H4c-.41 0-.75-.34-.75-.75z";break;case"tickets":e="M20 5.38L18.99 8.2v-.01c-1.04-.37-2.19.18-2.57 1.22-.37 1.04.17 2.19 1.22 2.56v.01l-1.01 2.82L1.57 9.42l.99-2.79c1.04.38 2.19-.17 2.56-1.21s-.17-2.18-1.21-2.55L4.93 0zm-5.45 3.37c.74-2.08-.34-4.37-2.42-5.12-2.08-.74-4.37.35-5.11 2.42-.74 2.08.34 4.38 2.42 5.12 2.07.74 4.37-.35 5.11-2.42zm-2.56-4.74c.89.32 1.57.94 1.97 1.71-.01-.01-.02-.01-.04-.02-.33-.12-.67.09-.78.4-.1.28-.03.57.05.91.04.27.09.62-.06 1.04-.1.29-.33.58-.65 1l-.74 1.01.08-4.08.4.11c.19.04.26-.24.08-.29 0 0-.57-.15-.92-.28-.34-.12-.88-.36-.88-.36-.18-.08-.3.19-.12.27 0 0 .16.08.34.16l.01 1.63L9.2 9.18l.08-4.11c.2.06.4.11.4.11.19.04.26-.23.07-.29 0 0-.56-.15-.91-.28-.07-.02-.14-.05-.22-.08.93-.7 2.19-.94 3.37-.52zM7.4 6.19c.17-.49.44-.92.78-1.27l.04 5c-.94-.95-1.3-2.39-.82-3.73zm4.04 4.75l2.1-2.63c.37-.41.57-.77.69-1.12.05-.12.08-.24.11-.35.09.57.04 1.18-.17 1.77-.45 1.25-1.51 2.1-2.73 2.33zm-.7-3.22l.02 3.22c0 .02 0 .04.01.06-.4 0-.8-.07-1.2-.21-.33-.12-.63-.28-.9-.48zm1.24 6.08l2.1.75c.24.84 1 1.45 1.91 1.45H16v3H0v-2.96c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2V9h1.05l-.28.8 4.28 1.52C4.4 12.03 4 12.97 4 14c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.07-.02-.13-.02-.2zm-6.53-2.33l1.48.53c-.14.04-.15.27.03.28 0 0 .18.02.37.03l.56 1.54-.78 2.36-1.31-3.9c.21-.01.41-.03.41-.03.19-.02.17-.31-.02-.3 0 0-.59.05-.96.05-.07 0-.15 0-.23-.01.13-.2.28-.38.45-.55zM4.4 14c0-.52.12-1.02.32-1.46l1.71 4.7C5.23 16.65 4.4 15.42 4.4 14zm4.19-1.41l1.72.62c.07.17.12.37.12.61 0 .31-.12.66-.28 1.16l-.35 1.2zM11.6 14c0 1.33-.72 2.49-1.79 3.11l1.1-3.18c.06-.17.1-.31.14-.46l.52.19c.02.11.03.22.03.34zm-4.62 3.45l1.08-3.14 1.11 3.03c.01.02.01.04.02.05-.37.13-.77.21-1.19.21-.35 0-.69-.06-1.02-.15z";break;case"tide":e="M17 7.2V3H3v7.1c2.6-.5 4.5-1.5 6.4-2.6.2-.2.4-.3.6-.5v3c-1.9 1.1-4 2.2-7 2.8V17h14V9.9c-2.6.5-4.4 1.5-6.2 2.6-.3.1-.5.3-.8.4V10c2-1.1 4-2.2 7-2.8z";break;case"translation":e="M11 7H9.49c-.63 0-1.25.3-1.59.7L7 5H4.13l-2.39 7h1.69l.74-2H7v4H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v2zM6.51 9H4.49l1-2.93zM10 8h7c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-7c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm7.25 5v-1.08h-3.17V9.75h-1.16v2.17H9.75V13h1.28c.11.85.56 1.85 1.28 2.62-.87.36-1.89.62-2.31.62-.01.02.22.97.2 1.46.84 0 2.21-.5 3.28-1.15 1.09.65 2.48 1.15 3.34 1.15-.02-.49.2-1.44.2-1.46-.43 0-1.49-.27-2.38-.63.7-.77 1.14-1.77 1.25-2.61h1.36zm-3.81 1.93c-.5-.46-.85-1.13-1.01-1.93h2.09c-.17.8-.51 1.47-1 1.93l-.04.03s-.03-.02-.04-.03z";break;case"trash":e="M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z";break;case"twitter":e="M18.94 4.46c-.49.73-1.11 1.38-1.83 1.9.01.15.01.31.01.47 0 4.85-3.69 10.44-10.43 10.44-2.07 0-4-.61-5.63-1.65.29.03.58.05.88.05 1.72 0 3.3-.59 4.55-1.57-1.6-.03-2.95-1.09-3.42-2.55.22.04.45.07.69.07.33 0 .66-.05.96-.13-1.67-.34-2.94-1.82-2.94-3.6v-.04c.5.27 1.06.44 1.66.46-.98-.66-1.63-1.78-1.63-3.06 0-.67.18-1.3.5-1.84 1.81 2.22 4.51 3.68 7.56 3.83-.06-.27-.1-.55-.1-.84 0-2.02 1.65-3.66 3.67-3.66 1.06 0 2.01.44 2.68 1.16.83-.17 1.62-.47 2.33-.89-.28.85-.86 1.57-1.62 2.02.75-.08 1.45-.28 2.11-.57z";break;case"undo":e="M12 5H7V2L1 6l6 4V7h5c2.2 0 4 1.8 4 4s-1.8 4-4 4H7v2h5c3.3 0 6-2.7 6-6s-2.7-6-6-6z";break;case"universal-access-alt":e="M19 10c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9 9-4.03 9-9zm-9-7.4c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"universal-access":e="M10 2.6c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"unlock":e="M12 9V6c0-1.1-.9-2-2-2s-2 .9-2 2H6c0-2.21 1.79-4 4-4s4 1.79 4 4v3h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h7zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"update":e="M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z";break;case"upload":e="M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z";break;case"vault":e="M18 17V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-1 0H3V3h14v14zM4.75 4h10.5c.41 0 .75.34.75.75V6h-1v3h1v2h-1v3h1v1.25c0 .41-.34.75-.75.75H4.75c-.41 0-.75-.34-.75-.75V4.75c0-.41.34-.75.75-.75zM13 10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM9 7l.77 1.15C10.49 8.46 11 9.17 11 10c0 1.1-.9 2-2 2s-2-.9-2-2c0-.83.51-1.54 1.23-1.85z";break;case"video-alt":e="M8 5c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1 0 .57.49 1 1 1h5c.55 0 1-.45 1-1zm6 5l4-4v10l-4-4v-2zm-1 4V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8c.55 0 1-.45 1-1z";break;case"video-alt2":e="M12 13V7c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2zm1-2.5l6 4.5V5l-6 4.5v1z";break;case"video-alt3":e="M19 15V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2zM8 14V6l6 4z";break;case"visibility":e="M19.7 9.4C17.7 6 14 3.9 10 3.9S2.3 6 .3 9.4L0 10l.3.6c2 3.4 5.7 5.5 9.7 5.5s7.7-2.1 9.7-5.5l.3-.6-.3-.6zM10 14.1c-3.1 0-6-1.6-7.7-4.1C3.6 8 5.7 6.6 8 6.1c-.9.6-1.5 1.7-1.5 2.9 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.2-.6-2.3-1.5-2.9 2.3.5 4.4 1.9 5.7 3.9-1.7 2.5-4.6 4.1-7.7 4.1z";break;case"warning":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z";break;case"welcome-add-page":e="M17 7V4h-2V2h-3v1H3v15h11V9h1V7h2zm-1-2v1h-2v2h-1V6h-2V5h2V3h1v2h2z";break;case"welcome-comments":e="M5 2h10c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm8.5 8.5L11 8l2.5-2.5-1-1L10 7 7.5 4.5l-1 1L9 8l-2.5 2.5 1 1L10 9l2.5 2.5z";break;case"welcome-learn-more":e="M10 10L2.54 7.02 3 18H1l.48-11.41L0 6l10-4 10 4zm0-5c-.55 0-1 .22-1 .5s.45.5 1 .5 1-.22 1-.5-.45-.5-1-.5zm0 6l5.57-2.23c.71.94 1.2 2.07 1.36 3.3-.3-.04-.61-.07-.93-.07-2.55 0-4.78 1.37-6 3.41C8.78 13.37 6.55 12 4 12c-.32 0-.63.03-.93.07.16-1.23.65-2.36 1.36-3.3z";break;case"welcome-view-site":e="M18 14V4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-8-8c2.3 0 4.4 1.14 6 3-1.6 1.86-3.7 3-6 3s-4.4-1.14-6-3c1.6-1.86 3.7-3 6-3zm2 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm2 8h3v1H3v-1h3v-1h8v1z";break;case"welcome-widgets-menus":e="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 14h4v1H6v-1z";break;case"welcome-write-blog":e="M16.89 1.2l1.41 1.41c.39.39.39 1.02 0 1.41L14 8.33V18H3V3h10.67l1.8-1.8c.4-.39 1.03-.4 1.42 0zm-5.66 8.48l5.37-5.36-1.42-1.42-5.36 5.37-.71 2.12z";break;case"wordpress-alt":e="M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z";break;case"wordpress":e="M20 10c0-5.52-4.48-10-10-10S0 4.48 0 10s4.48 10 10 10 10-4.48 10-10zM10 1.01c4.97 0 8.99 4.02 8.99 8.99s-4.02 8.99-8.99 8.99S1.01 14.97 1.01 10 5.03 1.01 10 1.01zM8.01 14.82L4.96 6.61c.49-.03 1.05-.08 1.05-.08.43-.05.38-1.01-.06-.99 0 0-1.29.1-2.13.1-.15 0-.33 0-.52-.01 1.44-2.17 3.9-3.6 6.7-3.6 2.09 0 3.99.79 5.41 2.09-.6-.08-1.45.35-1.45 1.42 0 .66.38 1.22.79 1.88.31.54.5 1.22.5 2.21 0 1.34-1.27 4.48-1.27 4.48l-2.71-7.5c.48-.03.75-.16.75-.16.43-.05.38-1.1-.05-1.08 0 0-1.3.11-2.14.11-.78 0-2.11-.11-2.11-.11-.43-.02-.48 1.06-.05 1.08l.84.08 1.12 3.04zm6.02 2.15L16.64 10s.67-1.69.39-3.81c.63 1.14.94 2.42.94 3.81 0 2.96-1.56 5.58-3.94 6.97zM2.68 6.77L6.5 17.25c-2.67-1.3-4.47-4.08-4.47-7.25 0-1.16.2-2.23.65-3.23zm7.45 4.53l2.29 6.25c-.75.27-1.57.42-2.42.42-.72 0-1.41-.11-2.06-.3z";break;case"yes-alt":e="M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-.615 12.66h-1.34l-3.24-4.54 1.34-1.25 2.57 2.4 5.14-5.93 1.34.94-5.81 8.38z";break;case"yes":e="M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z"}if(!e)return null;var l=function(e,t){return["dashicon","dashicons-"+e,t].filter(Boolean).join(" ")}(n,i);return Object(o.createElement)(u,Object(T.a)({"aria-hidden":!0,role:"img",focusable:"false",className:l,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 20 20"},c),Object(o.createElement)(s,{d:e}))}}]),t}(o.Component);var ee=function(e){var t,n=e.icon,a=void 0===n?null:n,i=e.size,s=Object(P.a)(e,["icon","size"]);if("string"==typeof a)return t=i||20,Object(o.createElement)(J,Object(T.a)({icon:a,size:t},s));if(t=i||24,"function"==typeof a)return a.prototype instanceof o.Component?Object(o.createElement)(a,Object(r.a)({size:t},s)):a(Object(r.a)({size:t},s));if(a&&("svg"===a.type||a.type===u)){var c=Object(r.a)({width:t,height:t},a.props,s);return Object(o.createElement)(u,c)}return Object(o.isValidElement)(a)?Object(o.cloneElement)(a,Object(r.a)({size:t},s)):a};var te=Object(o.forwardRef)((function(e,t){var n=e.icon,r=e.children,a=e.label,i=e.className,s=e.tooltip,c=e.shortcut,l=e.labelPosition,u=Object(P.a)(e,["icon","children","label","className","tooltip","shortcut","labelPosition"]),d=p()("components-icon-button",i,{"has-text":r}),h=s||a,f=!u.disabled&&(s||c||!!a&&(!r||Object(w.isArray)(r)&&!r.length)&&!1!==s),b=Object(o.createElement)(E,Object(T.a)({"aria-label":a},u,{className:d,ref:t}),Object(w.isString)(n)?Object(o.createElement)(ee,{icon:n}):n,r);return f&&(b=Object(o.createElement)(Q,{text:h,shortcut:c,position:l},b)),b}));var ne=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,r=e.className,a=void 0===r?"lockscroll":r,i=0,s=0;function c(e){var t=n.scrollingElement||n.body;e&&(s=t.scrollTop);var r=e?"add":"remove";t.classList[r](a),n.documentElement.classList[r](a),e||(t.scrollTop=s)}return function(e){function t(){return Object(v.a)(this,t),Object(y.a)(this,Object(m.a)(t).apply(this,arguments))}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentDidMount",value:function(){0===i&&c(!0),++i}},{key:"componentWillUnmount",value:function(){1===i&&c(!1),--i}},{key:"render",value:function(){return null}}]),t}(o.Component)}(),re=function(e){function t(e){var n;return Object(v.a)(this,t),(n=Object(y.a)(this,Object(m.a)(t).call(this,e))).stopEventPropagationOutsideContainer=n.stopEventPropagationOutsideContainer.bind(Object(g.a)(n)),n}return Object(k.a)(t,e),Object(O.a)(t,[{key:"stopEventPropagationOutsideContainer",value:function(e){e.stopPropagation()}},{key:"render",value:function(){var e=this.props,t=e.children,n=Object(P.a)(e,["children"]);return Object(o.createElement)("div",Object(T.a)({},n,{onMouseDown:this.stopEventPropagationOutsideContainer}),t)}}]),t}(o.Component),oe=Object(o.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){},subscribe:function(){}}),ae=oe.Provider,ie=oe.Consumer,se=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).registerSlot=e.registerSlot.bind(Object(g.a)(e)),e.registerFill=e.registerFill.bind(Object(g.a)(e)),e.unregisterSlot=e.unregisterSlot.bind(Object(g.a)(e)),e.unregisterFill=e.unregisterFill.bind(Object(g.a)(e)),e.getSlot=e.getSlot.bind(Object(g.a)(e)),e.getFills=e.getFills.bind(Object(g.a)(e)),e.subscribe=e.subscribe.bind(Object(g.a)(e)),e.slots={},e.fills={},e.listeners=[],e.contextValue={registerSlot:e.registerSlot,unregisterSlot:e.unregisterSlot,registerFill:e.registerFill,unregisterFill:e.unregisterFill,getSlot:e.getSlot,getFills:e.getFills,subscribe:e.subscribe},e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"registerSlot",value:function(e,t){var n=this.slots[e];this.slots[e]=t,this.triggerListeners(),this.forceUpdateSlot(e),n&&n.forceUpdate()}},{key:"registerFill",value:function(e,t){this.fills[e]=[].concat(Object(_.a)(this.fills[e]||[]),[t]),this.forceUpdateSlot(e)}},{key:"unregisterSlot",value:function(e,t){this.slots[e]===t&&(delete this.slots[e],this.triggerListeners())}},{key:"unregisterFill",value:function(e,t){this.fills[e]=Object(w.without)(this.fills[e],t),this.resetFillOccurrence(e),this.forceUpdateSlot(e)}},{key:"getSlot",value:function(e){return this.slots[e]}},{key:"getFills",value:function(e,t){return this.slots[e]!==t?[]:Object(w.sortBy)(this.fills[e],"occurrence")}},{key:"resetFillOccurrence",value:function(e){Object(w.forEach)(this.fills[e],(function(e){e.occurrence=void 0}))}},{key:"forceUpdateSlot",value:function(e){var t=this.getSlot(e);t&&t.forceUpdate()}},{key:"triggerListeners",value:function(){this.listeners.forEach((function(e){return e()}))}},{key:"subscribe",value:function(e){var t=this;return this.listeners.push(e),function(){t.listeners=Object(w.without)(t.listeners,e)}}},{key:"render",value:function(){return Object(o.createElement)(ae,{value:this.contextValue},this.props.children)}}]),t}(o.Component),ce=function(e){var t=Object(o.useContext)(oe),n=t.getSlot,r=t.subscribe,a=Object(o.useState)(n(e)),i=Object(h.a)(a,2),s=i[0],c=i[1];return Object(o.useEffect)((function(){return c(n(e)),r((function(){c(n(e))}))}),[e]),s},le=se,ue=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).bindNode=e.bindNode.bind(Object(g.a)(e)),e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentDidMount",value:function(){(0,this.props.registerSlot)(this.props.name,this)}},{key:"componentWillUnmount",value:function(){(0,this.props.unregisterSlot)(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,r=t.unregisterSlot,o=t.registerSlot;e.name!==n&&(r(e.name),o(n,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.name,r=e.bubblesVirtually,a=void 0!==r&&r,i=e.fillProps,s=void 0===i?{}:i,c=e.getFills,l=e.className;if(a)return Object(o.createElement)("div",{ref:this.bindNode,className:l});var u=Object(w.map)(c(n,this),(function(e){var t=e.occurrence,n=Object(w.isFunction)(e.children)?e.children(s):e.children;return o.Children.map(n,(function(e,n){if(!e||Object(w.isString)(e))return e;var r="".concat(t,"---").concat(e.key||n);return Object(o.cloneElement)(e,{key:r})}))})).filter(Object(w.negate)(o.isEmptyElement));return Object(o.createElement)(o.Fragment,null,Object(w.isFunction)(t)?t(u):u)}}]),t}(o.Component),de=function(e){return Object(o.createElement)(ie,null,(function(t){var n=t.registerSlot,r=t.unregisterSlot,a=t.getFills;return Object(o.createElement)(ue,Object(T.a)({},e,{registerSlot:n,unregisterSlot:r,getFills:a}))}))},he=0;function fe(e){var t=e.name,n=e.children,r=e.registerFill,a=e.unregisterFill,i=ce(t),s=Object(o.useRef)({name:t,children:n});return s.current.occurrence||(s.current.occurrence=++he),Object(o.useLayoutEffect)((function(){return r(t,s.current),function(){return a(t,s.current)}}),[]),Object(o.useLayoutEffect)((function(){s.current.children=n,i&&!i.props.bubblesVirtually&&i.forceUpdate()}),[n]),Object(o.useLayoutEffect)((function(){t!==s.current.name&&(a(s.current.name,s.current),s.current.name=t,r(t,s.current))}),[t]),i&&i.node&&i.props.bubblesVirtually?(Object(w.isFunction)(n)&&(n=n(i.props.fillProps)),Object(o.createPortal)(n,i.node)):null}var pe=function(e){return Object(o.createElement)(ie,null,(function(t){var n=t.registerFill,r=t.unregisterFill;return Object(o.createElement)(fe,Object(T.a)({},e,{registerFill:n,unregisterFill:r}))}))};function be(e){var t=function(t){return Object(o.createElement)(pe,Object(T.a)({name:e},t))};t.displayName=e+"Fill";var n=function(t){return Object(o.createElement)(de,Object(T.a)({name:e},t))};return n.displayName=e+"Slot",{Fill:t,Slot:n}}var ve=$(W((function(e){return e.children})));function ye(e,t){Object(o.useEffect)((function(){var n,r=function(r){window.cancelAnimationFrame(n),t&&r&&"scroll"===r.type&&t.current.contains(r.target)||(n=window.requestAnimationFrame(e))};return window.addEventListener("resize",r),window.addEventListener("scroll",r,!0),function(){window.removeEventListener("resize",r),window.removeEventListener("scroll",r,!0)}}),[])}var me=function(e){var t=e.headerTitle,n=e.onClose,r=e.onKeyDown,a=e.children,i=e.className,s=e.noArrow,c=void 0!==s&&s,l=e.position,u=void 0===l?"top":l,d=(e.range,e.focusOnMount),f=void 0===d?"firstElement":d,v=e.anchorRect,y=e.getAnchorRect,m=e.expandOnMobile,g=e.animate,O=void 0===g||g,k=e.onClickOutside,_=e.onFocusOutside,w=Object(P.a)(e,["headerTitle","onClose","onKeyDown","children","className","noArrow","position","range","focusOnMount","anchorRect","getAnchorRect","expandOnMobile","animate","onClickOutside","onFocusOutside"]),S=Object(o.useRef)(null),M=Object(o.useRef)(null),j=Object(o.useState)(!1),E=Object(h.a)(j,2),z=E[0],x=E[1],A=function(e,t,n,r){var a=Object(o.useState)(null),i=Object(h.a)(a,2),s=i[0],c=i[1],l=function(){if(e.current){var t;if(n)t=n;else if(r)t=r(e.current);else{var o=e.current.parentNode.getBoundingClientRect(),a=window.getComputedStyle(e.current.parentNode),i=a.paddingTop,l=a.paddingBottom,u=parseInt(i,10),d=parseInt(l,10);t={x:o.left,y:o.top+u,width:o.width,height:o.height-u-d,left:o.left,right:o.right,top:o.top+u,bottom:o.bottom-d}}!I()(t,s)&&c(t)}};return Object(o.useEffect)(l,[n,r]),Object(o.useEffect)((function(){if(!n){var e=setInterval(l,500);return function(){return clearInterval(e)}}}),[n]),ye(l,t),s}(S,M,v,y),H=function(e){var t=Object(o.useState)(null),n=Object(h.a)(t,2),r=n[0],a=n[1];return Object(o.useEffect)((function(){var t=e.current.getBoundingClientRect();a({width:t.width,height:t.height})}),[]),r}(M);Object(o.useEffect)((function(){H&&x(!0)}),[H]);var R=function(e,t,n,r,a){var i=Object(o.useState)({popoverLeft:null,popoverTop:null,yAxis:"top",xAxis:"center",contentHeight:null,contentWidth:null,isMobile:!1}),s=Object(h.a)(i,2),c=s[0],l=s[1],u=function(){if(e&&t){var o=L(e,t,n,r);c.yAxis===o.yAxis&&c.xAxis===o.xAxis&&c.popoverLeft===o.popoverLeft&&c.popoverTop===o.popoverTop&&c.contentHeight===o.contentHeight&&c.contentWidth===o.contentWidth&&c.isMobile===o.isMobile||l(o)}};return Object(o.useEffect)(u,[e,t]),ye(u,a),c}(A,H,u,m,M);!function(e,t){Object(o.useEffect)((function(){var n=setTimeout((function(){if(e&&t.current)if("firstElement"!==e)"container"===e&&t.current.focus();else{var n=C.focus.tabbable.find(t.current)[0];n?n.focus():t.current.focus()}}),0);return function(){return clearTimeout(n)}}),[])}(f,M);var F=function(e){e.keyCode===D.ESCAPE&&n&&(e.stopPropagation(),n()),r&&r(e)};var V={top:"bottom",bottom:"top"}[R.yAxis]||"middle",B={left:"right",right:"left"}[R.xAxis]||"center",K=p()("components-popover",i,"is-"+R.yAxis,"is-"+R.xAxis,{"is-mobile":R.isMobile,"is-without-arrow":c||"center"===R.xAxis&&"middle"===R.yAxis}),W=Object(o.createElement)(Y,{onFocusOutside:function(e){if(_)_(e);else if(k){var t;try{t=new window.MouseEvent("click")}catch(e){(t=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)}Object.defineProperty(t,"target",{get:function(){return e.relatedTarget}}),N()("Popover onClickOutside prop",{alternative:"onFocusOutside"}),k(t)}else n&&n()}},Object(o.createElement)(b,{type:O&&z?"appear":null,options:{origin:V+" "+B}},(function(e){var r=e.className;return Object(o.createElement)(re,Object(T.a)({className:p()(K,r),style:{top:!R.isMobile&&R.popoverTop?R.popoverTop+"px":void 0,left:!R.isMobile&&R.popoverLeft?R.popoverLeft+"px":void 0,visibility:H?void 0:"hidden"}},w,{onKeyDown:F}),R.isMobile&&Object(o.createElement)("div",{className:"components-popover__header"},Object(o.createElement)("span",{className:"components-popover__header-title"},t),Object(o.createElement)(te,{className:"components-popover__close",icon:"no-alt",onClick:n})),Object(o.createElement)("div",{ref:M,className:"components-popover__content",style:{maxHeight:!R.isMobile&&R.contentHeight?R.contentHeight+"px":void 0,maxWidth:!R.isMobile&&R.contentWidth?R.contentWidth+"px":void 0},tabIndex:"-1"},a))})));return f&&(W=Object(o.createElement)(ve,null,W)),Object(o.createElement)(ie,null,(function(e){var t=e.getSlot;return t&&t("Popover")&&(W=Object(o.createElement)(pe,{name:"Popover"},W)),Object(o.createElement)("span",{ref:S},W,R.isMobile&&m&&Object(o.createElement)(ne,null))}))};me.Slot=function(){return Object(o.createElement)(de,{bubblesVirtually:!0,name:"Popover"})};var ge=me,Oe=n(45),ke=Object(M.createHigherOrderComponent)((function(e){return function(t){function n(){var e;return Object(v.a)(this,n),(e=Object(y.a)(this,Object(m.a)(n).apply(this,arguments))).debouncedSpeak=Object(w.debounce)(e.speak.bind(Object(g.a)(e)),500),e}return Object(k.a)(n,t),Object(O.a)(n,[{key:"speak",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"polite";Object(Oe.speak)(e,t)}},{key:"componentWillUnmount",value:function(){this.debouncedSpeak.cancel()}},{key:"render",value:function(){return Object(o.createElement)(e,Object(T.a)({},this.props,{speak:this.speak,debouncedSpeak:this.debouncedSpeak}))}}]),n}(o.Component)}),"withSpokenMessages");function _e(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=[],o=0;o0,y=v?"components-autocomplete-listbox-".concat(r):null,m=v?"components-autocomplete-item-".concat(r,"-").concat(h):null;return Object(o.createElement)(o.Fragment,null,n({isExpanded:v,listBoxId:y,activeId:m,onKeyDown:this.handleKeyDown}),v&&a&&Object(o.createElement)(ge,{focusOnMount:!1,onClose:this.reset,position:"top right",className:"components-autocomplete__popover",getAnchorRect:we},Object(o.createElement)("div",{id:y,role:"listbox",className:"components-autocomplete__results"},v&&Object(w.map)(u,(function(t,n){return Object(o.createElement)(E,{key:t.key,id:"components-autocomplete-item-".concat(r,"-").concat(t.key),role:"option","aria-selected":n===l,disabled:t.isDisabled,className:p()("components-autocomplete__result",b,{"is-selected":n===l}),onClick:function(){return e.select(t)}},t.label)})))))}}]),t}(o.Component),Se=Object(M.compose)([ke,M.withInstanceId])(De);function Me(e){var t=e.id,n=e.label,r=e.hideLabelFromVision,a=e.help,i=e.className,s=e.children;return Object(o.createElement)("div",{className:p()("components-base-control",i)},Object(o.createElement)("div",{className:"components-base-control__field"},n&&t&&Object(o.createElement)("label",{className:p()("components-base-control__label",{"screen-reader-text":r}),htmlFor:t},n),n&&!t&&Object(o.createElement)(Me.VisualLabel,null,n),s),!!a&&Object(o.createElement)("p",{id:t+"__help",className:"components-base-control__help"},a))}Me.VisualLabel=function(e){var t=e.className,n=e.children;return t=p()("components-base-control__label",t),Object(o.createElement)("span",{className:t},n)};var je=Me;var Ce=function(e){var t=e.className,n=Object(P.a)(e,["className"]),r=p()("components-button-group",t);return Object(o.createElement)("div",Object(T.a)({},n,{className:r,role:"group"}))};var Pe=Object(M.withInstanceId)((function(e){var t=e.label,n=e.className,r=e.heading,a=e.checked,i=e.help,s=e.instanceId,c=e.onChange,l=Object(P.a)(e,["label","className","heading","checked","help","instanceId","onChange"]),u="inspector-checkbox-control-".concat(s);return Object(o.createElement)(je,{label:r,id:u,help:i,className:n},Object(o.createElement)("span",{className:"components-checkbox-control__input-container"},Object(o.createElement)("input",Object(T.a)({id:u,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return c(e.target.checked)},checked:a,"aria-describedby":i?u+"__help":void 0},l)),a?Object(o.createElement)(J,{icon:"yes",className:"components-checkbox-control__checked",role:"presentation"}):null),Object(o.createElement)("label",{className:"components-checkbox-control__label",htmlFor:u},t))})),Ee=n(223),Te=n.n(Ee),ze=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(g.a)(e)),e.onCopy=e.onCopy.bind(Object(g.a)(e)),e.getText=e.getText.bind(Object(g.a)(e)),e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentDidMount",value:function(){var e=this.container,t=this.getText,n=this.onCopy,r=e.firstChild;this.clipboard=new Te.a(r,{text:t,container:e}),this.clipboard.on("success",n)}},{key:"componentWillUnmount",value:function(){this.clipboard.destroy(),delete this.clipboard,clearTimeout(this.onCopyTimeout)}},{key:"bindContainer",value:function(e){this.container=e}},{key:"onCopy",value:function(e){e.clearSelection();var t=this.props,n=t.onCopy,r=t.onFinishCopy;n&&(n(),r&&(clearTimeout(this.onCopyTimeout),this.onCopyTimeout=setTimeout(r,4e3)))}},{key:"getText",value:function(){var e=this.props.text;return"function"==typeof e&&(e=e()),e}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=(e.onCopy,e.onFinishCopy,e.text,Object(P.a)(e,["className","children","onCopy","onFinishCopy","text"])),a=r.icon,i=p()("components-clipboard-button",t),s=a?te:E;return Object(o.createElement)("span",{ref:this.bindContainer,onCopy:function(e){e.target.focus()}},Object(o.createElement)(s,Object(T.a)({},r,{className:i}),n))}}]),t}(o.Component),Ie=function(e){var t=e.className,n=e.colorValue,r=Object(P.a)(e,["className","colorValue"]);return Object(o.createElement)("span",Object(T.a)({className:p()("component-color-indicator",t),style:{background:n}},r))},xe=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(g.a)(e)),e.close=e.close.bind(Object(g.a)(e)),e.closeIfFocusOutside=e.closeIfFocusOutside.bind(Object(g.a)(e)),e.containerRef=Object(o.createRef)(),e.state={isOpen:!1},e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentWillUnmount",value:function(){var e=this.state.isOpen,t=this.props.onToggle;e&&t&&t(!1)}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.isOpen,r=this.props.onToggle;t.isOpen!==n&&r&&r(n)}},{key:"toggle",value:function(){this.setState((function(e){return{isOpen:!e.isOpen}}))}},{key:"closeIfFocusOutside",value:function(){this.containerRef.current.contains(document.activeElement)||document.activeElement.closest('[role="dialog"]')||this.close()}},{key:"close",value:function(){this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this.state.isOpen,t=this.props,n=t.renderContent,r=t.renderToggle,a=t.position,i=void 0===a?"bottom":a,s=t.className,c=t.contentClassName,l=t.expandOnMobile,u=t.headerTitle,d=t.focusOnMount,h=t.popoverProps,f={isOpen:e,onToggle:this.toggle,onClose:this.close};return Object(o.createElement)("div",{className:s,ref:this.containerRef},r(f),e&&Object(o.createElement)(ge,Object(T.a)({className:c,position:i,onClose:this.close,onFocusOutside:this.closeIfFocusOutside,expandOnMobile:l,headerTitle:u,focusOnMount:d},h),n(f)))}}]),t}(o.Component),Ne=n(47),Ae=n.n(Ne);function He(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.hex?Ae()(e.hex):Ae()(e),r=n.toHsl();r.h=Math.round(r.h),r.s=Math.round(100*r.s),r.l=Math.round(100*r.l);var o=n.toHsv();o.h=Math.round(o.h),o.s=Math.round(100*o.s),o.v=Math.round(100*o.v);var a=n.toRgb(),i=n.toHex();return 0===r.s&&(r.h=t||0,o.h=t||0),{color:n,hex:"000000"===i&&0===a.a?"transparent":"#".concat(i),hsl:r,hsv:o,oldHue:e.h||t||r.h,rgb:a,source:e.source}}function Re(e,t){e.preventDefault();var n=t.getBoundingClientRect(),r=n.left,o=n.top,a=n.width,i=n.height,s="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,c="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=s-(r+window.pageXOffset),u=c-(o+window.pageYOffset);return l<0?l=0:l>a?l=a:u<0?u=0:u>i&&(u=i),{top:u,left:l,width:a,height:i}}function Le(e){var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&Ae()(e).isValid()}var Fe=n(224),Ve=n.n(Fe);n(236);var Be=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).bindKeyTarget=e.bindKeyTarget.bind(Object(g.a)(e)),e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.keyTarget,n=void 0===t?document:t;this.mousetrap=new Ve.a(n),Object(w.forEach)(this.props.shortcuts,(function(t,n){var r=e.props,o=r.bindGlobal,a=r.eventName,i=o?"bindGlobal":"bind";e.mousetrap[i](n,t,a)}))}},{key:"componentWillUnmount",value:function(){this.mousetrap.reset()}},{key:"bindKeyTarget",value:function(e){this.keyTarget=e}},{key:"render",value:function(){var e=this.props.children;return o.Children.count(e)?Object(o.createElement)("div",{ref:this.bindKeyTarget},e):null}}]),t}(o.Component),Ke=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).container=Object(o.createRef)(),e.increase=e.increase.bind(Object(g.a)(e)),e.decrease=e.decrease.bind(Object(g.a)(e)),e.handleChange=e.handleChange.bind(Object(g.a)(e)),e.handleMouseDown=e.handleMouseDown.bind(Object(g.a)(e)),e.handleMouseUp=e.handleMouseUp.bind(Object(g.a)(e)),e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?w.noop:r;e=parseInt(100*e,10);var a={h:n.h,s:n.s,l:n.l,a:(parseInt(100*n.a,10)+e)/100,source:"rgb"};o(a)}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?w.noop:r,a=parseInt(100*n.a,10)-parseInt(100*e,10),i={h:n.h,s:n.s,l:n.l,a:n.a<=e?0:a/100,source:"rgb"};o(i)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?w.noop:t,r=function(e,t,n){var r=Re(e,n),o=r.left,a=r.width,i=o<0?0:Math.round(100*o/a)/100;return t.hsl.a!==i?{h:t.hsl.h,s:t.hsl.s,l:t.hsl.l,a:i,source:"rgb"}:null}(e,this.props,this.container.current);r&&n(r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==D.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.rgb,n="".concat(t.r,",").concat(t.g,",").concat(t.b),r={background:"linear-gradient(to right, rgba(".concat(n,", 0) 0%, rgba(").concat(n,", 1) 100%)")},a={left:"".concat(100*t.a,"%")},i={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(.1)},"shift+right":function(){return e.increase(.1)},pageup:function(){return e.increase(.1)},end:function(){return e.increase(1)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(.1)},"shift+left":function(){return e.decrease(.1)},pagedown:function(){return e.decrease(.1)},home:function(){return e.decrease(1)}};return Object(o.createElement)(Be,{shortcuts:i},Object(o.createElement)("div",{className:"components-color-picker__alpha"},Object(o.createElement)("div",{className:"components-color-picker__alpha-gradient",style:r}),Object(o.createElement)("div",{className:"components-color-picker__alpha-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(o.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"0","aria-valuenow":t.a,"aria-orientation":"horizontal","aria-label":Object(S.__)("Alpha value, from 0 (transparent) to 1 (fully opaque)."),className:"components-color-picker__alpha-pointer",style:a,onKeyDown:this.preventKeyEvents}))))}}]),t}(o.Component),We=Object(M.pure)(Ke),$e=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).container=Object(o.createRef)(),e.increase=e.increase.bind(Object(g.a)(e)),e.decrease=e.decrease.bind(Object(g.a)(e)),e.handleChange=e.handleChange.bind(Object(g.a)(e)),e.handleMouseDown=e.handleMouseDown.bind(Object(g.a)(e)),e.handleMouseUp=e.handleMouseUp.bind(Object(g.a)(e)),e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?w.noop:r,a={h:n.h+e>=359?359:n.h+e,s:n.s,l:n.l,a:n.a,source:"rgb"};o(a)}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?w.noop:r,a={h:n.h<=e?0:n.h-e,s:n.s,l:n.l,a:n.a,source:"rgb"};o(a)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?w.noop:t,r=function(e,t,n){var r=Re(e,n),o=r.left,a=r.width,i=o>=a?359:360*(100*o/a)/100;return t.hsl.h!==i?{h:i,s:t.hsl.s,l:t.hsl.l,a:t.hsl.a,source:"rgb"}:null}(e,this.props,this.container.current);r&&n(r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==D.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsl,r=void 0===n?{}:n,a=t.instanceId,i={left:"".concat(100*r.h/360,"%")},s={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(10)},"shift+right":function(){return e.increase(10)},pageup:function(){return e.increase(10)},end:function(){return e.increase(359)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(10)},"shift+left":function(){return e.decrease(10)},pagedown:function(){return e.decrease(10)},home:function(){return e.decrease(359)}};return Object(o.createElement)(Be,{shortcuts:s},Object(o.createElement)("div",{className:"components-color-picker__hue"},Object(o.createElement)("div",{className:"components-color-picker__hue-gradient"}),Object(o.createElement)("div",{className:"components-color-picker__hue-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(o.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"359","aria-valuenow":r.h,"aria-orientation":"horizontal","aria-label":Object(S.__)("Hue value in degrees, from 0 to 359."),"aria-describedby":"components-color-picker__hue-description-".concat(a),className:"components-color-picker__hue-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(o.createElement)("p",{className:"components-color-picker__hue-description screen-reader-text",id:"components-color-picker__hue-description-".concat(a)},Object(S.__)("Move the arrow left or right to change hue.")))))}}]),t}(o.Component),Ue=Object(M.compose)(M.pure,M.withInstanceId)($e);var Ge=Object(M.withInstanceId)((function(e){var t=e.label,n=e.hideLabelFromVision,r=e.value,a=e.help,i=e.className,s=e.instanceId,c=e.onChange,l=e.type,u=void 0===l?"text":l,d=Object(P.a)(e,["label","hideLabelFromVision","value","help","className","instanceId","onChange","type"]),h="inspector-text-control-".concat(s);return Object(o.createElement)(je,{label:t,hideLabelFromVision:n,id:h,help:a,className:i},Object(o.createElement)("input",Object(T.a)({className:"components-text-control__input",type:u,id:h,value:r,onChange:function(e){return c(e.target.value)},"aria-describedby":a?h+"__help":void 0},d)))})),qe=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).handleBlur=e.handleBlur.bind(Object(g.a)(e)),e.handleChange=e.handleChange.bind(Object(g.a)(e)),e.handleKeyDown=e.handleKeyDown.bind(Object(g.a)(e)),e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"handleBlur",value:function(){var e=this.props,t=e.value,n=e.valueKey;(0,e.onChange)({source:e.source,state:"commit",value:t,valueKey:n})}},{key:"handleChange",value:function(e){var t=this.props,n=t.valueKey,r=t.onChange,o=t.source;e.length>4&&Le(e)?r({source:o,state:"commit",value:e,valueKey:n}):r({source:o,state:"draft",value:e,valueKey:n})}},{key:"handleKeyDown",value:function(e){var t=e.keyCode;if(t===D.ENTER||t===D.UP||t===D.DOWN){var n=this.props,r=n.value,o=n.valueKey;(0,n.onChange)({source:n.source,state:"commit",value:r,valueKey:o})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,r=t.value,a=Object(P.a)(t,["label","value"]);return Object(o.createElement)(Ge,Object(T.a)({className:"components-color-picker__inputs-field",label:n,value:r,onChange:function(t){return e.handleChange(t)},onBlur:this.handleBlur,onKeyDown:this.handleKeyDown},Object(w.omit)(a,["onChange","valueKey","source"])))}}]),t}(o.Component),Ye=Object(M.pure)(te),Ze=function(e){function t(e){var n,r=e.hsl;Object(v.a)(this,t),n=Object(y.a)(this,Object(m.a)(t).apply(this,arguments));var o=1===r.a?"hex":"rgb";return n.state={view:o},n.toggleViews=n.toggleViews.bind(Object(g.a)(n)),n.resetDraftValues=n.resetDraftValues.bind(Object(g.a)(n)),n.handleChange=n.handleChange.bind(Object(g.a)(n)),n.normalizeValue=n.normalizeValue.bind(Object(g.a)(n)),n}return Object(k.a)(t,e),Object(O.a)(t,[{key:"toggleViews",value:function(){"hex"===this.state.view?(this.setState({view:"rgb"},this.resetDraftValues),Object(Oe.speak)(Object(S.__)("RGB mode active"))):"rgb"===this.state.view?(this.setState({view:"hsl"},this.resetDraftValues),Object(Oe.speak)(Object(S.__)("Hue/saturation/lightness mode active"))):"hsl"===this.state.view&&(1===this.props.hsl.a?(this.setState({view:"hex"},this.resetDraftValues),Object(Oe.speak)(Object(S.__)("Hex color mode active"))):(this.setState({view:"rgb"},this.resetDraftValues),Object(Oe.speak)(Object(S.__)("RGB mode active"))))}},{key:"resetDraftValues",value:function(){return this.props.onChange({state:"reset"})}},{key:"normalizeValue",value:function(e,t){return"a"!==e?t:t>0?0:t>1?1:Math.round(100*t)/100}},{key:"handleChange",value:function(e){var t=e.source,n=e.state,r=e.value,o=e.valueKey;this.props.onChange({source:t,state:n,valueKey:o,value:this.normalizeValue(o,r)})}},{key:"renderFields",value:function(){var e=this.props.disableAlpha,t=void 0!==e&&e;return"hex"===this.state.view?Object(o.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(o.createElement)(qe,{source:this.state.view,label:Object(S.__)("Color value in hexadecimal"),valueKey:"hex",value:this.props.hex,onChange:this.handleChange})):"rgb"===this.state.view?Object(o.createElement)("fieldset",null,Object(o.createElement)("legend",{className:"screen-reader-text"},Object(S.__)("Color value in RGB")),Object(o.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(o.createElement)(qe,{source:this.state.view,label:"r",valueKey:"r",value:this.props.rgb.r,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(o.createElement)(qe,{source:this.state.view,label:"g",valueKey:"g",value:this.props.rgb.g,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(o.createElement)(qe,{source:this.state.view,label:"b",valueKey:"b",value:this.props.rgb.b,onChange:this.handleChange,type:"number",min:"0",max:"255"}),t?null:Object(o.createElement)(qe,{source:this.state.view,label:"a",valueKey:"a",value:this.props.rgb.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):"hsl"===this.state.view?Object(o.createElement)("fieldset",null,Object(o.createElement)("legend",{className:"screen-reader-text"},Object(S.__)("Color value in HSL")),Object(o.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(o.createElement)(qe,{source:this.state.view,label:"h",valueKey:"h",value:this.props.hsl.h,onChange:this.handleChange,type:"number",min:"0",max:"359"}),Object(o.createElement)(qe,{source:this.state.view,label:"s",valueKey:"s",value:this.props.hsl.s,onChange:this.handleChange,type:"number",min:"0",max:"100"}),Object(o.createElement)(qe,{source:this.state.view,label:"l",valueKey:"l",value:this.props.hsl.l,onChange:this.handleChange,type:"number",min:"0",max:"100"}),t?null:Object(o.createElement)(qe,{source:this.state.view,label:"a",valueKey:"a",value:this.props.hsl.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):void 0}},{key:"render",value:function(){return Object(o.createElement)("div",{className:"components-color-picker__inputs-wrapper"},this.renderFields(),Object(o.createElement)("div",{className:"components-color-picker__inputs-toggle"},Object(o.createElement)(Ye,{icon:"arrow-down-alt2",label:Object(S.__)("Change color format"),onClick:this.toggleViews})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(o.Component),Xe=function(e){function t(e){var n;return Object(v.a)(this,t),(n=Object(y.a)(this,Object(m.a)(t).call(this,e))).throttle=Object(w.throttle)((function(e,t,n){e(t,n)}),50),n.container=Object(o.createRef)(),n.saturate=n.saturate.bind(Object(g.a)(n)),n.brighten=n.brighten.bind(Object(g.a)(n)),n.handleChange=n.handleChange.bind(Object(g.a)(n)),n.handleMouseDown=n.handleMouseDown.bind(Object(g.a)(n)),n.handleMouseUp=n.handleMouseUp.bind(Object(g.a)(n)),n}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"saturate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,r=t.onChange,o=void 0===r?w.noop:r,a=Object(w.clamp)(n.s+Math.round(100*e),0,100),i={h:n.h,s:a,v:n.v,a:n.a,source:"rgb"};o(i)}},{key:"brighten",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,r=t.onChange,o=void 0===r?w.noop:r,a=Object(w.clamp)(n.v+Math.round(100*e),0,100),i={h:n.h,s:n.s,v:a,a:n.a,source:"rgb"};o(i)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?w.noop:t,r=function(e,t,n){var r=Re(e,n),o=r.top,a=r.left,i=r.width,s=r.height,c=a<0?0:100*a/i,l=o>=s?0:-100*o/s+100;return l<1&&(l=0),{h:t.hsl.h,s:c,v:l,a:t.hsl.a,source:"rgb"}}(e,this.props,this.container.current);this.throttle(n,r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==D.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsv,r=t.hsl,a=t.instanceId,i={top:"".concat(100-n.v,"%"),left:"".concat(n.s,"%")},s={up:function(){return e.brighten()},"shift+up":function(){return e.brighten(.1)},pageup:function(){return e.brighten(1)},down:function(){return e.brighten(-.01)},"shift+down":function(){return e.brighten(-.1)},pagedown:function(){return e.brighten(-1)},right:function(){return e.saturate()},"shift+right":function(){return e.saturate(.1)},end:function(){return e.saturate(1)},left:function(){return e.saturate(-.01)},"shift+left":function(){return e.saturate(-.1)},home:function(){return e.saturate(-1)}};return Object(o.createElement)(Be,{shortcuts:s},Object(o.createElement)("div",{style:{background:"hsl(".concat(r.h,",100%, 50%)")},className:"components-color-picker__saturation-color",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,role:"application"},Object(o.createElement)("div",{className:"components-color-picker__saturation-white"}),Object(o.createElement)("div",{className:"components-color-picker__saturation-black"}),Object(o.createElement)("button",{"aria-label":Object(S.__)("Choose a shade"),"aria-describedby":"color-picker-saturation-".concat(a),className:"components-color-picker__saturation-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(o.createElement)("div",{className:"screen-reader-text",id:"color-picker-saturation-".concat(a)},Object(S.__)("Use your arrow keys to change the base color. Move up to lighten the color, down to darken, left to decrease saturation, and right to increase saturation."))))}}]),t}(o.Component),Qe=Object(M.compose)(M.pure,M.withInstanceId)(Xe),Je=function(e){return String(e).toLowerCase()},et=function(e){return e.hex?Le(e.hex):(t=e,n=0,r=0,Object(w.each)(["r","g","b","a","h","s","l","v"],(function(e){t[e]&&(n+=1,isNaN(t[e])||(r+=1))})),n===r&&t);var t,n,r},tt=function(e,t){var n=t.source,o=t.valueKey,a=t.value;return"hex"===n?Object(d.a)({source:n},n,a):Object(r.a)({source:n},Object(r.a)({},e[n],Object(d.a)({},o,a)))},nt=function(e){function t(e){var n,o=e.color,a=void 0===o?"0071a1":o;Object(v.a)(this,t),n=Object(y.a)(this,Object(m.a)(t).apply(this,arguments));var i=He(a);return n.state=Object(r.a)({},i,{draftHex:Je(i.hex),draftRgb:i.rgb,draftHsl:i.hsl}),n.commitValues=n.commitValues.bind(Object(g.a)(n)),n.setDraftValues=n.setDraftValues.bind(Object(g.a)(n)),n.resetDraftValues=n.resetDraftValues.bind(Object(g.a)(n)),n.handleInputChange=n.handleInputChange.bind(Object(g.a)(n)),n}return Object(k.a)(t,e),Object(O.a)(t,[{key:"commitValues",value:function(e){var t=this.props,n=t.oldHue,o=t.onChangeComplete,a=void 0===o?w.noop:o;if(et(e)){var i=He(e,e.h||n);this.setState(Object(r.a)({},i,{draftHex:Je(i.hex),draftHsl:i.hsl,draftRgb:i.rgb}),Object(w.debounce)(Object(w.partial)(a,i),100))}}},{key:"resetDraftValues",value:function(){this.setState({draftHex:this.state.hex,draftHsl:this.state.hsl,draftRgb:this.state.rgb})}},{key:"setDraftValues",value:function(e){switch(e.source){case"hex":this.setState({draftHex:Je(e.hex)});break;case"rgb":this.setState({draftRgb:e});break;case"hsl":this.setState({draftHsl:e})}}},{key:"handleInputChange",value:function(e){switch(e.state){case"reset":this.resetDraftValues();break;case"commit":var t=tt(this.state,e);(function(e){return"hex"===e.source&&!e.hex||(!("hsl"!==e.source||e.h&&e.s&&e.l)||!("rgb"!==e.source||e.r&&e.g&&e.b||e.h&&e.s&&e.v&&e.a||e.h&&e.s&&e.l&&e.a))})(t)||this.commitValues(t);break;case"draft":this.setDraftValues(tt(this.state,e))}}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.disableAlpha,r=this.state,a=r.color,i=r.hsl,s=r.hsv,c=r.rgb,l=r.draftHex,u=r.draftHsl,d=r.draftRgb,h=p()(t,{"components-color-picker":!0,"is-alpha-disabled":n,"is-alpha-enabled":!n});return Object(o.createElement)("div",{className:h},Object(o.createElement)("div",{className:"components-color-picker__saturation"},Object(o.createElement)(Qe,{hsl:i,hsv:s,onChange:this.commitValues})),Object(o.createElement)("div",{className:"components-color-picker__body"},Object(o.createElement)("div",{className:"components-color-picker__controls"},Object(o.createElement)("div",{className:"components-color-picker__swatch"},Object(o.createElement)("div",{className:"components-color-picker__active",style:{backgroundColor:a&&a.toRgbString()}})),Object(o.createElement)("div",{className:"components-color-picker__toggles"},Object(o.createElement)(Ue,{hsl:i,onChange:this.commitValues}),n?null:Object(o.createElement)(We,{rgb:c,hsl:i,onChange:this.commitValues}))),Object(o.createElement)(Ze,{rgb:d,hsl:u,hex:l,onChange:this.handleInputChange,disableAlpha:n})))}}]),t}(o.Component);function rt(e){var t=e.colors,n=e.disableCustomColors,r=void 0!==n&&n,a=e.value,i=e.onChange,s=e.className,c=e.clearable,l=void 0===c||c;function u(e){return function(){return i(a===e?void 0:e)}}var d=Object(S.__)("Custom color picker"),h=p()("components-color-palette",s);return Object(o.createElement)("div",{className:h},Object(w.map)(t,(function(e){var t=e.color,n=e.name,r={color:t},i=p()("components-color-palette__item",{"is-active":a===t});return Object(o.createElement)("div",{key:t,className:"components-color-palette__item-wrapper"},Object(o.createElement)(Q,{text:n||Object(S.sprintf)(Object(S.__)("Color code: %s"),t)},Object(o.createElement)("button",{type:"button",className:i,style:r,onClick:u(t),"aria-label":n?Object(S.sprintf)(Object(S.__)("Color: %s"),n):Object(S.sprintf)(Object(S.__)("Color code: %s"),t),"aria-pressed":a===t})),a===t&&Object(o.createElement)(J,{icon:"saved"}))})),Object(o.createElement)("div",{className:"components-color-palette__custom-clear-wrapper"},!r&&Object(o.createElement)(xe,{className:"components-color-palette__custom-color",contentClassName:"components-color-palette__picker",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(o.createElement)(E,{"aria-expanded":t,onClick:n,"aria-label":d,isLink:!0},Object(S.__)("Custom Color"))},renderContent:function(){return Object(o.createElement)(nt,{color:a,onChangeComplete:function(e){return i(e.hex)},disableAlpha:!0})}}),!!l&&Object(o.createElement)(E,{className:"components-color-palette__clear",type:"button",onClick:function(){return i(void 0)},isSmall:!0,isDefault:!0},Object(S.__)("Clear"))))}n(237);var ot=n(29),at=n.n(ot),it=n(225),st=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).onChangeMoment=e.onChangeMoment.bind(Object(g.a)(e)),e.nodeRef=Object(o.createRef)(),e.keepFocusInside=e.keepFocusInside.bind(Object(g.a)(e)),e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"keepFocusInside",value:function(){if(this.nodeRef.current&&(!document.activeElement||!this.nodeRef.current.contains(document.activeElement))){var e=this.nodeRef.current.querySelector(".DayPicker_focusRegion");if(!e)return;e.focus()}}},{key:"onChangeMoment",value:function(e){var t=this.props,n=t.currentDate,r=t.onChange,o=n?at()(n):at()(),a={hours:o.hours(),minutes:o.minutes(),seconds:0};r(e.set(a).format("YYYY-MM-DDTHH:mm:ss"))}},{key:"getMomentDate",value:function(e){return null===e?null:e?at()(e):at()()}},{key:"render",value:function(){var e=this.props,t=e.currentDate,n=e.isInvalidDate,r=this.getMomentDate(t);return Object(o.createElement)("div",{className:"components-datetime__date",ref:this.nodeRef},Object(o.createElement)(it.DayPickerSingleDateController,{date:r,daySize:30,focused:!0,hideKeyboardShortcutsPanel:!0,key:"datepicker-controller-".concat(r?r.format("MM-YYYY"):"null"),noBorder:!0,numberOfMonths:1,onDateChange:this.onChangeMoment,transitionDuration:0,weekDayFormat:"ddd",isRTL:"rtl"===document.documentElement.dir,isOutsideRange:function(e){return n&&n(e.toDate())},onPrevMonthClick:this.keepFocusInside,onNextMonthClick:this.keepFocusInside}))}}]),t}(o.Component),ct=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).state={day:"",month:"",year:"",hours:"",minutes:"",am:!0,date:null},e.changeDate=e.changeDate.bind(Object(g.a)(e)),e.updateMonth=e.updateMonth.bind(Object(g.a)(e)),e.onChangeMonth=e.onChangeMonth.bind(Object(g.a)(e)),e.updateDay=e.updateDay.bind(Object(g.a)(e)),e.onChangeDay=e.onChangeDay.bind(Object(g.a)(e)),e.updateYear=e.updateYear.bind(Object(g.a)(e)),e.onChangeYear=e.onChangeYear.bind(Object(g.a)(e)),e.updateHours=e.updateHours.bind(Object(g.a)(e)),e.updateMinutes=e.updateMinutes.bind(Object(g.a)(e)),e.onChangeHours=e.onChangeHours.bind(Object(g.a)(e)),e.onChangeMinutes=e.onChangeMinutes.bind(Object(g.a)(e)),e.renderMonth=e.renderMonth.bind(Object(g.a)(e)),e.renderDay=e.renderDay.bind(Object(g.a)(e)),e.renderDayMonthFormat=e.renderDayMonthFormat.bind(Object(g.a)(e)),e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentDidMount",value:function(){this.syncState(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.currentTime,r=t.is12Hour;n===e.currentTime&&r===e.is12Hour||this.syncState(this.props)}},{key:"changeDate",value:function(e){var t=e.clone().startOf("minute");this.setState({date:t}),this.props.onChange(e.format("YYYY-MM-DDTHH:mm:ss"))}},{key:"getMaxHours",value:function(){return this.props.is12Hour?12:23}},{key:"getMinHours",value:function(){return this.props.is12Hour?1:0}},{key:"syncState",value:function(e){var t=e.currentTime,n=e.is12Hour,r=t?at()(t):at()(),o=r.format("DD"),a=r.format("MM"),i=r.format("YYYY"),s=r.format("mm"),c=r.format("A"),l=r.format(n?"hh":"HH"),u=t?at()(t):at()();this.setState({day:o,month:a,year:i,minutes:s,hours:l,am:c,date:u})}},{key:"updateHours",value:function(){var e=this.props.is12Hour,t=this.state,n=t.am,r=t.hours,o=t.date,a=parseInt(r,10);if(!Object(w.isInteger)(a)||e&&(a<1||a>12)||!e&&(a<0||a>23))this.syncState(this.props);else{var i=e?o.clone().hours("AM"===n?a%12:(a%12+12)%24):o.clone().hours(a);this.changeDate(i)}}},{key:"updateMinutes",value:function(){var e=this.state,t=e.minutes,n=e.date,r=parseInt(t,10);if(!Object(w.isInteger)(r)||r<0||r>59)this.syncState(this.props);else{var o=n.clone().minutes(r);this.changeDate(o)}}},{key:"updateDay",value:function(){var e=this.state,t=e.day,n=e.date,r=parseInt(t,10);if(!Object(w.isInteger)(r)||r<1||r>31)this.syncState(this.props);else{var o=n.clone().date(r);this.changeDate(o)}}},{key:"updateMonth",value:function(){var e=this.state,t=e.month,n=e.date,r=parseInt(t,10);if(!Object(w.isInteger)(r)||r<1||r>12)this.syncState(this.props);else{var o=n.clone().month(r-1);this.changeDate(o)}}},{key:"updateYear",value:function(){var e=this.state,t=e.year,n=e.date,r=parseInt(t,10);if(!Object(w.isInteger)(r)||r<0||r>9999)this.syncState(this.props);else{var o=n.clone().year(r);this.changeDate(o)}}},{key:"updateAmPm",value:function(e){var t=this;return function(){var n,r=t.state,o=r.am,a=r.date,i=r.hours;o!==e&&(n="PM"===e?a.clone().hours((parseInt(i,10)%12+12)%24):a.clone().hours(parseInt(i,10)%12),t.changeDate(n))}}},{key:"onChangeDay",value:function(e){this.setState({day:e.target.value})}},{key:"onChangeMonth",value:function(e){this.setState({month:e.target.value})}},{key:"onChangeYear",value:function(e){this.setState({year:e.target.value})}},{key:"onChangeHours",value:function(e){this.setState({hours:e.target.value})}},{key:"onChangeMinutes",value:function(e){var t=e.target.value;this.setState({minutes:""===t?"":("0"+t).slice(-2)})}},{key:"renderMonth",value:function(e){return Object(o.createElement)("div",{key:"render-month",className:"components-datetime__time-field components-datetime__time-field-month"},Object(o.createElement)("select",{"aria-label":Object(S.__)("Month"),className:"components-datetime__time-field-month-select",value:e,onChange:this.onChangeMonth,onBlur:this.updateMonth},Object(o.createElement)("option",{value:"01"},Object(S.__)("January")),Object(o.createElement)("option",{value:"02"},Object(S.__)("February")),Object(o.createElement)("option",{value:"03"},Object(S.__)("March")),Object(o.createElement)("option",{value:"04"},Object(S.__)("April")),Object(o.createElement)("option",{value:"05"},Object(S.__)("May")),Object(o.createElement)("option",{value:"06"},Object(S.__)("June")),Object(o.createElement)("option",{value:"07"},Object(S.__)("July")),Object(o.createElement)("option",{value:"08"},Object(S.__)("August")),Object(o.createElement)("option",{value:"09"},Object(S.__)("September")),Object(o.createElement)("option",{value:"10"},Object(S.__)("October")),Object(o.createElement)("option",{value:"11"},Object(S.__)("November")),Object(o.createElement)("option",{value:"12"},Object(S.__)("December"))))}},{key:"renderDay",value:function(e){return Object(o.createElement)("div",{key:"render-day",className:"components-datetime__time-field components-datetime__time-field-day"},Object(o.createElement)("input",{"aria-label":Object(S.__)("Day"),className:"components-datetime__time-field-day-input",type:"number",value:e,step:1,min:1,onChange:this.onChangeDay,onBlur:this.updateDay}))}},{key:"renderDayMonthFormat",value:function(e){var t=this.state,n=t.day,r=t.month,o=[this.renderDay(n),this.renderMonth(r)];return e?o:o.reverse()}},{key:"render",value:function(){var e=this.props.is12Hour,t=this.state,n=t.year,r=t.minutes,a=t.hours,i=t.am;return Object(o.createElement)("div",{className:p()("components-datetime__time")},Object(o.createElement)("fieldset",null,Object(o.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(S.__)("Date")),Object(o.createElement)("div",{className:"components-datetime__time-wrapper"},this.renderDayMonthFormat(e),Object(o.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-year"},Object(o.createElement)("input",{"aria-label":Object(S.__)("Year"),className:"components-datetime__time-field-year-input",type:"number",step:1,value:n,onChange:this.onChangeYear,onBlur:this.updateYear})))),Object(o.createElement)("fieldset",null,Object(o.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(S.__)("Time")),Object(o.createElement)("div",{className:"components-datetime__time-wrapper"},Object(o.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-time"},Object(o.createElement)("input",{"aria-label":Object(S.__)("Hours"),className:"components-datetime__time-field-hours-input",type:"number",step:1,min:this.getMinHours(),max:this.getMaxHours(),value:a,onChange:this.onChangeHours,onBlur:this.updateHours}),Object(o.createElement)("span",{className:"components-datetime__time-separator","aria-hidden":"true"},":"),Object(o.createElement)("input",{"aria-label":Object(S.__)("Minutes"),className:"components-datetime__time-field-minutes-input",type:"number",min:0,max:59,value:r,onChange:this.onChangeMinutes,onBlur:this.updateMinutes})),e&&Object(o.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-am-pm"},Object(o.createElement)(E,{"aria-pressed":"AM"===i,isDefault:!0,className:"components-datetime__time-am-button",isToggled:"AM"===i,onClick:this.updateAmPm("AM")},Object(S.__)("AM")),Object(o.createElement)(E,{"aria-pressed":"PM"===i,isDefault:!0,className:"components-datetime__time-pm-button",isToggled:"PM"===i,onClick:this.updateAmPm("PM")},Object(S.__)("PM"))))))}}]),t}(o.Component),lt=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).state={calendarHelpIsVisible:!1},e.onClickDescriptionToggle=e.onClickDescriptionToggle.bind(Object(g.a)(e)),e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"onClickDescriptionToggle",value:function(){this.setState({calendarHelpIsVisible:!this.state.calendarHelpIsVisible})}},{key:"render",value:function(){var e=this.props,t=e.currentDate,n=e.is12Hour,r=e.onChange;return Object(o.createElement)("div",{className:"components-datetime"},!this.state.calendarHelpIsVisible&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)(ct,{currentTime:t,onChange:r,is12Hour:n}),Object(o.createElement)(st,{currentDate:t,onChange:r})),this.state.calendarHelpIsVisible&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"components-datetime__calendar-help"},Object(o.createElement)("h4",null,Object(S.__)("Click to Select")),Object(o.createElement)("ul",null,Object(o.createElement)("li",null,Object(S.__)("Click the right or left arrows to select other months in the past or the future.")),Object(o.createElement)("li",null,Object(S.__)("Click the desired day to select it."))),Object(o.createElement)("h4",null,Object(S.__)("Navigating with a keyboard")),Object(o.createElement)("ul",null,Object(o.createElement)("li",null,Object(o.createElement)("abbr",{"aria-label":Object(S._x)("Enter","keyboard button")},"↵")," ",Object(o.createElement)("span",null,Object(S.__)("Select the date in focus."))),Object(o.createElement)("li",null,Object(o.createElement)("abbr",{"aria-label":Object(S.__)("Left and Right Arrows")},"←/→")," ",Object(S.__)("Move backward (left) or forward (right) by one day.")),Object(o.createElement)("li",null,Object(o.createElement)("abbr",{"aria-label":Object(S.__)("Up and Down Arrows")},"↑/↓")," ",Object(S.__)("Move backward (up) or forward (down) by one week.")),Object(o.createElement)("li",null,Object(o.createElement)("abbr",{"aria-label":Object(S.__)("Page Up and Page Down")},Object(S.__)("PgUp/PgDn"))," ",Object(S.__)("Move backward (PgUp) or forward (PgDn) by one month.")),Object(o.createElement)("li",null,Object(o.createElement)("abbr",{"aria-label":Object(S.__)("Home and End")},Object(S.__)("Home/End"))," ",Object(S.__)("Go to the first (home) or last (end) day of a week."))),Object(o.createElement)(E,{isSmall:!0,onClick:this.onClickDescriptionToggle},Object(S.__)("Close")))),!this.state.calendarHelpIsVisible&&Object(o.createElement)(E,{className:"components-datetime__date-help-button",isLink:!0,onClick:this.onClickDescriptionToggle},Object(S.__)("Calendar Help")))}}]),t}(o.Component),ut=Object(o.createContext)(!1),dt=ut.Consumer,ht=ut.Provider,ft=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"],pt=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).bindNode=e.bindNode.bind(Object(g.a)(e)),e.disable=e.disable.bind(Object(g.a)(e)),e.debouncedDisable=Object(w.debounce)(e.disable,{leading:!0}),e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentDidMount",value:function(){this.disable(),this.observer=new window.MutationObserver(this.debouncedDisable),this.observer.observe(this.node,{childList:!0,attributes:!0,subtree:!0})}},{key:"componentWillUnmount",value:function(){this.observer.disconnect(),this.debouncedDisable.cancel()}},{key:"bindNode",value:function(e){this.node=e}},{key:"disable",value:function(){C.focus.focusable.find(this.node).forEach((function(e){Object(w.includes)(ft,e.nodeName)&&e.setAttribute("disabled",""),e.hasAttribute("tabindex")&&e.removeAttribute("tabindex"),e.hasAttribute("contenteditable")&&e.setAttribute("contenteditable","false")}))}},{key:"render",value:function(){var e=this.props,t=e.className,n=Object(P.a)(e,["className"]);return Object(o.createElement)(ht,{value:!0},Object(o.createElement)("div",Object(T.a)({ref:this.bindNode,className:p()(t,"components-disabled")},n),this.props.children))}}]),t}(o.Component);pt.Consumer=dt;var bt=pt,vt=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).onDragStart=e.onDragStart.bind(Object(g.a)(e)),e.onDragOver=e.onDragOver.bind(Object(g.a)(e)),e.onDragEnd=e.onDragEnd.bind(Object(g.a)(e)),e.resetDragState=e.resetDragState.bind(Object(g.a)(e)),e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentWillUnmount",value:function(){this.resetDragState()}},{key:"onDragEnd",value:function(e){var t=this.props.onDragEnd,n=void 0===t?w.noop:t;e.preventDefault(),this.resetDragState(),this.props.setTimeout(n)}},{key:"onDragOver",value:function(e){this.cloneWrapper.style.top="".concat(parseInt(this.cloneWrapper.style.top,10)+e.clientY-this.cursorTop,"px"),this.cloneWrapper.style.left="".concat(parseInt(this.cloneWrapper.style.left,10)+e.clientX-this.cursorLeft,"px"),this.cursorLeft=e.clientX,this.cursorTop=e.clientY}},{key:"onDragStart",value:function(e){var t=this.props,n=t.elementId,r=t.transferData,o=t.onDragStart,a=void 0===o?w.noop:o,i=document.getElementById(n);if(i){if("function"==typeof e.dataTransfer.setDragImage){var s=document.createElement("div");s.id="drag-image-".concat(n),s.classList.add("components-draggable__invisible-drag-image"),document.body.appendChild(s),e.dataTransfer.setDragImage(s,0,0),this.props.setTimeout((function(){document.body.removeChild(s)}))}e.dataTransfer.setData("text",JSON.stringify(r));var c=i.getBoundingClientRect(),l=i.parentNode,u=parseInt(c.top,10),d=parseInt(c.left,10),h=i.cloneNode(!0);h.id="clone-".concat(n),this.cloneWrapper=document.createElement("div"),this.cloneWrapper.classList.add("components-draggable__clone"),this.cloneWrapper.style.width="".concat(c.width+40,"px"),c.height>700?(this.cloneWrapper.style.transform="scale(0.5)",this.cloneWrapper.style.transformOrigin="top left",this.cloneWrapper.style.top="".concat(e.clientY-100,"px"),this.cloneWrapper.style.left="".concat(e.clientX,"px")):(this.cloneWrapper.style.top="".concat(u-20,"px"),this.cloneWrapper.style.left="".concat(d-20,"px")),Object(_.a)(h.querySelectorAll("iframe")).forEach((function(e){return e.parentNode.removeChild(e)})),this.cloneWrapper.appendChild(h),l.appendChild(this.cloneWrapper),this.cursorLeft=e.clientX,this.cursorTop=e.clientY,document.body.classList.add("is-dragging-components-draggable"),document.addEventListener("dragover",this.onDragOver),this.props.setTimeout(a)}else e.preventDefault()}},{key:"resetDragState",value:function(){document.removeEventListener("dragover",this.onDragOver),this.cloneWrapper&&this.cloneWrapper.parentNode&&(this.cloneWrapper.parentNode.removeChild(this.cloneWrapper),this.cloneWrapper=null),document.body.classList.remove("is-dragging-components-draggable")}},{key:"render",value:function(){return(0,this.props.children)({onDraggableStart:this.onDragStart,onDraggableEnd:this.onDragEnd})}}]),t}(o.Component),yt=Object(M.withSafeTimeout)(vt),mt=Object(o.createContext)({addDropZone:function(){},removeDropZone:function(){}}),gt=mt.Provider,Ot=mt.Consumer,kt=function(e){var t=e.dataTransfer;if(t){if(Object(w.includes)(t.types,"Files"))return"file";if(Object(w.includes)(t.types,"text/html"))return"html"}return"default"},_t=function(e,t){return"file"===e&&t.onFilesDrop||"html"===e&&t.onHTMLDrop||"default"===e&&t.onDrop},wt=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).onDragOver=e.onDragOver.bind(Object(g.a)(e)),e.onDrop=e.onDrop.bind(Object(g.a)(e)),e.addDropZone=e.addDropZone.bind(Object(g.a)(e)),e.removeDropZone=e.removeDropZone.bind(Object(g.a)(e)),e.resetDragState=e.resetDragState.bind(Object(g.a)(e)),e.toggleDraggingOverDocument=Object(w.throttle)(e.toggleDraggingOverDocument.bind(Object(g.a)(e)),200),e.dropZones=[],e.dropZoneCallbacks={addDropZone:e.addDropZone,removeDropZone:e.removeDropZone},e.state={hoveredDropZone:-1,isDraggingOverDocument:!1,position:null},e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("dragover",this.onDragOver),window.addEventListener("mouseup",this.resetDragState)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragover",this.onDragOver),window.removeEventListener("mouseup",this.resetDragState)}},{key:"addDropZone",value:function(e){this.dropZones.push(e)}},{key:"removeDropZone",value:function(e){this.dropZones=Object(w.filter)(this.dropZones,(function(t){return t!==e}))}},{key:"resetDragState",value:function(){this.toggleDraggingOverDocument.cancel();var e=this.state,t=e.isDraggingOverDocument,n=e.hoveredDropZone;(t||-1!==n)&&(this.setState({hoveredDropZone:-1,isDraggingOverDocument:!1,position:null}),this.dropZones.forEach((function(e){return e.setState({isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null})})))}},{key:"toggleDraggingOverDocument",value:function(e,t){var n=this,r=window.CustomEvent&&e instanceof window.CustomEvent?e.detail:e,o=Object(w.filter)(this.dropZones,(function(e){return _t(t,e)&&function(e,t,n){var r=e.getBoundingClientRect();return r.bottom!==r.top&&r.left!==r.right&&(t>=r.left&&t<=r.right&&n>=r.top&&n<=r.bottom)}(e.element,r.clientX,r.clientY)})),a=Object(w.find)(o,(function(e){return!Object(w.some)(o,(function(t){return t!==e&&e.element.parentElement.contains(t.element)}))})),i=this.dropZones.indexOf(a),s=null;if(a){var c=a.element.getBoundingClientRect();s={x:r.clientX-c.left-1&&e?{index:n,target:e,focusables:t}:null}},{key:"getFocusableIndex",value:function(e,t){var n=e.indexOf(t);if(-1!==n)return n}},{key:"onKeyDown",value:function(e){this.props.onKeyDown&&this.props.onKeyDown(e);var t=this.getFocusableContext,n=this.props,r=n.cycle,o=void 0===r||r,a=n.eventToOffset,i=n.onNavigate,s=void 0===i?w.noop:i,c=n.stopNavigationEvents,l=a(e);if(void 0!==l&&c&&(e.stopImmediatePropagation(),"menuitem"===e.target.getAttribute("role")&&e.preventDefault()),l){var u=t(document.activeElement);if(u){var d=u.index,h=u.focusables,f=o?function(e,t,n){var r=e+n;return r<0?t+r:r>=t?r-t:r}(d,h.length,l):d+l;f>=0&&f0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object(r.a)({},e,t);return t.className&&e.className&&(n.className=p()(t.className,e.className)),n}var zt=function(e){var t,n=e.children,r=e.className,a=e.controls,i=e.hasArrowIndicator,s=void 0!==i&&i,c=e.icon,l=void 0===c?"menu":c,u=e.label,d=e.popoverProps,h=e.toggleProps,f=e.menuProps,b=e.menuLabel,v=e.position;if(b&&N()("`menuLabel` prop in `DropdownComponent`",{alternative:"`menuProps` object and its `aria-label` property",plugin:"Gutenberg"}),v&&N()("`position` prop in `DropdownComponent`",{alternative:"`popoverProps` object and its `position` property",plugin:"Gutenberg"}),Object(w.isEmpty)(a)&&!Object(w.isFunction)(n))return null;Object(w.isEmpty)(a)||(t=a,Array.isArray(t[0])||(t=[t]));var y=Tt({className:"components-dropdown-menu__popover",position:v},d);return Object(o.createElement)(xe,{className:p()("components-dropdown-menu",r),popoverProps:y,renderToggle:function(e){var t=e.isOpen,n=e.onToggle,r=Tt({className:p()("components-dropdown-menu__toggle",{"is-opened":t}),tooltip:u},h);return Object(o.createElement)(te,Object(T.a)({},r,{icon:l,onClick:n,onKeyDown:function(e){t||e.keyCode!==D.DOWN||(e.preventDefault(),e.stopPropagation(),n())},"aria-haspopup":"true","aria-expanded":t,label:u}),(!l||s)&&Object(o.createElement)("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(e){var r=Tt({"aria-label":b||u,className:"components-dropdown-menu__menu"},f);return Object(o.createElement)(Pt,Object(T.a)({},r,{role:"menu"}),Object(w.isFunction)(n)?n(e):null,Object(w.flatMap)(t,(function(t,n){return t.map((function(t,r){return Object(o.createElement)(te,{key:[n,r].join(),onClick:function(n){n.stopPropagation(),e.onClose(),t.onClick&&t.onClick()},className:p()("components-dropdown-menu__menu-item",{"has-separator":n>0&&0===r,"is-active":t.isActive}),icon:t.icon,role:"menuitem",disabled:t.isDisabled},t.title)}))})))}})};var It=Object(o.forwardRef)((function(e,t){var n=e.href,r=e.children,a=e.className,i=e.rel,s=void 0===i?"":i,c=Object(P.a)(e,["href","children","className","rel"]);s=Object(w.uniq)(Object(w.compact)([].concat(Object(_.a)(s.split(" ")),["external","noreferrer","noopener"]))).join(" ");var l=p()("components-external-link",a);return(Object(o.createElement)("a",Object(T.a)({},c,{className:l,href:n,target:"_blank",rel:s,ref:t}),r,Object(o.createElement)("span",{className:"screen-reader-text"},Object(S.__)("(opens in a new tab)")),Object(o.createElement)(J,{icon:"external",className:"components-external-link__icon"})))})),xt=function(e){function t(e){var n;return Object(v.a)(this,t),(n=Object(y.a)(this,Object(m.a)(t).call(this,e))).onMouseMove=n.onMouseMove.bind(Object(g.a)(n)),n.state={isDragging:!1,bounds:{},percentages:e.value},n.containerRef=Object(o.createRef)(),n.imageRef=Object(o.createRef)(),n.horizontalPositionChanged=n.horizontalPositionChanged.bind(Object(g.a)(n)),n.verticalPositionChanged=n.verticalPositionChanged.bind(Object(g.a)(n)),n.onLoad=n.onLoad.bind(Object(g.a)(n)),n}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentDidUpdate",value:function(e){e.url!==this.props.url&&this.setState({isDragging:!1})}},{key:"calculateBounds",value:function(){var e={top:0,left:0,bottom:0,right:0,width:0,height:0};if(!this.imageRef.current)return e;var t=this.imageRef.current.clientWidth,n=this.imageRef.current.clientHeight,r=this.pickerDimensions(),o=r.width/t,a=r.height/n;return a>=o?(e.width=e.right=r.width,e.height=n*o,e.top=(r.height-e.height)/2,e.bottom=e.top+e.height):(e.height=e.bottom=r.height,e.width=t*a,e.left=(r.width-e.width)/2,e.right=e.left+e.width),e}},{key:"onLoad",value:function(){this.setState({bounds:this.calculateBounds()})}},{key:"onMouseMove",value:function(e){var t=this.state,n=t.isDragging,r=t.bounds,o=this.props.onChange;if(n){var a=this.pickerDimensions(),i={left:e.pageX-a.left,top:e.pageY-a.top},s=Math.max(r.left,Math.min(i.left,r.right)),c=Math.max(r.top,Math.min(i.top,r.bottom)),l={x:(s-r.left)/(a.width-2*r.left),y:(c-r.top)/(a.height-2*r.top)};this.setState({percentages:l},(function(){o({x:this.state.percentages.x,y:this.state.percentages.y})}))}}},{key:"fractionToPercentage",value:function(e){return Math.round(100*e)}},{key:"horizontalPositionChanged",value:function(e){this.positionChangeFromTextControl("x",e.target.value)}},{key:"verticalPositionChanged",value:function(e){this.positionChangeFromTextControl("y",e.target.value)}},{key:"positionChangeFromTextControl",value:function(e,t){var n=this.props.onChange,r=this.state.percentages,o=Math.max(Math.min(parseInt(t),100),0);r[e]=o?o/100:0,this.setState({percentages:r},(function(){n({x:this.state.percentages.x,y:this.state.percentages.y})}))}},{key:"pickerDimensions",value:function(){return this.containerRef.current?{width:this.containerRef.current.clientWidth,height:this.containerRef.current.clientHeight,top:this.containerRef.current.getBoundingClientRect().top+document.body.scrollTop,left:this.containerRef.current.getBoundingClientRect().left}:{width:0,height:0,left:0,top:0}}},{key:"handleFocusOutside",value:function(){this.setState({isDragging:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,r=t.url,a=t.value,i=t.label,c=t.help,l=t.className,d=this.state,h=d.bounds,f=d.isDragging,b=d.percentages,v=this.pickerDimensions(),y={left:a.x*(v.width-2*h.left)+h.left,top:a.y*(v.height-2*h.top)+h.top},m={left:"".concat(y.left,"px"),top:"".concat(y.top,"px")},g=p()("components-focal-point-picker__icon_container",f?"is-dragging":null),O="inspector-focal-point-picker-control-".concat(n),k="inspector-focal-point-picker-control-horizontal-position-".concat(n),_="inspector-focal-point-picker-control-vertical-position-".concat(n);return Object(o.createElement)(je,{label:i,id:O,help:c,className:l},Object(o.createElement)("div",{className:"components-focal-point-picker-wrapper"},Object(o.createElement)("div",{className:"components-focal-point-picker",onMouseDown:function(){return e.setState({isDragging:!0})},onDragStart:function(){return e.setState({isDragging:!0})},onMouseUp:function(){return e.setState({isDragging:!1})},onDrop:function(){return e.setState({isDragging:!1})},onMouseMove:this.onMouseMove,ref:this.containerRef,role:"button",tabIndex:"-1"},Object(o.createElement)("img",{alt:"Dimensions helper",onLoad:this.onLoad,ref:this.imageRef,src:r,draggable:"false"}),Object(o.createElement)("div",{className:g,style:m},Object(o.createElement)(u,{className:"components-focal-point-picker__icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},Object(o.createElement)(s,{className:"components-focal-point-picker__icon-outline",d:"M15 1C7.3 1 1 7.3 1 15s6.3 14 14 14 14-6.3 14-14S22.7 1 15 1zm0 22c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"}),Object(o.createElement)(s,{className:"components-focal-point-picker__icon-fill",d:"M15 3C8.4 3 3 8.4 3 15s5.4 12 12 12 12-5.4 12-12S21.6 3 15 3zm0 22C9.5 25 5 20.5 5 15S9.5 5 15 5s10 4.5 10 10-4.5 10-10 10z"}))))),Object(o.createElement)("div",{className:"components-focal-point-picker_position-display-container"},Object(o.createElement)(je,{label:Object(S.__)("Horizontal Pos."),id:k},Object(o.createElement)("input",{className:"components-text-control__input",id:k,max:100,min:0,onChange:this.horizontalPositionChanged,type:"number",value:this.fractionToPercentage(b.x)}),Object(o.createElement)("span",null,"%")),Object(o.createElement)(je,{label:Object(S.__)("Vertical Pos."),id:_},Object(o.createElement)("input",{className:"components-text-control__input",id:_,max:100,min:0,onChange:this.verticalPositionChanged,type:"number",value:this.fractionToPercentage(b.y)}),Object(o.createElement)("span",null,"%"))))}}]),t}(o.Component);xt.defaultProps={url:null,value:{x:.5,y:.5},onChange:function(){}};var Nt=Object(M.compose)([M.withInstanceId,G])(xt),At=window.FocusEvent,Ht=function(e){function t(e){var n;return Object(v.a)(this,t),(n=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).checkFocus=n.checkFocus.bind(Object(g.a)(n)),n.node=e.iframeRef||Object(o.createRef)(),n}return Object(k.a)(t,e),Object(O.a)(t,[{key:"checkFocus",value:function(){var e=this.node.current;if(document.activeElement===e){var t=new At("focus",{bubbles:!0});e.dispatchEvent(t);var n=this.props.onFocus;n&&n(t)}}},{key:"render",value:function(){return Object(o.createElement)("iframe",Object(T.a)({ref:this.node},Object(w.omit)(this.props,["iframeRef","onFocus"])))}}]),t}(o.Component),Rt=Object(M.withGlobalEvents)({blur:"checkFocus"})(Ht);var Lt=Object(M.compose)([M.withInstanceId,Object(M.withState)({currentInput:null})])((function(e){var t=e.className,n=e.currentInput,r=e.label,a=e.value,i=e.instanceId,s=e.onChange,c=e.beforeIcon,l=e.afterIcon,u=e.help,d=e.allowReset,h=e.initialPosition,f=e.min,b=e.max,v=e.setState,y=Object(P.a)(e,["className","currentInput","label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset","initialPosition","min","max","setState"]),m="inspector-range-control-".concat(i),g=null===n?a:n,O=function(){null!==n&&v({currentInput:null})},k=function(e){var t=e.target.value;e.target.checkValidity()?(O(),s(""===t?void 0:parseFloat(t))):v({currentInput:t})},_=Object(w.isFinite)(g)?g:h||"";return Object(o.createElement)(je,{label:r,id:m,help:u,className:p()("components-range-control",t)},c&&Object(o.createElement)(J,{icon:c}),Object(o.createElement)("input",Object(T.a)({className:"components-range-control__slider",id:m,type:"range",value:_,onChange:k,"aria-describedby":u?m+"__help":void 0,min:f,max:b},y)),l&&Object(o.createElement)(J,{icon:l}),Object(o.createElement)("input",Object(T.a)({className:"components-range-control__number",type:"number",onChange:k,"aria-label":r,value:g,min:f,max:b,onBlur:O},y)),d&&Object(o.createElement)(E,{onClick:function(){O(),s()},disabled:void 0===a,isSmall:!0,isDefault:!0,className:"components-range-control__reset"},Object(S.__)("Reset")))}));var Ft=Object(M.withInstanceId)((function(e){var t=e.help,n=e.instanceId,r=e.label,a=e.multiple,i=void 0!==a&&a,s=e.onChange,c=e.options,l=void 0===c?[]:c,u=e.className,d=e.hideLabelFromVision,h=Object(P.a)(e,["help","instanceId","label","multiple","onChange","options","className","hideLabelFromVision"]),f="inspector-select-control-".concat(n);return!Object(w.isEmpty)(l)&&Object(o.createElement)(je,{label:r,hideLabelFromVision:d,id:f,help:t,className:u},Object(o.createElement)("select",Object(T.a)({id:f,className:"components-select-control__input",onChange:function(e){if(i){var t=Object(_.a)(e.target.options).filter((function(e){return e.selected})).map((function(e){return e.value}));s(t)}else s(e.target.value)},"aria-describedby":t?"".concat(f,"__help"):void 0,multiple:i},h),l.map((function(e,t){return Object(o.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value,disabled:e.disabled},e.label)}))))}));function Vt(e,t){if(t){var n=e.find((function(e){return e.size===t}));return n?n.slug:"custom"}return"normal"}var Bt=function(e){var t,n=e.fallbackFontSize,r=e.fontSizes,a=void 0===r?[]:r,i=e.disableCustomFontSizes,s=void 0!==i&&i,c=e.onChange,l=e.value,u=e.withSlider,d=void 0!==u&&u,f=Object(o.useState)(Vt(a,l)),p=Object(h.a)(f,2),b=p[0],v=p[1];return s&&!a.length?null:Object(o.createElement)("fieldset",null,Object(o.createElement)("legend",null,Object(S.__)("Font Size")),Object(o.createElement)("div",{className:"components-font-size-picker__controls"},a.length>0&&Object(o.createElement)(Ft,{className:"components-font-size-picker__select",label:"Choose preset",hideLabelFromVision:!0,value:b,onChange:function(e){v(e);var t=a.find((function(t){return t.slug===e}));t&&c(t.size)},options:(t=a,[].concat(Object(_.a)(t.map((function(e){return{value:e.slug,label:e.name}}))),[{value:"custom",label:Object(S.__)("Custom")}]))}),!d&&!s&&Object(o.createElement)("input",{className:"components-range-control__number",type:"number",onChange:function(e){var t=e.target.value;v(Vt(a,Number(t))),c(""!==t?Number(t):void 0)},"aria-label":Object(S.__)("Custom"),value:l||""}),Object(o.createElement)(E,{className:"components-color-palette__clear",type:"button",disabled:void 0===l,onClick:function(){c(void 0),v(Vt(a,void 0))},isSmall:!0,isDefault:!0},Object(S.__)("Reset"))),d&&Object(o.createElement)(Lt,{className:"components-font-size-picker__custom-input",label:Object(S.__)("Custom Size"),value:l||"",initialPosition:n,onChange:c,min:12,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}))},Kt=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).openFileDialog=e.openFileDialog.bind(Object(g.a)(e)),e.bindInput=e.bindInput.bind(Object(g.a)(e)),e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"openFileDialog",value:function(){this.input.click()}},{key:"bindInput",value:function(e){this.input=e}},{key:"render",value:function(){var e=this.props,t=e.accept,n=e.children,r=e.icon,a=void 0===r?"upload":r,i=e.multiple,s=void 0!==i&&i,c=e.onChange,l=e.render,u=Object(P.a)(e,["accept","children","icon","multiple","onChange","render"]),d=l?l({openFileDialog:this.openFileDialog}):Object(o.createElement)(te,Object(T.a)({icon:a,onClick:this.openFileDialog},u),n);return Object(o.createElement)("div",{className:"components-form-file-upload"},d,Object(o.createElement)("input",{type:"file",ref:this.bindInput,multiple:s,style:{display:"none"},accept:t,onChange:c}))}}]),t}(o.Component);var Wt=function(e){var t=e.className,n=e.checked,r=e.id,a=e.onChange,i=void 0===a?w.noop:a,c=Object(P.a)(e,["className","checked","id","onChange"]),l=p()("components-form-toggle",t,{"is-checked":n});return Object(o.createElement)("span",{className:l},Object(o.createElement)("input",Object(T.a)({className:"components-form-toggle__input",id:r,type:"checkbox",checked:n,onChange:i},c)),Object(o.createElement)("span",{className:"components-form-toggle__track"}),Object(o.createElement)("span",{className:"components-form-toggle__thumb"}),n?Object(o.createElement)(u,{className:"components-form-toggle__on",width:"2",height:"6",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2 6"},Object(o.createElement)(s,{d:"M0 0h2v6H0z"})):Object(o.createElement)(u,{className:"components-form-toggle__off",width:"6",height:"6","aria-hidden":"true",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 6"},Object(o.createElement)(s,{d:"M3 1.5c.8 0 1.5.7 1.5 1.5S3.8 4.5 3 4.5 1.5 3.8 1.5 3 2.2 1.5 3 1.5M3 0C1.3 0 0 1.3 0 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3z"})))},$t=n(31);var Ut=Object(M.withInstanceId)((function(e){var t=e.value,n=e.status,r=e.title,a=e.displayTransform,i=e.isBorderless,s=void 0!==i&&i,c=e.disabled,l=void 0!==c&&c,u=e.onClickRemove,d=void 0===u?w.noop:u,h=e.onMouseEnter,f=e.onMouseLeave,b=e.messages,v=e.termPosition,y=e.termsCount,m=e.instanceId,g=p()("components-form-token-field__token",{"is-error":"error"===n,"is-success":"success"===n,"is-validating":"validating"===n,"is-borderless":s,"is-disabled":l}),O=a(t),k=Object(S.sprintf)(Object(S.__)("%1$s (%2$s of %3$s)"),O,v,y);return Object(o.createElement)("span",{className:g,onMouseEnter:h,onMouseLeave:f,title:r},Object(o.createElement)("span",{className:"components-form-token-field__token-text",id:"components-form-token-field__token-text-".concat(m)},Object(o.createElement)("span",{className:"screen-reader-text"},k),Object(o.createElement)("span",{"aria-hidden":"true"},O)),Object(o.createElement)(te,{className:"components-form-token-field__remove-token",icon:"dismiss",onClick:!l&&function(){return d({value:t})},label:b.remove,"aria-describedby":"components-form-token-field__token-text-".concat(m)}))})),Gt=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(g.a)(e)),e.bindInput=e.bindInput.bind(Object(g.a)(e)),e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"focus",value:function(){this.input.focus()}},{key:"hasFocus",value:function(){return this.input===document.activeElement}},{key:"bindInput",value:function(e){this.input=e}},{key:"onChange",value:function(e){this.props.onChange({value:e.target.value})}},{key:"render",value:function(){var e=this.props,t=e.value,n=e.isExpanded,r=e.instanceId,a=e.selectedSuggestionIndex,i=Object(P.a)(e,["value","isExpanded","instanceId","selectedSuggestionIndex"]),s=t.length+1;return Object(o.createElement)("input",Object(T.a)({ref:this.bindInput,id:"components-form-token-input-".concat(r),type:"text"},i,{value:t,onChange:this.onChange,size:s,className:"components-form-token-field__input",role:"combobox","aria-expanded":n,"aria-autocomplete":"list","aria-owns":n?"components-form-token-suggestions-".concat(r):void 0,"aria-activedescendant":-1!==a?"components-form-token-suggestions-".concat(r,"-").concat(a):void 0,"aria-describedby":"components-form-token-suggestions-howto-".concat(r)}))}}]),t}(o.Component),qt=n(67),Yt=n.n(qt),Zt=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).handleMouseDown=e.handleMouseDown.bind(Object(g.a)(e)),e.bindList=e.bindList.bind(Object(g.a)(e)),e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentDidUpdate",value:function(){var e=this;this.props.selectedIndex>-1&&this.props.scrollIntoView&&(this.scrollingIntoView=!0,Yt()(this.list.children[this.props.selectedIndex],this.list,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100))}},{key:"bindList",value:function(e){this.list=e}},{key:"handleHover",value:function(e){var t=this;return function(){t.scrollingIntoView||t.props.onHover(e)}}},{key:"handleClick",value:function(e){var t=this;return function(){t.props.onSelect(e)}}},{key:"handleMouseDown",value:function(e){e.preventDefault()}},{key:"computeSuggestionMatch",value:function(e){var t=this.props.displayTransform(this.props.match||"").toLocaleLowerCase();if(0===t.length)return null;var n=(e=this.props.displayTransform(e)).toLocaleLowerCase().indexOf(t);return{suggestionBeforeMatch:e.substring(0,n),suggestionMatch:e.substring(n,n+t.length),suggestionAfterMatch:e.substring(n+t.length)}}},{key:"render",value:function(){var e=this;return Object(o.createElement)("ul",{ref:this.bindList,className:"components-form-token-field__suggestions-list",id:"components-form-token-suggestions-".concat(this.props.instanceId),role:"listbox"},Object(w.map)(this.props.suggestions,(function(t,n){var r=e.computeSuggestionMatch(t),a=p()("components-form-token-field__suggestion",{"is-selected":n===e.props.selectedIndex});return Object(o.createElement)("li",{id:"components-form-token-suggestions-".concat(e.props.instanceId,"-").concat(n),role:"option",className:a,key:t,onMouseDown:e.handleMouseDown,onClick:e.handleClick(t),onMouseEnter:e.handleHover(t),"aria-selected":n===e.props.selectedIndex},r?Object(o.createElement)("span",{"aria-label":e.props.displayTransform(t)},r.suggestionBeforeMatch,Object(o.createElement)("strong",{className:"components-form-token-field__suggestion-match"},r.suggestionMatch),r.suggestionAfterMatch):e.props.displayTransform(t))})))}}]),t}(o.Component);Zt.defaultProps={match:"",onHover:function(){},onSelect:function(){},suggestions:Object.freeze([])};var Xt=Object(M.withSafeTimeout)(Zt),Qt={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1},Jt=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).state=Qt,e.onKeyDown=e.onKeyDown.bind(Object(g.a)(e)),e.onKeyPress=e.onKeyPress.bind(Object(g.a)(e)),e.onFocus=e.onFocus.bind(Object(g.a)(e)),e.onBlur=e.onBlur.bind(Object(g.a)(e)),e.deleteTokenBeforeInput=e.deleteTokenBeforeInput.bind(Object(g.a)(e)),e.deleteTokenAfterInput=e.deleteTokenAfterInput.bind(Object(g.a)(e)),e.addCurrentToken=e.addCurrentToken.bind(Object(g.a)(e)),e.onContainerTouched=e.onContainerTouched.bind(Object(g.a)(e)),e.renderToken=e.renderToken.bind(Object(g.a)(e)),e.onTokenClickRemove=e.onTokenClickRemove.bind(Object(g.a)(e)),e.onSuggestionHovered=e.onSuggestionHovered.bind(Object(g.a)(e)),e.onSuggestionSelected=e.onSuggestionSelected.bind(Object(g.a)(e)),e.onInputChange=e.onInputChange.bind(Object(g.a)(e)),e.bindInput=e.bindInput.bind(Object(g.a)(e)),e.bindTokensAndInput=e.bindTokensAndInput.bind(Object(g.a)(e)),e.updateSuggestions=e.updateSuggestions.bind(Object(g.a)(e)),e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentDidUpdate",value:function(e){this.state.isActive&&!this.input.hasFocus()&&this.input.focus();var t=this.props,n=t.suggestions,r=t.value,o=!I()(n,e.suggestions);(o||r!==e.value)&&this.updateSuggestions(o)}},{key:"bindInput",value:function(e){this.input=e}},{key:"bindTokensAndInput",value:function(e){this.tokensAndInput=e}},{key:"onFocus",value:function(e){this.input.hasFocus()||e.target===this.tokensAndInput?this.setState({isActive:!0}):this.setState({isActive:!1}),"function"==typeof this.props.onFocus&&this.props.onFocus(e)}},{key:"onBlur",value:function(){this.inputHasValidValue()?this.setState({isActive:!1}):this.setState(Qt)}},{key:"onKeyDown",value:function(e){var t=!1;switch(e.keyCode){case D.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case D.ENTER:t=this.addCurrentToken();break;case D.LEFT:t=this.handleLeftArrowKey();break;case D.UP:t=this.handleUpArrowKey();break;case D.RIGHT:t=this.handleRightArrowKey();break;case D.DOWN:t=this.handleDownArrowKey();break;case D.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case D.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case D.ESCAPE:t=this.handleEscapeKey(e),e.stopPropagation()}t&&e.preventDefault()}},{key:"onKeyPress",value:function(e){var t=!1;switch(e.charCode){case 44:t=this.handleCommaKey()}t&&e.preventDefault()}},{key:"onContainerTouched",value:function(e){e.target===this.tokensAndInput&&this.state.isActive&&e.preventDefault()}},{key:"onTokenClickRemove",value:function(e){this.deleteToken(e.value),this.input.focus()}},{key:"onSuggestionHovered",value:function(e){var t=this.getMatchingSuggestions().indexOf(e);t>=0&&this.setState({selectedSuggestionIndex:t,selectedSuggestionScroll:!1})}},{key:"onSuggestionSelected",value:function(e){this.addNewToken(e)}},{key:"onInputChange",value:function(e){var t=e.value,n=this.props.tokenizeOnSpace?/[ ,\t]+/:/[,\t]+/,r=t.split(n),o=Object(w.last)(r)||"";r.length>1&&this.addNewTokens(r.slice(0,-1)),this.setState({incompleteTokenValue:o},this.updateSuggestions),this.props.onInputChange(o)}},{key:"handleDeleteKey",value:function(e){var t=!1;return this.input.hasFocus()&&this.isInputEmpty()&&(e(),t=!0),t}},{key:"handleLeftArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputBeforePreviousToken(),e=!0),e}},{key:"handleRightArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputAfterNextToken(),e=!0),e}},{key:"handleUpArrowKey",value:function(){var e=this;return this.setState((function(t,n){return{selectedSuggestionIndex:(0===t.selectedSuggestionIndex?e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length:t.selectedSuggestionIndex)-1,selectedSuggestionScroll:!0}})),!0}},{key:"handleDownArrowKey",value:function(){var e=this;return this.setState((function(t,n){return{selectedSuggestionIndex:(t.selectedSuggestionIndex+1)%e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length,selectedSuggestionScroll:!0}})),!0}},{key:"handleEscapeKey",value:function(e){return this.setState({incompleteTokenValue:e.target.value,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1}),!0}},{key:"handleCommaKey",value:function(){return this.inputHasValidValue()&&this.addNewToken(this.state.incompleteTokenValue),!0}},{key:"moveInputToIndex",value:function(e){this.setState((function(t,n){return{inputOffsetFromEnd:n.value.length-Math.max(e,-1)-1}}))}},{key:"moveInputBeforePreviousToken",value:function(){this.setState((function(e,t){return{inputOffsetFromEnd:Math.min(e.inputOffsetFromEnd+1,t.value.length)}}))}},{key:"moveInputAfterNextToken",value:function(){this.setState((function(e){return{inputOffsetFromEnd:Math.max(e.inputOffsetFromEnd-1,0)}}))}},{key:"deleteTokenBeforeInput",value:function(){var e=this.getIndexOfInput()-1;e>-1&&this.deleteToken(this.props.value[e])}},{key:"deleteTokenAfterInput",value:function(){var e=this.getIndexOfInput();e0){var r=Object(w.clone)(this.props.value);r.splice.apply(r,[this.getIndexOfInput(),0].concat(n)),this.props.onChange(r)}}},{key:"addNewToken",value:function(e){this.addNewTokens([e]),this.props.speak(this.props.messages.added,"assertive"),this.setState({incompleteTokenValue:"",selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.state.isActive&&this.input.focus()}},{key:"deleteToken",value:function(e){var t=this,n=this.props.value.filter((function(n){return t.getTokenValue(n)!==t.getTokenValue(e)}));this.props.onChange(n),this.props.speak(this.props.messages.removed,"assertive")}},{key:"getTokenValue",value:function(e){return"object"===Object($t.a)(e)?e.value:e}},{key:"getMatchingSuggestions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.incompleteTokenValue,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.suggestions,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.value,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.maxSuggestions,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.props.saveTransform,a=o(e),i=[],s=[];return 0===a.length?t=Object(w.difference)(t,n):(a=a.toLocaleLowerCase(),Object(w.each)(t,(function(e){var t=e.toLocaleLowerCase().indexOf(a);-1===n.indexOf(e)&&(0===t?i.push(e):t>0&&s.push(e))})),t=i.concat(s)),Object(w.take)(t,r)}},{key:"getSelectedSuggestion",value:function(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}},{key:"valueContainsToken",value:function(e){var t=this;return Object(w.some)(this.props.value,(function(n){return t.getTokenValue(e)===t.getTokenValue(n)}))}},{key:"getIndexOfInput",value:function(){return this.props.value.length-this.state.inputOffsetFromEnd}},{key:"isInputEmpty",value:function(){return 0===this.state.incompleteTokenValue.length}},{key:"inputHasValidValue",value:function(){return this.props.saveTransform(this.state.incompleteTokenValue).length>0}},{key:"updateSuggestions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.state.incompleteTokenValue,n=t.trim().length>1,r=this.getMatchingSuggestions(t),o=r.length>0,a={isExpanded:n&&o};if(e&&(a.selectedSuggestionIndex=-1,a.selectedSuggestionScroll=!1),this.setState(a),n){var i=this.props.debouncedSpeak,s=o?Object(S.sprintf)(Object(S._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",r.length),r.length):Object(S.__)("No results.");i(s,"assertive")}}},{key:"renderTokensAndInput",value:function(){var e=Object(w.map)(this.props.value,this.renderToken);return e.splice(this.getIndexOfInput(),0,this.renderInput()),e}},{key:"renderToken",value:function(e,t,n){var r=this.getTokenValue(e),a=e.status?e.status:void 0,i=t+1,s=n.length;return Object(o.createElement)(Ut,{key:"token-"+r,value:r,status:a,title:e.title,displayTransform:this.props.displayTransform,onClickRemove:this.onTokenClickRemove,isBorderless:e.isBorderless||this.props.isBorderless,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,disabled:"error"!==a&&this.props.disabled,messages:this.props.messages,termsCount:s,termPosition:i})}},{key:"renderInput",value:function(){var e=this.props,t=e.autoCapitalize,n=e.autoComplete,a=e.maxLength,i=e.value,s={instanceId:e.instanceId,autoCapitalize:t,autoComplete:n,ref:this.bindInput,key:"input",disabled:this.props.disabled,value:this.state.incompleteTokenValue,onBlur:this.onBlur,isExpanded:this.state.isExpanded,selectedSuggestionIndex:this.state.selectedSuggestionIndex};return a&&i.length>=a||(s=Object(r.a)({},s,{onChange:this.onInputChange})),Object(o.createElement)(Gt,s)}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.label,r=void 0===n?Object(S.__)("Add item"):n,a=e.instanceId,i=e.className,s=this.state.isExpanded,c=p()(i,"components-form-token-field__input-container",{"is-active":this.state.isActive,"is-disabled":t}),l={className:"components-form-token-field",tabIndex:"-1"},u=this.getMatchingSuggestions();return t||(l=Object.assign({},l,{onKeyDown:this.onKeyDown,onKeyPress:this.onKeyPress,onFocus:this.onFocus})),Object(o.createElement)("div",l,Object(o.createElement)("label",{htmlFor:"components-form-token-input-".concat(a),className:"components-form-token-field__label"},r),Object(o.createElement)("div",{ref:this.bindTokensAndInput,className:c,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),s&&Object(o.createElement)(Xt,{instanceId:a,match:this.props.saveTransform(this.state.incompleteTokenValue),displayTransform:this.props.displayTransform,suggestions:u,selectedIndex:this.state.selectedSuggestionIndex,scrollIntoView:this.state.selectedSuggestionScroll,onHover:this.onSuggestionHovered,onSelect:this.onSuggestionSelected})),Object(o.createElement)("p",{id:"components-form-token-suggestions-howto-".concat(a),className:"components-form-token-field__help"},this.props.tokenizeOnSpace?Object(S.__)("Separate with commas, spaces, or the Enter key."):Object(S.__)("Separate with commas or the Enter key.")))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.disabled&&t.isActive?{isActive:!1,incompleteTokenValue:""}:null}}]),t}(o.Component);Jt.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:w.identity,saveTransform:function(e){return e.trim()},onChange:function(){},onInputChange:function(){},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:Object(S.__)("Item added."),removed:Object(S.__)("Item removed."),remove:Object(S.__)("Remove item")}};var en=ke(Object(M.withInstanceId)(Jt));var tn=Object(M.withInstanceId)((function(e){var t=e.children,n=e.className,r=void 0===n?"":n,a=e.instanceId,i=e.label;if(!o.Children.count(t))return null;var s="components-menu-group-label-".concat(a),c=p()(r,"components-menu-group");return Object(o.createElement)("div",{className:c},i&&Object(o.createElement)("div",{className:"components-menu-group__label",id:s,"aria-hidden":"true"},i),Object(o.createElement)("div",{role:"group","aria-labelledby":i?s:null},t))}));var nn=function(e){var t=e.children,n=e.info,r=e.className,a=e.icon,i=e.shortcut,s=e.isSelected,c=e.role,l=void 0===c?"menuitem":c,u=Object(P.a)(e,["children","info","className","icon","shortcut","isSelected","role"]);return r=p()("components-menu-item__button",r,{"has-icon":a}),n&&(t=Object(o.createElement)("span",{className:"components-menu-item__info-wrapper"},t,Object(o.createElement)("span",{className:"components-menu-item__info"},n))),a&&!Object(w.isString)(a)&&(a=Object(o.cloneElement)(a,{className:"components-menu-items__item-icon",height:20,width:20})),Object(o.createElement)(te,Object(T.a)({icon:a,"aria-checked":"menuitemcheckbox"===l||"menuitemradio"===l?s:void 0,role:l,className:r},u),t,Object(o.createElement)(Z,{className:"components-menu-item__shortcut",shortcut:i}))};function rn(e){var t=e.choices,n=void 0===t?[]:t,r=e.onSelect,a=e.value;return n.map((function(e){var t=a===e.value;return Object(o.createElement)(nn,{key:e.value,role:"menuitemradio",icon:t&&"yes",isSelected:t,shortcut:e.shortcut,onClick:function(){t||r(e.value)}},e.label)}))}var on=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).containerRef=Object(o.createRef)(),e.handleKeyDown=e.handleKeyDown.bind(Object(g.a)(e)),e.handleFocusOutside=e.handleFocusOutside.bind(Object(g.a)(e)),e.focusFirstTabbable=e.focusFirstTabbable.bind(Object(g.a)(e)),e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusFirstTabbable()}},{key:"focusFirstTabbable",value:function(){var e=C.focus.tabbable.find(this.containerRef.current);e.length&&e[0].focus()}},{key:"handleFocusOutside",value:function(e){this.props.shouldCloseOnClickOutside&&this.onRequestClose(e)}},{key:"handleKeyDown",value:function(e){e.keyCode===D.ESCAPE&&this.handleEscapeKeyDown(e)}},{key:"handleEscapeKeyDown",value:function(e){this.props.shouldCloseOnEsc&&(e.stopPropagation(),this.onRequestClose(e))}},{key:"onRequestClose",value:function(e){var t=this.props.onRequestClose;t&&t(e)}},{key:"render",value:function(){var e=this.props,t=e.overlayClassName,n=e.contentLabel,r=e.aria,a=r.describedby,i=r.labelledby,s=e.children,c=e.className,l=e.role,u=e.style;return Object(o.createElement)(re,{className:p()("components-modal__screen-overlay",t),onKeyDown:this.handleKeyDown},Object(o.createElement)("div",{className:p()("components-modal__frame",c),style:u,ref:this.containerRef,role:l,"aria-label":n,"aria-labelledby":n?null:i,"aria-describedby":a,tabIndex:"-1"},s))}}]),t}(o.Component),an=Object(M.compose)([W,$,G])(on),sn=function(e){var t=e.icon,n=e.title,r=e.onClose,a=e.closeLabel,i=e.headingId,s=e.isDismissable,c=a||Object(S.__)("Close dialog");return Object(o.createElement)("div",{className:"components-modal__header"},Object(o.createElement)("div",{className:"components-modal__header-heading-container"},t&&Object(o.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},t),n&&Object(o.createElement)("h1",{id:i,className:"components-modal__header-heading"},n)),s&&Object(o.createElement)(te,{onClick:r,icon:"no-alt",label:c}))},cn=new Set(["alert","status","log","marquee","timer"]),ln=[],un=!1;function dn(e){if(!un){var t=document.body.children;Object(w.forEach)(t,(function(t){t!==e&&function(e){var t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||cn.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),ln.push(t))})),un=!0}}var hn,fn=0,pn=function(e){function t(e){var n;return Object(v.a)(this,t),(n=Object(y.a)(this,Object(m.a)(t).call(this,e))).prepareDOM(),n}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentDidMount",value:function(){1===++fn&&this.openFirstModal()}},{key:"componentWillUnmount",value:function(){0===--fn&&this.closeLastModal(),this.cleanDOM()}},{key:"prepareDOM",value:function(){hn||(hn=document.createElement("div"),document.body.appendChild(hn)),this.node=document.createElement("div"),hn.appendChild(this.node)}},{key:"cleanDOM",value:function(){hn.removeChild(this.node)}},{key:"openFirstModal",value:function(){dn(hn),document.body.classList.add(this.props.bodyOpenClassName)}},{key:"closeLastModal",value:function(){document.body.classList.remove(this.props.bodyOpenClassName),un&&(Object(w.forEach)(ln,(function(e){e.removeAttribute("aria-hidden")})),ln=[],un=!1)}},{key:"render",value:function(){var e=this.props,t=e.onRequestClose,n=e.title,r=e.icon,a=e.closeButtonLabel,i=e.children,s=e.aria,c=e.instanceId,l=e.isDismissable,u=Object(P.a)(e,["onRequestClose","title","icon","closeButtonLabel","children","aria","instanceId","isDismissable"]),d=s.labelledby||"components-modal-header-".concat(c);return Object(o.createPortal)(Object(o.createElement)(an,Object(T.a)({onRequestClose:t,aria:{labelledby:n?d:null,describedby:s.describedby}},u),Object(o.createElement)("div",{className:"components-modal__content",tabIndex:"0"},Object(o.createElement)(sn,{closeLabel:a,headingId:d,icon:r,isDismissable:l,onClose:t,title:n}),i)),this.node)}}]),t}(o.Component);pn.defaultProps={bodyOpenClassName:"modal-open",role:"dialog",title:null,focusOnMount:!0,shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissable:!0,aria:{labelledby:null,describedby:null}};var bn=Object(M.withInstanceId)(pn);var vn=function(e){var t=e.className,n=e.status,r=e.children,a=e.onRemove,i=void 0===a?w.noop:a,s=e.isDismissible,c=void 0===s||s,l=e.actions,u=void 0===l?[]:l,d=e.__unstableHTML,h=p()(t,"components-notice","is-"+n,{"is-dismissible":c});return d&&(r=Object(o.createElement)(o.RawHTML,null,r)),Object(o.createElement)("div",{className:h},Object(o.createElement)("div",{className:"components-notice__content"},r,u.map((function(e,t){var n=e.className,r=e.label,a=e.noDefaultClasses,i=void 0!==a&&a,s=e.onClick,c=e.url;return Object(o.createElement)(E,{key:t,href:c,isDefault:!i&&!c,isLink:!i&&!!c,onClick:c?void 0:s,className:p()("components-notice__action",n)},r)}))),c&&Object(o.createElement)(te,{className:"components-notice__dismiss",icon:"no-alt",label:Object(S.__)("Dismiss this notice"),onClick:i,tooltip:!1}))};var yn=function(e){var t=e.notices,n=e.onRemove,r=void 0===n?w.noop:n,a=e.className,i=e.children;return a=p()("components-notice-list",a),Object(o.createElement)("div",{className:a},i,Object(_.a)(t).reverse().map((function(e){return Object(o.createElement)(vn,Object(T.a)({},Object(w.omit)(e,["content"]),{key:e.id,onRemove:(t=e.id,function(){return r(t)})}),e.content);var t})))};var mn=function(e){var t=e.label,n=e.children;return Object(o.createElement)("div",{className:"components-panel__header"},t&&Object(o.createElement)("h2",null,t),n)};var gn=function(e){var t=e.header,n=e.className,r=e.children,a=p()(n,"components-panel");return Object(o.createElement)("div",{className:a},t&&Object(o.createElement)(mn,{label:t}),r)},On=function(e){function t(e){var n;return Object(v.a)(this,t),(n=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).state={opened:void 0===e.initialOpen||e.initialOpen},n.toggle=n.toggle.bind(Object(g.a)(n)),n}return Object(k.a)(t,e),Object(O.a)(t,[{key:"toggle",value:function(e){e.preventDefault(),void 0===this.props.opened&&this.setState((function(e){return{opened:!e.opened}})),this.props.onToggle&&this.props.onToggle()}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.children,r=e.opened,a=e.className,c=e.icon,l=e.forwardedRef,d=void 0===r?this.state.opened:r,h=p()("components-panel__body",a,{"is-opened":d});return Object(o.createElement)("div",{className:h,ref:l},!!t&&Object(o.createElement)("h2",{className:"components-panel__body-title"},Object(o.createElement)(E,{className:"components-panel__body-toggle",onClick:this.toggle,"aria-expanded":d},Object(o.createElement)("span",{"aria-hidden":"true"},d?Object(o.createElement)(u,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(i,null,Object(o.createElement)(s,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(o.createElement)(i,null,Object(o.createElement)(s,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"}))):Object(o.createElement)(u,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(i,null,Object(o.createElement)(s,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(o.createElement)(i,null,Object(o.createElement)(s,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})))),t,c&&Object(o.createElement)(ee,{icon:c,className:"components-panel__icon",size:20}))),d&&n)}}]),t}(o.Component),kn=function(e,t){return Object(o.createElement)(On,Object(T.a)({},e,{forwardedRef:t}))};kn.displayName="PanelBody";var _n=Object(o.forwardRef)(kn);var wn=function(e){var t=e.className,n=e.children,r=p()("components-panel__row",t);return Object(o.createElement)("div",{className:r},n)};var Dn=function(e){var t=e.icon,n=e.children,r=e.label,a=e.instructions,i=e.className,s=e.notices,c=e.preview,l=e.isColumnLayout,u=Object(P.a)(e,["icon","children","label","instructions","className","notices","preview","isColumnLayout"]),d=p()("components-placeholder",i),h=p()("components-placeholder__fieldset",{"is-column-layout":l});return Object(o.createElement)("div",Object(T.a)({},u,{className:d}),s,c&&Object(o.createElement)("div",{className:"components-placeholder__preview"},c),Object(o.createElement)("div",{className:"components-placeholder__label"},Object(w.isString)(t)?Object(o.createElement)(J,{icon:t}):t,r),!!a&&Object(o.createElement)("div",{className:"components-placeholder__instructions"},a),Object(o.createElement)("div",{className:h},n))};function Sn(e){var t=e.label,n=e.noOptionLabel,r=e.onChange,a=e.selectedId,i=e.tree,s=Object(P.a)(e,["label","noOptionLabel","onChange","selectedId","tree"]),c=Object(w.compact)([n&&{value:"",label:n}].concat(Object(_.a)(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object(w.flatMap)(t,(function(t){return[{value:t.id,label:Object(w.repeat)(" ",3*n)+Object(w.unescape)(t.name)}].concat(Object(_.a)(e(t.children||[],n+1)))}))}(i))));return Object(o.createElement)(Ft,Object(T.a)({label:t,options:c,onChange:r},{value:a},s))}function Mn(e){var t,n,a=e.label,i=e.noOptionLabel,s=e.categoriesList,c=e.selectedCategoryId,l=e.onChange,u=(t=s.map((function(e){return Object(r.a)({children:[],parent:null},e)})),(n=Object(w.groupBy)(t,"parent")).null&&n.null.length?t:function e(t){return t.map((function(t){var o=n[t.id];return Object(r.a)({},t,{children:o&&o.length?e(o):[]})}))}(n[0]||[]));return Object(o.createElement)(Sn,Object(T.a)({label:a,noOptionLabel:i,onChange:l},{tree:u,selectedId:c}))}var jn=1,Cn=100;function Pn(e){var t=e.categoriesList,n=e.selectedCategoryId,r=e.numberOfItems,a=e.order,i=e.orderBy,s=e.maxItems,c=void 0===s?Cn:s,l=e.minItems,u=void 0===l?jn:l,d=e.onCategoryChange,f=e.onNumberOfItemsChange,p=e.onOrderChange,b=e.onOrderByChange;return[p&&b&&Object(o.createElement)(Ft,{key:"query-controls-order-select",label:Object(S.__)("Order by"),value:"".concat(i,"/").concat(a),options:[{label:Object(S.__)("Newest to Oldest"),value:"date/desc"},{label:Object(S.__)("Oldest to Newest"),value:"date/asc"},{label:Object(S.__)("A → Z"),value:"title/asc"},{label:Object(S.__)("Z → A"),value:"title/desc"}],onChange:function(e){var t=e.split("/"),n=Object(h.a)(t,2),r=n[0],o=n[1];o!==a&&p(o),r!==i&&b(r)}}),d&&Object(o.createElement)(Mn,{key:"query-controls-category-select",categoriesList:t,label:Object(S.__)("Category"),noOptionLabel:Object(S.__)("All"),selectedCategoryId:n,onChange:d}),f&&Object(o.createElement)(Lt,{key:"query-controls-range-control",label:Object(S.__)("Number of items"),value:r,onChange:f,min:u,max:c,required:!0})]}var En=Object(M.withInstanceId)((function(e){var t=e.label,n=e.className,r=e.selected,a=e.help,i=e.instanceId,s=e.onChange,c=e.options,l=void 0===c?[]:c,u="inspector-radio-control-".concat(i),d=function(e){return s(e.target.value)};return!Object(w.isEmpty)(l)&&Object(o.createElement)(je,{label:t,id:u,help:a,className:p()(n,"components-radio-control")},l.map((function(e,t){return Object(o.createElement)("div",{key:"".concat(u,"-").concat(t),className:"components-radio-control__option"},Object(o.createElement)("input",{id:"".concat(u,"-").concat(t),className:"components-radio-control__input",type:"radio",name:u,value:e.value,onChange:d,checked:e.value===r,"aria-describedby":a?"".concat(u,"__help"):void 0}),Object(o.createElement)("label",{htmlFor:"".concat(u,"-").concat(t)},e.label))})))})),Tn=n(226);var zn=function(e){var t=e.className,n=Object(P.a)(e,["className"]),r={width:null,height:null,top:null,right:null,bottom:null,left:null},a="components-resizable-box__handle",i="components-resizable-box__side-handle",s="components-resizable-box__corner-handle";return Object(o.createElement)(Tn.Resizable,Object(T.a)({className:p()("components-resizable-box__container",t),handleClasses:{top:p()(a,i,"components-resizable-box__handle-top"),right:p()(a,i,"components-resizable-box__handle-right"),bottom:p()(a,i,"components-resizable-box__handle-bottom"),left:p()(a,i,"components-resizable-box__handle-left"),topLeft:p()(a,s,"components-resizable-box__handle-top","components-resizable-box__handle-left"),topRight:p()(a,s,"components-resizable-box__handle-top","components-resizable-box__handle-right"),bottomRight:p()(a,s,"components-resizable-box__handle-bottom","components-resizable-box__handle-right"),bottomLeft:p()(a,s,"components-resizable-box__handle-bottom","components-resizable-box__handle-left")},handleStyles:{top:r,right:r,bottom:r,left:r,topLeft:r,topRight:r,bottomRight:r,bottomLeft:r}},n))};var In=function(e){var t=e.naturalWidth,n=e.naturalHeight,r=e.children,a=e.isInline,i=void 0!==a&&a;if(1!==o.Children.count(r))return null;var s={paddingBottom:n/t*100+"%"},c=i?"span":"div";return Object(o.createElement)(c,{className:"components-responsive-wrapper"},Object(o.createElement)(c,{style:s}),Object(o.cloneElement)(r,{className:p()("components-responsive-wrapper__content",r.props.className)}))},xn=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).trySandbox=e.trySandbox.bind(Object(g.a)(e)),e.checkMessageForResize=e.checkMessageForResize.bind(Object(g.a)(e)),e.iframe=Object(o.createRef)(),e.state={width:0,height:0},e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"componentDidMount",value:function(){this.trySandbox()}},{key:"componentDidUpdate",value:function(){this.trySandbox()}},{key:"isFrameAccessible",value:function(){try{return!!this.iframe.current.contentDocument.body}catch(e){return!1}}},{key:"checkMessageForResize",value:function(e){var t=this.iframe.current,n=e.data||{};if("string"==typeof n)try{n=JSON.parse(n)}catch(e){}if(t&&t.contentWindow===e.source){var r=n,o=r.action,a=r.width,i=r.height,s=this.state,c=s.width,l=s.height;"resize"!==o||c===a&&l===i||this.setState({width:a,height:i})}}},{key:"trySandbox",value:function(){if(this.isFrameAccessible()&&null===this.iframe.current.contentDocument.body.getAttribute("data-resizable-iframe-connected")){var e=Object(o.createElement)("html",{lang:document.documentElement.lang,className:this.props.type},Object(o.createElement)("head",null,Object(o.createElement)("title",null,this.props.title),Object(o.createElement)("style",{dangerouslySetInnerHTML:{__html:"\n\t\t\tbody {\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t\thtml,\n\t\t\tbody,\n\t\t\tbody > div,\n\t\t\tbody > div > iframe {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\thtml.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio > div,\n\t\t\tbody.wp-has-aspect-ratio > div > iframe {\n\t\t\t\theight: 100%;\n\t\t\t\toverflow: hidden; /* If it has an aspect ratio, it shouldn't scroll. */\n\t\t\t}\n\t\t\tbody > div > * {\n\t\t\t\tmargin-top: 0 !important; /* Has to have !important to override inline styles. */\n\t\t\t\tmargin-bottom: 0 !important;\n\t\t\t}\n\t\t"}}),this.props.styles&&this.props.styles.map((function(e,t){return Object(o.createElement)("style",{key:t,dangerouslySetInnerHTML:{__html:e}})}))),Object(o.createElement)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:this.props.type},Object(o.createElement)("div",{dangerouslySetInnerHTML:{__html:this.props.html}}),Object(o.createElement)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:"\n\t\t\t( function() {\n\t\t\t\tvar observer;\n\n\t\t\t\tif ( ! window.MutationObserver || ! document.body || ! window.parent ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tfunction sendResize() {\n\t\t\t\t\tvar clientBoundingRect = document.body.getBoundingClientRect();\n\n\t\t\t\t\twindow.parent.postMessage( {\n\t\t\t\t\t\taction: 'resize',\n\t\t\t\t\t\twidth: clientBoundingRect.width,\n\t\t\t\t\t\theight: clientBoundingRect.height,\n\t\t\t\t\t}, '*' );\n\t\t\t\t}\n\n\t\t\t\tobserver = new MutationObserver( sendResize );\n\t\t\t\tobserver.observe( document.body, {\n\t\t\t\t\tattributes: true,\n\t\t\t\t\tattributeOldValue: false,\n\t\t\t\t\tcharacterData: true,\n\t\t\t\t\tcharacterDataOldValue: false,\n\t\t\t\t\tchildList: true,\n\t\t\t\t\tsubtree: true\n\t\t\t\t} );\n\n\t\t\t\twindow.addEventListener( 'load', sendResize, true );\n\n\t\t\t\t// Hack: Remove viewport unit styles, as these are relative\n\t\t\t\t// the iframe root and interfere with our mechanism for\n\t\t\t\t// determining the unconstrained page bounds.\n\t\t\t\tfunction removeViewportStyles( ruleOrNode ) {\n\t\t\t\t\tif( ruleOrNode.style ) {\n\t\t\t\t\t\t[ 'width', 'height', 'minHeight', 'maxHeight' ].forEach( function( style ) {\n\t\t\t\t\t\t\tif ( /^\\d+(vmin|vmax|vh|vw)$/.test( ruleOrNode.style[ style ] ) ) {\n\t\t\t\t\t\t\t\truleOrNode.style[ style ] = '';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tArray.prototype.forEach.call( document.querySelectorAll( '[style]' ), removeViewportStyles );\n\t\t\t\tArray.prototype.forEach.call( document.styleSheets, function( stylesheet ) {\n\t\t\t\t\tArray.prototype.forEach.call( stylesheet.cssRules || stylesheet.rules, removeViewportStyles );\n\t\t\t\t} );\n\n\t\t\t\tdocument.body.style.position = 'absolute';\n\t\t\t\tdocument.body.style.width = '100%';\n\t\t\t\tdocument.body.setAttribute( 'data-resizable-iframe-connected', '' );\n\n\t\t\t\tsendResize();\n\n\t\t\t\t// Resize events can change the width of elements with 100% width, but we don't\n\t\t\t\t// get an DOM mutations for that, so do the resize when the window is resized, too.\n\t\t\t\twindow.addEventListener( 'resize', sendResize, true );\n\t\t} )();"}}),this.props.scripts&&this.props.scripts.map((function(e){return Object(o.createElement)("script",{key:e,src:e})})))),t=this.iframe.current.contentWindow.document;t.open(),t.write(""+Object(o.renderToString)(e)),t.close()}}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.onFocus;return Object(o.createElement)(Rt,{iframeRef:this.iframe,title:t,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onLoad:this.trySandbox,onFocus:n,width:Math.ceil(this.state.width),height:Math.ceil(this.state.height)})}}],[{key:"defaultProps",get:function(){return{html:"",title:""}}}]),t}(o.Component),Nn=xn=Object(M.withGlobalEvents)({message:"checkMessageForResize"})(xn),An=1e4;var Hn=Object(o.forwardRef)((function(e,t){var n=e.className,r=e.children,a=e.actions,i=void 0===a?[]:a,s=e.onRemove,c=void 0===s?w.noop:s;Object(o.useEffect)((function(){var e=setTimeout((function(){c()}),An);return function(){return clearTimeout(e)}}),[]);var l=p()(n,"components-snackbar");return i&&i.length>1&&(console.warn("Snackbar can only have 1 action, use Notice if your message require many messages"),i=[i[0]]),Object(o.createElement)("div",{ref:t,className:l,onClick:c,tabIndex:"0",role:"button",onKeyPress:c,label:Object(S.__)("Dismiss this notice")},Object(o.createElement)("div",{className:"components-snackbar__content"},r,i.map((function(e,t){var n=e.label,r=e.onClick,a=e.url;return Object(o.createElement)(E,{key:t,href:a,isTertiary:!0,onClick:function(e){e.stopPropagation(),r&&r(e)},className:"components-snackbar__action"},n)}))))})),Rn=n(20),Ln=n.n(Rn),Fn=n(43),Vn=n(63);var Bn=function(e){var t=e.notices,n=e.className,r=e.children,a=e.onRemove,i=void 0===a?w.noop:a,s=Object(M.useReducedMotion)(),c=Object(o.useState)((function(){return new WeakMap})),l=Object(h.a)(c,1)[0],u=Object(Vn.useTransition)(t,(function(e){return e.id}),{from:{opacity:0,height:0},enter:function(e){return function(){var t=Object(Fn.a)(Ln.a.mark((function t(n){return Ln.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n({opacity:1,height:l.get(e).offsetHeight});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},leave:function(){return function(){var e=Object(Fn.a)(Ln.a.mark((function e(t){return Ln.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({opacity:0});case 2:return e.next=4,t({height:0});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},immediate:s});n=p()("components-snackbar-list",n);var d=function(e){return function(){return i(e.id)}};return Object(o.createElement)("div",{className:n},r,u.map((function(e){var t=e.item,n=e.key,r=e.props;return Object(o.createElement)(Vn.animated.div,{key:n,style:r},Object(o.createElement)("div",{className:"components-snackbar-list__notice-container",ref:function(e){return e&&l.set(t,e)}},Object(o.createElement)(Hn,Object(T.a)({},Object(w.omit)(t,["content"]),{onRemove:d(t)}),t.content)))})))};function Kn(){return Object(o.createElement)("span",{className:"components-spinner"})}var Wn=function(e){var t=e.tabId,n=e.onClick,r=e.children,a=e.selected,i=Object(P.a)(e,["tabId","onClick","children","selected"]);return Object(o.createElement)(E,Object(T.a)({role:"tab",tabIndex:a?null:-1,"aria-selected":a,id:t,onClick:n},i),r)},$n=function(e){function t(){var e;Object(v.a)(this,t);var n=(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).props,r=n.tabs,o=n.initialTabName;return e.handleClick=e.handleClick.bind(Object(g.a)(e)),e.onNavigate=e.onNavigate.bind(Object(g.a)(e)),e.state={selected:o||(r.length>0?r[0].name:null)},e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"handleClick",value:function(e){var t=this.props.onSelect,n=void 0===t?w.noop:t;this.setState({selected:e}),n(e)}},{key:"onNavigate",value:function(e,t){t.click()}},{key:"render",value:function(){var e=this,t=this.state.selected,n=this.props,r=n.activeClass,a=void 0===r?"is-active":r,i=n.className,s=n.instanceId,c=n.orientation,l=void 0===c?"horizontal":c,u=n.tabs,h=Object(w.find)(u,{name:t}),f=s+"-"+h.name;return Object(o.createElement)("div",{className:i},Object(o.createElement)(Pt,{role:"tablist",orientation:l,onNavigate:this.onNavigate,className:"components-tab-panel__tabs"},u.map((function(n){return Object(o.createElement)(Wn,{className:p()(n.className,Object(d.a)({},a,n.name===t)),tabId:s+"-"+n.name,"aria-controls":s+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(w.partial)(e.handleClick,n.name)},n.title)}))),h&&Object(o.createElement)("div",{"aria-labelledby":f,role:"tabpanel",id:f+"-view",className:"components-tab-panel__tab-content",tabIndex:"0"},this.props.children(h)))}}]),t}(o.Component),Un=Object(M.withInstanceId)($n);var Gn=Object(M.withInstanceId)((function(e){var t=e.label,n=e.hideLabelFromVision,r=e.value,a=e.help,i=e.instanceId,s=e.onChange,c=e.rows,l=void 0===c?4:c,u=e.className,d=Object(P.a)(e,["label","hideLabelFromVision","value","help","instanceId","onChange","rows","className"]),h="inspector-textarea-control-".concat(i);return Object(o.createElement)(je,{label:t,hideLabelFromVision:n,id:h,help:a,className:u},Object(o.createElement)("textarea",Object(T.a)({className:"components-textarea-control__input",id:h,rows:l,onChange:function(e){return s(e.target.value)},"aria-describedby":a?h+"__help":void 0,value:r},d)))}));var qn=function(e){return Object(o.createElement)("div",{className:"components-tip"},Object(o.createElement)(u,{width:"24",height:"24",viewBox:"0 0 24 24"},Object(o.createElement)(s,{d:"M20.45 4.91L19.04 3.5l-1.79 1.8 1.41 1.41 1.79-1.8zM13 4h-2V1h2v3zm10 9h-3v-2h3v2zm-12 6.95v-3.96l-1-.58c-1.24-.72-2-2.04-2-3.46 0-2.21 1.79-4 4-4s4 1.79 4 4c0 1.42-.77 2.74-2 3.46l-1 .58v3.96h-2zm-2 2h6v-4.81c1.79-1.04 3-2.97 3-5.19 0-3.31-2.69-6-6-6s-6 2.69-6 6c0 2.22 1.21 4.15 3 5.19v4.81zM4 13H1v-2h3v2zm2.76-7.71l-1.79-1.8L3.56 4.9l1.8 1.79 1.4-1.4z"})),Object(o.createElement)("p",null,e.children))},Yn=function(e){function t(){var e;return Object(v.a)(this,t),(e=Object(y.a)(this,Object(m.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(g.a)(e)),e}return Object(k.a)(t,e),Object(O.a)(t,[{key:"onChange",value:function(e){this.props.onChange&&this.props.onChange(e.target.checked)}},{key:"render",value:function(){var e,t,n=this.props,r=n.label,a=n.checked,i=n.help,s=n.instanceId,c=n.className,l="inspector-toggle-control-".concat(s);return i&&(e=l+"__help",t=Object(w.isFunction)(i)?i(a):i),Object(o.createElement)(je,{id:l,help:t,className:p()("components-toggle-control",c)},Object(o.createElement)(Wt,{id:l,checked:a,onChange:this.onChange,"aria-describedby":e}),Object(o.createElement)("label",{htmlFor:l,className:"components-toggle-control__label"},r))}}]),t}(o.Component),Zn=Object(M.withInstanceId)(Yn),Xn=function(e){return Object(o.createElement)("div",{className:e.className},e.children)};var Qn=function(e){var t=e.containerClassName,n=e.icon,r=e.title,a=e.shortcut,i=e.subscript,s=e.onClick,c=e.className,l=e.isActive,u=e.isDisabled,d=e.extraProps,h=e.children;return Object(o.createElement)(Xn,{className:t},Object(o.createElement)(te,Object(T.a)({icon:n,label:r,shortcut:a,"data-subscript":i,onClick:function(e){e.stopPropagation(),s()},className:p()("components-toolbar__control",c,{"is-active":l}),"aria-pressed":l,disabled:u},d)),h)},Jn=function(e){return Object(o.createElement)("div",{className:e.className},e.children)};var er=function(e){var t=e.controls,n=void 0===t?[]:t,r=e.children,a=e.className,i=e.isCollapsed,s=e.icon,c=e.label,l=Object(P.a)(e,["controls","children","className","isCollapsed","icon","label"]);if(!(n&&n.length||r))return null;var u=n;return Array.isArray(u[0])||(u=[u]),i?Object(o.createElement)(zt,{hasArrowIndicator:!0,icon:s,label:c,controls:u,className:p()("components-toolbar",a)}):Object(o.createElement)(Jn,Object(T.a)({className:p()("components-toolbar",a)},l),Object(w.flatMap)(u,(function(e,t){return e.map((function(e,n){return Object(o.createElement)(Qn,Object(T.a)({key:[t,n].join(),containerClassName:t>0&&0===n?"has-left-divider":null},e))}))})),r)},tr=Object(M.createHigherOrderComponent)((function(e){return function(t){function n(){var e;return Object(v.a)(this,n),(e=Object(y.a)(this,Object(m.a)(n).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(g.a)(e)),e.focusNextRegion=e.focusRegion.bind(Object(g.a)(e),1),e.focusPreviousRegion=e.focusRegion.bind(Object(g.a)(e),-1),e.onClick=e.onClick.bind(Object(g.a)(e)),e.state={isFocusingRegions:!1},e}return Object(k.a)(n,t),Object(O.a)(n,[{key:"bindContainer",value:function(e){this.container=e}},{key:"focusRegion",value:function(e){var t=Object(_.a)(this.container.querySelectorAll('[role="region"]'));if(t.length){var n=t[0],r=t.indexOf(document.activeElement);if(-1!==r){var o=r+e;n=t[o=(o=-1===o?t.length-1:o)===t.length?0:o]}n.focus(),this.setState({isFocusingRegions:!0})}}},{key:"onClick",value:function(){this.setState({isFocusingRegions:!1})}},{key:"render",value:function(){var t,n=p()("components-navigate-regions",{"is-focusing-regions":this.state.isFocusingRegions});return Object(o.createElement)("div",{ref:this.bindContainer,className:n,onClick:this.onClick},Object(o.createElement)(Be,{bindGlobal:!0,shortcuts:(t={"ctrl+`":this.focusNextRegion},Object(d.a)(t,D.rawShortcut.access("n"),this.focusNextRegion),Object(d.a)(t,"ctrl+shift+`",this.focusPreviousRegion),Object(d.a)(t,D.rawShortcut.access("p"),this.focusPreviousRegion),t)}),Object(o.createElement)(e,this.props))}}]),n}(o.Component)}),"navigateRegions"),nr=function(e){return Object(M.createHigherOrderComponent)((function(t){return function(n){function r(){var e;return Object(v.a)(this,r),(e=Object(y.a)(this,Object(m.a)(r).apply(this,arguments))).nodeRef=e.props.node,e.state={fallbackStyles:void 0,grabStylesCompleted:!1},e.bindRef=e.bindRef.bind(Object(g.a)(e)),e}return Object(k.a)(r,n),Object(O.a)(r,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"componentDidMount",value:function(){this.grabFallbackStyles()}},{key:"componentDidUpdate",value:function(){this.grabFallbackStyles()}},{key:"grabFallbackStyles",value:function(){var t=this.state,n=t.grabStylesCompleted,r=t.fallbackStyles;if(this.nodeRef&&!n){var o=e(this.nodeRef,this.props);Object(w.isEqual)(o,r)||this.setState({fallbackStyles:o,grabStylesCompleted:!!Object(w.every)(o)})}}},{key:"render",value:function(){var e=Object(o.createElement)(t,Object(T.a)({},this.props,this.state.fallbackStyles));return this.props.node?e:Object(o.createElement)("div",{ref:this.bindRef}," ",e," ")}}]),r}(o.Component)}),"withFallbackStyles")},rr=n(27),or=16;function ar(e){return Object(M.createHigherOrderComponent)((function(t){var n,r="core/with-filters/"+e;var a=function(a){function i(){var r;return Object(v.a)(this,i),r=Object(y.a)(this,Object(m.a)(i).apply(this,arguments)),void 0===n&&(n=Object(rr.applyFilters)(e,t)),r}return Object(k.a)(i,a),Object(O.a)(i,[{key:"componentDidMount",value:function(){i.instances.push(this),1===i.instances.length&&(Object(rr.addAction)("hookRemoved",r,s),Object(rr.addAction)("hookAdded",r,s))}},{key:"componentWillUnmount",value:function(){i.instances=Object(w.without)(i.instances,this),0===i.instances.length&&(Object(rr.removeAction)("hookRemoved",r),Object(rr.removeAction)("hookAdded",r))}},{key:"render",value:function(){return Object(o.createElement)(n,this.props)}}]),i}(o.Component);a.instances=[];var i=Object(w.debounce)((function(){n=Object(rr.applyFilters)(e,t),a.instances.forEach((function(e){e.forceUpdate()}))}),or);function s(t){t===e&&i()}return a}),"withFilters")}var ir=n(66),sr=n.n(ir),cr=Object(M.createHigherOrderComponent)((function(e){return function(t){function n(){var e;return Object(v.a)(this,n),(e=Object(y.a)(this,Object(m.a)(n).apply(this,arguments))).createNotice=e.createNotice.bind(Object(g.a)(e)),e.createErrorNotice=e.createErrorNotice.bind(Object(g.a)(e)),e.removeNotice=e.removeNotice.bind(Object(g.a)(e)),e.removeAllNotices=e.removeAllNotices.bind(Object(g.a)(e)),e.state={noticeList:[]},e.noticeOperations={createNotice:e.createNotice,createErrorNotice:e.createErrorNotice,removeAllNotices:e.removeAllNotices,removeNotice:e.removeNotice},e}return Object(k.a)(n,t),Object(O.a)(n,[{key:"createNotice",value:function(e){var t=e.id?e:Object(r.a)({},e,{id:sr()()});this.setState((function(e){return{noticeList:[].concat(Object(_.a)(e.noticeList),[t])}}))}},{key:"createErrorNotice",value:function(e){this.createNotice({status:"error",content:e})}},{key:"removeNotice",value:function(e){this.setState((function(t){return{noticeList:t.noticeList.filter((function(t){return t.id!==e}))}}))}},{key:"removeAllNotices",value:function(){this.setState({noticeList:[]})}},{key:"render",value:function(){return Object(o.createElement)(e,Object(T.a)({noticeList:this.state.noticeList,noticeOperations:this.noticeOperations,noticeUI:this.state.noticeList.length>0&&Object(o.createElement)(yn,{className:"components-with-notices-ui",notices:this.state.noticeList,onRemove:this.removeNotice})},this.props))}}]),n}(o.Component)}));n.d(t,"Circle",(function(){return a})),n.d(t,"G",(function(){return i})),n.d(t,"Path",(function(){return s})),n.d(t,"Polygon",(function(){return c})),n.d(t,"Rect",(function(){return l})),n.d(t,"SVG",(function(){return u})),n.d(t,"HorizontalRule",(function(){return"hr"})),n.d(t,"BlockQuotation",(function(){return"blockquote"})),n.d(t,"Animate",(function(){return b})),n.d(t,"Autocomplete",(function(){return Se})),n.d(t,"BaseControl",(function(){return je})),n.d(t,"Button",(function(){return E})),n.d(t,"ButtonGroup",(function(){return Ce})),n.d(t,"CheckboxControl",(function(){return Pe})),n.d(t,"ClipboardButton",(function(){return ze})),n.d(t,"ColorIndicator",(function(){return Ie})),n.d(t,"ColorPalette",(function(){return rt})),n.d(t,"ColorPicker",(function(){return nt})),n.d(t,"Dashicon",(function(){return J})),n.d(t,"DateTimePicker",(function(){return lt})),n.d(t,"DatePicker",(function(){return st})),n.d(t,"TimePicker",(function(){return ct})),n.d(t,"Disabled",(function(){return bt})),n.d(t,"Draggable",(function(){return yt})),n.d(t,"DropZone",(function(){return St})),n.d(t,"DropZoneProvider",(function(){return wt})),n.d(t,"Dropdown",(function(){return xe})),n.d(t,"DropdownMenu",(function(){return zt})),n.d(t,"ExternalLink",(function(){return It})),n.d(t,"FocalPointPicker",(function(){return Nt})),n.d(t,"FocusableIframe",(function(){return Rt})),n.d(t,"FontSizePicker",(function(){return Bt})),n.d(t,"FormFileUpload",(function(){return Kt})),n.d(t,"FormToggle",(function(){return Wt})),n.d(t,"FormTokenField",(function(){return en})),n.d(t,"Icon",(function(){return ee})),n.d(t,"IconButton",(function(){return te})),n.d(t,"KeyboardShortcuts",(function(){return Be})),n.d(t,"MenuGroup",(function(){return tn})),n.d(t,"MenuItem",(function(){return nn})),n.d(t,"MenuItemsChoice",(function(){return rn})),n.d(t,"Modal",(function(){return bn})),n.d(t,"ScrollLock",(function(){return ne})),n.d(t,"NavigableMenu",(function(){return Pt})),n.d(t,"TabbableContainer",(function(){return Et})),n.d(t,"Notice",(function(){return vn})),n.d(t,"NoticeList",(function(){return yn})),n.d(t,"Panel",(function(){return gn})),n.d(t,"PanelBody",(function(){return _n})),n.d(t,"PanelHeader",(function(){return mn})),n.d(t,"PanelRow",(function(){return wn})),n.d(t,"Placeholder",(function(){return Dn})),n.d(t,"Popover",(function(){return ge})),n.d(t,"QueryControls",(function(){return Pn})),n.d(t,"RadioControl",(function(){return En})),n.d(t,"RangeControl",(function(){return Lt})),n.d(t,"ResizableBox",(function(){return zn})),n.d(t,"ResponsiveWrapper",(function(){return In})),n.d(t,"SandBox",(function(){return Nn})),n.d(t,"SelectControl",(function(){return Ft})),n.d(t,"Snackbar",(function(){return Hn})),n.d(t,"SnackbarList",(function(){return Bn})),n.d(t,"Spinner",(function(){return Kn})),n.d(t,"TabPanel",(function(){return Un})),n.d(t,"TextControl",(function(){return Ge})),n.d(t,"TextareaControl",(function(){return Gn})),n.d(t,"Tip",(function(){return qn})),n.d(t,"ToggleControl",(function(){return Zn})),n.d(t,"Toolbar",(function(){return er})),n.d(t,"ToolbarButton",(function(){return Qn})),n.d(t,"Tooltip",(function(){return Q})),n.d(t,"TreeSelect",(function(){return Sn})),n.d(t,"IsolatedEventContainer",(function(){return re})),n.d(t,"createSlotFill",(function(){return be})),n.d(t,"Slot",(function(){return de})),n.d(t,"Fill",(function(){return pe})),n.d(t,"SlotFillProvider",(function(){return le})),n.d(t,"navigateRegions",(function(){return tr})),n.d(t,"withConstrainedTabbing",(function(){return $})),n.d(t,"withFallbackStyles",(function(){return nr})),n.d(t,"withFilters",(function(){return ar})),n.d(t,"withFocusOutside",(function(){return G})),n.d(t,"withFocusReturn",(function(){return W})),n.d(t,"FocusReturnProvider",(function(){return K})),n.d(t,"withNotices",(function(){return cr})),n.d(t,"withSpokenMessages",(function(){return ke}))}]); \ No newline at end of file + */Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,b=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116;function m(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case d:case f:case i:case c:case s:case p:return e;default:switch(e=e&&e.$$typeof){case u:case h:case l:return e;default:return t}}case v:case b:case a:return t}}}function y(e){return m(e)===f}t.typeOf=m,t.AsyncMode=d,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=o,t.ForwardRef=h,t.Fragment=i,t.Lazy=v,t.Memo=b,t.Portal=a,t.Profiler=c,t.StrictMode=s,t.Suspense=p,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===c||e===s||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===b||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h)},t.isAsyncMode=function(e){return y(e)||m(e)===d},t.isConcurrentMode=y,t.isContextConsumer=function(e){return m(e)===u},t.isContextProvider=function(e){return m(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return m(e)===h},t.isFragment=function(e){return m(e)===i},t.isLazy=function(e){return m(e)===v},t.isMemo=function(e){return m(e)===b},t.isPortal=function(e){return m(e)===a},t.isProfiler=function(e){return m(e)===c},t.isStrictMode=function(e){return m(e)===s},t.isSuspense=function(e){return m(e)===p}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.CHANNEL="__direction__",t.DIRECTIONS={LTR:"ltr",RTL:"rtl"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(28),a=(r=o)&&r.__esModule?r:{default:r};t.default=a.default.shape({getState:a.default.func,setState:a.default.func,subscribe:a.default.func})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof e)return e;if("function"==typeof e)return e(t);return""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=s(n(20)),o=n(47),a=s(n(132)),i=s(n(295));function s(e){return e&&e.__esModule?e:{default:e}}var c=(0,o.forbidExtraProps)({children:(0,o.or)([(0,o.childrenOfType)(a.default),(0,o.childrenOfType)(i.default)]).isRequired});function l(e){var t=e.children;return r.default.createElement("tr",null,t)}l.propTypes=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCustomizableCalendarDay=t.selectedStyles=t.lastInRangeStyles=t.selectedSpanStyles=t.hoveredSpanStyles=t.blockedOutOfRangeStyles=t.blockedCalendarStyles=t.blockedMinNightsStyles=t.highlightedCalendarStyles=t.outsideStyles=t.defaultStyles=void 0;var r=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:a.default.localeData().firstDayOfWeek();if(!a.default.isMoment(e)||!e.isValid())throw new TypeError("`month` must be a valid moment object");if(-1===i.WEEKDAYS.indexOf(n))throw new TypeError("`firstDayOfWeek` must be an integer between 0 and 6");for(var r=e.clone().startOf("month").hour(12),o=e.clone().endOf("month").hour(12),s=(r.day()+7-n)%7,c=(n+6-o.day())%7,l=r.clone().subtract(s,"day"),u=o.clone().add(c,"day").diff(l,"days")+1,d=l.clone(),f=[],h=0;h=s&&h2?arguments[2]:[];if(!this.IsCallable(e))throw new s(e+" is not a function");return e.apply(t,n)},ToPrimitive:o,ToNumber:function(e){var t=w(e)?e:o(e,f);if("symbol"==typeof t)throw new s("Cannot convert a Symbol value to a number");if("string"==typeof t){if(M(t))return this.ToNumber(D(C(t,2),2));if(E(t))return this.ToNumber(D(C(t,2),8));if(z(t)||I(t))return NaN;var n=function(e){return q(e,G,"")}(t);if(n!==t)return this.ToNumber(n)}return f(t)},ToInt16:function(e){var t=this.ToUint16(e);return t>=32768?t-65536:t},ToInt8:function(e){var t=this.ToUint8(e);return t>=128?t-256:t},ToUint8:function(e){var t=this.ToNumber(e);if(m(t)||0===t||!y(t))return 0;var n=k(t)*F(V(t));return _(n,256)},ToUint8Clamp:function(e){var t=this.ToNumber(e);if(m(t)||t<=0)return 0;if(t>=255)return 255;var n=F(e);return n+.5g?g:t},CanonicalNumericIndexString:function(e){if("[object String]"!==N(e))throw new s("must be a string");if("-0"===e)return-0;var t=this.ToNumber(e);return this.SameValue(this.ToString(t),e)?t:void 0},RequireObjectCoercible:Y.CheckObjectCoercible,IsArray:l.isArray||function(e){return"[object Array]"===N(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:Object.preventExtensions?function(e){return!w(e)&&W(e)}:function(e){return!0},IsInteger:function(e){if("number"!=typeof e||m(e)||!y(e))return!1;var t=V(e);return F(t)===t},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(b){var t=e[h.match];if(void 0!==t)return Y.ToBoolean(t)}return Z(e)},SameValueZero:function(e,t){return e===t||m(e)&&m(t)},GetV:function(e,t){if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return this.ToObject(e)[t]},GetMethod:function(e,t){if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var n=this.GetV(e,t);if(null!=n){if(!this.IsCallable(n))throw new s(t+"is not a function");return n}},Get:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return e[t]},Type:function(e){return"symbol"==typeof e?"Symbol":Y.Type(e)},SpeciesConstructor:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");var n=e.constructor;if(void 0===n)return t;if("Object"!==this.Type(n))throw new s("O.constructor is not an Object");var r=b&&h.species?n[h.species]:void 0;if(null==r)return t;if(this.IsConstructor(r))return r;throw new s("no constructor found")},CompletePropertyDescriptor:function(e){return v(this,"Property Descriptor","Desc",e),this.IsGenericDescriptor(e)||this.IsDataDescriptor(e)?(r(e,"[[Value]]")||(e["[[Value]]"]=void 0),r(e,"[[Writable]]")||(e["[[Writable]]"]=!1)):(r(e,"[[Get]]")||(e["[[Get]]"]=void 0),r(e,"[[Set]]")||(e["[[Set]]"]=void 0)),r(e,"[[Enumerable]]")||(e["[[Enumerable]]"]=!1),r(e,"[[Configurable]]")||(e["[[Configurable]]"]=!1),e},Set:function(e,t,n,r){if("Object"!==this.Type(e))throw new s("O must be an Object");if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");if("Boolean"!==this.Type(r))throw new s("Throw must be a Boolean");if(r)return e[t]=n,!0;try{e[t]=n}catch(e){return!1}},HasOwnProperty:function(e,t){if("Object"!==this.Type(e))throw new s("O must be an Object");if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");return r(e,t)},HasProperty:function(e,t){if("Object"!==this.Type(e))throw new s("O must be an Object");if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");return t in e},IsConcatSpreadable:function(e){if("Object"!==this.Type(e))return!1;if(b&&"symbol"==typeof h.isConcatSpreadable){var t=this.Get(e,Symbol.isConcatSpreadable);if(void 0!==t)return this.ToBoolean(t)}return this.IsArray(e)},Invoke:function(e,t){if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");var n=j(arguments,2),r=this.GetV(e,t);return this.Call(r,e,n)},GetIterator:function(e,t){if(!b)throw new SyntaxError("ES.GetIterator depends on native iterator support.");var n=t;arguments.length<2&&(n=this.GetMethod(e,h.iterator));var r=this.Call(n,e);if("Object"!==this.Type(r))throw new s("iterator must return an object");return r},IteratorNext:function(e,t){var n=this.Invoke(e,"next",arguments.length<2?[]:[t]);if("Object"!==this.Type(n))throw new s("iterator next must return an object");return n},IteratorComplete:function(e){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(iterResult) is not Object");return this.ToBoolean(this.Get(e,"done"))},IteratorValue:function(e){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(iterResult) is not Object");return this.Get(e,"value")},IteratorStep:function(e){var t=this.IteratorNext(e);return!0!==this.IteratorComplete(t)&&t},IteratorClose:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(iterator) is not Object");if(!this.IsCallable(t))throw new s("Assertion failed: completion is not a thunk for a Completion Record");var n,r=t,o=this.GetMethod(e,"return");if(void 0===o)return r();try{var a=this.Call(o,e,[])}catch(e){throw n=r(),r=null,e}if(n=r(),r=null,"Object"!==this.Type(a))throw new s("iterator .return must return an object");return n},CreateIterResultObject:function(e,t){if("Boolean"!==this.Type(t))throw new s("Assertion failed: Type(done) is not Boolean");return{value:e,done:t}},RegExpExec:function(e,t){if("Object"!==this.Type(e))throw new s("R must be an Object");if("String"!==this.Type(t))throw new s("S must be a String");var n=this.Get(e,"exec");if(this.IsCallable(n)){var r=this.Call(n,e,[t]);if(null===r||"Object"===this.Type(r))return r;throw new s('"exec" method must return `null` or an Object')}return P(e,t)},ArraySpeciesCreate:function(e,t){if(!this.IsInteger(t)||t<0)throw new s("Assertion failed: length must be an integer >= 0");var n,r=0===t?0:t;if(this.IsArray(e)&&(n=this.Get(e,"constructor"),"Object"===this.Type(n)&&b&&h.species&&null===(n=this.Get(n,h.species))&&(n=void 0)),void 0===n)return l(r);if(!this.IsConstructor(n))throw new s("C must be a constructor");return new n(r)},CreateDataProperty:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var r=K(e,t),o=r||"function"!=typeof W||W(e);return!(!(!r||r.writable&&r.configurable)||!o)&&(U(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}),!0)},CreateDataPropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var r=this.CreateDataProperty(e,t,n);if(!r)throw new s("unable to create data property");return r},ObjectCreate:function(e,t){if(null!==e&&"Object"!==this.Type(e))throw new s("Assertion failed: proto must be null or an object");var n=arguments.length<2?[]:t;if(n.length>0)throw new c("es-abstract does not yet support internal slots");if(null===e&&!B)throw new c("native Object.create support is required to create null objects");return B(e)},AdvanceStringIndex:function(e,t,n){if("String"!==this.Type(e))throw new s("S must be a String");if(!this.IsInteger(t)||t<0||t>g)throw new s("Assertion failed: length must be an integer >= 0 and <= 2**53");if("Boolean"!==this.Type(n))throw new s("Assertion failed: unicode must be a Boolean");if(!n)return t+1;if(t+1>=e.length)return t+1;var r=T(e,t);if(r<55296||r>56319)return t+1;var o=T(e,t+1);return o<56320||o>57343?t+1:t+2},CreateMethodProperty:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return!!U(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0})},DefinePropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return!!U(e,t,n)},DeletePropertyOrThrow:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var n=delete e[t];if(!n)throw new TypeError("Attempt to delete property failed.");return n},EnumerableOwnNames:function(e){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");return a(e)},thisNumberValue:function(e){return"Number"===this.Type(e)?e:A(e)},thisBooleanValue:function(e){return"Boolean"===this.Type(e)?e:R(e)},thisStringValue:function(e){return"String"===this.Type(e)?e:H(e)},thisTimeValue:function(e){return L(e)}});delete X.CheckObjectCoercible,e.exports=X},function(e,t,n){"use strict";e.exports=n(307)},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=n(176),a=n(135),i=n(162),s=n(131),c=function(e,t){if(null==e)throw new TypeError("Cannot call method on "+e);if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,r,i,s="string"===t?["toString","valueOf"]:["valueOf","toString"];for(i=0;i1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),r&&(Symbol.toPrimitive?t=l(e,Symbol.toPrimitive):s(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var a=t.call(e,n);if(o(a))return a;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(i(e)||s(e))&&(n="string"),c(e,"default"===n?"number":n)}},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var r=n(136),o=r("%Object%"),a=r("%TypeError%"),i=r("%String%"),s=n(177),c=n(178),l=n(179),u=n(181),d=n(182),f=n(135),h=n(310),p=n(74),b={ToPrimitive:h,ToBoolean:function(e){return!!e},ToNumber:function(e){return+e},ToInteger:function(e){var t=this.ToNumber(e);return c(t)?0:0!==t&&l(t)?u(t)*Math.floor(Math.abs(t)):t},ToInt32:function(e){return this.ToNumber(e)>>0},ToUint32:function(e){return this.ToNumber(e)>>>0},ToUint16:function(e){var t=this.ToNumber(e);if(c(t)||0===t||!l(t))return 0;var n=u(t)*Math.floor(Math.abs(t));return d(n,65536)},ToString:function(e){return i(e)},ToObject:function(e){return this.CheckObjectCoercible(e),o(e)},CheckObjectCoercible:function(e,t){if(null==e)throw new a(t||"Cannot call method on "+e);return e},IsCallable:f,SameValue:function(e,t){return e===t?0!==e||1/e==1/t:c(e)&&c(t)},Type:function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0},IsPropertyDescriptor:function(e){if("Object"!==this.Type(e))return!1;var t={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var n in e)if(p(e,n)&&!t[n])return!1;var r=p(e,"[[Value]]"),o=p(e,"[[Get]]")||p(e,"[[Set]]");if(r&&o)throw new a("Property Descriptors may not be both accessor and data descriptors");return!0},IsAccessorDescriptor:function(e){return void 0!==e&&(s(this,"Property Descriptor","Desc",e),!(!p(e,"[[Get]]")&&!p(e,"[[Set]]")))},IsDataDescriptor:function(e){return void 0!==e&&(s(this,"Property Descriptor","Desc",e),!(!p(e,"[[Value]]")&&!p(e,"[[Writable]]")))},IsGenericDescriptor:function(e){return void 0!==e&&(s(this,"Property Descriptor","Desc",e),!this.IsAccessorDescriptor(e)&&!this.IsDataDescriptor(e))},FromPropertyDescriptor:function(e){if(void 0===e)return e;if(s(this,"Property Descriptor","Desc",e),this.IsDataDescriptor(e))return{value:e["[[Value]]"],writable:!!e["[[Writable]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};if(this.IsAccessorDescriptor(e))return{get:e["[[Get]]"],set:e["[[Set]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};throw new a("FromPropertyDescriptor must be called with a fully populated Property Descriptor")},ToPropertyDescriptor:function(e){if("Object"!==this.Type(e))throw new a("ToPropertyDescriptor requires an object");var t={};if(p(e,"enumerable")&&(t["[[Enumerable]]"]=this.ToBoolean(e.enumerable)),p(e,"configurable")&&(t["[[Configurable]]"]=this.ToBoolean(e.configurable)),p(e,"value")&&(t["[[Value]]"]=e.value),p(e,"writable")&&(t["[[Writable]]"]=this.ToBoolean(e.writable)),p(e,"get")){var n=e.get;if(void 0!==n&&!this.IsCallable(n))throw new TypeError("getter must be a function");t["[[Get]]"]=n}if(p(e,"set")){var r=e.set;if(void 0!==r&&!this.IsCallable(r))throw new a("setter must be a function");t["[[Set]]"]=r}if((p(t,"[[Get]]")||p(t,"[[Set]]"))&&(p(t,"[[Value]]")||p(t,"[[Writable]]")))throw new a("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}};e.exports=b},function(e,t,n){"use strict";var r=Object.prototype.toString,o=n(176),a=n(135),i=function(e){var t;if((t=arguments.length>1?arguments[1]:"[object Date]"===r.call(e)?String:Number)===String||t===Number){var n,i,s=t===String?["toString","valueOf"]:["valueOf","toString"];for(i=0;i1?i(e,arguments[1]):i(e)}},function(e,t,n){"use strict";var r=n(74),o=RegExp.prototype.exec,a=Object.getOwnPropertyDescriptor,i=Object.prototype.toString,s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!s)return"[object RegExp]"===i.call(e);var t=a(e,"lastIndex");return!(!t||!r(t,"value"))&&function(e){try{var t=e.lastIndex;return e.lastIndex=0,o.call(e),!0}catch(e){return!1}finally{e.lastIndex=t}}(e)}},function(e,t,n){"use strict";var r=n(183),o=n(64);e.exports=function(){var e=r();return o(Object,{values:e},{values:function(){return Object.values!==e}}),e}},function(e,t,n){"use strict";var r=n(64),o=n(184),a=n(185),i=a(),s=function(e,t){return i.apply(e,[t])};r(s,{getPolyfill:a,implementation:o,shim:n(314)}),e.exports=s},function(e,t,n){"use strict";var r=n(64),o=n(185);e.exports=function(){var e=o();return"undefined"!=typeof document&&(r(document,{contains:e},{contains:function(){return document.contains!==e}}),"undefined"!=typeof Element&&r(Element.prototype,{contains:e},{contains:function(){return Element.prototype.contains!==e}})),e}},function(e,t,n){var r=n(138),o=n(316),a=n(318),i="Expected a function",s=Math.max,c=Math.min;e.exports=function(e,t,n){var l,u,d,f,h,p,b=0,v=!1,m=!1,y=!0;if("function"!=typeof e)throw new TypeError(i);function g(t){var n=l,r=u;return l=u=void 0,b=t,f=e.apply(r,n)}function O(e){var n=e-p;return void 0===p||n>=t||n<0||m&&e-b>=d}function k(){var e=o();if(O(e))return _(e);h=setTimeout(k,function(e){var n=t-(e-p);return m?c(n,d-(e-b)):n}(e))}function _(e){return h=void 0,y&&l?g(e):(l=u=void 0,f)}function w(){var e=o(),n=O(e);if(l=arguments,u=this,p=e,n){if(void 0===h)return function(e){return b=e,h=setTimeout(k,t),v?g(e):f}(p);if(m)return clearTimeout(h),h=setTimeout(k,t),g(p)}return void 0===h&&(h=setTimeout(k,t)),f}return t=a(t)||0,r(n)&&(v=!!n.leading,d=(m="maxWait"in n)?s(a(n.maxWait)||0,t):d,y="trailing"in n?!!n.trailing:y),w.cancel=function(){void 0!==h&&clearTimeout(h),b=0,l=p=u=h=void 0},w.flush=function(){return void 0===h?f:_(o())},w}},function(e,t,n){var r=n(197);e.exports=function(){return r.Date.now()}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(61))},function(e,t,n){var r=n(138),o=n(319),a=NaN,i=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return a;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=c.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):s.test(e)?a:+e}},function(e,t,n){var r=n(320),o=n(323),a="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==a}},function(e,t,n){var r=n(198),o=n(321),a=n(322),i="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:i:c&&c in Object(e)?o(e):a(e)}},function(e,t,n){var r=n(198),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r;return e?n(e(t.clone())):t};var r=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:a.default.localeData().firstDayOfWeek(),n=function(e,t){return(e.day()-t+7)%7}(e.clone().startOf("month"),t);return Math.ceil((n+e.daysInMonth())/7)};var r,o=n(30),a=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return"undefined"!=typeof document&&document.activeElement}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureSingleDatePicker=void 0;var r=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:"top").split(" "),o=Object(h.a)(n,2),a=o[0],i=o[1],s=void 0===i?"center":i,c=function(e,t,n){var r,o=t.height,a=e.top+e.height/2,i={popoverTop:a,contentHeight:(a-o/2>0?o/2:a)+(a+o/2>window.innerHeight?window.innerHeight-a:o/2)},s={popoverTop:e.top,contentHeight:e.top-T-o>0?o:e.top-T},c={popoverTop:e.bottom,contentHeight:e.bottom+T+o>window.innerHeight?window.innerHeight-T-e.bottom:o},l=null;if("middle"===n&&i.contentHeight===o)r="middle";else if("top"===n&&s.contentHeight===o)r="top";else if("bottom"===n&&c.contentHeight===o)r="bottom";else{var u="top"===(r=s.contentHeight>c.contentHeight?"top":"bottom")?s.contentHeight:c.contentHeight;l=u!==o?u:null}return{yAxis:r,popoverTop:"middle"===r?i.popoverTop:"top"===r?s.popoverTop:c.popoverTop,contentHeight:l}}(e,t,a),l=function(e,t,n,r){var o=t.width;"left"===n&&N()?n="right":"right"===n&&N()&&(n="left");var a,i=Math.round(e.left+e.width/2),s={popoverLeft:i,contentWidth:(i-o/2>0?o/2:i)+(i+o/2>window.innerWidth?window.innerWidth-i:o/2)},c="middle"===r?e.left:i,l={popoverLeft:c,contentWidth:c-o>0?o:c},u="middle"===r?e.right:i,d={popoverLeft:u,contentWidth:u+o>window.innerWidth?window.innerWidth-u:o},f=null;if("center"===n&&s.contentWidth===o)a="center";else if("left"===n&&l.contentWidth===o)a="left";else if("right"===n&&d.contentWidth===o)a="right";else{var h="left"===(a=l.contentWidth>d.contentWidth?"left":"right")?l.contentWidth:d.contentWidth;f=h!==o?h:null}return{xAxis:a,popoverLeft:"center"===a?s.popoverLeft:"left"===a?l.popoverLeft:d.popoverLeft,contentWidth:f}}(e,t,s,c.yAxis);return Object(r.a)({},l,c)}var R=Object(a.createContext)({focusHistory:[]}),H=R.Provider,L=R.Consumer;H.displayName="FocusReturnProvider",L.displayName="FocusReturnConsumer";var F=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).onFocus=e.onFocus.bind(Object(O.a)(e)),e.state={focusHistory:[]},e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"onFocus",value:function(e){var t=this.state.focusHistory,n=Object(o.uniq)([].concat(Object(w.a)(t),[e.target]).slice(-100).reverse()).reverse();this.setState({focusHistory:n})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className;return Object(a.createElement)(H,{value:this.state},Object(a.createElement)("div",{onFocus:this.onFocus,className:n},t))}}]),t}(a.Component);var V=Object(j.createHigherOrderComponent)((function e(t){if((r=t)instanceof a.Component||"function"==typeof r){var n=t;return e({})(n)}var r,i=t.onFocusReturn,s=void 0===i?o.stubTrue:i;return function(e){var t=function(t){function n(){var e;return Object(m.a)(this,n),(e=Object(y.a)(this,Object(g.a)(n).apply(this,arguments))).ownFocusedElements=new Set,e.activeElementOnMount=document.activeElement,e.setIsFocusedFalse=function(){return e.isFocused=!1},e.setIsFocusedTrue=function(t){e.ownFocusedElements.add(t.target),e.isFocused=!0},e}return Object(_.a)(n,t),Object(k.a)(n,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused,n=this.ownFocusedElements;if(t&&!1!==s())for(var r,a=[].concat(Object(w.a)(o.without.apply(void 0,[this.props.focus.focusHistory].concat(Object(w.a)(n)))),[e]);r=a.pop();)if(document.body.contains(r))return void r.focus()}},{key:"render",value:function(){return Object(a.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},Object(a.createElement)(e,this.props.childProps))}}]),n}(a.Component);return function(e){return Object(a.createElement)(L,null,(function(n){return Object(a.createElement)(t,{childProps:e,focus:n})}))}}}),"withFocusReturn"),B=Object(j.createHigherOrderComponent)((function(e){return function(t){function n(){var e;return Object(m.a)(this,n),(e=Object(y.a)(this,Object(g.a)(n).apply(this,arguments))).focusContainRef=Object(a.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(Object(O.a)(e)),e}return Object(_.a)(n,t),Object(k.a)(n,[{key:"handleTabBehaviour",value:function(e){if(e.keyCode===D.TAB){var t=x.focus.tabbable.find(this.focusContainRef.current);if(t.length){var n=t[0],r=t[t.length-1];e.shiftKey&&e.target===n?(e.preventDefault(),r.focus()):(e.shiftKey||e.target!==r)&&t.includes(e.target)||(e.preventDefault(),n.focus())}}}},{key:"render",value:function(){return Object(a.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(a.createElement)(e,this.props))}}]),n}(a.Component)}),"withConstrainedTabbing"),K=["button","submit"];var W=Object(j.createHigherOrderComponent)((function(e){return function(t){function n(){var e;return Object(m.a)(this,n),(e=Object(y.a)(this,Object(g.a)(n).apply(this,arguments))).bindNode=e.bindNode.bind(Object(O.a)(e)),e.cancelBlurCheck=e.cancelBlurCheck.bind(Object(O.a)(e)),e.queueBlurCheck=e.queueBlurCheck.bind(Object(O.a)(e)),e.normalizeButtonFocus=e.normalizeButtonFocus.bind(Object(O.a)(e)),e}return Object(_.a)(n,t),Object(k.a)(n,[{key:"componentWillUnmount",value:function(){this.cancelBlurCheck()}},{key:"bindNode",value:function(e){e?this.node=e:(delete this.node,this.cancelBlurCheck())}},{key:"queueBlurCheck",value:function(e){var t=this;e.persist(),this.preventBlurCheck||(this.blurCheckTimeout=setTimeout((function(){document.hasFocus()?"function"==typeof t.node.handleFocusOutside&&t.node.handleFocusOutside(e):e.preventDefault()}),0))}},{key:"cancelBlurCheck",value:function(){clearTimeout(this.blurCheckTimeout)}},{key:"normalizeButtonFocus",value:function(e){var t=e.type,n=e.target;Object(o.includes)(["mouseup","touchend"],t)?this.preventBlurCheck=!1:function(e){switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(o.includes)(K,e.type)}return!1}(n)&&(this.preventBlurCheck=!0)}},{key:"render",value:function(){return Object(a.createElement)("div",{onFocus:this.cancelBlurCheck,onMouseDown:this.normalizeButtonFocus,onMouseUp:this.normalizeButtonFocus,onTouchStart:this.normalizeButtonFocus,onTouchEnd:this.normalizeButtonFocus,onBlur:this.queueBlurCheck},Object(a.createElement)(e,Object(P.a)({ref:this.bindNode},this.props)))}}]),n}(a.Component)}),"withFocusOutside"),U=function(e){function t(){return Object(m.a)(this,t),Object(y.a)(this,Object(g.a)(t).apply(this,arguments))}return Object(_.a)(t,e),Object(k.a)(t,[{key:"handleFocusOutside",value:function(e){this.props.onFocusOutside(e)}},{key:"render",value:function(){return this.props.children}}]),t}(a.Component),$=W(U);var G=function(e){var t,n,r=e.shortcut,i=e.className;return r?(Object(o.isString)(r)&&(t=r),Object(o.isObject)(r)&&(t=r.display,n=r.ariaLabel),Object(a.createElement)("span",{className:i,"aria-label":n},t)):null},q=700,Y=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).delayedSetIsOver=Object(o.debounce)((function(t){return e.setState({isOver:t})}),q),e.cancelIsMouseDown=e.createSetIsMouseDown(!1),e.isInMouseDown=!1,e.state={isOver:!1},e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel(),document.removeEventListener("mouseup",this.cancelIsMouseDown)}},{key:"emitToChild",value:function(e,t){var n=this.props.children;if(1===a.Children.count(n)){var r=a.Children.only(n);"function"==typeof r.props[e]&&r.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var n=this;return function(r){if(n.emitToChild(e,r),!(r.currentTarget.disabled||"focus"===r.type&&n.isInMouseDown)){n.delayedSetIsOver.cancel();var a=Object(o.includes)(["focus","mouseenter"],r.type);a!==n.state.isOver&&(t?n.delayedSetIsOver(a):n.setState({isOver:a}))}}}},{key:"createSetIsMouseDown",value:function(e){var t=this;return function(n){t.emitToChild(e?"onMouseDown":"onMouseUp",n),document[e?"addEventListener":"removeEventListener"]("mouseup",t.cancelIsMouseDown),t.isInMouseDown=e}}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.position,r=e.text,o=e.shortcut;if(1!==a.Children.count(t))return t;var i=a.Children.only(t),s=this.state.isOver;return Object(a.cloneElement)(i,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),onMouseDown:this.createSetIsMouseDown(!0),children:Object(a.concatChildren)(i.props.children,s&&Object(a.createElement)(ge,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true",animate:!1},r,Object(a.createElement)(G,{className:"components-tooltip__shortcut",shortcut:o})))})}}]),t}(a.Component),Z=function(e){function t(){return Object(m.a)(this,t),Object(y.a)(this,Object(g.a)(t).apply(this,arguments))}return Object(_.a)(t,e),Object(k.a)(t,[{key:"render",value:function(){var e,t=this.props,n=t.icon,r=t.size,o=void 0===r?20:r,i=t.className,s=Object(M.a)(t,["icon","size","className"]);switch(n){case"admin-appearance":e="M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z";break;case"admin-collapse":e="M10 2.16c4.33 0 7.84 3.51 7.84 7.84s-3.51 7.84-7.84 7.84S2.16 14.33 2.16 10 5.71 2.16 10 2.16zm2 11.72V6.12L6.18 9.97z";break;case"admin-comments":e="M5 2h9c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z";break;case"admin-customizer":e="M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z";break;case"admin-generic":e="M18 12h-2.18c-.17.7-.44 1.35-.81 1.93l1.54 1.54-2.1 2.1-1.54-1.54c-.58.36-1.23.63-1.91.79V19H8v-2.18c-.68-.16-1.33-.43-1.91-.79l-1.54 1.54-2.12-2.12 1.54-1.54c-.36-.58-.63-1.23-.79-1.91H1V9.03h2.17c.16-.7.44-1.35.8-1.94L2.43 5.55l2.1-2.1 1.54 1.54c.58-.37 1.24-.64 1.93-.81V2h3v2.18c.68.16 1.33.43 1.91.79l1.54-1.54 2.12 2.12-1.54 1.54c.36.59.64 1.24.8 1.94H18V12zm-8.5 1.5c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z";break;case"admin-home":e="M16 8.5l1.53 1.53-1.06 1.06L10 4.62l-6.47 6.47-1.06-1.06L10 2.5l4 4v-2h2v4zm-6-2.46l6 5.99V18H4v-5.97zM12 17v-5H8v5h4z";break;case"admin-links":e="M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z";break;case"admin-media":e="M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z";break;case"admin-multisite":e="M14.27 6.87L10 3.14 5.73 6.87 5 6.14l5-4.38 5 4.38zM14 8.42l-4.05 3.43L6 8.38v-.74l4-3.5 4 3.5v.78zM11 9.7V8H9v1.7h2zm-1.73 4.03L5 10 .73 13.73 0 13l5-4.38L10 13zm10 0L15 10l-4.27 3.73L10 13l5-4.38L20 13zM5 11l4 3.5V18H1v-3.5zm10 0l4 3.5V18h-8v-3.5zm-9 6v-2H4v2h2zm10 0v-2h-2v2h2z";break;case"admin-network":e="M16.95 2.58c1.96 1.95 1.96 5.12 0 7.07-1.51 1.51-3.75 1.84-5.59 1.01l-1.87 3.31-2.99.31L5 18H2l-1-2 7.95-7.69c-.92-1.87-.62-4.18.93-5.73 1.95-1.96 5.12-1.96 7.07 0zm-2.51 3.79c.74 0 1.33-.6 1.33-1.34 0-.73-.59-1.33-1.33-1.33-.73 0-1.33.6-1.33 1.33 0 .74.6 1.34 1.33 1.34z";break;case"admin-page":e="M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z";break;case"admin-plugins":e="M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z";break;case"admin-post":e="M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z";break;case"admin-settings":e="M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z";break;case"admin-site-alt":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm7.5 6.48c-.274.896-.908 1.64-1.75 2.05-.45-1.69-1.658-3.074-3.27-3.75.13-.444.41-.83.79-1.09-.43-.28-1-.42-1.34.07-.53.69 0 1.61.21 2v.14c-.555-.337-.99-.84-1.24-1.44-.966-.03-1.922.208-2.76.69-.087-.565-.032-1.142.16-1.68.733.07 1.453-.23 1.92-.8.46-.52-.13-1.18-.59-1.58h.36c1.36-.01 2.702.335 3.89 1 1.36 1.005 2.194 2.57 2.27 4.26.24 0 .7-.55.91-.92.172.34.32.69.44 1.05zM9 16.84c-2.05-2.08.25-3.75-1-5.24-.92-.85-2.29-.26-3.11-1.23-.282-1.473.267-2.982 1.43-3.93.52-.44 4-1 5.42.22.83.715 1.415 1.674 1.67 2.74.46.035.918-.066 1.32-.29.41 2.98-3.15 6.74-5.73 7.73zM5.15 2.09c.786-.3 1.676-.028 2.16.66-.42.38-.94.63-1.5.72.02-.294.085-.584.19-.86l-.85-.52z";break;case"admin-site-alt2":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm2.92 12.34c0 .35.14.63.36.66.22.03.47-.22.58-.6l.2.08c.718.384 1.07 1.22.84 2-.15.69-.743 1.198-1.45 1.24-.49-1.21-2.11.06-3.56-.22-.612-.154-1.11-.6-1.33-1.19 1.19-.11 2.85-1.73 4.36-1.97zM8 11.27c.918 0 1.695-.68 1.82-1.59.44.54.41 1.324-.07 1.83-.255.223-.594.325-.93.28-.335-.047-.635-.236-.82-.52zm3-.76c.41.39 3-.06 3.52 1.09-.95-.2-2.95.61-3.47-1.08l-.05-.01zM9.73 5.45v.27c-.65-.77-1.33-1.07-1.61-.57-.28.5 1 1.11.76 1.88-.24.77-1.27.56-1.88 1.61-.61 1.05-.49 2.42 1.24 3.67-1.192-.132-2.19-.962-2.54-2.11-.4-1.2-.09-2.26-.78-2.46C4 7.46 3 8.71 3 9.8c-1.26-1.26.05-2.86-1.2-4.18C3.5 1.998 7.644.223 11.44 1.49c-1.1 1.02-1.722 2.458-1.71 3.96z";break;case"admin-site-alt3":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z";break;case"admin-site":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm3.46 11.95c0 1.47-.8 3.3-4.06 4.7.3-4.17-2.52-3.69-3.2-5 .126-1.1.804-2.063 1.8-2.55-1.552-.266-3-.96-4.18-2 .05.47.28.904.64 1.21-.782-.295-1.458-.817-1.94-1.5.977-3.225 3.883-5.482 7.25-5.63-.84 1.38-1.5 4.13 0 5.57C7.23 7 6.26 5 5.41 5.79c-1.13 1.06.33 2.51 3.42 3.08 3.29.59 3.66 1.58 3.63 3.08zm1.34-4c-.32-1.11.62-2.23 1.69-3.14 1.356 1.955 1.67 4.45.84 6.68-.77-1.89-2.17-2.32-2.53-3.57v.03z";break;case"admin-tools":e="M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z";break;case"admin-users":e="M10 9.25c-2.27 0-2.73-3.44-2.73-3.44C7 4.02 7.82 2 9.97 2c2.16 0 2.98 2.02 2.71 3.81 0 0-.41 3.44-2.68 3.44zm0 2.57L12.72 10c2.39 0 4.52 2.33 4.52 4.53v2.49s-3.65 1.13-7.24 1.13c-3.65 0-7.24-1.13-7.24-1.13v-2.49c0-2.25 1.94-4.48 4.47-4.48z";break;case"album":e="M0 18h10v-.26c1.52.4 3.17.35 4.76-.24 4.14-1.52 6.27-6.12 4.75-10.26-1.43-3.89-5.58-6-9.51-4.98V2H0v16zM9 3v14H1V3h8zm5.45 8.22c-.68 1.35-2.32 1.9-3.67 1.23-.31-.15-.57-.35-.78-.59V8.13c.8-.86 2.11-1.13 3.22-.58 1.35.68 1.9 2.32 1.23 3.67zm-2.75-.82c.22.16.53.12.7-.1.16-.22.12-.53-.1-.7s-.53-.12-.7.1c-.16.21-.12.53.1.7zm3.01 3.67c-1.17.78-2.56.99-3.83.69-.27-.06-.44-.34-.37-.61s.34-.43.62-.36l.17.04c.96.17 1.98-.01 2.86-.59.47-.32.86-.72 1.14-1.18.15-.23.45-.3.69-.16.23.15.3.46.16.69-.36.57-.84 1.08-1.44 1.48zm1.05 1.57c-1.48.99-3.21 1.32-4.84 1.06-.28-.05-.47-.32-.41-.6.05-.27.32-.45.61-.39l.22.04c1.31.15 2.68-.14 3.87-.94.71-.47 1.27-1.07 1.7-1.74.14-.24.45-.31.68-.16.24.14.31.45.16.69-.49.79-1.16 1.49-1.99 2.04z";break;case"align-center":e="M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z";break;case"align-full-width":e="M17 13V3H3v10h14zM5 17h10v-2H5v2z";break;case"align-left":e="M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z";break;case"align-none":e="M3 5h14V3H3v2zm10 8V7H3v6h10zM3 17h14v-2H3v2z";break;case"align-pull-left":e="M9 16V4H3v12h6zm2-7h6V7h-6v2zm0 4h6v-2h-6v2z";break;case"align-pull-right":e="M17 16V4h-6v12h6zM9 7H3v2h6V7zm0 4H3v2h6v-2z";break;case"align-right":e="M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z";break;case"align-wide":e="M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z";break;case"analytics":e="M18 18V2H2v16h16zM16 5H4V4h12v1zM7 7v3h3c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3zm1 2V7c1.1 0 2 .9 2 2H8zm8-1h-4V7h4v1zm0 3h-4V9h4v2zm0 2h-4v-1h4v1zm0 3H4v-1h12v1z";break;case"archive":e="M19 4v2H1V4h18zM2 7h16v10H2V7zm11 3V9H7v1h6z";break;case"arrow-down-alt":e="M9 2h2v12l4-4 2 1-7 7-7-7 2-1 4 4V2z";break;case"arrow-down-alt2":e="M5 6l5 5 5-5 2 1-7 7-7-7z";break;case"arrow-down":e="M15 8l-4.03 6L7 8h8z";break;case"arrow-left-alt":e="M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z";break;case"arrow-left-alt2":e="M14 5l-5 5 5 5-1 2-7-7 7-7z";break;case"arrow-left":e="M13 14L7 9.97 13 6v8z";break;case"arrow-right-alt":e="M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z";break;case"arrow-right-alt2":e="M6 15l5-5-5-5 1-2 7 7-7 7z";break;case"arrow-right":e="M8 6l6 4.03L8 14V6z";break;case"arrow-up-alt":e="M11 18H9V6l-4 4-2-1 7-7 7 7-2 1-4-4v12z";break;case"arrow-up-alt2":e="M15 14l-5-5-5 5-2-1 7-7 7 7z";break;case"arrow-up":e="M7 13l4.03-6L15 13H7z";break;case"art":e="M8.55 3.06c1.01.34-1.95 2.01-.1 3.13 1.04.63 3.31-2.22 4.45-2.86.97-.54 2.67-.65 3.53 1.23 1.09 2.38.14 8.57-3.79 11.06-3.97 2.5-8.97 1.23-10.7-2.66-2.01-4.53 3.12-11.09 6.61-9.9zm1.21 6.45c.73 1.64 4.7-.5 3.79-2.8-.59-1.49-4.48 1.25-3.79 2.8z";break;case"awards":e="M4.46 5.16L5 7.46l-.54 2.29 2.01 1.24L7.7 13l2.3-.54 2.3.54 1.23-2.01 2.01-1.24L15 7.46l.54-2.3-2-1.24-1.24-2.01-2.3.55-2.29-.54-1.25 2zm5.55 6.34C7.79 11.5 6 9.71 6 7.49c0-2.2 1.79-3.99 4.01-3.99 2.2 0 3.99 1.79 3.99 3.99 0 2.22-1.79 4.01-3.99 4.01zm-.02-1C8.33 10.5 7 9.16 7 7.5c0-1.65 1.33-3 2.99-3S13 5.85 13 7.5c0 1.66-1.35 3-3.01 3zm3.84 1.1l-1.28 2.24-2.08-.47L13 19.2l1.4-2.2h2.5zm-7.7.07l1.25 2.25 2.13-.51L7 19.2 5.6 17H3.1z";break;case"backup":e="M13.65 2.88c3.93 2.01 5.48 6.84 3.47 10.77s-6.83 5.48-10.77 3.47c-1.87-.96-3.2-2.56-3.86-4.4l1.64-1.03c.45 1.57 1.52 2.95 3.08 3.76 3.01 1.54 6.69.35 8.23-2.66 1.55-3.01.36-6.69-2.65-8.24C9.78 3.01 6.1 4.2 4.56 7.21l1.88.97-4.95 3.08-.39-5.82 1.78.91C4.9 2.4 9.75.89 13.65 2.88zm-4.36 7.83C9.11 10.53 9 10.28 9 10c0-.07.03-.12.04-.19h-.01L10 5l.97 4.81L14 13l-4.5-2.12.02-.02c-.08-.04-.16-.09-.23-.15z";break;case"block-default":e="M15 6V4h-3v2H8V4H5v2H4c-.6 0-1 .4-1 1v8h14V7c0-.6-.4-1-1-1h-1z";break;case"book-alt":e="M5 17h13v2H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h13v14H5c-.55 0-1 .45-1 1s.45 1 1 1zm2-3.5v-11c0-.28-.22-.5-.5-.5s-.5.22-.5.5v11c0 .28.22.5.5.5s.5-.22.5-.5z";break;case"book":e="M16 3h2v16H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h9v14H5c-.55 0-1 .45-1 1s.45 1 1 1h11V3z";break;case"buddicons-activity":e="M8 1v7h2V6c0-1.52 1.45-3 3-3v.86c.55-.52 1.26-.86 2-.86v3h1c1.1 0 2 .9 2 2s-.9 2-2 2h-1v6c0 .55-.45 1-1 1s-1-.45-1-1v-2.18c-.31.11-.65.18-1 .18v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2c-.35 0-.69-.07-1-.18V16c0 .55-.45 1-1 1s-1-.45-1-1v-4H2v-1c0-1.66 1.34-3 3-3h2V1h1zm5 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z";break;case"buddicons-bbpress-logo":e="M8.5 12.6c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.3 1.7c-.3 1 .3 1.5 1 1.5 1.2 0 1.9-1.1 2.2-2.4zm-4-6.4C3.7 7.3 3.3 8.6 3.3 10c0 1 .2 1.9.6 2.8l1-4.6c.3-1.7.4-2-.4-2zm9.3 6.4c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.4 1.7c-.2 1.1.4 1.6 1.1 1.6 1.1-.1 1.9-1.2 2.2-2.5zM10 3.3c-2 0-3.9.9-5.1 2.3.6-.1 1.4-.2 1.8-.3.2 0 .2.1.2.2 0 .2-1 4.8-1 4.8.5-.3 1.2-.7 1.8-.7.9 0 1.5.4 1.9.9l.5-2.4c.4-1.6.4-1.9-.4-1.9-.4 0-.4-.5 0-.6.6-.1 1.8-.2 2.3-.3.2 0 .2.1.2.2l-1 4.8c.5-.4 1.2-.7 1.9-.7 1.7 0 2.5 1.3 2.1 3-.3 1.7-2 3-3.8 3-1.3 0-2.1-.7-2.3-1.4-.7.8-1.7 1.3-2.8 1.4 1.1.7 2.4 1.1 3.7 1.1 3.7 0 6.7-3 6.7-6.7s-3-6.7-6.7-6.7zM10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 15.5c-2.1 0-4-.8-5.3-2.2-.3-.4-.7-.8-1-1.2-.7-1.2-1.2-2.6-1.2-4.1 0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5z";break;case"buddicons-buddypress-logo":e="M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10 4.48 0 10 0zm0 .5C4.75.5.5 4.75.5 10s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5S15.25.5 10 .5zm0 1c4.7 0 8.5 3.8 8.5 8.5s-3.8 8.5-8.5 8.5-8.5-3.8-8.5-8.5S5.3 1.5 10 1.5zm1.8 1.71c-.57 0-1.1.17-1.55.45 1.56.37 2.73 1.77 2.73 3.45 0 .69-.21 1.33-.55 1.87 1.31-.29 2.29-1.45 2.29-2.85 0-1.61-1.31-2.92-2.92-2.92zm-2.38 1c-1.61 0-2.92 1.31-2.92 2.93 0 1.61 1.31 2.92 2.92 2.92 1.62 0 2.93-1.31 2.93-2.92 0-1.62-1.31-2.93-2.93-2.93zm4.25 5.01l-.51.59c2.34.69 2.45 3.61 2.45 3.61h1.28c0-4.71-3.22-4.2-3.22-4.2zm-2.1.8l-2.12 2.09-2.12-2.09C3.12 10.24 3.89 15 3.89 15h11.08c.47-4.98-3.4-4.98-3.4-4.98z";break;case"buddicons-community":e="M9 3c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zm4 0c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zM9 9V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 0V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 1c0-1.48-1.41-2.77-3.5-3.46V9c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V6.01c-.17 0-.33-.01-.5-.01s-.33.01-.5.01V9c0 .83-.67 1.5-1.5 1.5S6.5 9.83 6.5 9V6.54C4.41 7.23 3 8.52 3 10c0 1.41.95 2.65 3.21 3.37 1.11.35 2.39 1.12 3.79 1.12s2.69-.78 3.79-1.13C16.04 12.65 17 11.41 17 10zm-7 5.43c1.43 0 2.74-.79 3.88-1.11 1.9-.53 2.49-1.34 3.12-2.32v3c0 2.21-3.13 4-7 4s-7-1.79-7-4v-3c.64.99 1.32 1.8 3.15 2.33 1.13.33 2.44 1.1 3.85 1.1z";break;case"buddicons-forums":e="M13.5 7h-7C5.67 7 5 6.33 5 5.5S5.67 4 6.5 4h1.59C8.04 3.84 8 3.68 8 3.5 8 2.67 8.67 2 9.5 2h1c.83 0 1.5.67 1.5 1.5 0 .18-.04.34-.09.5h1.59c.83 0 1.5.67 1.5 1.5S14.33 7 13.5 7zM4 8h12c.55 0 1 .45 1 1s-.45 1-1 1H4c-.55 0-1-.45-1-1s.45-1 1-1zm1 3h10c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm2 3h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.09c.05.16.09.32.09.5 0 .83-.67 1.5-1.5 1.5h-1c-.83 0-1.5-.67-1.5-1.5 0-.18.04-.34.09-.5H7c-.55 0-1-.45-1-1s.45-1 1-1z";break;case"buddicons-friends":e="M8.75 5.77C8.75 4.39 7 2 7 2S5.25 4.39 5.25 5.77 5.9 7.5 7 7.5s1.75-.35 1.75-1.73zm6 0C14.75 4.39 13 2 13 2s-1.75 2.39-1.75 3.77S11.9 7.5 13 7.5s1.75-.35 1.75-1.73zM9 17V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm6 0V9c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-9-6l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2zm-6 3l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2z";break;case"buddicons-groups":e="M15.45 6.25c1.83.94 1.98 3.18.7 4.98-.8 1.12-2.33 1.88-3.46 1.78L10.05 18H9l-2.65-4.99c-1.13.16-2.73-.63-3.55-1.79-1.28-1.8-1.13-4.04.71-4.97.48-.24.96-.33 1.43-.31-.01.4.01.8.07 1.21.26 1.69 1.41 3.53 2.86 4.37-.19.55-.49.99-.88 1.25L9 16.58v-5.66C7.64 10.55 6.26 8.76 6 7c-.4-2.65 1-5 3.5-5s3.9 2.35 3.5 5c-.26 1.76-1.64 3.55-3 3.92v5.77l2.07-3.84c-.44-.23-.77-.71-.99-1.3 1.48-.83 2.65-2.69 2.91-4.4.06-.41.08-.82.07-1.22.46-.01.92.08 1.39.32z";break;case"buddicons-pm":e="M10 2c3 0 8 5 8 5v11H2V7s5-5 8-5zm7 14.72l-3.73-2.92L17 11l-.43-.37-2.26 1.3.24-4.31-8.77-.52-.46 4.54-1.99-.95L3 11l3.73 2.8-3.44 2.85.4.43L10 13l6.53 4.15z";break;case"buddicons-replies":e="M17.54 10.29c1.17 1.17 1.17 3.08 0 4.25-1.18 1.17-3.08 1.17-4.25 0l-.34-.52c0 3.66-2 4.38-2.95 4.98-.82-.6-2.95-1.28-2.95-4.98l-.34.52c-1.17 1.17-3.07 1.17-4.25 0-1.17-1.17-1.17-3.08 0-4.25 0 0 1.02-.67 2.1-1.3C3.71 7.84 3.2 6.42 3.2 4.88c0-.34.03-.67.08-1C3.53 5.66 4.47 7.22 5.8 8.3c.67-.35 1.85-.83 2.37-.92H8c-1.1 0-2-.9-2-2s.9-2 2-2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5h2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5c1.1 0 2 .9 2 2s-.9 2-2 2h-.17c.51.09 1.78.61 2.38.92 1.33-1.08 2.27-2.64 2.52-4.42.05.33.08.66.08 1 0 1.54-.51 2.96-1.36 4.11 1.08.63 2.09 1.3 2.09 1.3zM8.5 6.38c.5 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-2.3 5.73c-.12.11-.19.26-.19.43.02.25.23.46.49.46h1c.26 0 .47-.21.49-.46 0-.15-.07-.29-.19-.43-.08-.06-.18-.11-.3-.11h-1c-.12 0-.22.05-.3.11zM12 12.5c0-.12-.06-.28-.19-.38-.09-.07-.19-.12-.31-.12h-3c-.12 0-.22.05-.31.12-.11.1-.19.25-.19.38 0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 15h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm1 2h1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5z";break;case"buddicons-topics":e="M10.44 1.66c-.59-.58-1.54-.58-2.12 0L2.66 7.32c-.58.58-.58 1.53 0 2.12.6.6 1.56.56 2.12 0l5.66-5.66c.58-.58.59-1.53 0-2.12zm2.83 2.83c-.59-.59-1.54-.59-2.12 0l-5.66 5.66c-.59.58-.59 1.53 0 2.12.6.6 1.56.55 2.12 0l5.66-5.66c.58-.58.58-1.53 0-2.12zm1.06 6.72l4.18 4.18c.59.58.59 1.53 0 2.12s-1.54.59-2.12 0l-4.18-4.18-1.77 1.77c-.59.58-1.54.58-2.12 0-.59-.59-.59-1.54 0-2.13l5.66-5.65c.58-.59 1.53-.59 2.12 0 .58.58.58 1.53 0 2.12zM5 15c0-1.59-1.66-4-1.66-4S2 13.78 2 15s.6 2 1.34 2h.32C4.4 17 5 16.59 5 15z";break;case"buddicons-tracking":e="M10.98 6.78L15.5 15c-1 2-3.5 3-5.5 3s-4.5-1-5.5-3L9 6.82c-.75-1.23-2.28-1.98-4.29-2.03l2.46-2.92c1.68 1.19 2.46 2.32 2.97 3.31.56-.87 1.2-1.68 2.7-2.12l1.83 2.86c-1.42-.34-2.64.08-3.69.86zM8.17 10.4l-.93 1.69c.49.11 1 .16 1.54.16 1.35 0 2.58-.36 3.55-.95l-1.01-1.82c-.87.53-1.96.86-3.15.92zm.86 5.38c1.99 0 3.73-.74 4.74-1.86l-.98-1.76c-1 1.12-2.74 1.87-4.74 1.87-.62 0-1.21-.08-1.76-.21l-.63 1.15c.94.5 2.1.81 3.37.81z";break;case"building":e="M3 20h14V0H3v20zM7 3H5V1h2v2zm4 0H9V1h2v2zm4 0h-2V1h2v2zM7 6H5V4h2v2zm4 0H9V4h2v2zm4 0h-2V4h2v2zM7 9H5V7h2v2zm4 0H9V7h2v2zm4 0h-2V7h2v2zm-8 3H5v-2h2v2zm4 0H9v-2h2v2zm4 0h-2v-2h2v2zm-4 7H5v-6h6v6zm4-4h-2v-2h2v2zm0 3h-2v-2h2v2z";break;case"businessman":e="M7.3 6l-.03-.19c-.04-.37-.05-.73-.03-1.08.02-.36.1-.71.25-1.04.14-.32.31-.61.52-.86s.49-.46.83-.6c.34-.15.72-.23 1.13-.23.69 0 1.26.2 1.71.59s.76.87.91 1.44.18 1.16.09 1.78l-.03.19c-.01.09-.05.25-.11.48-.05.24-.12.47-.2.69-.08.21-.19.45-.34.72-.14.27-.3.49-.47.69-.18.19-.4.34-.67.48-.27.13-.55.19-.86.19s-.59-.06-.87-.19c-.26-.13-.49-.29-.67-.5-.18-.2-.34-.42-.49-.66-.15-.25-.26-.49-.34-.73-.09-.25-.16-.47-.21-.67-.06-.21-.1-.37-.12-.5zm9.2 6.24c.41.7.5 1.41.5 2.14v2.49c0 .03-.12.08-.29.13-.18.04-.42.13-.97.27-.55.12-1.1.24-1.65.34s-1.19.19-1.95.27c-.75.08-1.46.12-2.13.12-.68 0-1.39-.04-2.14-.12-.75-.07-1.4-.17-1.98-.27-.58-.11-1.08-.23-1.56-.34-.49-.11-.8-.21-1.06-.29L3 16.87v-2.49c0-.75.07-1.46.46-2.15s.81-1.25 1.5-1.68C5.66 10.12 7.19 10 8 10l1.67 1.67L9 13v3l1.02 1.08L11 16v-3l-.68-1.33L11.97 10c.77 0 2.2.07 2.9.52.71.45 1.21 1.02 1.63 1.72z";break;case"button":e="M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z";break;case"calendar-alt":e="M15 4h3v15H2V4h3V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1h4V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1zM6 3v2.5c0 .14.05.26.15.36.09.09.21.14.35.14s.26-.05.35-.14c.1-.1.15-.22.15-.36V3c0-.14-.05-.26-.15-.35-.09-.1-.21-.15-.35-.15s-.26.05-.35.15c-.1.09-.15.21-.15.35zm7 0v2.5c0 .14.05.26.14.36.1.09.22.14.36.14s.26-.05.36-.14c.09-.1.14-.22.14-.36V3c0-.14-.05-.26-.14-.35-.1-.1-.22-.15-.36-.15s-.26.05-.36.15c-.09.09-.14.21-.14.35zm4 15V8H3v10h14zM7 9v2H5V9h2zm2 0h2v2H9V9zm4 2V9h2v2h-2zm-6 1v2H5v-2h2zm2 0h2v2H9v-2zm4 2v-2h2v2h-2zm-6 1v2H5v-2h2zm4 2H9v-2h2v2zm4 0h-2v-2h2v2z";break;case"calendar":e="M15 4h3v14H2V4h3V3c0-.83.67-1.5 1.5-1.5S8 2.17 8 3v1h4V3c0-.83.67-1.5 1.5-1.5S15 2.17 15 3v1zM6 3v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5S6 2.72 6 3zm7 0v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5s-.5.22-.5.5zm4 14V8H3v9h14zM7 16V9H5v7h2zm4 0V9H9v7h2zm4 0V9h-2v7h2z";break;case"camera":e="M6 5V3H3v2h3zm12 10V4H9L7 6H2v9h16zm-7-8c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z";break;case"carrot":e="M2 18.43c1.51 1.36 11.64-4.67 13.14-7.21.72-1.22-.13-3.01-1.52-4.44C15.2 5.73 16.59 9 17.91 8.31c.6-.32.99-1.31.7-1.92-.52-1.08-2.25-1.08-3.42-1.21.83-.2 2.82-1.05 2.86-2.25.04-.92-1.13-1.97-2.05-1.86-1.21.14-1.65 1.88-2.06 3-.05-.71-.2-2.27-.98-2.95-1.04-.91-2.29-.05-2.32 1.05-.04 1.33 2.82 2.07 1.92 3.67C11.04 4.67 9.25 4.03 8.1 4.7c-.49.31-1.05.91-1.63 1.69.89.94 2.12 2.07 3.09 2.72.2.14.26.42.11.62-.14.21-.42.26-.62.12-.99-.67-2.2-1.78-3.1-2.71-.45.67-.91 1.43-1.34 2.23.85.86 1.93 1.83 2.79 2.41.2.14.25.42.11.62-.14.21-.42.26-.63.12-.85-.58-1.86-1.48-2.71-2.32C2.4 13.69 1.1 17.63 2 18.43z";break;case"cart":e="M6 13h9c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1V4H2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v2h13l-4 7H6v1zm-.5 3c.83 0 1.5.67 1.5 1.5S6.33 19 5.5 19 4 18.33 4 17.5 4.67 16 5.5 16zm9 0c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z";break;case"category":e="M5 7h13v10H2V4h7l2 2H4v9h1V7z";break;case"chart-area":e="M18 18l.01-12.28c.59-.35.99-.99.99-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.47 1.48 1.14 1.8l-4.13 6.58c-.33-.24-.73-.38-1.16-.38-.84 0-1.55.51-1.85 1.24l-2.14-1.53c.09-.22.14-.46.14-.71 0-1.11-.89-2-2-2-1.1 0-2 .89-2 2 0 .73.4 1.36.98 1.71L1 18h17zM17 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM5 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5.85 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"chart-bar":e="M18 18V2h-4v16h4zm-6 0V7H8v11h4zm-6 0v-8H2v8h4z";break;case"chart-line":e="M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z";break;case"chart-pie":e="M10 10V3c3.87 0 7 3.13 7 7h-7zM9 4v7h7c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7z";break;case"clipboard":e="M11.9.39l1.4 1.4c1.61.19 3.5-.74 4.61.37s.18 3 .37 4.61l1.4 1.4c.39.39.39 1.02 0 1.41l-9.19 9.2c-.4.39-1.03.39-1.42 0L1.29 11c-.39-.39-.39-1.02 0-1.42l9.2-9.19c.39-.39 1.02-.39 1.41 0zm.58 2.25l-.58.58 4.95 4.95.58-.58c-.19-.6-.2-1.22-.15-1.82.02-.31.05-.62.09-.92.12-1 .18-1.63-.17-1.98s-.98-.29-1.98-.17c-.3.04-.61.07-.92.09-.6.05-1.22.04-1.82-.15zm4.02.93c.39.39.39 1.03 0 1.42s-1.03.39-1.42 0-.39-1.03 0-1.42 1.03-.39 1.42 0zm-6.72.36l-.71.7L15.44 11l.7-.71zM8.36 5.34l-.7.71 6.36 6.36.71-.7zM6.95 6.76l-.71.7 6.37 6.37.7-.71zM5.54 8.17l-.71.71 6.36 6.36.71-.71zM4.12 9.58l-.71.71 6.37 6.37.71-.71z";break;case"clock":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 14c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm-.71-5.29c.07.05.14.1.23.15l-.02.02L14 13l-3.03-3.19L10 5l-.97 4.81h.01c0 .02-.01.05-.02.09S9 9.97 9 10c0 .28.1.52.29.71z";break;case"cloud-saved":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16h10c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5zm-6.3 5.9l-3.2-3.2 1.4-1.4 1.8 1.8 3.8-3.8 1.4 1.4-5.2 5.2z";break;case"cloud-upload":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16H8v-3H5l4.5-4.5L14 13h-3v3h3.5c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5z";break;case"cloud":e="M14.9 9c1.8.2 3.1 1.7 3.1 3.5 0 1.9-1.6 3.5-3.5 3.5h-10C2.6 16 1 14.4 1 12.5 1 10.7 2.3 9.3 4.1 9 4 8.9 4 8.7 4 8.5 4 7.1 5.1 6 6.5 6c.3 0 .7.1.9.2C8.1 4.9 9.4 4 11 4c2.2 0 4 1.8 4 4 0 .4-.1.7-.1 1z";break;case"columns":e="M3 15h6V5H3v10zm8 0h6V5h-6v10z";break;case"controls-back":e="M2 10l10-6v3.6L18 4v12l-6-3.6V16z";break;case"controls-forward":e="M18 10L8 16v-3.6L2 16V4l6 3.6V4z";break;case"controls-pause":e="M5 16V4h3v12H5zm7-12h3v12h-3V4z";break;case"controls-play":e="M5 4l10 6-10 6V4z";break;case"controls-repeat":e="M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z";break;case"controls-skipback":e="M11.98 7.63l6-3.6v12l-6-3.6v3.6l-8-4.8v4.8h-2v-12h2v4.8l8-4.8v3.6z";break;case"controls-skipforward":e="M8 12.4L2 16V4l6 3.6V4l8 4.8V4h2v12h-2v-4.8L8 16v-3.6z";break;case"controls-volumeoff":e="M2 7h4l5-4v14l-5-4H2V7z";break;case"controls-volumeon":e="M2 7h4l5-4v14l-5-4H2V7zm12.69-2.46C14.82 4.59 18 5.92 18 10s-3.18 5.41-3.31 5.46c-.06.03-.13.04-.19.04-.2 0-.39-.12-.46-.31-.11-.26.02-.55.27-.65.11-.05 2.69-1.15 2.69-4.54 0-3.41-2.66-4.53-2.69-4.54-.25-.1-.38-.39-.27-.65.1-.25.39-.38.65-.27zM16 10c0 2.57-2.23 3.43-2.32 3.47-.06.02-.12.03-.18.03-.2 0-.39-.12-.47-.32-.1-.26.04-.55.29-.65.07-.02 1.68-.67 1.68-2.53s-1.61-2.51-1.68-2.53c-.25-.1-.38-.39-.29-.65.1-.25.39-.39.65-.29.09.04 2.32.9 2.32 3.47z";break;case"cover-image":e="M2.2 1h15.5c.7 0 1.3.6 1.3 1.2v11.5c0 .7-.6 1.2-1.2 1.2H2.2c-.6.1-1.2-.5-1.2-1.1V2.2C1 1.6 1.6 1 2.2 1zM17 13V3H3v10h14zm-4-4s0-5 3-5v7c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1V7c2 0 3 4 3 4s1-4 3-4 3 2 3 2zM4 17h12v2H4z";break;case"dashboard":e="M3.76 16h12.48c1.1-1.37 1.76-3.11 1.76-5 0-4.42-3.58-8-8-8s-8 3.58-8 8c0 1.89.66 3.63 1.76 5zM10 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5.37 5.55L12 7v6c0 1.1-.9 2-2 2s-2-.9-2-2c0-.57.24-1.08.63-1.45zM4 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5 3c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1z";break;case"desktop":e="M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z";break;case"dismiss":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z";break;case"download":e="M14.01 4v6h2V2H4v8h2.01V4h8zm-2 2v6h3l-5 6-5-6h3V6h4z";break;case"edit":e="M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z";break;case"editor-aligncenter":e="M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z";break;case"editor-alignleft":e="M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z";break;case"editor-alignright":e="M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z";break;case"editor-bold":e="M6 4v13h4.54c1.37 0 2.46-.33 3.26-1 .8-.66 1.2-1.58 1.2-2.77 0-.84-.17-1.51-.51-2.01s-.9-.85-1.67-1.03v-.09c.57-.1 1.02-.4 1.36-.9s.51-1.13.51-1.91c0-1.14-.39-1.98-1.17-2.5C12.75 4.26 11.5 4 9.78 4H6zm2.57 5.15V6.26h1.36c.73 0 1.27.11 1.61.32.34.22.51.58.51 1.07 0 .54-.16.92-.47 1.15s-.82.35-1.51.35h-1.5zm0 2.19h1.6c1.44 0 2.16.53 2.16 1.61 0 .6-.17 1.05-.51 1.34s-.86.43-1.57.43H8.57v-3.38z";break;case"editor-break":e="M16 4h2v9H7v3l-5-4 5-4v3h9V4z";break;case"editor-code":e="M9 6l-4 4 4 4-1 2-6-6 6-6zm2 8l4-4-4-4 1-2 6 6-6 6z";break;case"editor-contract":e="M15.75 6.75L18 3v14l-2.25-3.75L17 12h-4v4l1.25-1.25L18 17H2l3.75-2.25L7 16v-4H3l1.25 1.25L2 17V3l2.25 3.75L3 8h4V4L5.75 5.25 2 3h16l-3.75 2.25L13 4v4h4z";break;case"editor-customchar":e="M10 5.4c1.27 0 2.24.36 2.91 1.08.66.71 1 1.76 1 3.13 0 1.28-.23 2.37-.69 3.27-.47.89-1.27 1.52-2.22 2.12v2h6v-2h-3.69c.92-.64 1.62-1.34 2.12-2.34.49-1.01.74-2.13.74-3.35 0-1.78-.55-3.19-1.65-4.22S11.92 3.54 10 3.54s-3.43.53-4.52 1.57c-1.1 1.04-1.65 2.44-1.65 4.2 0 1.21.24 2.31.73 3.33.48 1.01 1.19 1.71 2.1 2.36H3v2h6v-2c-.98-.64-1.8-1.28-2.24-2.17-.45-.89-.67-1.96-.67-3.22 0-1.37.33-2.41 1-3.13C7.75 5.76 8.72 5.4 10 5.4z";break;case"editor-expand":e="M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3";break;case"editor-help":e="M17 10c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7s3.13 7 7 7c3.86 0 7-3.13 7-7zm-6.3 1.48H9.14v-.43c0-.38.08-.7.24-.98s.46-.57.88-.89c.41-.29.68-.53.81-.71.14-.18.2-.39.2-.62 0-.25-.09-.44-.28-.58-.19-.13-.45-.19-.79-.19-.58 0-1.25.19-2 .57l-.64-1.28c.87-.49 1.8-.74 2.77-.74.81 0 1.45.2 1.92.58.48.39.71.91.71 1.55 0 .43-.09.8-.29 1.11-.19.32-.57.67-1.11 1.06-.38.28-.61.49-.71.63-.1.15-.15.34-.15.57v.35zm-1.47 2.74c-.18-.17-.27-.42-.27-.73 0-.33.08-.58.26-.75s.43-.25.77-.25c.32 0 .57.09.75.26s.27.42.27.74c0 .3-.09.55-.27.72-.18.18-.43.27-.75.27-.33 0-.58-.09-.76-.26z";break;case"editor-indent":e="M3 5V3h9v2H3zm10-1V3h4v1h-4zm0 3h2V5l4 3.5-4 3.5v-2h-2V7zM3 8V6h9v2H3zm2 3V9h7v2H5zm-2 3v-2h9v2H3zm10 0v-1h4v1h-4zm-4 3v-2h3v2H9z";break;case"editor-insertmore":e="M17 7V3H3v4h14zM6 11V9H3v2h3zm6 0V9H8v2h4zm5 0V9h-3v2h3zm0 6v-4H3v4h14z";break;case"editor-italic":e="M14.78 6h-2.13l-2.8 9h2.12l-.62 2H4.6l.62-2h2.14l2.8-9H8.03l.62-2h6.75z";break;case"editor-justify":e="M2 3h16v2H2V3zm0 4h16v2H2V7zm0 4h16v2H2v-2zm0 4h16v2H2v-2z";break;case"editor-kitchensink":e="M19 2v6H1V2h18zm-1 5V3H2v4h16zM5 4v2H3V4h2zm3 0v2H6V4h2zm3 0v2H9V4h2zm3 0v2h-2V4h2zm3 0v2h-2V4h2zm2 5v9H1V9h18zm-1 8v-7H2v7h16zM5 11v2H3v-2h2zm3 0v2H6v-2h2zm3 0v2H9v-2h2zm6 0v2h-5v-2h5zm-6 3v2H3v-2h8zm3 0v2h-2v-2h2zm3 0v2h-2v-2h2z";break;case"editor-ltr":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z";break;case"editor-ol-rtl":e="M15.025 8.75a1.048 1.048 0 0 1 .45-.1.507.507 0 0 1 .35.11.455.455 0 0 1 .13.36.803.803 0 0 1-.06.3 1.448 1.448 0 0 1-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76v-.7h-1.72v-.04l.51-.48a7.276 7.276 0 0 0 .7-.71 1.75 1.75 0 0 0 .3-.49 1.254 1.254 0 0 0 .1-.51.968.968 0 0 0-.16-.56 1.007 1.007 0 0 0-.44-.37 1.512 1.512 0 0 0-.65-.14 1.98 1.98 0 0 0-.51.06 1.9 1.9 0 0 0-.42.15 3.67 3.67 0 0 0-.48.35l.45.54a2.505 2.505 0 0 1 .45-.3zM16.695 15.29a1.29 1.29 0 0 0-.74-.3v-.02a1.203 1.203 0 0 0 .65-.37.973.973 0 0 0 .23-.65.81.81 0 0 0-.37-.71 1.72 1.72 0 0 0-1-.26 2.185 2.185 0 0 0-1.33.4l.4.6a1.79 1.79 0 0 1 .46-.23 1.18 1.18 0 0 1 .41-.07c.38 0 .58.15.58.46a.447.447 0 0 1-.22.43 1.543 1.543 0 0 1-.7.12h-.31v.66h.31a1.764 1.764 0 0 1 .75.12.433.433 0 0 1 .23.41.55.55 0 0 1-.2.47 1.084 1.084 0 0 1-.63.15 2.24 2.24 0 0 1-.57-.08 2.671 2.671 0 0 1-.52-.2v.74a2.923 2.923 0 0 0 1.18.22 1.948 1.948 0 0 0 1.22-.33 1.077 1.077 0 0 0 .43-.92.836.836 0 0 0-.26-.64zM15.005 4.17c.06-.05.16-.14.3-.28l-.02.42V7h.84V3h-.69l-1.29 1.03.4.51zM4.02 5h9v1h-9zM4.02 10h9v1h-9zM4.02 15h9v1h-9z";break;case"editor-ol":e="M6 7V3h-.69L4.02 4.03l.4.51.46-.37c.06-.05.16-.14.3-.28l-.02.42V7H6zm2-2h9v1H8V5zm-1.23 6.95v-.7H5.05v-.04l.51-.48c.33-.31.57-.54.7-.71.14-.17.24-.33.3-.49.07-.16.1-.33.1-.51 0-.21-.05-.4-.16-.56-.1-.16-.25-.28-.44-.37s-.41-.14-.65-.14c-.19 0-.36.02-.51.06-.15.03-.29.09-.42.15-.12.07-.29.19-.48.35l.45.54c.16-.13.31-.23.45-.3.15-.07.3-.1.45-.1.14 0 .26.03.35.11s.13.2.13.36c0 .1-.02.2-.06.3s-.1.21-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76zM8 10h9v1H8v-1zm-1.29 3.95c0-.3-.12-.54-.37-.71-.24-.17-.58-.26-1-.26-.52 0-.96.13-1.33.4l.4.6c.17-.11.32-.19.46-.23.14-.05.27-.07.41-.07.38 0 .58.15.58.46 0 .2-.07.35-.22.43s-.38.12-.7.12h-.31v.66h.31c.34 0 .59.04.75.12.15.08.23.22.23.41 0 .22-.07.37-.2.47-.14.1-.35.15-.63.15-.19 0-.38-.03-.57-.08s-.36-.12-.52-.2v.74c.34.15.74.22 1.18.22.53 0 .94-.11 1.22-.33.29-.22.43-.52.43-.92 0-.27-.09-.48-.26-.64s-.42-.26-.74-.3v-.02c.27-.06.49-.19.65-.37.15-.18.23-.39.23-.65zM8 15h9v1H8v-1z";break;case"editor-outdent":e="M7 4V3H3v1h4zm10 1V3H8v2h9zM7 7H5V5L1 8.5 5 12v-2h2V7zm10 1V6H8v2h9zm-2 3V9H8v2h7zm2 3v-2H8v2h9zM7 14v-1H3v1h4zm4 3v-2H8v2h3z";break;case"editor-paragraph":e="M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71C15.5 2.1 15.27 2 15 2z";break;case"editor-paste-text":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.44 1-1 0-.55-.45-1-1-1s-1 .45-1 1c0 .56.45 1 1 1zm5.45-1H17c.55 0 1 .45 1 1v12c0 .56-.45 1-1 1H3c-.55 0-1-.44-1-1V5c0-.55.45-1 1-1h1.55L4 4.63V7h12V4.63zM14 11V9H6v2h3v5h2v-5h3z";break;case"editor-paste-word":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 12V5c0-.55-.45-1-1-1h-1.54l.54.63V7H4V4.62L4.55 4H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-3-8l-2 7h-2l-1-5-1 5H6.92L5 9h2l1 5 1-5h2l1 5 1-5h2z";break;case"editor-quote":e="M9.49 13.22c0-.74-.2-1.38-.61-1.9-.62-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L7.88 4c-2.73 1.3-5.42 4.28-4.96 8.05C3.21 14.43 4.59 16 6.54 16c.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03zm8.05 0c0-.74-.2-1.38-.61-1.9-.63-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L15.93 4c-2.73 1.3-5.41 4.28-4.95 8.05.29 2.38 1.66 3.95 3.61 3.95.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03z";break;case"editor-removeformatting":e="M14.29 4.59l1.1 1.11c.41.4.61.94.61 1.47v2.12c0 .53-.2 1.07-.61 1.47l-6.63 6.63c-.4.41-.94.61-1.47.61s-1.07-.2-1.47-.61l-1.11-1.1-1.1-1.11c-.41-.4-.61-.94-.61-1.47v-2.12c0-.54.2-1.07.61-1.48l6.63-6.62c.4-.41.94-.61 1.47-.61s1.06.2 1.47.61zm-6.21 9.7l6.42-6.42c.39-.39.39-1.03 0-1.43L12.36 4.3c-.19-.19-.45-.29-.72-.29s-.52.1-.71.29l-6.42 6.42c-.39.4-.39 1.04 0 1.43l2.14 2.14c.38.38 1.04.38 1.43 0z";break;case"editor-rtl":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z";break;case"editor-spellcheck":e="M15.84 2.76c.25 0 .49.04.71.11.23.07.44.16.64.25l.35-.81c-.52-.26-1.08-.39-1.69-.39-.58 0-1.09.13-1.52.37-.43.25-.76.61-.99 1.08C13.11 3.83 13 4.38 13 5c0 .99.23 1.75.7 2.28s1.15.79 2.02.79c.6 0 1.13-.09 1.6-.26v-.84c-.26.08-.51.14-.74.19-.24.05-.49.08-.74.08-.59 0-1.04-.19-1.34-.57-.32-.37-.47-.93-.47-1.66 0-.7.16-1.25.48-1.65.33-.4.77-.6 1.33-.6zM6.5 8h1.04L5.3 2H4.24L2 8h1.03l.58-1.66H5.9zM8 2v6h2.17c.67 0 1.19-.15 1.57-.46.38-.3.56-.72.56-1.26 0-.4-.1-.72-.3-.95-.19-.24-.5-.39-.93-.47v-.04c.35-.06.6-.21.78-.44.18-.24.28-.53.28-.88 0-.52-.19-.9-.56-1.14-.36-.24-.96-.36-1.79-.36H8zm.98 2.48V2.82h.85c.44 0 .77.06.97.19.21.12.31.33.31.61 0 .31-.1.53-.29.66-.18.13-.48.2-.89.2h-.95zM5.64 5.5H3.9l.54-1.56c.14-.4.25-.76.32-1.1l.15.52c.07.23.13.4.17.51zm3.34-.23h.99c.44 0 .76.08.98.23.21.15.32.38.32.69 0 .34-.11.59-.32.75s-.52.24-.93.24H8.98V5.27zM4 13l5 5 9-8-1-1-8 6-4-3z";break;case"editor-strikethrough":e="M15.82 12.25c.26 0 .5-.02.74-.07.23-.05.48-.12.73-.2v.84c-.46.17-.99.26-1.58.26-.88 0-1.54-.26-2.01-.79-.39-.44-.62-1.04-.68-1.79h-.94c.12.21.18.48.18.79 0 .54-.18.95-.55 1.26-.38.3-.9.45-1.56.45H8v-2.5H6.59l.93 2.5H6.49l-.59-1.67H3.62L3.04 13H2l.93-2.5H2v-1h1.31l.93-2.49H5.3l.92 2.49H8V7h1.77c1 0 1.41.17 1.77.41.37.24.55.62.55 1.13 0 .35-.09.64-.27.87l-.08.09h1.29c.05-.4.15-.77.31-1.1.23-.46.55-.82.98-1.06.43-.25.93-.37 1.51-.37.61 0 1.17.12 1.69.38l-.35.81c-.2-.1-.42-.18-.64-.25s-.46-.11-.71-.11c-.55 0-.99.2-1.31.59-.23.29-.38.66-.44 1.11H17v1h-2.95c.06.5.2.9.44 1.19.3.37.75.56 1.33.56zM4.44 8.96l-.18.54H5.3l-.22-.61c-.04-.11-.09-.28-.17-.51-.07-.24-.12-.41-.14-.51-.08.33-.18.69-.33 1.09zm4.53-1.09V9.5h1.19c.28-.02.49-.09.64-.18.19-.13.28-.35.28-.66 0-.28-.1-.48-.3-.61-.2-.12-.53-.18-.97-.18h-.84zm-3.33 2.64v-.01H3.91v.01h1.73zm5.28.01l-.03-.02H8.97v1.68h1.04c.4 0 .71-.08.92-.23.21-.16.31-.4.31-.74 0-.31-.11-.54-.32-.69z";break;case"editor-table":e="M18 17V3H2v14h16zM16 7H4V5h12v2zm-7 4H4V9h5v2zm7 0h-5V9h5v2zm-7 4H4v-2h5v2zm7 0h-5v-2h5v2z";break;case"editor-textcolor":e="M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z";break;case"editor-ul":e="M5.5 7C4.67 7 4 6.33 4 5.5 4 4.68 4.67 4 5.5 4 6.32 4 7 4.68 7 5.5 7 6.33 6.32 7 5.5 7zM8 5h9v1H8V5zm-2.5 7c-.83 0-1.5-.67-1.5-1.5C4 9.68 4.67 9 5.5 9c.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 10h9v1H8v-1zm-2.5 7c-.83 0-1.5-.67-1.5-1.5 0-.82.67-1.5 1.5-1.5.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 15h9v1H8v-1z";break;case"editor-underline":e="M14 5h-2v5.71c0 1.99-1.12 2.98-2.45 2.98-1.32 0-2.55-1-2.55-2.96V5H5v5.87c0 1.91 1 4.54 4.48 4.54 3.49 0 4.52-2.58 4.52-4.5V5zm0 13v-2H5v2h9z";break;case"editor-unlink":e="M17.74 2.26c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-.32.33-.69.58-1.08.77L13 10l1.69-1.64.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-.76.76L10 7l-.65-2.14c.19-.38.44-.75.77-1.07l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM2 4l8 6-6-8zm4-2l4 8-2-8H6zM2 6l8 4-8-2V6zm7.36 7.69L10 13l.74 2.35-1.38 1.39c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.39-1.38L7 10l-.69.64-1.52 1.53c-.85.84-.85 2.2 0 3.04.84.85 2.2.85 3.04 0zM18 16l-8-6 6 8zm-4 2l-4-8 2 8h2zm4-4l-8-4 8 2v2z";break;case"editor-video":e="M16 2h-3v1H7V2H4v15h3v-1h6v1h3V2zM6 3v1H5V3h1zm9 0v1h-1V3h1zm-2 1v5H7V4h6zM6 5v1H5V5h1zm9 0v1h-1V5h1zM6 7v1H5V7h1zm9 0v1h-1V7h1zM6 9v1H5V9h1zm9 0v1h-1V9h1zm-2 1v5H7v-5h6zm-7 1v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1z";break;case"ellipsis":e="M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z";break;case"email-alt":e="M19 14.5v-9c0-.83-.67-1.5-1.5-1.5H3.49c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5H17.5c.83 0 1.5-.67 1.5-1.5zm-1.31-9.11c.33.33.15.67-.03.84L13.6 9.95l3.9 4.06c.12.14.2.36.06.51-.13.16-.43.15-.56.05l-4.37-3.73-2.14 1.95-2.13-1.95-4.37 3.73c-.13.1-.43.11-.56-.05-.14-.15-.06-.37.06-.51l3.9-4.06-4.06-3.72c-.18-.17-.36-.51-.03-.84s.67-.17.95.07l6.24 5.04 6.25-5.04c.28-.24.62-.4.95-.07z";break;case"email-alt2":e="M18.01 11.18V2.51c0-1.19-.9-1.81-2-1.37L4 5.91c-1.1.44-2 1.77-2 2.97v8.66c0 1.2.9 1.81 2 1.37l12.01-4.77c1.1-.44 2-1.76 2-2.96zm-1.43-7.46l-6.04 9.33-6.65-4.6c-.1-.07-.36-.32-.17-.64.21-.36.65-.21.65-.21l6.3 2.32s4.83-6.34 5.11-6.7c.13-.17.43-.34.73-.13.29.2.16.49.07.63z";break;case"email":e="M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17-.3.41-.11.87.13 1.07z";break;case"embed-audio":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 3H7v4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.4 0 .7.1 1 .3V5h4v2zm4 3.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-generic":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3 6.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-photo":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 8H3V6h7v6zm4-1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3zm-6-4V8.5L7.2 10 6 9.2 4 11h5zM4.6 8.6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z";break;case"embed-post":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.6 9l-.4.3c-.4.4-.5 1.1-.2 1.6l-.8.8-1.1-1.1-1.3 1.3c-.2.2-1.6 1.3-1.8 1.1-.2-.2.9-1.6 1.1-1.8l1.3-1.3-1.1-1.1.8-.8c.5.3 1.2.3 1.6-.2l.3-.3c.5-.5.5-1.2.2-1.7L8 5l3 2.9-.8.8c-.5-.2-1.2-.2-1.6.3zm5.4 1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-video":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 6.5L8 9.1V11H3V6h5v1.8l2-1.3v4zm4 0L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"excerpt-view":e="M19 18V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6V3h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6v-6h11z";break;case"exit":e="M13 3v2h2v10h-2v2h4V3h-4zm0 8V9H5.4l4.3-4.3-1.4-1.4L1.6 10l6.7 6.7 1.4-1.4L5.4 11H13z";break;case"external":e="M9 3h8v8l-2-1V6.92l-5.6 5.59-1.41-1.41L14.08 5H10zm3 12v-3l2-2v7H3V6h8L9 8H5v7h7z";break;case"facebook-alt":e="M8.46 18h2.93v-7.3h2.45l.37-2.84h-2.82V6.04c0-.82.23-1.38 1.41-1.38h1.51V2.11c-.26-.03-1.15-.11-2.19-.11-2.18 0-3.66 1.33-3.66 3.76v2.1H6v2.84h2.46V18z";break;case"facebook":e="M2.89 2h14.23c.49 0 .88.39.88.88v14.24c0 .48-.39.88-.88.88h-4.08v-6.2h2.08l.31-2.41h-2.39V7.85c0-.7.2-1.18 1.2-1.18h1.28V4.51c-.22-.03-.98-.09-1.86-.09-1.85 0-3.11 1.12-3.11 3.19v1.78H8.46v2.41h2.09V18H2.89c-.49 0-.89-.4-.89-.88V2.88c0-.49.4-.88.89-.88z";break;case"feedback":e="M2 2h16c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm15 14V7H3v9h14zM4 8v1h3V8H4zm4 0v3h8V8H8zm-4 4v1h3v-1H4zm4 0v3h8v-3H8z";break;case"filter":e="M3 4.5v-2s3.34-1 7-1 7 1 7 1v2l-5 7.03v6.97s-1.22-.09-2.25-.59S8 16.5 8 16.5v-4.97z";break;case"flag":e="M5 18V3H3v15h2zm1-6V4c3-1 7 1 11 0v8c-3 1.27-8-1-11 0z";break;case"format-aside":e="M1 1h18v12l-6 6H1V1zm3 3v1h12V4H4zm0 4v1h12V8H4zm6 5v-1H4v1h6zm2 4l5-5h-5v5z";break;case"format-audio":e="M6.99 3.08l11.02-2c.55-.08.99.45.99 1V14.5c0 1.94-1.57 3.5-3.5 3.5S12 16.44 12 14.5c0-1.93 1.57-3.5 3.5-3.5.54 0 1.04.14 1.5.35V5.08l-9 2V16c-.24 1.7-1.74 3-3.5 3C2.57 19 1 17.44 1 15.5 1 13.57 2.57 12 4.5 12c.54 0 1.04.14 1.5.35V4.08c0-.55.44-.91.99-1z";break;case"format-chat":e="M11 6h-.82C9.07 6 8 7.2 8 8.16V10l-3 3v-3H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v3zm0 1h6c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2h-2v3l-3-3h-1c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2z";break;case"format-gallery":e="M16 4h1.96c.57 0 1.04.47 1.04 1.04v12.92c0 .57-.47 1.04-1.04 1.04H5.04C4.47 19 4 18.53 4 17.96V16H2.04C1.47 16 1 15.53 1 14.96V2.04C1 1.47 1.47 1 2.04 1h12.92c.57 0 1.04.47 1.04 1.04V4zM3 14h11V3H3v11zm5-8.5C8 4.67 7.33 4 6.5 4S5 4.67 5 5.5 5.67 7 6.5 7 8 6.33 8 5.5zm2 4.5s1-5 3-5v8H4V7c2 0 2 3 2 3s.33-2 2-2 2 2 2 2zm7 7V6h-1v8.96c0 .57-.47 1.04-1.04 1.04H6v1h11z";break;case"format-image":e="M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z";break;case"format-quote":e="M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z";break;case"format-status":e="M10 1c7 0 9 2.91 9 6.5S17 14 10 14s-9-2.91-9-6.5S3 1 10 1zM5.5 9C6.33 9 7 8.33 7 7.5S6.33 6 5.5 6 4 6.67 4 7.5 4.67 9 5.5 9zM10 9c.83 0 1.5-.67 1.5-1.5S10.83 6 10 6s-1.5.67-1.5 1.5S9.17 9 10 9zm4.5 0c.83 0 1.5-.67 1.5-1.5S15.33 6 14.5 6 13 6.67 13 7.5 13.67 9 14.5 9zM6 14.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-3 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"format-video":e="M2 1h16c.55 0 1 .45 1 1v16l-18-.02V2c0-.55.45-1 1-1zm4 1L4 5h1l2-3H6zm4 0H9L7 5h1zm3 0h-1l-2 3h1zm3 0h-1l-2 3h1zm1 14V6H3v10h14zM8 7l6 4-6 4V7z";break;case"forms":e="M2 2h7v7H2V2zm9 0v7h7V2h-7zM5.5 4.5L7 3H4zM12 8V3h5v5h-5zM4.5 5.5L3 4v3zM8 4L6.5 5.5 8 7V4zM5.5 6.5L4 8h3zM9 18v-7H2v7h7zm9 0h-7v-7h7v7zM8 12v5H3v-5h5zm6.5 1.5L16 12h-3zM12 16l1.5-1.5L12 13v3zm3.5-1.5L17 16v-3zm-1 1L13 17h3z";break;case"googleplus":e="M6.73 10h5.4c.05.29.09.57.09.95 0 3.27-2.19 5.6-5.49 5.6-3.17 0-5.73-2.57-5.73-5.73 0-3.17 2.56-5.73 5.73-5.73 1.54 0 2.84.57 3.83 1.5l-1.55 1.5c-.43-.41-1.17-.89-2.28-.89-1.96 0-3.55 1.62-3.55 3.62 0 1.99 1.59 3.61 3.55 3.61 2.26 0 3.11-1.62 3.24-2.47H6.73V10zM19 10v1.64h-1.64v1.63h-1.63v-1.63h-1.64V10h1.64V8.36h1.63V10H19z";break;case"grid-view":e="M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z";break;case"groups":e="M8.03 4.46c-.29 1.28.55 3.46 1.97 3.46 1.41 0 2.25-2.18 1.96-3.46-.22-.98-1.08-1.63-1.96-1.63-.89 0-1.74.65-1.97 1.63zm-4.13.9c-.25 1.08.47 2.93 1.67 2.93s1.92-1.85 1.67-2.93c-.19-.83-.92-1.39-1.67-1.39s-1.48.56-1.67 1.39zm8.86 0c-.25 1.08.47 2.93 1.66 2.93 1.2 0 1.92-1.85 1.67-2.93-.19-.83-.92-1.39-1.67-1.39-.74 0-1.47.56-1.66 1.39zm-.59 11.43l1.25-4.3C14.2 10 12.71 8.47 10 8.47c-2.72 0-4.21 1.53-3.44 4.02l1.26 4.3C8.05 17.51 9 18 10 18c.98 0 1.94-.49 2.17-1.21zm-6.1-7.63c-.49.67-.96 1.83-.42 3.59l1.12 3.79c-.34.2-.77.31-1.2.31-.85 0-1.65-.41-1.85-1.03l-1.07-3.65c-.65-2.11.61-3.4 2.92-3.4.27 0 .54.02.79.06-.1.1-.2.22-.29.33zm8.35-.39c2.31 0 3.58 1.29 2.92 3.4l-1.07 3.65c-.2.62-1 1.03-1.85 1.03-.43 0-.86-.11-1.2-.31l1.11-3.77c.55-1.78.08-2.94-.42-3.61-.08-.11-.18-.23-.28-.33.25-.04.51-.06.79-.06z";break;case"hammer":e="M17.7 6.32l1.41 1.42-3.47 3.41-1.42-1.42.84-.82c-.32-.76-.81-1.57-1.51-2.31l-4.61 6.59-5.26 4.7c-.39.39-1.02.39-1.42 0l-1.2-1.21c-.39-.39-.39-1.02 0-1.41l10.97-9.92c-1.37-.86-3.21-1.46-5.67-1.48 2.7-.82 4.95-.93 6.58-.3 1.7.66 2.82 2.2 3.91 3.58z";break;case"heading":e="M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4";break;case"heart":e="M10 17.12c3.33-1.4 5.74-3.79 7.04-6.21 1.28-2.41 1.46-4.81.32-6.25-1.03-1.29-2.37-1.78-3.73-1.74s-2.68.63-3.63 1.46c-.95-.83-2.27-1.42-3.63-1.46s-2.7.45-3.73 1.74c-1.14 1.44-.96 3.84.34 6.25 1.28 2.42 3.69 4.81 7.02 6.21z";break;case"hidden":e="M17.2 3.3l.16.17c.39.39.39 1.02 0 1.41L4.55 17.7c-.39.39-1.03.39-1.41 0l-.17-.17c-.39-.39-.39-1.02 0-1.41l1.59-1.6c-1.57-1-2.76-2.3-3.56-3.93.81-1.65 2.03-2.98 3.64-3.99S8.04 5.09 10 5.09c1.2 0 2.33.21 3.4.6l2.38-2.39c.39-.39 1.03-.39 1.42 0zm-7.09 4.01c-.23.25-.34.54-.34.88 0 .31.12.58.31.81l1.8-1.79c-.13-.12-.28-.21-.45-.26-.11-.01-.28-.03-.49-.04-.33.03-.6.16-.83.4zM2.4 10.59c.69 1.23 1.71 2.25 3.05 3.05l1.28-1.28c-.51-.69-.77-1.47-.77-2.36 0-1.06.36-1.98 1.09-2.76-1.04.27-1.96.7-2.76 1.26-.8.58-1.43 1.27-1.89 2.09zm13.22-2.13l.96-.96c1.02.86 1.83 1.89 2.42 3.09-.81 1.65-2.03 2.98-3.64 3.99s-3.4 1.51-5.36 1.51c-.63 0-1.24-.07-1.83-.18l1.07-1.07c.25.02.5.05.76.05 1.63 0 3.13-.4 4.5-1.21s2.4-1.84 3.1-3.09c-.46-.82-1.09-1.51-1.89-2.09-.03-.01-.06-.03-.09-.04zm-5.58 5.58l4-4c-.01 1.1-.41 2.04-1.18 2.81-.78.78-1.72 1.18-2.82 1.19z";break;case"html":e="M4 16v-2H2v2H1v-5h1v2h2v-2h1v5H4zM7 16v-4H5.6v-1h3.7v1H8v4H7zM10 16v-5h1l1.4 3.4h.1L14 11h1v5h-1v-3.1h-.1l-1.1 2.5h-.6l-1.1-2.5H11V16h-1zM19 16h-3v-5h1v4h2v1zM9.4 4.2L7.1 6.5l2.3 2.3-.6 1.2-3.5-3.5L8.8 3l.6 1.2zm1.2 4.6l2.3-2.3-2.3-2.3.6-1.2 3.5 3.5-3.5 3.5-.6-1.2z";break;case"id-alt":e="M18 18H2V2h16v16zM8.05 7.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L8.95 6c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C8.23 4.1 7.95 4 7.6 4c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM16 5V4h-5v1h5zm0 2V6h-5v1h5zM7.62 8.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM16 9V8h-3v1h3zm0 2v-1h-3v1h3zm0 3v-1H4v1h12zm0 2v-1H4v1h12z";break;case"id":e="M18 16H2V4h16v12zM7.05 8.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L7.95 7c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C7.23 5.1 6.95 5 6.6 5c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM17 9V5h-5v4h5zm-10.38.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM17 11v-1h-5v1h5zm0 2v-1h-5v1h5zm0 2v-1H3v1h14z";break;case"image-crop":e="M19 12v3h-4v4h-3v-4H4V7H0V4h4V0h3v4h7l3-3 1 1-3 3v7h4zm-8-5H7v4zm-3 5h4V8z";break;case"image-filter":e="M14 5.87c0-2.2-1.79-4-4-4s-4 1.8-4 4c0 2.21 1.79 4 4 4s4-1.79 4-4zM3.24 10.66c-1.92 1.1-2.57 3.55-1.47 5.46 1.11 1.92 3.55 2.57 5.47 1.47 1.91-1.11 2.57-3.55 1.46-5.47-1.1-1.91-3.55-2.56-5.46-1.46zm9.52 6.93c1.92 1.1 4.36.45 5.47-1.46 1.1-1.92.45-4.36-1.47-5.47-1.91-1.1-4.36-.45-5.46 1.46-1.11 1.92-.45 4.36 1.46 5.47z";break;case"image-flip-horizontal":e="M19 3v14h-8v3H9v-3H1V3h8V0h2v3h8zm-8.5 14V3h-1v14h1zM7 6.5L3 10l4 3.5v-7zM17 10l-4-3.5v7z";break;case"image-flip-vertical":e="M20 9v2h-3v8H3v-8H0V9h3V1h14v8h3zM6.5 7h7L10 3zM17 9.5H3v1h14v-1zM13.5 13h-7l3.5 4z";break;case"image-rotate-left":e="M7 5H5.05c0-1.74.85-2.9 2.95-2.9V0C4.85 0 2.96 2.11 2.96 5H1.18L3.8 8.39zm13-4v14h-5v5H1V10h9V1h10zm-2 2h-6v7h3v3h3V3zm-5 9H3v6h10v-6z";break;case"image-rotate-right":e="M15.95 5H14l3.2 3.39L19.82 5h-1.78c0-2.89-1.89-5-5.04-5v2.1c2.1 0 2.95 1.16 2.95 2.9zM1 1h10v9h9v10H6v-5H1V1zm2 2v10h3v-3h3V3H3zm5 9v6h10v-6H8z";break;case"image-rotate":e="M10.25 1.02c5.1 0 8.75 4.04 8.75 9s-3.65 9-8.75 9c-3.2 0-6.02-1.59-7.68-3.99l2.59-1.52c1.1 1.5 2.86 2.51 4.84 2.51 3.3 0 6-2.79 6-6s-2.7-6-6-6c-1.97 0-3.72 1-4.82 2.49L7 8.02l-6 2v-7L2.89 4.6c1.69-2.17 4.36-3.58 7.36-3.58z";break;case"images-alt":e="M4 15v-3H2V2h12v3h2v3h2v10H6v-3H4zm7-12c-1.1 0-2 .9-2 2h4c0-1.1-.89-2-2-2zm-7 8V6H3v5h1zm7-3h4c0-1.1-.89-2-2-2-1.1 0-2 .9-2 2zm-5 6V9H5v5h1zm9-1c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2s-2 .9-2 2c0 1.11.9 2 2 2zm2 4v-2c-5 0-5-3-10-3v5h10z";break;case"images-alt2":e="M5 3h14v11h-2v2h-2v2H1V7h2V5h2V3zm13 10V4H6v9h12zm-3-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm1 6v-1H5V6H4v9h12zM7 6l10 6H7V6zm7 11v-1H3V8H2v9h12z";break;case"index-card":e="M1 3.17V18h18V4H8v-.83c0-.32-.12-.6-.35-.83S7.14 2 6.82 2H2.18c-.33 0-.6.11-.83.34-.24.23-.35.51-.35.83zM10 6v2H3V6h7zm7 0v10h-5V6h5zm-7 4v2H3v-2h7zm0 4v2H3v-2h7z";break;case"info-outline":e="M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z";break;case"info":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 9V9H9v6h2z";break;case"insert-after":e="M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z";break;case"insert-before":e="M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z";break;case"insert":e="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z";break;case"instagram":e="M12.67 10A2.67 2.67 0 1 0 10 12.67 2.68 2.68 0 0 0 12.67 10zm1.43 0A4.1 4.1 0 1 1 10 5.9a4.09 4.09 0 0 1 4.1 4.1zm1.13-4.27a1 1 0 1 1-1-1 1 1 0 0 1 1 1zM10 3.44c-1.17 0-3.67-.1-4.72.32a2.67 2.67 0 0 0-1.52 1.52c-.42 1-.32 3.55-.32 4.72s-.1 3.67.32 4.72a2.74 2.74 0 0 0 1.52 1.52c1 .42 3.55.32 4.72.32s3.67.1 4.72-.32a2.83 2.83 0 0 0 1.52-1.52c.42-1.05.32-3.55.32-4.72s.1-3.67-.32-4.72a2.74 2.74 0 0 0-1.52-1.52c-1.05-.42-3.55-.32-4.72-.32zM18 10c0 1.1 0 2.2-.05 3.3a4.84 4.84 0 0 1-1.29 3.36A4.8 4.8 0 0 1 13.3 18H6.7a4.84 4.84 0 0 1-3.36-1.29 4.84 4.84 0 0 1-1.29-3.41C2 12.2 2 11.1 2 10V6.7a4.84 4.84 0 0 1 1.34-3.36A4.8 4.8 0 0 1 6.7 2.05C7.8 2 8.9 2 10 2h3.3a4.84 4.84 0 0 1 3.36 1.29A4.8 4.8 0 0 1 18 6.7V10z";break;case"keyboard-hide":e="M18,0 L2,0 C0.9,0 0.01,0.9 0.01,2 L0,12 C0,13.1 0.9,14 2,14 L18,14 C19.1,14 20,13.1 20,12 L20,2 C20,0.9 19.1,0 18,0 Z M18,12 L2,12 L2,2 L18,2 L18,12 Z M9,3 L11,3 L11,5 L9,5 L9,3 Z M9,6 L11,6 L11,8 L9,8 L9,6 Z M6,3 L8,3 L8,5 L6,5 L6,3 Z M6,6 L8,6 L8,8 L6,8 L6,6 Z M3,6 L5,6 L5,8 L3,8 L3,6 Z M3,3 L5,3 L5,5 L3,5 L3,3 Z M6,9 L14,9 L14,11 L6,11 L6,9 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z M12,3 L14,3 L14,5 L12,5 L12,3 Z M15,6 L17,6 L17,8 L15,8 L15,6 Z M15,3 L17,3 L17,5 L15,5 L15,3 Z M10,20 L14,16 L6,16 L10,20 Z";break;case"laptop":e="M3 3h14c.6 0 1 .4 1 1v10c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V4c0-.6.4-1 1-1zm13 2H4v8h12V5zm-3 1H5v4zm6 11v-1H1v1c0 .6.5 1 1.1 1h15.8c.6 0 1.1-.4 1.1-1z";break;case"layout":e="M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z";break;case"leftright":e="M3 10.03L9 6v8zM11 6l6 4.03L11 14V6z";break;case"lightbulb":e="M10 1c3.11 0 5.63 2.52 5.63 5.62 0 1.84-2.03 4.58-2.03 4.58-.33.44-.6 1.25-.6 1.8v1c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-1c0-.55-.27-1.36-.6-1.8 0 0-2.02-2.74-2.02-4.58C4.38 3.52 6.89 1 10 1zM7 16.87V16h6v.87c0 .62-.13 1.13-.75 1.13H12c0 .62-.4 1-1.02 1h-2c-.61 0-.98-.38-.98-1h-.25c-.62 0-.75-.51-.75-1.13z";break;case"list-view":e="M2 19h16c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V3h11zM4 7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V7h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11zM4 15c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11z";break;case"location-alt":e="M13 13.14l1.17-5.94c.79-.43 1.33-1.25 1.33-2.2 0-1.38-1.12-2.5-2.5-2.5S10.5 3.62 10.5 5c0 .95.54 1.77 1.33 2.2zm0-9.64c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm1.72 4.8L18 6.97v9L13.12 18 7 15.97l-5 2v-9l5-2 4.27 1.41 1.73 7.3z";break;case"location":e="M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z";break;case"lock":e="M14 9h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h1V6c0-2.21 1.79-4 4-4s4 1.79 4 4v3zm-2 0V6c0-1.1-.9-2-2-2s-2 .9-2 2v3h4zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"marker":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z";break;case"media-archive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zM8 3.5v2l1.8-1zM11 5L9.2 6 11 7V5zM8 6.5v2l1.8-1zM11 8L9.2 9l1.8 1V8zM8 9.5v2l1.8-1zm3 1.5l-1.8 1 1.8 1v-2zm-1.5 6c.83 0 1.62-.72 1.5-1.63-.05-.38-.49-1.61-.49-1.61l-1.99-1.1s-.45 1.95-.52 2.71c-.07.77.67 1.63 1.5 1.63zm0-2.39c.42 0 .76.34.76.76 0 .43-.34.77-.76.77s-.76-.34-.76-.77c0-.42.34-.76.76-.76z";break;case"media-audio":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm1 7.26V8.09c0-.11-.04-.21-.12-.29-.07-.08-.16-.11-.27-.1 0 0-3.97.71-4.25.78C8.07 8.54 8 8.8 8 9v3.37c-.2-.09-.42-.07-.6-.07-.38 0-.7.13-.96.39-.26.27-.4.58-.4.96 0 .37.14.69.4.95.26.27.58.4.96.4.34 0 .7-.04.96-.26.26-.23.64-.65.64-1.12V10.3l3-.6V12c-.67-.2-1.17.04-1.44.31-.26.26-.39.58-.39.95 0 .38.13.69.39.96.27.26.71.39 1.08.39.38 0 .7-.13.96-.39.26-.27.4-.58.4-.96z";break;case"media-code":e="M12 2l4 4v12H4V2h8zM9 13l-2-2 2-2-1-1-3 3 3 3zm3 1l3-3-3-3-1 1 2 2-2 2z";break;case"media-default":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3z";break;case"media-document":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z";break;case"media-interactive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm2 8V8H6v6h3l-1 2h1l1-2 1 2h1l-1-2h3zm-6-3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5-2v2h-3V9h3zm0 3v1H7v-1h6z";break;case"media-spreadsheet":e="M12 2l4 4v12H4V2h8zm-1 4V3H5v3h6zM8 8V7H5v1h3zm3 0V7H9v1h2zm4 0V7h-3v1h3zm-7 2V9H5v1h3zm3 0V9H9v1h2zm4 0V9h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2z";break;case"media-text":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zm0 2V9H5v1h10zm0 2v-1H5v1h10zm-4 2v-1H5v1h6z";break;case"media-video":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm-1 8v-3c0-.27-.1-.51-.29-.71-.2-.19-.44-.29-.71-.29H7c-.27 0-.51.1-.71.29-.19.2-.29.44-.29.71v3c0 .27.1.51.29.71.2.19.44.29.71.29h3c.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71zm3 1v-5l-2 2v1z";break;case"megaphone":e="M18.15 5.94c.46 1.62.38 3.22-.02 4.48-.42 1.28-1.26 2.18-2.3 2.48-.16.06-.26.06-.4.06-.06.02-.12.02-.18.02-.06.02-.14.02-.22.02h-6.8l2.22 5.5c.02.14-.06.26-.14.34-.08.1-.24.16-.34.16H6.95c-.1 0-.26-.06-.34-.16-.08-.08-.16-.2-.14-.34l-1-5.5H4.25l-.02-.02c-.5.06-1.08-.18-1.54-.62s-.88-1.08-1.06-1.88c-.24-.8-.2-1.56-.02-2.2.18-.62.58-1.08 1.06-1.3l.02-.02 9-5.4c.1-.06.18-.1.24-.16.06-.04.14-.08.24-.12.16-.08.28-.12.5-.18 1.04-.3 2.24.1 3.22.98s1.84 2.24 2.26 3.86zm-2.58 5.98h-.02c.4-.1.74-.34 1.04-.7.58-.7.86-1.76.86-3.04 0-.64-.1-1.3-.28-1.98-.34-1.36-1.02-2.5-1.78-3.24s-1.68-1.1-2.46-.88c-.82.22-1.4.96-1.7 2-.32 1.04-.28 2.36.06 3.72.38 1.36 1 2.5 1.8 3.24.78.74 1.62 1.1 2.48.88zm-2.54-7.08c.22-.04.42-.02.62.04.38.16.76.48 1.02 1s.42 1.2.42 1.78c0 .3-.04.56-.12.8-.18.48-.44.84-.86.94-.34.1-.8-.06-1.14-.4s-.64-.86-.78-1.5c-.18-.62-.12-1.24.02-1.72s.48-.84.82-.94z";break;case"menu-alt":e="M3 4h14v2H3V4zm0 5h14v2H3V9zm0 5h14v2H3v-2z";break;case"menu":e="M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z";break;case"microphone":e="M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z";break;case"migrate":e="M4 6h6V4H2v12.01h8V14H4V6zm2 2h6V5l6 5-6 5v-3H6V8z";break;case"minus":e="M4 9h12v2H4V9z";break;case"money":e="M0 3h20v12h-.75c0-1.79-1.46-3.25-3.25-3.25-1.31 0-2.42.79-2.94 1.91-.25-.1-.52-.16-.81-.16-.98 0-1.8.63-2.11 1.5H0V3zm8.37 3.11c-.06.15-.1.31-.11.47s-.01.33.01.5l.02.08c.01.06.02.14.05.23.02.1.06.2.1.31.03.11.09.22.15.33.07.12.15.22.23.31s.18.17.31.23c.12.06.25.09.4.09.14 0 .27-.03.39-.09s.22-.14.3-.22c.09-.09.16-.2.22-.32.07-.12.12-.23.16-.33s.07-.2.09-.31c.03-.11.04-.18.05-.22s.01-.07.01-.09c.05-.29.03-.56-.04-.82s-.21-.48-.41-.66c-.21-.18-.47-.27-.79-.27-.19 0-.36.03-.52.1-.15.07-.28.16-.38.28-.09.11-.17.25-.24.4zm4.48 6.04v-1.14c0-.33-.1-.66-.29-.98s-.45-.59-.77-.79c-.32-.21-.66-.31-1.02-.31l-1.24.84-1.28-.82c-.37 0-.72.1-1.04.3-.31.2-.56.46-.74.77-.18.32-.27.65-.27.99v1.14l.18.05c.12.04.29.08.51.14.23.05.47.1.74.15.26.05.57.09.91.13.34.03.67.05.99.05.3 0 .63-.02.98-.05.34-.04.64-.08.89-.13.25-.04.5-.1.76-.16l.5-.12c.08-.02.14-.04.19-.06zm3.15.1c1.52 0 2.75 1.23 2.75 2.75s-1.23 2.75-2.75 2.75c-.73 0-1.38-.3-1.87-.77.23-.35.37-.78.37-1.23 0-.77-.39-1.46-.99-1.86.43-.96 1.37-1.64 2.49-1.64zm-5.5 3.5c0-.96.79-1.75 1.75-1.75s1.75.79 1.75 1.75-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75z";break;case"move":e="M19 10l-4 4v-3h-4v4h3l-4 4-4-4h3v-4H5v3l-4-4 4-4v3h4V5H6l4-4 4 4h-3v4h4V6z";break;case"nametag":e="M12 5V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-2-3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 13V7c0-1.1-.9-2-2-2h-3v.33C13 6.25 12.25 7 11.33 7H8.67C7.75 7 7 6.25 7 5.33V5H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-1-6v6H3V9h14zm-8 2c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm3 0c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm-5.96 1.21c.92.48 2.34.79 3.96.79s3.04-.31 3.96-.79c-.21 1-1.89 1.79-3.96 1.79s-3.75-.79-3.96-1.79z";break;case"networking":e="M18 13h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01h-4c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2h-5v2h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01H8c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2H4v2h1c.55 0 1 .45 1 1.01v2.98C6 17.55 5.55 18 5 18H1c-.55 0-1-.45-1-1.01v-2.98C0 13.45.45 13 1 13h1v-2c0-1.1.9-2 2-2h5V7H8c-.55 0-1-.45-1-1.01V3.01C7 2.45 7.45 2 8 2h4c.55 0 1 .45 1 1.01v2.98C13 6.55 12.55 7 12 7h-1v2h5c1.1 0 2 .9 2 2v2z";break;case"no-alt":e="M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z";break;case"no":e="M12.12 10l3.53 3.53-2.12 2.12L10 12.12l-3.54 3.54-2.12-2.12L7.88 10 4.34 6.46l2.12-2.12L10 7.88l3.54-3.53 2.12 2.12z";break;case"palmtree":e="M8.58 2.39c.32 0 .59.05.81.14 1.25.55 1.69 2.24 1.7 3.97.59-.82 2.15-2.29 3.41-2.29s2.94.73 3.53 3.55c-1.13-.65-2.42-.94-3.65-.94-1.26 0-2.45.32-3.29.89.4-.11.86-.16 1.33-.16 1.39 0 2.9.45 3.4 1.31.68 1.16.47 3.38-.76 4.14-.14-2.1-1.69-4.12-3.47-4.12-.44 0-.88.12-1.33.38C8 10.62 7 14.56 7 19H2c0-5.53 4.21-9.65 7.68-10.79-.56-.09-1.17-.15-1.82-.15C6.1 8.06 4.05 8.5 2 10c.76-2.96 2.78-4.1 4.69-4.1 1.25 0 2.45.5 3.2 1.29-.66-2.24-2.49-2.86-4.08-2.86-.8 0-1.55.16-2.05.35.91-1.29 3.31-2.29 4.82-2.29zM13 11.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5.67 1.5 1.5 1.5 1.5-.67 1.5-1.5z";break;case"paperclip":e="M17.05 2.7c1.93 1.94 1.93 5.13 0 7.07L10 16.84c-1.88 1.89-4.91 1.93-6.86.15-.06-.05-.13-.09-.19-.15-1.93-1.94-1.93-5.12 0-7.07l4.94-4.95c.91-.92 2.28-1.1 3.39-.58.3.15.59.33.83.58 1.17 1.17 1.17 3.07 0 4.24l-4.93 4.95c-.39.39-1.02.39-1.41 0s-.39-1.02 0-1.41l4.93-4.95c.39-.39.39-1.02 0-1.41-.38-.39-1.02-.39-1.4 0l-4.94 4.95c-.91.92-1.1 2.29-.57 3.4.14.3.32.59.57.84s.54.43.84.57c1.11.53 2.47.35 3.39-.57l7.05-7.07c1.16-1.17 1.16-3.08 0-4.25-.56-.55-1.28-.83-2-.86-.08.01-.16.01-.24 0-.22-.03-.43-.11-.6-.27-.39-.4-.38-1.05.02-1.45.16-.16.36-.24.56-.28.14-.02.27-.01.4.02 1.19.06 2.36.52 3.27 1.43z";break;case"performance":e="M3.76 17.01h12.48C17.34 15.63 18 13.9 18 12c0-4.41-3.58-8-8-8s-8 3.59-8 8c0 1.9.66 3.63 1.76 5.01zM9 6c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zM4 8c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm4.52 3.4c.84-.83 6.51-3.5 6.51-3.5s-2.66 5.68-3.49 6.51c-.84.84-2.18.84-3.02 0-.83-.83-.83-2.18 0-3.01zM3 13c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1z";break;case"phone":e="M12.06 6l-.21-.2c-.52-.54-.43-.79.08-1.3l2.72-2.75c.81-.82.96-1.21 1.73-.48l.21.2zm.53.45l4.4-4.4c.7.94 2.34 3.47 1.53 5.34-.73 1.67-1.09 1.75-2 3-1.85 2.11-4.18 4.37-6 6.07-1.26.91-1.31 1.33-3 2-1.8.71-4.4-.89-5.38-1.56l4.4-4.4 1.18 1.62c.34.46 1.2-.06 1.8-.66 1.04-1.05 3.18-3.18 4-4.07.59-.59 1.12-1.45.66-1.8zM1.57 16.5l-.21-.21c-.68-.74-.29-.9.52-1.7l2.74-2.72c.51-.49.75-.6 1.27-.11l.2.21z";break;case"playlist-audio":e="M17 3V1H2v2h15zm0 4V5H2v2h15zm-7 4V9H2v2h8zm7.45-1.96l-6 1.12c-.16.02-.19.03-.29.13-.11.09-.16.22-.16.37v4.59c-.29-.13-.66-.14-.93-.14-.54 0-1 .19-1.38.57s-.56.84-.56 1.38c0 .53.18.99.56 1.37s.84.57 1.38.57c.49 0 .92-.16 1.29-.48s.59-.71.65-1.19v-4.95L17 11.27v3.48c-.29-.13-.56-.19-.83-.19-.54 0-1.11.19-1.49.57-.38.37-.57.83-.57 1.37s.19.99.57 1.37.84.57 1.38.57c.53 0 .99-.19 1.37-.57s.57-.83.57-1.37V9.6c0-.16-.05-.3-.16-.41-.11-.12-.24-.17-.39-.15zM8 15v-2H2v2h6zm-2 4v-2H2v2h4z";break;case"playlist-video":e="M17 3V1H2v2h15zm0 4V5H2v2h15zM6 11V9H2v2h4zm2-2h9c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm3 7l3.33-2L11 12v4zm-5-1v-2H2v2h4zm0 4v-2H2v2h4z";break;case"plus-alt":e="M15.8 4.2c3.2 3.21 3.2 8.39 0 11.6-3.21 3.2-8.39 3.2-11.6 0C1 12.59 1 7.41 4.2 4.2 7.41 1 12.59 1 15.8 4.2zm-4.3 11.3v-4h4v-3h-4v-4h-3v4h-4v3h4v4h3z";break;case"plus-light":e="M17 9v2h-6v6H9v-6H3V9h6V3h2v6h6z";break;case"plus":e="M17 7v3h-5v5H9v-5H4V7h5V2h3v5h5z";break;case"portfolio":e="M4 5H.78c-.37 0-.74.32-.69.84l1.56 9.99S3.5 8.47 3.86 6.7c.11-.53.61-.7.98-.7H10s-.7-2.08-.77-2.31C9.11 3.25 8.89 3 8.45 3H5.14c-.36 0-.7.23-.8.64C4.25 4.04 4 5 4 5zm4.88 0h-4s.42-1 .87-1h2.13c.48 0 1 1 1 1zM2.67 16.25c-.31.47-.76.75-1.26.75h15.73c.54 0 .92-.31 1.03-.83.44-2.19 1.68-8.44 1.68-8.44.07-.5-.3-.73-.62-.73H16V5.53c0-.16-.26-.53-.66-.53h-3.76c-.52 0-.87.58-.87.58L10 7H5.59c-.32 0-.63.19-.69.5 0 0-1.59 6.7-1.72 7.33-.07.37-.22.99-.51 1.42zM15.38 7H11s.58-1 1.13-1h2.29c.71 0 .96 1 .96 1z";break;case"post-status":e="M14 6c0 1.86-1.28 3.41-3 3.86V16c0 1-2 2-2 2V9.86c-1.72-.45-3-2-3-3.86 0-2.21 1.79-4 4-4s4 1.79 4 4zM8 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z";break;case"pressthis":e="M14.76 1C16.55 1 18 2.46 18 4.25c0 1.78-1.45 3.24-3.24 3.24-.23 0-.47-.03-.7-.08L13 8.47V19H2V4h9.54c.13-2 1.52-3 3.22-3zm0 5.49C16 6.49 17 5.48 17 4.25 17 3.01 16 2 14.76 2s-2.24 1.01-2.24 2.25c0 .37.1.72.27 1.03L9.57 8.5c-.28.28-1.77 2.22-1.5 2.49.02.03.06.04.1.04.49 0 2.14-1.28 2.39-1.53l3.24-3.24c.29.14.61.23.96.23z";break;case"products":e="M17 8h1v11H2V8h1V6c0-2.76 2.24-5 5-5 .71 0 1.39.15 2 .42.61-.27 1.29-.42 2-.42 2.76 0 5 2.24 5 5v2zM5 6v2h2V6c0-1.13.39-2.16 1.02-3H8C6.35 3 5 4.35 5 6zm10 2V6c0-1.65-1.35-3-3-3h-.02c.63.84 1.02 1.87 1.02 3v2h2zm-5-4.22C9.39 4.33 9 5.12 9 6v2h2V6c0-.88-.39-1.67-1-2.22z";break;case"randomize":e="M18 6.01L14 9V7h-4l-5 8H2v-2h2l5-8h5V3zM2 5h3l1.15 2.17-1.12 1.8L4 7H2V5zm16 9.01L14 17v-2H9l-1.15-2.17 1.12-1.8L10 13h4v-2z";break;case"redo":e="M8 5h5V2l6 4-6 4V7H8c-2.2 0-4 1.8-4 4s1.8 4 4 4h5v2H8c-3.3 0-6-2.7-6-6s2.7-6 6-6z";break;case"rest-api":e="M3 4h2v12H3z";break;case"rss":e="M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z";break;case"saved":e="M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2";break;case"schedule":e="M2 2h16v4H2V2zm0 10V8h4v4H2zm6-2V8h4v2H8zm6 3V8h4v5h-4zm-6 5v-6h4v6H8zm-6 0v-4h4v4H2zm12 0v-3h4v3h-4z";break;case"screenoptions":e="M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z";break;case"search":e="M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z";break;case"share-alt":e="M16.22 5.8c.47.69.29 1.62-.4 2.08-.69.47-1.62.29-2.08-.4-.16-.24-.35-.46-.55-.67-.21-.2-.43-.39-.67-.55s-.5-.3-.77-.41c-.27-.12-.55-.21-.84-.26-.59-.13-1.23-.13-1.82-.01-.29.06-.57.15-.84.27-.27.11-.53.25-.77.41s-.46.35-.66.55c-.21.21-.4.43-.56.67s-.3.5-.41.76c-.01.02-.01.03-.01.04-.1.24-.17.48-.23.72H1V6h2.66c.04-.07.07-.13.12-.2.27-.4.57-.77.91-1.11s.72-.65 1.11-.91c.4-.27.83-.51 1.28-.7s.93-.34 1.41-.43c.99-.21 2.03-.21 3.02 0 .48.09.96.24 1.41.43s.88.43 1.28.7c.39.26.77.57 1.11.91s.64.71.91 1.11zM12.5 10c0-1.38-1.12-2.5-2.5-2.5S7.5 8.62 7.5 10s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5zm-8.72 4.2c-.47-.69-.29-1.62.4-2.09.69-.46 1.62-.28 2.08.41.16.24.35.46.55.67.21.2.43.39.67.55s.5.3.77.41c.27.12.55.2.84.26.59.13 1.23.12 1.82 0 .29-.06.57-.14.84-.26.27-.11.53-.25.77-.41s.46-.35.66-.55c.21-.21.4-.44.56-.67.16-.25.3-.5.41-.76.01-.02.01-.03.01-.04.1-.24.17-.48.23-.72H19v3h-2.66c-.04.06-.07.13-.12.2-.27.4-.57.77-.91 1.11s-.72.65-1.11.91c-.4.27-.83.51-1.28.7s-.93.33-1.41.43c-.99.21-2.03.21-3.02 0-.48-.1-.96-.24-1.41-.43s-.88-.43-1.28-.7c-.39-.26-.77-.57-1.11-.91s-.64-.71-.91-1.11z";break;case"share-alt2":e="M18 8l-5 4V9.01c-2.58.06-4.88.45-7 2.99.29-3.57 2.66-5.66 7-5.94V3zM4 14h11v-2l2-1.6V16H2V5h9.43c-1.83.32-3.31 1-4.41 2H4v7z";break;case"share":e="M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z";break;case"shield-alt":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2z";break;case"shield":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z";break;case"shortcode":e="M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4";break;case"slides":e="M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z";break;case"smartphone":e="M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z";break;case"smiley":e="M7 5.2c1.1 0 2 .89 2 2 0 .37-.11.71-.28 1C8.72 8.2 8 8 7 8s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.9-2 2-2zm6 0c1.11 0 2 .89 2 2 0 .37-.11.71-.28 1 0 0-.72-.2-1.72-.2s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.89-2 2-2zm-3 13.7c3.72 0 7.03-2.36 8.23-5.88l-1.32-.46C15.9 15.52 13.12 17.5 10 17.5s-5.9-1.98-6.91-4.94l-1.32.46c1.2 3.52 4.51 5.88 8.23 5.88z";break;case"sort":e="M11 7H1l5 7zm-2 7h10l-5-7z";break;case"sos":e="M18 10c0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8 8-3.58 8-8zM7.23 3.57L8.72 7.3c-.62.29-1.13.8-1.42 1.42L3.57 7.23c.71-1.64 2.02-2.95 3.66-3.66zm9.2 3.66L12.7 8.72c-.29-.62-.8-1.13-1.42-1.42l1.49-3.73c1.64.71 2.95 2.02 3.66 3.66zM10 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-6.43.77l3.73-1.49c.29.62.8 1.13 1.42 1.42l-1.49 3.73c-1.64-.71-2.95-2.02-3.66-3.66zm9.2 3.66l-1.49-3.73c.62-.29 1.13-.8 1.42-1.42l3.73 1.49c-.71 1.64-2.02 2.95-3.66 3.66z";break;case"star-empty":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z";break;case"star-filled":e="M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z";break;case"star-half":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z";break;case"sticky":e="M5 3.61V1.04l8.99-.01-.01 2.58c-1.22.26-2.16 1.35-2.16 2.67v.5c.01 1.31.93 2.4 2.17 2.66l-.01 2.58h-3.41l-.01 2.57c0 .6-.47 4.41-1.06 4.41-.6 0-1.08-3.81-1.08-4.41v-2.56L5 12.02l.01-2.58c1.23-.25 2.15-1.35 2.15-2.66v-.5c0-1.31-.92-2.41-2.16-2.67z";break;case"store":e="M1 10c.41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.51.43.54 0 1.08-.14 1.49-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.63-.46 1-1.17 1-2V7l-3-7H4L0 7v1c0 .83.37 1.54 1 2zm2 8.99h5v-5h4v5h5v-7c-.37-.05-.72-.22-1-.43-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.49.44-.55 0-1.1-.14-1.51-.44-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.5.44-.54 0-1.09-.14-1.5-.44-.63-.45-1-.73-1-1.57 0 .84-.38 1.12-1 1.57-.29.21-.63.38-1 .44v6.99z";break;case"table-col-after":e="M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z";break;case"table-col-before":e="M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z";break;case"table-col-delete":e="M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z";break;case"table-row-after":e="M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z";break;case"table-row-before":e="M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z";break;case"table-row-delete":e="M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z";break;case"tablet":e="M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z";break;case"tag":e="M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z";break;case"tagcloud":e="M11 3v4H1V3h10zm8 0v4h-7V3h7zM7 8v3H1V8h6zm12 0v3H8V8h11zM9 12v2H1v-2h8zm10 0v2h-9v-2h9zM6 15v1H1v-1h5zm5 0v1H7v-1h4zm3 0v1h-2v-1h2zm5 0v1h-4v-1h4z";break;case"testimonial":e="M4 3h12c.55 0 1.02.2 1.41.59S18 4.45 18 5v7c0 .55-.2 1.02-.59 1.41S16.55 14 16 14h-1l-5 5v-5H4c-.55 0-1.02-.2-1.41-.59S2 12.55 2 12V5c0-.55.2-1.02.59-1.41S3.45 3 4 3zm11 2H4v1h11V5zm1 3H4v1h12V8zm-3 3H4v1h9v-1z";break;case"text":e="M18 3v2H2V3h16zm-6 4v2H2V7h10zm6 0v2h-4V7h4zM8 11v2H2v-2h6zm10 0v2h-8v-2h8zm-4 4v2H2v-2h12z";break;case"thumbs-down":e="M7.28 18c-.15.02-.26-.02-.41-.07-.56-.19-.83-.79-.66-1.35.17-.55 1-3.04 1-3.58 0-.53-.75-1-1.35-1h-3c-.6 0-1-.4-1-1s2-7 2-7c.17-.39.55-1 1-1H14v9h-2.14c-.41.41-3.3 4.71-3.58 5.27-.21.41-.6.68-1 .73zM18 12h-2V3h2v9z";break;case"thumbs-up":e="M12.72 2c.15-.02.26.02.41.07.56.19.83.79.66 1.35-.17.55-1 3.04-1 3.58 0 .53.75 1 1.35 1h3c.6 0 1 .4 1 1s-2 7-2 7c-.17.39-.55 1-1 1H6V8h2.14c.41-.41 3.3-4.71 3.58-5.27.21-.41.6-.68 1-.73zM2 8h2v9H2V8z";break;case"tickets-alt":e="M20 6.38L18.99 9.2v-.01c-.52-.19-1.03-.16-1.53.08s-.85.62-1.04 1.14-.16 1.03.07 1.53c.24.5.62.84 1.15 1.03v.01l-1.01 2.82-15.06-5.38.99-2.79c.52.19 1.03.16 1.53-.08.5-.23.84-.61 1.03-1.13s.16-1.03-.08-1.53c-.23-.49-.61-.83-1.13-1.02L4.93 1zm-4.97 5.69l1.37-3.76c.12-.31.1-.65-.04-.95s-.39-.53-.7-.65L8.14 3.98c-.64-.23-1.37.12-1.6.74L5.17 8.48c-.24.65.1 1.37.74 1.6l7.52 2.74c.14.05.28.08.43.08.52 0 1-.33 1.17-.83zM7.97 4.45l7.51 2.73c.19.07.34.21.43.39.08.18.09.38.02.57l-1.37 3.76c-.13.38-.58.59-.96.45L6.09 9.61c-.39-.14-.59-.57-.45-.96l1.37-3.76c.1-.29.39-.49.7-.49.09 0 .17.02.26.05zm6.82 12.14c.35.27.75.41 1.2.41H16v3H0v-2.96c.55 0 1.03-.2 1.41-.59.39-.38.59-.86.59-1.41s-.2-1.02-.59-1.41-.86-.59-1.41-.59V10h1.05l-.28.8 2.87 1.02c-.51.16-.89.62-.89 1.18v4c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25v-1.75l.83.3c.12.43.36.78.71 1.04zM3.25 17v-4c0-.41.34-.75.75-.75h.83l7.92 2.83V17c0 .41-.34.75-.75.75H4c-.41 0-.75-.34-.75-.75z";break;case"tickets":e="M20 5.38L18.99 8.2v-.01c-1.04-.37-2.19.18-2.57 1.22-.37 1.04.17 2.19 1.22 2.56v.01l-1.01 2.82L1.57 9.42l.99-2.79c1.04.38 2.19-.17 2.56-1.21s-.17-2.18-1.21-2.55L4.93 0zm-5.45 3.37c.74-2.08-.34-4.37-2.42-5.12-2.08-.74-4.37.35-5.11 2.42-.74 2.08.34 4.38 2.42 5.12 2.07.74 4.37-.35 5.11-2.42zm-2.56-4.74c.89.32 1.57.94 1.97 1.71-.01-.01-.02-.01-.04-.02-.33-.12-.67.09-.78.4-.1.28-.03.57.05.91.04.27.09.62-.06 1.04-.1.29-.33.58-.65 1l-.74 1.01.08-4.08.4.11c.19.04.26-.24.08-.29 0 0-.57-.15-.92-.28-.34-.12-.88-.36-.88-.36-.18-.08-.3.19-.12.27 0 0 .16.08.34.16l.01 1.63L9.2 9.18l.08-4.11c.2.06.4.11.4.11.19.04.26-.23.07-.29 0 0-.56-.15-.91-.28-.07-.02-.14-.05-.22-.08.93-.7 2.19-.94 3.37-.52zM7.4 6.19c.17-.49.44-.92.78-1.27l.04 5c-.94-.95-1.3-2.39-.82-3.73zm4.04 4.75l2.1-2.63c.37-.41.57-.77.69-1.12.05-.12.08-.24.11-.35.09.57.04 1.18-.17 1.77-.45 1.25-1.51 2.1-2.73 2.33zm-.7-3.22l.02 3.22c0 .02 0 .04.01.06-.4 0-.8-.07-1.2-.21-.33-.12-.63-.28-.9-.48zm1.24 6.08l2.1.75c.24.84 1 1.45 1.91 1.45H16v3H0v-2.96c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2V9h1.05l-.28.8 4.28 1.52C4.4 12.03 4 12.97 4 14c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.07-.02-.13-.02-.2zm-6.53-2.33l1.48.53c-.14.04-.15.27.03.28 0 0 .18.02.37.03l.56 1.54-.78 2.36-1.31-3.9c.21-.01.41-.03.41-.03.19-.02.17-.31-.02-.3 0 0-.59.05-.96.05-.07 0-.15 0-.23-.01.13-.2.28-.38.45-.55zM4.4 14c0-.52.12-1.02.32-1.46l1.71 4.7C5.23 16.65 4.4 15.42 4.4 14zm4.19-1.41l1.72.62c.07.17.12.37.12.61 0 .31-.12.66-.28 1.16l-.35 1.2zM11.6 14c0 1.33-.72 2.49-1.79 3.11l1.1-3.18c.06-.17.1-.31.14-.46l.52.19c.02.11.03.22.03.34zm-4.62 3.45l1.08-3.14 1.11 3.03c.01.02.01.04.02.05-.37.13-.77.21-1.19.21-.35 0-.69-.06-1.02-.15z";break;case"tide":e="M17 7.2V3H3v7.1c2.6-.5 4.5-1.5 6.4-2.6.2-.2.4-.3.6-.5v3c-1.9 1.1-4 2.2-7 2.8V17h14V9.9c-2.6.5-4.4 1.5-6.2 2.6-.3.1-.5.3-.8.4V10c2-1.1 4-2.2 7-2.8z";break;case"translation":e="M11 7H9.49c-.63 0-1.25.3-1.59.7L7 5H4.13l-2.39 7h1.69l.74-2H7v4H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v2zM6.51 9H4.49l1-2.93zM10 8h7c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-7c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm7.25 5v-1.08h-3.17V9.75h-1.16v2.17H9.75V13h1.28c.11.85.56 1.85 1.28 2.62-.87.36-1.89.62-2.31.62-.01.02.22.97.2 1.46.84 0 2.21-.5 3.28-1.15 1.09.65 2.48 1.15 3.34 1.15-.02-.49.2-1.44.2-1.46-.43 0-1.49-.27-2.38-.63.7-.77 1.14-1.77 1.25-2.61h1.36zm-3.81 1.93c-.5-.46-.85-1.13-1.01-1.93h2.09c-.17.8-.51 1.47-1 1.93l-.04.03s-.03-.02-.04-.03z";break;case"trash":e="M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z";break;case"twitter":e="M18.94 4.46c-.49.73-1.11 1.38-1.83 1.9.01.15.01.31.01.47 0 4.85-3.69 10.44-10.43 10.44-2.07 0-4-.61-5.63-1.65.29.03.58.05.88.05 1.72 0 3.3-.59 4.55-1.57-1.6-.03-2.95-1.09-3.42-2.55.22.04.45.07.69.07.33 0 .66-.05.96-.13-1.67-.34-2.94-1.82-2.94-3.6v-.04c.5.27 1.06.44 1.66.46-.98-.66-1.63-1.78-1.63-3.06 0-.67.18-1.3.5-1.84 1.81 2.22 4.51 3.68 7.56 3.83-.06-.27-.1-.55-.1-.84 0-2.02 1.65-3.66 3.67-3.66 1.06 0 2.01.44 2.68 1.16.83-.17 1.62-.47 2.33-.89-.28.85-.86 1.57-1.62 2.02.75-.08 1.45-.28 2.11-.57z";break;case"undo":e="M12 5H7V2L1 6l6 4V7h5c2.2 0 4 1.8 4 4s-1.8 4-4 4H7v2h5c3.3 0 6-2.7 6-6s-2.7-6-6-6z";break;case"universal-access-alt":e="M19 10c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9 9-4.03 9-9zm-9-7.4c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"universal-access":e="M10 2.6c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"unlock":e="M12 9V6c0-1.1-.9-2-2-2s-2 .9-2 2H6c0-2.21 1.79-4 4-4s4 1.79 4 4v3h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h7zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"update":e="M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z";break;case"upload":e="M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z";break;case"vault":e="M18 17V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-1 0H3V3h14v14zM4.75 4h10.5c.41 0 .75.34.75.75V6h-1v3h1v2h-1v3h1v1.25c0 .41-.34.75-.75.75H4.75c-.41 0-.75-.34-.75-.75V4.75c0-.41.34-.75.75-.75zM13 10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM9 7l.77 1.15C10.49 8.46 11 9.17 11 10c0 1.1-.9 2-2 2s-2-.9-2-2c0-.83.51-1.54 1.23-1.85z";break;case"video-alt":e="M8 5c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1 0 .57.49 1 1 1h5c.55 0 1-.45 1-1zm6 5l4-4v10l-4-4v-2zm-1 4V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8c.55 0 1-.45 1-1z";break;case"video-alt2":e="M12 13V7c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2zm1-2.5l6 4.5V5l-6 4.5v1z";break;case"video-alt3":e="M19 15V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2zM8 14V6l6 4z";break;case"visibility":e="M19.7 9.4C17.7 6 14 3.9 10 3.9S2.3 6 .3 9.4L0 10l.3.6c2 3.4 5.7 5.5 9.7 5.5s7.7-2.1 9.7-5.5l.3-.6-.3-.6zM10 14.1c-3.1 0-6-1.6-7.7-4.1C3.6 8 5.7 6.6 8 6.1c-.9.6-1.5 1.7-1.5 2.9 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.2-.6-2.3-1.5-2.9 2.3.5 4.4 1.9 5.7 3.9-1.7 2.5-4.6 4.1-7.7 4.1z";break;case"warning":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z";break;case"welcome-add-page":e="M17 7V4h-2V2h-3v1H3v15h11V9h1V7h2zm-1-2v1h-2v2h-1V6h-2V5h2V3h1v2h2z";break;case"welcome-comments":e="M5 2h10c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm8.5 8.5L11 8l2.5-2.5-1-1L10 7 7.5 4.5l-1 1L9 8l-2.5 2.5 1 1L10 9l2.5 2.5z";break;case"welcome-learn-more":e="M10 10L2.54 7.02 3 18H1l.48-11.41L0 6l10-4 10 4zm0-5c-.55 0-1 .22-1 .5s.45.5 1 .5 1-.22 1-.5-.45-.5-1-.5zm0 6l5.57-2.23c.71.94 1.2 2.07 1.36 3.3-.3-.04-.61-.07-.93-.07-2.55 0-4.78 1.37-6 3.41C8.78 13.37 6.55 12 4 12c-.32 0-.63.03-.93.07.16-1.23.65-2.36 1.36-3.3z";break;case"welcome-view-site":e="M18 14V4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-8-8c2.3 0 4.4 1.14 6 3-1.6 1.86-3.7 3-6 3s-4.4-1.14-6-3c1.6-1.86 3.7-3 6-3zm2 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm2 8h3v1H3v-1h3v-1h8v1z";break;case"welcome-widgets-menus":e="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 14h4v1H6v-1z";break;case"welcome-write-blog":e="M16.89 1.2l1.41 1.41c.39.39.39 1.02 0 1.41L14 8.33V18H3V3h10.67l1.8-1.8c.4-.39 1.03-.4 1.42 0zm-5.66 8.48l5.37-5.36-1.42-1.42-5.36 5.37-.71 2.12z";break;case"wordpress-alt":e="M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z";break;case"wordpress":e="M20 10c0-5.52-4.48-10-10-10S0 4.48 0 10s4.48 10 10 10 10-4.48 10-10zM10 1.01c4.97 0 8.99 4.02 8.99 8.99s-4.02 8.99-8.99 8.99S1.01 14.97 1.01 10 5.03 1.01 10 1.01zM8.01 14.82L4.96 6.61c.49-.03 1.05-.08 1.05-.08.43-.05.38-1.01-.06-.99 0 0-1.29.1-2.13.1-.15 0-.33 0-.52-.01 1.44-2.17 3.9-3.6 6.7-3.6 2.09 0 3.99.79 5.41 2.09-.6-.08-1.45.35-1.45 1.42 0 .66.38 1.22.79 1.88.31.54.5 1.22.5 2.21 0 1.34-1.27 4.48-1.27 4.48l-2.71-7.5c.48-.03.75-.16.75-.16.43-.05.38-1.1-.05-1.08 0 0-1.3.11-2.14.11-.78 0-2.11-.11-2.11-.11-.43-.02-.48 1.06-.05 1.08l.84.08 1.12 3.04zm6.02 2.15L16.64 10s.67-1.69.39-3.81c.63 1.14.94 2.42.94 3.81 0 2.96-1.56 5.58-3.94 6.97zM2.68 6.77L6.5 17.25c-2.67-1.3-4.47-4.08-4.47-7.25 0-1.16.2-2.23.65-3.23zm7.45 4.53l2.29 6.25c-.75.27-1.57.42-2.42.42-.72 0-1.41-.11-2.06-.3z";break;case"yes-alt":e="M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-.615 12.66h-1.34l-3.24-4.54 1.34-1.25 2.57 2.4 5.14-5.93 1.34.94-5.81 8.38z";break;case"yes":e="M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z"}if(!e)return null;var l=["dashicon","dashicons-"+n,i].filter(Boolean).join(" ");return Object(a.createElement)(d,Object(P.a)({"aria-hidden":!0,role:"img",focusable:"false",className:l,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 20 20"},s),Object(a.createElement)(c,{d:e}))}}]),t}(a.Component);var X=function(e){var t=e.icon,n=void 0===t?null:t,o=e.size,i=Object(M.a)(e,["icon","size"]),s=o||20;if("string"==typeof n)return Object(a.createElement)(Z,Object(P.a)({icon:n,size:s},i));if(n&&Z===n.type)return Object(a.cloneElement)(n,Object(r.a)({size:s},i));var c=o||24;if("function"==typeof n)return n.prototype instanceof a.Component?Object(a.createElement)(n,Object(r.a)({size:c},i)):n(Object(r.a)({size:c},i));if(n&&("svg"===n.type||n.type===d)){var l=Object(r.a)({width:c,height:c},n.props,i);return Object(a.createElement)(d,l)}return Object(a.isValidElement)(n)?Object(a.cloneElement)(n,Object(r.a)({size:c},i)):n};var Q=Object(a.forwardRef)((function(e,t){var n=e.icon,r=e.children,i=e.label,s=e.className,c=e.tooltip,l=e.shortcut,u=e.labelPosition,d=e.size,f=Object(M.a)(e,["icon","children","label","className","tooltip","shortcut","labelPosition","size"]),h=b()("components-icon-button",s,{"has-text":r}),p=c||i,v=!f.disabled&&(c||l||!!i&&(!r||Object(o.isArray)(r)&&!r.length)&&!1!==c),m=Object(a.createElement)(E,Object(P.a)({"aria-label":i},f,{className:h,ref:t}),Object(a.createElement)(X,{icon:n,size:d}),r);return v&&(m=Object(a.createElement)(Y,{text:p,shortcut:l,position:u},m)),m}));var J=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,r=e.className,o=void 0===r?"lockscroll":r,i=0,s=0;function c(e){var t=n.scrollingElement||n.body;e&&(s=t.scrollTop);var r=e?"add":"remove";t.classList[r](o),n.documentElement.classList[r](o),e||(t.scrollTop=s)}return function(e){function t(){return Object(m.a)(this,t),Object(y.a)(this,Object(g.a)(t).apply(this,arguments))}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidMount",value:function(){0===i&&c(!0),++i}},{key:"componentWillUnmount",value:function(){1===i&&c(!1),--i}},{key:"render",value:function(){return null}}]),t}(a.Component)}();function ee(e){e.stopPropagation()}var te=Object(a.forwardRef)((function(e,t){var n=e.children,r=Object(M.a)(e,["children"]);return Object(a.createElement)("div",Object(P.a)({},r,{ref:t,onMouseDown:ee}),n)})),ne=Object(a.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){},subscribe:function(){}}),re=ne.Provider,oe=ne.Consumer,ae=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).registerSlot=e.registerSlot.bind(Object(O.a)(e)),e.registerFill=e.registerFill.bind(Object(O.a)(e)),e.unregisterSlot=e.unregisterSlot.bind(Object(O.a)(e)),e.unregisterFill=e.unregisterFill.bind(Object(O.a)(e)),e.getSlot=e.getSlot.bind(Object(O.a)(e)),e.getFills=e.getFills.bind(Object(O.a)(e)),e.hasFills=e.hasFills.bind(Object(O.a)(e)),e.subscribe=e.subscribe.bind(Object(O.a)(e)),e.slots={},e.fills={},e.listeners=[],e.contextValue={registerSlot:e.registerSlot,unregisterSlot:e.unregisterSlot,registerFill:e.registerFill,unregisterFill:e.unregisterFill,getSlot:e.getSlot,getFills:e.getFills,hasFills:e.hasFills,subscribe:e.subscribe},e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"registerSlot",value:function(e,t){var n=this.slots[e];this.slots[e]=t,this.triggerListeners(),this.forceUpdateSlot(e),n&&n.forceUpdate()}},{key:"registerFill",value:function(e,t){this.fills[e]=[].concat(Object(w.a)(this.fills[e]||[]),[t]),this.forceUpdateSlot(e)}},{key:"unregisterSlot",value:function(e,t){this.slots[e]===t&&(delete this.slots[e],this.triggerListeners())}},{key:"unregisterFill",value:function(e,t){this.fills[e]=Object(o.without)(this.fills[e],t),this.resetFillOccurrence(e),this.forceUpdateSlot(e)}},{key:"getSlot",value:function(e){return this.slots[e]}},{key:"getFills",value:function(e,t){return this.slots[e]!==t?[]:Object(o.sortBy)(this.fills[e],"occurrence")}},{key:"hasFills",value:function(e){return this.fills[e]&&!!this.fills[e].length}},{key:"resetFillOccurrence",value:function(e){Object(o.forEach)(this.fills[e],(function(e){e.occurrence=void 0}))}},{key:"forceUpdateSlot",value:function(e){var t=this.getSlot(e);t&&t.forceUpdate()}},{key:"triggerListeners",value:function(){this.listeners.forEach((function(e){return e()}))}},{key:"subscribe",value:function(e){var t=this;return this.listeners.push(e),function(){t.listeners=Object(o.without)(t.listeners,e)}}},{key:"render",value:function(){return Object(a.createElement)(re,{value:this.contextValue},this.props.children)}}]),t}(a.Component),ie=function(e){var t=Object(a.useContext)(ne),n=t.getSlot,r=t.subscribe,o=Object(a.useState)(n(e)),i=Object(h.a)(o,2),s=i[0],c=i[1];return Object(a.useEffect)((function(){return c(n(e)),r((function(){c(n(e))}))}),[e]),s},se=ae,ce=0;function le(e){var t=e.name,n=e.children,r=e.registerFill,i=e.unregisterFill,s=ie(t),c=Object(a.useRef)({name:t,children:n});return c.current.occurrence||(c.current.occurrence=++ce),Object(a.useLayoutEffect)((function(){return r(t,c.current),function(){return i(t,c.current)}}),[]),Object(a.useLayoutEffect)((function(){c.current.children=n,s&&!s.props.bubblesVirtually&&s.forceUpdate()}),[n]),Object(a.useLayoutEffect)((function(){t!==c.current.name&&(i(c.current.name,c.current),c.current.name=t,r(t,c.current))}),[t]),s&&s.node&&s.props.bubblesVirtually?(Object(o.isFunction)(n)&&(n=n(s.props.fillProps)),Object(a.createPortal)(n,s.node)):null}var ue=function(e){return Object(a.createElement)(oe,null,(function(t){var n=t.registerFill,r=t.unregisterFill;return Object(a.createElement)(le,Object(P.a)({},e,{registerFill:n,unregisterFill:r}))}))},de=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).bindNode=e.bindNode.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidMount",value:function(){(0,this.props.registerSlot)(this.props.name,this)}},{key:"componentWillUnmount",value:function(){(0,this.props.unregisterSlot)(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,r=t.unregisterSlot,o=t.registerSlot;e.name!==n&&(r(e.name),o(n,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.name,r=e.bubblesVirtually,i=void 0!==r&&r,s=e.fillProps,c=void 0===s?{}:s,l=e.getFills,u=e.className;if(i)return Object(a.createElement)("div",{ref:this.bindNode,className:u});var d=Object(o.map)(l(n,this),(function(e){var t=e.occurrence,n=Object(o.isFunction)(e.children)?e.children(c):e.children;return a.Children.map(n,(function(e,n){if(!e||Object(o.isString)(e))return e;var r="".concat(t,"---").concat(e.key||n);return Object(a.cloneElement)(e,{key:r})}))})).filter(Object(o.negate)(a.isEmptyElement));return Object(a.createElement)(a.Fragment,null,Object(o.isFunction)(t)?t(d):d)}}]),t}(a.Component),fe=function(e){return Object(a.createElement)(oe,null,(function(t){var n=t.registerSlot,r=t.unregisterSlot,o=t.getFills;return Object(a.createElement)(de,Object(P.a)({},e,{registerSlot:n,unregisterSlot:r,getFills:o}))}))},he=B(V((function(e){return e.children})));function pe(e,t){var n=window.getComputedStyle(t),r=n.paddingTop,o=n.paddingBottom,a=n.paddingLeft,i=n.paddingRight,s=r?parseInt(r,10):0,c=o?parseInt(o,10):0,l=a?parseInt(a,10):0,u=i?parseInt(i,10):0;return{x:e.left+l,y:e.top+s,width:e.width-l-u,height:e.height-s-c,left:e.left+l,right:e.right-u,top:e.top+s,bottom:e.bottom-c}}function be(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function ve(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==n&&(e.style[t]=n)}function me(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}var ye=function(e){var t=e.headerTitle,n=e.onClose,r=e.onKeyDown,o=e.children,i=e.className,s=e.noArrow,c=void 0!==s&&s,l=e.position,u=void 0===l?"top":l,d=(e.range,e.focusOnMount),f=void 0===d?"firstElement":d,p=e.anchorRef,m=e.shouldAnchorIncludePadding,y=e.anchorVerticalBuffer,g=e.anchorHorizontalBuffer,O=e.anchorRect,k=e.getAnchorRect,_=e.expandOnMobile,w=e.animate,S=void 0===w||w,C=e.onClickOutside,E=e.onFocusOutside,z=Object(M.a)(e,["headerTitle","onClose","onKeyDown","children","className","noArrow","position","range","focusOnMount","anchorRef","shouldAnchorIncludePadding","anchorVerticalBuffer","anchorHorizontalBuffer","anchorRect","getAnchorRect","expandOnMobile","animate","onClickOutside","onFocusOutside"]),T=Object(a.useRef)(null),N=Object(a.useRef)(null),R=Object(a.useRef)(),H=Object(a.useRef)(),L=Object(j.useViewportMatch)("medium","<"),F=Object(a.useState)(),V=Object(h.a)(F,2),B=V[0],K=V[1],W=_&&L;c=W||c,Object(a.useEffect)((function(){var e=R.current,t=N.current;if(W)return me(e,"is-without-arrow",c),be(e,"data-x-axis"),be(e,"data-y-axis"),ve(e,"top"),ve(e,"left"),ve(t,"maxHeight"),void ve(t,"maxWidth");var n=function(){var n=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;if(t)return t;if(n){if(!e.current)return;return n(e.current)}if(!1!==r){if(!r)return;if(r instanceof window.Range)return Object(x.getRectangleFromRange)(r);var a=r.getBoundingClientRect();return o?a:pe(a,r)}if(e.current){var i=e.current.parentNode,s=i.getBoundingClientRect();return o?s:pe(s,i)}}(T,O,k,p,m);if(n){n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return{x:e.left-n,y:e.top-t,width:e.width+2*n,height:e.height+2*t,left:e.left-n,right:e.right+n,top:e.top-t,bottom:e.bottom+t}}(n,y,g),H.current||(H.current=t.getBoundingClientRect());var r=A(n,H.current,u),o=r.popoverTop,a=r.popoverLeft,i=r.xAxis,s=r.yAxis,l=r.contentHeight,d=r.contentWidth;me(e,"is-without-arrow",c||"center"===i&&"middle"===s),be(e,"data-x-axis",i),be(e,"data-y-axis",s),ve(e,"top","number"==typeof o?o+"px":""),ve(e,"left","number"==typeof a?a+"px":""),ve(t,"maxHeight","number"==typeof l?l+"px":""),ve(t,"maxWidth","number"==typeof d?d+"px":"");K(({left:"right",right:"left"}[i]||"center")+" "+({top:"bottom",bottom:"top"}[s]||"middle"))}},r=window.setTimeout(n),o=window.setInterval(n,500);return window.addEventListener("resize",n),window.addEventListener("scroll",n,!0),function(){window.clearTimeout(r),window.clearInterval(o),window.removeEventListener("resize",n),window.removeEventListener("scroll",n,!0)}}),[W,O,k,p,m,y,g,u]),function(e,t){Object(a.useEffect)((function(){var n=setTimeout((function(){if(e&&t.current)if("firstElement"!==e)"container"===e&&t.current.focus();else{var n=x.focus.tabbable.find(t.current)[0];n?n.focus():t.current.focus()}}),0);return function(){return clearTimeout(n)}}),[])}(f,N);var U=function(e){e.keyCode===D.ESCAPE&&n&&(e.stopPropagation(),n()),r&&r(e)};var G=Object(a.createElement)($,{onFocusOutside:function(e){if(E)E(e);else if(C){var t;try{t=new window.MouseEvent("click")}catch(e){(t=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)}Object.defineProperty(t,"target",{get:function(){return e.relatedTarget}}),I()("Popover onClickOutside prop",{alternative:"onFocusOutside"}),C(t)}else n&&n()}},Object(a.createElement)(v,{type:S&&B?"appear":null,options:{origin:B}},(function(e){var r=e.className;return Object(a.createElement)(te,Object(P.a)({className:b()("components-popover",i,r,{"is-expanded":W,"is-without-arrow":c})},z,{onKeyDown:U,ref:R}),W&&Object(a.createElement)("div",{className:"components-popover__header"},Object(a.createElement)("span",{className:"components-popover__header-title"},t),Object(a.createElement)(Q,{className:"components-popover__close",icon:"no-alt",onClick:n})),Object(a.createElement)("div",{ref:N,className:"components-popover__content",tabIndex:"-1"},o))})));return f&&(G=Object(a.createElement)(he,null,G)),Object(a.createElement)(oe,null,(function(e){var t=e.getSlot;return t&&t("Popover")&&(G=Object(a.createElement)(ue,{name:"Popover"},G)),Object(a.createElement)("span",{ref:T},G,L&&_&&Object(a.createElement)(J,null))}))};ye.Slot=function(){return Object(a.createElement)(fe,{bubblesVirtually:!0,name:"Popover"})};var ge=ye,Oe=n(44),ke=Object(j.createHigherOrderComponent)((function(e){return function(t){function n(){var e;return Object(m.a)(this,n),(e=Object(y.a)(this,Object(g.a)(n).apply(this,arguments))).debouncedSpeak=Object(o.debounce)(e.speak.bind(Object(O.a)(e)),500),e}return Object(_.a)(n,t),Object(k.a)(n,[{key:"speak",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"polite";Object(Oe.speak)(e,t)}},{key:"componentWillUnmount",value:function(){this.debouncedSpeak.cancel()}},{key:"render",value:function(){return Object(a.createElement)(e,Object(P.a)({},this.props,{speak:this.speak,debouncedSpeak:this.debouncedSpeak}))}}]),n}(a.Component)}),"withSpokenMessages");function _e(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=[],a=0;a0,g=y?"components-autocomplete-listbox-".concat(i):null,O=y?"components-autocomplete-item-".concat(i,"-").concat(p):null;return Object(a.createElement)(a.Fragment,null,r({isExpanded:y,listBoxId:g,activeId:O,onKeyDown:this.handleKeyDown}),y&&s&&Object(a.createElement)(ge,{focusOnMount:!1,onClose:this.reset,position:"top right",className:"components-autocomplete__popover",anchorRef:(e=window.getSelection(),e.rangeCount?e.getRangeAt(0):null)},Object(a.createElement)("div",{id:g,role:"listbox",className:"components-autocomplete__results"},y&&Object(o.map)(f,(function(e,n){return Object(a.createElement)(E,{key:e.key,id:"components-autocomplete-item-".concat(i,"-").concat(e.key),role:"option","aria-selected":n===d,disabled:e.isDisabled,className:b()("components-autocomplete__result",m,{"is-selected":n===d}),onClick:function(){return t.select(e)}},e.label)})))))}}]),t}(a.Component),De=Object(j.compose)([ke,j.withInstanceId])(we);var Se=function(e){var t=e.as,n=void 0===t?"div":t,o=Object(M.a)(e,["as"]);return function(e){var t=e.as,n=void 0===t?"div":t,r=Object(M.a)(e,["as"]);return"function"==typeof r.children?r.children(r):Object(a.createElement)(n,r)}(Object(r.a)({as:n,className:"components-visually-hidden"},o))};function je(e){var t=e.id,n=e.label,r=e.hideLabelFromVision,o=e.help,i=e.className,s=e.children;return Object(a.createElement)("div",{className:b()("components-base-control",i)},Object(a.createElement)("div",{className:"components-base-control__field"},n&&t&&(r?Object(a.createElement)(Se,{as:"label",htmlFor:t},n):Object(a.createElement)("label",{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(r?Object(a.createElement)(Se,{as:"label"},n):Object(a.createElement)(je.VisualLabel,null,n)),s),!!o&&Object(a.createElement)("p",{id:t+"__help",className:"components-base-control__help"},o))}je.VisualLabel=function(e){var t=e.className,n=e.children;return t=b()("components-base-control__label",t),Object(a.createElement)("span",{className:t},n)};var Ce=je;var Me=function(e){var t=e.className,n=Object(M.a)(e,["className"]),r=b()("components-button-group",t);return Object(a.createElement)("div",Object(P.a)({},n,{className:r,role:"group"}))},Ee=Object(a.createContext)({}),Pe=function(){return Object(a.useContext)(Ee)},xe=n(222),ze=n.n(xe),Ie=n(20);var Te=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},Ne=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ae=Te((function(e){return Ne.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),Re=n(95),He=n.n(Re);var Le=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;tr&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*n&&0c.charCodeAt(8))break;case 115:i=i.replace(c,"-webkit-"+c)+";"+i;break;case 207:case 102:i=i.replace(c,"-webkit-"+(102s.charCodeAt(0)&&(s=s.trim()),s=[s],0h)&&(L=(B=B.replace(" ",":")).length),0=4;)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++o;switch(n){case 3:r^=(255&e.charCodeAt(o+2))<<16;case 2:r^=(255&e.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(o)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),((r^=r>>>15)>>>0).toString(36)},qe={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ye=/[A-Z]|^ms/g,Ze=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Xe=function(e){return 45===e.charCodeAt(1)},Qe=function(e){return null!=e&&"boolean"!=typeof e},Je=Te((function(e){return Xe(e)?e:e.replace(Ye,"-$&").toLowerCase()})),et=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Ze,(function(e,t,n){return nt={name:t,styles:n,next:nt},t}))}return 1===qe[e]||Xe(e)||"number"!=typeof t||0===t?t:t+"px"};function tt(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return nt={name:n.name,styles:n.styles,next:nt},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)nt={name:o.name,styles:o.styles,next:nt},o=o.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?ht:pt};function vt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mt(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=Ot()(e).toRgb(),r=n.r,o=n.g,a=n.b;return"rgba(".concat(r,", ").concat(o,", ").concat(a,", ").concat(t,")")}function Et(e){return Object(o.get)(Ct,e,"#000")}var Pt={borderColor:Et("lightGray.500"),borderRadius:"3px",backgroundShady:Et("lightGray.200")},xt=Pt.borderColor,zt=Pt.borderRadius,It=Pt.backgroundShady,Tt=yt("div",{target:"e1q7k77g0",label:"CardUI"})("background:",Et("white"),";box-sizing:border-box;border-radius:",zt,";border:1px solid ",xt,";",Vt,";&.is-elevated{box-shadow:0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12);}"),Nt=yt("div",{target:"e1q7k77g1",label:"HeaderUI"})("border-bottom:1px solid ",xt,";border-top-left-radius:",zt,";border-top-right-radius:",zt,";box-sizing:border-box;&:last-child{border-bottom:none;}",Ft,";",Vt,";",Bt,";"),At=yt("div",{target:"e1q7k77g2",label:"MediaUI"})("box-sizing:border-box;overflow:hidden;& > img,& > iframe{display:block;height:auto;max-width:100%;width:100%;}&:first-of-type{border-top-left-radius:",zt,";border-top-right-radius:",zt,";}&:last-of-type{border-bottom-left-radius:",zt,";border-bottom-right-radius:",zt,";}"),Rt=yt("div",{target:"e1q7k77g3",label:"BodyUI"})("box-sizing:border-box;",(function(){return"\n\t\t&.is-size {\n\t\t\t&-large {\n\t\t\t\tpadding: 28px;\n\t\t\t}\n\t\t\t&-medium {\n\t\t\t\tpadding: 20px;\n\t\t\t}\n\t\t\t&-small {\n\t\t\t\tpadding: 12px;\n\t\t\t}\n\t\t\t&-extraSmall {\n\t\t\t\tpadding: 8px;\n\t\t\t}\n\t\t}\n\t"}),";",Bt,";"),Ht=yt("div",{target:"e1q7k77g4",label:"FooterUI"})("border-top:1px solid ",xt,";border-bottom-left-radius:",zt,";border-bottom-right-radius:",zt,";box-sizing:border-box;&:first-of-type{border-top:none;}",Ft,";",Vt,";",Bt,";"),Lt=yt("hr",{target:"e1q7k77g5",label:"DividerUI"})("all:unset;border-top:1px solid ",xt,";box-sizing:border-box;display:block;height:0;width:100%;");function Ft(){return"\n\t\t&.is-size {\n\t\t\t&-large {\n\t\t\t\tpadding: 20px 28px;\n\t\t\t}\n\t\t\t&-medium {\n\t\t\t\tpadding: 12px 20px;\n\t\t\t}\n\t\t\t&-small {\n\t\t\t\tpadding: 8px 12px;\n\t\t\t}\n\t\t\t&-extraSmall {\n\t\t\t\tpadding: 4px 8px;\n\t\t\t}\n\t\t}\n\t"}function Vt(){return"\n\t\t&.is-borderless {\n\t\t\tborder: none;\n\t\t}\n\t"}function Bt(){return"\n\t\t&.is-shady {\n\t\t\tbackground: ".concat(It,";\n\t\t}\n\t")}function Kt(e){var t=e.className,n=e.isBorderless,r=e.isElevated,o=e.size,i=Object(M.a)(e,["className","isBorderless","isElevated","size"]),s=Ee.Provider,c={isBorderless:n,isElevated:r,size:o},l=b()("components-card",n&&"is-borderless",r&&"is-elevated",o&&"is-size-".concat(o),t);return Object(a.createElement)(s,{value:c},Object(a.createElement)(Tt,Object(P.a)({},i,{className:l})))}Kt.defaultProps={isBorderless:!1,isElevated:!1,size:"medium"};var Wt=Kt,Ut={isShady:!1,size:"medium"};var $t=function(e){var t=e.className,n=e.isShady,o=Object(M.a)(e,["className","isShady"]),i=Object(r.a)({},Ut,Pe(),e).size,s=b()("components-card__body",n&&"is-shady",i&&"is-size-".concat(i),t);return Object(a.createElement)(Rt,Object(P.a)({},o,{className:s}))};var Gt=function(e){var t=e.className,n=Object(M.a)(e,["className"]),r=b()("components-card__divider",t);return Object(a.createElement)(Lt,Object(P.a)({},n,{children:null,className:r,role:"separator"}))},qt={isBorderless:!1,isShady:!1,size:"medium"};var Yt=function(e){var t=e.className,n=e.isShady,o=Object(M.a)(e,["className","isShady"]),i=Object(r.a)({},qt,Pe(),e),s=i.isBorderless,c=i.size,l=b()("components-card__footer",s&&"is-borderless",n&&"is-shady",c&&"is-size-".concat(c),t);return Object(a.createElement)(Ht,Object(P.a)({},o,{className:l}))},Zt={isBorderless:!1,isShady:!1,size:"medium"};var Xt=function(e){var t=e.className,n=e.isShady,o=Object(M.a)(e,["className","isShady"]),i=Object(r.a)({},Zt,Pe(),e),s=i.isBorderless,c=i.size,l=b()("components-card__header",s&&"is-borderless",n&&"is-shady",c&&"is-size-".concat(c),t);return Object(a.createElement)(Nt,Object(P.a)({},o,{className:l}))};var Qt=function(e){var t=e.className,n=Object(M.a)(e,["className"]),r=b()("components-card__media",t);return Object(a.createElement)(At,Object(P.a)({},n,{className:r}))};var Jt=Object(j.withInstanceId)((function(e){var t=e.label,n=e.className,r=e.heading,o=e.checked,i=e.help,s=e.instanceId,c=e.onChange,l=Object(M.a)(e,["label","className","heading","checked","help","instanceId","onChange"]),u="inspector-checkbox-control-".concat(s);return Object(a.createElement)(Ce,{label:r,id:u,help:i,className:n},Object(a.createElement)("span",{className:"components-checkbox-control__input-container"},Object(a.createElement)("input",Object(P.a)({id:u,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return c(e.target.checked)},checked:o,"aria-describedby":i?u+"__help":void 0},l)),o?Object(a.createElement)(Z,{icon:"yes",className:"components-checkbox-control__checked",role:"presentation"}):null),Object(a.createElement)("label",{className:"components-checkbox-control__label",htmlFor:u},t))})),en=n(223),tn=n.n(en),nn=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).containerRef=Object(a.createRef)(),e.onCopy=e.onCopy.bind(Object(O.a)(e)),e.getText=e.getText.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidMount",value:function(){var e=this.getText,t=this.onCopy,n=this.containerRef.current;this.clipboard=new tn.a(n.firstChild,{text:e,container:n}),this.clipboard.on("success",t)}},{key:"componentWillUnmount",value:function(){this.clipboard.destroy(),delete this.clipboard,clearTimeout(this.onCopyTimeout)}},{key:"onCopy",value:function(e){e.clearSelection();var t=this.props,n=t.onCopy,r=t.onFinishCopy;n&&(n(),r&&(clearTimeout(this.onCopyTimeout),this.onCopyTimeout=setTimeout(r,4e3)))}},{key:"getText",value:function(){var e=this.props.text;return"function"==typeof e&&(e=e()),e}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=(e.onCopy,e.onFinishCopy,e.text,Object(M.a)(e,["className","children","onCopy","onFinishCopy","text"])),o=r.icon,i=b()("components-clipboard-button",t),s=o?Q:E;return Object(a.createElement)("span",{ref:this.containerRef,onCopy:function(e){e.target.focus()}},Object(a.createElement)(s,Object(P.a)({},r,{className:i}),n))}}]),t}(a.Component),rn=function(e){var t=e.className,n=e.colorValue,r=Object(M.a)(e,["className","colorValue"]);return Object(a.createElement)("span",Object(P.a)({className:b()("component-color-indicator",t),style:{background:n}},r))};function on(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.hex?Ot()(e.hex):Ot()(e),r=n.toHsl();r.h=Math.round(r.h),r.s=Math.round(100*r.s),r.l=Math.round(100*r.l);var o=n.toHsv();o.h=Math.round(o.h),o.s=Math.round(100*o.s),o.v=Math.round(100*o.v);var a=n.toRgb(),i=n.toHex();return 0===r.s&&(r.h=t||0,o.h=t||0),{color:n,hex:"000000"===i&&0===a.a?"transparent":"#".concat(i),hsl:r,hsv:o,oldHue:e.h||t||r.h,rgb:a,source:e.source}}function an(e,t){e.preventDefault();var n=t.getBoundingClientRect(),r=n.left,o=n.top,a=n.width,i=n.height,s="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,c="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=s-(r+window.pageXOffset),u=c-(o+window.pageYOffset);return l<0?l=0:l>a?l=a:u<0?u=0:u>i&&(u=i),{top:u,left:l,width:a,height:i}}function sn(e){var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&Ot()(e).isValid()}var cn=n(224),ln=n.n(cn),un=(n(235),function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).bindKeyTarget=e.bindKeyTarget.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.keyTarget,n=void 0===t?document:t;this.mousetrap=new ln.a(n),Object(o.forEach)(this.props.shortcuts,(function(t,n){var r=e.props,o=r.bindGlobal,a=r.eventName,i=o?"bindGlobal":"bind";e.mousetrap[i](n,t,a)}))}},{key:"componentWillUnmount",value:function(){this.mousetrap.reset()}},{key:"bindKeyTarget",value:function(e){this.keyTarget=e}},{key:"render",value:function(){var e=this.props.children;return a.Children.count(e)?Object(a.createElement)("div",{ref:this.bindKeyTarget},e):null}}]),t}(a.Component)),dn=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).container=Object(a.createRef)(),e.increase=e.increase.bind(Object(O.a)(e)),e.decrease=e.decrease.bind(Object(O.a)(e)),e.handleChange=e.handleChange.bind(Object(O.a)(e)),e.handleMouseDown=e.handleMouseDown.bind(Object(O.a)(e)),e.handleMouseUp=e.handleMouseUp.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,r=t.onChange,a=void 0===r?o.noop:r;e=parseInt(100*e,10);var i={h:n.h,s:n.s,l:n.l,a:(parseInt(100*n.a,10)+e)/100,source:"rgb"};a(i)}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,r=t.onChange,a=void 0===r?o.noop:r,i=parseInt(100*n.a,10)-parseInt(100*e,10),s={h:n.h,s:n.s,l:n.l,a:n.a<=e?0:i/100,source:"rgb"};a(s)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?o.noop:t,r=function(e,t,n){var r=an(e,n),o=r.left,a=r.width,i=o<0?0:Math.round(100*o/a)/100;return t.hsl.a!==i?{h:t.hsl.h,s:t.hsl.s,l:t.hsl.l,a:i,source:"rgb"}:null}(e,this.props,this.container.current);r&&n(r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==D.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.rgb,n="".concat(t.r,",").concat(t.g,",").concat(t.b),r={background:"linear-gradient(to right, rgba(".concat(n,", 0) 0%, rgba(").concat(n,", 1) 100%)")},o={left:"".concat(100*t.a,"%")},i={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(.1)},"shift+right":function(){return e.increase(.1)},pageup:function(){return e.increase(.1)},end:function(){return e.increase(1)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(.1)},"shift+left":function(){return e.decrease(.1)},pagedown:function(){return e.decrease(.1)},home:function(){return e.decrease(1)}};return Object(a.createElement)(un,{shortcuts:i},Object(a.createElement)("div",{className:"components-color-picker__alpha"},Object(a.createElement)("div",{className:"components-color-picker__alpha-gradient",style:r}),Object(a.createElement)("div",{className:"components-color-picker__alpha-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(a.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"0","aria-valuenow":t.a,"aria-orientation":"horizontal","aria-label":Object(S.__)("Alpha value, from 0 (transparent) to 1 (fully opaque)."),className:"components-color-picker__alpha-pointer",style:o,onKeyDown:this.preventKeyEvents}))))}}]),t}(a.Component),fn=Object(j.pure)(dn),hn=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).container=Object(a.createRef)(),e.increase=e.increase.bind(Object(O.a)(e)),e.decrease=e.decrease.bind(Object(O.a)(e)),e.handleChange=e.handleChange.bind(Object(O.a)(e)),e.handleMouseDown=e.handleMouseDown.bind(Object(O.a)(e)),e.handleMouseUp=e.handleMouseUp.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,r=t.onChange,a=void 0===r?o.noop:r,i={h:n.h+e>=359?359:n.h+e,s:n.s,l:n.l,a:n.a,source:"rgb"};a(i)}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,r=t.onChange,a=void 0===r?o.noop:r,i={h:n.h<=e?0:n.h-e,s:n.s,l:n.l,a:n.a,source:"rgb"};a(i)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?o.noop:t,r=function(e,t,n){var r=an(e,n),o=r.left,a=r.width,i=o>=a?359:360*(100*o/a)/100;return t.hsl.h!==i?{h:i,s:t.hsl.s,l:t.hsl.l,a:t.hsl.a,source:"rgb"}:null}(e,this.props,this.container.current);r&&n(r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==D.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsl,r=void 0===n?{}:n,o=t.instanceId,i={left:"".concat(100*r.h/360,"%")},s={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(10)},"shift+right":function(){return e.increase(10)},pageup:function(){return e.increase(10)},end:function(){return e.increase(359)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(10)},"shift+left":function(){return e.decrease(10)},pagedown:function(){return e.decrease(10)},home:function(){return e.decrease(359)}};return Object(a.createElement)(un,{shortcuts:s},Object(a.createElement)("div",{className:"components-color-picker__hue"},Object(a.createElement)("div",{className:"components-color-picker__hue-gradient"}),Object(a.createElement)("div",{className:"components-color-picker__hue-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(a.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"359","aria-valuenow":r.h,"aria-orientation":"horizontal","aria-label":Object(S.__)("Hue value in degrees, from 0 to 359."),"aria-describedby":"components-color-picker__hue-description-".concat(o),className:"components-color-picker__hue-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(a.createElement)(Se,{as:"p",id:"components-color-picker__hue-description-".concat(o)},Object(S.__)("Move the arrow left or right to change hue.")))))}}]),t}(a.Component),pn=Object(j.compose)(j.pure,j.withInstanceId)(hn);var bn=Object(j.withInstanceId)((function(e){var t=e.label,n=e.hideLabelFromVision,r=e.value,o=e.help,i=e.className,s=e.instanceId,c=e.onChange,l=e.type,u=void 0===l?"text":l,d=Object(M.a)(e,["label","hideLabelFromVision","value","help","className","instanceId","onChange","type"]),f="inspector-text-control-".concat(s);return Object(a.createElement)(Ce,{label:t,hideLabelFromVision:n,id:f,help:o,className:i},Object(a.createElement)("input",Object(P.a)({className:"components-text-control__input",type:u,id:f,value:r,onChange:function(e){return c(e.target.value)},"aria-describedby":o?f+"__help":void 0},d)))})),vn=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).handleBlur=e.handleBlur.bind(Object(O.a)(e)),e.handleChange=e.handleChange.bind(Object(O.a)(e)),e.handleKeyDown=e.handleKeyDown.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"handleBlur",value:function(){var e=this.props,t=e.value,n=e.valueKey;(0,e.onChange)({source:e.source,state:"commit",value:t,valueKey:n})}},{key:"handleChange",value:function(e){var t=this.props,n=t.valueKey,r=t.onChange,o=t.source;e.length>4&&sn(e)?r({source:o,state:"commit",value:e,valueKey:n}):r({source:o,state:"draft",value:e,valueKey:n})}},{key:"handleKeyDown",value:function(e){var t=e.keyCode;if(t===D.ENTER||t===D.UP||t===D.DOWN){var n=this.props,r=n.value,o=n.valueKey;(0,n.onChange)({source:n.source,state:"commit",value:r,valueKey:o})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,r=t.value,i=Object(M.a)(t,["label","value"]);return Object(a.createElement)(bn,Object(P.a)({className:"components-color-picker__inputs-field",label:n,value:r,onChange:function(t){return e.handleChange(t)},onBlur:this.handleBlur,onKeyDown:this.handleKeyDown},Object(o.omit)(i,["onChange","valueKey","source"])))}}]),t}(a.Component),mn=Object(j.pure)(Q),yn=function(e){function t(e){var n,r=e.hsl;Object(m.a)(this,t),n=Object(y.a)(this,Object(g.a)(t).apply(this,arguments));var o=1===r.a?"hex":"rgb";return n.state={view:o},n.toggleViews=n.toggleViews.bind(Object(O.a)(n)),n.resetDraftValues=n.resetDraftValues.bind(Object(O.a)(n)),n.handleChange=n.handleChange.bind(Object(O.a)(n)),n.normalizeValue=n.normalizeValue.bind(Object(O.a)(n)),n}return Object(_.a)(t,e),Object(k.a)(t,[{key:"toggleViews",value:function(){"hex"===this.state.view?(this.setState({view:"rgb"},this.resetDraftValues),Object(Oe.speak)(Object(S.__)("RGB mode active"))):"rgb"===this.state.view?(this.setState({view:"hsl"},this.resetDraftValues),Object(Oe.speak)(Object(S.__)("Hue/saturation/lightness mode active"))):"hsl"===this.state.view&&(1===this.props.hsl.a?(this.setState({view:"hex"},this.resetDraftValues),Object(Oe.speak)(Object(S.__)("Hex color mode active"))):(this.setState({view:"rgb"},this.resetDraftValues),Object(Oe.speak)(Object(S.__)("RGB mode active"))))}},{key:"resetDraftValues",value:function(){return this.props.onChange({state:"reset"})}},{key:"normalizeValue",value:function(e,t){return"a"!==e?t:t>0?0:t>1?1:Math.round(100*t)/100}},{key:"handleChange",value:function(e){var t=e.source,n=e.state,r=e.value,o=e.valueKey;this.props.onChange({source:t,state:n,valueKey:o,value:this.normalizeValue(o,r)})}},{key:"renderFields",value:function(){var e=this.props.disableAlpha,t=void 0!==e&&e;return"hex"===this.state.view?Object(a.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(a.createElement)(vn,{source:this.state.view,label:Object(S.__)("Color value in hexadecimal"),valueKey:"hex",value:this.props.hex,onChange:this.handleChange})):"rgb"===this.state.view?Object(a.createElement)("fieldset",null,Object(a.createElement)(Se,{as:"legend"},Object(S.__)("Color value in RGB")),Object(a.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(a.createElement)(vn,{source:this.state.view,label:"r",valueKey:"r",value:this.props.rgb.r,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(a.createElement)(vn,{source:this.state.view,label:"g",valueKey:"g",value:this.props.rgb.g,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(a.createElement)(vn,{source:this.state.view,label:"b",valueKey:"b",value:this.props.rgb.b,onChange:this.handleChange,type:"number",min:"0",max:"255"}),t?null:Object(a.createElement)(vn,{source:this.state.view,label:"a",valueKey:"a",value:this.props.rgb.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):"hsl"===this.state.view?Object(a.createElement)("fieldset",null,Object(a.createElement)(Se,{as:"legend"},Object(S.__)("Color value in HSL")),Object(a.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(a.createElement)(vn,{source:this.state.view,label:"h",valueKey:"h",value:this.props.hsl.h,onChange:this.handleChange,type:"number",min:"0",max:"359"}),Object(a.createElement)(vn,{source:this.state.view,label:"s",valueKey:"s",value:this.props.hsl.s,onChange:this.handleChange,type:"number",min:"0",max:"100"}),Object(a.createElement)(vn,{source:this.state.view,label:"l",valueKey:"l",value:this.props.hsl.l,onChange:this.handleChange,type:"number",min:"0",max:"100"}),t?null:Object(a.createElement)(vn,{source:this.state.view,label:"a",valueKey:"a",value:this.props.hsl.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):void 0}},{key:"render",value:function(){return Object(a.createElement)("div",{className:"components-color-picker__inputs-wrapper"},this.renderFields(),Object(a.createElement)("div",{className:"components-color-picker__inputs-toggle"},Object(a.createElement)(mn,{icon:"arrow-down-alt2",label:Object(S.__)("Change color format"),onClick:this.toggleViews})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(a.Component),gn=function(e){function t(e){var n;return Object(m.a)(this,t),(n=Object(y.a)(this,Object(g.a)(t).call(this,e))).throttle=Object(o.throttle)((function(e,t,n){e(t,n)}),50),n.container=Object(a.createRef)(),n.saturate=n.saturate.bind(Object(O.a)(n)),n.brighten=n.brighten.bind(Object(O.a)(n)),n.handleChange=n.handleChange.bind(Object(O.a)(n)),n.handleMouseDown=n.handleMouseDown.bind(Object(O.a)(n)),n.handleMouseUp=n.handleMouseUp.bind(Object(O.a)(n)),n}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"saturate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,r=t.onChange,a=void 0===r?o.noop:r,i=Object(o.clamp)(n.s+Math.round(100*e),0,100),s={h:n.h,s:i,v:n.v,a:n.a,source:"rgb"};a(s)}},{key:"brighten",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,r=t.onChange,a=void 0===r?o.noop:r,i=Object(o.clamp)(n.v+Math.round(100*e),0,100),s={h:n.h,s:n.s,v:i,a:n.a,source:"rgb"};a(s)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?o.noop:t,r=function(e,t,n){var r=an(e,n),o=r.top,a=r.left,i=r.width,s=r.height,c=a<0?0:100*a/i,l=o>=s?0:-100*o/s+100;return l<1&&(l=0),{h:t.hsl.h,s:c,v:l,a:t.hsl.a,source:"rgb"}}(e,this.props,this.container.current);this.throttle(n,r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==D.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsv,r=t.hsl,o=t.instanceId,i={top:"".concat(100-n.v,"%"),left:"".concat(n.s,"%")},s={up:function(){return e.brighten()},"shift+up":function(){return e.brighten(.1)},pageup:function(){return e.brighten(1)},down:function(){return e.brighten(-.01)},"shift+down":function(){return e.brighten(-.1)},pagedown:function(){return e.brighten(-1)},right:function(){return e.saturate()},"shift+right":function(){return e.saturate(.1)},end:function(){return e.saturate(1)},left:function(){return e.saturate(-.01)},"shift+left":function(){return e.saturate(-.1)},home:function(){return e.saturate(-1)}};return Object(a.createElement)(un,{shortcuts:s},Object(a.createElement)("div",{style:{background:"hsl(".concat(r.h,",100%, 50%)")},className:"components-color-picker__saturation-color",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,role:"application"},Object(a.createElement)("div",{className:"components-color-picker__saturation-white"}),Object(a.createElement)("div",{className:"components-color-picker__saturation-black"}),Object(a.createElement)(E,{"aria-label":Object(S.__)("Choose a shade"),"aria-describedby":"color-picker-saturation-".concat(o),className:"components-color-picker__saturation-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(a.createElement)(Se,{id:"color-picker-saturation-".concat(o)},Object(S.__)("Use your arrow keys to change the base color. Move up to lighten the color, down to darken, left to decrease saturation, and right to increase saturation."))))}}]),t}(a.Component),On=Object(j.compose)(j.pure,j.withInstanceId)(gn),kn=function(e){return String(e).toLowerCase()},_n=function(e){return e.hex?sn(e.hex):(t=e,n=0,r=0,Object(o.each)(["r","g","b","a","h","s","l","v"],(function(e){t[e]&&(n+=1,isNaN(t[e])||(r+=1))})),n===r&&t);var t,n,r},wn=function(e,t){var n=t.source,o=t.valueKey,a=t.value;return"hex"===n?Object(f.a)({source:n},n,a):Object(r.a)({source:n},Object(r.a)({},e[n],Object(f.a)({},o,a)))},Dn=function(e){function t(e){var n,o=e.color,a=void 0===o?"0071a1":o;Object(m.a)(this,t),n=Object(y.a)(this,Object(g.a)(t).apply(this,arguments));var i=on(a);return n.state=Object(r.a)({},i,{draftHex:kn(i.hex),draftRgb:i.rgb,draftHsl:i.hsl}),n.commitValues=n.commitValues.bind(Object(O.a)(n)),n.setDraftValues=n.setDraftValues.bind(Object(O.a)(n)),n.resetDraftValues=n.resetDraftValues.bind(Object(O.a)(n)),n.handleInputChange=n.handleInputChange.bind(Object(O.a)(n)),n}return Object(_.a)(t,e),Object(k.a)(t,[{key:"commitValues",value:function(e){var t=this.props,n=t.oldHue,a=t.onChangeComplete,i=void 0===a?o.noop:a;if(_n(e)){var s=on(e,e.h||n);this.setState(Object(r.a)({},s,{draftHex:kn(s.hex),draftHsl:s.hsl,draftRgb:s.rgb}),Object(o.debounce)(Object(o.partial)(i,s),100))}}},{key:"resetDraftValues",value:function(){this.setState({draftHex:this.state.hex,draftHsl:this.state.hsl,draftRgb:this.state.rgb})}},{key:"setDraftValues",value:function(e){switch(e.source){case"hex":this.setState({draftHex:kn(e.hex)});break;case"rgb":this.setState({draftRgb:e});break;case"hsl":this.setState({draftHsl:e})}}},{key:"handleInputChange",value:function(e){switch(e.state){case"reset":this.resetDraftValues();break;case"commit":var t=wn(this.state,e);(function(e){return"hex"===e.source&&!e.hex||(!("hsl"!==e.source||e.h&&e.s&&e.l)||!("rgb"!==e.source||e.r&&e.g&&e.b||e.h&&e.s&&e.v&&e.a||e.h&&e.s&&e.l&&e.a))})(t)||this.commitValues(t);break;case"draft":this.setDraftValues(wn(this.state,e))}}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.disableAlpha,r=this.state,o=r.color,i=r.hsl,s=r.hsv,c=r.rgb,l=r.draftHex,u=r.draftHsl,d=r.draftRgb,f=b()(t,{"components-color-picker":!0,"is-alpha-disabled":n,"is-alpha-enabled":!n});return Object(a.createElement)("div",{className:f},Object(a.createElement)("div",{className:"components-color-picker__saturation"},Object(a.createElement)(On,{hsl:i,hsv:s,onChange:this.commitValues})),Object(a.createElement)("div",{className:"components-color-picker__body"},Object(a.createElement)("div",{className:"components-color-picker__controls"},Object(a.createElement)("div",{className:"components-color-picker__swatch"},Object(a.createElement)("div",{className:"components-color-picker__active",style:{backgroundColor:o&&o.toRgbString()}})),Object(a.createElement)("div",{className:"components-color-picker__toggles"},Object(a.createElement)(pn,{hsl:i,onChange:this.commitValues}),n?null:Object(a.createElement)(fn,{rgb:c,hsl:i,onChange:this.commitValues}))),Object(a.createElement)(yn,{rgb:d,hsl:u,hex:l,onChange:this.handleInputChange,disableAlpha:n})))}}]),t}(a.Component),Sn=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(O.a)(e)),e.close=e.close.bind(Object(O.a)(e)),e.closeIfFocusOutside=e.closeIfFocusOutside.bind(Object(O.a)(e)),e.containerRef=Object(a.createRef)(),e.state={isOpen:!1},e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentWillUnmount",value:function(){var e=this.state.isOpen,t=this.props.onToggle;e&&t&&t(!1)}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.isOpen,r=this.props.onToggle;t.isOpen!==n&&r&&r(n)}},{key:"toggle",value:function(){this.setState((function(e){return{isOpen:!e.isOpen}}))}},{key:"closeIfFocusOutside",value:function(){this.containerRef.current.contains(document.activeElement)||document.activeElement.closest('[role="dialog"]')||this.close()}},{key:"close",value:function(){this.props.onClose&&this.props.onClose(),this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this.state.isOpen,t=this.props,n=t.renderContent,r=t.renderToggle,o=t.position,i=void 0===o?"bottom":o,s=t.className,c=t.contentClassName,l=t.expandOnMobile,u=t.headerTitle,d=t.focusOnMount,f=t.popoverProps,h={isOpen:e,onToggle:this.toggle,onClose:this.close};return Object(a.createElement)("div",{className:b()("components-dropdown",s),ref:this.containerRef},r(h),e&&Object(a.createElement)(ge,Object(P.a)({className:c,position:i,onClose:this.close,onFocusOutside:this.closeIfFocusOutside,expandOnMobile:l,headerTitle:u,focusOnMount:d},f),n(h)))}}]),t}(a.Component);function jn(e){var t=e.actions,n=e.className,r=e.options,o=e.children;return Object(a.createElement)("div",{className:b()("components-circular-option-picker",n)},r,o,t&&Object(a.createElement)("div",{className:"components-circular-option-picker__custom-clear-wrapper"},t))}function Cn(e){var t=e.clearable,n=void 0===t||t,r=e.className,i=e.colors,s=e.disableCustomColors,c=void 0!==s&&s,l=e.onChange,u=e.value,d=Object(a.useCallback)((function(){return l(void 0)}),[l]),f=Object(a.useMemo)((function(){return Object(o.map)(i,(function(e){var t=e.color,n=e.name;return Object(a.createElement)(jn.Option,{key:t,isSelected:u===t,tooltipText:n||Object(S.sprintf)(Object(S.__)("Color code: %s"),t),style:{color:t},onClick:u===t?d:function(){return l(t)},"aria-label":n?Object(S.sprintf)(Object(S.__)("Color: %s"),n):Object(S.sprintf)(Object(S.__)("Color code: %s"),t)})}))}),[i,u,l,d]),h=Object(a.useCallback)((function(){return Object(a.createElement)(Dn,{color:u,onChangeComplete:function(e){return l(e.hex)},disableAlpha:!0})}),[u]);return Object(a.createElement)(jn,{className:r,options:f,actions:Object(a.createElement)(a.Fragment,null,!c&&Object(a.createElement)(jn.DropdownLinkAction,{dropdownProps:{renderContent:h,contentClassName:"components-color-palette__picker"},buttonProps:{"aria-label":Object(S.__)("Custom color picker")},linkText:Object(S.__)("Custom Color")}),!!n&&Object(a.createElement)(jn.ButtonAction,{onClick:d},Object(S.__)("Clear")))})}jn.Option=function(e){var t=e.className,n=e.isSelected,r=e.tooltipText,o=Object(M.a)(e,["className","isSelected","tooltipText"]),i=Object(a.createElement)(E,Object(P.a)({"aria-pressed":n,className:b()(t,"components-circular-option-picker__option",{"is-active":n})},o));return Object(a.createElement)("div",{className:"components-circular-option-picker__option-wrapper"},r?Object(a.createElement)(Y,{text:r},i):i,n&&Object(a.createElement)(Z,{icon:"saved"}))},jn.ButtonAction=function(e){var t=e.className,n=e.children,r=Object(M.a)(e,["className","children"]);return Object(a.createElement)(E,Object(P.a)({className:b()("components-circular-option-picker__clear",t),isSmall:!0,isDefault:!0},r),n)},jn.DropdownLinkAction=function(e){var t=e.buttonProps,n=e.className,r=e.dropdownProps,o=e.linkText;return Object(a.createElement)(Sn,Object(P.a)({className:b()("components-circular-option-picker__dropdown-link-action",n),renderToggle:function(e){var n=e.isOpen,r=e.onToggle;return Object(a.createElement)(E,Object(P.a)({"aria-expanded":n,onClick:r,isLink:!0},t),o)}},r))};var Mn=n(40);var En=n(28),Pn=n.n(En);n(145);function xn(e){return null!=e&&"object"==typeof e&&1===e.nodeType}function zn(e,t){return(!t||"hidden"!==e)&&("visible"!==e&&"clip"!==e)}function In(e,t){if(e.clientHeightt||a>e&&i=t&&s>=n?a-e-r:i>t&&sn?i-t+o:0}var Nn=function(e,t){var n=t.scrollMode,r=t.block,o=t.inline,a=t.boundary,i=t.skipOverflowHiddenElements,s="function"==typeof a?a:function(e){return e!==a};if(!xn(e))throw new TypeError("Invalid target");for(var c=document.scrollingElement||document.documentElement,l=[],u=e;xn(u)&&s(u);){if((u=u.parentNode)===c){l.push(u);break}u===document.body&&In(u)&&!In(document.documentElement)||In(u,i)&&l.push(u)}for(var d=window.visualViewport?visualViewport.width:innerWidth,f=window.visualViewport?visualViewport.height:innerHeight,h=window.scrollX||pageXOffset,p=window.scrollY||pageYOffset,b=e.getBoundingClientRect(),v=b.height,m=b.width,y=b.top,g=b.right,O=b.bottom,k=b.left,_="start"===r||"nearest"===r?y:"end"===r?O:y+v/2,w="center"===o?k+m/2:"end"===o?g:k,D=[],S=0;S=0&&k>=0&&O<=f&&g<=d&&y>=P&&O<=z&&k>=I&&g<=x)return D;var T=getComputedStyle(j),N=parseInt(T.borderLeftWidth,10),A=parseInt(T.borderTopWidth,10),R=parseInt(T.borderRightWidth,10),H=parseInt(T.borderBottomWidth,10),L=0,F=0,V="offsetWidth"in j?j.offsetWidth-j.clientWidth-N-R:0,B="offsetHeight"in j?j.offsetHeight-j.clientHeight-A-H:0;if(c===j)L="start"===r?_:"end"===r?_-f:"nearest"===r?Tn(p,p+f,f,A,H,p+_,p+_+v,v):_-f/2,F="start"===o?w:"center"===o?w-d/2:"end"===o?w-d:Tn(h,h+d,d,N,R,h+w,h+w+m,m),L=Math.max(0,L+p),F=Math.max(0,F+h);else{L="start"===r?_-P-A:"end"===r?_-z+H+B:"nearest"===r?Tn(P,z,M,A,H+B,_,_+v,v):_-(P+M/2)+B/2,F="start"===o?w-I-N:"center"===o?w-(I+E/2)+V/2:"end"===o?w-x+R+V:Tn(I,x,E,N,R+V,w,w+m,m);var K=j.scrollLeft,W=j.scrollTop;_+=W-(L=Math.max(0,Math.min(W+L,j.scrollHeight-M+B))),w+=K-(F=Math.max(0,Math.min(K+F,j.scrollWidth-E+V)))}D.push({el:j,top:L,left:F})}return D};function An(e,t){null!==e&&Nn(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}).forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))}function Rn(e,t){var n;function r(){n&&clearTimeout(n)}function o(){for(var o=arguments.length,a=new Array(o),i=0;i1?n-1:0),o=1;o=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}var Vn=Rn((function(){Kn().textContent=""}),500);function Bn(e,t){var n=Kn(t);e&&(n.textContent=e,Vn())}function Kn(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}function Wn(e,t,n,r){if(-1===t)return e>0?0:n-1;var o=t+e;return o<0?r?n-1:0:o>=n?r?0:n-1:o}function Un(e,t,n,r){var o,a=n.map((function(e){return r(e).toLowerCase()})),i=t+1;return(o=a.slice(i).findIndex((function(t){return t.startsWith(e)})))>-1?o+i:a.slice(0,i).findIndex((function(t){return t.startsWith(e)}))}function $n(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=r in t?t[r]:e[r],n}),{})}function Gn(e){return/^\S{1}$/.test(e)}function qn(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function Yn(e,t,n){Object.keys(t).forEach((function(r){!function(e,t,n,r){var o="on"+qn(e)+"Change";t[o]&&void 0!==r[e]&&r[e]!==n[e]&&t[o](r)}(r,e,t,n)})),e.onStateChange&&void 0!==n&&e.onStateChange(n)}var Zn=0,Xn=function(){return++Zn};function Qn(){var e=Object(Ie.useState)(null),t=e[0],n=e[1];return Object(Ie.useEffect)((function(){return n(Xn())}),[]),t}var Jn={highlightedIndex:-1,isOpen:!1,selectedItem:null};function er(e,t,n){var r=e.items,o=e.initialHighlightedIndex,a=e.defaultHighlightedIndex,i=t.selectedItem,s=t.highlightedIndex;return void 0!==o&&s>-1?o:void 0!==a?a:i?0===n?r.indexOf(i):Wn(n,r.indexOf(i),r.length,!1):0===n?-1:n<0?r.length-1:0}function tr(e,t){var n="default"+qn(t);return n in e?e[n]:Jn[t]}function nr(e,t){if(t in e)return e[t];var n="initial"+qn(t);return n in e?e[n]:tr(e,t)}Pn.a.array.isRequired,Pn.a.func,Pn.a.func,Pn.a.func,Pn.a.bool,Pn.a.number,Pn.a.number,Pn.a.number,Pn.a.bool,Pn.a.bool,Pn.a.bool,Pn.a.any,Pn.a.any,Pn.a.any,Pn.a.string,Pn.a.string,Pn.a.string,Pn.a.func,Pn.a.string,Pn.a.func,Pn.a.func,Pn.a.func,Pn.a.func,Pn.a.func,Pn.a.shape({addEventListener:Pn.a.func,removeEventListener:Pn.a.func,document:Pn.a.shape({getElementById:Pn.a.func,activeElement:Pn.a.any,body:Pn.a.any})});var rr=0,or=1,ar=2,ir=3,sr=4,cr=5,lr=6,ur=7,dr=8,fr=9,hr=10,pr=11,br=12,vr=13,mr=14,yr=15,gr=16,Or=17,kr=18,_r=19,wr=20,Dr=21,Sr=Object.freeze({__proto__:null,MenuKeyDownArrowDown:rr,MenuKeyDownArrowUp:or,MenuKeyDownEscape:ar,MenuKeyDownHome:ir,MenuKeyDownEnd:sr,MenuKeyDownEnter:cr,MenuKeyDownCharacter:lr,MenuBlur:ur,MenuMouseLeave:dr,ItemMouseMove:fr,ItemClick:hr,ToggleButtonKeyDownCharacter:pr,ToggleButtonKeyDownArrowDown:br,ToggleButtonKeyDownArrowUp:vr,ToggleButtonClick:mr,FunctionToggleMenu:yr,FunctionOpenMenu:gr,FunctionCloseMenu:Or,FunctionSetHighlightedIndex:kr,FunctionSelectItem:_r,FunctionClearKeysSoFar:wr,FunctionReset:Dr});function jr(e,t){var n,r=t.type,o=t.props,a=t.shiftKey;switch(r){case fr:n={highlightedIndex:t.index};break;case hr:n={isOpen:tr(o,"isOpen"),highlightedIndex:tr(o,"highlightedIndex"),selectedItem:o.items[t.index]};break;case ur:n={isOpen:!1,highlightedIndex:-1};break;case rr:n={highlightedIndex:Wn(a?5:1,e.highlightedIndex,o.items.length,o.circularNavigation)};break;case or:n={highlightedIndex:Wn(a?-5:-1,e.highlightedIndex,o.items.length,o.circularNavigation)};break;case ir:n={highlightedIndex:0};break;case sr:n={highlightedIndex:o.items.length-1};break;case ar:n={isOpen:!1,highlightedIndex:-1};break;case cr:n=Object(P.a)({isOpen:tr(o,"isOpen"),highlightedIndex:tr(o,"highlightedIndex")},e.highlightedIndex>=0&&{selectedItem:o.items[e.highlightedIndex]});break;case lr:var i=t.key,s=""+e.keysSoFar+i,c=Un(s,e.highlightedIndex,o.items,o.itemToString);n=Object(P.a)({keysSoFar:s},c>=0&&{highlightedIndex:c});break;case dr:n={highlightedIndex:-1};break;case pr:var l=t.key,u=""+e.keysSoFar+l,d=Un(u,e.selectedItem?o.items.indexOf(e.selectedItem):-1,o.items,o.itemToString);n=Object(P.a)({keysSoFar:u},d>=0&&{selectedItem:o.items[d]});break;case br:n={isOpen:!0,highlightedIndex:er(o,e,1)};break;case vr:n={isOpen:!0,highlightedIndex:er(o,e,-1)};break;case mr:case yr:n={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:er(o,e,0)};break;case gr:n={isOpen:!0,highlightedIndex:er(o,e,0)};break;case Or:n={isOpen:!1};break;case kr:n={highlightedIndex:t.highlightedIndex};break;case _r:n={selectedItem:t.selectedItem};break;case wr:n={keysSoFar:""};break;case Dr:n={highlightedIndex:tr(o,"highlightedIndex"),isOpen:tr(o,"isOpen"),selectedItem:tr(o,"selectedItem")};break;default:throw new Error("Reducer called without proper action type.")}return Object(P.a)({},e,{},n)}var Cr={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11yStatusMessage:function(e){var t=e.isOpen,n=e.items;if(!n)return"";var r=n.length;return t?0===r?"No results are available":r+" result"+(1===r?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":""},getA11ySelectionMessage:function(e){var t=e.selectedItem;return(0,e.itemToString)(t)+" has been selected."},scrollIntoView:An,environment:"undefined"==typeof window?{}:window};function Mr(e){void 0===e&&(e={});var t=Object(P.a)({},Cr,{},e),n=t.items,r=t.itemToString,o=t.getA11yStatusMessage,a=t.getA11ySelectionMessage,i=t.initialIsOpen,s=t.defaultIsOpen,c=t.scrollIntoView,l=t.environment,u=function(e,t,n){var r=Object(Ie.useCallback)((function(t,n){t=$n(t,n.props);var r=n.props.stateReducer,o=e(t,n),a=r(t,Object(P.a)({},n,{changes:o}));return Yn(n.props,t,a),a}),[e]),o=Object(Ie.useReducer)(r,t),a=o[0],i=o[1];return[$n(a,n),i]}(jr,function(e){var t=nr(e,"selectedItem"),n=nr(e,"highlightedIndex"),r=nr(e,"isOpen");return{highlightedIndex:n<0&&t?e.items.indexOf(t):n,isOpen:r,selectedItem:t,keysSoFar:""}}(t),t),d=u[0],f=d.isOpen,h=d.highlightedIndex,p=d.selectedItem,b=d.keysSoFar,v=u[1],m=function(e){return v(Object(P.a)({props:t},e))},y=function(e,t){var n=void 0===t?{}:t,r=n.id,o=n.labelId,a=n.menuId,i=n.getItemId,s=n.toggleButtonId,c=void 0===r?"downshift-"+e():r;return{labelId:o||c+"-label",menuId:a||c+"-menu",getItemId:i||function(e){return c+"-item-"+e},toggleButtonId:s||c+"-toggle-button"}}(Qn,t),g=y.labelId,O=y.getItemId,k=y.menuId,_=y.toggleButtonId,w=Object(Ie.useRef)(null),D=Object(Ie.useRef)(null),S=Object(Ie.useRef)();S.current=[];var j=Object(Ie.useRef)(!0),C=Object(Ie.useRef)(!0),M=Object(Ie.useRef)(null);Object(Ie.useEffect)((function(){j.current||Bn(o({isOpen:f,items:n,selectedItem:p,itemToString:r}),l.document)}),[f]),Object(Ie.useEffect)((function(){j.current||Bn(a({isOpen:f,items:n,selectedItem:p,itemToString:r}),l.document)}),[p]),Object(Ie.useEffect)((function(){j.current&&(M.current=Rn((function(){m({type:wr})}),500)),b&&M.current()}),[b]),Object(Ie.useEffect)((function(){j.current?(i||s||f)&&D.current.focus():f?D.current.focus():l.document.activeElement===D.current&&w.current.focus()}),[f]),Object(Ie.useEffect)((function(){h<0||!f||!S.current.length||(!1===C.current?C.current=!0:c(S.current[h],D.current))}),[h]),Object(Ie.useEffect)((function(){j.current=!1}),[]);var E={ArrowDown:function(e){e.preventDefault(),m({type:rr,shiftKey:e.shiftKey})},ArrowUp:function(e){e.preventDefault(),m({type:or,shiftKey:e.shiftKey})},Home:function(e){e.preventDefault(),m({type:ir})},End:function(e){e.preventDefault(),m({type:sr})},Escape:function(){m({type:ar})},Enter:function(e){e.preventDefault(),m({type:cr})},Tab:function(e){e.shiftKey&&m({type:ur})}},x={ArrowDown:function(e){e.preventDefault(),m({type:br})},ArrowUp:function(e){e.preventDefault(),m({type:vr})}},z=function(e){var t=Fn(e);t&&E[t]?E[t](e):Gn(t)&&m({type:lr,key:t})},I=function(e){(function(e,t){return e.relatedTarget===t||e.nativeEvent&&(t===e.nativeEvent.explicitOriginalTarget||t.contains(e.nativeEvent.explicitOriginalTarget))})(e,w.current)||m({type:ur})},T=function(){m({type:dr})},N=function(){m({type:mr})},A=function(e){var t=Fn(e);t&&x[t]?x[t](e):Gn(t)&&m({type:pr,key:t})};return{getToggleButtonProps:function(e){var t,n=void 0===e?{}:e,r=n.onClick,o=n.onKeyDown,a=n.refKey,i=void 0===a?"ref":a,s=n.ref,c=Object(Mn.a)(n,["onClick","onKeyDown","refKey","ref"]),l=Object(P.a)(((t={})[i]=Ln(s,(function(e){w.current=e})),t.id=_,t["aria-haspopup"]="listbox",t["aria-expanded"]=f,t["aria-labelledby"]=g+" "+_,t),c);return c.disabled||(l.onClick=Hn(r,N),l.onKeyDown=Hn(o,A)),l},getLabelProps:function(e){return Object(P.a)({id:g,htmlFor:_},e)},getMenuProps:function(e){var t,n=void 0===e?{}:e,r=n.onKeyDown,o=n.onBlur,a=n.onMouseLeave,i=n.refKey,s=void 0===i?"ref":i,c=n.ref,l=Object(Mn.a)(n,["onKeyDown","onBlur","onMouseLeave","refKey","ref"]);return Object(P.a)(((t={})[s]=Ln(c,(function(e){D.current=e})),t.id=k,t.role="listbox",t["aria-labelledby"]=g,t.tabIndex=-1,t),h>-1&&{"aria-activedescendant":O(h)},{onKeyDown:Hn(r,z),onBlur:Hn(o,I),onMouseLeave:Hn(a,T)},l)},getItemProps:function(e){var t,r=void 0===e?{}:e,o=r.item,a=r.index,i=r.refKey,s=void 0===i?"ref":i,c=r.ref,l=r.onMouseMove,u=r.onClick,d=Object(Mn.a)(r,["item","index","refKey","ref","onMouseMove","onClick"]),f=function(e,t,n){return void 0!==e?e:0===n.length?-1:n.indexOf(t)}(a,o,n);if(f<0)throw new Error("Pass either item or item index in getItemProps!");var p=Object(P.a)(((t={})[s]=Ln(c,(function(e){e&&S.current.push(e)})),t.role="option",t),f===h&&{"aria-selected":!0},{id:O(f)},d);return d.disabled||(p.onMouseMove=Hn(l,(function(){return function(e){e!==h&&(C.current=!1,m({type:fr,index:e}))}(f)})),p.onClick=Hn(u,(function(){return function(e){m({type:hr,index:e})}(f)}))),p},toggleMenu:function(){m({type:yr})},openMenu:function(){m({type:gr})},closeMenu:function(){m({type:Or})},setHighlightedIndex:function(e){m({type:kr,highlightedIndex:e})},selectItem:function(e){m({type:_r,selectedItem:e})},reset:function(){m({type:Dr})},highlightedIndex:h,isOpen:f,selectedItem:p}}Mr.stateChangeTypes=Sr;var Er=function(e){return e&&e.name},Pr=function(e,t){var n=e.selectedItem,r=t.type,o=t.changes,a=t.props.items;switch(r){case Mr.stateChangeTypes.ToggleButtonKeyDownArrowDown:return{selectedItem:a[n?Math.min(a.indexOf(n)+1,a.length-1):0]};case Mr.stateChangeTypes.ToggleButtonKeyDownArrowUp:return{selectedItem:a[n?Math.max(a.indexOf(n)-1,0):a.length-1]};default:return o}};function xr(e){var t=e.className,n=e.hideLabelFromVision,r=e.label,o=e.options,i=e.onChange,s=e.value,c=Mr({initialSelectedItem:o[0],items:o,itemToString:Er,onSelectedItemChange:i,selectedItem:s,stateReducer:Pr}),l=c.getLabelProps,u=c.getToggleButtonProps,d=c.getMenuProps,f=c.getItemProps,h=c.isOpen,p=c.highlightedIndex,v=c.selectedItem,m=d({className:"components-custom-select-control__menu"});return m["aria-activedescendant"]&&"downshift-null"===m["aria-activedescendant"].slice(0,"downshift-null".length)&&delete m["aria-activedescendant"],Object(a.createElement)("div",{className:b()("components-custom-select-control",t)},Object(a.createElement)("label",l({className:b()("components-custom-select-control__label",{"screen-reader-text":n})}),r),Object(a.createElement)(E,u({"aria-label":r,"aria-labelledby":void 0,className:"components-custom-select-control__button"}),Er(v),Object(a.createElement)(Z,{icon:"arrow-down-alt2",className:"components-custom-select-control__button-icon"})),Object(a.createElement)("ul",m,h&&o.map((function(e,t){return Object(a.createElement)("li",f({item:e,index:t,key:e.key,className:b()("components-custom-select-control__item",{"is-highlighted":t===p}),style:e.style}),e===v&&Object(a.createElement)(Z,{icon:"saved",className:"components-custom-select-control__item-icon"}),e.name)}))))}n(237);var zr=n(30),Ir=n.n(zr),Tr=n(225),Nr=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).onChangeMoment=e.onChangeMoment.bind(Object(O.a)(e)),e.nodeRef=Object(a.createRef)(),e.keepFocusInside=e.keepFocusInside.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"keepFocusInside",value:function(){if(this.nodeRef.current&&(!document.activeElement||!this.nodeRef.current.contains(document.activeElement))){var e=this.nodeRef.current.querySelector(".DayPicker_focusRegion");if(!e)return;e.focus()}}},{key:"onChangeMoment",value:function(e){var t=this.props,n=t.currentDate,r=t.onChange,o=n?Ir()(n):Ir()(),a={hours:o.hours(),minutes:o.minutes(),seconds:0};r(e.set(a).format("YYYY-MM-DDTHH:mm:ss"))}},{key:"getMomentDate",value:function(e){return null===e?null:e?Ir()(e):Ir()()}},{key:"render",value:function(){var e=this.props,t=e.currentDate,n=e.isInvalidDate,r=this.getMomentDate(t);return Object(a.createElement)("div",{className:"components-datetime__date",ref:this.nodeRef},Object(a.createElement)(Tr.DayPickerSingleDateController,{date:r,daySize:30,focused:!0,hideKeyboardShortcutsPanel:!0,key:"datepicker-controller-".concat(r?r.format("MM-YYYY"):"null"),noBorder:!0,numberOfMonths:1,onDateChange:this.onChangeMoment,transitionDuration:0,weekDayFormat:"ddd",isRTL:"rtl"===document.documentElement.dir,isOutsideRange:function(e){return n&&n(e.toDate())},onPrevMonthClick:this.keepFocusInside,onNextMonthClick:this.keepFocusInside}))}}]),t}(a.Component),Ar=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).state={day:"",month:"",year:"",hours:"",minutes:"",am:!0,date:null},e.changeDate=e.changeDate.bind(Object(O.a)(e)),e.updateMonth=e.updateMonth.bind(Object(O.a)(e)),e.onChangeMonth=e.onChangeMonth.bind(Object(O.a)(e)),e.updateDay=e.updateDay.bind(Object(O.a)(e)),e.onChangeDay=e.onChangeDay.bind(Object(O.a)(e)),e.updateYear=e.updateYear.bind(Object(O.a)(e)),e.onChangeYear=e.onChangeYear.bind(Object(O.a)(e)),e.updateHours=e.updateHours.bind(Object(O.a)(e)),e.updateMinutes=e.updateMinutes.bind(Object(O.a)(e)),e.onChangeHours=e.onChangeHours.bind(Object(O.a)(e)),e.onChangeMinutes=e.onChangeMinutes.bind(Object(O.a)(e)),e.renderMonth=e.renderMonth.bind(Object(O.a)(e)),e.renderDay=e.renderDay.bind(Object(O.a)(e)),e.renderDayMonthFormat=e.renderDayMonthFormat.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidMount",value:function(){this.syncState(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.currentTime,r=t.is12Hour;n===e.currentTime&&r===e.is12Hour||this.syncState(this.props)}},{key:"changeDate",value:function(e){var t=e.clone().startOf("minute");this.setState({date:t}),this.props.onChange(e.format("YYYY-MM-DDTHH:mm:ss"))}},{key:"getMaxHours",value:function(){return this.props.is12Hour?12:23}},{key:"getMinHours",value:function(){return this.props.is12Hour?1:0}},{key:"syncState",value:function(e){var t=e.currentTime,n=e.is12Hour,r=t?Ir()(t):Ir()(),o=r.format("DD"),a=r.format("MM"),i=r.format("YYYY"),s=r.format("mm"),c=r.format("A"),l=r.format(n?"hh":"HH"),u=t?Ir()(t):Ir()();this.setState({day:o,month:a,year:i,minutes:s,hours:l,am:c,date:u})}},{key:"updateHours",value:function(){var e=this.props.is12Hour,t=this.state,n=t.am,r=t.hours,a=t.date,i=parseInt(r,10);if(!Object(o.isInteger)(i)||e&&(i<1||i>12)||!e&&(i<0||i>23))this.syncState(this.props);else{var s=e?a.clone().hours("AM"===n?i%12:(i%12+12)%24):a.clone().hours(i);this.changeDate(s)}}},{key:"updateMinutes",value:function(){var e=this.state,t=e.minutes,n=e.date,r=parseInt(t,10);if(!Object(o.isInteger)(r)||r<0||r>59)this.syncState(this.props);else{var a=n.clone().minutes(r);this.changeDate(a)}}},{key:"updateDay",value:function(){var e=this.state,t=e.day,n=e.date,r=parseInt(t,10);if(!Object(o.isInteger)(r)||r<1||r>31)this.syncState(this.props);else{var a=n.clone().date(r);this.changeDate(a)}}},{key:"updateMonth",value:function(){var e=this.state,t=e.month,n=e.date,r=parseInt(t,10);if(!Object(o.isInteger)(r)||r<1||r>12)this.syncState(this.props);else{var a=n.clone().month(r-1);this.changeDate(a)}}},{key:"updateYear",value:function(){var e=this.state,t=e.year,n=e.date,r=parseInt(t,10);if(!Object(o.isInteger)(r)||r<0||r>9999)this.syncState(this.props);else{var a=n.clone().year(r);this.changeDate(a)}}},{key:"updateAmPm",value:function(e){var t=this;return function(){var n,r=t.state,o=r.am,a=r.date,i=r.hours;o!==e&&(n="PM"===e?a.clone().hours((parseInt(i,10)%12+12)%24):a.clone().hours(parseInt(i,10)%12),t.changeDate(n))}}},{key:"onChangeDay",value:function(e){this.setState({day:e.target.value})}},{key:"onChangeMonth",value:function(e){this.setState({month:e.target.value})}},{key:"onChangeYear",value:function(e){this.setState({year:e.target.value})}},{key:"onChangeHours",value:function(e){this.setState({hours:e.target.value})}},{key:"onChangeMinutes",value:function(e){var t=e.target.value;this.setState({minutes:""===t?"":("0"+t).slice(-2)})}},{key:"renderMonth",value:function(e){return Object(a.createElement)("div",{key:"render-month",className:"components-datetime__time-field components-datetime__time-field-month"},Object(a.createElement)("select",{"aria-label":Object(S.__)("Month"),className:"components-datetime__time-field-month-select",value:e,onChange:this.onChangeMonth,onBlur:this.updateMonth},Object(a.createElement)("option",{value:"01"},Object(S.__)("January")),Object(a.createElement)("option",{value:"02"},Object(S.__)("February")),Object(a.createElement)("option",{value:"03"},Object(S.__)("March")),Object(a.createElement)("option",{value:"04"},Object(S.__)("April")),Object(a.createElement)("option",{value:"05"},Object(S.__)("May")),Object(a.createElement)("option",{value:"06"},Object(S.__)("June")),Object(a.createElement)("option",{value:"07"},Object(S.__)("July")),Object(a.createElement)("option",{value:"08"},Object(S.__)("August")),Object(a.createElement)("option",{value:"09"},Object(S.__)("September")),Object(a.createElement)("option",{value:"10"},Object(S.__)("October")),Object(a.createElement)("option",{value:"11"},Object(S.__)("November")),Object(a.createElement)("option",{value:"12"},Object(S.__)("December"))))}},{key:"renderDay",value:function(e){return Object(a.createElement)("div",{key:"render-day",className:"components-datetime__time-field components-datetime__time-field-day"},Object(a.createElement)("input",{"aria-label":Object(S.__)("Day"),className:"components-datetime__time-field-day-input",type:"number",value:e,step:1,min:1,onChange:this.onChangeDay,onBlur:this.updateDay}))}},{key:"renderDayMonthFormat",value:function(e){var t=this.state,n=t.day,r=t.month,o=[this.renderDay(n),this.renderMonth(r)];return e?o:o.reverse()}},{key:"render",value:function(){var e=this.props.is12Hour,t=this.state,n=t.year,r=t.minutes,o=t.hours,i=t.am;return Object(a.createElement)("div",{className:b()("components-datetime__time")},Object(a.createElement)("fieldset",null,Object(a.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(S.__)("Date")),Object(a.createElement)("div",{className:"components-datetime__time-wrapper"},this.renderDayMonthFormat(e),Object(a.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-year"},Object(a.createElement)("input",{"aria-label":Object(S.__)("Year"),className:"components-datetime__time-field-year-input",type:"number",step:1,value:n,onChange:this.onChangeYear,onBlur:this.updateYear})))),Object(a.createElement)("fieldset",null,Object(a.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(S.__)("Time")),Object(a.createElement)("div",{className:"components-datetime__time-wrapper"},Object(a.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-time"},Object(a.createElement)("input",{"aria-label":Object(S.__)("Hours"),className:"components-datetime__time-field-hours-input",type:"number",step:1,min:this.getMinHours(),max:this.getMaxHours(),value:o,onChange:this.onChangeHours,onBlur:this.updateHours}),Object(a.createElement)("span",{className:"components-datetime__time-separator","aria-hidden":"true"},":"),Object(a.createElement)("input",{"aria-label":Object(S.__)("Minutes"),className:"components-datetime__time-field-minutes-input",type:"number",min:0,max:59,value:r,onChange:this.onChangeMinutes,onBlur:this.updateMinutes})),e&&Object(a.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-am-pm"},Object(a.createElement)(E,{"aria-pressed":"AM"===i,isDefault:!0,className:"components-datetime__time-am-button",isToggled:"AM"===i,onClick:this.updateAmPm("AM")},Object(S.__)("AM")),Object(a.createElement)(E,{"aria-pressed":"PM"===i,isDefault:!0,className:"components-datetime__time-pm-button",isToggled:"PM"===i,onClick:this.updateAmPm("PM")},Object(S.__)("PM"))))))}}]),t}(a.Component),Rr=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).state={calendarHelpIsVisible:!1},e.onClickDescriptionToggle=e.onClickDescriptionToggle.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"onClickDescriptionToggle",value:function(){this.setState({calendarHelpIsVisible:!this.state.calendarHelpIsVisible})}},{key:"render",value:function(){var e=this.props,t=e.currentDate,n=e.is12Hour,r=e.isInvalidDate,o=e.onChange;return Object(a.createElement)("div",{className:"components-datetime"},!this.state.calendarHelpIsVisible&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Ar,{currentTime:t,onChange:o,is12Hour:n}),Object(a.createElement)(Nr,{currentDate:t,onChange:o,isInvalidDate:r})),this.state.calendarHelpIsVisible&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:"components-datetime__calendar-help"},Object(a.createElement)("h4",null,Object(S.__)("Click to Select")),Object(a.createElement)("ul",null,Object(a.createElement)("li",null,Object(S.__)("Click the right or left arrows to select other months in the past or the future.")),Object(a.createElement)("li",null,Object(S.__)("Click the desired day to select it."))),Object(a.createElement)("h4",null,Object(S.__)("Navigating with a keyboard")),Object(a.createElement)("ul",null,Object(a.createElement)("li",null,Object(a.createElement)("abbr",{"aria-label":Object(S._x)("Enter","keyboard button")},"↵")," ",Object(a.createElement)("span",null,Object(S.__)("Select the date in focus."))),Object(a.createElement)("li",null,Object(a.createElement)("abbr",{"aria-label":Object(S.__)("Left and Right Arrows")},"←/→")," ",Object(S.__)("Move backward (left) or forward (right) by one day.")),Object(a.createElement)("li",null,Object(a.createElement)("abbr",{"aria-label":Object(S.__)("Up and Down Arrows")},"↑/↓")," ",Object(S.__)("Move backward (up) or forward (down) by one week.")),Object(a.createElement)("li",null,Object(a.createElement)("abbr",{"aria-label":Object(S.__)("Page Up and Page Down")},Object(S.__)("PgUp/PgDn"))," ",Object(S.__)("Move backward (PgUp) or forward (PgDn) by one month.")),Object(a.createElement)("li",null,Object(a.createElement)("abbr",{"aria-label":Object(S.__)("Home and End")},Object(S.__)("Home/End"))," ",Object(S.__)("Go to the first (home) or last (end) day of a week."))),Object(a.createElement)(E,{isSmall:!0,onClick:this.onClickDescriptionToggle},Object(S.__)("Close")))),!this.state.calendarHelpIsVisible&&Object(a.createElement)(E,{className:"components-datetime__date-help-button",isLink:!0,onClick:this.onClickDescriptionToggle},Object(S.__)("Calendar Help")))}}]),t}(a.Component);var Hr=Object(j.withInstanceId)((function(e){var t=e.help,n=e.instanceId,r=e.label,i=e.multiple,s=void 0!==i&&i,c=e.onChange,l=e.options,u=void 0===l?[]:l,d=e.className,f=e.hideLabelFromVision,h=Object(M.a)(e,["help","instanceId","label","multiple","onChange","options","className","hideLabelFromVision"]),p="inspector-select-control-".concat(n);return!Object(o.isEmpty)(u)&&Object(a.createElement)(Ce,{label:r,hideLabelFromVision:f,id:p,help:t,className:d},Object(a.createElement)("select",Object(P.a)({id:p,className:"components-select-control__input",onChange:function(e){if(s){var t=Object(w.a)(e.target.options).filter((function(e){return e.selected})).map((function(e){return e.value}));c(t)}else c(e.target.value)},"aria-describedby":t?"".concat(p,"__help"):void 0,multiple:s},h),u.map((function(e,t){return Object(a.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value,disabled:e.disabled},e.label)}))))})),Lr=function(e,t){return e.find((function(e){return t===e.slug}))},Fr=[{name:Object(S.__)("None"),slug:"none"},{name:Object(S.__)("Small"),slug:"small"},{name:Object(S.__)("Medium"),slug:"medium"},{name:Object(S.__)("Large"),slug:"large"},{name:Object(S.__)("Extra Large"),slug:"xlarge"}];var Vr=function(e){var t,n,r=e.label,i=e.value,s=e.sizes,c=void 0===s?Fr:s,l=e.icon,u=e.onChange,d=e.className,f=void 0===d?"":d,h=Object(a.createElement)(a.Fragment,null,l&&Object(a.createElement)(X,{icon:l}),r);return Object(a.createElement)(Hr,{className:b()(f,"block-editor-dimension-control"),label:h,hideLabelFromVision:!1,value:i,onChange:function(e){var t=Lr(c,e);t&&i!==t.slug?Object(o.isFunction)(u)&&u(t.slug):u(void 0)},options:(t=c,n=t.map((function(e){return{label:e.name,value:e.slug}})),[{label:Object(S.__)("Default"),value:""}].concat(n))})},Br=Object(a.createContext)(!1),Kr=Br.Consumer,Wr=Br.Provider,Ur=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"],$r=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).bindNode=e.bindNode.bind(Object(O.a)(e)),e.disable=e.disable.bind(Object(O.a)(e)),e.debouncedDisable=Object(o.debounce)(e.disable,{leading:!0}),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidMount",value:function(){this.disable(),this.observer=new window.MutationObserver(this.debouncedDisable),this.observer.observe(this.node,{childList:!0,attributes:!0,subtree:!0})}},{key:"componentWillUnmount",value:function(){this.observer.disconnect(),this.debouncedDisable.cancel()}},{key:"bindNode",value:function(e){this.node=e}},{key:"disable",value:function(){x.focus.focusable.find(this.node).forEach((function(e){Object(o.includes)(Ur,e.nodeName)&&e.setAttribute("disabled",""),e.hasAttribute("tabindex")&&e.removeAttribute("tabindex"),e.hasAttribute("contenteditable")&&e.setAttribute("contenteditable","false")}))}},{key:"render",value:function(){var e=this.props,t=e.className,n=Object(M.a)(e,["className"]);return Object(a.createElement)(Wr,{value:!0},Object(a.createElement)("div",Object(P.a)({ref:this.bindNode,className:b()(t,"components-disabled")},n),this.props.children))}}]),t}(a.Component);$r.Consumer=Kr;var Gr=$r,qr=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).onDragStart=e.onDragStart.bind(Object(O.a)(e)),e.onDragOver=e.onDragOver.bind(Object(O.a)(e)),e.onDragEnd=e.onDragEnd.bind(Object(O.a)(e)),e.resetDragState=e.resetDragState.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentWillUnmount",value:function(){this.resetDragState()}},{key:"onDragEnd",value:function(e){var t=this.props.onDragEnd,n=void 0===t?o.noop:t;e.preventDefault(),this.resetDragState(),this.props.setTimeout(n)}},{key:"onDragOver",value:function(e){this.cloneWrapper.style.top="".concat(parseInt(this.cloneWrapper.style.top,10)+e.clientY-this.cursorTop,"px"),this.cloneWrapper.style.left="".concat(parseInt(this.cloneWrapper.style.left,10)+e.clientX-this.cursorLeft,"px"),this.cursorLeft=e.clientX,this.cursorTop=e.clientY}},{key:"onDragStart",value:function(e){var t=this.props,n=t.elementId,r=t.transferData,a=t.onDragStart,i=void 0===a?o.noop:a,s=document.getElementById(n);if(s){if("function"==typeof e.dataTransfer.setDragImage){var c=document.createElement("div");c.id="drag-image-".concat(n),c.classList.add("components-draggable__invisible-drag-image"),document.body.appendChild(c),e.dataTransfer.setDragImage(c,0,0),this.props.setTimeout((function(){document.body.removeChild(c)}))}e.dataTransfer.setData("text",JSON.stringify(r));var l=s.getBoundingClientRect(),u=s.parentNode,d=parseInt(l.top,10),f=parseInt(l.left,10),h=s.cloneNode(!0);h.id="clone-".concat(n),this.cloneWrapper=document.createElement("div"),this.cloneWrapper.classList.add("components-draggable__clone"),this.cloneWrapper.style.width="".concat(l.width+40,"px"),l.height>700?(this.cloneWrapper.style.transform="scale(0.5)",this.cloneWrapper.style.transformOrigin="top left",this.cloneWrapper.style.top="".concat(e.clientY-100,"px"),this.cloneWrapper.style.left="".concat(e.clientX,"px")):(this.cloneWrapper.style.top="".concat(d-20,"px"),this.cloneWrapper.style.left="".concat(f-20,"px")),Array.from(h.querySelectorAll("iframe")).forEach((function(e){return e.parentNode.removeChild(e)})),this.cloneWrapper.appendChild(h),u.appendChild(this.cloneWrapper),this.cursorLeft=e.clientX,this.cursorTop=e.clientY,document.body.classList.add("is-dragging-components-draggable"),document.addEventListener("dragover",this.onDragOver),this.props.setTimeout(i)}else e.preventDefault()}},{key:"resetDragState",value:function(){document.removeEventListener("dragover",this.onDragOver),this.cloneWrapper&&this.cloneWrapper.parentNode&&(this.cloneWrapper.parentNode.removeChild(this.cloneWrapper),this.cloneWrapper=null),document.body.classList.remove("is-dragging-components-draggable")}},{key:"render",value:function(){return(0,this.props.children)({onDraggableStart:this.onDragStart,onDraggableEnd:this.onDragEnd})}}]),t}(a.Component),Yr=Object(j.withSafeTimeout)(qr),Zr=n(45),Xr=n.n(Zr),Qr=Object(a.createContext)({addDropZone:function(){},removeDropZone:function(){}}),Jr=Qr.Provider,eo=Qr.Consumer,to=function(e){var t=e.dataTransfer;if(t){if(Object(o.includes)(t.types,"Files"))return"file";if(Object(o.includes)(t.types,"text/html"))return"html"}return"default"},no=function(e,t){return"file"===e&&t.onFilesDrop||"html"===e&&t.onHTMLDrop||"default"===e&&t.onDrop},ro=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).onDragOver=e.onDragOver.bind(Object(O.a)(e)),e.onDrop=e.onDrop.bind(Object(O.a)(e)),e.addDropZone=e.addDropZone.bind(Object(O.a)(e)),e.removeDropZone=e.removeDropZone.bind(Object(O.a)(e)),e.resetDragState=e.resetDragState.bind(Object(O.a)(e)),e.toggleDraggingOverDocument=Object(o.throttle)(e.toggleDraggingOverDocument.bind(Object(O.a)(e)),200),e.dropZones=[],e.dropZoneCallbacks={addDropZone:e.addDropZone,removeDropZone:e.removeDropZone},e.state={hoveredDropZone:-1,isDraggingOverDocument:!1,position:null},e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("dragover",this.onDragOver),window.addEventListener("mouseup",this.resetDragState)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragover",this.onDragOver),window.removeEventListener("mouseup",this.resetDragState)}},{key:"addDropZone",value:function(e){this.dropZones.push(e)}},{key:"removeDropZone",value:function(e){this.dropZones=Object(o.filter)(this.dropZones,(function(t){return t!==e}))}},{key:"resetDragState",value:function(){this.toggleDraggingOverDocument.cancel();var e=this.state,t=e.isDraggingOverDocument,n=e.hoveredDropZone;(t||-1!==n)&&(this.setState({hoveredDropZone:-1,isDraggingOverDocument:!1,position:null}),this.dropZones.forEach((function(e){return e.setState({isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null})})))}},{key:"toggleDraggingOverDocument",value:function(e,t){var n=this,r=window.CustomEvent&&e instanceof window.CustomEvent?e.detail:e,a=Object(o.filter)(this.dropZones,(function(e){return no(t,e)&&function(e,t,n){var r=e.getBoundingClientRect();return r.bottom!==r.top&&r.left!==r.right&&(t>=r.left&&t<=r.right&&n>=r.top&&n<=r.bottom)}(e.element,r.clientX,r.clientY)})),i=Object(o.find)(a,(function(e){return!Object(o.some)(a,(function(t){return t!==e&&e.element.parentElement.contains(t.element)}))})),s=this.dropZones.indexOf(i),c=null;if(i){var l=i.element.getBoundingClientRect();c={x:r.clientX-l.left-1&&e?{index:n,target:e,focusables:t}:null}},{key:"getFocusableIndex",value:function(e,t){var n=e.indexOf(t);if(-1!==n)return n}},{key:"onKeyDown",value:function(e){this.props.onKeyDown&&this.props.onKeyDown(e);var t=this.getFocusableContext,n=this.props,r=n.cycle,a=void 0===r||r,i=n.eventToOffset,s=n.onNavigate,c=void 0===s?o.noop:s,l=n.stopNavigationEvents,u=i(e);if(void 0!==u&&l&&(e.stopImmediatePropagation(),"menuitem"===e.target.getAttribute("role")&&e.preventDefault()),u){var d=t(document.activeElement);if(d){var f=d.index,h=d.focusables,p=a?function(e,t,n){var r=e+n;return r<0?t+r:r>=t?r-t:r}(f,h.length,u):f+u;p>=0&&p0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object(r.a)({},e,t);return t.className&&e.className&&(n.className=b()(t.className,e.className)),n}var fo=function(e){var t,n=e.children,r=e.className,i=e.controls,s=e.hasArrowIndicator,c=void 0!==s&&s,l=e.icon,u=void 0===l?"menu":l,d=e.label,f=e.popoverProps,h=e.toggleProps,p=e.menuProps,v=e.menuLabel,m=e.position;if(v&&I()("`menuLabel` prop in `DropdownComponent`",{alternative:"`menuProps` object and its `aria-label` property",plugin:"Gutenberg"}),m&&I()("`position` prop in `DropdownComponent`",{alternative:"`popoverProps` object and its `position` property",plugin:"Gutenberg"}),Object(o.isEmpty)(i)&&!Object(o.isFunction)(n))return null;Object(o.isEmpty)(i)||(t=i,Array.isArray(t[0])||(t=[t]));var y=uo({className:"components-dropdown-menu__popover",position:m},f);return Object(a.createElement)(Sn,{className:b()("components-dropdown-menu",r),popoverProps:y,renderToggle:function(e){var t=e.isOpen,n=e.onToggle,r=uo({className:b()("components-dropdown-menu__toggle",{"is-opened":t}),tooltip:d},h);return Object(a.createElement)(Q,Object(P.a)({},r,{icon:u,onClick:function(e){n(e),r.onClick&&r.onClick(e)},onKeyDown:function(e){!function(e){t||e.keyCode!==D.DOWN||(e.preventDefault(),e.stopPropagation(),n())}(e),r.onKeyDown&&r.onKeyDown(e)},"aria-haspopup":"true","aria-expanded":t,label:d}),(!u||c)&&Object(a.createElement)("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(e){var r=uo({"aria-label":v||d,className:"components-dropdown-menu__menu"},p);return Object(a.createElement)(lo,Object(P.a)({},r,{role:"menu"}),Object(o.isFunction)(n)?n(e):null,Object(o.flatMap)(t,(function(t,n){return t.map((function(t,r){return Object(a.createElement)(Q,{key:[n,r].join(),onClick:function(n){n.stopPropagation(),e.onClose(),t.onClick&&t.onClick()},className:b()("components-dropdown-menu__menu-item",{"has-separator":n>0&&0===r,"is-active":t.isActive}),icon:t.icon,role:"menuitem",disabled:t.isDisabled},t.title)}))})))}})};var ho=Object(a.forwardRef)((function(e,t){var n=e.href,r=e.children,i=e.className,s=e.rel,c=void 0===s?"":s,l=Object(M.a)(e,["href","children","className","rel"]);c=Object(o.uniq)(Object(o.compact)([].concat(Object(w.a)(c.split(" ")),["external","noreferrer","noopener"]))).join(" ");var u=b()("components-external-link",i);return(Object(a.createElement)("a",Object(P.a)({},l,{className:u,href:n,target:"_blank",rel:c,ref:t}),r,Object(a.createElement)(Se,{as:"span"},Object(S.__)("(opens in a new tab)")),Object(a.createElement)(Z,{icon:"external",className:"components-external-link__icon"})))})),po=function(e){function t(e){var n;return Object(m.a)(this,t),(n=Object(y.a)(this,Object(g.a)(t).call(this,e))).onMouseMove=n.onMouseMove.bind(Object(O.a)(n)),n.state={isDragging:!1,bounds:{},percentages:e.value},n.containerRef=Object(a.createRef)(),n.imageRef=Object(a.createRef)(),n.horizontalPositionChanged=n.horizontalPositionChanged.bind(Object(O.a)(n)),n.verticalPositionChanged=n.verticalPositionChanged.bind(Object(O.a)(n)),n.onLoad=n.onLoad.bind(Object(O.a)(n)),n}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidUpdate",value:function(e){e.url!==this.props.url&&this.setState({isDragging:!1})}},{key:"calculateBounds",value:function(){var e={top:0,left:0,bottom:0,right:0,width:0,height:0};if(!this.imageRef.current)return e;var t=this.imageRef.current.clientWidth,n=this.imageRef.current.clientHeight,r=this.pickerDimensions(),o=r.width/t,a=r.height/n;return a>=o?(e.width=e.right=r.width,e.height=n*o,e.top=(r.height-e.height)/2,e.bottom=e.top+e.height):(e.height=e.bottom=r.height,e.width=t*a,e.left=(r.width-e.width)/2,e.right=e.left+e.width),e}},{key:"onLoad",value:function(){this.setState({bounds:this.calculateBounds()})}},{key:"onMouseMove",value:function(e){var t=this.state,n=t.isDragging,r=t.bounds,o=this.props.onChange;if(n){var a=this.pickerDimensions(),i={left:e.pageX-a.left,top:e.pageY-a.top},s=Math.max(r.left,Math.min(i.left,r.right)),c=Math.max(r.top,Math.min(i.top,r.bottom)),l={x:((s-r.left)/(a.width-2*r.left)).toFixed(2),y:((c-r.top)/(a.height-2*r.top)).toFixed(2)};this.setState({percentages:l},(function(){o({x:this.state.percentages.x,y:this.state.percentages.y})}))}}},{key:"fractionToPercentage",value:function(e){return Math.round(100*e)}},{key:"horizontalPositionChanged",value:function(e){this.positionChangeFromTextControl("x",e.target.value)}},{key:"verticalPositionChanged",value:function(e){this.positionChangeFromTextControl("y",e.target.value)}},{key:"positionChangeFromTextControl",value:function(e,t){var n=this.props.onChange,r=this.state.percentages,o=Math.max(Math.min(parseInt(t),100),0);r[e]=(o?o/100:0).toFixed(2),this.setState({percentages:r},(function(){n({x:this.state.percentages.x,y:this.state.percentages.y})}))}},{key:"pickerDimensions",value:function(){return this.containerRef.current?{width:this.containerRef.current.clientWidth,height:this.containerRef.current.clientHeight,top:this.containerRef.current.getBoundingClientRect().top+document.body.scrollTop,left:this.containerRef.current.getBoundingClientRect().left}:{width:0,height:0,left:0,top:0}}},{key:"handleFocusOutside",value:function(){this.setState({isDragging:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,r=t.url,o=t.value,i=t.label,s=t.help,l=t.className,u=this.state,f=u.bounds,h=u.isDragging,p=u.percentages,v=this.pickerDimensions(),m={left:o.x*(v.width-2*f.left)+f.left,top:o.y*(v.height-2*f.top)+f.top},y={left:"".concat(m.left,"px"),top:"".concat(m.top,"px")},g=b()("components-focal-point-picker__icon_container",h?"is-dragging":null),O="inspector-focal-point-picker-control-".concat(n),k="inspector-focal-point-picker-control-horizontal-position-".concat(n),_="inspector-focal-point-picker-control-vertical-position-".concat(n);return Object(a.createElement)(Ce,{label:i,id:O,help:s,className:l},Object(a.createElement)("div",{className:"components-focal-point-picker-wrapper"},Object(a.createElement)("div",{className:"components-focal-point-picker",onMouseDown:function(){return e.setState({isDragging:!0})},onDragStart:function(){return e.setState({isDragging:!0})},onMouseUp:function(){return e.setState({isDragging:!1})},onDrop:function(){return e.setState({isDragging:!1})},onMouseMove:this.onMouseMove,ref:this.containerRef,role:"button",tabIndex:"-1"},Object(a.createElement)("img",{alt:"Dimensions helper",onLoad:this.onLoad,ref:this.imageRef,src:r,draggable:"false"}),Object(a.createElement)("div",{className:g,style:y},Object(a.createElement)(d,{className:"components-focal-point-picker__icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},Object(a.createElement)(c,{className:"components-focal-point-picker__icon-outline",d:"M15 1C7.3 1 1 7.3 1 15s6.3 14 14 14 14-6.3 14-14S22.7 1 15 1zm0 22c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"}),Object(a.createElement)(c,{className:"components-focal-point-picker__icon-fill",d:"M15 3C8.4 3 3 8.4 3 15s5.4 12 12 12 12-5.4 12-12S21.6 3 15 3zm0 22C9.5 25 5 20.5 5 15S9.5 5 15 5s10 4.5 10 10-4.5 10-10 10z"}))))),Object(a.createElement)("div",{className:"components-focal-point-picker_position-display-container"},Object(a.createElement)(Ce,{label:Object(S.__)("Horizontal Pos."),id:k},Object(a.createElement)("input",{className:"components-text-control__input",id:k,max:100,min:0,onChange:this.horizontalPositionChanged,type:"number",value:this.fractionToPercentage(p.x)}),Object(a.createElement)("span",null,"%")),Object(a.createElement)(Ce,{label:Object(S.__)("Vertical Pos."),id:_},Object(a.createElement)("input",{className:"components-text-control__input",id:_,max:100,min:0,onChange:this.verticalPositionChanged,type:"number",value:this.fractionToPercentage(p.y)}),Object(a.createElement)("span",null,"%"))))}}]),t}(a.Component);po.defaultProps={url:null,value:{x:.5,y:.5},onChange:function(){}};var bo=Object(j.compose)([j.withInstanceId,W])(po),vo=window.FocusEvent,mo=function(e){function t(e){var n;return Object(m.a)(this,t),(n=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).checkFocus=n.checkFocus.bind(Object(O.a)(n)),n.node=e.iframeRef||Object(a.createRef)(),n}return Object(_.a)(t,e),Object(k.a)(t,[{key:"checkFocus",value:function(){var e=this.node.current;if(document.activeElement===e){var t=new vo("focus",{bubbles:!0});e.dispatchEvent(t);var n=this.props.onFocus;n&&n(t)}}},{key:"render",value:function(){return Object(a.createElement)("iframe",Object(P.a)({ref:this.node},Object(o.omit)(this.props,["iframeRef","onFocus"])))}}]),t}(a.Component),yo=Object(j.withGlobalEvents)({blur:"checkFocus"})(mo);var go=Object(j.compose)([j.withInstanceId,Object(j.withState)({currentInput:null})])((function(e){var t=e.className,n=e.currentInput,r=e.label,i=e.value,s=e.instanceId,c=e.onChange,l=e.beforeIcon,u=e.afterIcon,d=e.help,f=e.allowReset,h=e.initialPosition,p=e.min,v=e.max,m=e.setState,y=Object(M.a)(e,["className","currentInput","label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset","initialPosition","min","max","setState"]),g="inspector-range-control-".concat(s),O=null===n?i:n,k=function(){null!==n&&m({currentInput:null})},_=function(e){var t=e.target.value;e.target.checkValidity()?(k(),c(""===t?void 0:parseFloat(t))):m({currentInput:t})},w=Object(o.isFinite)(O)?O:h||"";return Object(a.createElement)(Ce,{label:r,id:g,help:d,className:b()("components-range-control",t)},l&&Object(a.createElement)(Z,{icon:l}),Object(a.createElement)("input",Object(P.a)({className:"components-range-control__slider",id:g,type:"range",value:w,onChange:_,"aria-describedby":d?g+"__help":void 0,min:p,max:v},y)),u&&Object(a.createElement)(Z,{icon:u}),Object(a.createElement)("input",Object(P.a)({className:"components-range-control__number",type:"number",onChange:_,"aria-label":r,value:O,min:p,max:v,onBlur:k},y)),f&&Object(a.createElement)(E,{onClick:function(){k(),c()},disabled:void 0===i,isSmall:!0,isDefault:!0,className:"components-range-control__reset"},Object(S.__)("Reset")))}));function Oo(e,t){if(t){var n=e.find((function(e){return e.size===t}));return n?n.slug:"custom"}return"normal"}var ko=Object(j.withInstanceId)((function(e){var t=e.fallbackFontSize,n=e.fontSizes,r=void 0===n?[]:n,o=e.disableCustomFontSizes,i=void 0!==o&&o,s=e.onChange,c=e.value,l=e.withSlider,u=void 0!==l&&l,d=e.instanceId,f=Object(a.useState)(Oo(r,c)),p=Object(h.a)(f,2),b=p[0],v=p[1];if(i&&!r.length)return null;var m=function(e,t){return t||(e=[].concat(Object(w.a)(e),[{slug:"custom",name:Object(S.__)("Custom")}])),e.map((function(e){return{key:e.slug,name:e.name,style:{fontSize:e.size}}}))}(r,i),y="components-range-control__number#".concat(d);return Object(a.createElement)("fieldset",{className:"components-font-size-picker"},Object(a.createElement)("legend",{className:"screen-reader-text"},Object(S.__)("Font Size")),Object(a.createElement)("div",{className:"components-font-size-picker__controls"},r.length>0&&Object(a.createElement)(xr,{className:"components-font-size-picker__select",label:Object(S.__)("Preset Size"),options:m,value:m.find((function(e){return e.key===b}))||m[0],onChange:function(e){var t=e.selectedItem;v(t.key),s(t.style&&t.style.fontSize)}}),!u&&!i&&Object(a.createElement)("div",{className:"components-range-control__number-container"},Object(a.createElement)("label",{htmlFor:y},Object(S.__)("Custom")),Object(a.createElement)("input",{id:y,className:"components-range-control__number",type:"number",onChange:function(e){var t=e.target.value;v(Oo(r,Number(t))),s(""!==t?Number(t):void 0)},"aria-label":Object(S.__)("Custom"),value:c||""})),Object(a.createElement)(E,{className:"components-color-palette__clear",disabled:void 0===c,onClick:function(){s(void 0),v(Oo(r,void 0))},isSmall:!0,isDefault:!0},Object(S.__)("Reset"))),u&&Object(a.createElement)(go,{className:"components-font-size-picker__custom-input",label:Object(S.__)("Custom Size"),value:c||"",initialPosition:t,onChange:function(e){s(e),v(Oo(r,e))},min:12,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}))})),_o=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).openFileDialog=e.openFileDialog.bind(Object(O.a)(e)),e.bindInput=e.bindInput.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"openFileDialog",value:function(){this.input.click()}},{key:"bindInput",value:function(e){this.input=e}},{key:"render",value:function(){var e=this.props,t=e.accept,n=e.children,r=e.icon,o=void 0===r?"upload":r,i=e.multiple,s=void 0!==i&&i,c=e.onChange,l=e.render,u=Object(M.a)(e,["accept","children","icon","multiple","onChange","render"]),d=l?l({openFileDialog:this.openFileDialog}):Object(a.createElement)(Q,Object(P.a)({icon:o,onClick:this.openFileDialog},u),n);return Object(a.createElement)("div",{className:"components-form-file-upload"},d,Object(a.createElement)("input",{type:"file",ref:this.bindInput,multiple:s,style:{display:"none"},accept:t,onChange:c}))}}]),t}(a.Component);var wo=function(e){var t=e.className,n=e.checked,r=e.id,i=e.onChange,s=void 0===i?o.noop:i,l=Object(M.a)(e,["className","checked","id","onChange"]),u=b()("components-form-toggle",t,{"is-checked":n});return Object(a.createElement)("span",{className:u},Object(a.createElement)("input",Object(P.a)({className:"components-form-toggle__input",id:r,type:"checkbox",checked:n,onChange:s},l)),Object(a.createElement)("span",{className:"components-form-toggle__track"}),Object(a.createElement)("span",{className:"components-form-toggle__thumb"}),n?Object(a.createElement)(d,{className:"components-form-toggle__on",width:"2",height:"6",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2 6"},Object(a.createElement)(c,{d:"M0 0h2v6H0z"})):Object(a.createElement)(d,{className:"components-form-toggle__off",width:"6",height:"6","aria-hidden":"true",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 6"},Object(a.createElement)(c,{d:"M3 1.5c.8 0 1.5.7 1.5 1.5S3.8 4.5 3 4.5 1.5 3.8 1.5 3 2.2 1.5 3 1.5M3 0C1.3 0 0 1.3 0 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3z"})))},Do=n(31);var So=Object(j.withInstanceId)((function(e){var t=e.value,n=e.status,r=e.title,i=e.displayTransform,s=e.isBorderless,c=void 0!==s&&s,l=e.disabled,u=void 0!==l&&l,d=e.onClickRemove,f=void 0===d?o.noop:d,h=e.onMouseEnter,p=e.onMouseLeave,v=e.messages,m=e.termPosition,y=e.termsCount,g=e.instanceId,O=b()("components-form-token-field__token",{"is-error":"error"===n,"is-success":"success"===n,"is-validating":"validating"===n,"is-borderless":c,"is-disabled":u}),k=i(t),_=Object(S.sprintf)(Object(S.__)("%1$s (%2$s of %3$s)"),k,m,y);return Object(a.createElement)("span",{className:O,onMouseEnter:h,onMouseLeave:p,title:r},Object(a.createElement)("span",{className:"components-form-token-field__token-text",id:"components-form-token-field__token-text-".concat(g)},Object(a.createElement)(Se,{as:"span"},_),Object(a.createElement)("span",{"aria-hidden":"true"},k)),Object(a.createElement)(Q,{className:"components-form-token-field__remove-token",icon:"dismiss",onClick:!u&&function(){return f({value:t})},label:v.remove,"aria-describedby":"components-form-token-field__token-text-".concat(g)}))})),jo=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(O.a)(e)),e.bindInput=e.bindInput.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"focus",value:function(){this.input.focus()}},{key:"hasFocus",value:function(){return this.input===document.activeElement}},{key:"bindInput",value:function(e){this.input=e}},{key:"onChange",value:function(e){this.props.onChange({value:e.target.value})}},{key:"render",value:function(){var e=this.props,t=e.value,n=e.isExpanded,r=e.instanceId,o=e.selectedSuggestionIndex,i=Object(M.a)(e,["value","isExpanded","instanceId","selectedSuggestionIndex"]),s=t.length+1;return Object(a.createElement)("input",Object(P.a)({ref:this.bindInput,id:"components-form-token-input-".concat(r),type:"text"},i,{value:t,onChange:this.onChange,size:s,className:"components-form-token-field__input",role:"combobox","aria-expanded":n,"aria-autocomplete":"list","aria-owns":n?"components-form-token-suggestions-".concat(r):void 0,"aria-activedescendant":-1!==o?"components-form-token-suggestions-".concat(r,"-").concat(o):void 0,"aria-describedby":"components-form-token-suggestions-howto-".concat(r)}))}}]),t}(a.Component),Co=n(67),Mo=n.n(Co),Eo=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).handleMouseDown=e.handleMouseDown.bind(Object(O.a)(e)),e.bindList=e.bindList.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidUpdate",value:function(){var e=this;this.props.selectedIndex>-1&&this.props.scrollIntoView&&(this.scrollingIntoView=!0,Mo()(this.list.children[this.props.selectedIndex],this.list,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100))}},{key:"bindList",value:function(e){this.list=e}},{key:"handleHover",value:function(e){var t=this;return function(){t.scrollingIntoView||t.props.onHover(e)}}},{key:"handleClick",value:function(e){var t=this;return function(){t.props.onSelect(e)}}},{key:"handleMouseDown",value:function(e){e.preventDefault()}},{key:"computeSuggestionMatch",value:function(e){var t=this.props.displayTransform(this.props.match||"").toLocaleLowerCase();if(0===t.length)return null;var n=(e=this.props.displayTransform(e)).toLocaleLowerCase().indexOf(t);return{suggestionBeforeMatch:e.substring(0,n),suggestionMatch:e.substring(n,n+t.length),suggestionAfterMatch:e.substring(n+t.length)}}},{key:"render",value:function(){var e=this;return Object(a.createElement)("ul",{ref:this.bindList,className:"components-form-token-field__suggestions-list",id:"components-form-token-suggestions-".concat(this.props.instanceId),role:"listbox"},Object(o.map)(this.props.suggestions,(function(t,n){var r=e.computeSuggestionMatch(t),o=b()("components-form-token-field__suggestion",{"is-selected":n===e.props.selectedIndex});return Object(a.createElement)("li",{id:"components-form-token-suggestions-".concat(e.props.instanceId,"-").concat(n),role:"option",className:o,key:t,onMouseDown:e.handleMouseDown,onClick:e.handleClick(t),onMouseEnter:e.handleHover(t),"aria-selected":n===e.props.selectedIndex},r?Object(a.createElement)("span",{"aria-label":e.props.displayTransform(t)},r.suggestionBeforeMatch,Object(a.createElement)("strong",{className:"components-form-token-field__suggestion-match"},r.suggestionMatch),r.suggestionAfterMatch):e.props.displayTransform(t))})))}}]),t}(a.Component);Eo.defaultProps={match:"",onHover:function(){},onSelect:function(){},suggestions:Object.freeze([])};var Po=Object(j.withSafeTimeout)(Eo),xo={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1},zo=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).state=xo,e.onKeyDown=e.onKeyDown.bind(Object(O.a)(e)),e.onKeyPress=e.onKeyPress.bind(Object(O.a)(e)),e.onFocus=e.onFocus.bind(Object(O.a)(e)),e.onBlur=e.onBlur.bind(Object(O.a)(e)),e.deleteTokenBeforeInput=e.deleteTokenBeforeInput.bind(Object(O.a)(e)),e.deleteTokenAfterInput=e.deleteTokenAfterInput.bind(Object(O.a)(e)),e.addCurrentToken=e.addCurrentToken.bind(Object(O.a)(e)),e.onContainerTouched=e.onContainerTouched.bind(Object(O.a)(e)),e.renderToken=e.renderToken.bind(Object(O.a)(e)),e.onTokenClickRemove=e.onTokenClickRemove.bind(Object(O.a)(e)),e.onSuggestionHovered=e.onSuggestionHovered.bind(Object(O.a)(e)),e.onSuggestionSelected=e.onSuggestionSelected.bind(Object(O.a)(e)),e.onInputChange=e.onInputChange.bind(Object(O.a)(e)),e.bindInput=e.bindInput.bind(Object(O.a)(e)),e.bindTokensAndInput=e.bindTokensAndInput.bind(Object(O.a)(e)),e.updateSuggestions=e.updateSuggestions.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidUpdate",value:function(e){this.state.isActive&&!this.input.hasFocus()&&this.input.focus();var t=this.props,n=t.suggestions,r=t.value,o=!Xr()(n,e.suggestions);(o||r!==e.value)&&this.updateSuggestions(o)}},{key:"bindInput",value:function(e){this.input=e}},{key:"bindTokensAndInput",value:function(e){this.tokensAndInput=e}},{key:"onFocus",value:function(e){this.input.hasFocus()||e.target===this.tokensAndInput?this.setState({isActive:!0}):this.setState({isActive:!1}),"function"==typeof this.props.onFocus&&this.props.onFocus(e)}},{key:"onBlur",value:function(){this.inputHasValidValue()?this.setState({isActive:!1}):this.setState(xo)}},{key:"onKeyDown",value:function(e){var t=!1;switch(e.keyCode){case D.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case D.ENTER:t=this.addCurrentToken();break;case D.LEFT:t=this.handleLeftArrowKey();break;case D.UP:t=this.handleUpArrowKey();break;case D.RIGHT:t=this.handleRightArrowKey();break;case D.DOWN:t=this.handleDownArrowKey();break;case D.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case D.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case D.ESCAPE:t=this.handleEscapeKey(e),e.stopPropagation()}t&&e.preventDefault()}},{key:"onKeyPress",value:function(e){var t=!1;switch(e.charCode){case 44:t=this.handleCommaKey()}t&&e.preventDefault()}},{key:"onContainerTouched",value:function(e){e.target===this.tokensAndInput&&this.state.isActive&&e.preventDefault()}},{key:"onTokenClickRemove",value:function(e){this.deleteToken(e.value),this.input.focus()}},{key:"onSuggestionHovered",value:function(e){var t=this.getMatchingSuggestions().indexOf(e);t>=0&&this.setState({selectedSuggestionIndex:t,selectedSuggestionScroll:!1})}},{key:"onSuggestionSelected",value:function(e){this.addNewToken(e)}},{key:"onInputChange",value:function(e){var t=e.value,n=this.props.tokenizeOnSpace?/[ ,\t]+/:/[,\t]+/,r=t.split(n),a=Object(o.last)(r)||"";r.length>1&&this.addNewTokens(r.slice(0,-1)),this.setState({incompleteTokenValue:a},this.updateSuggestions),this.props.onInputChange(a)}},{key:"handleDeleteKey",value:function(e){var t=!1;return this.input.hasFocus()&&this.isInputEmpty()&&(e(),t=!0),t}},{key:"handleLeftArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputBeforePreviousToken(),e=!0),e}},{key:"handleRightArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputAfterNextToken(),e=!0),e}},{key:"handleUpArrowKey",value:function(){var e=this;return this.setState((function(t,n){return{selectedSuggestionIndex:(0===t.selectedSuggestionIndex?e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length:t.selectedSuggestionIndex)-1,selectedSuggestionScroll:!0}})),!0}},{key:"handleDownArrowKey",value:function(){var e=this;return this.setState((function(t,n){return{selectedSuggestionIndex:(t.selectedSuggestionIndex+1)%e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length,selectedSuggestionScroll:!0}})),!0}},{key:"handleEscapeKey",value:function(e){return this.setState({incompleteTokenValue:e.target.value,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1}),!0}},{key:"handleCommaKey",value:function(){return this.inputHasValidValue()&&this.addNewToken(this.state.incompleteTokenValue),!0}},{key:"moveInputToIndex",value:function(e){this.setState((function(t,n){return{inputOffsetFromEnd:n.value.length-Math.max(e,-1)-1}}))}},{key:"moveInputBeforePreviousToken",value:function(){this.setState((function(e,t){return{inputOffsetFromEnd:Math.min(e.inputOffsetFromEnd+1,t.value.length)}}))}},{key:"moveInputAfterNextToken",value:function(){this.setState((function(e){return{inputOffsetFromEnd:Math.max(e.inputOffsetFromEnd-1,0)}}))}},{key:"deleteTokenBeforeInput",value:function(){var e=this.getIndexOfInput()-1;e>-1&&this.deleteToken(this.props.value[e])}},{key:"deleteTokenAfterInput",value:function(){var e=this.getIndexOfInput();e0){var r=Object(o.clone)(this.props.value);r.splice.apply(r,[this.getIndexOfInput(),0].concat(n)),this.props.onChange(r)}}},{key:"addNewToken",value:function(e){this.addNewTokens([e]),this.props.speak(this.props.messages.added,"assertive"),this.setState({incompleteTokenValue:"",selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.state.isActive&&this.input.focus()}},{key:"deleteToken",value:function(e){var t=this,n=this.props.value.filter((function(n){return t.getTokenValue(n)!==t.getTokenValue(e)}));this.props.onChange(n),this.props.speak(this.props.messages.removed,"assertive")}},{key:"getTokenValue",value:function(e){return"object"===Object(Do.a)(e)?e.value:e}},{key:"getMatchingSuggestions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.incompleteTokenValue,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.suggestions,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.value,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.maxSuggestions,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.props.saveTransform,i=a(e),s=[],c=[];return 0===i.length?t=Object(o.difference)(t,n):(i=i.toLocaleLowerCase(),Object(o.each)(t,(function(e){var t=e.toLocaleLowerCase().indexOf(i);-1===n.indexOf(e)&&(0===t?s.push(e):t>0&&c.push(e))})),t=s.concat(c)),Object(o.take)(t,r)}},{key:"getSelectedSuggestion",value:function(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}},{key:"valueContainsToken",value:function(e){var t=this;return Object(o.some)(this.props.value,(function(n){return t.getTokenValue(e)===t.getTokenValue(n)}))}},{key:"getIndexOfInput",value:function(){return this.props.value.length-this.state.inputOffsetFromEnd}},{key:"isInputEmpty",value:function(){return 0===this.state.incompleteTokenValue.length}},{key:"inputHasValidValue",value:function(){return this.props.saveTransform(this.state.incompleteTokenValue).length>0}},{key:"updateSuggestions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.state.incompleteTokenValue,n=t.trim().length>1,r=this.getMatchingSuggestions(t),o=r.length>0,a={isExpanded:n&&o};if(e&&(a.selectedSuggestionIndex=-1,a.selectedSuggestionScroll=!1),this.setState(a),n){var i=this.props.debouncedSpeak,s=o?Object(S.sprintf)(Object(S._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",r.length),r.length):Object(S.__)("No results.");i(s,"assertive")}}},{key:"renderTokensAndInput",value:function(){var e=Object(o.map)(this.props.value,this.renderToken);return e.splice(this.getIndexOfInput(),0,this.renderInput()),e}},{key:"renderToken",value:function(e,t,n){var r=this.getTokenValue(e),o=e.status?e.status:void 0,i=t+1,s=n.length;return Object(a.createElement)(So,{key:"token-"+r,value:r,status:o,title:e.title,displayTransform:this.props.displayTransform,onClickRemove:this.onTokenClickRemove,isBorderless:e.isBorderless||this.props.isBorderless,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,disabled:"error"!==o&&this.props.disabled,messages:this.props.messages,termsCount:s,termPosition:i})}},{key:"renderInput",value:function(){var e=this.props,t=e.autoCapitalize,n=e.autoComplete,o=e.maxLength,i=e.value,s={instanceId:e.instanceId,autoCapitalize:t,autoComplete:n,ref:this.bindInput,key:"input",disabled:this.props.disabled,value:this.state.incompleteTokenValue,onBlur:this.onBlur,isExpanded:this.state.isExpanded,selectedSuggestionIndex:this.state.selectedSuggestionIndex};return o&&i.length>=o||(s=Object(r.a)({},s,{onChange:this.onInputChange})),Object(a.createElement)(jo,s)}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.label,r=void 0===n?Object(S.__)("Add item"):n,o=e.instanceId,i=e.className,s=this.state.isExpanded,c=b()(i,"components-form-token-field__input-container",{"is-active":this.state.isActive,"is-disabled":t}),l={className:"components-form-token-field",tabIndex:"-1"},u=this.getMatchingSuggestions();return t||(l=Object.assign({},l,{onKeyDown:this.onKeyDown,onKeyPress:this.onKeyPress,onFocus:this.onFocus})),Object(a.createElement)("div",l,Object(a.createElement)("label",{htmlFor:"components-form-token-input-".concat(o),className:"components-form-token-field__label"},r),Object(a.createElement)("div",{ref:this.bindTokensAndInput,className:c,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),s&&Object(a.createElement)(Po,{instanceId:o,match:this.props.saveTransform(this.state.incompleteTokenValue),displayTransform:this.props.displayTransform,suggestions:u,selectedIndex:this.state.selectedSuggestionIndex,scrollIntoView:this.state.selectedSuggestionScroll,onHover:this.onSuggestionHovered,onSelect:this.onSuggestionSelected})),Object(a.createElement)("p",{id:"components-form-token-suggestions-howto-".concat(o),className:"components-form-token-field__help"},this.props.tokenizeOnSpace?Object(S.__)("Separate with commas, spaces, or the Enter key."):Object(S.__)("Separate with commas or the Enter key.")))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.disabled&&t.isActive?{isActive:!1,incompleteTokenValue:""}:null}}]),t}(a.Component);zo.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:o.identity,saveTransform:function(e){return e.trim()},onChange:function(){},onInputChange:function(){},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:Object(S.__)("Item added."),removed:Object(S.__)("Item removed."),remove:Object(S.__)("Remove item")}};var Io=ke(Object(j.withInstanceId)(zo));function To(e){var t=e.className,n=e.gradients,r=e.onChange,i=e.value,s=e.clearable,c=void 0===s||s,l=Object(a.useCallback)((function(){return r(void 0)}),[r]),u=Object(a.useMemo)((function(){return Object(o.map)(n,(function(e){var t=e.gradient,n=e.name;return Object(a.createElement)(jn.Option,{key:t,value:t,isSelected:i===t,tooltipText:n||Object(S.sprintf)(Object(S.__)("Gradient code: %s"),t),style:{color:"rgba( 0,0,0,0 )",background:t},onClick:i===t?l:function(){return r(t)},"aria-label":n?Object(S.sprintf)(Object(S.__)("Gradient: %s"),n):Object(S.sprintf)(Object(S.__)("Gradient code: %s"),t)})}))}),[n,i,r,l]);return Object(a.createElement)(jn,{className:t,options:u,actions:c&&Object(a.createElement)(jn.ButtonAction,{onClick:l},Object(S.__)("Clear"))})}var No=n(146),Ao=n.n(No),Ro=23,Ho=18,Lo=5,Fo=9,Vo=5,Bo="linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%)",Ko={className:"components-custom-gradient-picker__color-picker-popover",position:"top"};function Wo(e){var t=e.type,n=e.value;return"".concat(t,"(").concat(n.join(","),")")}function Uo(e){var t=e.type,n=e.value;return"".concat(n).concat(t)}function $o(e){var t=e.type,n=e.value,r=e.length;return"".concat(Wo({type:t,value:n})," ").concat(Uo(r))}function Go(e){var t=e.r,n=e.g,r=e.b,o=e.a;return 1===o?{type:"rgb",value:[t,n,r]}:{type:"rgba",value:[t,n,r,o]}}function qo(e,t,n){return Object(r.a)({},e,{colorStops:e.colorStops.map((function(e,o){return o!==t?e:Object(r.a)({},e,{length:Object(r.a)({},e.length,{value:n})})}))})}function Yo(e,t,n){var r=parseInt(e.colorStops[n].length.value),a=Math.min(r,t),i=Math.max(r,t);return Object(o.some)(e.colorStops,(function(e,r){var o=e.length,s=parseInt(o.value);return r!==n&&(Math.abs(s-t)=Vo&&(u.current.significantMoveHappened=!0)}Yo(o,n,a)||i(qo(o,a,n))},f=function e(){window&&window.removeEventListener&&u.current&&u.current.listenersActivated&&(window.removeEventListener("mousemove",d),window.removeEventListener("mouseup",e),l(),u.current.listenersActivated=!1)};return Object(a.useEffect)((function(){return function(){f()}}),[]),o.map((function(e,t){return e&&n!==e.positionValue&&Object(a.createElement)(Sn,{key:t,onClose:l,renderToggle:function(n){var r=n.isOpen,o=n.onToggle;return Object(a.createElement)(ea,{key:t,onClick:function(){u.current&&u.current.significantMoveHappened||(c(),o())},onMouseDown:function(){window&&window.addEventListener&&(u.current={gradientAST:s,position:t,significantMoveHappened:!1,listenersActivated:!0},c(),window.addEventListener("mousemove",d),window.addEventListener("mouseup",f))},isOpen:r,position:e.position,color:e.color,onChange:i,gradientAST:s,gradientIndex:t})},renderContent:function(n){var o=n.onClose;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Dn,{color:e.color,onChangeComplete:function(e){var n=e.rgb;i(Xo(s,t,n))}}),Object(a.createElement)(E,{className:"components-custom-gradient-picker__remove-control-point",onClick:function(){i(function(e,t){return Object(r.a)({},e,{colorStops:e.colorStops.filter((function(e,n){return n!==t}))})}(s,t)),o()},isLink:!0},Object(S.__)("Remove Control Point")))},popoverProps:Ko})}))}function na(e){var t=e.onChange,n=e.gradientAST,i=e.onOpenInserter,s=e.onCloseInserter,c=e.insertPosition,l=Object(a.useState)(!1),u=Object(h.a)(l,2),d=u[0],f=u[1];return Object(a.createElement)(Sn,{className:"components-custom-gradient-picker__inserter",onClose:function(){s()},renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(a.createElement)(Q,{"aria-expanded":t,onClick:function(){f(!1),i(),n()},className:"components-custom-gradient-picker__insert-point",icon:"insert",style:{left:null!==c?"".concat(c,"%"):void 0}})},renderContent:function(){return Object(a.createElement)(Dn,{onChangeComplete:function(e){var a,i=e.rgb;d?a=function(e,t,n){return Xo(e,Object(o.findIndex)(e.colorStops,(function(e){return e&&e.length&&"%"===e.length.type&&e.length.value===t.toString()})),n)}(n,c,i):(a=function(e,t,n){var o=Go(n);return o.length={type:"%",value:t},Object(r.a)({},e,{colorStops:[].concat(Object(w.a)(e.colorStops),[o])})}(n,c,i),f(!0)),t(a)}})},popoverProps:Ko})}function ra(e,t){switch(t.type){case"MOVE_INSERTER":if("IDLE"===e.id||"MOVING_INSERTER"===e.id)return{id:"MOVING_INSERTER",insertPosition:t.insertPosition};break;case"STOP_INSERTER_MOVE":if("MOVING_INSERTER"===e.id)return{id:"IDLE"};break;case"OPEN_INSERTER":if("MOVING_INSERTER"===e.id)return{id:"INSERTING_CONTROL_POINT",insertPosition:e.insertPosition};break;case"CLOSE_INSERTER":if("INSERTING_CONTROL_POINT"===e.id)return{id:"IDLE"};break;case"START_CONTROL_CHANGE":if("IDLE"===e.id)return{id:"MOVING_CONTROL_POINT"};break;case"STOP_CONTROL_CHANGE":if("MOVING_CONTROL_POINT"===e.id)return{id:"IDLE"}}return e}var oa={id:"IDLE"};function aa(e){var t,n,r=e.value,i=e.onChange,s=!!r;try{t=Ao.a.parse(r||Bo)[0],n=r||Bo}catch(e){s=!1,t=Ao.a.parse(Bo)[0],n=Bo}var c=function(e){i(function(e){var t=e.type,n=e.orientation,r=e.colorStops,a=function(e){if(e&&"angular"===e.type)return"".concat(e.value,"deg")}(n),i=r.sort((function(e,t){return Object(o.get)(e,["length","value"],0)-Object(o.get)(t,["length","value"],0)})).map($o);return"".concat(t,"(").concat(Object(o.compact)([a].concat(Object(w.a)(i))).join(","),")")}(e))},l=Object(a.useRef)(),u=function(e){return e?Object(o.map)(e.colorStops,(function(e){return e&&e.length&&"%"===e.length.type?{color:Wo(e),position:Uo(e.length),positionValue:parseInt(e.length.value)}:null})):[]}(t),d=Object(a.useReducer)(ra,oa),f=Object(h.a)(d,2),p=f[0],v=f[1],m=function(e){var t=Qo(e.clientX,l.current,Ro);Object(o.some)(u,(function(e){var n=e.positionValue;return Math.abs(t-n)0,f=c1&&void 0!==arguments[1]?arguments[1]:0;return Object(o.flatMap)(t,(function(t){return[{value:t.id,label:Object(o.repeat)(" ",3*n)+Object(o.unescape)(t.name)}].concat(Object(w.a)(e(t.children||[],n+1)))}))}(s))));return Object(a.createElement)(Hr,Object(P.a)({label:t,options:l,onChange:r},{value:i},c))}function Ha(e){var t,n,i=e.label,s=e.noOptionLabel,c=e.categoriesList,l=e.selectedCategoryId,u=e.onChange,d=(t=c.map((function(e){return Object(r.a)({children:[],parent:null},e)})),(n=Object(o.groupBy)(t,"parent")).null&&n.null.length?t:function e(t){return t.map((function(t){var o=n[t.id];return Object(r.a)({},t,{children:o&&o.length?e(o):[]})}))}(n[0]||[]));return Object(a.createElement)(Ra,Object(P.a)({label:i,noOptionLabel:s,onChange:u},{tree:d,selectedId:l}))}var La=1,Fa=100;function Va(e){var t=e.categoriesList,n=e.selectedCategoryId,r=e.numberOfItems,o=e.order,i=e.orderBy,s=e.maxItems,c=void 0===s?Fa:s,l=e.minItems,u=void 0===l?La:l,d=e.onCategoryChange,f=e.onNumberOfItemsChange,p=e.onOrderChange,b=e.onOrderByChange;return[p&&b&&Object(a.createElement)(Hr,{key:"query-controls-order-select",label:Object(S.__)("Order by"),value:"".concat(i,"/").concat(o),options:[{label:Object(S.__)("Newest to Oldest"),value:"date/desc"},{label:Object(S.__)("Oldest to Newest"),value:"date/asc"},{label:Object(S.__)("A → Z"),value:"title/asc"},{label:Object(S.__)("Z → A"),value:"title/desc"}],onChange:function(e){var t=e.split("/"),n=Object(h.a)(t,2),r=n[0],a=n[1];a!==o&&p(a),r!==i&&b(r)}}),d&&Object(a.createElement)(Ha,{key:"query-controls-category-select",categoriesList:t,label:Object(S.__)("Category"),noOptionLabel:Object(S.__)("All"),selectedCategoryId:n,onChange:d}),f&&Object(a.createElement)(go,{key:"query-controls-range-control",label:Object(S.__)("Number of items"),value:r,onChange:f,min:u,max:c,required:!0})]}var Ba=Object(j.withInstanceId)((function(e){var t=e.label,n=e.className,r=e.selected,i=e.help,s=e.instanceId,c=e.onChange,l=e.options,u=void 0===l?[]:l,d="inspector-radio-control-".concat(s),f=function(e){return c(e.target.value)};return!Object(o.isEmpty)(u)&&Object(a.createElement)(Ce,{label:t,id:d,help:i,className:b()(n,"components-radio-control")},u.map((function(e,t){return Object(a.createElement)("div",{key:"".concat(d,"-").concat(t),className:"components-radio-control__option"},Object(a.createElement)("input",{id:"".concat(d,"-").concat(t),className:"components-radio-control__input",type:"radio",name:d,value:e.value,onChange:f,checked:e.value===r,"aria-describedby":i?"".concat(d,"__help"):void 0}),Object(a.createElement)("label",{htmlFor:"".concat(d,"-").concat(t)},e.label))})))})),Ka=n(226);var Wa=function(e){var t=e.className,n=e.showHandle,r=void 0!==n&&n,o=Object(M.a)(e,["className","showHandle"]),i={width:null,height:null,top:null,right:null,bottom:null,left:null},s="components-resizable-box__handle",c="components-resizable-box__side-handle",l="components-resizable-box__corner-handle";return Object(a.createElement)(Ka.Resizable,Object(P.a)({className:b()("components-resizable-box__container",r&&"has-show-handle",t),handleClasses:{top:b()(s,c,"components-resizable-box__handle-top"),right:b()(s,c,"components-resizable-box__handle-right"),bottom:b()(s,c,"components-resizable-box__handle-bottom"),left:b()(s,c,"components-resizable-box__handle-left"),topLeft:b()(s,l,"components-resizable-box__handle-top","components-resizable-box__handle-left"),topRight:b()(s,l,"components-resizable-box__handle-top","components-resizable-box__handle-right"),bottomRight:b()(s,l,"components-resizable-box__handle-bottom","components-resizable-box__handle-right"),bottomLeft:b()(s,l,"components-resizable-box__handle-bottom","components-resizable-box__handle-left")},handleStyles:{top:i,right:i,bottom:i,left:i,topLeft:i,topRight:i,bottomRight:i,bottomLeft:i}},o))};var Ua=function(e){var t=e.naturalWidth,n=e.naturalHeight,r=e.children,o=e.isInline,i=void 0!==o&&o;if(1!==a.Children.count(r))return null;var s={paddingBottom:n/t*100+"%"},c=i?"span":"div";return Object(a.createElement)(c,{className:"components-responsive-wrapper"},Object(a.createElement)(c,{style:s}),Object(a.cloneElement)(r,{className:b()("components-responsive-wrapper__content",r.props.className)}))},$a=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).trySandbox=e.trySandbox.bind(Object(O.a)(e)),e.checkMessageForResize=e.checkMessageForResize.bind(Object(O.a)(e)),e.iframe=Object(a.createRef)(),e.state={width:0,height:0},e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidMount",value:function(){this.trySandbox()}},{key:"componentDidUpdate",value:function(){this.trySandbox()}},{key:"isFrameAccessible",value:function(){try{return!!this.iframe.current.contentDocument.body}catch(e){return!1}}},{key:"checkMessageForResize",value:function(e){var t=this.iframe.current,n=e.data||{};if("string"==typeof n)try{n=JSON.parse(n)}catch(e){}if(t&&t.contentWindow===e.source){var r=n,o=r.action,a=r.width,i=r.height,s=this.state,c=s.width,l=s.height;"resize"!==o||c===a&&l===i||this.setState({width:a,height:i})}}},{key:"trySandbox",value:function(){if(this.isFrameAccessible()&&null===this.iframe.current.contentDocument.body.getAttribute("data-resizable-iframe-connected")){var e=Object(a.createElement)("html",{lang:document.documentElement.lang,className:this.props.type},Object(a.createElement)("head",null,Object(a.createElement)("title",null,this.props.title),Object(a.createElement)("style",{dangerouslySetInnerHTML:{__html:"\n\t\t\tbody {\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t\thtml,\n\t\t\tbody,\n\t\t\tbody > div,\n\t\t\tbody > div > iframe {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\thtml.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio > div,\n\t\t\tbody.wp-has-aspect-ratio > div > iframe {\n\t\t\t\theight: 100%;\n\t\t\t\toverflow: hidden; /* If it has an aspect ratio, it shouldn't scroll. */\n\t\t\t}\n\t\t\tbody > div > * {\n\t\t\t\tmargin-top: 0 !important; /* Has to have !important to override inline styles. */\n\t\t\t\tmargin-bottom: 0 !important;\n\t\t\t}\n\t\t"}}),this.props.styles&&this.props.styles.map((function(e,t){return Object(a.createElement)("style",{key:t,dangerouslySetInnerHTML:{__html:e}})}))),Object(a.createElement)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:this.props.type},Object(a.createElement)("div",{dangerouslySetInnerHTML:{__html:this.props.html}}),Object(a.createElement)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:"\n\t\t\t( function() {\n\t\t\t\tvar observer;\n\n\t\t\t\tif ( ! window.MutationObserver || ! document.body || ! window.parent ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tfunction sendResize() {\n\t\t\t\t\tvar clientBoundingRect = document.body.getBoundingClientRect();\n\n\t\t\t\t\twindow.parent.postMessage( {\n\t\t\t\t\t\taction: 'resize',\n\t\t\t\t\t\twidth: clientBoundingRect.width,\n\t\t\t\t\t\theight: clientBoundingRect.height,\n\t\t\t\t\t}, '*' );\n\t\t\t\t}\n\n\t\t\t\tobserver = new MutationObserver( sendResize );\n\t\t\t\tobserver.observe( document.body, {\n\t\t\t\t\tattributes: true,\n\t\t\t\t\tattributeOldValue: false,\n\t\t\t\t\tcharacterData: true,\n\t\t\t\t\tcharacterDataOldValue: false,\n\t\t\t\t\tchildList: true,\n\t\t\t\t\tsubtree: true\n\t\t\t\t} );\n\n\t\t\t\twindow.addEventListener( 'load', sendResize, true );\n\n\t\t\t\t// Hack: Remove viewport unit styles, as these are relative\n\t\t\t\t// the iframe root and interfere with our mechanism for\n\t\t\t\t// determining the unconstrained page bounds.\n\t\t\t\tfunction removeViewportStyles( ruleOrNode ) {\n\t\t\t\t\tif( ruleOrNode.style ) {\n\t\t\t\t\t\t[ 'width', 'height', 'minHeight', 'maxHeight' ].forEach( function( style ) {\n\t\t\t\t\t\t\tif ( /^\\d+(vmin|vmax|vh|vw)$/.test( ruleOrNode.style[ style ] ) ) {\n\t\t\t\t\t\t\t\truleOrNode.style[ style ] = '';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tArray.prototype.forEach.call( document.querySelectorAll( '[style]' ), removeViewportStyles );\n\t\t\t\tArray.prototype.forEach.call( document.styleSheets, function( stylesheet ) {\n\t\t\t\t\tArray.prototype.forEach.call( stylesheet.cssRules || stylesheet.rules, removeViewportStyles );\n\t\t\t\t} );\n\n\t\t\t\tdocument.body.style.position = 'absolute';\n\t\t\t\tdocument.body.style.width = '100%';\n\t\t\t\tdocument.body.setAttribute( 'data-resizable-iframe-connected', '' );\n\n\t\t\t\tsendResize();\n\n\t\t\t\t// Resize events can change the width of elements with 100% width, but we don't\n\t\t\t\t// get an DOM mutations for that, so do the resize when the window is resized, too.\n\t\t\t\twindow.addEventListener( 'resize', sendResize, true );\n\t\t} )();"}}),this.props.scripts&&this.props.scripts.map((function(e){return Object(a.createElement)("script",{key:e,src:e})})))),t=this.iframe.current.contentWindow.document;t.open(),t.write(""+Object(a.renderToString)(e)),t.close()}}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.onFocus;return Object(a.createElement)(yo,{iframeRef:this.iframe,title:t,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onLoad:this.trySandbox,onFocus:n,width:Math.ceil(this.state.width),height:Math.ceil(this.state.height)})}}],[{key:"defaultProps",get:function(){return{html:"",title:""}}}]),t}(a.Component),Ga=$a=Object(j.withGlobalEvents)({message:"checkMessageForResize"})($a),qa=1e4;var Ya=Object(a.forwardRef)((function(e,t){var n=e.className,r=e.children,i=e.actions,s=void 0===i?[]:i,c=e.onRemove,l=void 0===c?o.noop:c;Object(a.useEffect)((function(){var e=setTimeout((function(){l()}),qa);return function(){return clearTimeout(e)}}),[]);var u=b()(n,"components-snackbar");return s&&s.length>1&&(console.warn("Snackbar can only have 1 action, use Notice if your message require many messages"),s=[s[0]]),Object(a.createElement)("div",{ref:t,className:u,onClick:l,tabIndex:"0",role:"button",onKeyPress:l,label:Object(S.__)("Dismiss this notice")},Object(a.createElement)("div",{className:"components-snackbar__content"},r,s.map((function(e,t){var n=e.label,r=e.onClick,o=e.url;return Object(a.createElement)(E,{key:t,href:o,isTertiary:!0,onClick:function(e){e.stopPropagation(),r&&r(e)},className:"components-snackbar__action"},n)}))))})),Za=n(23),Xa=n.n(Za),Qa=n(43),Ja=n(63);var ei=function(e){var t=e.notices,n=e.className,r=e.children,i=e.onRemove,s=void 0===i?o.noop:i,c=Object(j.useReducedMotion)(),l=Object(a.useState)((function(){return new WeakMap})),u=Object(h.a)(l,1)[0],d=Object(Ja.useTransition)(t,(function(e){return e.id}),{from:{opacity:0,height:0},enter:function(e){return function(){var t=Object(Qa.a)(Xa.a.mark((function t(n){return Xa.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n({opacity:1,height:u.get(e).offsetHeight});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},leave:function(){return function(){var e=Object(Qa.a)(Xa.a.mark((function e(t){return Xa.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({opacity:0});case 2:return e.next=4,t({height:0});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},immediate:c});n=b()("components-snackbar-list",n);var f=function(e){return function(){return s(e.id)}};return Object(a.createElement)("div",{className:n},r,d.map((function(e){var t=e.item,n=e.key,r=e.props;return Object(a.createElement)(Ja.animated.div,{key:n,style:r},Object(a.createElement)("div",{className:"components-snackbar-list__notice-container",ref:function(e){return e&&u.set(t,e)}},Object(a.createElement)(Ya,Object(P.a)({},Object(o.omit)(t,["content"]),{onRemove:f(t)}),t.content)))})))};function ti(){return Object(a.createElement)("span",{className:"components-spinner"})}var ni=function(e){var t=e.tabId,n=e.onClick,r=e.children,o=e.selected,i=Object(M.a)(e,["tabId","onClick","children","selected"]);return Object(a.createElement)(E,Object(P.a)({role:"tab",tabIndex:o?null:-1,"aria-selected":o,id:t,onClick:n},i),r)},ri=function(e){function t(){var e;Object(m.a)(this,t);var n=(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).props,r=n.tabs,o=n.initialTabName;return e.handleClick=e.handleClick.bind(Object(O.a)(e)),e.onNavigate=e.onNavigate.bind(Object(O.a)(e)),e.state={selected:o||(r.length>0?r[0].name:null)},e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"handleClick",value:function(e){var t=this.props.onSelect,n=void 0===t?o.noop:t;this.setState({selected:e}),n(e)}},{key:"onNavigate",value:function(e,t){t.click()}},{key:"render",value:function(){var e=this,t=this.state.selected,n=this.props,r=n.activeClass,i=void 0===r?"is-active":r,s=n.className,c=n.instanceId,l=n.orientation,u=void 0===l?"horizontal":l,d=n.tabs,h=Object(o.find)(d,{name:t}),p=c+"-"+h.name;return Object(a.createElement)("div",{className:s},Object(a.createElement)(lo,{role:"tablist",orientation:u,onNavigate:this.onNavigate,className:"components-tab-panel__tabs"},d.map((function(n){return Object(a.createElement)(ni,{className:b()(n.className,Object(f.a)({},i,n.name===t)),tabId:c+"-"+n.name,"aria-controls":c+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(o.partial)(e.handleClick,n.name)},n.title)}))),h&&Object(a.createElement)("div",{"aria-labelledby":p,role:"tabpanel",id:p+"-view",className:"components-tab-panel__tab-content",tabIndex:"0"},this.props.children(h)))}}]),t}(a.Component),oi=Object(j.withInstanceId)(ri);var ai=Object(j.withInstanceId)((function(e){var t=e.label,n=e.hideLabelFromVision,r=e.value,o=e.help,i=e.instanceId,s=e.onChange,c=e.rows,l=void 0===c?4:c,u=e.className,d=Object(M.a)(e,["label","hideLabelFromVision","value","help","instanceId","onChange","rows","className"]),f="inspector-textarea-control-".concat(i);return Object(a.createElement)(Ce,{label:t,hideLabelFromVision:n,id:f,help:o,className:u},Object(a.createElement)("textarea",Object(P.a)({className:"components-textarea-control__input",id:f,rows:l,onChange:function(e){return s(e.target.value)},"aria-describedby":o?f+"__help":void 0,value:r},d)))})),ii=function(e){var t=e.text,n=void 0===t?"":t,r=e.highlight,i=void 0===r?"":r;if(!i.trim())return n;var s=new RegExp("(".concat(Object(o.escapeRegExp)(i),")"),"gi");return Object(a.__experimentalCreateInterpolateElement)(n.replace(s,"$&"),{mark:Object(a.createElement)("mark",null)})};var si=function(e){return Object(a.createElement)("div",{className:"components-tip"},Object(a.createElement)(d,{width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(c,{d:"M20.45 4.91L19.04 3.5l-1.79 1.8 1.41 1.41 1.79-1.8zM13 4h-2V1h2v3zm10 9h-3v-2h3v2zm-12 6.95v-3.96l-1-.58c-1.24-.72-2-2.04-2-3.46 0-2.21 1.79-4 4-4s4 1.79 4 4c0 1.42-.77 2.74-2 3.46l-1 .58v3.96h-2zm-2 2h6v-4.81c1.79-1.04 3-2.97 3-5.19 0-3.31-2.69-6-6-6s-6 2.69-6 6c0 2.22 1.21 4.15 3 5.19v4.81zM4 13H1v-2h3v2zm2.76-7.71l-1.79-1.8L3.56 4.9l1.8 1.79 1.4-1.4z"})),Object(a.createElement)("p",null,e.children))},ci=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"onChange",value:function(e){this.props.onChange&&this.props.onChange(e.target.checked)}},{key:"render",value:function(){var e,t,n=this.props,r=n.label,i=n.checked,s=n.help,c=n.instanceId,l=n.className,u="inspector-toggle-control-".concat(c);return s&&(e=u+"__help",t=Object(o.isFunction)(s)?s(i):s),Object(a.createElement)(Ce,{id:u,help:t,className:b()("components-toggle-control",l)},Object(a.createElement)(wo,{id:u,checked:i,onChange:this.onChange,"aria-describedby":e}),Object(a.createElement)("label",{htmlFor:u,className:"components-toggle-control__label"},r))}}]),t}(a.Component),li=Object(j.withInstanceId)(ci),ui=Object(a.createContext)();function di(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hi(e){for(var t=1;t=0||(o[n]=e[n]);return o}var bi=Object(Ie.createContext)({});var vi=function(e,t,n){void 0===n&&(n=t.children);var r=Object(Ie.useContext)(bi);if(r.useCreateElement)return r.useCreateElement(e,t,n);if(function(e){return"function"==typeof e}(n)){t.children;return n(pi(t,["children"]))}return Object(Ie.createElement)(e,t,n)};function mi(e,t){for(var n={},r={},o=0,a=Object.keys(e);o=0?n[i]=e[i]:r[i]=e[i]}return[n,r]}function yi(e){var t,n=e.as,r=e.useHook,o=e.keys,a=void 0===o?r&&r.__keys||[]:o,i=e.propsAreEqual,s=void 0===i?r&&r.__propsAreEqual:i,c=e.useCreateElement,l=void 0===c?vi:c,u=function(e,t){var o=e.as,i=void 0===o?n:o,s=pi(e,["as"]);if(r){var c=mi(s,a),u=c[0],d=c[1],f=r(u,hi({ref:t},d)),h=f.unstable_wrap,p=pi(f,["unstable_wrap"]),b=i.render?i.render.__keys:i.__keys,v=b?mi(s,b)[0]:{},m=l(i,hi({},p,{},v));return h?h(m):m}return l(i,s)};return u.__keys=a,function(e,t){return Object(Ie.memo)(e,t)}((t=u,Object(Ie.forwardRef)(t)),s)}function gi(e,t){Object(Ie.useDebugValue)(e);var n=Object(Ie.useContext)(bi);return null!=n[e]?n[e]:t}function Oi(e){return"object"==typeof e&&null!=e}function ki(e){var t,n=(t=e.compose,Array.isArray(t)?t:void 0!==t?[t]:[]),r=function(t,n){return e.useOptions&&(t=e.useOptions(t,n)),e.name&&(t=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var r="use"+e+"Options";Object(Ie.useDebugValue)(r);var o=gi(r);return o?hi({},t,{},o(t,n)):t}(e.name,t,n)),t},o=function(t,o,a){return void 0===t&&(t={}),void 0===o&&(o={}),void 0===a&&(a=!1),a||(t=r(t,o)),e.compose&&n.forEach((function(e){t=e.__useOptions(t,o)})),e.useProps&&(o=e.useProps(t,o)),e.name&&(o=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var r="use"+e+"Props";Object(Ie.useDebugValue)(r);var o=gi(r);return o?o(t,n):n}(e.name,t,o)),e.compose&&(e.useComposeOptions&&(t=e.useComposeOptions(t,o)),n.forEach((function(e){o=e(t,o,!0)}))),o};return o.__useOptions=r,o.__keys=[].concat(n.reduce((function(e,t){return e.push.apply(e,t.__keys||[]),e}),[]),e.useState?e.useState.__keys:[],e.keys||[]),Boolean(e.propsAreEqual||n.find((function(e){return Boolean(e.__propsAreEqual)})))&&(o.__propsAreEqual=function(t,r){var o=e.propsAreEqual&&e.propsAreEqual(t,r);if(null!=o)return o;var a=n,i=Array.isArray(a),s=0;for(a=i?a:a[Symbol.iterator]();;){var c;if(i){if(s>=a.length)break;c=a[s++]}else{if((s=a.next()).done)break;c=s.value}var l=c.__propsAreEqual,u=l&&l(t,r);if(null!=u)return u}return function e(t,n,r){if(void 0===r&&(r=1),t===n)return!0;if(!t||!n)return!1;var o=Object.keys(t),a=Object.keys(n),i=o.length;if(a.length!==i)return!1;for(var s=0,c=o;s=0||(o[n]=e[n]);return o}function ji(){for(var e=arguments.length,t=new Array(e),n=0;n=t.length)break;a=t[o++]}else{if((o=t.next()).done)break;a=o.value}var i=a;"function"==typeof i?i(e):i&&(i.current=e)}}:null}function Ci(e){var t=function(e){return e?e.ownerDocument||e:window.document}(e);return!!t.activeElement&&e.contains(t.activeElement)}var Mi=ki({name:"Box",keys:["unstable_system"]});yi({as:"div",useHook:Mi});var Ei="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])";function Pi(e){return e.matches(Ei)&&function(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}(e)}function xi(e){return e instanceof HTMLButtonElement||e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement||e instanceof HTMLAnchorElement||e instanceof HTMLAudioElement||e instanceof HTMLVideoElement}var zi=ki({name:"Tabbable",compose:Mi,keys:["disabled","focusable","unstable_clickOnEnter","unstable_clickOnSpace"],useOptions:function(e,t){var n=t.disabled,r=e.unstable_clickOnEnter,o=void 0===r||r,a=e.unstable_clickOnSpace;return Di({disabled:n,unstable_clickOnEnter:o,unstable_clickOnSpace:void 0===a||a},Si(e,["unstable_clickOnEnter","unstable_clickOnSpace"]))},useProps:function(e,t){var n=t.ref,r=t.tabIndex,o=t.onClick,a=t.onMouseDown,i=t.onKeyDown,s=t.style,c=Si(t,["ref","tabIndex","onClick","onMouseDown","onKeyDown","style"]),l=Object(Ie.useRef)(null),u=e.disabled&&!e.focusable,d=Object(Ie.useState)(!0),f=d[0],h=d[1],p=f?r:r||0,b=e.disabled&&!f?Di({pointerEvents:"none"},s):s;Object(Ie.useEffect)((function(){l.current&&!xi(l.current)&&h(!1)}),[]);var v=Object(Ie.useCallback)((function(t){e.disabled?(t.stopPropagation(),t.preventDefault()):o&&o(t)}),[e.disabled,o]),m=Object(Ie.useCallback)((function(t){if(e.disabled)return t.stopPropagation(),void t.preventDefault();var n,r=t.currentTarget,o=t.target;if(r.contains(o)&&!((n=o)instanceof HTMLInputElement||n instanceof HTMLTextAreaElement||n instanceof HTMLSelectElement)&&!function(e){var t=navigator.userAgent,n=function(e){return-1!==t.indexOf(e)},r=n("Mac"),o=n("Safari")||n("Firefox");return!(r&&o&&e instanceof HTMLButtonElement)}(r)){t.preventDefault();var i=Pi(o)||o instanceof HTMLLabelElement;Ci(r)&&r!==o&&i||r.focus()}a&&a(t)}),[e.disabled,a]),y=Object(Ie.useCallback)((function(t){i&&i(t),e.disabled||xi(t.currentTarget)||(e.unstable_clickOnEnter&&"Enter"===t.key||e.unstable_clickOnSpace&&" "===t.key)&&(t.preventDefault(),t.target.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1})))}),[e.disabled,e.unstable_clickOnEnter,e.unstable_clickOnSpace,i]);return Di({ref:ji(l,n),disabled:u,tabIndex:u?void 0:p,"aria-disabled":e.disabled,onClick:v,onMouseDown:m,onKeyDown:y,style:b},c)}});yi({as:"button",useHook:zi});function Ii(){for(var e=arguments.length,t=new Array(e),n=0;n=n.length)break;a=n[o++]}else{if((o=n.next()).done)break;a=o.value}var i=a;i.apply(void 0,arguments)}}),t)}var Ti="id";var Ni=Object(Ie.createContext)((function(e){return void 0===e&&(e=Ti),(e?e+"-":"")+Math.random().toString(32).substr(2,6)}));function Ai(e){return Object(Ie.useState)(e)[0]}function Ri(e){void 0===e&&(e={});var t=Ai(e).baseId,n=Object(Ie.useContext)(Ni),r=Object(Ie.useRef)(0),o=Object(Ie.useState)((function(){return t||n()}));return{baseId:o[0],unstable_setBaseId:o[1],unstable_idCountRef:r}}Ri.__keys=["baseId","unstable_setBaseId","unstable_idCountRef"];var Hi=ki({name:"Id",compose:Mi,useState:Ri,keys:["id"],useOptions:function(e,t){var n=Object(Ie.useContext)(Ni),r=Object(Ie.useState)((function(){return e.unstable_idCountRef?(e.unstable_idCountRef.current+=1,"-"+e.unstable_idCountRef.current):e.baseId?"-"+n(""):""}))[0],o=Object(Ie.useMemo)((function(){return e.baseId||n()}),[e.baseId,n]),a=e.id||t.id||""+o+r;return Di({},e,{id:a})},useProps:function(e,t){return Di({},t,{id:void 0===t.id?e.id:t.id})}});yi({as:"div",useHook:Hi});function Li(e,t){var n=e.stops,r=e.currentId,o=e.unstable_pastId,a=e.unstable_moves,i=e.loop;switch(t.type){case"register":var s=t.id,c=t.ref;if(0===n.length)return Di({},e,{stops:[{id:s,ref:c}]});if(n.findIndex((function(e){return e.id===s}))>=0)return e;var l=n.findIndex((function(e){return!(!e.ref.current||!c.current)&&Boolean(e.ref.current.compareDocumentPosition(c.current)&Node.DOCUMENT_POSITION_PRECEDING)}));return Di({},e,-1===l?{stops:[].concat(n,[{id:s,ref:c}])}:{stops:[].concat(n.slice(0,l),[{id:s,ref:c}],n.slice(l))});case"unregister":var u=t.id,d=n.filter((function(e){return e.id!==u}));return d.length===n.length?e:Di({},e,{stops:d,unstable_pastId:o&&o===u?null:o,currentId:r&&r===u?null:r});case"move":var f=t.id,h=t.silent?a:a+1;if(null===f)return Di({},e,{currentId:null,unstable_pastId:r,unstable_moves:h});var p=n.findIndex((function(e){return e.id===f}));return-1===p?e:n[p].id===r?Di({},e,{unstable_moves:h}):Di({},e,{currentId:n[p].id,unstable_pastId:r,unstable_moves:h});case"next":if(null==r)return Li(e,{type:"move",id:n[0]&&n[0].id});var b=n.findIndex((function(e){return e.id===r})),v=[].concat(n.slice(b+1),i?n.slice(0,b):[]),m=v.findIndex((function(e){return e.id===r}))+1;return Li(e,{type:"move",id:v[m]&&v[m].id});case"previous":var y=Li(Di({},e,{stops:n.slice().reverse()}),{type:"next"});y.stops;return Di({},e,{},Si(y,["stops"]));case"first":var g=n[0];return Li(e,{type:"move",id:g&&g.id});case"last":var O=n[n.length-1];return Li(e,{type:"move",id:O&&O.id});case"reset":return Di({},e,{currentId:null,unstable_pastId:null});case"orientate":return Di({},e,{orientation:t.orientation});default:throw new Error}}function Fi(e){void 0===e&&(e={});var t=Ai(e),n=t.orientation,r=t.currentId,o=void 0===r?null:r,a=t.loop,i=void 0!==a&&a,s=Si(t,["orientation","currentId","loop"]),c=Object(Ie.useReducer)(Li,{orientation:n,stops:[],currentId:o,unstable_pastId:null,unstable_moves:0,loop:i}),l=c[0],u=c[1];return Di({},Ri(s),{},l,{register:Object(Ie.useCallback)((function(e,t){return u({type:"register",id:e,ref:t})}),[]),unregister:Object(Ie.useCallback)((function(e){return u({type:"unregister",id:e})}),[]),move:Object(Ie.useCallback)((function(e,t){return u({type:"move",id:e,silent:t})}),[]),next:Object(Ie.useCallback)((function(){return u({type:"next"})}),[]),previous:Object(Ie.useCallback)((function(){return u({type:"previous"})}),[]),first:Object(Ie.useCallback)((function(){return u({type:"first"})}),[]),last:Object(Ie.useCallback)((function(){return u({type:"last"})}),[]),unstable_reset:Object(Ie.useCallback)((function(){return u({type:"reset"})}),[]),unstable_orientate:Object(Ie.useCallback)((function(e){return u({type:"orientate",orientation:e})}),[])})}var Vi=[].concat(Ri.__keys,["orientation","stops","currentId","unstable_pastId","unstable_moves","loop","register","unregister","move","next","previous","first","last","unstable_reset","unstable_orientate"]);Fi.__keys=Vi;var Bi=ki({name:"Rover",compose:[zi,Hi],useState:Fi,keys:["stopId"],useProps:function(e,t){var n=t.ref,r=t.tabIndex,o=void 0===r?0:r,a=t.onFocus,i=t.onKeyDown,s=Si(t,["ref","tabIndex","onFocus","onKeyDown"]),c=Object(Ie.useRef)(null),l=e.stopId||e.id||s.id,u=e.disabled&&!e.focusable,d=null==e.currentId,f=e.currentId===l,h=(e.stops||[])[0]&&e.stops[0].id===l,p=f||h&&d;Object(Ie.useEffect)((function(){if(!u&&l)return e.register&&e.register(l,c),function(){return e.unregister&&e.unregister(l)}}),[l,u,e.register,e.unregister]),Object(Ie.useEffect)((function(){c.current&&e.unstable_moves&&f&&!Ci(c.current)&&c.current.focus()}),[f,e.unstable_moves]);var b=Object(Ie.useCallback)((function(t){l&&t.currentTarget.contains(t.target)&&e.move(l,!0)}),[e.move,l]),v=Object(Ie.useMemo)((function(){return function(e){var t=void 0===e?{}:e,n=t.keyMap,r=t.onKey,o=t.stopPropagation,a=t.onKeyDown,i=t.shouldKeyDown,s=void 0===i?function(){return!0}:i,c=t.preventDefault,l=void 0===c||c;return function(e){if(n){var t="function"==typeof n?n(e):n,i="function"==typeof l?l(e):l,c="function"==typeof o?o(e):o;if(e.key in t){var u=t[e.key];if("function"==typeof u&&s(e))return i&&e.preventDefault(),c&&e.stopPropagation(),r&&r(e),void u(e)}a&&a(e)}}}({onKeyDown:i,stopPropagation:!0,shouldKeyDown:function(e){return e.currentTarget.contains(e.target)},keyMap:{ArrowUp:"horizontal"!==e.orientation&&e.previous,ArrowRight:"vertical"!==e.orientation&&e.next,ArrowDown:"horizontal"!==e.orientation&&e.next,ArrowLeft:"vertical"!==e.orientation&&e.previous,Home:e.first,End:e.last,PageUp:e.first,PageDown:e.last}})}),[i,e.orientation,e.previous,e.next,e.first,e.last]);return Di({ref:ji(c,n),id:l,tabIndex:p?o:-1,onFocus:Ii(b,a),onKeyDown:v},s)}});yi({as:"button",useHook:Bi});function Ki(e){void 0===e&&(e={});var t=Ai(e),n=t.orientation;return Fi(Di({orientation:void 0===n?"horizontal":n},Si(t,["orientation"])))}var Wi=[].concat(Fi.__keys);Ki.__keys=Wi;var Ui=ki({name:"ToolbarItem",compose:Bi,useState:Ki}),$i=yi({as:"button",useHook:Ui});var Gi=function(e){var t=Object(a.useContext)(ui),n=a.Children.only(e.children),r=Ui(t,n.props);return Object(a.createElement)("div",e,Object(a.cloneElement)(n,r))},qi=function(e){return Object(a.createElement)("div",{className:e.className},e.children)};var Yi=function(e){var t=e.containerClassName,n=e.icon,r=e.title,o=e.shortcut,i=e.subscript,s=e.onClick,c=e.className,l=e.isActive,u=e.isDisabled,d=e.extraProps,f=e.children,h=Object(a.useContext)(ui),p=Object(a.createElement)(Q,Object(P.a)({icon:n,label:r,shortcut:o,"data-subscript":i,onClick:function(e){e.stopPropagation(),s&&s(e)},className:b()("components-toolbar__control",c,{"is-active":l}),"aria-pressed":l,disabled:u},d));return h?Object(a.createElement)(Gi,{className:t},p):Object(a.createElement)(qi,{className:t},p,f)},Zi=function(e){return Object(a.createElement)("div",{className:e.className},e.children)};var Xi=function(e){var t=e.controls,n=void 0===t?[]:t,r=e.className,o=e.icon,i=e.label,s=Object(M.a)(e,["controls","className","icon","label"]),c=Object(a.useContext)(ui),l=function(e){return Object(a.createElement)(fo,Object(P.a)({hasArrowIndicator:!0,icon:o,label:i,controls:n,className:r,toggleProps:e},s))};return c?Object(a.createElement)($i,c,(function(e){return l(e)})):l()};var Qi=function(e){var t=e.controls,n=void 0===t?[]:t,r=e.children,i=e.className,s=e.isCollapsed,c=e.icon,l=e.title,u=Object(M.a)(e,["controls","children","className","isCollapsed","icon","title"]),d=Object(a.useContext)(ui);if(!(n&&n.length||r))return null;var f=b()(d?"components-toolbar-group":"components-toolbar",i),h=n;return Array.isArray(h[0])||(h=[h]),s?Object(a.createElement)(Xi,Object(P.a)({icon:c,label:l,controls:h,className:f,children:r},u)):Object(a.createElement)(Zi,Object(P.a)({className:f},u),Object(o.flatMap)(h,(function(e,t){return e.map((function(e,n){return Object(a.createElement)(Yi,Object(P.a)({key:[t,n].join(),containerClassName:t>0&&0===n?"has-left-divider":null},e))}))})),r)},Ji=ki({name:"IdGroup",compose:Mi,useState:Ri,keys:["id"],useOptions:function(e,t){var n=Object(Ie.useContext)(Ni),r=Object(Ie.useState)((function(){return e.id||t.id||e.baseId||n()}))[0];return e.unstable_setBaseId&&r!==e.baseId&&e.unstable_setBaseId(r),Di({},e,{baseId:r})},useProps:function(e,t){return Di({},t,{id:void 0===t.id?e.id:t.id})}}),es=(yi({as:"div",useHook:Ji}),yi({as:"div",useHook:ki({name:"Toolbar",compose:Ji,useState:Ki,useProps:function(e,t){return Di({role:"toolbar","aria-orientation":e.orientation},t)}}),useCreateElement:function(e,t,n){return vi(e,t,n)}}));var ts=Object(a.forwardRef)((function(e,t){var n=e.accessibilityLabel,r=Object(M.a)(e,["accessibilityLabel"]),o=Ki({loop:!0});return Object(a.createElement)(ui.Provider,{value:o},Object(a.createElement)(es,Object(P.a)({ref:t,"aria-label":n},o,r)))}));var ns=function(e){var t=e.className,n=e.__experimentalAccessibilityLabel,r=Object(M.a)(e,["className","__experimentalAccessibilityLabel"]);return n?Object(a.createElement)(ts,Object(P.a)({className:b()("components-accessible-toolbar",t),accessibilityLabel:n},r)):Object(a.createElement)(Qi,Object(P.a)({},r,{className:t}))};function rs(e){var t=function(t){return Object(a.createElement)(ue,Object(P.a)({name:e},t))};t.displayName=e+"Fill";var n=function(t){return Object(a.createElement)(fe,Object(P.a)({name:e},t))};return n.displayName=e+"Slot",{Fill:t,Slot:n}}var os=Object(j.createHigherOrderComponent)((function(e){return function(t){function n(){var e;return Object(m.a)(this,n),(e=Object(y.a)(this,Object(g.a)(n).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(O.a)(e)),e.focusNextRegion=e.focusRegion.bind(Object(O.a)(e),1),e.focusPreviousRegion=e.focusRegion.bind(Object(O.a)(e),-1),e.onClick=e.onClick.bind(Object(O.a)(e)),e.state={isFocusingRegions:!1},e}return Object(_.a)(n,t),Object(k.a)(n,[{key:"bindContainer",value:function(e){this.container=e}},{key:"focusRegion",value:function(e){var t=Array.from(this.container.querySelectorAll('[role="region"]'));if(t.length){var n=t[0],r=t.indexOf(document.activeElement);if(-1!==r){var o=r+e;n=t[o=(o=-1===o?t.length-1:o)===t.length?0:o]}n.focus(),this.state.isFocusingRegions||this.setState({isFocusingRegions:!0})}}},{key:"onClick",value:function(){this.state.isFocusingRegions&&this.setState({isFocusingRegions:!1})}},{key:"render",value:function(){var t,n=b()("components-navigate-regions",{"is-focusing-regions":this.state.isFocusingRegions});return Object(a.createElement)("div",{ref:this.bindContainer,className:n,onClick:this.onClick},Object(a.createElement)(un,{bindGlobal:!0,shortcuts:(t={"ctrl+`":this.focusNextRegion},Object(f.a)(t,D.rawShortcut.access("n"),this.focusNextRegion),Object(f.a)(t,"ctrl+shift+`",this.focusPreviousRegion),Object(f.a)(t,D.rawShortcut.access("p"),this.focusPreviousRegion),t)}),Object(a.createElement)(e,this.props))}}]),n}(a.Component)}),"navigateRegions"),as=function(e){return Object(j.createHigherOrderComponent)((function(t){return function(n){function r(){var e;return Object(m.a)(this,r),(e=Object(y.a)(this,Object(g.a)(r).apply(this,arguments))).nodeRef=e.props.node,e.state={fallbackStyles:void 0,grabStylesCompleted:!1},e.bindRef=e.bindRef.bind(Object(O.a)(e)),e}return Object(_.a)(r,n),Object(k.a)(r,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"componentDidMount",value:function(){this.grabFallbackStyles()}},{key:"componentDidUpdate",value:function(){this.grabFallbackStyles()}},{key:"grabFallbackStyles",value:function(){var t=this.state,n=t.grabStylesCompleted,r=t.fallbackStyles;if(this.nodeRef&&!n){var a=e(this.nodeRef,this.props);Object(o.isEqual)(a,r)||this.setState({fallbackStyles:a,grabStylesCompleted:!!Object(o.every)(a)})}}},{key:"render",value:function(){var e=Object(a.createElement)(t,Object(P.a)({},this.props,this.state.fallbackStyles));return this.props.node?e:Object(a.createElement)("div",{ref:this.bindRef}," ",e," ")}}]),r}(a.Component)}),"withFallbackStyles")},is=n(27),ss=16;function cs(e){return Object(j.createHigherOrderComponent)((function(t){var n,r="core/with-filters/"+e;var i=function(i){function s(){var r;return Object(m.a)(this,s),r=Object(y.a)(this,Object(g.a)(s).apply(this,arguments)),void 0===n&&(n=Object(is.applyFilters)(e,t)),r}return Object(_.a)(s,i),Object(k.a)(s,[{key:"componentDidMount",value:function(){s.instances.push(this),1===s.instances.length&&(Object(is.addAction)("hookRemoved",r,c),Object(is.addAction)("hookAdded",r,c))}},{key:"componentWillUnmount",value:function(){s.instances=Object(o.without)(s.instances,this),0===s.instances.length&&(Object(is.removeAction)("hookRemoved",r),Object(is.removeAction)("hookAdded",r))}},{key:"render",value:function(){return Object(a.createElement)(n,this.props)}}]),s}(a.Component);i.instances=[];var s=Object(o.debounce)((function(){n=Object(is.applyFilters)(e,t),i.instances.forEach((function(e){e.forceUpdate()}))}),ss);function c(t){t===e&&s()}return i}),"withFilters")}var ls=n(66),us=n.n(ls),ds=Object(j.createHigherOrderComponent)((function(e){return function(t){function n(){var e;return Object(m.a)(this,n),(e=Object(y.a)(this,Object(g.a)(n).apply(this,arguments))).createNotice=e.createNotice.bind(Object(O.a)(e)),e.createErrorNotice=e.createErrorNotice.bind(Object(O.a)(e)),e.removeNotice=e.removeNotice.bind(Object(O.a)(e)),e.removeAllNotices=e.removeAllNotices.bind(Object(O.a)(e)),e.state={noticeList:[]},e.noticeOperations={createNotice:e.createNotice,createErrorNotice:e.createErrorNotice,removeAllNotices:e.removeAllNotices,removeNotice:e.removeNotice},e}return Object(_.a)(n,t),Object(k.a)(n,[{key:"createNotice",value:function(e){var t=e.id?e:Object(r.a)({},e,{id:us()()});this.setState((function(e){return{noticeList:[].concat(Object(w.a)(e.noticeList),[t])}}))}},{key:"createErrorNotice",value:function(e){this.createNotice({status:"error",content:e})}},{key:"removeNotice",value:function(e){this.setState((function(t){return{noticeList:t.noticeList.filter((function(t){return t.id!==e}))}}))}},{key:"removeAllNotices",value:function(){this.setState({noticeList:[]})}},{key:"render",value:function(){return Object(a.createElement)(e,Object(P.a)({noticeList:this.state.noticeList,noticeOperations:this.noticeOperations,noticeUI:this.state.noticeList.length>0&&Object(a.createElement)(Ea,{className:"components-with-notices-ui",notices:this.state.noticeList,onRemove:this.removeNotice})},this.props))}}]),n}(a.Component)}));n.d(t,"Circle",(function(){return i})),n.d(t,"G",(function(){return s})),n.d(t,"Path",(function(){return c})),n.d(t,"Polygon",(function(){return l})),n.d(t,"Rect",(function(){return u})),n.d(t,"SVG",(function(){return d})),n.d(t,"HorizontalRule",(function(){return"hr"})),n.d(t,"BlockQuotation",(function(){return"blockquote"})),n.d(t,"Animate",(function(){return v})),n.d(t,"Autocomplete",(function(){return De})),n.d(t,"BaseControl",(function(){return Ce})),n.d(t,"Button",(function(){return E})),n.d(t,"ButtonGroup",(function(){return Me})),n.d(t,"Card",(function(){return Wt})),n.d(t,"CardBody",(function(){return $t})),n.d(t,"CardDivider",(function(){return Gt})),n.d(t,"CardFooter",(function(){return Yt})),n.d(t,"CardHeader",(function(){return Xt})),n.d(t,"CardMedia",(function(){return Qt})),n.d(t,"CheckboxControl",(function(){return Jt})),n.d(t,"ClipboardButton",(function(){return nn})),n.d(t,"ColorIndicator",(function(){return rn})),n.d(t,"ColorPalette",(function(){return Cn})),n.d(t,"ColorPicker",(function(){return Dn})),n.d(t,"CustomSelectControl",(function(){return xr})),n.d(t,"Dashicon",(function(){return Z})),n.d(t,"DateTimePicker",(function(){return Rr})),n.d(t,"DatePicker",(function(){return Nr})),n.d(t,"TimePicker",(function(){return Ar})),n.d(t,"__experimentalDimensionControl",(function(){return Vr})),n.d(t,"Disabled",(function(){return Gr})),n.d(t,"Draggable",(function(){return Yr})),n.d(t,"DropZone",(function(){return ao})),n.d(t,"DropZoneProvider",(function(){return ro})),n.d(t,"Dropdown",(function(){return Sn})),n.d(t,"DropdownMenu",(function(){return fo})),n.d(t,"ExternalLink",(function(){return ho})),n.d(t,"FocalPointPicker",(function(){return bo})),n.d(t,"FocusableIframe",(function(){return yo})),n.d(t,"FontSizePicker",(function(){return ko})),n.d(t,"FormFileUpload",(function(){return _o})),n.d(t,"FormToggle",(function(){return wo})),n.d(t,"FormTokenField",(function(){return Io})),n.d(t,"__experimentalGradientPicker",(function(){return To})),n.d(t,"__experimentalCustomGradientPicker",(function(){return aa})),n.d(t,"Guide",(function(){return _a})),n.d(t,"GuidePage",(function(){return wa})),n.d(t,"Icon",(function(){return X})),n.d(t,"IconButton",(function(){return Q})),n.d(t,"KeyboardShortcuts",(function(){return un})),n.d(t,"MenuGroup",(function(){return Da})),n.d(t,"MenuItem",(function(){return Sa})),n.d(t,"MenuItemsChoice",(function(){return ja})),n.d(t,"Modal",(function(){return va})),n.d(t,"ScrollLock",(function(){return J})),n.d(t,"NavigableMenu",(function(){return lo})),n.d(t,"TabbableContainer",(function(){return Ca})),n.d(t,"Notice",(function(){return Ma})),n.d(t,"NoticeList",(function(){return Ea})),n.d(t,"Panel",(function(){return xa})),n.d(t,"PanelBody",(function(){return Ta})),n.d(t,"PanelHeader",(function(){return Pa})),n.d(t,"PanelRow",(function(){return Na})),n.d(t,"Placeholder",(function(){return Aa})),n.d(t,"Popover",(function(){return ge})),n.d(t,"QueryControls",(function(){return Va})),n.d(t,"RadioControl",(function(){return Ba})),n.d(t,"RangeControl",(function(){return go})),n.d(t,"ResizableBox",(function(){return Wa})),n.d(t,"ResponsiveWrapper",(function(){return Ua})),n.d(t,"SandBox",(function(){return Ga})),n.d(t,"SelectControl",(function(){return Hr})),n.d(t,"Snackbar",(function(){return Ya})),n.d(t,"SnackbarList",(function(){return ei})),n.d(t,"Spinner",(function(){return ti})),n.d(t,"TabPanel",(function(){return oi})),n.d(t,"TextControl",(function(){return bn})),n.d(t,"TextareaControl",(function(){return ai})),n.d(t,"TextHighlight",(function(){return ii})),n.d(t,"Tip",(function(){return si})),n.d(t,"ToggleControl",(function(){return li})),n.d(t,"Toolbar",(function(){return ns})),n.d(t,"ToolbarButton",(function(){return Yi})),n.d(t,"ToolbarGroup",(function(){return Qi})),n.d(t,"Tooltip",(function(){return Y})),n.d(t,"TreeSelect",(function(){return Ra})),n.d(t,"VisuallyHidden",(function(){return Se})),n.d(t,"IsolatedEventContainer",(function(){return te})),n.d(t,"createSlotFill",(function(){return rs})),n.d(t,"Slot",(function(){return fe})),n.d(t,"Fill",(function(){return ue})),n.d(t,"SlotFillProvider",(function(){return se})),n.d(t,"__experimentalSlotFillConsumer",(function(){return oe})),n.d(t,"navigateRegions",(function(){return os})),n.d(t,"withConstrainedTabbing",(function(){return B})),n.d(t,"withFallbackStyles",(function(){return as})),n.d(t,"withFilters",(function(){return cs})),n.d(t,"withFocusOutside",(function(){return W})),n.d(t,"withFocusReturn",(function(){return V})),n.d(t,"FocusReturnProvider",(function(){return F})),n.d(t,"withNotices",(function(){return ds})),n.d(t,"withSpokenMessages",(function(){return ke}))}]); \ No newline at end of file diff --git a/wp-includes/js/dist/compose.js b/wp-includes/js/dist/compose.js index 833b0fe58a..d822b0f608 100644 --- a/wp-includes/js/dist/compose.js +++ b/wp-includes/js/dist/compose.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["compose"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 355); +/******/ return __webpack_require__(__webpack_require__.s = 373); /******/ }) /************************************************************************/ /******/ ({ @@ -94,52 +94,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["compose"] = /***/ }), -/***/ 109: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useMediaQuery; }); -/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23); -/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0); -/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__); - - -/** - * WordPress dependencies - */ - -/** - * Runs a media query and returns its value when it changes. - * - * @param {string} query Media Query. - * @return {boolean} return value of the media query. - */ - -function useMediaQuery(query) { - var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useState"])(false), - _useState2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_useState, 2), - match = _useState2[0], - setMatch = _useState2[1]; - - Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(function () { - var updateMatch = function updateMatch() { - return setMatch(window.matchMedia(query).matches); - }; - - updateMatch(); - var list = window.matchMedia(query); - list.addListener(updateMatch); - return function () { - list.removeListener(updateMatch); - }; - }, [query]); - return match; -} - - -/***/ }), - -/***/ 11: +/***/ 12: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -162,7 +117,7 @@ function _createClass(Constructor, protoProps, staticProps) { /***/ }), -/***/ 12: +/***/ 13: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -175,13 +130,38 @@ function _classCallCheck(instance, Constructor) { /***/ }), -/***/ 13: +/***/ 14: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; }); +function _extends() { + _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + + return target; + }; + + return _extends.apply(this, arguments); +} + +/***/ }), + +/***/ 15: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; }); /* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31); -/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5); +/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6); function _possibleConstructorReturn(self, call) { @@ -194,7 +174,7 @@ function _possibleConstructorReturn(self, call) { /***/ }), -/***/ 14: +/***/ 16: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -208,7 +188,7 @@ function _getPrototypeOf(o) { /***/ }), -/***/ 15: +/***/ 17: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -242,31 +222,6 @@ function _inherits(subClass, superClass) { /***/ }), -/***/ 18: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; }); -function _extends() { - _extends = Object.assign || function (target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; - - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; - } - } - } - - return target; - }; - - return _extends.apply(this, arguments); -} - -/***/ }), - /***/ 2: /***/ (function(module, exports) { @@ -274,11 +229,11 @@ function _extends() { /***/ }), -/***/ 209: +/***/ 208: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var _use_media_query__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(109); +/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var _use_media_query__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(83); /** * Internal dependencies */ @@ -303,20 +258,24 @@ var useReducedMotion = process.env.FORCE_REDUCED_MOTION || IS_IE ? function () { }; /* harmony default export */ __webpack_exports__["a"] = (useReducedMotion); -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(316))) +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(336))) /***/ }), -/***/ 23: +/***/ 22: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(38); +var arrayWithHoles = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { + if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { + return; + } + var _arr = []; var _n = true; var _d = false; @@ -342,7 +301,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(39); +var nonIterableRest = __webpack_require__(34); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -360,16 +319,14 @@ function _slicedToArray(arr, i) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); -function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); } - function _typeof(obj) { - if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") { + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { - return _typeof2(obj); + return typeof obj; }; } else { _typeof = function _typeof(obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj); + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } @@ -378,7 +335,18 @@ function _typeof(obj) { /***/ }), -/***/ 316: +/***/ 33: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); +function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; +} + +/***/ }), + +/***/ 336: /***/ (function(module, exports) { // shim for using process in browser @@ -569,7 +537,18 @@ process.umask = function() { return 0; }; /***/ }), -/***/ 355: +/***/ 34: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); +function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance"); +} + +/***/ }), + +/***/ 373: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -607,6 +586,22 @@ function createHigherOrderComponent(mapComponentToEnhancedComponent, modifierNam /* harmony default export */ var create_higher_order_component = (createHigherOrderComponent); +// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/compose.js +/** + * External dependencies + */ + +/** + * Composes multiple higher-order components into a single higher-order component. Performs right-to-left function + * composition, where each successive invocation is supplied the return value of the previous. + * + * @param {...Function} hocs The HOC functions to invoke. + * + * @return {Function} Returns the new composite function. + */ + +/* harmony default export */ var compose = (external_this_lodash_["flowRight"]); + // EXTERNAL MODULE: external {"this":["wp","element"]} var external_this_wp_element_ = __webpack_require__(0); @@ -641,22 +636,22 @@ var if_condition_ifCondition = function ifCondition(predicate) { /* harmony default export */ var if_condition = (if_condition_ifCondition); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(12); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(11); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(13); +var possibleConstructorReturn = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(14); +var getPrototypeOf = __webpack_require__(16); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(15); +var inherits = __webpack_require__(17); // EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} -var external_this_wp_isShallowEqual_ = __webpack_require__(41); +var external_this_wp_isShallowEqual_ = __webpack_require__(45); var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_); // CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/pure/index.js @@ -744,10 +739,10 @@ var pure = create_higher_order_component(function (Wrapped) { /* harmony default export */ var higher_order_pure = (pure); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(18); +var esm_extends = __webpack_require__(14); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js -var assertThisInitialized = __webpack_require__(5); +var assertThisInitialized = __webpack_require__(6); // CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/with-global-events/listener.js @@ -960,9 +955,9 @@ function withGlobalEvents(eventTypesToHandlers) { * A Higher Order Component used to be provide a unique instance ID by * component. * - * @param {WPElement} WrappedComponent The wrapped component. + * @param {WPComponent} WrappedComponent The wrapped component. * - * @return {Component} Component with an instanceId prop. + * @return {WPComponent} Component with an instanceId prop. */ /* harmony default export */ var with_instance_id = (create_higher_order_component(function (WrappedComponent) { @@ -1024,9 +1019,9 @@ function withGlobalEvents(eventTypesToHandlers) { * A higher-order component used to provide and manage delayed function calls * that ought to be bound to a component's lifecycle. * - * @param {Component} OriginalComponent Component requiring setTimeout + * @param {WPComponent} OriginalComponent Component requiring setTimeout * - * @return {Component} Wrapped component. + * @return {WPComponent} Wrapped component. */ var withSafeTimeout = create_higher_order_component(function (OriginalComponent) { @@ -1132,7 +1127,7 @@ var withSafeTimeout = create_higher_order_component(function (OriginalComponent) * * @param {?Object} initialState Optional initial state of the component. * - * @return {Component} Wrapped component. + * @return {WPComponent} Wrapped component. */ function withState() { @@ -1170,14 +1165,77 @@ function withState() { } // EXTERNAL MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-media-query/index.js -var use_media_query = __webpack_require__(109); +var use_media_query = __webpack_require__(83); // EXTERNAL MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-reduced-motion/index.js -var use_reduced_motion = __webpack_require__(209); +var use_reduced_motion = __webpack_require__(208); + +// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-viewport-match/index.js +/** + * Internal dependencies + */ + +/** + * @typedef {"huge"|"wide"|"large"|"medium"|"small"|"mobile"} WPBreakpoint + */ + +/** + * Hash of breakpoint names with pixel width at which it becomes effective. + * + * @see _breakpoints.scss + * + * @type {Object} + */ + +var BREAKPOINTS = { + huge: 1440, + wide: 1280, + large: 960, + medium: 782, + small: 600, + mobile: 480 +}; +/** + * @typedef {">="|"<"} WPViewportOperator + */ + +/** + * Object mapping media query operators to the condition to be used. + * + * @type {Object} + */ + +var CONDITIONS = { + '>=': 'min-width', + '<': 'max-width' +}; +/** + * Returns true if the viewport matches the given query, or false otherwise. + * + * @param {WPBreakpoint} breakpoint Breakpoint size name. + * @param {WPViewportOperator} [operator=">="] Viewport operator. + * + * @example + * + * ```js + * useViewportMatch( 'huge', <' ); + * useViewportMatch( 'medium' ); + * ``` + * + * @return {boolean} Whether viewport matches query. + */ + +var use_viewport_match_useViewportMatch = function useViewportMatch(breakpoint) { + var operator = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '>='; + var mediaQuery = "(".concat(CONDITIONS[operator], ": ").concat(BREAKPOINTS[breakpoint], "px)"); + return Object(use_media_query["a" /* default */])(mediaQuery); +}; + +/* harmony default export */ var use_viewport_match = (use_viewport_match_useViewportMatch); // CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/index.js /* concated harmony reexport createHigherOrderComponent */__webpack_require__.d(__webpack_exports__, "createHigherOrderComponent", function() { return create_higher_order_component; }); -/* concated harmony reexport compose */__webpack_require__.d(__webpack_exports__, "compose", function() { return external_this_lodash_["flowRight"]; }); +/* concated harmony reexport compose */__webpack_require__.d(__webpack_exports__, "compose", function() { return compose; }); /* concated harmony reexport ifCondition */__webpack_require__.d(__webpack_exports__, "ifCondition", function() { return if_condition; }); /* concated harmony reexport pure */__webpack_require__.d(__webpack_exports__, "pure", function() { return higher_order_pure; }); /* concated harmony reexport withGlobalEvents */__webpack_require__.d(__webpack_exports__, "withGlobalEvents", function() { return with_global_events; }); @@ -1186,20 +1244,9 @@ var use_reduced_motion = __webpack_require__(209); /* concated harmony reexport withState */__webpack_require__.d(__webpack_exports__, "withState", function() { return withState; }); /* concated harmony reexport useMediaQuery */__webpack_require__.d(__webpack_exports__, "useMediaQuery", function() { return use_media_query["a" /* default */]; }); /* concated harmony reexport useReducedMotion */__webpack_require__.d(__webpack_exports__, "useReducedMotion", function() { return use_reduced_motion["a" /* default */]; }); -/** - * External dependencies - */ - // Utils - - -/** - * Composes multiple higher-order components into a single higher-order component. Performs right-to-left function - * composition, where each successive invocation is supplied the return value of the previous. - * - * @param {...Function} hocs The HOC functions to invoke. - * - * @return {Function} Returns the new composite function. - */ +/* concated harmony reexport useViewportMatch */__webpack_require__.d(__webpack_exports__, "useViewportMatch", function() { return use_viewport_match; }); +// Utils + // Compose helper (aliased flowRight from Lodash) // Higher-order components @@ -1214,38 +1261,17 @@ var use_reduced_motion = __webpack_require__(209); -/***/ }), - -/***/ 38: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); -function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; -} /***/ }), -/***/ 39: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); -function _nonIterableRest() { - throw new TypeError("Invalid attempt to destructure non-iterable instance"); -} - -/***/ }), - -/***/ 41: +/***/ 45: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["isShallowEqual"]; }()); /***/ }), -/***/ 5: +/***/ 6: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1258,6 +1284,51 @@ function _assertThisInitialized(self) { return self; } +/***/ }), + +/***/ 83: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useMediaQuery; }); +/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__); + + +/** + * WordPress dependencies + */ + +/** + * Runs a media query and returns its value when it changes. + * + * @param {string} query Media Query. + * @return {boolean} return value of the media query. + */ + +function useMediaQuery(query) { + var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useState"])(false), + _useState2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_useState, 2), + match = _useState2[0], + setMatch = _useState2[1]; + + Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(function () { + var updateMatch = function updateMatch() { + return setMatch(window.matchMedia(query).matches); + }; + + updateMatch(); + var list = window.matchMedia(query); + list.addListener(updateMatch); + return function () { + list.removeListener(updateMatch); + }; + }, [query]); + return match; +} + + /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/compose.min.js b/wp-includes/js/dist/compose.min.js index 581bef969e..616f7cca9e 100644 --- a/wp-includes/js/dist/compose.min.js +++ b/wp-includes/js/dist/compose.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.compose=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=355)}({0:function(t,e){!function(){t.exports=this.wp.element}()},109:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(23),o=n(0);function i(t){var e=Object(o.useState)(!1),n=Object(r.a)(e,2),i=n[0],u=n[1];return Object(o.useEffect)((function(){var e=function(){return u(window.matchMedia(t).matches)};e();var n=window.matchMedia(t);return n.addListener(e),function(){n.removeListener(e)}}),[t]),i}},11:function(t,e,n){"use strict";function r(t,e){for(var n=0;n=0,i=t.env.FORCE_REDUCED_MOTION||o?function(){return!0}:function(){return Object(r.a)("(prefers-reduced-motion: reduce)")};e.a=i}).call(this,n(316))},23:function(t,e,n){"use strict";var r=n(38);var o=n(39);function i(t,e){return Object(r.a)(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var u,c=t[Symbol.iterator]();!(r=(u=c.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(t,e)||Object(o.a)()}n.d(e,"a",(function(){return i}))},31:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}n.d(e,"a",(function(){return o}))},316:function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(t){r=u}}();var a,f=[],s=!1,l=-1;function p(){s&&a&&(s=!1,a.length?f=a.concat(f):l=-1,f.length&&h())}function h(){if(!s){var t=c(p);s=!0;for(var e=f.length;e;){for(a=f,f=[];++l1)for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{};return o((function(e){return function(n){function r(){var e;return Object(c.a)(this,r),(e=Object(f.a)(this,Object(s.a)(r).apply(this,arguments))).setState=e.setState.bind(Object(y.a)(e)),e.state=t,e}return Object(l.a)(r,n),Object(a.a)(r,[{key:"render",value:function(){return Object(i.createElement)(e,Object(b.a)({},this.props,this.state,{setState:this.setState}))}}]),r}(i.Component)}),"withState")}var T=n(109),E=n(209);n.d(e,"createHigherOrderComponent",(function(){return o})),n.d(e,"compose",(function(){return r.flowRight})),n.d(e,"ifCondition",(function(){return u})),n.d(e,"pure",(function(){return d})),n.d(e,"withGlobalEvents",(function(){return v})),n.d(e,"withInstanceId",(function(){return O})),n.d(e,"withSafeTimeout",(function(){return j})),n.d(e,"withState",(function(){return w})),n.d(e,"useMediaQuery",(function(){return T.a})),n.d(e,"useReducedMotion",(function(){return E.a}))},38:function(t,e,n){"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,"a",(function(){return r}))},39:function(t,e,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(e,"a",(function(){return r}))},41:function(t,e){!function(){t.exports=this.wp.isShallowEqual}()},5:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.compose=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=373)}({0:function(t,e){!function(){t.exports=this.wp.element}()},12:function(t,e,n){"use strict";function r(t,e){for(var n=0;n=0,o=t.env.FORCE_REDUCED_MOTION||i?function(){return!0}:function(){return Object(r.a)("(prefers-reduced-motion: reduce)")};e.a=o}).call(this,n(336))},22:function(t,e,n){"use strict";var r=n(33);var i=n(34);function o(t,e){return Object(r.a)(t)||function(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var u,c=t[Symbol.iterator]();!(r=(u=c.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}}(t,e)||Object(i.a)()}n.d(e,"a",(function(){return o}))},31:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,"a",(function(){return r}))},33:function(t,e,n){"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,"a",(function(){return r}))},336:function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(t){r=u}}();var a,s=[],f=!1,l=-1;function h(){f&&a&&(f=!1,a.length?s=a.concat(s):l=-1,s.length&&p())}function p(){if(!f){var t=c(h);f=!0;for(var e=s.length;e;){for(a=s,s=[];++l1)for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{};return i((function(e){return function(n){function r(){var e;return Object(a.a)(this,r),(e=Object(f.a)(this,Object(l.a)(r).apply(this,arguments))).setState=e.setState.bind(Object(v.a)(e)),e.state=t,e}return Object(h.a)(r,n),Object(s.a)(r,[{key:"render",value:function(){return Object(u.createElement)(e,Object(m.a)({},this.props,this.state,{setState:this.setState}))}}]),r}(u.Component)}),"withState")}var T=n(83),E=n(208),S={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},k={">=":"min-width","<":"max-width"},C=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:">=",n="(".concat(k[e],": ").concat(S[t],"px)");return Object(T.a)(n)};n.d(e,"createHigherOrderComponent",(function(){return i})),n.d(e,"compose",(function(){return o})),n.d(e,"ifCondition",(function(){return c})),n.d(e,"pure",(function(){return b})),n.d(e,"withGlobalEvents",(function(){return O})),n.d(e,"withInstanceId",(function(){return j})),n.d(e,"withSafeTimeout",(function(){return w})),n.d(e,"withState",(function(){return g})),n.d(e,"useMediaQuery",(function(){return T.a})),n.d(e,"useReducedMotion",(function(){return E.a})),n.d(e,"useViewportMatch",(function(){return C}))},45:function(t,e){!function(){t.exports=this.wp.isShallowEqual}()},6:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},83:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(22),i=n(0);function o(t){var e=Object(i.useState)(!1),n=Object(r.a)(e,2),o=n[0],u=n[1];return Object(i.useEffect)((function(){var e=function(){return u(window.matchMedia(t).matches)};e();var n=window.matchMedia(t);return n.addListener(e),function(){n.removeListener(e)}}),[t]),o}}}); \ No newline at end of file diff --git a/wp-includes/js/dist/core-data.js b/wp-includes/js/dist/core-data.js index 65598b1316..f78fef5495 100644 --- a/wp-includes/js/dist/core-data.js +++ b/wp-includes/js/dist/core-data.js @@ -82,34 +82,19 @@ this["wp"] = this["wp"] || {}; this["wp"]["coreData"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 349); +/******/ return __webpack_require__(__webpack_require__.s = 369); /******/ }) /************************************************************************/ /******/ ({ -/***/ 10: -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ 0: +/***/ (function(module, exports) { -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} +(function() { module.exports = this["wp"]["element"]; }()); /***/ }), -/***/ 17: +/***/ 18: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -125,7 +110,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(30); +var iterableToArray = __webpack_require__(32); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -149,23 +134,20 @@ function _toConsumableArray(arr) { /***/ }), -/***/ 20: -/***/ (function(module, exports) { - -(function() { module.exports = this["regeneratorRuntime"]; }()); - -/***/ }), - -/***/ 23: +/***/ 22: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(38); +var arrayWithHoles = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { + if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { + return; + } + var _arr = []; var _n = true; var _d = false; @@ -191,7 +173,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(39); +var nonIterableRest = __webpack_require__(34); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -204,14 +186,21 @@ function _slicedToArray(arr, i) { /***/ }), -/***/ 26: +/***/ 23: +/***/ (function(module, exports) { + +(function() { module.exports = this["regeneratorRuntime"]; }()); + +/***/ }), + +/***/ 25: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["url"]; }()); /***/ }), -/***/ 30: +/***/ 32: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -222,14 +211,36 @@ function _iterableToArray(iter) { /***/ }), -/***/ 34: -/***/ (function(module, exports) { +/***/ 33: +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["wp"]["apiFetch"]; }()); +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); +function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; +} /***/ }), -/***/ 349: +/***/ 34: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); +function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance"); +} + +/***/ }), + +/***/ 35: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["deprecated"]; }()); + +/***/ }), + +/***/ 369: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -242,11 +253,11 @@ __webpack_require__.d(build_module_actions_namespaceObject, "addEntities", funct __webpack_require__.d(build_module_actions_namespaceObject, "receiveEntityRecords", function() { return receiveEntityRecords; }); __webpack_require__.d(build_module_actions_namespaceObject, "receiveThemeSupports", function() { return receiveThemeSupports; }); __webpack_require__.d(build_module_actions_namespaceObject, "receiveEmbedPreview", function() { return receiveEmbedPreview; }); -__webpack_require__.d(build_module_actions_namespaceObject, "editEntityRecord", function() { return editEntityRecord; }); +__webpack_require__.d(build_module_actions_namespaceObject, "editEntityRecord", function() { return actions_editEntityRecord; }); __webpack_require__.d(build_module_actions_namespaceObject, "undo", function() { return undo; }); __webpack_require__.d(build_module_actions_namespaceObject, "redo", function() { return redo; }); __webpack_require__.d(build_module_actions_namespaceObject, "__unstableCreateUndoLevel", function() { return __unstableCreateUndoLevel; }); -__webpack_require__.d(build_module_actions_namespaceObject, "saveEntityRecord", function() { return saveEntityRecord; }); +__webpack_require__.d(build_module_actions_namespaceObject, "saveEntityRecord", function() { return actions_saveEntityRecord; }); __webpack_require__.d(build_module_actions_namespaceObject, "saveEditedEntityRecord", function() { return saveEditedEntityRecord; }); __webpack_require__.d(build_module_actions_namespaceObject, "receiveUploadPermissions", function() { return receiveUploadPermissions; }); __webpack_require__.d(build_module_actions_namespaceObject, "receiveUserPermission", function() { return receiveUserPermission; }); @@ -258,7 +269,7 @@ __webpack_require__.d(build_module_selectors_namespaceObject, "getAuthors", func __webpack_require__.d(build_module_selectors_namespaceObject, "getCurrentUser", function() { return getCurrentUser; }); __webpack_require__.d(build_module_selectors_namespaceObject, "getUserQueryResults", function() { return getUserQueryResults; }); __webpack_require__.d(build_module_selectors_namespaceObject, "getEntitiesByKind", function() { return getEntitiesByKind; }); -__webpack_require__.d(build_module_selectors_namespaceObject, "getEntity", function() { return getEntity; }); +__webpack_require__.d(build_module_selectors_namespaceObject, "getEntity", function() { return selectors_getEntity; }); __webpack_require__.d(build_module_selectors_namespaceObject, "getEntityRecord", function() { return getEntityRecord; }); __webpack_require__.d(build_module_selectors_namespaceObject, "getRawEntityRecord", function() { return getRawEntityRecord; }); __webpack_require__.d(build_module_selectors_namespaceObject, "getEntityRecords", function() { return getEntityRecords; }); @@ -302,19 +313,19 @@ var objectSpread = __webpack_require__(7); var external_this_wp_data_ = __webpack_require__(4); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(23); +var slicedToArray = __webpack_require__(22); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(17); +var toConsumableArray = __webpack_require__(18); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(10); +var defineProperty = __webpack_require__(9); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); // EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} -var external_this_wp_isShallowEqual_ = __webpack_require__(41); +var external_this_wp_isShallowEqual_ = __webpack_require__(45); var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_); // CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/conservative-map-item.js @@ -524,14 +535,14 @@ function receiveQueriedItems(items) { } // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(36); +var rememo = __webpack_require__(38); // EXTERNAL MODULE: ./node_modules/equivalent-key-map/equivalent-key-map.js -var equivalent_key_map = __webpack_require__(73); +var equivalent_key_map = __webpack_require__(76); var equivalent_key_map_default = /*#__PURE__*/__webpack_require__.n(equivalent_key_map); // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(26); +var external_this_wp_url_ = __webpack_require__(25); // CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/queried-data/get-query-parts.js @@ -699,11 +710,11 @@ var getQueriedItems = Object(rememo["a" /* default */])(function (state) { }); // EXTERNAL MODULE: external {"this":"regeneratorRuntime"} -var external_this_regeneratorRuntime_ = __webpack_require__(20); +var external_this_regeneratorRuntime_ = __webpack_require__(23); var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_); // EXTERNAL MODULE: external {"this":["wp","apiFetch"]} -var external_this_wp_apiFetch_ = __webpack_require__(34); +var external_this_wp_apiFetch_ = __webpack_require__(37); var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_); // CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/controls.js @@ -784,31 +795,11 @@ var controls = { }), RESOLVE_SELECT: Object(external_this_wp_data_["createRegistryControl"])(function (registry) { return function (_ref3) { + var _registry$__experimen; + var selectorName = _ref3.selectorName, args = _ref3.args; - return new Promise(function (resolve) { - var hasFinished = function hasFinished() { - return registry.select('core/data').hasFinishedResolution('core', selectorName, args); - }; - - var getResult = function getResult() { - return registry.select('core')[selectorName].apply(null, args); - }; // trigger the selector (to trigger the resolver) - - - var result = getResult(); - - if (hasFinished()) { - return resolve(result); - } - - var unsubscribe = registry.subscribe(function () { - if (hasFinished()) { - unsubscribe(); - resolve(getResult()); - } - }); - }); + return (_registry$__experimen = registry.__experimentalResolveSelect('core'))[selectorName].apply(_registry$__experimen, Object(toConsumableArray["a" /* default */])(args)); }; }) }; @@ -820,7 +811,7 @@ var controls = { var _marked = /*#__PURE__*/ -external_this_regeneratorRuntime_default.a.mark(editEntityRecord), +external_this_regeneratorRuntime_default.a.mark(actions_editEntityRecord), _marked2 = /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(undo), @@ -829,7 +820,7 @@ external_this_regeneratorRuntime_default.a.mark(undo), external_this_regeneratorRuntime_default.a.mark(redo), _marked4 = /*#__PURE__*/ -external_this_regeneratorRuntime_default.a.mark(saveEntityRecord), +external_this_regeneratorRuntime_default.a.mark(actions_saveEntityRecord), _marked5 = /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(saveEditedEntityRecord); @@ -946,8 +937,8 @@ function receiveThemeSupports(themeSupports) { * Returns an action object used in signalling that the preview data for * a given URl has been received. * - * @param {string} url URL to preview the embed for. - * @param {Mixed} preview Preview data. + * @param {string} url URL to preview the embed for. + * @param {*} preview Preview data. * * @return {Object} Action object. */ @@ -973,7 +964,7 @@ function receiveEmbedPreview(url, preview) { * @return {Object} Action object. */ -function editEntityRecord(kind, name, recordId, edits) { +function actions_editEntityRecord(kind, name, recordId, edits) { var options, entity, _entity$transientEdit, @@ -1153,7 +1144,7 @@ function __unstableCreateUndoLevel() { * @param {Object} options Saving options. */ -function saveEntityRecord(kind, name, record) { +function actions_saveEntityRecord(kind, name, record) { var _ref, _ref$isAutosave, isAutosave, @@ -1365,7 +1356,7 @@ function saveEntityRecord(kind, name, record) { return receiveEntityRecords(kind, name, persistedEntity, undefined, true); case 63: - _context4.t1 = editEntityRecord; + _context4.t1 = actions_editEntityRecord; _context4.t2 = kind; _context4.t3 = name; _context4.t4 = recordId; @@ -1440,7 +1431,7 @@ function saveEditedEntityRecord(kind, name, recordId, options) { record = Object(objectSpread["a" /* default */])({ id: recordId }, edits); - return _context5.delegateYield(saveEntityRecord(kind, name, record, options), "t0", 9); + return _context5.delegateYield(actions_saveEntityRecord(kind, name, record, options), "t0", 9); case 9: case "end": @@ -1524,6 +1515,10 @@ external_this_regeneratorRuntime_default.a.mark(getKindEntities); var DEFAULT_ENTITY_KEY = 'id'; var defaultEntities = [{ + name: 'site', + kind: 'root', + baseURL: '/wp/v2/settings' +}, { name: 'postType', kind: 'root', key: 'slug', @@ -1543,7 +1538,10 @@ var defaultEntities = [{ name: 'widgetArea', kind: 'root', baseURL: '/__experimental/widget-areas', - plural: 'widgetAreas' + plural: 'widgetAreas', + transientEdits: { + blocks: true + } }]; var kinds = [{ name: 'postType', @@ -1577,7 +1575,9 @@ function loadPostTypeEntities() { baseURL: '/wp/v2/' + postType.rest_base, name: name, transientEdits: { - blocks: true + blocks: true, + selectionStart: true, + selectionEnd: true }, mergedEdits: { meta: true @@ -1774,10 +1774,10 @@ function reducer_items() { switch (action.type) { case 'RECEIVE_ITEMS': var key = action.key || DEFAULT_ENTITY_KEY; - return Object(objectSpread["a" /* default */])({}, state, action.items.reduce(function (acc, value) { + return Object(objectSpread["a" /* default */])({}, state, action.items.reduce(function (accumulator, value) { var itemId = value[key]; - acc[itemId] = conservativeMapItem(state[itemId], value); - return acc; + accumulator[itemId] = conservativeMapItem(state[itemId], value); + return accumulator; }, {})); } @@ -2179,7 +2179,18 @@ function reducer_undo() { if (isCreateUndoLevel) { action = lastEditAction; } else if (!isUndoOrRedo) { - lastEditAction = action; + // Don't lose the last edit cache if the new one only has transient edits. + // Transient edits don't create new levels so updating the cache would make + // us skip an edit later when creating levels explicitly. + if (Object.keys(action.edits).some(function (key) { + return !action.transientEdits[key]; + })) { + lastEditAction = action; + } else { + lastEditAction = Object(objectSpread["a" /* default */])({}, action, { + edits: Object(objectSpread["a" /* default */])({}, lastEditAction && lastEditAction.edits, action.edits) + }); + } } var nextState; @@ -2333,7 +2344,7 @@ function reducer_autosaves() { })); // EXTERNAL MODULE: external {"this":["wp","deprecated"]} -var external_this_wp_deprecated_ = __webpack_require__(37); +var external_this_wp_deprecated_ = __webpack_require__(35); var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_deprecated_); // CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/name.js @@ -2443,7 +2454,7 @@ function getEntitiesByKind(state, kind) { * @return {Object} Entity */ -function getEntity(state, kind, name) { +function selectors_getEntity(state, kind, name) { return Object(external_this_lodash_["find"])(state.entities.config, { kind: kind, name: name @@ -2477,12 +2488,12 @@ function getEntityRecord(state, kind, name, key) { var getRawEntityRecord = Object(rememo["a" /* default */])(function (state, kind, name, key) { var record = getEntityRecord(state, kind, name, key); - return record && Object.keys(record).reduce(function (acc, _key) { + return record && Object.keys(record).reduce(function (accumulator, _key) { // Because edits are the "raw" attribute values, // we return those from record selectors to make rendering, // comparisons, and joins with edits easier. - acc[_key] = Object(external_this_lodash_["get"])(record[_key], 'raw', record[_key]); - return acc; + accumulator[_key] = Object(external_this_lodash_["get"])(record[_key], 'raw', record[_key]); + return accumulator; }, {}); }, function (state) { return [state.entities.data]; @@ -2537,7 +2548,7 @@ function getEntityRecordEdits(state, kind, name, recordId) { */ var getEntityRecordNonTransientEdits = Object(rememo["a" /* default */])(function (state, kind, name, recordId) { - var _ref = getEntity(state, kind, name) || {}, + var _ref = selectors_getEntity(state, kind, name) || {}, transientEdits = _ref.transientEdits; var edits = getEntityRecordEdits(state, kind, name, recordId) || {}; @@ -2979,16 +2990,21 @@ function resolvers_getCurrentUser() { * @param {number} key Record's key */ -function resolvers_getEntityRecord(kind, name, key) { - var entities, entity, record; +function resolvers_getEntityRecord(kind, name) { + var key, + entities, + entity, + record, + _args3 = arguments; return external_this_regeneratorRuntime_default.a.wrap(function getEntityRecord$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: - _context3.next = 2; + key = _args3.length > 2 && _args3[2] !== undefined ? _args3[2] : ''; + _context3.next = 3; return getKindEntities(kind); - case 2: + case 3: entities = _context3.sent; entity = Object(external_this_lodash_["find"])(entities, { kind: kind, @@ -2996,24 +3012,24 @@ function resolvers_getEntityRecord(kind, name, key) { }); if (entity) { - _context3.next = 6; + _context3.next = 7; break; } return _context3.abrupt("return"); - case 6: - _context3.next = 8; + case 7: + _context3.next = 9; return apiFetch({ path: "".concat(entity.baseURL, "/").concat(key, "?context=edit") }); - case 8: + case 9: record = _context3.sent; - _context3.next = 11; + _context3.next = 12; return receiveEntityRecords(kind, name, record); - case 11: + case 12: case "end": return _context3.stop(); } @@ -3323,7 +3339,192 @@ function resolvers_getAutosave(postType, postId) { }, _marked10); } +// EXTERNAL MODULE: external {"this":["wp","element"]} +var external_this_wp_element_ = __webpack_require__(0); + +// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/entity-provider.js + + + + + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + + +var entity_provider_entities = Object(objectSpread["a" /* default */])({}, defaultEntities.reduce(function (acc, entity) { + if (!acc[entity.kind]) { + acc[entity.kind] = {}; + } + + acc[entity.kind][entity.name] = { + context: Object(external_this_wp_element_["createContext"])() + }; + return acc; +}, {}), kinds.reduce(function (acc, kind) { + acc[kind.name] = {}; + return acc; +}, {})); + +var entity_provider_getEntity = function getEntity(kind, type) { + if (!entity_provider_entities[kind]) { + throw new Error("Missing entity config for kind: ".concat(kind, ".")); + } + + if (!entity_provider_entities[kind][type]) { + entity_provider_entities[kind][type] = { + context: Object(external_this_wp_element_["createContext"])() + }; + } + + return entity_provider_entities[kind][type]; +}; +/** + * Context provider component for providing + * an entity for a specific entity type. + * + * @param {Object} props The component's props. + * @param {string} props.kind The entity kind. + * @param {string} props.type The entity type. + * @param {number} props.id The entity ID. + * @param {*} props.children The children to wrap. + * + * @return {Object} The provided children, wrapped with + * the entity's context provider. + */ + + +function EntityProvider(_ref) { + var kind = _ref.kind, + type = _ref.type, + id = _ref.id, + children = _ref.children; + var Provider = entity_provider_getEntity(kind, type).context.Provider; + return Object(external_this_wp_element_["createElement"])(Provider, { + value: id + }, children); +} +/** + * Hook that returns the ID for the nearest + * provided entity of the specified type. + * + * @param {string} kind The entity kind. + * @param {string} type The entity type. + */ + +function useEntityId(kind, type) { + return Object(external_this_wp_element_["useContext"])(entity_provider_getEntity(kind, type).context); +} +/** + * Hook that returns the value and a setter for the + * specified property of the nearest provided + * entity of the specified type. + * + * @param {string} kind The entity kind. + * @param {string} type The entity type. + * @param {string} prop The property name. + * + * @return {[*, Function]} A tuple where the first item is the + * property value and the second is the + * setter. + */ + +function useEntityProp(kind, type, prop) { + var id = useEntityId(kind, type); + var value = Object(external_this_wp_data_["useSelect"])(function (select) { + var _select = select('core'), + getEntityRecord = _select.getEntityRecord, + getEditedEntityRecord = _select.getEditedEntityRecord; + + getEntityRecord(kind, type, id); // Trigger resolver. + + var entity = getEditedEntityRecord(kind, type, id); + return entity && entity[prop]; + }, [kind, type, id, prop]); + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core'), + editEntityRecord = _useDispatch.editEntityRecord; + + var setValue = Object(external_this_wp_element_["useCallback"])(function (newValue) { + editEntityRecord(kind, type, id, Object(defineProperty["a" /* default */])({}, prop, newValue)); + }, [kind, type, id, prop]); + return [value, setValue]; +} +/** + * Hook that returns whether the nearest provided + * entity of the specified type is dirty, saving, + * and a function to save it. + * + * The last, optional parameter is for scoping the + * selection to a single property or a list properties. + * + * By default, dirtyness detection and saving considers + * and handles all properties of an entity, but this + * last parameter lets you scope it to a single property + * or a list of properties for each instance of this hook. + * + * @param {string} kind The entity kind. + * @param {string} type The entity type. + * @param {string|[string]} [props] The property name or list of property names. + */ + +function __experimentalUseEntitySaving(kind, type, props) { + var id = useEntityId(kind, type); + + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + var _select2 = select('core'), + getEntityRecordNonTransientEdits = _select2.getEntityRecordNonTransientEdits, + isSavingEntityRecord = _select2.isSavingEntityRecord; + + var _edits = getEntityRecordNonTransientEdits(kind, type, id); + + var editKeys = Object.keys(_edits); + return [props ? editKeys.some(function (key) { + return typeof props === 'string' ? key === props : props.includes(key); + }) : editKeys.length > 0, isSavingEntityRecord(kind, type, id), _edits]; + }, [kind, type, id, props]), + _useSelect2 = Object(slicedToArray["a" /* default */])(_useSelect, 3), + isDirty = _useSelect2[0], + isSaving = _useSelect2[1], + edits = _useSelect2[2]; + + var _useDispatch2 = Object(external_this_wp_data_["useDispatch"])('core'), + saveEntityRecord = _useDispatch2.saveEntityRecord; + + var save = Object(external_this_wp_element_["useCallback"])(function () { + var filteredEdits = edits; + + if (typeof props === 'string') { + filteredEdits = Object(defineProperty["a" /* default */])({}, props, filteredEdits[props]); + } else if (props) { + filteredEdits = filteredEdits.reduce(function (acc, key) { + if (props.includes(key)) { + acc[key] = filteredEdits[key]; + } + + return acc; + }, {}); + } + + saveEntityRecord(kind, type, Object(objectSpread["a" /* default */])({ + id: id + }, filteredEdits)); + }, [kind, type, id, props, edits]); + return [isDirty, isSaving, save]; +} + // CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/index.js +/* concated harmony reexport EntityProvider */__webpack_require__.d(__webpack_exports__, "EntityProvider", function() { return EntityProvider; }); +/* concated harmony reexport useEntityId */__webpack_require__.d(__webpack_exports__, "useEntityId", function() { return useEntityId; }); +/* concated harmony reexport useEntityProp */__webpack_require__.d(__webpack_exports__, "useEntityProp", function() { return useEntityProp; }); +/* concated harmony reexport __experimentalUseEntitySaving */__webpack_require__.d(__webpack_exports__, "__experimentalUseEntitySaving", function() { return __experimentalUseEntitySaving; }); /** @@ -3398,7 +3599,7 @@ var entityActions = defaultEntities.reduce(function (result, entity) { name = entity.name; result[entities_getMethodName(kind, name, 'save')] = function (key) { - return saveEntityRecord(kind, name, key); + return actions_saveEntityRecord(kind, name, key); }; return result; @@ -3412,9 +3613,17 @@ Object(external_this_wp_data_["registerStore"])(REDUCER_KEY, { }); + /***/ }), -/***/ 36: +/***/ 37: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["apiFetch"]; }()); + +/***/ }), + +/***/ 38: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -3694,35 +3903,6 @@ function isShallowEqual( a, b, fromIndex ) { }); -/***/ }), - -/***/ 37: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["deprecated"]; }()); - -/***/ }), - -/***/ 38: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); -function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; -} - -/***/ }), - -/***/ 39: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); -function _nonIterableRest() { - throw new TypeError("Invalid attempt to destructure non-iterable instance"); -} - /***/ }), /***/ 4: @@ -3732,7 +3912,7 @@ function _nonIterableRest() { /***/ }), -/***/ 41: +/***/ 45: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["isShallowEqual"]; }()); @@ -3744,12 +3924,12 @@ function _nonIterableRest() { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(source); + var ownKeys = Object.keys(Object(source)); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -3767,7 +3947,7 @@ function _objectSpread(target) { /***/ }), -/***/ 73: +/***/ 76: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -4080,6 +4260,28 @@ function () { module.exports = EquivalentKeyMap; +/***/ }), + +/***/ 9: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/core-data.min.js b/wp-includes/js/dist/core-data.min.js index 5889633ace..50030f333a 100644 --- a/wp-includes/js/dist/core-data.min.js +++ b/wp-includes/js/dist/core-data.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.coreData=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=349)}({10:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},17:function(e,t,n){"use strict";var r=n(30);function a(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,a=r[e];if(void 0===a)return n;var u=t(n[a],r);return u===n[a]?n:Object(i.a)({},n,Object(d.a)({},a,u))}}},h=function(e){return function(t){return function(n,r){return t(n,e(r))}}};var E=function(e){var t=new WeakMap;return function(n){var r;return t.has(n)?r=t.get(n):(r=e(n),Object(f.isObjectLike)(n)&&t.set(n,r)),r}};function y(e){return{type:"RECEIVE_ITEMS",items:Object(f.castArray)(e)}}var g=n(36),O=n(73),m=n.n(O),j=n(26);var w=E((function(e){for(var t={stableKey:"",page:1,perPage:10},n=Object.keys(e).sort(),r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=x.get(e);if(n){var r=n.get(t);if(void 0!==r)return r}else n=new m.a,x.set(e,n);var a=R(e,t);return n.set(t,a),a})),_=n(20),T=n.n(_),I=n(34),S=n.n(I);function A(e){return{type:"API_FETCH",request:e}}function U(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1?t-1:0),r=1;r4&&void 0!==arguments[4]&&arguments[4];return"postType"===e&&(n=Object(f.castArray)(n).map((function(e){return"auto-draft"===e.status?Object(i.a)({},e,{title:""}):e}))),a=r?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)({},y(e),{query:t})}(n,r):y(n),Object(i.a)({},a,{kind:e,name:t,invalidateCache:u})}function K(e){return{type:"RECEIVE_THEME_SUPPORTS",themeSupports:e}}function Q(e,t){return{type:"RECEIVE_EMBED_PREVIEW",url:e,preview:t}}function W(e,t,n,r){var a,u,c,o,s,d,v,l,p,b=arguments;return T.a.wrap((function(h){for(;;)switch(h.prev=h.next){case 0:return a=b.length>4&&void 0!==b[4]?b[4]:{},h.next=3,U("getEntity",e,t);case 3:if(u=h.sent){h.next=6;break}throw new Error("The entity being edited (".concat(e,", ").concat(t,") does not have a loaded config."));case 6:return c=u.transientEdits,o=void 0===c?{}:c,s=u.mergedEdits,d=void 0===s?{}:s,h.next=9,U("getRawEntityRecord",e,t,n);case 9:return v=h.sent,h.next=12,U("getEditedEntityRecord",e,t,n);case 12:return l=h.sent,p={kind:e,name:t,recordId:n,edits:Object.keys(r).reduce((function(e,t){var n=v[t],a=l[t],u=d[t]?Object(i.a)({},a,r[t]):r[t];return e[t]=Object(f.isEqual)(n,u)?void 0:u,e}),{}),transientEdits:o},h.abrupt("return",Object(i.a)({type:"EDIT_ENTITY_RECORD"},p,{meta:{undo:!a.undoIgnore&&Object(i.a)({},p,{edits:Object.keys(r).reduce((function(e,t){return e[t]=l[t],e}),{})})}}));case 15:case"end":return h.stop()}}),D)}function H(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,U("getUndoEdit");case 2:if(e=t.sent){t.next=5;break}return t.abrupt("return");case 5:return t.next=7,Object(i.a)({type:"EDIT_ENTITY_RECORD"},e,{meta:{isUndo:!0}});case 7:case"end":return t.stop()}}),M)}function z(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,U("getRedoEdit");case 2:if(e=t.sent){t.next=5;break}return t.abrupt("return");case 5:return t.next=7,Object(i.a)({type:"EDIT_ENTITY_RECORD"},e,{meta:{isRedo:!0}});case 7:case"end":return t.stop()}}),V)}function G(){return{type:"CREATE_UNDO_LEVEL"}}function X(e,t,n){var r,a,u,c,o,s,d,v,l,p,b,h,E,y,g,O,m,j,w,x=arguments;return T.a.wrap((function(R){for(;;)switch(R.prev=R.next){case 0:return r=x.length>3&&void 0!==x[3]?x[3]:{isAutosave:!1},a=r.isAutosave,u=void 0!==a&&a,R.next=3,de(e);case 3:if(c=R.sent,o=Object(f.find)(c,{kind:e,name:t})){R.next=7;break}return R.abrupt("return");case 7:return s=o.key||ae,d=n[s],R.next=11,{type:"SAVE_ENTITY_RECORD_START",kind:e,name:t,recordId:d,isAutosave:u};case 11:return R.prev=11,h="".concat(o.baseURL).concat(d?"/"+d:""),R.next=15,U("getRawEntityRecord",e,t,d);case 15:if(E=R.sent,!u){R.next=40;break}return R.next=19,U("getCurrentUser");case 19:return y=R.sent,g=y?y.id:void 0,R.next=23,U("getAutosave",E.type,E.id,g);case 23:return O=R.sent,m=Object(i.a)({},E,O,n),m=Object.keys(m).reduce((function(e,t){return["title","excerpt","content"].includes(t)&&(e[t]=Object(f.get)(m[t],"raw",m[t])),e}),{status:"auto-draft"===m.status?"draft":m.status}),R.next=28,A({path:"".concat(h,"/autosaves"),method:"POST",data:m});case 28:if(v=R.sent,E.id!==v.id){R.next=36;break}return j=Object(i.a)({},E,m,v),j=Object.keys(j).reduce((function(e,t){return["title","excerpt","content"].includes(t)?e[t]=Object(f.get)(j[t],"raw",j[t]):e[t]="status"===t?"auto-draft"===E.status&&"draft"===j.status?j.status:E.status:Object(f.get)(E[t],"raw",E[t]),e}),{}),R.next=34,B(e,t,j,void 0,!0);case 34:R.next=38;break;case 36:return R.next=38,ee(E.id,v);case 38:R.next=55;break;case 40:return w=n,"postType"===e&&E&&"auto-draft"===E.status&&(w.status||(w=Object(i.a)({},w,{status:"draft"})),w.title&&"Auto Draft"!==w.title||(w=Object(i.a)({},w,{title:""}))),R.next=44,U("getEntityRecord",e,t,d);case 44:return p=R.sent,R.next=47,U("getEntityRecordEdits",e,t,d);case 47:return b=R.sent,R.next=50,B(e,t,Object(i.a)({},p,w),void 0,!0);case 50:return R.next=52,A({path:h,method:d?"PUT":"POST",data:w});case 52:return v=R.sent,R.next=55,B(e,t,v,void 0,!0);case 55:R.next=77;break;case 57:if(R.prev=57,R.t0=R.catch(11),l=R.t0,!p||!b){R.next=77;break}return R.next=63,B(e,t,p,void 0,!0);case 63:return R.t1=W,R.t2=e,R.t3=t,R.t4=d,R.t5=i.a,R.t6={},R.t7=b,R.next=72,U("getEntityRecordEdits",e,t,d);case 72:return R.t8=R.sent,R.t9=(0,R.t5)(R.t6,R.t7,R.t8),R.t10={undoIgnore:!0},R.next=77,(0,R.t1)(R.t2,R.t3,R.t4,R.t9,R.t10);case 77:return R.next=79,{type:"SAVE_ENTITY_RECORD_FINISH",kind:e,name:t,recordId:d,error:l,isAutosave:u};case 79:return R.abrupt("return",v);case 80:case"end":return R.stop()}}),N,null,[[11,57]])}function J(e,t,n,r){var a,u;return T.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,U("hasEditsForEntityRecord",e,t,n);case 2:if(c.sent){c.next=4;break}return c.abrupt("return");case 4:return c.next=6,U("getEntityRecordNonTransientEdits",e,t,n);case 6:return a=c.sent,u=Object(i.a)({id:n},a),c.delegateYield(X(e,t,u,r),"t0",9);case 9:case"end":return c.stop()}}),q)}function Z(e){return{type:"RECEIVE_USER_PERMISSION",key:"create/media",isAllowed:e}}function $(e,t){return{type:"RECEIVE_USER_PERMISSION",key:e,isAllowed:t}}function ee(e,t){return{type:"RECEIVE_AUTOSAVES",postId:e,autosaves:Object(f.castArray)(t)}}var te=T.a.mark(ce),ne=T.a.mark(oe),re=T.a.mark(de),ae="id",ue=[{name:"postType",kind:"root",key:"slug",baseURL:"/wp/v2/types"},{name:"media",kind:"root",baseURL:"/wp/v2/media",plural:"mediaItems"},{name:"taxonomy",kind:"root",key:"slug",baseURL:"/wp/v2/taxonomies",plural:"taxonomies"},{name:"widgetArea",kind:"root",baseURL:"/__experimental/widget-areas",plural:"widgetAreas"}],ie=[{name:"postType",loadEntities:ce},{name:"taxonomy",loadEntities:oe}];function ce(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A({path:"/wp/v2/types?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(f.map)(e,(function(e,t){return{kind:"postType",baseURL:"/wp/v2/"+e.rest_base,name:t,transientEdits:{blocks:!0},mergedEdits:{meta:!0}}})));case 4:case"end":return t.stop()}}),te)}function oe(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A({path:"/wp/v2/taxonomies?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(f.map)(e,(function(e,t){return{kind:"taxonomy",baseURL:"/wp/v2/"+e.rest_base,name:t}})));case 4:case"end":return t.stop()}}),ne)}var se=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"get",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=Object(f.find)(ue,{kind:e,name:t}),u="root"===e?"":Object(f.upperFirst)(Object(f.camelCase)(e)),i=Object(f.upperFirst)(Object(f.camelCase)(t))+(r?"s":""),c=r&&a.plural?Object(f.upperFirst)(Object(f.camelCase)(a.plural)):i;return"".concat(n).concat(u).concat(c)};function de(e){var t,n;return T.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,U("getEntitiesByKind",e);case 2:if(!(t=r.sent)||0===t.length){r.next=5;break}return r.abrupt("return",t);case 5:if(n=Object(f.find)(ie,{name:e})){r.next=8;break}return r.abrupt("return",[]);case 8:return r.next=10,n.loadEntities();case 10:return t=r.sent,r.next=13,Y(t);case 13:return r.abrupt("return",t);case 14:case"end":return r.stop()}}),re)}function fe(e,t,n,r){for(var a=(n-1)*r,u=Math.max(e.length,a+t.length),i=new Array(u),c=0;c=a&&c0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.page,a=t.perPage,u=t.key,i=void 0===u?ae:u;return"RECEIVE_ITEMS"!==n?e:fe(e||[],Object(f.map)(t.items,i),r,a)})),le=Object(c.combineReducers)({items:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":var n=t.key||ae;return Object(i.a)({},e,t.items.reduce((function(t,r){var a=r[n];return t[a]=function(e,t){if(!e)return t;var n=!1,r={};for(var a in t)Object(f.isEqual)(e[a],t[a])?r[a]=e[a]:(n=!0,r[a]=t[a]);return n?r:e}(e[a],r),t}),{}))}return e},queries:ve});function pe(e){return Object(f.flowRight)([p((function(t){return t.name&&t.kind&&t.name===e.name&&t.kind===e.kind})),h((function(t){return Object(i.a)({},t,{key:e.key||ae})}))])(Object(c.combineReducers)({queriedData:le,edits:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":var n=Object(i.a)({},e),r=!0,a=!1,u=void 0;try{for(var c,o=function(){var e=c.value,r=e[t.key],a=n[r];if(!a)return"continue";var u=Object.keys(a).reduce((function(t,n){return Object(f.isEqual)(a[n],Object(f.get)(e[n],"raw",e[n]))||(t[n]=a[n]),t}),{});Object.keys(u).length?n[r]=u:delete n[r]},s=t.items[Symbol.iterator]();!(r=(c=s.next()).done);r=!0)o()}catch(e){a=!0,u=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw u}}return n;case"EDIT_ENTITY_RECORD":var v=Object(i.a)({},e[t.recordId],t.edits);return Object.keys(v).forEach((function(e){void 0===v[e]&&delete v[e]})),Object(i.a)({},e,Object(d.a)({},t.recordId,v))}return e},saving:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SAVE_ENTITY_RECORD_START":case"SAVE_ENTITY_RECORD_FINISH":return Object(i.a)({},e,Object(d.a)({},t.recordId,{pending:"SAVE_ENTITY_RECORD_START"===t.type,error:t.error,isAutosave:t.isAutosave}))}return e}}))}function be(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ue,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_ENTITIES":return[].concat(Object(s.a)(e),Object(s.a)(t.entities))}return e}var he,Ee=[];Ee.offset=0;var ye=Object(c.combineReducers)({terms:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TERMS":return Object(i.a)({},e,Object(d.a)({},t.taxonomy,t.terms))}return e},users:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{byId:{},queries:{}},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_QUERY":return{byId:Object(i.a)({},e.byId,Object(f.keyBy)(t.users,"id")),queries:Object(i.a)({},e.queries,Object(d.a)({},t.queryID,Object(f.map)(t.users,(function(e){return e.id}))))}}return e},currentUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_CURRENT_USER":return t.currentUser}return e},taxonomies:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TAXONOMIES":return t.taxonomies}return e},themeSupports:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_THEME_SUPPORTS":return Object(i.a)({},e,t.themeSupports)}return e},entities:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=be(e.config,t),r=e.reducer;if(!r||n!==e.config){var a=Object(f.groupBy)(n,"kind");r=Object(c.combineReducers)(Object.entries(a).reduce((function(e,t){var n=Object(o.a)(t,2),r=n[0],a=n[1],u=Object(c.combineReducers)(a.reduce((function(e,t){return Object(i.a)({},e,Object(d.a)({},t.name,pe(t)))}),{}));return e[r]=u,e}),{}))}var u=r(e.data,t);return u===e.data&&n===e.config&&r===e.reducer?e:{reducer:r,data:u,config:n}},undo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ee,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"EDIT_ENTITY_RECORD":case"CREATE_UNDO_LEVEL":var n,r="CREATE_UNDO_LEVEL"===t.type,a=!r&&(t.meta.isUndo||t.meta.isRedo);if(r?t=he:a||(he=t),a){if((n=Object(s.a)(e)).offset=e.offset+(t.meta.isUndo?-1:1),!e.flattenedUndo)return n;r=!0,t=he}if(!t.meta.undo)return e;if(!r&&!Object.keys(t.edits).some((function(e){return!t.transientEdits[e]})))return(n=Object(s.a)(e)).flattenedUndo=Object(i.a)({},e.flattenedUndo,t.edits),n.offset=e.offset,n;(n=n||e.slice(0,e.offset||void 0)).offset=n.offset||0,n.pop(),r||n.push({kind:t.meta.undo.kind,name:t.meta.undo.name,recordId:t.meta.undo.recordId,edits:Object(i.a)({},e.flattenedUndo,t.meta.undo.edits)});var u=Object.values(t.meta.undo.edits).filter((function(e){return"function"!=typeof e})),c=Object.values(t.edits).filter((function(e){return"function"!=typeof e}));return l()(u,c)||n.push({kind:t.kind,name:t.name,recordId:t.recordId,edits:r?Object(i.a)({},e.flattenedUndo,t.edits):t.edits}),n}return e},embedPreviews:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_EMBED_PREVIEW":var n=t.url,r=t.preview;return Object(i.a)({},e,Object(d.a)({},n,r))}return e},userPermissions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_PERMISSION":return Object(i.a)({},e,Object(d.a)({},t.key,t.isAllowed))}return e},autosaves:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_AUTOSAVES":var n=t.postId,r=t.autosaves;return Object(i.a)({},e,Object(d.a)({},n,r))}return e}}),ge=n(37),Oe=n.n(ge),me=Object(c.createRegistrySelector)((function(e){return function(t,n){return e("core/data").isResolving("core","getEmbedPreview",[n])}}));function je(e){return xe(e,"authors")}function we(e){return e.currentUser}var xe=Object(g.a)((function(e,t){var n=e.users.queries[t];return Object(f.map)(n,(function(t){return e.users.byId[t]}))}),(function(e,t){return[e.users.queries[t],e.users.byId]}));function Re(e,t){return Object(f.filter)(e.entities.config,{kind:t})}function ke(e,t,n){return Object(f.find)(e.entities.config,{kind:t,name:n})}function _e(e,t,n,r){return Object(f.get)(e.entities.data,[t,n,"queriedData","items",r])}var Te=Object(g.a)((function(e,t,n,r){var a=_e(e,t,n,r);return a&&Object.keys(a).reduce((function(e,t){return e[t]=Object(f.get)(a[t],"raw",a[t]),e}),{})}),(function(e){return[e.entities.data]}));function Ie(e,t,n,r){var a=Object(f.get)(e.entities.data,[t,n,"queriedData"]);return a?k(a,r):[]}function Se(e,t,n,r){return Object(f.get)(e.entities.data,[t,n,"edits",r])}var Ae=Object(g.a)((function(e,t,n,r){var a=(ke(e,t,n)||{}).transientEdits,u=Se(e,t,n,r)||{};return a?Object.keys(u).reduce((function(e,t){return a[t]||(e[t]=u[t]),e}),{}):u}),(function(e){return[e.entities.config,e.entities.data]}));function Ue(e,t,n,r){return De(e,t,n,r)||Object.keys(Ae(e,t,n,r)).length>0}var Ce=Object(g.a)((function(e,t,n,r){return Object(i.a)({},Te(e,t,n,r),Se(e,t,n,r))}),(function(e){return[e.entities.data]}));function Pe(e,t,n,r){var a=Object(f.get)(e.entities.data,[t,n,"saving",r],{}),u=a.pending,i=a.isAutosave;return Boolean(u&&i)}function De(e,t,n,r){return Object(f.get)(e.entities.data,[t,n,"saving",r,"pending"],!1)}function Me(e,t,n,r){return Object(f.get)(e.entities.data,[t,n,"saving",r,"error"])}function Ve(e){return e.undo.offset}function Ne(e){return e.undo[e.undo.length-2+Ve(e)]}function qe(e){return e.undo[e.undo.length+Ve(e)]}function Le(e){return Boolean(Ne(e))}function Fe(e){return Boolean(qe(e))}function Ye(e){return e.themeSupports}function Be(e,t){return e.embedPreviews[t]}function Ke(e,t){var n=e.embedPreviews[t],r=''+t+"";return!!n&&n.html===r}function Qe(e){return Oe()("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),Object(f.defaultTo)(We(e,"create","media"),!0)}function We(e,t,n,r){var a=Object(f.compact)([t,n,r]).join("/");return Object(f.get)(e,["userPermissions",a])}function He(e,t,n){return e.autosaves[n]}function ze(e,t,n,r){if(void 0!==r){var a=e.autosaves[n];return Object(f.find)(a,{author:r})}}var Ge=Object(c.createRegistrySelector)((function(e){return function(t,n,r){return e("core").hasFinishedResolution("getAutosaves",[n,r])}})),Xe=Object(g.a)((function(){return[]}),(function(e){return[e.undo.length,e.undo.offset]})),Je=T.a.mark(ct),Ze=T.a.mark(ot),$e=T.a.mark(st),et=T.a.mark(dt),tt=T.a.mark(ft),nt=T.a.mark(vt),rt=T.a.mark(lt),at=T.a.mark(pt),ut=T.a.mark(bt),it=T.a.mark(ht);function ct(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A({path:"/wp/v2/users/?who=authors&per_page=-1"});case 2:return e=t.sent,t.next=5,L("authors",e);case 5:case"end":return t.stop()}}),Je)}function ot(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A({path:"/wp/v2/users/me"});case 2:return e=t.sent,t.next=5,F(e);case 5:case"end":return t.stop()}}),Ze)}function st(e,t,n){var r,a,u;return T.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,de(e);case 2:if(r=i.sent,a=Object(f.find)(r,{kind:e,name:t})){i.next=6;break}return i.abrupt("return");case 6:return i.next=8,A({path:"".concat(a.baseURL,"/").concat(n,"?context=edit")});case 8:return u=i.sent,i.next=11,B(e,t,u);case 11:case"end":return i.stop()}}),$e)}function dt(e,t){var n,r,a,u,c,o=arguments;return T.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return n=o.length>2&&void 0!==o[2]?o[2]:{},s.next=3,de(e);case 3:if(r=s.sent,a=Object(f.find)(r,{kind:e,name:t})){s.next=7;break}return s.abrupt("return");case 7:return u=Object(j.addQueryArgs)(a.baseURL,Object(i.a)({},n,{context:"edit"})),s.next=10,A({path:u});case 10:return c=s.sent,s.next=13,B(e,t,Object.values(c),n);case 13:case"end":return s.stop()}}),et)}function ft(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A({path:"/wp/v2/themes?status=active"});case 2:return e=t.sent,t.next=5,K(e[0].theme_supports);case 5:case"end":return t.stop()}}),tt)}function vt(e){var t;return T.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,A({path:Object(j.addQueryArgs)("/oembed/1.0/proxy",{url:e})});case 3:return t=n.sent,n.next=6,Q(e,t);case 6:n.next=12;break;case 8:return n.prev=8,n.t0=n.catch(0),n.next=12,Q(e,!1);case 12:case"end":return n.stop()}}),nt,null,[[0,8]])}function lt(){return T.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Oe()("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),e.delegateYield(pt("create","media"),"t0",2);case 2:case"end":return e.stop()}}),rt)}function pt(e,t,n){var r,a,u,i,c,o;return T.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(r={create:"POST",read:"GET",update:"PUT",delete:"DELETE"}[e]){s.next=4;break}throw new Error("'".concat(e,"' is not a valid action."));case 4:return a=n?"/wp/v2/".concat(t,"/").concat(n):"/wp/v2/".concat(t),s.prev=5,s.next=8,A({path:a,method:n?"GET":"OPTIONS",parse:!1});case 8:u=s.sent,s.next=14;break;case 11:return s.prev=11,s.t0=s.catch(5),s.abrupt("return");case 14:return i=Object(f.hasIn)(u,["headers","get"])?u.headers.get("allow"):Object(f.get)(u,["headers","Allow"],""),c=Object(f.compact)([e,t,n]).join("/"),o=Object(f.includes)(i,r),s.next=19,$(c,o);case 19:case"end":return s.stop()}}),at,null,[[5,11]])}function bt(e,t){var n,r,a;return T.a.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,C("getPostType",e);case 2:return n=u.sent,r=n.rest_base,u.next=6,A({path:"/wp/v2/".concat(r,"/").concat(t,"/autosaves?context=edit")});case 6:if(!(a=u.sent)||!a.length){u.next=10;break}return u.next=10,ee(t,a);case 10:case"end":return u.stop()}}),ut)}function ht(e,t){return T.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,C("getAutosaves",e,t);case 2:case"end":return n.stop()}}),it)}dt.shouldInvalidate=function(e,t,n){return"RECEIVE_ITEMS"===e.type&&e.invalidateCache&&t===e.kind&&n===e.name};var Et=ue.reduce((function(e,t){var n=t.kind,r=t.name;return e[se(n,r)]=function(e,t){return _e(e,n,r,t)},e[se(n,r,"get",!0)]=function(e){for(var t=arguments.length,u=new Array(t>1?t-1:0),i=1;i1?a-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(a,u){null!==u&&"object"===r(u)&&(a=a[1]),e.call(n,a,u,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&a(t.prototype,n),i&&a(t,i),e}();e.exports=i}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.coreData=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=369)}({0:function(e,t){!function(){e.exports=this.wp.element}()},18:function(e,t,n){"use strict";var r=n(32);function a(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,a=r[e];if(void 0===a)return n;var u=t(n[a],r);return u===n[a]?n:Object(c.a)({},n,Object(d.a)({},a,u))}}},E=function(e){return function(t){return function(n,r){return t(n,e(r))}}};var h=function(e){var t=new WeakMap;return function(n){var r;return t.has(n)?r=t.get(n):(r=e(n),Object(f.isObjectLike)(n)&&t.set(n,r)),r}};function y(e){return{type:"RECEIVE_ITEMS",items:Object(f.castArray)(e)}}var g=n(38),O=n(76),m=n.n(O),j=n(25);var w=h((function(e){for(var t={stableKey:"",page:1,perPage:10},n=Object.keys(e).sort(),r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=x.get(e);if(n){var r=n.get(t);if(void 0!==r)return r}else n=new m.a,x.set(e,n);var a=R(e,t);return n.set(t,a),a})),_=n(23),T=n.n(_),I=n(37),S=n.n(I);function A(e){return{type:"API_FETCH",request:e}}function U(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1?t-1:0),r=1;r4&&void 0!==arguments[4]&&arguments[4];return"postType"===e&&(n=Object(f.castArray)(n).map((function(e){return"auto-draft"===e.status?Object(c.a)({},e,{title:""}):e}))),a=r?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(c.a)({},y(e),{query:t})}(n,r):y(n),Object(c.a)({},a,{kind:e,name:t,invalidateCache:u})}function K(e){return{type:"RECEIVE_THEME_SUPPORTS",themeSupports:e}}function Q(e,t){return{type:"RECEIVE_EMBED_PREVIEW",url:e,preview:t}}function W(e,t,n,r){var a,u,i,o,s,d,v,l,p,b=arguments;return T.a.wrap((function(E){for(;;)switch(E.prev=E.next){case 0:return a=b.length>4&&void 0!==b[4]?b[4]:{},E.next=3,U("getEntity",e,t);case 3:if(u=E.sent){E.next=6;break}throw new Error("The entity being edited (".concat(e,", ").concat(t,") does not have a loaded config."));case 6:return i=u.transientEdits,o=void 0===i?{}:i,s=u.mergedEdits,d=void 0===s?{}:s,E.next=9,U("getRawEntityRecord",e,t,n);case 9:return v=E.sent,E.next=12,U("getEditedEntityRecord",e,t,n);case 12:return l=E.sent,p={kind:e,name:t,recordId:n,edits:Object.keys(r).reduce((function(e,t){var n=v[t],a=l[t],u=d[t]?Object(c.a)({},a,r[t]):r[t];return e[t]=Object(f.isEqual)(n,u)?void 0:u,e}),{}),transientEdits:o},E.abrupt("return",Object(c.a)({type:"EDIT_ENTITY_RECORD"},p,{meta:{undo:!a.undoIgnore&&Object(c.a)({},p,{edits:Object.keys(r).reduce((function(e,t){return e[t]=l[t],e}),{})})}}));case 15:case"end":return E.stop()}}),D)}function H(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,U("getUndoEdit");case 2:if(e=t.sent){t.next=5;break}return t.abrupt("return");case 5:return t.next=7,Object(c.a)({type:"EDIT_ENTITY_RECORD"},e,{meta:{isUndo:!0}});case 7:case"end":return t.stop()}}),M)}function z(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,U("getRedoEdit");case 2:if(e=t.sent){t.next=5;break}return t.abrupt("return");case 5:return t.next=7,Object(c.a)({type:"EDIT_ENTITY_RECORD"},e,{meta:{isRedo:!0}});case 7:case"end":return t.stop()}}),V)}function G(){return{type:"CREATE_UNDO_LEVEL"}}function X(e,t,n){var r,a,u,i,o,s,d,v,l,p,b,E,h,y,g,O,m,j,w,x=arguments;return T.a.wrap((function(R){for(;;)switch(R.prev=R.next){case 0:return r=x.length>3&&void 0!==x[3]?x[3]:{isAutosave:!1},a=r.isAutosave,u=void 0!==a&&a,R.next=3,de(e);case 3:if(i=R.sent,o=Object(f.find)(i,{kind:e,name:t})){R.next=7;break}return R.abrupt("return");case 7:return s=o.key||ae,d=n[s],R.next=11,{type:"SAVE_ENTITY_RECORD_START",kind:e,name:t,recordId:d,isAutosave:u};case 11:return R.prev=11,E="".concat(o.baseURL).concat(d?"/"+d:""),R.next=15,U("getRawEntityRecord",e,t,d);case 15:if(h=R.sent,!u){R.next=40;break}return R.next=19,U("getCurrentUser");case 19:return y=R.sent,g=y?y.id:void 0,R.next=23,U("getAutosave",h.type,h.id,g);case 23:return O=R.sent,m=Object(c.a)({},h,O,n),m=Object.keys(m).reduce((function(e,t){return["title","excerpt","content"].includes(t)&&(e[t]=Object(f.get)(m[t],"raw",m[t])),e}),{status:"auto-draft"===m.status?"draft":m.status}),R.next=28,A({path:"".concat(E,"/autosaves"),method:"POST",data:m});case 28:if(v=R.sent,h.id!==v.id){R.next=36;break}return j=Object(c.a)({},h,m,v),j=Object.keys(j).reduce((function(e,t){return["title","excerpt","content"].includes(t)?e[t]=Object(f.get)(j[t],"raw",j[t]):e[t]="status"===t?"auto-draft"===h.status&&"draft"===j.status?j.status:h.status:Object(f.get)(h[t],"raw",h[t]),e}),{}),R.next=34,B(e,t,j,void 0,!0);case 34:R.next=38;break;case 36:return R.next=38,ee(h.id,v);case 38:R.next=55;break;case 40:return w=n,"postType"===e&&h&&"auto-draft"===h.status&&(w.status||(w=Object(c.a)({},w,{status:"draft"})),w.title&&"Auto Draft"!==w.title||(w=Object(c.a)({},w,{title:""}))),R.next=44,U("getEntityRecord",e,t,d);case 44:return p=R.sent,R.next=47,U("getEntityRecordEdits",e,t,d);case 47:return b=R.sent,R.next=50,B(e,t,Object(c.a)({},p,w),void 0,!0);case 50:return R.next=52,A({path:E,method:d?"PUT":"POST",data:w});case 52:return v=R.sent,R.next=55,B(e,t,v,void 0,!0);case 55:R.next=77;break;case 57:if(R.prev=57,R.t0=R.catch(11),l=R.t0,!p||!b){R.next=77;break}return R.next=63,B(e,t,p,void 0,!0);case 63:return R.t1=W,R.t2=e,R.t3=t,R.t4=d,R.t5=c.a,R.t6={},R.t7=b,R.next=72,U("getEntityRecordEdits",e,t,d);case 72:return R.t8=R.sent,R.t9=(0,R.t5)(R.t6,R.t7,R.t8),R.t10={undoIgnore:!0},R.next=77,(0,R.t1)(R.t2,R.t3,R.t4,R.t9,R.t10);case 77:return R.next=79,{type:"SAVE_ENTITY_RECORD_FINISH",kind:e,name:t,recordId:d,error:l,isAutosave:u};case 79:return R.abrupt("return",v);case 80:case"end":return R.stop()}}),N,null,[[11,57]])}function J(e,t,n,r){var a,u;return T.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,U("hasEditsForEntityRecord",e,t,n);case 2:if(i.sent){i.next=4;break}return i.abrupt("return");case 4:return i.next=6,U("getEntityRecordNonTransientEdits",e,t,n);case 6:return a=i.sent,u=Object(c.a)({id:n},a),i.delegateYield(X(e,t,u,r),"t0",9);case 9:case"end":return i.stop()}}),q)}function Z(e){return{type:"RECEIVE_USER_PERMISSION",key:"create/media",isAllowed:e}}function $(e,t){return{type:"RECEIVE_USER_PERMISSION",key:e,isAllowed:t}}function ee(e,t){return{type:"RECEIVE_AUTOSAVES",postId:e,autosaves:Object(f.castArray)(t)}}var te=T.a.mark(ie),ne=T.a.mark(oe),re=T.a.mark(de),ae="id",ue=[{name:"site",kind:"root",baseURL:"/wp/v2/settings"},{name:"postType",kind:"root",key:"slug",baseURL:"/wp/v2/types"},{name:"media",kind:"root",baseURL:"/wp/v2/media",plural:"mediaItems"},{name:"taxonomy",kind:"root",key:"slug",baseURL:"/wp/v2/taxonomies",plural:"taxonomies"},{name:"widgetArea",kind:"root",baseURL:"/__experimental/widget-areas",plural:"widgetAreas",transientEdits:{blocks:!0}}],ce=[{name:"postType",loadEntities:ie},{name:"taxonomy",loadEntities:oe}];function ie(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A({path:"/wp/v2/types?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(f.map)(e,(function(e,t){return{kind:"postType",baseURL:"/wp/v2/"+e.rest_base,name:t,transientEdits:{blocks:!0,selectionStart:!0,selectionEnd:!0},mergedEdits:{meta:!0}}})));case 4:case"end":return t.stop()}}),te)}function oe(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A({path:"/wp/v2/taxonomies?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(f.map)(e,(function(e,t){return{kind:"taxonomy",baseURL:"/wp/v2/"+e.rest_base,name:t}})));case 4:case"end":return t.stop()}}),ne)}var se=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"get",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=Object(f.find)(ue,{kind:e,name:t}),u="root"===e?"":Object(f.upperFirst)(Object(f.camelCase)(e)),c=Object(f.upperFirst)(Object(f.camelCase)(t))+(r?"s":""),i=r&&a.plural?Object(f.upperFirst)(Object(f.camelCase)(a.plural)):c;return"".concat(n).concat(u).concat(i)};function de(e){var t,n;return T.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,U("getEntitiesByKind",e);case 2:if(!(t=r.sent)||0===t.length){r.next=5;break}return r.abrupt("return",t);case 5:if(n=Object(f.find)(ce,{name:e})){r.next=8;break}return r.abrupt("return",[]);case 8:return r.next=10,n.loadEntities();case 10:return t=r.sent,r.next=13,F(t);case 13:return r.abrupt("return",t);case 14:case"end":return r.stop()}}),re)}function fe(e,t,n,r){for(var a=(n-1)*r,u=Math.max(e.length,a+t.length),c=new Array(u),i=0;i=a&&i0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.page,a=t.perPage,u=t.key,c=void 0===u?ae:u;return"RECEIVE_ITEMS"!==n?e:fe(e||[],Object(f.map)(t.items,c),r,a)})),le=Object(i.combineReducers)({items:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":var n=t.key||ae;return Object(c.a)({},e,t.items.reduce((function(t,r){var a=r[n];return t[a]=function(e,t){if(!e)return t;var n=!1,r={};for(var a in t)Object(f.isEqual)(e[a],t[a])?r[a]=e[a]:(n=!0,r[a]=t[a]);return n?r:e}(e[a],r),t}),{}))}return e},queries:ve});function pe(e){return Object(f.flowRight)([p((function(t){return t.name&&t.kind&&t.name===e.name&&t.kind===e.kind})),E((function(t){return Object(c.a)({},t,{key:e.key||ae})}))])(Object(i.combineReducers)({queriedData:le,edits:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":var n=Object(c.a)({},e),r=!0,a=!1,u=void 0;try{for(var i,o=function(){var e=i.value,r=e[t.key],a=n[r];if(!a)return"continue";var u=Object.keys(a).reduce((function(t,n){return Object(f.isEqual)(a[n],Object(f.get)(e[n],"raw",e[n]))||(t[n]=a[n]),t}),{});Object.keys(u).length?n[r]=u:delete n[r]},s=t.items[Symbol.iterator]();!(r=(i=s.next()).done);r=!0)o()}catch(e){a=!0,u=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw u}}return n;case"EDIT_ENTITY_RECORD":var v=Object(c.a)({},e[t.recordId],t.edits);return Object.keys(v).forEach((function(e){void 0===v[e]&&delete v[e]})),Object(c.a)({},e,Object(d.a)({},t.recordId,v))}return e},saving:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SAVE_ENTITY_RECORD_START":case"SAVE_ENTITY_RECORD_FINISH":return Object(c.a)({},e,Object(d.a)({},t.recordId,{pending:"SAVE_ENTITY_RECORD_START"===t.type,error:t.error,isAutosave:t.isAutosave}))}return e}}))}function be(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ue,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_ENTITIES":return[].concat(Object(s.a)(e),Object(s.a)(t.entities))}return e}var Ee,he=[];he.offset=0;var ye=Object(i.combineReducers)({terms:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TERMS":return Object(c.a)({},e,Object(d.a)({},t.taxonomy,t.terms))}return e},users:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{byId:{},queries:{}},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_QUERY":return{byId:Object(c.a)({},e.byId,Object(f.keyBy)(t.users,"id")),queries:Object(c.a)({},e.queries,Object(d.a)({},t.queryID,Object(f.map)(t.users,(function(e){return e.id}))))}}return e},currentUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_CURRENT_USER":return t.currentUser}return e},taxonomies:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TAXONOMIES":return t.taxonomies}return e},themeSupports:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_THEME_SUPPORTS":return Object(c.a)({},e,t.themeSupports)}return e},entities:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=be(e.config,t),r=e.reducer;if(!r||n!==e.config){var a=Object(f.groupBy)(n,"kind");r=Object(i.combineReducers)(Object.entries(a).reduce((function(e,t){var n=Object(o.a)(t,2),r=n[0],a=n[1],u=Object(i.combineReducers)(a.reduce((function(e,t){return Object(c.a)({},e,Object(d.a)({},t.name,pe(t)))}),{}));return e[r]=u,e}),{}))}var u=r(e.data,t);return u===e.data&&n===e.config&&r===e.reducer?e:{reducer:r,data:u,config:n}},undo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:he,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"EDIT_ENTITY_RECORD":case"CREATE_UNDO_LEVEL":var n,r="CREATE_UNDO_LEVEL"===t.type,a=!r&&(t.meta.isUndo||t.meta.isRedo);if(r?t=Ee:a||(Ee=Object.keys(t.edits).some((function(e){return!t.transientEdits[e]}))?t:Object(c.a)({},t,{edits:Object(c.a)({},Ee&&Ee.edits,t.edits)})),a){if((n=Object(s.a)(e)).offset=e.offset+(t.meta.isUndo?-1:1),!e.flattenedUndo)return n;r=!0,t=Ee}if(!t.meta.undo)return e;if(!r&&!Object.keys(t.edits).some((function(e){return!t.transientEdits[e]})))return(n=Object(s.a)(e)).flattenedUndo=Object(c.a)({},e.flattenedUndo,t.edits),n.offset=e.offset,n;(n=n||e.slice(0,e.offset||void 0)).offset=n.offset||0,n.pop(),r||n.push({kind:t.meta.undo.kind,name:t.meta.undo.name,recordId:t.meta.undo.recordId,edits:Object(c.a)({},e.flattenedUndo,t.meta.undo.edits)});var u=Object.values(t.meta.undo.edits).filter((function(e){return"function"!=typeof e})),i=Object.values(t.edits).filter((function(e){return"function"!=typeof e}));return l()(u,i)||n.push({kind:t.kind,name:t.name,recordId:t.recordId,edits:r?Object(c.a)({},e.flattenedUndo,t.edits):t.edits}),n}return e},embedPreviews:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_EMBED_PREVIEW":var n=t.url,r=t.preview;return Object(c.a)({},e,Object(d.a)({},n,r))}return e},userPermissions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_PERMISSION":return Object(c.a)({},e,Object(d.a)({},t.key,t.isAllowed))}return e},autosaves:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_AUTOSAVES":var n=t.postId,r=t.autosaves;return Object(c.a)({},e,Object(d.a)({},n,r))}return e}}),ge=n(35),Oe=n.n(ge),me=Object(i.createRegistrySelector)((function(e){return function(t,n){return e("core/data").isResolving("core","getEmbedPreview",[n])}}));function je(e){return xe(e,"authors")}function we(e){return e.currentUser}var xe=Object(g.a)((function(e,t){var n=e.users.queries[t];return Object(f.map)(n,(function(t){return e.users.byId[t]}))}),(function(e,t){return[e.users.queries[t],e.users.byId]}));function Re(e,t){return Object(f.filter)(e.entities.config,{kind:t})}function ke(e,t,n){return Object(f.find)(e.entities.config,{kind:t,name:n})}function _e(e,t,n,r){return Object(f.get)(e.entities.data,[t,n,"queriedData","items",r])}var Te=Object(g.a)((function(e,t,n,r){var a=_e(e,t,n,r);return a&&Object.keys(a).reduce((function(e,t){return e[t]=Object(f.get)(a[t],"raw",a[t]),e}),{})}),(function(e){return[e.entities.data]}));function Ie(e,t,n,r){var a=Object(f.get)(e.entities.data,[t,n,"queriedData"]);return a?k(a,r):[]}function Se(e,t,n,r){return Object(f.get)(e.entities.data,[t,n,"edits",r])}var Ae=Object(g.a)((function(e,t,n,r){var a=(ke(e,t,n)||{}).transientEdits,u=Se(e,t,n,r)||{};return a?Object.keys(u).reduce((function(e,t){return a[t]||(e[t]=u[t]),e}),{}):u}),(function(e){return[e.entities.config,e.entities.data]}));function Ue(e,t,n,r){return De(e,t,n,r)||Object.keys(Ae(e,t,n,r)).length>0}var Ce=Object(g.a)((function(e,t,n,r){return Object(c.a)({},Te(e,t,n,r),Se(e,t,n,r))}),(function(e){return[e.entities.data]}));function Pe(e,t,n,r){var a=Object(f.get)(e.entities.data,[t,n,"saving",r],{}),u=a.pending,c=a.isAutosave;return Boolean(u&&c)}function De(e,t,n,r){return Object(f.get)(e.entities.data,[t,n,"saving",r,"pending"],!1)}function Me(e,t,n,r){return Object(f.get)(e.entities.data,[t,n,"saving",r,"error"])}function Ve(e){return e.undo.offset}function Ne(e){return e.undo[e.undo.length-2+Ve(e)]}function qe(e){return e.undo[e.undo.length+Ve(e)]}function Le(e){return Boolean(Ne(e))}function Ye(e){return Boolean(qe(e))}function Fe(e){return e.themeSupports}function Be(e,t){return e.embedPreviews[t]}function Ke(e,t){var n=e.embedPreviews[t],r=''+t+"";return!!n&&n.html===r}function Qe(e){return Oe()("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),Object(f.defaultTo)(We(e,"create","media"),!0)}function We(e,t,n,r){var a=Object(f.compact)([t,n,r]).join("/");return Object(f.get)(e,["userPermissions",a])}function He(e,t,n){return e.autosaves[n]}function ze(e,t,n,r){if(void 0!==r){var a=e.autosaves[n];return Object(f.find)(a,{author:r})}}var Ge=Object(i.createRegistrySelector)((function(e){return function(t,n,r){return e("core").hasFinishedResolution("getAutosaves",[n,r])}})),Xe=Object(g.a)((function(){return[]}),(function(e){return[e.undo.length,e.undo.offset]})),Je=T.a.mark(it),Ze=T.a.mark(ot),$e=T.a.mark(st),et=T.a.mark(dt),tt=T.a.mark(ft),nt=T.a.mark(vt),rt=T.a.mark(lt),at=T.a.mark(pt),ut=T.a.mark(bt),ct=T.a.mark(Et);function it(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A({path:"/wp/v2/users/?who=authors&per_page=-1"});case 2:return e=t.sent,t.next=5,L("authors",e);case 5:case"end":return t.stop()}}),Je)}function ot(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A({path:"/wp/v2/users/me"});case 2:return e=t.sent,t.next=5,Y(e);case 5:case"end":return t.stop()}}),Ze)}function st(e,t){var n,r,a,u,c=arguments;return T.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return n=c.length>2&&void 0!==c[2]?c[2]:"",i.next=3,de(e);case 3:if(r=i.sent,a=Object(f.find)(r,{kind:e,name:t})){i.next=7;break}return i.abrupt("return");case 7:return i.next=9,A({path:"".concat(a.baseURL,"/").concat(n,"?context=edit")});case 9:return u=i.sent,i.next=12,B(e,t,u);case 12:case"end":return i.stop()}}),$e)}function dt(e,t){var n,r,a,u,i,o=arguments;return T.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return n=o.length>2&&void 0!==o[2]?o[2]:{},s.next=3,de(e);case 3:if(r=s.sent,a=Object(f.find)(r,{kind:e,name:t})){s.next=7;break}return s.abrupt("return");case 7:return u=Object(j.addQueryArgs)(a.baseURL,Object(c.a)({},n,{context:"edit"})),s.next=10,A({path:u});case 10:return i=s.sent,s.next=13,B(e,t,Object.values(i),n);case 13:case"end":return s.stop()}}),et)}function ft(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A({path:"/wp/v2/themes?status=active"});case 2:return e=t.sent,t.next=5,K(e[0].theme_supports);case 5:case"end":return t.stop()}}),tt)}function vt(e){var t;return T.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,A({path:Object(j.addQueryArgs)("/oembed/1.0/proxy",{url:e})});case 3:return t=n.sent,n.next=6,Q(e,t);case 6:n.next=12;break;case 8:return n.prev=8,n.t0=n.catch(0),n.next=12,Q(e,!1);case 12:case"end":return n.stop()}}),nt,null,[[0,8]])}function lt(){return T.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Oe()("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),e.delegateYield(pt("create","media"),"t0",2);case 2:case"end":return e.stop()}}),rt)}function pt(e,t,n){var r,a,u,c,i,o;return T.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(r={create:"POST",read:"GET",update:"PUT",delete:"DELETE"}[e]){s.next=4;break}throw new Error("'".concat(e,"' is not a valid action."));case 4:return a=n?"/wp/v2/".concat(t,"/").concat(n):"/wp/v2/".concat(t),s.prev=5,s.next=8,A({path:a,method:n?"GET":"OPTIONS",parse:!1});case 8:u=s.sent,s.next=14;break;case 11:return s.prev=11,s.t0=s.catch(5),s.abrupt("return");case 14:return c=Object(f.hasIn)(u,["headers","get"])?u.headers.get("allow"):Object(f.get)(u,["headers","Allow"],""),i=Object(f.compact)([e,t,n]).join("/"),o=Object(f.includes)(c,r),s.next=19,$(i,o);case 19:case"end":return s.stop()}}),at,null,[[5,11]])}function bt(e,t){var n,r,a;return T.a.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,C("getPostType",e);case 2:return n=u.sent,r=n.rest_base,u.next=6,A({path:"/wp/v2/".concat(r,"/").concat(t,"/autosaves?context=edit")});case 6:if(!(a=u.sent)||!a.length){u.next=10;break}return u.next=10,ee(t,a);case 10:case"end":return u.stop()}}),ut)}function Et(e,t){return T.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,C("getAutosaves",e,t);case 2:case"end":return n.stop()}}),ct)}dt.shouldInvalidate=function(e,t,n){return"RECEIVE_ITEMS"===e.type&&e.invalidateCache&&t===e.kind&&n===e.name};var ht=n(0),yt=Object(c.a)({},ue.reduce((function(e,t){return e[t.kind]||(e[t.kind]={}),e[t.kind][t.name]={context:Object(ht.createContext)()},e}),{}),ce.reduce((function(e,t){return e[t.name]={},e}),{})),gt=function(e,t){if(!yt[e])throw new Error("Missing entity config for kind: ".concat(e,"."));return yt[e][t]||(yt[e][t]={context:Object(ht.createContext)()}),yt[e][t]};function Ot(e){var t=e.kind,n=e.type,r=e.id,a=e.children,u=gt(t,n).context.Provider;return Object(ht.createElement)(u,{value:r},a)}function mt(e,t){return Object(ht.useContext)(gt(e,t).context)}function jt(e,t,n){var r=mt(e,t),a=Object(i.useSelect)((function(a){var u=a("core"),c=u.getEntityRecord,i=u.getEditedEntityRecord;c(e,t,r);var o=i(e,t,r);return o&&o[n]}),[e,t,r,n]),u=Object(i.useDispatch)("core").editEntityRecord;return[a,Object(ht.useCallback)((function(a){u(e,t,r,Object(d.a)({},n,a))}),[e,t,r,n])]}function wt(e,t,n){var r=mt(e,t),a=Object(i.useSelect)((function(a){var u=a("core"),c=u.getEntityRecordNonTransientEdits,i=u.isSavingEntityRecord,o=c(e,t,r),s=Object.keys(o);return[n?s.some((function(e){return"string"==typeof n?e===n:n.includes(e)})):s.length>0,i(e,t,r),o]}),[e,t,r,n]),u=Object(o.a)(a,3),s=u[0],f=u[1],v=u[2],l=Object(i.useDispatch)("core").saveEntityRecord;return[s,f,Object(ht.useCallback)((function(){var a=v;"string"==typeof n?a=Object(d.a)({},n,a[n]):n&&(a=a.reduce((function(e,t){return n.includes(t)&&(e[t]=a[t]),e}),{})),l(e,t,Object(c.a)({id:r},a))}),[e,t,r,n,v])]}n.d(t,"EntityProvider",(function(){return Ot})),n.d(t,"useEntityId",(function(){return mt})),n.d(t,"useEntityProp",(function(){return jt})),n.d(t,"__experimentalUseEntitySaving",(function(){return wt}));var xt=ue.reduce((function(e,t){var n=t.kind,r=t.name;return e[se(n,r)]=function(e,t){return _e(e,n,r,t)},e[se(n,r,"get",!0)]=function(e){for(var t=arguments.length,u=new Array(t>1?t-1:0),c=1;c1?a-1:0),c=1;c1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(a,u){null!==u&&"object"===r(u)&&(a=a[1]),e.call(n,a,u,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&a(t.prototype,n),c&&a(t,c),e}();e.exports=c},9:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))}}); \ No newline at end of file diff --git a/wp-includes/js/dist/data-controls.js b/wp-includes/js/dist/data-controls.js index acdef079f2..809f02ce44 100644 --- a/wp-includes/js/dist/data-controls.js +++ b/wp-includes/js/dist/data-controls.js @@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["dataControls"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 317); +/******/ return __webpack_require__(__webpack_require__.s = 338); /******/ }) /************************************************************************/ /******/ ({ -/***/ 17: +/***/ 18: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -103,7 +103,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(30); +var iterableToArray = __webpack_require__(32); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -120,7 +120,7 @@ function _toConsumableArray(arr) { /***/ }), -/***/ 30: +/***/ 32: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -131,7 +131,7 @@ function _iterableToArray(iter) { /***/ }), -/***/ 317: +/***/ 338: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -140,8 +140,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "select", function() { return select; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dispatch", function() { return dispatch; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "controls", function() { return controls; }); -/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17); -/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(34); +/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(18); +/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(37); /* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4); /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__); @@ -162,10 +162,10 @@ __webpack_require__.r(__webpack_exports__); * import { apiFetch } from '@wordpress/data-controls'; * * // Action generator using apiFetch - * export function* myAction { - * const path = '/v2/my-api/items'; - * const items = yield apiFetch( { path } ); - * // do something with the items. + * export function* myAction() { + * const path = '/v2/my-api/items'; + * const items = yield apiFetch( { path } ); + * // do something with the items. * } * ``` * @@ -194,9 +194,9 @@ var apiFetch = function apiFetch(request) { * import { select } from '@wordpress/data-controls'; * * // Action generator using select - * export function* myAction { - * const isSidebarOpened = yield select( 'core/edit-post', 'isEditorSideBarOpened' ); - * // do stuff with the result from the select. + * export function* myAction() { + * const isSidebarOpened = yield select( 'core/edit-post', 'isEditorSideBarOpened' ); + * // do stuff with the result from the select. * } * ``` * @@ -227,9 +227,9 @@ function select(storeKey, selectorName) { * import { dispatch } from '@wordpress/data-controls'; * * // Action generator using dispatch - * export function* myAction { - * yield dispatch( 'core/edit-post' ).togglePublishSidebar(); - * // do some other things. + * export function* myAction() { + * yield dispatch( 'core/edit-post', 'togglePublishSidebar' ); + * // do some other things. * } * ``` * @@ -248,46 +248,6 @@ function dispatch(storeKey, actionName) { args: args }; } -/** - * Utility for returning a promise that handles a selector with a resolver. - * - * @param {Object} registry The data registry. - * @param {Object} options - * @param {string} options.storeKey The store the selector belongs to - * @param {string} options.selectorName The selector name - * @param {Array} options.args The arguments fed to the selector - * - * @return {Promise} A promise for resolving the given selector. - */ - -var resolveSelect = function resolveSelect(registry, _ref) { - var storeKey = _ref.storeKey, - selectorName = _ref.selectorName, - args = _ref.args; - return new Promise(function (resolve) { - var hasFinished = function hasFinished() { - return registry.select('core/data').hasFinishedResolution(storeKey, selectorName, args); - }; - - var getResult = function getResult() { - return registry.select(storeKey)[selectorName].apply(null, args); - }; // trigger the selector (to trigger the resolver) - - - var result = getResult(); - - if (hasFinished()) { - return resolve(result); - } - - var unsubscribe = registry.subscribe(function () { - if (hasFinished()) { - unsubscribe(); - resolve(getResult()); - } - }); - }); -}; /** * The default export is what you use to register the controls with your custom * store. @@ -304,7 +264,7 @@ var resolveSelect = function resolveSelect(registry, _ref) { * import * as actions from './actions'; * import * as resolvers from './resolvers'; * - * registerStore ( 'my-custom-store', { + * registerStore( 'my-custom-store', { * reducer, * controls, * actions, @@ -317,33 +277,28 @@ var resolveSelect = function resolveSelect(registry, _ref) { * store. */ - var controls = { - API_FETCH: function API_FETCH(_ref2) { - var request = _ref2.request; + API_FETCH: function API_FETCH(_ref) { + var request = _ref.request; return _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1___default()(request); }, SELECT: Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["createRegistryControl"])(function (registry) { - return function (_ref3) { - var _registry$select; + return function (_ref2) { + var _registry; - var storeKey = _ref3.storeKey, - selectorName = _ref3.selectorName, - args = _ref3.args; - return registry.select(storeKey)[selectorName].hasResolver ? resolveSelect(registry, { - storeKey: storeKey, - selectorName: selectorName, - args: args - }) : (_registry$select = registry.select(storeKey))[selectorName].apply(_registry$select, Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(args)); + var storeKey = _ref2.storeKey, + selectorName = _ref2.selectorName, + args = _ref2.args; + return (_registry = registry[registry.select(storeKey)[selectorName].hasResolver ? '__experimentalResolveSelect' : 'select'](storeKey))[selectorName].apply(_registry, Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(args)); }; }), DISPATCH: Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["createRegistryControl"])(function (registry) { - return function (_ref4) { + return function (_ref3) { var _registry$dispatch; - var storeKey = _ref4.storeKey, - actionName = _ref4.actionName, - args = _ref4.args; + var storeKey = _ref3.storeKey, + actionName = _ref3.actionName, + args = _ref3.args; return (_registry$dispatch = registry.dispatch(storeKey))[actionName].apply(_registry$dispatch, Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(args)); }; }) @@ -352,7 +307,7 @@ var controls = { /***/ }), -/***/ 34: +/***/ 37: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["apiFetch"]; }()); diff --git a/wp-includes/js/dist/data-controls.min.js b/wp-includes/js/dist/data-controls.min.js index bde093157d..b42f274b93 100644 --- a/wp-includes/js/dist/data-controls.min.js +++ b/wp-includes/js/dist/data-controls.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.dataControls=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=317)}({17:function(t,e,r){"use strict";var n=r(30);function o(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e2?r-2:0),o=2;o2?r-2:0),o=2;o2?r-2:0),o=2;o2?r-2:0),o=2;o { + * return select( 'core/block-editor' ).getBlockCount() + * } ); + * + * return count; + * } + * + * function App() { + * return ( + * + * + * + * ); + * } + * ``` + * + * In this example, the BlockCount component is rerendered asynchronously. + * It means if a more critical task is being performed (like typing in an input), + * the rerendering is delayed until the browser becomes IDLE. + * It is possible to nest multiple levels of AsyncModeProvider to fine-tune the rendering behavior. + * + * @param {boolean} props.value Enable Async Mode. + * @return {WPComponent} The component to be rendered. + */ + /* harmony default export */ var async_mode_provider_context = (context_Provider); // CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/async-mode-provider/use-async-mode.js @@ -2797,7 +2908,7 @@ function useSelect(_mapSelect, deps) { * component and update automatically if the price of a hammer ever changes in * the store. * - * @return {Component} Enhanced component with merged state data props. + * @return {WPComponent} Enhanced component with merged state data props. */ var with_select_withSelect = function withSelect(mapSelectToProps) { @@ -3034,7 +3145,7 @@ var use_dispatch_with_map_useDispatchWithMap = function useDispatchWithMap(dispa * returns an object with the same keys. For example, it should not contain * conditions under which a different value would be returned. * - * @return {Component} Enhanced component with merged dispatcher props. + * @return {WPComponent} Enhanced component with merged dispatcher props. */ var with_dispatch_withDispatch = function withDispatch(mapDispatchToProps) { @@ -3098,9 +3209,7 @@ var withRegistry = Object(external_this_wp_compose_["createHigherOrderComponent" * Internal dependencies */ -/** - * @typedef {import('./registry').WPDataRegistry} WPDataRegistry - */ +/** @typedef {import('./registry').WPDataRegistry} WPDataRegistry */ /** * Mark a selector as a registry selector. @@ -3148,6 +3257,7 @@ function createRegistryControl(registryControl) { // CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/index.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "select", function() { return build_module_select; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__experimentalResolveSelect", function() { return build_module_experimentalResolveSelect; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dispatch", function() { return build_module_dispatch; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "subscribe", function() { return build_module_subscribe; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerGenericStore", function() { return build_module_registerGenericStore; }); @@ -3161,7 +3271,7 @@ function createRegistryControl(registryControl) { /* concated harmony reexport useRegistry */__webpack_require__.d(__webpack_exports__, "useRegistry", function() { return useRegistry; }); /* concated harmony reexport useSelect */__webpack_require__.d(__webpack_exports__, "useSelect", function() { return useSelect; }); /* concated harmony reexport useDispatch */__webpack_require__.d(__webpack_exports__, "useDispatch", function() { return use_dispatch; }); -/* concated harmony reexport __experimentalAsyncModeProvider */__webpack_require__.d(__webpack_exports__, "__experimentalAsyncModeProvider", function() { return async_mode_provider_context; }); +/* concated harmony reexport AsyncModeProvider */__webpack_require__.d(__webpack_exports__, "AsyncModeProvider", function() { return async_mode_provider_context; }); /* concated harmony reexport createRegistry */__webpack_require__.d(__webpack_exports__, "createRegistry", function() { return createRegistry; }); /* concated harmony reexport createRegistrySelector */__webpack_require__.d(__webpack_exports__, "createRegistrySelector", function() { return createRegistrySelector; }); /* concated harmony reexport createRegistryControl */__webpack_require__.d(__webpack_exports__, "createRegistryControl", function() { return createRegistryControl; }); @@ -3239,7 +3349,7 @@ function createRegistryControl(registryControl) { * The selector functions are been pre-bound to pass the current state automatically. * As a consumer, you need only pass arguments of the selector, if applicable. * - * @param {string} name Store name + * @param {string} name Store name. * * @example * ```js @@ -3252,6 +3362,25 @@ function createRegistryControl(registryControl) { */ var build_module_select = default_registry.select; +/** + * Given the name of a registered store, returns an object containing the store's + * selectors pre-bound to state so that you only need to supply additional arguments, + * and modified so that they return promises that resolve to their eventual values, + * after any resolvers have ran. + * + * @param {string} name Store name. + * + * @example + * ```js + * const { __experimentalResolveSelect } = wp.data; + * + * __experimentalResolveSelect( 'my-shop' ).getPrice( 'hammer' ).then(console.log) + * ``` + * + * @return {Object} Object containing the store's promise-wrapped selectors. + */ + +var build_module_experimentalResolveSelect = default_registry.__experimentalResolveSelect; /** * Given the name of a registered store, returns an object of the store's action creators. * Calling an action creator will cause it to be dispatched, updating the state value accordingly. @@ -3259,7 +3388,7 @@ var build_module_select = default_registry.select; * Note: Action creators returned by the dispatch will return a promise when * they are called. * - * @param {string} name Store name + * @param {string} name Store name. * * @example * ```js @@ -3324,39 +3453,121 @@ var build_module_use = default_registry.use; /***/ }), -/***/ 37: -/***/ (function(module, exports) { +/***/ 42: +/***/ (function(module, exports, __webpack_require__) { -(function() { module.exports = this["wp"]["deprecated"]; }()); +module.exports = function memize( fn, options ) { + var size = 0, + maxSize, head, tail; -/***/ }), + if ( options && options.maxSize ) { + maxSize = options.maxSize; + } -/***/ 38: -/***/ (function(module, __webpack_exports__, __webpack_require__) { + function memoized( /* ...args */ ) { + var node = head, + len = arguments.length, + args, i; -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); -function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; -} + searchCache: while ( node ) { + // Perform a shallow equality test to confirm that whether the node + // under test is a candidate for the arguments passed. Two arrays + // are shallowly equal if their length matches and each entry is + // strictly equal between the two sets. Avoid abstracting to a + // function which could incur an arguments leaking deoptimization. -/***/ }), + // Check whether node arguments match arguments length + if ( node.args.length !== arguments.length ) { + node = node.next; + continue; + } -/***/ 39: -/***/ (function(module, __webpack_exports__, __webpack_require__) { + // Check whether node arguments match arguments values + for ( i = 0; i < len; i++ ) { + if ( node.args[ i ] !== arguments[ i ] ) { + node = node.next; + continue searchCache; + } + } -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); -function _nonIterableRest() { - throw new TypeError("Invalid attempt to destructure non-iterable instance"); -} + // At this point we can assume we've found a match -/***/ }), + // Surface matched node to head if not already + if ( node !== head ) { + // As tail, shift to previous. Must only shift if not also + // head, since if both head and tail, there is no previous. + if ( node === tail ) { + tail = node.prev; + } -/***/ 41: -/***/ (function(module, exports) { + // Adjust siblings to point to each other. If node was tail, + // this also handles new tail's empty `next` assignment. + node.prev.next = node.next; + if ( node.next ) { + node.next.prev = node.prev; + } + + node.next = head; + node.prev = null; + head.prev = node; + head = node; + } + + // Return immediately + return node.val; + } + + // No cached value found. Continue to insertion phase: + + // Create a copy of arguments (avoid leaking deoptimization) + args = new Array( len ); + for ( i = 0; i < len; i++ ) { + args[ i ] = arguments[ i ]; + } + + node = { + args: args, + + // Generate the result from original function + val: fn.apply( null, args ) + }; + + // Don't need to check whether node is already head, since it would + // have been returned above already if it was + + // Shift existing head down list + if ( head ) { + head.prev = node; + node.next = head; + } else { + // If no head, follows that there's no tail (at initial or reset) + tail = node; + } + + // Trim tail if we're reached max size and are pending cache insertion + if ( size === maxSize ) { + tail = tail.prev; + tail.next = null; + } else { + size++; + } + + head = node; + + return node.val; + } + + memoized.clear = function() { + head = null; + tail = null; + size = 0; + }; + + if ( false ) {} + + return memoized; +}; -(function() { module.exports = this["wp"]["isShallowEqual"]; }()); /***/ }), @@ -3403,7 +3614,14 @@ function _asyncToGenerator(fn) { /***/ }), -/***/ 64: +/***/ 45: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["isShallowEqual"]; }()); + +/***/ }), + +/***/ 61: /***/ (function(module, exports) { var g; @@ -3435,12 +3653,12 @@ module.exports = g; "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(source); + var ownKeys = Object.keys(Object(source)); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -3458,7 +3676,7 @@ function _objectSpread(target) { /***/ }), -/***/ 73: +/***/ 76: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -3780,6 +3998,28 @@ module.exports = EquivalentKeyMap; /***/ }), +/***/ 9: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + +/***/ }), + /***/ 97: /***/ (function(module, exports) { diff --git a/wp-includes/js/dist/data.min.js b/wp-includes/js/dist/data.min.js index 5d60c86add..9ec6075105 100644 --- a/wp-includes/js/dist/data.min.js +++ b/wp-includes/js/dist/data.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.data=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=348)}({0:function(e,t){!function(){e.exports=this.wp.element}()},10:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},110:function(e,t){e.exports=function(e){var t,r=Object.keys(e);return t=function(){var e,t,n;for(e="return {",t=0;t0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,n=r[E];if(void 0===n)return t;var o=e(t[n],r);return o===t[n]?t:Object(s.a)({},t,Object(L.a)({},n,o))}})])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new k.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var r="START_RESOLUTION"===t.type,n=new k.a(e);return n.set(t.args,r),n;case"INVALIDATE_RESOLUTION":var o=new k.a(e);return o.delete(t.args),o}return e})),D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(f.has)(e,[t.selectorName])?Object(f.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return C(e,t)}return e};function M(e,t,r){var n=Object(f.get)(e,[t]);if(n)return n.get(r)}function U(e,t){return void 0!==M(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function V(e,t){return!1===M(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function F(e,t){return!0===M(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function G(e){return e}function H(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function W(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function X(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function J(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function K(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function Y(e,t,r){var i,u=t.reducer,a=function(e,t,r){var n=[N(r,e),x];if(t.controls){var o=Object(f.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(r):e}));n.push(R()(o))}var i=[S.apply(void 0,n)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var u=t.reducer,a=t.initialState;return O(c()({metadata:D,root:u}),{root:a},Object(f.flowRight)(i))}(e,t,r),l=function(e,t){return Object(f.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(Object(s.a)({},o,t.actions),a),b=function(e,t){return Object(f.mapValues)(e,(function(e){var r=function(){var r=arguments.length,n=new Array(r+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o1?r-1:0),o=1;o1?r-1:0),o=1;o3?i-3:0),c=3;c1?o-1:0),u=1;u1?o-1:0),u=1;u0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={},n=[];function o(){n.forEach((function(e){return e()}))}function i(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");r[e]=t,t.subscribe(o)}var u,c={registerGenericStore:i,stores:r,namespaces:r,subscribe:function(e){return n.push(e),function(){n=Object(f.without)(n,e)}},select:function(e){var n=r[e];return n?n.getSelectors():t&&t.select(e)},dispatch:function(e){var n=r[e];return n?n.getActions():t&&t.dispatch(e)},use:function(e,t){return c=Object(s.a)({},c,e(c,t))}};return c.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var r=Y(e,t,c);return i(e,r),r.store},i("core/data",B(c)),Object.entries(e).forEach((function(e){var t=Object(a.a)(e,2),r=t[0],n=t[1];return c.registerStore(r,n)})),t&&t.subscribe(o),u=c,Object(f.mapValues)(u,(function(e,t){return"function"!=typeof e?e:function(){return c[t].apply(null,arguments)}}))}var Z,$,ee=Q(),te=r(37),re=r.n(te),ne=function(e){return re()("wp.data.plugins.controls",{hint:"The controls plugins is now baked-in."}),e},oe={getItem:function(e){return Z&&Z[e]?Z[e]:null},setItem:function(e,t){Z||oe.clear(),Z[e]=String(t)},clear:function(){Z=Object.create(null)}},ie=oe;try{($=window.localStorage).setItem("__wpDataTestLocalStorage",""),$.removeItem("__wpDataTestLocalStorage")}catch(e){$=ie}var ue=$,ce="WP_DATA",ae=function(e){return function(t,r){return r.nextState===t?t:e(t,r)}};function se(e){var t,r=e.storage,n=void 0===r?ue:r,o=e.storageKey,i=void 0===o?ce:o;return{get:function(){if(void 0===t){var e=n.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(e){t={}}}return t},set:function(e,r){t=Object(s.a)({},t,Object(L.a)({},e,r)),n.setItem(i,JSON.stringify(t))}}}var fe=function(e,t){var r=se(t);return{registerStore:function(t,n){if(!n.persist)return e.registerStore(t,n);var o=r.get()[t];if(void 0!==o){var i=n.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});i=Object(f.isPlainObject)(i)&&Object(f.isPlainObject)(o)?Object(f.merge)({},i,o):o,n=Object(s.a)({},n,{initialState:i})}var u=e.registerStore(t,n);return u.subscribe(function(e,t,n){var o;if(Array.isArray(n)){var i=n.reduce((function(e,t){return Object.assign(e,Object(L.a)({},t,(function(e,r){return r.nextState[t]})))}),{});o=ae(c()(i))}else o=function(e,t){return t.nextState};var u=o(void 0,{nextState:e()});return function(){var n=o(u,{nextState:e()});n!==u&&(r.set(t,n),u=n)}}(u.getState,t,n.persist)),u}}};fe.__unstableMigrate=function(e){var t=se(e),r=Object(f.get)(t.get(),["core/editor","preferences","insertUsage"]);r&&t.set("core/block-editor",{preferences:{insertUsage:r}})};var le=fe,pe=r(18),de=r(0),be=r(8),ve=r(229),he=r(41),ye=r.n(he),Oe=Object(de.createContext)(ee),ge=Oe.Consumer,we=Oe.Provider,je=ge,me=we;function Se(){return Object(de.useContext)(Oe)}var Ee=Object(de.createContext)(!1),_e=(Ee.Consumer,Ee.Provider);var Re="undefined"!=typeof window?de.useLayoutEffect:de.useEffect,Te=Object(ve.createQueue)();function Ie(e,t){var r,n=Object(de.useCallback)(e,t),o=Se(),i=Object(de.useContext)(Ee),u=Object(de.useMemo)((function(){return{queue:!0}}),[o]),c=Object(de.useReducer)((function(e){return e+1}),0),s=Object(a.a)(c,2)[1],f=Object(de.useRef)(),l=Object(de.useRef)(i),p=Object(de.useRef)(),d=Object(de.useRef)(),b=Object(de.useRef)();try{r=f.current!==n||d.current?n(o.select,o):p.current}catch(e){var v="An error occurred while running 'mapSelect': ".concat(e.message);if(d.current)throw v+="\nThe error may be correlated with this previous error:\n",v+="".concat(d.current.stack,"\n\n"),v+="Original stack trace:",new Error(v)}return Re((function(){f.current=n,l.current!==i&&(l.current=i,Te.flush(u)),p.current=r,d.current=void 0,b.current=!0})),Re((function(){var e=function(){if(b.current){try{var e=f.current(o.select,o);if(ye()(p.current,e))return;p.current=e}catch(e){d.current=e}s({})}};l.current?Te.add(u,e):e();var t=o.subscribe((function(){l.current?Te.add(u,e):e()}));return function(){b.current=!1,t(),Te.flush(u)}}),[o]),r}var xe=function(e){return Object(be.createHigherOrderComponent)((function(t){return Object(be.pure)((function(r){var n=Ie((function(t,n){return e(t,r,n)}));return Object(de.createElement)(t,Object(pe.a)({},r,n))}))}),"withSelect")},Ae=function(e){var t=Se().dispatch;return void 0===e?t:t(e)},Ne="undefined"!=typeof window?de.useLayoutEffect:de.useEffect,Pe=function(e,t){var r=Se(),n=Object(de.useRef)(e);return Ne((function(){n.current=e})),Object(de.useMemo)((function(){var e=n.current(r.dispatch,r);return Object(f.mapValues)(e,(function(e,t){return"function"!=typeof e&&console.warn("Property ".concat(t," returned from dispatchMap in useDispatchWithMap must be a function.")),function(){var e;return(e=n.current(r.dispatch,r))[t].apply(e,arguments)}}))}),[r].concat(Object(A.a)(t)))},ke=function(e){return Object(be.createHigherOrderComponent)((function(t){return function(r){var n=Pe((function(t,n){return e(t,r,n)}),[]);return Object(de.createElement)(t,Object(pe.a)({},r,n))}}),"withDispatch")},Le=Object(be.createHigherOrderComponent)((function(e){return function(t){return Object(de.createElement)(je,null,(function(r){return Object(de.createElement)(e,Object(pe.a)({},t,{registry:r}))}))}}),"withRegistry");function Ce(e){var t=function t(){return e(t.registry.select).apply(void 0,arguments)};return t.isRegistrySelector=!0,t.registry=ee,t}function De(e){return e.isRegistryControl=!0,e}r.d(t,"select",(function(){return Me})),r.d(t,"dispatch",(function(){return Ue})),r.d(t,"subscribe",(function(){return Ve})),r.d(t,"registerGenericStore",(function(){return Fe})),r.d(t,"registerStore",(function(){return Ge})),r.d(t,"use",(function(){return He})),r.d(t,"withSelect",(function(){return xe})),r.d(t,"withDispatch",(function(){return ke})),r.d(t,"withRegistry",(function(){return Le})),r.d(t,"RegistryProvider",(function(){return me})),r.d(t,"RegistryConsumer",(function(){return je})),r.d(t,"useRegistry",(function(){return Se})),r.d(t,"useSelect",(function(){return Ie})),r.d(t,"useDispatch",(function(){return Ae})),r.d(t,"__experimentalAsyncModeProvider",(function(){return _e})),r.d(t,"createRegistry",(function(){return Q})),r.d(t,"createRegistrySelector",(function(){return Ce})),r.d(t,"createRegistryControl",(function(){return De})),r.d(t,"plugins",(function(){return i})),r.d(t,"combineReducers",(function(){return c.a}));var Me=ee.select,Ue=ee.dispatch,Ve=ee.subscribe,Fe=ee.registerGenericStore,Ge=ee.registerStore,He=ee.use},37:function(e,t){!function(){e.exports=this.wp.deprecated}()},38:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",(function(){return n}))},39:function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(t,"a",(function(){return n}))},41:function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},43:function(e,t,r){"use strict";function n(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(e){return void r(e)}c.done?t(a):Promise.resolve(a).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var u=e.apply(t,r);function c(e){n(u,o,i,c,a,"next",e)}function a(e){n(u,o,i,c,a,"throw",e)}c(void 0)}))}}r.d(t,"a",(function(){return o}))},64:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},7:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(10);function o(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,i){null!==i&&"object"===n(i)&&(o=o[1]),e.call(r,o,i,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,r),u&&o(t,u),e}();e.exports=u},8:function(e,t){!function(){e.exports=this.wp.compose}()},97:function(e,t){e.exports=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.data=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=367)}({0:function(e,t){!function(){e.exports=this.wp.element}()},108:function(e,t){e.exports=function(e){var t,r=Object.keys(e);return t=function(){var e,t,n;for(e="return {",t=0;t0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,n=r[_];if(void 0===n)return t;var o=e(t[n],r);return o===t[n]?t:Object(s.a)({},t,Object(D.a)({},n,o))}})])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new C.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var r="START_RESOLUTION"===t.type,n=new C.a(e);return n.set(t.args,r),n;case"INVALIDATE_RESOLUTION":var o=new C.a(e);return o.delete(t.args),o}return e})),U=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(f.has)(e,[t.selectorName])?Object(f.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return M(e,t)}return e};function F(e,t,r){var n=Object(f.get)(e,[t]);if(n)return n.get(r)}function V(e,t){return void 0!==F(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function G(e,t){return!1===F(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function H(e,t){return!0===F(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function z(e){return e}function W(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function X(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function J(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function K(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function Y(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function q(e,t,r){var i,u=t.reducer,a=function(e,t,r){var n=[k(r,e),N];if(t.controls){var o=Object(f.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(r):e}));n.push(T()(o))}var i=[E.apply(void 0,n)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var u=t.reducer,a=t.initialState;return w(c()({metadata:U,root:u}),{root:a},Object(f.flowRight)(i))}(e,t,r),l=function(e,t){return Object(f.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(Object(s.a)({},o,t.actions),a),p=function(e,t){return Object(f.mapValues)(e,(function(e){var r=function(){var r=arguments.length,n=new Array(r+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o1?r-1:0),o=1;o1?r-1:0),o=1;o3?i-3:0),c=3;c1?o-1:0),u=1;u1?o-1:0),u=1;u0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={},n=[];function o(){n.forEach((function(e){return e()}))}var i=function(e){return n.push(e),function(){n=Object(f.without)(n,e)}};function u(e){var n=r[e];return n?n.getSelectors():t&&t.select(e)}var c=p()((function(e){return Object(f.mapValues)(Object(f.omit)(e,["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"]),(function(t,r){return function(){for(var n=arguments.length,o=new Array(n),u=0;u1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,i){null!==i&&"object"===n(i)&&(o=o[1]),e.call(r,o,i,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,r),u&&o(t,u),e}();e.exports=u},8:function(e,t){!function(){e.exports=this.wp.compose}()},9:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},97:function(e,t){e.exports=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}}}); \ No newline at end of file diff --git a/wp-includes/js/dist/date.js b/wp-includes/js/dist/date.js index 91e0d37eeb..5e78b2d808 100644 --- a/wp-includes/js/dist/date.js +++ b/wp-includes/js/dist/date.js @@ -82,16 +82,16 @@ this["wp"] = this["wp"] || {}; this["wp"]["date"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 319); +/******/ return __webpack_require__(__webpack_require__.s = 339); /******/ }) /************************************************************************/ /******/ ({ -/***/ 210: +/***/ 209: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;//! moment-timezone.js -//! version : 0.5.26 +//! version : 0.5.27 //! Copyright (c) JS Foundation and other contributors //! license : MIT //! github.com/moment/moment-timezone @@ -101,9 +101,9 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ /*global define*/ if ( true && module.exports) { - module.exports = factory(__webpack_require__(29)); // Node + module.exports = factory(__webpack_require__(30)); // Node } else if (true) { - !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(29)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), + !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(30)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); // AMD @@ -117,7 +117,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ // return moment; // } - var VERSION = "0.5.26", + var VERSION = "0.5.27", zones = {}, links = {}, names = {}, @@ -722,14 +722,14 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ /***/ }), -/***/ 29: +/***/ 30: /***/ (function(module, exports) { (function() { module.exports = this["moment"]; }()); /***/ }), -/***/ 319: +/***/ 339: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -742,11 +742,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dateI18n", function() { return dateI18n; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isInTheFuture", function() { return isInTheFuture; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDate", function() { return getDate; }); -/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29); +/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30); /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var moment_timezone_moment_timezone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(210); +/* harmony import */ var moment_timezone_moment_timezone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(209); /* harmony import */ var moment_timezone_moment_timezone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment_timezone_moment_timezone__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(320); +/* harmony import */ var moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(340); /* harmony import */ var moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2__); /** * External dependencies @@ -754,6 +754,8 @@ __webpack_require__.r(__webpack_exports__); +/** @typedef {import('moment').Moment} Moment */ + var WP_ZONE = 'WP'; // Changes made here will likely need to be made in `lib/client-assets.php` as // well because it uses the `setSettings()` function to change these settings. @@ -903,7 +905,7 @@ var formatMap = { /** * Gets the ordinal suffix. * - * @param {moment} momentDate Moment instance. + * @param {Moment} momentDate Moment instance. * * @return {string} Formatted date. */ @@ -918,7 +920,7 @@ var formatMap = { /** * Gets the day of the year (zero-indexed). * - * @param {moment} momentDate Moment instance. + * @param {Moment} momentDate Moment instance. * * @return {string} Formatted date. */ @@ -937,7 +939,7 @@ var formatMap = { /** * Gets the days in the month. * - * @param {moment} momentDate Moment instance. + * @param {Moment} momentDate Moment instance. * * @return {string} Formatted date. */ @@ -949,7 +951,7 @@ var formatMap = { /** * Gets whether the current year is a leap year. * - * @param {moment} momentDate Moment instance. + * @param {Moment} momentDate Moment instance. * * @return {string} Formatted date. */ @@ -966,7 +968,7 @@ var formatMap = { /** * Gets the current time in Swatch Internet Time (.beats). * - * @param {moment} momentDate Moment instance. + * @param {Moment} momentDate Moment instance. * * @return {string} Formatted date. */ @@ -991,7 +993,7 @@ var formatMap = { /** * Gets whether the timezone is in DST currently. * - * @param {moment} momentDate Moment instance. + * @param {Moment} momentDate Moment instance. * * @return {string} Formatted date. */ @@ -1005,7 +1007,7 @@ var formatMap = { /** * Gets the timezone offset in seconds. * - * @param {moment} momentDate Moment instance. + * @param {Moment} momentDate Moment instance. * * @return {string} Formatted date. */ @@ -1025,10 +1027,10 @@ var formatMap = { /** * Formats a date. Does not alter the date's timezone. * - * @param {string} dateFormat PHP-style formatting string. - * See php.net/date. - * @param {(Date|string|moment|null)} dateValue Date object or string, - * parsable by moment.js. + * @param {string} dateFormat PHP-style formatting string. + * See php.net/date. + * @param {(Date|string|Moment|null)} dateValue Date object or string, + * parsable by moment.js. * * @return {string} Formatted date. */ @@ -1070,10 +1072,10 @@ function format(dateFormat) { /** * Formats a date (like `date()` in PHP), in the site's timezone. * - * @param {string} dateFormat PHP-style formatting string. - * See php.net/date. - * @param {(Date|string|moment|null)} dateValue Date object or string, - * parsable by moment.js. + * @param {string} dateFormat PHP-style formatting string. + * See php.net/date. + * @param {(Date|string|Moment|null)} dateValue Date object or string, + * parsable by moment.js. * * @return {string} Formatted date. */ @@ -1087,10 +1089,10 @@ function date(dateFormat) { /** * Formats a date (like `date()` in PHP), in the UTC timezone. * - * @param {string} dateFormat PHP-style formatting string. - * See php.net/date. - * @param {(Date|string|moment|null)} dateValue Date object or string, - * parsable by moment.js. + * @param {string} dateFormat PHP-style formatting string. + * See php.net/date. + * @param {(Date|string|Moment|null)} dateValue Date object or string, + * parsable by moment.js. * * @return {string} Formatted date. */ @@ -1103,12 +1105,12 @@ function gmdate(dateFormat) { /** * Formats a date (like `date_i18n()` in PHP). * - * @param {string} dateFormat PHP-style formatting string. - * See php.net/date. - * @param {(Date|string|moment|null)} dateValue Date object or string, - * parsable by moment.js. - * @param {boolean} gmt True for GMT/UTC, false for - * site's timezone. + * @param {string} dateFormat PHP-style formatting string. + * See php.net/date. + * @param {(Date|string|Moment|null)} dateValue Date object or string, + * parsable by moment.js. + * @param {boolean} gmt True for GMT/UTC, false for + * site's timezone. * * @return {string} Formatted date. */ @@ -1158,11 +1160,11 @@ setupWPTimezone(); /***/ }), -/***/ 320: +/***/ 340: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;//! moment-timezone-utils.js -//! version : 0.5.26 +//! version : 0.5.27 //! Copyright (c) JS Foundation and other contributors //! license : MIT //! github.com/moment/moment-timezone @@ -1172,9 +1174,9 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ /*global define*/ if ( true && module.exports) { - module.exports = factory(__webpack_require__(321)); // Node + module.exports = factory(__webpack_require__(341)); // Node } else if (true) { - !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(29)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), + !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(30)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); // AMD @@ -1484,19 +1486,19 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ /***/ }), -/***/ 321: +/***/ 341: /***/ (function(module, exports, __webpack_require__) { -var moment = module.exports = __webpack_require__(210); -moment.tz.load(__webpack_require__(322)); +var moment = module.exports = __webpack_require__(209); +moment.tz.load(__webpack_require__(342)); /***/ }), -/***/ 322: +/***/ 342: /***/ (function(module) { -module.exports = JSON.parse("{\"version\":\"2019b\",\"zones\":[\"Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5\",\"Africa/Accra|LMT GMT +0020|.Q 0 -k|012121212121212121212121212121212121212121212121|-26BbX.8 6tzX.8 MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE|41e5\",\"Africa/Nairobi|LMT EAT +0230 +0245|-2r.g -30 -2u -2J|01231|-1F3Cr.g 3Dzr.g okMu MFXJ|47e5\",\"Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5\",\"Africa/Lagos|LMT WAT|-d.A -10|01|-22y0d.A|17e6\",\"Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldX0 2xoo0|39e4\",\"Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5\",\"Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6\",\"Africa/Casablanca|LMT +00 +01|u.k 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|32e5\",\"Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3\",\"Africa/El_Aaiun|LMT -01 +00 +01|Q.M 10 0 -10|012323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|20e4\",\"Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5\",\"Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|01212121212121212121212121212121213|-1yW26.s 1zK06.s 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0\",\"Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|012121212121212121212121212121212131|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5\",\"Africa/Monrovia|MMT MMT GMT|H.8 I.u 0|012|-23Lzg.Q 28G01.m|11e5\",\"Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5\",\"Africa/Sao_Tome|LMT GMT WAT|A.J 0 -10|0121|-2le00 4i6N0 2q00\",\"Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5\",\"Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5\",\"Africa/Windhoek|+0130 SAST SAST CAT WAT|-1u -20 -30 -20 -10|01213434343434343434343434343434343434343434343434343|-2GJdu 1Ajdu 1cL0 1SqL0 9Io0 16P0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4\",\"America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326\",\"America/Anchorage|AST AWT APT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4\",\"America/Port_of_Spain|LMT AST|46.4 40|01|-2kNvR.U|43e3\",\"America/Araguaina|LMT -03 -02|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4\",\"America/Argentina/Buenos_Aires|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0\",\"America/Argentina/Catamarca|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0\",\"America/Argentina/Cordoba|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0\",\"America/Argentina/Jujuy|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0\",\"America/Argentina/La_Rioja|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0\",\"America/Argentina/Mendoza|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232312121321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0\",\"America/Argentina/Rio_Gallegos|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0\",\"America/Argentina/Salta|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0\",\"America/Argentina/San_Juan|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0\",\"America/Argentina/San_Luis|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121212321212|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0\",\"America/Argentina/Tucuman|CMT -04 -03 -02|4g.M 40 30 20|0121212121212121212121212121212121212121212323232313232123232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0\",\"America/Argentina/Ushuaia|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0\",\"America/Curacao|LMT -0430 AST|4z.L 4u 40|012|-2kV7o.d 28KLS.d|15e4\",\"America/Asuncion|AMT -04 -03|3O.E 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5\",\"America/Atikokan|CST CDT CWT CPT EST|60 50 50 50 50|0101234|-25TQ0 1in0 Rnb0 3je0 8x30 iw0|28e2\",\"America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 80 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3\",\"America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5\",\"America/Barbados|LMT BMT AST ADT|3W.t 3W.t 40 30|01232323232|-1Q0I1.v jsM0 1ODC1.v IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4\",\"America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5\",\"America/Belize|LMT CST -0530 CDT|5Q.M 60 5u 50|01212121212121212121212121212121212121212121212121213131|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1f0Mu qn0 lxB0 mn0|57e3\",\"America/Blanc-Sablon|AST ADT AWT APT|40 30 30 30|010230|-25TS0 1in0 UGp0 8x50 iu0|11e2\",\"America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2\",\"America/Bogota|BMT -05 -04|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5\",\"America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4\",\"America/Cambridge_Bay|-00 MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2\",\"America/Campo_Grande|LMT -04 -03|3C.s 40 30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|77e4\",\"America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4\",\"America/Caracas|CMT -0430 -04|4r.E 4u 40|01212|-2kV7w.k 28KM2.k 1IwOu kqo0|29e5\",\"America/Cayenne|LMT -04 -03|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3\",\"America/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5\",\"America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5\",\"America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4\",\"America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5\",\"America/Creston|MST PST|70 80|010|-29DR0 43B0|53e2\",\"America/Cuiaba|LMT -04 -03|3I.k 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|54e4\",\"America/Danmarkshavn|LMT -03 -02 GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8\",\"America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3\",\"America/Dawson|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|13e2\",\"America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5\",\"America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|012342525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 XQp0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5\",\"America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|01212121212121341212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 LFB0 1cL0 3Cp0 1cL0 66N0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5\",\"America/Eirunepe|LMT -05 -04|4D.s 50 40|0121212121212121212121212121212121|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3\",\"America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5\",\"America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5\",\"America/Fort_Nelson|PST PDT PWT PPT MST|80 70 70 70 70|01023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010104|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2\",\"America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Fortaleza|LMT -03 -02|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5\",\"America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3\",\"America/Godthab|LMT -03 -02|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3\",\"America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2\",\"America/Grand_Turk|KMT EST EDT AST|57.a 50 40 40|01212121212121212121212121212121212121212121212121212121212121212121212121232121212121212121212121212121212121212121|-2l1uQ.O 2HHBQ.O 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 5Ip0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2\",\"America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5\",\"America/Guayaquil|QMT -05 -04|5e 50 40|0121|-1yVSK 2uILK rz0|27e5\",\"America/Guyana|LMT -0345 -03 -04|3Q.E 3J 30 40|0123|-2dvU7.k 2r6LQ.k Bxbf|80e4\",\"America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4\",\"America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5\",\"America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 80 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4\",\"America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Inuvik|-00 PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2\",\"America/Iqaluit|-00 EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2\",\"America/Jamaica|KMT EST EDT|57.a 50 40|0121212121212121212121|-2l1uQ.O 2uM1Q.O 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4\",\"America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3\",\"America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 Bb0 10N0 2bB0 8in0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/La_Paz|CMT BST -04|4w.A 3w.A 40|012|-1x37r.o 13b0|19e5\",\"America/Lima|LMT -05 -04|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6\",\"America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6\",\"America/Maceio|LMT -03 -02|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4\",\"America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5\",\"America/Manaus|LMT -04 -03|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5\",\"America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0|39e4\",\"America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4\",\"America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 80 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|44e4\",\"America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2\",\"America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|11e5\",\"America/Metlakatla|PST PWT PPT PDT AKST AKDT|80 70 70 70 90 80|01203030303030303030303030303030304545450454545454545454545454545454545454545454|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2\",\"America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6\",\"America/Miquelon|LMT AST -03 -02|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2\",\"America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3\",\"America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5\",\"America/Montevideo|LMT MMT -04 -03 -0330 -0230 -02 -0130|3I.P 3I.P 40 30 3u 2u 20 1u|012343434343434343434343435353636353636375363636363636363636363636363636363636363636363|-2tRUf.9 sVc0 8jcf.9 1db0 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1fAu 1cLu 1o0u 11zu NAu 3jXu zXu Dq0u 19Xu pcu jz0 cm10 19X0 6tB0 1fbu 3o0u jX0 4vB0 xz0 3Cp0 mmu 1a10 IMu Db0 4c10 uL0 1Nd0 An0 1SN0 uL0 mp0 28L0 iPB0 un0 1SN0 xz0 1zd0 Lz0 1zd0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5\",\"America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5\",\"America/Nassau|LMT EST EDT|59.u 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2kNuO.u 26XdO.u 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|24e4\",\"America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6\",\"America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2\",\"America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2\",\"America/Noronha|LMT -02 -01|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2\",\"America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3\",\"America/Pangnirtung|-00 AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2\",\"America/Paramaribo|LMT PMT PMT -0330 -03|3E.E 3E.Q 3E.A 3u 30|01234|-2nDUj.k Wqo0.c qanX.I 1yVXN.o|24e4\",\"America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5\",\"America/Port-au-Prince|PPMT EST EDT|4N 50 40|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5\",\"America/Rio_Branco|LMT -05 -04|4v.c 50 40|01212121212121212121212121212121|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4\",\"America/Porto_Velho|LMT -04 -03|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4\",\"America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5\",\"America/Punta_Arenas|SMT -05 -04 -03|4G.K 50 40 30|0102021212121212121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 blz0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0\",\"America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|842\",\"America/Rankin_Inlet|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2\",\"America/Recife|LMT -03 -02|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5\",\"America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4\",\"America/Resolute|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229\",\"America/Santarem|LMT -04 -03|3C.M 40 30|0121212121212121212121212121212|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4\",\"America/Santiago|SMT -05 -04 -03|4G.K 50 40 30|010202121212121212321232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|62e5\",\"America/Santo_Domingo|SDMT EST EDT -0430 AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5\",\"America/Sao_Paulo|LMT -03 -02|36.s 30 20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|20e6\",\"America/Scoresbysund|LMT -02 -01 +00|1r.Q 20 10 0|0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452\",\"America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2\",\"America/St_Johns|NST NDT NST NDT NWT NPT NDDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4\",\"America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3\",\"America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5\",\"America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656\",\"America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4\",\"America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5\",\"America/Whitehorse|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3\",\"America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4\",\"America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642\",\"America/Yellowknife|-00 MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3\",\"Antarctica/Casey|-00 +08 +11|0 -80 -b0|01212121|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10|10\",\"Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70\",\"Antarctica/DumontDUrville|-00 +10|0 -a0|0101|-U0o0 cfq0 bFm0|80\",\"Antarctica/Macquarie|AEST AEDT -00 +11|-a0 -b0 0 -b0|0102010101010101010101010101010101010101010101010101010101010101010101010101010101010101013|-29E80 19X0 4SL0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0|1\",\"Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60\",\"Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5\",\"Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40\",\"Antarctica/Rothera|-00 -03|0 30|01|gOo0|130\",\"Antarctica/Syowa|-00 +03|0 -30|01|-vs00|20\",\"Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40\",\"Antarctica/Vostok|-00 +06|0 -60|01|-tjA0|25\",\"Europe/Oslo|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e4\",\"Asia/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5\",\"Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5\",\"Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e5\",\"Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3\",\"Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4\",\"Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4\",\"Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4\",\"Asia/Atyrau|LMT +03 +05 +06 +04|-3r.I -30 -50 -60 -40|01232323232323232323242323232323232324242424242|-1Pc3r.I eUor.I 24PW0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0\",\"Asia/Baghdad|BMT +03 +04|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5\",\"Asia/Qatar|LMT +04 +03|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4\",\"Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5\",\"Asia/Bangkok|BMT +07|-6G.4 -70|01|-218SG.4|15e6\",\"Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0\",\"Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5\",\"Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4\",\"Asia/Brunei|LMT +0730 +08|-7D.E -7u -80|012|-1KITD.E gDc9.E|42e4\",\"Asia/Kolkata|MMT IST +0630|-5l.a -5u -6u|012121|-2zOtl.a 1r2LP.a 1un0 HB0 7zX0|15e6\",\"Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4\",\"Asia/Choibalsan|LMT +07 +08 +10 +09|-7C -70 -80 -a0 -90|0123434343434343434343434343434343434343434343424242|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3\",\"Asia/Shanghai|CST CDT|-80 -90|010101010101010101010101010|-1c2w0 Rz0 11d0 1wL0 A10 8HX0 1G10 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 aL0 1tU30 Rb0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6\",\"Asia/Colombo|MMT +0530 +06 +0630|-5j.w -5u -60 -6u|01231321|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5\",\"Asia/Dhaka|HMT +0630 +0530 +06 +07|-5R.k -6u -5u -60 -70|0121343|-18LFR.k 1unn.k HB0 m6n0 2kxbu 1i00|16e6\",\"Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|26e5\",\"Asia/Dili|LMT +08 +09|-8m.k -80 -90|01212|-2le8m.k 1dnXm.k 1nfA0 Xld0|19e4\",\"Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5\",\"Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4\",\"Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212312121212121212121212121212121212121212121|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00\",\"Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|0101010101010101010101010101010123232323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|18e5\",\"Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101012323232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|25e4\",\"Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5\",\"Asia/Hong_Kong|LMT HKT HKST HKT JST|-7A.G -80 -90 -8u -90|0123412121212121212121212121212121212121212121212121212121212121212121|-2CFH0 1taO0 Hc0 xUu 9tBu 11z0 1tDu Rc0 1wo0 11A0 1cM0 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5\",\"Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3\",\"Asia/Irkutsk|IMT +07 +08 +09|-6V.5 -70 -80 -90|01232323232323232323232123232323232323232323232323232323232323232|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4\",\"Europe/Istanbul|IMT EET EEST +04 +03|-1U.U -20 -30 -40 -30|012121212121212121212121212121212121212121212121212121234343434342121212121212121212121212121212121212121212121212121212121212124|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSp0 CL0 mN0 1Vz0 1gN0 1pz0 5Rd0 1fz0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1jB0 18L0 1ip0 17z0 qdd0 xX0 3S10 Tz0 dA10 11z0 1o10 11z0 1qN0 11z0 1ze0 11B0 WM0 1qO0 WI0 1nX0 1rB0 10L0 11B0 1in0 17d0 1in0 2pX0 19E0 1fU0 16Q0 1iI0 16Q0 1iI0 1Vd0 pb0 3Kp0 14o0 1de0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6\",\"Asia/Jakarta|BMT +0720 +0730 +09 +08 WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6\",\"Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4\",\"Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|012121212121321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyMk.E 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 3LB0 Em0 or0 1cn0 1dB0 16n0 10O0 1ja0 1tC0 14o0 1cM0 1a00 11A0 1Na0 An0 1MP0 AJ0 1Kp0 LC0 1oo0 Wl0 EQN0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4\",\"Asia/Kabul|+04 +0430|-40 -4u|01|-10Qs0|46e5\",\"Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4\",\"Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6\",\"Asia/Urumqi|LMT +06|-5O.k -60|01|-1GgtO.k|32e5\",\"Asia/Kathmandu|LMT +0530 +0545|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5\",\"Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2\",\"Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5\",\"Asia/Kuala_Lumpur|SMT +07 +0720 +0730 +09 +08|-6T.p -70 -7k -7u -90 -80|0123435|-2Bg6T.p 17anT.p l5XE 17bO 8Fyu 1so1u|71e5\",\"Asia/Kuching|LMT +0730 +08 +0820 +09|-7l.k -7u -80 -8k -90|0123232323232323242|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0|13e4\",\"Asia/Macau|LMT CST +09 +10 CDT|-7y.a -80 -90 -a0 -90|012323214141414141414141414141414141414141414141414141414141414141414141|-2CFHy.a 1uqKy.a PX0 1kn0 15B0 11b0 4Qq0 1oM0 11c0 1ko0 1u00 11A0 1cM0 11c0 1o00 11A0 1o00 11A0 1oo0 1400 1o00 11A0 1o00 U00 1tA0 U00 1wo0 Rc0 1wru U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cK0 1cO0 1cK0 1cO0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|57e4\",\"Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3\",\"Asia/Makassar|LMT MMT +08 +09 WITA|-7V.A -7V.A -80 -90 -80|01234|-21JjV.A vfc0 myLV.A 8ML0|15e5\",\"Asia/Manila|PST PDT JST|-80 -90 -90|010201010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6\",\"Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|32e4\",\"Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4\",\"Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5\",\"Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5\",\"Asia/Oral|LMT +03 +05 +06 +04|-3p.o -30 -50 -60 -40|01232323232323232424242424242424242424242424242|-1Pc3p.o eUop.o 23CK0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4\",\"Asia/Pontianak|LMT PMT +0730 +09 +08 WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4\",\"Asia/Pyongyang|LMT KST JST KST|-8n -8u -90 -90|012313|-2um8n 97XR 1lTzu 2Onc0 6BA0|29e5\",\"Asia/Qostanay|LMT +04 +05 +06|-4e.s -40 -50 -60|012323232323232323232123232323232323232323232323|-1Pc4e.s eUoe.s 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0\",\"Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|01232323232323232323232323232323232323232323232|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 zQl0|73e4\",\"Asia/Rangoon|RMT +0630 +09|-6o.L -6u -90|0121|-21Jio.L SmnS.L 7j9u|48e5\",\"Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4\",\"Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4\",\"Asia/Seoul|LMT KST JST KST KDT KDT|-8r.Q -8u -90 -90 -9u -a0|0123141414141414135353|-2um8r.Q 97XV.Q 1m1zu kKo0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6\",\"Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2\",\"Asia/Taipei|CST JST CDT|-80 -90 -90|01020202020202020202020202020202020202020|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5\",\"Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5\",\"Asia/Tbilisi|TBMT +03 +04 +05|-2X.b -30 -40 -50|0123232323232323232323212121232323232323232323212|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5\",\"Asia/Tehran|LMT TMT +0330 +04 +05 +0430|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6\",\"Asia/Thimphu|LMT +0530 +06|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3\",\"Asia/Tokyo|JST JDT|-90 -a0|010101010|-QJJ0 Rb0 1ld0 14n0 1zd0 On0 1zd0 On0|38e6\",\"Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5\",\"Asia/Ulaanbaatar|LMT +07 +08 +09|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5\",\"Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2\",\"Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4\",\"Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4\",\"Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5\",\"Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5\",\"Atlantic/Azores|HMT -02 -01 +00 WET|1S.w 20 10 0 0|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2ldW0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4\",\"Atlantic/Bermuda|LMT AST ADT|4j.i 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1BnRE.G 1LTbE.G 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3\",\"Atlantic/Canary|LMT -01 WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4\",\"Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2ldW0 1eEo0 7zX0 1djf0|50e4\",\"Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3\",\"Atlantic/Madeira|FMT -01 +00 +01 WET WEST|17.A 10 0 -10 0 -10|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldX0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e4\",\"Atlantic/Reykjavik|LMT -01 +00 GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4\",\"Atlantic/South_Georgia|-02|20|0||30\",\"Atlantic/Stanley|SMT -04 -03 -02|3P.o 40 30 20|012121212121212323212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2\",\"Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5\",\"Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5\",\"Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5\",\"Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3\",\"Australia/Currie|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|746\",\"Australia/Darwin|ACST ACDT|-9u -au|010101010|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0|12e4\",\"Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293kI xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368\",\"Australia/Hobart|AEST AEDT|-a0 -b0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 VfB0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4\",\"Australia/Lord_Howe|AEST +1030 +1130 +11|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347\",\"Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10\",\"Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5\",\"Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293jX xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5\",\"CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00\",\"Pacific/Easter|EMT -07 -06 -05|7h.s 70 60 50|012121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|30e2\",\"CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00\",\"Europe/Dublin|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g600 14o0 1wo0 17c0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"EST|EST|50|0|\",\"EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"Etc/GMT-0|GMT|0|0|\",\"Etc/GMT-1|+01|-10|0|\",\"Pacific/Port_Moresby|+10|-a0|0||25e4\",\"Etc/GMT-11|+11|-b0|0|\",\"Pacific/Tarawa|+12|-c0|0||29e3\",\"Etc/GMT-13|+13|-d0|0|\",\"Etc/GMT-14|+14|-e0|0|\",\"Etc/GMT-2|+02|-20|0|\",\"Etc/GMT-3|+03|-30|0|\",\"Etc/GMT-4|+04|-40|0|\",\"Etc/GMT-5|+05|-50|0|\",\"Etc/GMT-6|+06|-60|0|\",\"Indian/Christmas|+07|-70|0||21e2\",\"Etc/GMT-8|+08|-80|0|\",\"Pacific/Palau|+09|-90|0||21e3\",\"Etc/GMT+1|-01|10|0|\",\"Etc/GMT+10|-10|a0|0|\",\"Etc/GMT+11|-11|b0|0|\",\"Etc/GMT+12|-12|c0|0|\",\"Etc/GMT+3|-03|30|0|\",\"Etc/GMT+4|-04|40|0|\",\"Etc/GMT+5|-05|50|0|\",\"Etc/GMT+6|-06|60|0|\",\"Etc/GMT+7|-07|70|0|\",\"Etc/GMT+8|-08|80|0|\",\"Etc/GMT+9|-09|90|0|\",\"Etc/UTC|UTC|0|0|\",\"Europe/Amsterdam|AMT NST +0120 +0020 CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|16e5\",\"Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|79e3\",\"Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|10e5\",\"Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5\",\"Europe/London|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6\",\"Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e5\",\"Europe/Prague|CET CEST GMT|-10 -20 0|01010101010101010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 1qM0 11c0 mp0 xA0 mn0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e5\",\"Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|21e5\",\"Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|19e5\",\"Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1ip0 17b0 1op0 1tb0 Q2m0 3Ne0 WM0 1fA0 1cM0 1cM0 1oJ0 1dc0 1030 1fA0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1iM0 1fA0 8Ha0 Rb0 1wN0 Rb0 1BB0 Lz0 1C20 LB0 SNX0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5\",\"Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e4\",\"Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|012323232323232323234545467676767676767676767323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4\",\"Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|30e3\",\"Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"Europe/Kaliningrad|CET CEST CET CEST MSK MSD EEST EET +03|-10 -20 -20 -30 -30 -40 -30 -20 -30|0101010101010232454545454545454546767676767676767676767676767676767676767676787|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 Am0 Lb0 1en0 op0 1pNz0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4\",\"Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|34e5\",\"Europe/Kirov|LMT +03 +04 +05|-3i.M -30 -40 -50|01232323232323232321212121212121212121212121212121212121212121|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4\",\"Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|012121212121212121212121212121212121212121212321232123212321212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2le00 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5\",\"Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4\",\"Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|010101010101010101210343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-25Td0 19B0 1cL0 1dd0 b1z0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1in0 17d0 iIn0 Hd0 1cL0 bb0 1200 2s20 14n0 5aL0 Mp0 1vz0 17d0 1in0 17d0 1in0 17d0 1in0 17d0 6hX0 11B0 XHX0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e5\",\"Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4\",\"Europe/Minsk|MMT EET MSK CEST CET MSD EEST +03|-1O -20 -30 -20 -10 -40 -30 -30|01234343252525252525252525261616161616161616161616161616161616161617|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5\",\"Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e3\",\"Europe/Moscow|MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6\",\"Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco8.l cNb8.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6\",\"Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -20 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|64e4\",\"Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|39e5\",\"Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5\",\"Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810\",\"Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4\",\"Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|15e5\",\"Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e4\",\"Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4\",\"Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|13e5\",\"Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4\",\"Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1a00 1cM0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5\",\"Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4\",\"Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 9Jd0|10e5\",\"Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5\",\"Europe/Zaporozhye|+0220 EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4\",\"HST|HST|a0|0|\",\"Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2\",\"Indian/Cocos|+0630|-6u|0||596\",\"Indian/Kerguelen|-00 +05|0 -50|01|-MG00|130\",\"Indian/Mahe|LMT +04|-3F.M -40|01|-2yO3F.M|79e3\",\"Indian/Maldives|MMT +05|-4S -50|01|-olgS|35e4\",\"Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4\",\"Indian/Reunion|LMT +04|-3F.Q -40|01|-2mDDF.Q|84e4\",\"Pacific/Kwajalein|+11 +10 +09 -12 +12|-b0 -a0 -90 c0 -c0|012034|-1kln0 akp0 6Up0 12ry0 Wan0|14e3\",\"MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00\",\"MST|MST|70|0|\",\"MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"Pacific/Chatham|+1215 +1245 +1345|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600\",\"Pacific/Apia|LMT -1130 -11 -10 +14 +13|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545454545454545454545454545454545454|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|37e3\",\"Pacific/Bougainville|+10 +09 +11|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4\",\"Pacific/Chuuk|+10 +09|-a0 -90|01010|-2ewy0 axB0 RVX0 axd0|49e3\",\"Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|0121212121212121212121|-2l9nd.g 2Szcd.g 1cL0 1oN0 10L0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3\",\"Pacific/Enderbury|-12 -11 +13|c0 b0 -d0|012|nIc0 B7X0|1\",\"Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483\",\"Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|0121212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0|88e4\",\"Pacific/Galapagos|LMT -05 -06|5W.o 50 60|01212|-1yVS1.A 2dTz1.A gNd0 rz0|25e3\",\"Pacific/Gambier|LMT -09|8X.M 90|01|-2jof0.c|125\",\"Pacific/Guadalcanal|LMT +11|-aD.M -b0|01|-2joyD.M|11e4\",\"Pacific/Guam|GST +09 GDT ChST|-a0 -90 -b0 -a0|01020202020202020203|-18jK0 6pB0 AhB0 3QL0 g2p0 3p91 WOX rX0 1zd0 Rb0 1wp0 Rb0 5xd0 rX0 5sN0 zb1 1C0X On0 ULb0|17e4\",\"Pacific/Honolulu|HST HDT HWT HPT HST|au 9u 9u 9u a0|0102304|-1thLu 8x0 lef0 8wWu iAu 46p0|37e4\",\"Pacific/Kiritimati|-1040 -10 +14|aE a0 -e0|012|nIaE B7Xk|51e2\",\"Pacific/Kosrae|+11 +09 +10 +12|-b0 -90 -a0 -c0|01021030|-2ewz0 axC0 HBy0 akp0 axd0 WOK0 1bdz0|66e2\",\"Pacific/Majuro|+11 +09 +10 +12|-b0 -90 -a0 -c0|0102103|-2ewz0 axC0 HBy0 akp0 6RB0 12um0|28e3\",\"Pacific/Marquesas|LMT -0930|9i 9u|01|-2joeG|86e2\",\"Pacific/Pago_Pago|LMT SST|bm.M b0|01|-2nDMB.c|37e2\",\"Pacific/Nauru|LMT +1130 +09 +12|-b7.E -bu -90 -c0|01213|-1Xdn7.E QCnB.E 7mqu 1lnbu|10e3\",\"Pacific/Niue|-1120 -1130 -11|bk bu b0|012|-KfME 17y0a|12e2\",\"Pacific/Norfolk|+1112 +1130 +1230 +11|-bc -bu -cu -b0|01213|-Kgbc W01G On0 1COp0|25e4\",\"Pacific/Noumea|LMT +11 +12|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3\",\"Pacific/Pitcairn|-0830 -08|8u 80|01|18Vku|56\",\"Pacific/Pohnpei|+11 +09 +10|-b0 -90 -a0|010210|-2ewz0 axC0 HBy0 akp0 axd0|34e3\",\"Pacific/Rarotonga|-1030 -0930 -10|au 9u a0|012121212121212121212121212|lyWu IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3\",\"Pacific/Tahiti|LMT -10|9W.g a0|01|-2joe1.I|18e4\",\"Pacific/Tongatapu|+1220 +13 +14|-ck -d0 -e0|0121212121|-1aB0k 2n5dk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3\",\"PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00\"],\"links\":[\"Africa/Abidjan|Africa/Bamako\",\"Africa/Abidjan|Africa/Banjul\",\"Africa/Abidjan|Africa/Conakry\",\"Africa/Abidjan|Africa/Dakar\",\"Africa/Abidjan|Africa/Freetown\",\"Africa/Abidjan|Africa/Lome\",\"Africa/Abidjan|Africa/Nouakchott\",\"Africa/Abidjan|Africa/Ouagadougou\",\"Africa/Abidjan|Africa/Timbuktu\",\"Africa/Abidjan|Atlantic/St_Helena\",\"Africa/Cairo|Egypt\",\"Africa/Johannesburg|Africa/Maseru\",\"Africa/Johannesburg|Africa/Mbabane\",\"Africa/Lagos|Africa/Bangui\",\"Africa/Lagos|Africa/Brazzaville\",\"Africa/Lagos|Africa/Douala\",\"Africa/Lagos|Africa/Kinshasa\",\"Africa/Lagos|Africa/Libreville\",\"Africa/Lagos|Africa/Luanda\",\"Africa/Lagos|Africa/Malabo\",\"Africa/Lagos|Africa/Niamey\",\"Africa/Lagos|Africa/Porto-Novo\",\"Africa/Maputo|Africa/Blantyre\",\"Africa/Maputo|Africa/Bujumbura\",\"Africa/Maputo|Africa/Gaborone\",\"Africa/Maputo|Africa/Harare\",\"Africa/Maputo|Africa/Kigali\",\"Africa/Maputo|Africa/Lubumbashi\",\"Africa/Maputo|Africa/Lusaka\",\"Africa/Nairobi|Africa/Addis_Ababa\",\"Africa/Nairobi|Africa/Asmara\",\"Africa/Nairobi|Africa/Asmera\",\"Africa/Nairobi|Africa/Dar_es_Salaam\",\"Africa/Nairobi|Africa/Djibouti\",\"Africa/Nairobi|Africa/Kampala\",\"Africa/Nairobi|Africa/Mogadishu\",\"Africa/Nairobi|Indian/Antananarivo\",\"Africa/Nairobi|Indian/Comoro\",\"Africa/Nairobi|Indian/Mayotte\",\"Africa/Tripoli|Libya\",\"America/Adak|America/Atka\",\"America/Adak|US/Aleutian\",\"America/Anchorage|US/Alaska\",\"America/Argentina/Buenos_Aires|America/Buenos_Aires\",\"America/Argentina/Catamarca|America/Argentina/ComodRivadavia\",\"America/Argentina/Catamarca|America/Catamarca\",\"America/Argentina/Cordoba|America/Cordoba\",\"America/Argentina/Cordoba|America/Rosario\",\"America/Argentina/Jujuy|America/Jujuy\",\"America/Argentina/Mendoza|America/Mendoza\",\"America/Atikokan|America/Coral_Harbour\",\"America/Chicago|US/Central\",\"America/Curacao|America/Aruba\",\"America/Curacao|America/Kralendijk\",\"America/Curacao|America/Lower_Princes\",\"America/Denver|America/Shiprock\",\"America/Denver|Navajo\",\"America/Denver|US/Mountain\",\"America/Detroit|US/Michigan\",\"America/Edmonton|Canada/Mountain\",\"America/Fort_Wayne|America/Indiana/Indianapolis\",\"America/Fort_Wayne|America/Indianapolis\",\"America/Fort_Wayne|US/East-Indiana\",\"America/Halifax|Canada/Atlantic\",\"America/Havana|Cuba\",\"America/Indiana/Knox|America/Knox_IN\",\"America/Indiana/Knox|US/Indiana-Starke\",\"America/Jamaica|Jamaica\",\"America/Kentucky/Louisville|America/Louisville\",\"America/Los_Angeles|US/Pacific\",\"America/Los_Angeles|US/Pacific-New\",\"America/Manaus|Brazil/West\",\"America/Mazatlan|Mexico/BajaSur\",\"America/Mexico_City|Mexico/General\",\"America/New_York|US/Eastern\",\"America/Noronha|Brazil/DeNoronha\",\"America/Panama|America/Cayman\",\"America/Phoenix|US/Arizona\",\"America/Port_of_Spain|America/Anguilla\",\"America/Port_of_Spain|America/Antigua\",\"America/Port_of_Spain|America/Dominica\",\"America/Port_of_Spain|America/Grenada\",\"America/Port_of_Spain|America/Guadeloupe\",\"America/Port_of_Spain|America/Marigot\",\"America/Port_of_Spain|America/Montserrat\",\"America/Port_of_Spain|America/St_Barthelemy\",\"America/Port_of_Spain|America/St_Kitts\",\"America/Port_of_Spain|America/St_Lucia\",\"America/Port_of_Spain|America/St_Thomas\",\"America/Port_of_Spain|America/St_Vincent\",\"America/Port_of_Spain|America/Tortola\",\"America/Port_of_Spain|America/Virgin\",\"America/Regina|Canada/Saskatchewan\",\"America/Rio_Branco|America/Porto_Acre\",\"America/Rio_Branco|Brazil/Acre\",\"America/Santiago|Chile/Continental\",\"America/Sao_Paulo|Brazil/East\",\"America/St_Johns|Canada/Newfoundland\",\"America/Tijuana|America/Ensenada\",\"America/Tijuana|America/Santa_Isabel\",\"America/Tijuana|Mexico/BajaNorte\",\"America/Toronto|America/Montreal\",\"America/Toronto|Canada/Eastern\",\"America/Vancouver|Canada/Pacific\",\"America/Whitehorse|Canada/Yukon\",\"America/Winnipeg|Canada/Central\",\"Asia/Ashgabat|Asia/Ashkhabad\",\"Asia/Bangkok|Asia/Phnom_Penh\",\"Asia/Bangkok|Asia/Vientiane\",\"Asia/Dhaka|Asia/Dacca\",\"Asia/Dubai|Asia/Muscat\",\"Asia/Ho_Chi_Minh|Asia/Saigon\",\"Asia/Hong_Kong|Hongkong\",\"Asia/Jerusalem|Asia/Tel_Aviv\",\"Asia/Jerusalem|Israel\",\"Asia/Kathmandu|Asia/Katmandu\",\"Asia/Kolkata|Asia/Calcutta\",\"Asia/Kuala_Lumpur|Asia/Singapore\",\"Asia/Kuala_Lumpur|Singapore\",\"Asia/Macau|Asia/Macao\",\"Asia/Makassar|Asia/Ujung_Pandang\",\"Asia/Nicosia|Europe/Nicosia\",\"Asia/Qatar|Asia/Bahrain\",\"Asia/Rangoon|Asia/Yangon\",\"Asia/Riyadh|Asia/Aden\",\"Asia/Riyadh|Asia/Kuwait\",\"Asia/Seoul|ROK\",\"Asia/Shanghai|Asia/Chongqing\",\"Asia/Shanghai|Asia/Chungking\",\"Asia/Shanghai|Asia/Harbin\",\"Asia/Shanghai|PRC\",\"Asia/Taipei|ROC\",\"Asia/Tehran|Iran\",\"Asia/Thimphu|Asia/Thimbu\",\"Asia/Tokyo|Japan\",\"Asia/Ulaanbaatar|Asia/Ulan_Bator\",\"Asia/Urumqi|Asia/Kashgar\",\"Atlantic/Faroe|Atlantic/Faeroe\",\"Atlantic/Reykjavik|Iceland\",\"Atlantic/South_Georgia|Etc/GMT+2\",\"Australia/Adelaide|Australia/South\",\"Australia/Brisbane|Australia/Queensland\",\"Australia/Broken_Hill|Australia/Yancowinna\",\"Australia/Darwin|Australia/North\",\"Australia/Hobart|Australia/Tasmania\",\"Australia/Lord_Howe|Australia/LHI\",\"Australia/Melbourne|Australia/Victoria\",\"Australia/Perth|Australia/West\",\"Australia/Sydney|Australia/ACT\",\"Australia/Sydney|Australia/Canberra\",\"Australia/Sydney|Australia/NSW\",\"Etc/GMT-0|Etc/GMT\",\"Etc/GMT-0|Etc/GMT+0\",\"Etc/GMT-0|Etc/GMT0\",\"Etc/GMT-0|Etc/Greenwich\",\"Etc/GMT-0|GMT\",\"Etc/GMT-0|GMT+0\",\"Etc/GMT-0|GMT-0\",\"Etc/GMT-0|GMT0\",\"Etc/GMT-0|Greenwich\",\"Etc/UTC|Etc/UCT\",\"Etc/UTC|Etc/Universal\",\"Etc/UTC|Etc/Zulu\",\"Etc/UTC|UCT\",\"Etc/UTC|UTC\",\"Etc/UTC|Universal\",\"Etc/UTC|Zulu\",\"Europe/Belgrade|Europe/Ljubljana\",\"Europe/Belgrade|Europe/Podgorica\",\"Europe/Belgrade|Europe/Sarajevo\",\"Europe/Belgrade|Europe/Skopje\",\"Europe/Belgrade|Europe/Zagreb\",\"Europe/Chisinau|Europe/Tiraspol\",\"Europe/Dublin|Eire\",\"Europe/Helsinki|Europe/Mariehamn\",\"Europe/Istanbul|Asia/Istanbul\",\"Europe/Istanbul|Turkey\",\"Europe/Lisbon|Portugal\",\"Europe/London|Europe/Belfast\",\"Europe/London|Europe/Guernsey\",\"Europe/London|Europe/Isle_of_Man\",\"Europe/London|Europe/Jersey\",\"Europe/London|GB\",\"Europe/London|GB-Eire\",\"Europe/Moscow|W-SU\",\"Europe/Oslo|Arctic/Longyearbyen\",\"Europe/Oslo|Atlantic/Jan_Mayen\",\"Europe/Prague|Europe/Bratislava\",\"Europe/Rome|Europe/San_Marino\",\"Europe/Rome|Europe/Vatican\",\"Europe/Warsaw|Poland\",\"Europe/Zurich|Europe/Busingen\",\"Europe/Zurich|Europe/Vaduz\",\"Indian/Christmas|Etc/GMT-7\",\"Pacific/Auckland|Antarctica/McMurdo\",\"Pacific/Auckland|Antarctica/South_Pole\",\"Pacific/Auckland|NZ\",\"Pacific/Chatham|NZ-CHAT\",\"Pacific/Chuuk|Pacific/Truk\",\"Pacific/Chuuk|Pacific/Yap\",\"Pacific/Easter|Chile/EasterIsland\",\"Pacific/Guam|Pacific/Saipan\",\"Pacific/Honolulu|Pacific/Johnston\",\"Pacific/Honolulu|US/Hawaii\",\"Pacific/Kwajalein|Kwajalein\",\"Pacific/Pago_Pago|Pacific/Midway\",\"Pacific/Pago_Pago|Pacific/Samoa\",\"Pacific/Pago_Pago|US/Samoa\",\"Pacific/Palau|Etc/GMT-9\",\"Pacific/Pohnpei|Pacific/Ponape\",\"Pacific/Port_Moresby|Etc/GMT-10\",\"Pacific/Tarawa|Etc/GMT-12\",\"Pacific/Tarawa|Pacific/Funafuti\",\"Pacific/Tarawa|Pacific/Wake\",\"Pacific/Tarawa|Pacific/Wallis\"]}"); +module.exports = JSON.parse("{\"version\":\"2019c\",\"zones\":[\"Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5\",\"Africa/Accra|LMT GMT +0020|.Q 0 -k|012121212121212121212121212121212121212121212121|-26BbX.8 6tzX.8 MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE|41e5\",\"Africa/Nairobi|LMT EAT +0230 +0245|-2r.g -30 -2u -2J|01231|-1F3Cr.g 3Dzr.g okMu MFXJ|47e5\",\"Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5\",\"Africa/Lagos|LMT WAT|-d.A -10|01|-22y0d.A|17e6\",\"Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldX0 2xoo0|39e4\",\"Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5\",\"Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6\",\"Africa/Casablanca|LMT +00 +01|u.k 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|32e5\",\"Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3\",\"Africa/El_Aaiun|LMT -01 +00 +01|Q.M 10 0 -10|012323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|20e4\",\"Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5\",\"Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|01212121212121212121212121212121213|-1yW26.s 1zK06.s 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0\",\"Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|012121212121212121212121212121212131|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5\",\"Africa/Monrovia|MMT MMT GMT|H.8 I.u 0|012|-23Lzg.Q 28G01.m|11e5\",\"Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5\",\"Africa/Sao_Tome|LMT GMT WAT|A.J 0 -10|0121|-2le00 4i6N0 2q00\",\"Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5\",\"Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5\",\"Africa/Windhoek|+0130 SAST SAST CAT WAT|-1u -20 -30 -20 -10|01213434343434343434343434343434343434343434343434343|-2GJdu 1Ajdu 1cL0 1SqL0 9Io0 16P0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4\",\"America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326\",\"America/Anchorage|AST AWT APT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4\",\"America/Port_of_Spain|LMT AST|46.4 40|01|-2kNvR.U|43e3\",\"America/Araguaina|LMT -03 -02|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4\",\"America/Argentina/Buenos_Aires|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0\",\"America/Argentina/Catamarca|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0\",\"America/Argentina/Cordoba|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0\",\"America/Argentina/Jujuy|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0\",\"America/Argentina/La_Rioja|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0\",\"America/Argentina/Mendoza|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232312121321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0\",\"America/Argentina/Rio_Gallegos|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0\",\"America/Argentina/Salta|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0\",\"America/Argentina/San_Juan|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0\",\"America/Argentina/San_Luis|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121212321212|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0\",\"America/Argentina/Tucuman|CMT -04 -03 -02|4g.M 40 30 20|0121212121212121212121212121212121212121212323232313232123232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0\",\"America/Argentina/Ushuaia|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0\",\"America/Curacao|LMT -0430 AST|4z.L 4u 40|012|-2kV7o.d 28KLS.d|15e4\",\"America/Asuncion|AMT -04 -03|3O.E 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5\",\"America/Atikokan|CST CDT CWT CPT EST|60 50 50 50 50|0101234|-25TQ0 1in0 Rnb0 3je0 8x30 iw0|28e2\",\"America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 80 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3\",\"America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5\",\"America/Barbados|LMT BMT AST ADT|3W.t 3W.t 40 30|01232323232|-1Q0I1.v jsM0 1ODC1.v IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4\",\"America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5\",\"America/Belize|LMT CST -0530 CDT|5Q.M 60 5u 50|01212121212121212121212121212121212121212121212121213131|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1f0Mu qn0 lxB0 mn0|57e3\",\"America/Blanc-Sablon|AST ADT AWT APT|40 30 30 30|010230|-25TS0 1in0 UGp0 8x50 iu0|11e2\",\"America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2\",\"America/Bogota|BMT -05 -04|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5\",\"America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4\",\"America/Cambridge_Bay|-00 MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2\",\"America/Campo_Grande|LMT -04 -03|3C.s 40 30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|77e4\",\"America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4\",\"America/Caracas|CMT -0430 -04|4r.E 4u 40|01212|-2kV7w.k 28KM2.k 1IwOu kqo0|29e5\",\"America/Cayenne|LMT -04 -03|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3\",\"America/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5\",\"America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5\",\"America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4\",\"America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5\",\"America/Creston|MST PST|70 80|010|-29DR0 43B0|53e2\",\"America/Cuiaba|LMT -04 -03|3I.k 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|54e4\",\"America/Danmarkshavn|LMT -03 -02 GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8\",\"America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3\",\"America/Dawson|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|13e2\",\"America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5\",\"America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|0123425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 JxX1 SMX 1cN0 1cL0 aW10 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5\",\"America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|0121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 XQp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5\",\"America/Eirunepe|LMT -05 -04|4D.s 50 40|0121212121212121212121212121212121|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3\",\"America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5\",\"America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5\",\"America/Fort_Nelson|PST PDT PWT PPT MST|80 70 70 70 70|01023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010104|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2\",\"America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Fortaleza|LMT -03 -02|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5\",\"America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3\",\"America/Godthab|LMT -03 -02|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3\",\"America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2\",\"America/Grand_Turk|KMT EST EDT AST|57.a 50 40 40|01212121212121212121212121212121212121212121212121212121212121212121212121232121212121212121212121212121212121212121|-2l1uQ.O 2HHBQ.O 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 5Ip0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2\",\"America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5\",\"America/Guayaquil|QMT -05 -04|5e 50 40|0121|-1yVSK 2uILK rz0|27e5\",\"America/Guyana|LMT -0345 -03 -04|3Q.E 3J 30 40|0123|-2dvU7.k 2r6LQ.k Bxbf|80e4\",\"America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4\",\"America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5\",\"America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 80 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4\",\"America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010401054541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 8wn0 1cN0 1cL0 1cN0 1cK0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Inuvik|-00 PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2\",\"America/Iqaluit|-00 EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2\",\"America/Jamaica|KMT EST EDT|57.a 50 40|0121212121212121212121|-2l1uQ.O 2uM1Q.O 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4\",\"America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3\",\"America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 1nX1 e0X 9vd0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/La_Paz|CMT BST -04|4w.A 3w.A 40|012|-1x37r.o 13b0|19e5\",\"America/Lima|LMT -05 -04|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6\",\"America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6\",\"America/Maceio|LMT -03 -02|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4\",\"America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5\",\"America/Manaus|LMT -04 -03|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5\",\"America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0|39e4\",\"America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4\",\"America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 80 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|44e4\",\"America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2\",\"America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|11e5\",\"America/Metlakatla|PST PWT PPT PDT AKST AKDT|80 70 70 70 90 80|01203030303030303030303030303030304545450454545454545454545454545454545454545454|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2\",\"America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6\",\"America/Miquelon|LMT AST -03 -02|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2\",\"America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3\",\"America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5\",\"America/Montevideo|LMT MMT -04 -03 -0330 -0230 -02 -0130|3I.P 3I.P 40 30 3u 2u 20 1u|012343434343434343434343435353636353636375363636363636363636363636363636363636363636363|-2tRUf.9 sVc0 8jcf.9 1db0 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1fAu 1cLu 1o0u 11zu NAu 3jXu zXu Dq0u 19Xu pcu jz0 cm10 19X0 6tB0 1fbu 3o0u jX0 4vB0 xz0 3Cp0 mmu 1a10 IMu Db0 4c10 uL0 1Nd0 An0 1SN0 uL0 mp0 28L0 iPB0 un0 1SN0 xz0 1zd0 Lz0 1zd0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5\",\"America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5\",\"America/Nassau|LMT EST EDT|59.u 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2kNuO.u 26XdO.u 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|24e4\",\"America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6\",\"America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2\",\"America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2\",\"America/Noronha|LMT -02 -01|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2\",\"America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3\",\"America/Pangnirtung|-00 AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2\",\"America/Paramaribo|LMT PMT PMT -0330 -03|3E.E 3E.Q 3E.A 3u 30|01234|-2nDUj.k Wqo0.c qanX.I 1yVXN.o|24e4\",\"America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5\",\"America/Port-au-Prince|PPMT EST EDT|4N 50 40|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5\",\"America/Rio_Branco|LMT -05 -04|4v.c 50 40|01212121212121212121212121212121|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4\",\"America/Porto_Velho|LMT -04 -03|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4\",\"America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5\",\"America/Punta_Arenas|SMT -05 -04 -03|4G.K 50 40 30|0102021212121212121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 blz0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0\",\"America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|842\",\"America/Rankin_Inlet|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2\",\"America/Recife|LMT -03 -02|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5\",\"America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4\",\"America/Resolute|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229\",\"America/Santarem|LMT -04 -03|3C.M 40 30|0121212121212121212121212121212|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4\",\"America/Santiago|SMT -05 -04 -03|4G.K 50 40 30|010202121212121212321232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|62e5\",\"America/Santo_Domingo|SDMT EST EDT -0430 AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5\",\"America/Sao_Paulo|LMT -03 -02|36.s 30 20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|20e6\",\"America/Scoresbysund|LMT -02 -01 +00|1r.Q 20 10 0|0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452\",\"America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2\",\"America/St_Johns|NST NDT NST NDT NWT NPT NDDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4\",\"America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3\",\"America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5\",\"America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656\",\"America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4\",\"America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5\",\"America/Whitehorse|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3\",\"America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4\",\"America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642\",\"America/Yellowknife|-00 MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3\",\"Antarctica/Casey|-00 +08 +11|0 -80 -b0|01212121|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10|10\",\"Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70\",\"Antarctica/DumontDUrville|-00 +10|0 -a0|0101|-U0o0 cfq0 bFm0|80\",\"Antarctica/Macquarie|AEST AEDT -00 +11|-a0 -b0 0 -b0|0102010101010101010101010101010101010101010101010101010101010101010101010101010101010101013|-29E80 19X0 4SL0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0|1\",\"Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60\",\"Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5\",\"Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40\",\"Antarctica/Rothera|-00 -03|0 30|01|gOo0|130\",\"Antarctica/Syowa|-00 +03|0 -30|01|-vs00|20\",\"Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40\",\"Antarctica/Vostok|-00 +06|0 -60|01|-tjA0|25\",\"Europe/Oslo|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e4\",\"Asia/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5\",\"Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5\",\"Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e5\",\"Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3\",\"Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4\",\"Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4\",\"Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4\",\"Asia/Atyrau|LMT +03 +05 +06 +04|-3r.I -30 -50 -60 -40|01232323232323232323242323232323232324242424242|-1Pc3r.I eUor.I 24PW0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0\",\"Asia/Baghdad|BMT +03 +04|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5\",\"Asia/Qatar|LMT +04 +03|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4\",\"Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5\",\"Asia/Bangkok|BMT +07|-6G.4 -70|01|-218SG.4|15e6\",\"Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0\",\"Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5\",\"Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4\",\"Asia/Brunei|LMT +0730 +08|-7D.E -7u -80|012|-1KITD.E gDc9.E|42e4\",\"Asia/Kolkata|MMT IST +0630|-5l.a -5u -6u|012121|-2zOtl.a 1r2LP.a 1un0 HB0 7zX0|15e6\",\"Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4\",\"Asia/Choibalsan|LMT +07 +08 +10 +09|-7C -70 -80 -a0 -90|0123434343434343434343434343434343434343434343424242|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3\",\"Asia/Shanghai|CST CDT|-80 -90|010101010101010101010101010|-1c2w0 Rz0 11d0 1wL0 A10 8HX0 1G10 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 aL0 1tU30 Rb0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6\",\"Asia/Colombo|MMT +0530 +06 +0630|-5j.w -5u -60 -6u|01231321|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5\",\"Asia/Dhaka|HMT +0630 +0530 +06 +07|-5R.k -6u -5u -60 -70|0121343|-18LFR.k 1unn.k HB0 m6n0 2kxbu 1i00|16e6\",\"Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|26e5\",\"Asia/Dili|LMT +08 +09|-8m.k -80 -90|01212|-2le8m.k 1dnXm.k 1nfA0 Xld0|19e4\",\"Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5\",\"Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4\",\"Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212312121212121212121212121212121212121212121|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00\",\"Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|0101010101010101010101010101010123232323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|18e5\",\"Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101012323232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|25e4\",\"Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5\",\"Asia/Hong_Kong|LMT HKT HKST HKWT JST|-7A.G -80 -90 -8u -90|0123412121212121212121212121212121212121212121212121212121212121212121|-2CFH0 1taO0 Hc0 xUu 9tBu 11z0 1tDu Rc0 1wo0 11A0 1cM0 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5\",\"Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3\",\"Asia/Irkutsk|IMT +07 +08 +09|-6V.5 -70 -80 -90|01232323232323232323232123232323232323232323232323232323232323232|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4\",\"Europe/Istanbul|IMT EET EEST +03 +04|-1U.U -20 -30 -30 -40|0121212121212121212121212121212121212121212121234312121212121212121212121212121212121212121212121212121212121212123|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSN0 CL0 mp0 1Vz0 1gN0 8yn0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1ip0 19X0 1ip0 17b0 qdB0 38L0 1jd0 Tz0 l6O0 11A0 WN0 1qL0 TB0 1tX0 U10 1tz0 11B0 1in0 17d0 z90 cne0 pb0 2Cp0 1800 14o0 1dc0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6\",\"Asia/Jakarta|BMT +0720 +0730 +09 +08 WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6\",\"Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4\",\"Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|012121212121321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyMk.E 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 3LB0 Em0 or0 1cn0 1dB0 16n0 10O0 1ja0 1tC0 14o0 1cM0 1a00 11A0 1Na0 An0 1MP0 AJ0 1Kp0 LC0 1oo0 Wl0 EQN0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4\",\"Asia/Kabul|+04 +0430|-40 -4u|01|-10Qs0|46e5\",\"Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4\",\"Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6\",\"Asia/Urumqi|LMT +06|-5O.k -60|01|-1GgtO.k|32e5\",\"Asia/Kathmandu|LMT +0530 +0545|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5\",\"Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2\",\"Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5\",\"Asia/Kuala_Lumpur|SMT +07 +0720 +0730 +09 +08|-6T.p -70 -7k -7u -90 -80|0123435|-2Bg6T.p 17anT.p l5XE 17bO 8Fyu 1so1u|71e5\",\"Asia/Kuching|LMT +0730 +08 +0820 +09|-7l.k -7u -80 -8k -90|0123232323232323242|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0|13e4\",\"Asia/Macau|LMT CST +09 +10 CDT|-7y.a -80 -90 -a0 -90|012323214141414141414141414141414141414141414141414141414141414141414141|-2CFHy.a 1uqKy.a PX0 1kn0 15B0 11b0 4Qq0 1oM0 11c0 1ko0 1u00 11A0 1cM0 11c0 1o00 11A0 1o00 11A0 1oo0 1400 1o00 11A0 1o00 U00 1tA0 U00 1wo0 Rc0 1wru U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cK0 1cO0 1cK0 1cO0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|57e4\",\"Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3\",\"Asia/Makassar|LMT MMT +08 +09 WITA|-7V.A -7V.A -80 -90 -80|01234|-21JjV.A vfc0 myLV.A 8ML0|15e5\",\"Asia/Manila|PST PDT JST|-80 -90 -90|010201010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6\",\"Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|32e4\",\"Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4\",\"Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5\",\"Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5\",\"Asia/Oral|LMT +03 +05 +06 +04|-3p.o -30 -50 -60 -40|01232323232323232424242424242424242424242424242|-1Pc3p.o eUop.o 23CK0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4\",\"Asia/Pontianak|LMT PMT +0730 +09 +08 WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4\",\"Asia/Pyongyang|LMT KST JST KST|-8n -8u -90 -90|012313|-2um8n 97XR 1lTzu 2Onc0 6BA0|29e5\",\"Asia/Qostanay|LMT +04 +05 +06|-4e.s -40 -50 -60|012323232323232323232123232323232323232323232323|-1Pc4e.s eUoe.s 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0\",\"Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|01232323232323232323232323232323232323232323232|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 zQl0|73e4\",\"Asia/Rangoon|RMT +0630 +09|-6o.L -6u -90|0121|-21Jio.L SmnS.L 7j9u|48e5\",\"Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4\",\"Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4\",\"Asia/Seoul|LMT KST JST KST KDT KDT|-8r.Q -8u -90 -90 -a0 -9u|012343434343151515151515134343|-2um8r.Q 97XV.Q 1m1zu 6CM0 Fz0 1kN0 14n0 1kN0 14L0 1zd0 On0 69B0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6\",\"Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2\",\"Asia/Taipei|CST JST CDT|-80 -90 -90|01020202020202020202020202020202020202020|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5\",\"Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5\",\"Asia/Tbilisi|TBMT +03 +04 +05|-2X.b -30 -40 -50|0123232323232323232323212121232323232323232323212|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5\",\"Asia/Tehran|LMT TMT +0330 +04 +05 +0430|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6\",\"Asia/Thimphu|LMT +0530 +06|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3\",\"Asia/Tokyo|JST JDT|-90 -a0|010101010|-QJJ0 Rc0 1lc0 14o0 1zc0 Oo0 1zc0 Oo0|38e6\",\"Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5\",\"Asia/Ulaanbaatar|LMT +07 +08 +09|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5\",\"Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2\",\"Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4\",\"Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4\",\"Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5\",\"Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5\",\"Atlantic/Azores|HMT -02 -01 +00 WET|1S.w 20 10 0 0|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2ldW0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4\",\"Atlantic/Bermuda|LMT AST ADT|4j.i 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1BnRE.G 1LTbE.G 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3\",\"Atlantic/Canary|LMT -01 WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4\",\"Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2ldW0 1eEo0 7zX0 1djf0|50e4\",\"Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3\",\"Atlantic/Madeira|FMT -01 +00 +01 WET WEST|17.A 10 0 -10 0 -10|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldX0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e4\",\"Atlantic/Reykjavik|LMT -01 +00 GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4\",\"Atlantic/South_Georgia|-02|20|0||30\",\"Atlantic/Stanley|SMT -04 -03 -02|3P.o 40 30 20|012121212121212323212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2\",\"Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5\",\"Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5\",\"Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5\",\"Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3\",\"Australia/Currie|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|746\",\"Australia/Darwin|ACST ACDT|-9u -au|010101010|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0|12e4\",\"Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293kI xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368\",\"Australia/Hobart|AEST AEDT|-a0 -b0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 VfB0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4\",\"Australia/Lord_Howe|AEST +1030 +1130 +11|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347\",\"Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10\",\"Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5\",\"Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293jX xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5\",\"CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00\",\"Pacific/Easter|EMT -07 -06 -05|7h.s 70 60 50|012121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|30e2\",\"CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00\",\"Europe/Dublin|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g600 14o0 1wo0 17c0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"EST|EST|50|0|\",\"EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"Etc/GMT-0|GMT|0|0|\",\"Etc/GMT-1|+01|-10|0|\",\"Pacific/Port_Moresby|+10|-a0|0||25e4\",\"Etc/GMT-11|+11|-b0|0|\",\"Pacific/Tarawa|+12|-c0|0||29e3\",\"Etc/GMT-13|+13|-d0|0|\",\"Etc/GMT-14|+14|-e0|0|\",\"Etc/GMT-2|+02|-20|0|\",\"Etc/GMT-3|+03|-30|0|\",\"Etc/GMT-4|+04|-40|0|\",\"Etc/GMT-5|+05|-50|0|\",\"Etc/GMT-6|+06|-60|0|\",\"Indian/Christmas|+07|-70|0||21e2\",\"Etc/GMT-8|+08|-80|0|\",\"Pacific/Palau|+09|-90|0||21e3\",\"Etc/GMT+1|-01|10|0|\",\"Etc/GMT+10|-10|a0|0|\",\"Etc/GMT+11|-11|b0|0|\",\"Etc/GMT+12|-12|c0|0|\",\"Etc/GMT+3|-03|30|0|\",\"Etc/GMT+4|-04|40|0|\",\"Etc/GMT+5|-05|50|0|\",\"Etc/GMT+6|-06|60|0|\",\"Etc/GMT+7|-07|70|0|\",\"Etc/GMT+8|-08|80|0|\",\"Etc/GMT+9|-09|90|0|\",\"Etc/UTC|UTC|0|0|\",\"Europe/Amsterdam|AMT NST +0120 +0020 CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|16e5\",\"Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|79e3\",\"Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|10e5\",\"Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5\",\"Europe/London|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6\",\"Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e5\",\"Europe/Prague|CET CEST GMT|-10 -20 0|01010101010101010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 1qM0 11c0 mp0 xA0 mn0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e5\",\"Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|21e5\",\"Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|19e5\",\"Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1ip0 17b0 1op0 1tb0 Q2m0 3Ne0 WM0 1fA0 1cM0 1cM0 1oJ0 1dc0 1030 1fA0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1iM0 1fA0 8Ha0 Rb0 1wN0 Rb0 1BB0 Lz0 1C20 LB0 SNX0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5\",\"Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e4\",\"Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|012323232323232323234545467676767676767676767323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4\",\"Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|30e3\",\"Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"Europe/Kaliningrad|CET CEST EET EEST MSK MSD +03|-10 -20 -20 -30 -30 -40 -30|01010101010101232454545454545454543232323232323232323232323232323232323232323262|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 390 7A0 1en0 12N0 1pbb0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4\",\"Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|34e5\",\"Europe/Kirov|LMT +03 +04 +05|-3i.M -30 -40 -50|01232323232323232321212121212121212121212121212121212121212121|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4\",\"Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|012121212121212121212121212121212121212121212321232123212321212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2le00 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5\",\"Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4\",\"Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|010101010101010101210343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-25Td0 19B0 1cL0 1dd0 b1z0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1in0 17d0 iIn0 Hd0 1cL0 bb0 1200 2s20 14n0 5aL0 Mp0 1vz0 17d0 1in0 17d0 1in0 17d0 1in0 17d0 6hX0 11B0 XHX0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e5\",\"Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4\",\"Europe/Minsk|MMT EET MSK CEST CET MSD EEST +03|-1O -20 -30 -20 -10 -40 -30 -30|01234343252525252525252525261616161616161616161616161616161616161617|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5\",\"Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e3\",\"Europe/Moscow|MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6\",\"Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco8.l cNb8.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6\",\"Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -20 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|64e4\",\"Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|39e5\",\"Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5\",\"Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810\",\"Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4\",\"Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|15e5\",\"Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e4\",\"Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4\",\"Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|13e5\",\"Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4\",\"Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1ao0 1co0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5\",\"Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4\",\"Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 9Jd0|10e5\",\"Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5\",\"Europe/Zaporozhye|+0220 EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4\",\"HST|HST|a0|0|\",\"Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2\",\"Indian/Cocos|+0630|-6u|0||596\",\"Indian/Kerguelen|-00 +05|0 -50|01|-MG00|130\",\"Indian/Mahe|LMT +04|-3F.M -40|01|-2yO3F.M|79e3\",\"Indian/Maldives|MMT +05|-4S -50|01|-olgS|35e4\",\"Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4\",\"Indian/Reunion|LMT +04|-3F.Q -40|01|-2mDDF.Q|84e4\",\"Pacific/Kwajalein|+11 +10 +09 -12 +12|-b0 -a0 -90 c0 -c0|012034|-1kln0 akp0 6Up0 12ry0 Wan0|14e3\",\"MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00\",\"MST|MST|70|0|\",\"MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"Pacific/Chatham|+1215 +1245 +1345|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600\",\"Pacific/Apia|LMT -1130 -11 -10 +14 +13|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545454545454545454545454545454545454|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|37e3\",\"Pacific/Bougainville|+10 +09 +11|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4\",\"Pacific/Chuuk|+10 +09|-a0 -90|01010|-2ewy0 axB0 RVX0 axd0|49e3\",\"Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|0121212121212121212121|-2l9nd.g 2Szcd.g 1cL0 1oN0 10L0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3\",\"Pacific/Enderbury|-12 -11 +13|c0 b0 -d0|012|nIc0 B7X0|1\",\"Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483\",\"Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|0121212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 20o0 pc0 20o0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00|88e4\",\"Pacific/Galapagos|LMT -05 -06|5W.o 50 60|01212|-1yVS1.A 2dTz1.A gNd0 rz0|25e3\",\"Pacific/Gambier|LMT -09|8X.M 90|01|-2jof0.c|125\",\"Pacific/Guadalcanal|LMT +11|-aD.M -b0|01|-2joyD.M|11e4\",\"Pacific/Guam|GST +09 GDT ChST|-a0 -90 -b0 -a0|01020202020202020203|-18jK0 6pB0 AhB0 3QL0 g2p0 3p91 WOX rX0 1zd0 Rb0 1wp0 Rb0 5xd0 rX0 5sN0 zb1 1C0X On0 ULb0|17e4\",\"Pacific/Honolulu|HST HDT HWT HPT HST|au 9u 9u 9u a0|0102304|-1thLu 8x0 lef0 8wWu iAu 46p0|37e4\",\"Pacific/Kiritimati|-1040 -10 +14|aE a0 -e0|012|nIaE B7Xk|51e2\",\"Pacific/Kosrae|+11 +09 +10 +12|-b0 -90 -a0 -c0|01021030|-2ewz0 axC0 HBy0 akp0 axd0 WOK0 1bdz0|66e2\",\"Pacific/Majuro|+11 +09 +10 +12|-b0 -90 -a0 -c0|0102103|-2ewz0 axC0 HBy0 akp0 6RB0 12um0|28e3\",\"Pacific/Marquesas|LMT -0930|9i 9u|01|-2joeG|86e2\",\"Pacific/Pago_Pago|LMT SST|bm.M b0|01|-2nDMB.c|37e2\",\"Pacific/Nauru|LMT +1130 +09 +12|-b7.E -bu -90 -c0|01213|-1Xdn7.E QCnB.E 7mqu 1lnbu|10e3\",\"Pacific/Niue|-1120 -1130 -11|bk bu b0|012|-KfME 17y0a|12e2\",\"Pacific/Norfolk|+1112 +1130 +1230 +11 +12|-bc -bu -cu -b0 -c0|012134343434343434343434343434343434343434|-Kgbc W01G Oo0 1COo0 9Jcu 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|25e4\",\"Pacific/Noumea|LMT +11 +12|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3\",\"Pacific/Pitcairn|-0830 -08|8u 80|01|18Vku|56\",\"Pacific/Pohnpei|+11 +09 +10|-b0 -90 -a0|010210|-2ewz0 axC0 HBy0 akp0 axd0|34e3\",\"Pacific/Rarotonga|-1030 -0930 -10|au 9u a0|012121212121212121212121212|lyWu IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3\",\"Pacific/Tahiti|LMT -10|9W.g a0|01|-2joe1.I|18e4\",\"Pacific/Tongatapu|+1220 +13 +14|-ck -d0 -e0|0121212121|-1aB0k 2n5dk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3\",\"PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00\"],\"links\":[\"Africa/Abidjan|Africa/Bamako\",\"Africa/Abidjan|Africa/Banjul\",\"Africa/Abidjan|Africa/Conakry\",\"Africa/Abidjan|Africa/Dakar\",\"Africa/Abidjan|Africa/Freetown\",\"Africa/Abidjan|Africa/Lome\",\"Africa/Abidjan|Africa/Nouakchott\",\"Africa/Abidjan|Africa/Ouagadougou\",\"Africa/Abidjan|Africa/Timbuktu\",\"Africa/Abidjan|Atlantic/St_Helena\",\"Africa/Cairo|Egypt\",\"Africa/Johannesburg|Africa/Maseru\",\"Africa/Johannesburg|Africa/Mbabane\",\"Africa/Lagos|Africa/Bangui\",\"Africa/Lagos|Africa/Brazzaville\",\"Africa/Lagos|Africa/Douala\",\"Africa/Lagos|Africa/Kinshasa\",\"Africa/Lagos|Africa/Libreville\",\"Africa/Lagos|Africa/Luanda\",\"Africa/Lagos|Africa/Malabo\",\"Africa/Lagos|Africa/Niamey\",\"Africa/Lagos|Africa/Porto-Novo\",\"Africa/Maputo|Africa/Blantyre\",\"Africa/Maputo|Africa/Bujumbura\",\"Africa/Maputo|Africa/Gaborone\",\"Africa/Maputo|Africa/Harare\",\"Africa/Maputo|Africa/Kigali\",\"Africa/Maputo|Africa/Lubumbashi\",\"Africa/Maputo|Africa/Lusaka\",\"Africa/Nairobi|Africa/Addis_Ababa\",\"Africa/Nairobi|Africa/Asmara\",\"Africa/Nairobi|Africa/Asmera\",\"Africa/Nairobi|Africa/Dar_es_Salaam\",\"Africa/Nairobi|Africa/Djibouti\",\"Africa/Nairobi|Africa/Kampala\",\"Africa/Nairobi|Africa/Mogadishu\",\"Africa/Nairobi|Indian/Antananarivo\",\"Africa/Nairobi|Indian/Comoro\",\"Africa/Nairobi|Indian/Mayotte\",\"Africa/Tripoli|Libya\",\"America/Adak|America/Atka\",\"America/Adak|US/Aleutian\",\"America/Anchorage|US/Alaska\",\"America/Argentina/Buenos_Aires|America/Buenos_Aires\",\"America/Argentina/Catamarca|America/Argentina/ComodRivadavia\",\"America/Argentina/Catamarca|America/Catamarca\",\"America/Argentina/Cordoba|America/Cordoba\",\"America/Argentina/Cordoba|America/Rosario\",\"America/Argentina/Jujuy|America/Jujuy\",\"America/Argentina/Mendoza|America/Mendoza\",\"America/Atikokan|America/Coral_Harbour\",\"America/Chicago|US/Central\",\"America/Curacao|America/Aruba\",\"America/Curacao|America/Kralendijk\",\"America/Curacao|America/Lower_Princes\",\"America/Denver|America/Shiprock\",\"America/Denver|Navajo\",\"America/Denver|US/Mountain\",\"America/Detroit|US/Michigan\",\"America/Edmonton|Canada/Mountain\",\"America/Fort_Wayne|America/Indiana/Indianapolis\",\"America/Fort_Wayne|America/Indianapolis\",\"America/Fort_Wayne|US/East-Indiana\",\"America/Halifax|Canada/Atlantic\",\"America/Havana|Cuba\",\"America/Indiana/Knox|America/Knox_IN\",\"America/Indiana/Knox|US/Indiana-Starke\",\"America/Jamaica|Jamaica\",\"America/Kentucky/Louisville|America/Louisville\",\"America/Los_Angeles|US/Pacific\",\"America/Los_Angeles|US/Pacific-New\",\"America/Manaus|Brazil/West\",\"America/Mazatlan|Mexico/BajaSur\",\"America/Mexico_City|Mexico/General\",\"America/New_York|US/Eastern\",\"America/Noronha|Brazil/DeNoronha\",\"America/Panama|America/Cayman\",\"America/Phoenix|US/Arizona\",\"America/Port_of_Spain|America/Anguilla\",\"America/Port_of_Spain|America/Antigua\",\"America/Port_of_Spain|America/Dominica\",\"America/Port_of_Spain|America/Grenada\",\"America/Port_of_Spain|America/Guadeloupe\",\"America/Port_of_Spain|America/Marigot\",\"America/Port_of_Spain|America/Montserrat\",\"America/Port_of_Spain|America/St_Barthelemy\",\"America/Port_of_Spain|America/St_Kitts\",\"America/Port_of_Spain|America/St_Lucia\",\"America/Port_of_Spain|America/St_Thomas\",\"America/Port_of_Spain|America/St_Vincent\",\"America/Port_of_Spain|America/Tortola\",\"America/Port_of_Spain|America/Virgin\",\"America/Regina|Canada/Saskatchewan\",\"America/Rio_Branco|America/Porto_Acre\",\"America/Rio_Branco|Brazil/Acre\",\"America/Santiago|Chile/Continental\",\"America/Sao_Paulo|Brazil/East\",\"America/St_Johns|Canada/Newfoundland\",\"America/Tijuana|America/Ensenada\",\"America/Tijuana|America/Santa_Isabel\",\"America/Tijuana|Mexico/BajaNorte\",\"America/Toronto|America/Montreal\",\"America/Toronto|Canada/Eastern\",\"America/Vancouver|Canada/Pacific\",\"America/Whitehorse|Canada/Yukon\",\"America/Winnipeg|Canada/Central\",\"Asia/Ashgabat|Asia/Ashkhabad\",\"Asia/Bangkok|Asia/Phnom_Penh\",\"Asia/Bangkok|Asia/Vientiane\",\"Asia/Dhaka|Asia/Dacca\",\"Asia/Dubai|Asia/Muscat\",\"Asia/Ho_Chi_Minh|Asia/Saigon\",\"Asia/Hong_Kong|Hongkong\",\"Asia/Jerusalem|Asia/Tel_Aviv\",\"Asia/Jerusalem|Israel\",\"Asia/Kathmandu|Asia/Katmandu\",\"Asia/Kolkata|Asia/Calcutta\",\"Asia/Kuala_Lumpur|Asia/Singapore\",\"Asia/Kuala_Lumpur|Singapore\",\"Asia/Macau|Asia/Macao\",\"Asia/Makassar|Asia/Ujung_Pandang\",\"Asia/Nicosia|Europe/Nicosia\",\"Asia/Qatar|Asia/Bahrain\",\"Asia/Rangoon|Asia/Yangon\",\"Asia/Riyadh|Asia/Aden\",\"Asia/Riyadh|Asia/Kuwait\",\"Asia/Seoul|ROK\",\"Asia/Shanghai|Asia/Chongqing\",\"Asia/Shanghai|Asia/Chungking\",\"Asia/Shanghai|Asia/Harbin\",\"Asia/Shanghai|PRC\",\"Asia/Taipei|ROC\",\"Asia/Tehran|Iran\",\"Asia/Thimphu|Asia/Thimbu\",\"Asia/Tokyo|Japan\",\"Asia/Ulaanbaatar|Asia/Ulan_Bator\",\"Asia/Urumqi|Asia/Kashgar\",\"Atlantic/Faroe|Atlantic/Faeroe\",\"Atlantic/Reykjavik|Iceland\",\"Atlantic/South_Georgia|Etc/GMT+2\",\"Australia/Adelaide|Australia/South\",\"Australia/Brisbane|Australia/Queensland\",\"Australia/Broken_Hill|Australia/Yancowinna\",\"Australia/Darwin|Australia/North\",\"Australia/Hobart|Australia/Tasmania\",\"Australia/Lord_Howe|Australia/LHI\",\"Australia/Melbourne|Australia/Victoria\",\"Australia/Perth|Australia/West\",\"Australia/Sydney|Australia/ACT\",\"Australia/Sydney|Australia/Canberra\",\"Australia/Sydney|Australia/NSW\",\"Etc/GMT-0|Etc/GMT\",\"Etc/GMT-0|Etc/GMT+0\",\"Etc/GMT-0|Etc/GMT0\",\"Etc/GMT-0|Etc/Greenwich\",\"Etc/GMT-0|GMT\",\"Etc/GMT-0|GMT+0\",\"Etc/GMT-0|GMT-0\",\"Etc/GMT-0|GMT0\",\"Etc/GMT-0|Greenwich\",\"Etc/UTC|Etc/UCT\",\"Etc/UTC|Etc/Universal\",\"Etc/UTC|Etc/Zulu\",\"Etc/UTC|UCT\",\"Etc/UTC|UTC\",\"Etc/UTC|Universal\",\"Etc/UTC|Zulu\",\"Europe/Belgrade|Europe/Ljubljana\",\"Europe/Belgrade|Europe/Podgorica\",\"Europe/Belgrade|Europe/Sarajevo\",\"Europe/Belgrade|Europe/Skopje\",\"Europe/Belgrade|Europe/Zagreb\",\"Europe/Chisinau|Europe/Tiraspol\",\"Europe/Dublin|Eire\",\"Europe/Helsinki|Europe/Mariehamn\",\"Europe/Istanbul|Asia/Istanbul\",\"Europe/Istanbul|Turkey\",\"Europe/Lisbon|Portugal\",\"Europe/London|Europe/Belfast\",\"Europe/London|Europe/Guernsey\",\"Europe/London|Europe/Isle_of_Man\",\"Europe/London|Europe/Jersey\",\"Europe/London|GB\",\"Europe/London|GB-Eire\",\"Europe/Moscow|W-SU\",\"Europe/Oslo|Arctic/Longyearbyen\",\"Europe/Oslo|Atlantic/Jan_Mayen\",\"Europe/Prague|Europe/Bratislava\",\"Europe/Rome|Europe/San_Marino\",\"Europe/Rome|Europe/Vatican\",\"Europe/Warsaw|Poland\",\"Europe/Zurich|Europe/Busingen\",\"Europe/Zurich|Europe/Vaduz\",\"Indian/Christmas|Etc/GMT-7\",\"Pacific/Auckland|Antarctica/McMurdo\",\"Pacific/Auckland|Antarctica/South_Pole\",\"Pacific/Auckland|NZ\",\"Pacific/Chatham|NZ-CHAT\",\"Pacific/Chuuk|Pacific/Truk\",\"Pacific/Chuuk|Pacific/Yap\",\"Pacific/Easter|Chile/EasterIsland\",\"Pacific/Guam|Pacific/Saipan\",\"Pacific/Honolulu|Pacific/Johnston\",\"Pacific/Honolulu|US/Hawaii\",\"Pacific/Kwajalein|Kwajalein\",\"Pacific/Pago_Pago|Pacific/Midway\",\"Pacific/Pago_Pago|Pacific/Samoa\",\"Pacific/Pago_Pago|US/Samoa\",\"Pacific/Palau|Etc/GMT-9\",\"Pacific/Pohnpei|Pacific/Ponape\",\"Pacific/Port_Moresby|Etc/GMT-10\",\"Pacific/Tarawa|Etc/GMT-12\",\"Pacific/Tarawa|Pacific/Funafuti\",\"Pacific/Tarawa|Pacific/Wake\",\"Pacific/Tarawa|Pacific/Wallis\"]}"); /***/ }) diff --git a/wp-includes/js/dist/date.min.js b/wp-includes/js/dist/date.min.js index ae4bb0c3ea..a0c5f6d003 100644 --- a/wp-includes/js/dist/date.min.js +++ b/wp-includes/js/dist/date.min.js @@ -1,12 +1,12 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.date=function(c){var M={};function o(z){if(M[z])return M[z].exports;var A=M[z]={i:z,l:!1,exports:{}};return c[z].call(A.exports,A,A.exports,o),A.l=!0,A.exports}return o.m=c,o.c=M,o.d=function(c,M,z){o.o(c,M)||Object.defineProperty(c,M,{enumerable:!0,get:z})},o.r=function(c){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})},o.t=function(c,M){if(1&M&&(c=o(c)),8&M)return c;if(4&M&&"object"==typeof c&&c&&c.__esModule)return c;var z=Object.create(null);if(o.r(z),Object.defineProperty(z,"default",{enumerable:!0,value:c}),2&M&&"string"!=typeof c)for(var A in c)o.d(z,A,function(M){return c[M]}.bind(null,A));return z},o.n=function(c){var M=c&&c.__esModule?function(){return c.default}:function(){return c};return o.d(M,"a",M),M},o.o=function(c,M){return Object.prototype.hasOwnProperty.call(c,M)},o.p="",o(o.s=319)}({210:function(c,M,o){var z,A,b;//! moment-timezone.js -//! version : 0.5.26 +this.wp=this.wp||{},this.wp.date=function(c){var M={};function o(z){if(M[z])return M[z].exports;var A=M[z]={i:z,l:!1,exports:{}};return c[z].call(A.exports,A,A.exports,o),A.l=!0,A.exports}return o.m=c,o.c=M,o.d=function(c,M,z){o.o(c,M)||Object.defineProperty(c,M,{enumerable:!0,get:z})},o.r=function(c){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})},o.t=function(c,M){if(1&M&&(c=o(c)),8&M)return c;if(4&M&&"object"==typeof c&&c&&c.__esModule)return c;var z=Object.create(null);if(o.r(z),Object.defineProperty(z,"default",{enumerable:!0,value:c}),2&M&&"string"!=typeof c)for(var A in c)o.d(z,A,function(M){return c[M]}.bind(null,A));return z},o.n=function(c){var M=c&&c.__esModule?function(){return c.default}:function(){return c};return o.d(M,"a",M),M},o.o=function(c,M){return Object.prototype.hasOwnProperty.call(c,M)},o.p="",o(o.s=339)}({209:function(c,M,o){var z,A,b;//! moment-timezone.js +//! version : 0.5.27 //! Copyright (c) JS Foundation and other contributors //! license : MIT //! github.com/moment/moment-timezone -!function(p,n){"use strict";c.exports?c.exports=n(o(29)):(A=[o(29)],void 0===(b="function"==typeof(z=n)?z.apply(M,A):z)||(c.exports=b))}(0,(function(c){"use strict";var M,o={},z={},A={},b={};c&&"string"==typeof c.version||E("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var p=c.version.split("."),n=+p[0],a=+p[1];function O(c){return c>96?c-87:c>64?c-29:c-48}function L(c){var M=0,o=c.split("."),z=o[0],A=o[1]||"",b=1,p=0,n=1;for(45===c.charCodeAt(0)&&(M=1,n=-1);M3){var M=A[l(c)];if(M)return M;E("Moment Timezone found "+c+" from the Intl api, but did not have that data loaded.")}}catch(c){}var o,z,b,p=function(){var c,M,o,z=(new Date).getFullYear()-2,A=new d(new Date(z,0,1)),b=[A];for(o=1;o<48;o++)(M=new d(new Date(z,o,1))).offset!==A.offset&&(c=f(A,M),b.push(c),b.push(new d(new Date(c.at+6e4)))),A=M;for(o=0;o<4;o++)b.push(new d(new Date(z+o,0,1))),b.push(new d(new Date(z+o,6,1)));return b}(),n=p.length,a=t(p),O=[];for(z=0;z0?O[0].zone.name:void 0}function l(c){return(c||"").toLowerCase().replace(/\//g,"_")}function u(c){var M,z,b,p;for("string"==typeof c&&(c=[c]),M=0;M= 2.6.0. You are using Moment.js "+c.version+". See momentjs.com"),N.prototype={_set:function(c){this.name=c.name,this.abbrs=c.abbrs,this.untils=c.untils,this.offsets=c.offsets,this.population=c.population},_index:function(c){var M,o=+c,z=this.untils;for(M=0;Mz&&S.moveInvalidForward&&(M=z),b0&&(this._z=null),R.apply(this,arguments)}),c.tz.setDefault=function(M){return(n<2||2===n&&a<9)&&E("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+c.version+"."),c.defaultZone=M?T(M):null,c};var h=c.momentProperties;return"[object Array]"===Object.prototype.toString.call(h)?(h.push("_z"),h.push("_a")):h&&(h._z=null),c}))},29:function(c,M){!function(){c.exports=this.moment}()},319:function(c,M,o){"use strict";o.r(M),o.d(M,"setSettings",(function(){return n})),o.d(M,"__experimentalGetSettings",(function(){return a})),o.d(M,"format",(function(){return e})),o.d(M,"date",(function(){return i})),o.d(M,"gmdate",(function(){return N})),o.d(M,"dateI18n",(function(){return d})),o.d(M,"isInTheFuture",(function(){return W})),o.d(M,"getDate",(function(){return f}));var z=o(29),A=o.n(z),b=(o(210),o(320),"WP"),p={l10n:{locale:"en",months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],meridiem:{am:"am",pm:"pm",AM:"AM",PM:"PM"},relative:{future:"%s from now",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}},formats:{time:"g: i a",date:"F j, Y",datetime:"F j, Y g: i a",datetimeAbbreviated:"M j, Y g: i a"},timezone:{offset:"0",string:""}};function n(c){p=c;var M=A.a.locale();A.a.updateLocale(c.l10n.locale,{parentLocale:M,months:c.l10n.months,monthsShort:c.l10n.monthsShort,weekdays:c.l10n.weekdays,weekdaysShort:c.l10n.weekdaysShort,meridiem:function(M,o,z){return M<12?z?c.l10n.meridiem.am:c.l10n.meridiem.AM:z?c.l10n.meridiem.pm:c.l10n.meridiem.PM},longDateFormat:{LT:c.formats.time,LTS:null,L:null,LL:c.formats.date,LLL:c.formats.datetime,LLLL:null},relativeTime:c.l10n.relative}),A.a.locale(M),O()}function a(){return p}function O(){A.a.tz.add(A.a.tz.pack({name:b,abbrs:[b],untils:[null],offsets:[60*-p.timezone.offset||0]}))}var L=60,q={d:"DD",D:"ddd",j:"D",l:"dddd",N:"E",S:function(c){var M=c.format("D");return c.format("Do").replace(M,"")},w:"d",z:function(c){return""+parseInt(c.format("DDD"),10)-1},W:"W",F:"MMMM",m:"MM",M:"MMM",n:"M",t:function(c){return c.daysInMonth()},L:function(c){return c.isLeapYear()?"1":"0"},o:"GGGG",Y:"YYYY",y:"YY",a:"a",A:"A",B:function(c){var M=A()(c).utcOffset(60),o=parseInt(M.format("s"),10),z=parseInt(M.format("m"),10),b=parseInt(M.format("H"),10);return parseInt((o+60*z+3600*b)/86.4,10)},g:"h",G:"H",h:"hh",H:"HH",i:"mm",s:"ss",u:"SSSSSS",v:"SSS",e:"zz",I:function(c){return c.isDST()?"1":"0"},O:"ZZ",P:"Z",T:"z",Z:function(c){var M=c.format("Z"),o="-"===M[0]?-1:1,z=M.substring(1).split(":");return o*(z[0]*L+z[1])*60},c:"YYYY-MM-DDTHH:mm:ssZ",r:"ddd, D MMM YYYY HH:mm:ss ZZ",U:"X"};function e(c){var M,o,z=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,b=[],p=A()(z);for(M=0;M1&&void 0!==arguments[1]?arguments[1]:new Date,o=p.timezone.offset*L;return e(c,A()(M).utcOffset(o,!0))}function N(c){var M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;return e(c,A()(M).utc())}function d(c){var M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?0:p.timezone.offset*L,z=A()(M).utcOffset(o,!0);return z.locale(p.l10n.locale),e(c,z)}function W(c){var M=A.a.tz(b);return A.a.tz(c,b).isAfter(M)}function f(c){return c?A.a.tz(c,b).toDate():A.a.tz(b).toDate()}O()},320:function(c,M,o){var z,A,b;//! moment-timezone-utils.js -//! version : 0.5.26 +!function(p,n){"use strict";c.exports?c.exports=n(o(30)):(A=[o(30)],void 0===(b="function"==typeof(z=n)?z.apply(M,A):z)||(c.exports=b))}(0,(function(c){"use strict";var M,o={},z={},A={},b={};c&&"string"==typeof c.version||E("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var p=c.version.split("."),n=+p[0],a=+p[1];function O(c){return c>96?c-87:c>64?c-29:c-48}function L(c){var M=0,o=c.split("."),z=o[0],A=o[1]||"",b=1,p=0,n=1;for(45===c.charCodeAt(0)&&(M=1,n=-1);M3){var M=A[l(c)];if(M)return M;E("Moment Timezone found "+c+" from the Intl api, but did not have that data loaded.")}}catch(c){}var o,z,b,p=function(){var c,M,o,z=(new Date).getFullYear()-2,A=new d(new Date(z,0,1)),b=[A];for(o=1;o<48;o++)(M=new d(new Date(z,o,1))).offset!==A.offset&&(c=f(A,M),b.push(c),b.push(new d(new Date(c.at+6e4)))),A=M;for(o=0;o<4;o++)b.push(new d(new Date(z+o,0,1))),b.push(new d(new Date(z+o,6,1)));return b}(),n=p.length,a=t(p),O=[];for(z=0;z0?O[0].zone.name:void 0}function l(c){return(c||"").toLowerCase().replace(/\//g,"_")}function u(c){var M,z,b,p;for("string"==typeof c&&(c=[c]),M=0;M= 2.6.0. You are using Moment.js "+c.version+". See momentjs.com"),N.prototype={_set:function(c){this.name=c.name,this.abbrs=c.abbrs,this.untils=c.untils,this.offsets=c.offsets,this.population=c.population},_index:function(c){var M,o=+c,z=this.untils;for(M=0;Mz&&S.moveInvalidForward&&(M=z),b0&&(this._z=null),R.apply(this,arguments)}),c.tz.setDefault=function(M){return(n<2||2===n&&a<9)&&E("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+c.version+"."),c.defaultZone=M?T(M):null,c};var h=c.momentProperties;return"[object Array]"===Object.prototype.toString.call(h)?(h.push("_z"),h.push("_a")):h&&(h._z=null),c}))},30:function(c,M){!function(){c.exports=this.moment}()},339:function(c,M,o){"use strict";o.r(M),o.d(M,"setSettings",(function(){return n})),o.d(M,"__experimentalGetSettings",(function(){return a})),o.d(M,"format",(function(){return e})),o.d(M,"date",(function(){return i})),o.d(M,"gmdate",(function(){return N})),o.d(M,"dateI18n",(function(){return d})),o.d(M,"isInTheFuture",(function(){return W})),o.d(M,"getDate",(function(){return f}));var z=o(30),A=o.n(z),b=(o(209),o(340),"WP"),p={l10n:{locale:"en",months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],meridiem:{am:"am",pm:"pm",AM:"AM",PM:"PM"},relative:{future:"%s from now",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}},formats:{time:"g: i a",date:"F j, Y",datetime:"F j, Y g: i a",datetimeAbbreviated:"M j, Y g: i a"},timezone:{offset:"0",string:""}};function n(c){p=c;var M=A.a.locale();A.a.updateLocale(c.l10n.locale,{parentLocale:M,months:c.l10n.months,monthsShort:c.l10n.monthsShort,weekdays:c.l10n.weekdays,weekdaysShort:c.l10n.weekdaysShort,meridiem:function(M,o,z){return M<12?z?c.l10n.meridiem.am:c.l10n.meridiem.AM:z?c.l10n.meridiem.pm:c.l10n.meridiem.PM},longDateFormat:{LT:c.formats.time,LTS:null,L:null,LL:c.formats.date,LLL:c.formats.datetime,LLLL:null},relativeTime:c.l10n.relative}),A.a.locale(M),O()}function a(){return p}function O(){A.a.tz.add(A.a.tz.pack({name:b,abbrs:[b],untils:[null],offsets:[60*-p.timezone.offset||0]}))}var L=60,q={d:"DD",D:"ddd",j:"D",l:"dddd",N:"E",S:function(c){var M=c.format("D");return c.format("Do").replace(M,"")},w:"d",z:function(c){return""+parseInt(c.format("DDD"),10)-1},W:"W",F:"MMMM",m:"MM",M:"MMM",n:"M",t:function(c){return c.daysInMonth()},L:function(c){return c.isLeapYear()?"1":"0"},o:"GGGG",Y:"YYYY",y:"YY",a:"a",A:"A",B:function(c){var M=A()(c).utcOffset(60),o=parseInt(M.format("s"),10),z=parseInt(M.format("m"),10),b=parseInt(M.format("H"),10);return parseInt((o+60*z+3600*b)/86.4,10)},g:"h",G:"H",h:"hh",H:"HH",i:"mm",s:"ss",u:"SSSSSS",v:"SSS",e:"zz",I:function(c){return c.isDST()?"1":"0"},O:"ZZ",P:"Z",T:"z",Z:function(c){var M=c.format("Z"),o="-"===M[0]?-1:1,z=M.substring(1).split(":");return o*(z[0]*L+z[1])*60},c:"YYYY-MM-DDTHH:mm:ssZ",r:"ddd, D MMM YYYY HH:mm:ss ZZ",U:"X"};function e(c){var M,o,z=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,b=[],p=A()(z);for(M=0;M1&&void 0!==arguments[1]?arguments[1]:new Date,o=p.timezone.offset*L;return e(c,A()(M).utcOffset(o,!0))}function N(c){var M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;return e(c,A()(M).utc())}function d(c){var M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?0:p.timezone.offset*L,z=A()(M).utcOffset(o,!0);return z.locale(p.l10n.locale),e(c,z)}function W(c){var M=A.a.tz(b);return A.a.tz(c,b).isAfter(M)}function f(c){return c?A.a.tz(c,b).toDate():A.a.tz(b).toDate()}O()},340:function(c,M,o){var z,A,b;//! moment-timezone-utils.js +//! version : 0.5.27 //! Copyright (c) JS Foundation and other contributors //! license : MIT //! github.com/moment/moment-timezone -!function(p,n){"use strict";c.exports?c.exports=n(o(321)):(A=[o(29)],void 0===(b="function"==typeof(z=n)?z.apply(M,A):z)||(c.exports=b))}(0,(function(c){"use strict";if(!c.tz)throw new Error("moment-timezone-utils.js must be loaded after moment-timezone.js");var M="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX",o=1e-6;function z(c,z){for(var A="",b=Math.abs(c),p=Math.floor(b),n=function(c,z){for(var A,b=".",p="";z>0;)z-=1,c*=60,A=Math.floor(c+o),b+=M[A],c-=A,A&&(p+=b,b="");return p}(b-p,Math.min(~~z,10));p>0;)A=M[p%60]+A,p=Math.floor(p/60);return c<0&&(A="-"+A),A&&n?A+n:(n||"-"!==A)&&(A||n)||"0"}function A(c){var M,o=[],A=0;for(M=0;Mn.population?a.unshift(p):p.population===n.population&&z&&z[p.name]?a.unshift(p):a.push(p),L=!0);L||q.push([p])}for(A=0;Ao&&(A=M,M=o,o=A),A=0;Ao&&(p=Math.min(p,A+1)));return[b,p]}(c.untils,M,o),b=z.apply(c.untils,A);return b[b.length-1]=null,{name:c.name,abbrs:z.apply(c.abbrs,A),untils:b,offsets:z.apply(c.offsets,A),population:c.population}}return c.tz.pack=n,c.tz.packBase60=z,c.tz.createLinks=L,c.tz.filterYears=q,c.tz.filterLinkPack=function(c,M,o,z){var A,b,p=c.zones,a=[];for(A=0;A0;)z-=1,c*=60,A=Math.floor(c+o),b+=M[A],c-=A,A&&(p+=b,b="");return p}(b-p,Math.min(~~z,10));p>0;)A=M[p%60]+A,p=Math.floor(p/60);return c<0&&(A="-"+A),A&&n?A+n:(n||"-"!==A)&&(A||n)||"0"}function A(c){var M,o=[],A=0;for(M=0;Mn.population?a.unshift(p):p.population===n.population&&z&&z[p.name]?a.unshift(p):a.push(p),L=!0);L||q.push([p])}for(A=0;Ao&&(A=M,M=o,o=A),A=0;Ao&&(p=Math.min(p,A+1)));return[b,p]}(c.untils,M,o),b=z.apply(c.untils,A);return b[b.length-1]=null,{name:c.name,abbrs:z.apply(c.abbrs,A),untils:b,offsets:z.apply(c.offsets,A),population:c.population}}return c.tz.pack=n,c.tz.packBase60=z,c.tz.createLinks=L,c.tz.filterYears=q,c.tz.filterLinkPack=function(c,M,o,z){var A,b,p=c.zones,a=[];for(A=0;A1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,c=t.alternative,i=t.plugin,u=t.link,a=t.hint,l=i?" from ".concat(i):"",f=n?" and will be removed".concat(l," in version ").concat(n):"",d=c?" Please use ".concat(c," instead."):"",s=u?" See: ".concat(u):"",p=a?" Note: ".concat(a):"",b="".concat(e," is deprecated").concat(f,".").concat(d).concat(s).concat(p);b in o||(Object(r.doAction)("deprecated",e,t,b),console.warn(b),o[b]=!0)}}}).default; \ No newline at end of file +this.wp=this.wp||{},this.wp.deprecated=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=343)}({27:function(e,t){!function(){e.exports=this.wp.hooks}()},343:function(e,t,n){"use strict";n.r(t),n.d(t,"logged",(function(){return o})),n.d(t,"default",(function(){return c}));var r=n(27),o=Object.create(null);function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,c=t.alternative,i=t.plugin,u=t.link,a=t.hint,l=i?" from ".concat(i):"",f=n?" and will be removed".concat(l," in version ").concat(n):"",d=c?" Please use ".concat(c," instead."):"",s=u?" See: ".concat(u):"",p=a?" Note: ".concat(a):"",b="".concat(e," is deprecated").concat(f,".").concat(d).concat(s).concat(p);b in o||(Object(r.doAction)("deprecated",e,t,b),console.warn(b),o[b]=!0)}}}).default; \ No newline at end of file diff --git a/wp-includes/js/dist/dom-ready.js b/wp-includes/js/dist/dom-ready.js index 826b2ce15a..7121377c8f 100644 --- a/wp-includes/js/dist/dom-ready.js +++ b/wp-includes/js/dist/dom-ready.js @@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["domReady"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 324); +/******/ return __webpack_require__(__webpack_require__.s = 344); /******/ }) /************************************************************************/ /******/ ({ -/***/ 324: +/***/ 344: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; diff --git a/wp-includes/js/dist/dom-ready.min.js b/wp-includes/js/dist/dom-ready.min.js index b1f834d41b..6b5b2019c8 100644 --- a/wp-includes/js/dist/dom-ready.min.js +++ b/wp-includes/js/dist/dom-ready.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.domReady=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=324)}({324:function(e,t,n){"use strict";n.r(t);t.default=function(e){if("complete"===document.readyState||"interactive"===document.readyState)return e();document.addEventListener("DOMContentLoaded",e)}}}).default; \ No newline at end of file +this.wp=this.wp||{},this.wp.domReady=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=344)}({344:function(e,t,n){"use strict";n.r(t);t.default=function(e){if("complete"===document.readyState||"interactive"===document.readyState)return e();document.addEventListener("DOMContentLoaded",e)}}}).default; \ No newline at end of file diff --git a/wp-includes/js/dist/dom.js b/wp-includes/js/dist/dom.js index dfb598fd1d..0df9a1e324 100644 --- a/wp-includes/js/dist/dom.js +++ b/wp-includes/js/dist/dom.js @@ -82,44 +82,11 @@ this["wp"] = this["wp"] || {}; this["wp"]["dom"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 365); +/******/ return __webpack_require__(__webpack_require__.s = 386); /******/ }) /************************************************************************/ /******/ ({ -/***/ 17: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js -function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) { - for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { - arr2[i] = arr[i]; - } - - return arr2; - } -} -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(30); - -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js -function _nonIterableSpread() { - throw new TypeError("Invalid attempt to spread non-iterable instance"); -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _toConsumableArray; }); - - - -function _toConsumableArray(arr) { - return _arrayWithoutHoles(arr) || Object(iterableToArray["a" /* default */])(arr) || _nonIterableSpread(); -} - -/***/ }), - /***/ 2: /***/ (function(module, exports) { @@ -127,18 +94,7 @@ function _toConsumableArray(arr) { /***/ }), -/***/ 30: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; }); -function _iterableToArray(iter) { - if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); -} - -/***/ }), - -/***/ 365: +/***/ 386: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -151,12 +107,7 @@ __webpack_require__.r(tabbable_namespaceObject); __webpack_require__.d(tabbable_namespaceObject, "isTabbableIndex", function() { return isTabbableIndex; }); __webpack_require__.d(tabbable_namespaceObject, "find", function() { return tabbable_find; }); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(17); - // CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/focusable.js - - /** * References: * @@ -220,7 +171,7 @@ function isValidFocusableArea(element) { function find(context) { var elements = context.querySelectorAll(SELECTOR); - return Object(toConsumableArray["a" /* default */])(elements).filter(function (element) { + return Array.from(elements).filter(function (element) { if (!isVisible(element)) { return false; } diff --git a/wp-includes/js/dist/dom.min.js b/wp-includes/js/dist/dom.min.js index 4a8f93ab30..342820af4b 100644 --- a/wp-includes/js/dist/dom.min.js +++ b/wp-includes/js/dist/dom.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.dom=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=365)}({17:function(e,t,n){"use strict";var r=n(30);function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0||e.offsetHeight>0||e.getClientRects().length>0}function c(e){var t=e.querySelectorAll(a);return Object(i.a)(t).filter((function(e){return!!u(e)&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var n=document.querySelector('img[usemap="#'+t.name+'"]');return!!n&&u(n)}(e))}))}var l=n(2);function d(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function f(e){return-1!==d(e)}function s(e,t){return{element:e,index:t}}function g(e){return e.element}function p(e,t){var n=d(e.element),r=d(t.element);return n===r?e.index-t.index:n-r}function v(e){return c(e).filter(f).map(s).sort(p).map(g).reduce((t={},function(e,n){var r=n.nodeName,o=n.type,i=n.checked,a=n.name;if("INPUT"!==r||"radio"!==o||!a)return e.concat(n);var u=t.hasOwnProperty(a);if(!i&&u)return e;if(u){var c=t[a];e=Object(l.without)(e,c)}return t[a]=n,e.concat(n)}),[]);var t}var m=window.getComputedStyle,h=window.Node,b=h.TEXT_NODE,C=h.ELEMENT_NODE,N=h.DOCUMENT_POSITION_PRECEDING,y=h.DOCUMENT_POSITION_FOLLOWING;function E(e,t,n){if(Object(l.includes)(["INPUT","TEXTAREA"],e.tagName))return e.selectionStart===e.selectionEnd&&(t?0===e.selectionStart:e.value.length===e.selectionStart);if(!e.isContentEditable)return!0;var r=window.getSelection();if(!r.rangeCount)return!1;var o=r.getRangeAt(0).cloneRange(),i=function(e){var t=e.anchorNode,n=e.focusNode,r=e.anchorOffset,o=e.focusOffset,i=t.compareDocumentPosition(n);return!(i&N)&&(!!(i&y)||(0!==i||r<=o))}(r),a=r.isCollapsed;a||o.collapse(!i);var u=S(o);if(!u)return!1;var c=window.getComputedStyle(e),d=parseInt(c.lineHeight,10)||0;if(!a&&u.height>d&&i===t)return!1;var f=parseInt(c["padding".concat(t?"Top":"Bottom")],10)||0,s=3*parseInt(d,10)/4,g=e.getBoundingClientRect();if(!(t?g.top+f>u.top-s:g.bottom-f3&&void 0!==arguments[3])||arguments[3];if(e)if(n&&e.isContentEditable){var o=n.height/2,i=e.getBoundingClientRect(),a=n.left,u=t?i.bottom-o:i.top+o,c=A(document,a,u,e);if(!c||!e.contains(c.startContainer))return!r||c&&c.startContainer&&c.startContainer.contains(e)?void T(e,t):(e.scrollIntoView(t),void P(e,t,n,!1));var l=window.getSelection();l.removeAllRanges(),l.addRange(c),e.focus(),l.removeAllRanges(),l.addRange(c)}else T(e,t)}function I(e){try{var t=e.nodeName,n=e.selectionStart,r=e.contentEditable;return"INPUT"===t&&null!==n||"TEXTAREA"===t||"true"===r}catch(e){return!1}}function x(){if(I(document.activeElement))return!0;var e=window.getSelection(),t=e.rangeCount?e.getRangeAt(0):null;return t&&!t.collapsed}function j(e){if(Object(l.includes)(["INPUT","TEXTAREA"],e.nodeName))return 0===e.selectionStart&&e.value.length===e.selectionEnd;if(!e.isContentEditable)return!0;var t=window.getSelection(),n=t.rangeCount?t.getRangeAt(0):null;if(!n)return!0;var r=n.startContainer,o=n.endContainer,i=n.startOffset,a=n.endOffset;if(r===e&&o===e&&0===i&&a===e.childNodes.length)return!0;var u=e.lastChild,c=u.nodeType===b?u.data.length:u.childNodes.length;return r===e.firstChild&&o===e.lastChild&&0===i&&a===c}function _(e){if(e){if(e.scrollHeight>e.clientHeight){var t=window.getComputedStyle(e).overflowY;if(/(auto|scroll)/.test(t))return e}return _(e.parentNode)}}function B(e){for(var t;(t=e.parentNode)&&t.nodeType!==C;);return t?"static"!==m(t).position?t:t.offsetParent:null}function M(e,t){F(t,e.parentNode),D(e)}function D(e){e.parentNode.removeChild(e)}function F(e,t){t.parentNode.insertBefore(e,t.nextSibling)}function H(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}function U(e,t){for(var n=e.ownerDocument.createElement(t);e.firstChild;)n.appendChild(e.firstChild);return e.parentNode.replaceChild(n,e),n}function z(e,t){t.parentNode.insertBefore(e,t),e.appendChild(t)}n.d(t,"focus",(function(){return X})),n.d(t,"isHorizontalEdge",(function(){return w})),n.d(t,"isVerticalEdge",(function(){return R})),n.d(t,"getRectangleFromRange",(function(){return S})),n.d(t,"computeCaretRect",(function(){return O})),n.d(t,"placeCaretAtHorizontalEdge",(function(){return T})),n.d(t,"placeCaretAtVerticalEdge",(function(){return P})),n.d(t,"isTextField",(function(){return I})),n.d(t,"documentHasSelection",(function(){return x})),n.d(t,"isEntirelySelected",(function(){return j})),n.d(t,"getScrollContainer",(function(){return _})),n.d(t,"getOffsetParent",(function(){return B})),n.d(t,"replace",(function(){return M})),n.d(t,"remove",(function(){return D})),n.d(t,"insertAfter",(function(){return F})),n.d(t,"unwrap",(function(){return H})),n.d(t,"replaceTag",(function(){return U})),n.d(t,"wrap",(function(){return z}));var X={focusable:r,tabbable:o}}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.dom=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=386)}({2:function(e,t){!function(){e.exports=this.lodash}()},386:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"find",(function(){return u}));var o={};n.r(o),n.d(o,"isTabbableIndex",(function(){return d})),n.d(o,"find",(function(){return p}));var i=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",");function a(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function u(e){var t=e.querySelectorAll(i);return Array.from(t).filter((function(e){return!!a(e)&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var n=document.querySelector('img[usemap="#'+t.name+'"]');return!!n&&a(n)}(e))}))}var l=n(2);function c(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function d(e){return-1!==c(e)}function f(e,t){return{element:e,index:t}}function s(e){return e.element}function g(e,t){var n=c(e.element),r=c(t.element);return n===r?e.index-t.index:n-r}function p(e){return u(e).filter(d).map(f).sort(g).map(s).reduce((t={},function(e,n){var r=n.nodeName,o=n.type,i=n.checked,a=n.name;if("INPUT"!==r||"radio"!==o||!a)return e.concat(n);var u=t.hasOwnProperty(a);if(!i&&u)return e;if(u){var c=t[a];e=Object(l.without)(e,c)}return t[a]=n,e.concat(n)}),[]);var t}var v=window.getComputedStyle,m=window.Node,h=m.TEXT_NODE,b=m.ELEMENT_NODE,C=m.DOCUMENT_POSITION_PRECEDING,N=m.DOCUMENT_POSITION_FOLLOWING;function E(e,t,n){if(Object(l.includes)(["INPUT","TEXTAREA"],e.tagName))return e.selectionStart===e.selectionEnd&&(t?0===e.selectionStart:e.value.length===e.selectionStart);if(!e.isContentEditable)return!0;var r=window.getSelection();if(!r.rangeCount)return!1;var o=r.getRangeAt(0).cloneRange(),i=function(e){var t=e.anchorNode,n=e.focusNode,r=e.anchorOffset,o=e.focusOffset,i=t.compareDocumentPosition(n);return!(i&C)&&(!!(i&N)||(0!==i||r<=o))}(r),a=r.isCollapsed;a||o.collapse(!i);var u=w(o);if(!u)return!1;var c=window.getComputedStyle(e),d=parseInt(c.lineHeight,10)||0;if(!a&&u.height>d&&i===t)return!1;var f=parseInt(c["padding".concat(t?"Top":"Bottom")],10)||0,s=3*parseInt(d,10)/4,g=e.getBoundingClientRect();if(!(t?g.top+f>u.top-s:g.bottom-f3&&void 0!==arguments[3])||arguments[3];if(e)if(n&&e.isContentEditable){var o=n.height/2,i=e.getBoundingClientRect(),a=n.left,u=t?i.bottom-o:i.top+o,l=O(document,a,u,e);if(!l||!e.contains(l.startContainer))return!r||l&&l.startContainer&&l.startContainer.contains(e)?void T(e,t):(e.scrollIntoView(t),void A(e,t,n,!1));var c=window.getSelection();c.removeAllRanges(),c.addRange(l),e.focus(),c.removeAllRanges(),c.addRange(l)}else T(e,t)}function P(e){try{var t=e.nodeName,n=e.selectionStart,r=e.contentEditable;return"INPUT"===t&&null!==n||"TEXTAREA"===t||"true"===r}catch(e){return!1}}function x(){if(P(document.activeElement))return!0;var e=window.getSelection(),t=e.rangeCount?e.getRangeAt(0):null;return t&&!t.collapsed}function I(e){if(Object(l.includes)(["INPUT","TEXTAREA"],e.nodeName))return 0===e.selectionStart&&e.value.length===e.selectionEnd;if(!e.isContentEditable)return!0;var t=window.getSelection(),n=t.rangeCount?t.getRangeAt(0):null;if(!n)return!0;var r=n.startContainer,o=n.endContainer,i=n.startOffset,a=n.endOffset;if(r===e&&o===e&&0===i&&a===e.childNodes.length)return!0;var u=e.lastChild,c=u.nodeType===h?u.data.length:u.childNodes.length;return r===e.firstChild&&o===e.lastChild&&0===i&&a===c}function j(e){if(e){if(e.scrollHeight>e.clientHeight){var t=window.getComputedStyle(e).overflowY;if(/(auto|scroll)/.test(t))return e}return j(e.parentNode)}}function _(e){for(var t;(t=e.parentNode)&&t.nodeType!==b;);return t?"static"!==v(t).position?t:t.offsetParent:null}function B(e,t){D(t,e.parentNode),M(e)}function M(e){e.parentNode.removeChild(e)}function D(e,t){t.parentNode.insertBefore(e,t.nextSibling)}function F(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}function H(e,t){for(var n=e.ownerDocument.createElement(t);e.firstChild;)n.appendChild(e.firstChild);return e.parentNode.replaceChild(n,e),n}function U(e,t){t.parentNode.insertBefore(e,t),e.appendChild(t)}n.d(t,"focus",(function(){return z})),n.d(t,"isHorizontalEdge",(function(){return R})),n.d(t,"isVerticalEdge",(function(){return y})),n.d(t,"getRectangleFromRange",(function(){return w})),n.d(t,"computeCaretRect",(function(){return S})),n.d(t,"placeCaretAtHorizontalEdge",(function(){return T})),n.d(t,"placeCaretAtVerticalEdge",(function(){return A})),n.d(t,"isTextField",(function(){return P})),n.d(t,"documentHasSelection",(function(){return x})),n.d(t,"isEntirelySelected",(function(){return I})),n.d(t,"getScrollContainer",(function(){return j})),n.d(t,"getOffsetParent",(function(){return _})),n.d(t,"replace",(function(){return B})),n.d(t,"remove",(function(){return M})),n.d(t,"insertAfter",(function(){return D})),n.d(t,"unwrap",(function(){return F})),n.d(t,"replaceTag",(function(){return H})),n.d(t,"wrap",(function(){return U}));var z={focusable:r,tabbable:o}}}); \ No newline at end of file diff --git a/wp-includes/js/dist/edit-post.js b/wp-includes/js/dist/edit-post.js index 88b2a1f4eb..9d9c063d79 100644 --- a/wp-includes/js/dist/edit-post.js +++ b/wp-includes/js/dist/edit-post.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["editPost"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 345); +/******/ return __webpack_require__(__webpack_require__.s = 364); /******/ }) /************************************************************************/ /******/ ({ @@ -102,138 +102,13 @@ this["wp"] = this["wp"] || {}; this["wp"]["editPost"] = /***/ }), /***/ 10: -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ (function(module, exports) { -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} +(function() { module.exports = this["wp"]["blocks"]; }()); /***/ }), /***/ 11: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; }); -function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, descriptor.key, descriptor); - } -} - -function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - return Constructor; -} - -/***/ }), - -/***/ 12: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; }); -function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -} - -/***/ }), - -/***/ 13: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; }); -/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31); -/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5); - - -function _possibleConstructorReturn(self, call) { - if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) { - return call; - } - - return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self); -} - -/***/ }), - -/***/ 14: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; }); -function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { - return o.__proto__ || Object.getPrototypeOf(o); - }; - return _getPrototypeOf(o); -} - -/***/ }), - -/***/ 141: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["notices"]; }()); - -/***/ }), - -/***/ 15: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js -function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { - o.__proto__ = p; - return o; - }; - - return _setPrototypeOf(o, p); -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _inherits; }); - -function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError("Super expression must either be null or a function"); - } - - subClass.prototype = Object.create(superClass && superClass.prototype, { - constructor: { - value: subClass, - writable: true, - configurable: true - } - }); - if (superClass) _setPrototypeOf(subClass, superClass); -} - -/***/ }), - -/***/ 16: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! @@ -291,40 +166,43 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! /***/ }), -/***/ 17: +/***/ 12: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js -function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) { - for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { - arr2[i] = arr[i]; - } - - return arr2; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; }); +function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); } } -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(30); -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js -function _nonIterableSpread() { - throw new TypeError("Invalid attempt to spread non-iterable instance"); -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _toConsumableArray; }); - - - -function _toConsumableArray(arr) { - return _arrayWithoutHoles(arr) || Object(iterableToArray["a" /* default */])(arr) || _nonIterableSpread(); +function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; } /***/ }), -/***/ 18: +/***/ 13: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; }); +function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } +} + +/***/ }), + +/***/ 14: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -349,6 +227,120 @@ function _extends() { /***/ }), +/***/ 142: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["nux"]; }()); + +/***/ }), + +/***/ 143: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["notices"]; }()); + +/***/ }), + +/***/ 15: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; }); +/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31); +/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6); + + +function _possibleConstructorReturn(self, call) { + if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) { + return call; + } + + return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self); +} + +/***/ }), + +/***/ 16: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; }); +function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); +} + +/***/ }), + +/***/ 17: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); +} +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _inherits; }); + +function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); +} + +/***/ }), + +/***/ 18: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +function _arrayWithoutHoles(arr) { + if (Array.isArray(arr)) { + for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { + arr2[i] = arr[i]; + } + + return arr2; + } +} +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js +var iterableToArray = __webpack_require__(32); + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +function _nonIterableSpread() { + throw new TypeError("Invalid attempt to spread non-iterable instance"); +} +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _toConsumableArray; }); + + + +function _toConsumableArray(arr) { + return _arrayWithoutHoles(arr) || Object(iterableToArray["a" /* default */])(arr) || _nonIterableSpread(); +} + +/***/ }), + /***/ 19: /***/ (function(module, exports) { @@ -367,28 +359,12 @@ function _extends() { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; }); +/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40); function _objectWithoutProperties(source, excluded) { if (source == null) return {}; - var target = _objectWithoutPropertiesLoose(source, excluded); + var target = Object(_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { @@ -407,16 +383,20 @@ function _objectWithoutProperties(source, excluded) { /***/ }), -/***/ 23: +/***/ 22: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(38); +var arrayWithHoles = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { + if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { + return; + } + var _arr = []; var _n = true; var _d = false; @@ -442,7 +422,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(39); +var nonIterableRest = __webpack_require__(34); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -462,17 +442,17 @@ function _slicedToArray(arr, i) { /***/ }), -/***/ 24: +/***/ 25: /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["editor"]; }()); +(function() { module.exports = this["wp"]["url"]; }()); /***/ }), /***/ 26: /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["url"]; }()); +(function() { module.exports = this["wp"]["editor"]; }()); /***/ }), @@ -490,7 +470,28 @@ function _slicedToArray(arr, i) { /***/ }), -/***/ 30: +/***/ 31: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); +function _typeof(obj) { + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + _typeof = function _typeof(obj) { + return typeof obj; + }; + } else { + _typeof = function _typeof(obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + } + + return _typeof(obj); +} + +/***/ }), + +/***/ 32: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -501,37 +502,29 @@ function _iterableToArray(iter) { /***/ }), -/***/ 31: +/***/ 33: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); -function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); } - -function _typeof(obj) { - if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") { - _typeof = function _typeof(obj) { - return _typeof2(obj); - }; - } else { - _typeof = function _typeof(obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj); - }; - } - - return _typeof(obj); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); +function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; } /***/ }), /***/ 34: -/***/ (function(module, exports) { +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["wp"]["apiFetch"]; }()); +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); +function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance"); +} /***/ }), -/***/ 345: +/***/ 364: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -585,22 +578,22 @@ __webpack_require__.d(selectors_namespaceObject, "isSavingMetaBoxes", function() var external_this_wp_element_ = __webpack_require__(0); // EXTERNAL MODULE: external {"this":["wp","coreData"]} -var external_this_wp_coreData_ = __webpack_require__(88); +var external_this_wp_coreData_ = __webpack_require__(62); // EXTERNAL MODULE: external {"this":["wp","blockEditor"]} -var external_this_wp_blockEditor_ = __webpack_require__(6); +var external_this_wp_blockEditor_ = __webpack_require__(5); // EXTERNAL MODULE: external {"this":["wp","editor"]} -var external_this_wp_editor_ = __webpack_require__(24); +var external_this_wp_editor_ = __webpack_require__(26); // EXTERNAL MODULE: external {"this":["wp","nux"]} -var external_this_wp_nux_ = __webpack_require__(60); +var external_this_wp_nux_ = __webpack_require__(142); // EXTERNAL MODULE: external {"this":["wp","viewport"]} -var external_this_wp_viewport_ = __webpack_require__(42); +var external_this_wp_viewport_ = __webpack_require__(50); // EXTERNAL MODULE: external {"this":["wp","notices"]} -var external_this_wp_notices_ = __webpack_require__(141); +var external_this_wp_notices_ = __webpack_require__(143); // EXTERNAL MODULE: external {"this":["wp","blockLibrary"]} var external_this_wp_blockLibrary_ = __webpack_require__(230); @@ -625,16 +618,16 @@ var components_replaceMediaUpload = function replaceMediaUpload() { Object(external_this_wp_hooks_["addFilter"])('editor.MediaUpload', 'core/edit-post/replace-media-upload', components_replaceMediaUpload); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(18); +var esm_extends = __webpack_require__(14); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js var objectWithoutProperties = __webpack_require__(21); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); // EXTERNAL MODULE: external {"this":["wp","blocks"]} -var external_this_wp_blocks_ = __webpack_require__(9); +var external_this_wp_blocks_ = __webpack_require__(10); // EXTERNAL MODULE: external {"this":["wp","components"]} var external_this_wp_components_ = __webpack_require__(3); @@ -676,9 +669,9 @@ var enhance = Object(external_this_wp_compose_["compose"])( * "original" block is not the current one. Thus, an inexisting * `originalBlockClientId` prop signals that the block is valid. * - * @param {Component} WrappedBlockEdit A filtered BlockEdit instance. + * @param {WPComponent} WrappedBlockEdit A filtered BlockEdit instance. * - * @return {Component} Enhanced component with merged state data props. + * @return {WPComponent} Enhanced component with merged state data props. */ Object(external_this_wp_data_["withSelect"])(function (select, block) { var multiple = Object(external_this_wp_blocks_["hasBlockSupport"])(block.name, 'multiple', true); // For block types with `multiple` support, there is no "original @@ -783,10 +776,10 @@ Object(external_this_wp_hooks_["addFilter"])('editor.BlockEdit', 'core/edit-post // EXTERNAL MODULE: external {"this":["wp","plugins"]} -var external_this_wp_plugins_ = __webpack_require__(50); +var external_this_wp_plugins_ = __webpack_require__(49); // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(26); +var external_this_wp_url_ = __webpack_require__(25); // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/copy-content-menu-item/index.js @@ -928,6 +921,24 @@ ToolsMoreMenuGroup.Slot = function (_ref) { /* harmony default export */ var tools_more_menu_group = (ToolsMoreMenuGroup); +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/welcome-guide-menu-item/index.js + + +/** + * WordPress dependencies + */ + + + +function WelcomeGuideMenuItem() { + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/nux'), + enableTips = _useDispatch.enableTips; + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { + onClick: enableTips + }, Object(external_this_wp_i18n_["__"])('Welcome Guide')); +} + // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/index.js @@ -946,6 +957,7 @@ ToolsMoreMenuGroup.Slot = function (_ref) { + Object(external_this_wp_plugins_["registerPlugin"])('edit-post', { render: function render() { return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(tools_more_menu_group, null, function (_ref) { @@ -959,16 +971,16 @@ Object(external_this_wp_plugins_["registerPlugin"])('edit-post', { }) }, Object(external_this_wp_i18n_["__"])('Manage All Reusable Blocks')), Object(external_this_wp_element_["createElement"])(keyboard_shortcuts_help_menu_item, { onSelect: onClose - }), Object(external_this_wp_element_["createElement"])(copy_content_menu_item, null)); + }), Object(external_this_wp_element_["createElement"])(WelcomeGuideMenuItem, null), Object(external_this_wp_element_["createElement"])(copy_content_menu_item, null)); })); } }); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(17); +var toConsumableArray = __webpack_require__(18); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(10); +var defineProperty = __webpack_require__(9); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js var objectSpread = __webpack_require__(7); @@ -1292,17 +1304,17 @@ var reducer_metaBoxes = Object(external_this_wp_data_["combineReducers"])({ })); // EXTERNAL MODULE: ./node_modules/refx/refx.js -var refx = __webpack_require__(71); +var refx = __webpack_require__(70); var refx_default = /*#__PURE__*/__webpack_require__.n(refx); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(23); +var slicedToArray = __webpack_require__(22); // EXTERNAL MODULE: external {"this":["wp","a11y"]} -var external_this_wp_a11y_ = __webpack_require__(45); +var external_this_wp_a11y_ = __webpack_require__(44); // EXTERNAL MODULE: external {"this":["wp","apiFetch"]} -var external_this_wp_apiFetch_ = __webpack_require__(34); +var external_this_wp_apiFetch_ = __webpack_require__(37); var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_); // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/actions.js @@ -1562,7 +1574,7 @@ function metaBoxUpdatesSuccess() { } // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(36); +var rememo = __webpack_require__(38); // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/selectors.js /** @@ -1644,9 +1656,9 @@ function getPreferences(state) { * * @param {Object} state Global application state. * @param {string} preferenceKey Preference Key. - * @param {Mixed} defaultValue Default Value. + * @param {*} defaultValue Default Value. * - * @return {Mixed} Preference Value. + * @return {*} Preference Value. */ function selectors_getPreference(state, preferenceKey, defaultValue) { @@ -2132,22 +2144,22 @@ store_middlewares(store_store); /* harmony default export */ var build_module_store = (store_store); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(12); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(11); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(13); +var possibleConstructorReturn = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(14); +var getPrototypeOf = __webpack_require__(16); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(15); +var inherits = __webpack_require__(17); // EXTERNAL MODULE: ./node_modules/memize/index.js -var memize = __webpack_require__(44); +var memize = __webpack_require__(42); var memize_default = /*#__PURE__*/__webpack_require__.n(memize); // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/prevent-event-discovery.js @@ -2165,753 +2177,9 @@ var memize_default = /*#__PURE__*/__webpack_require__.n(memize); }); // EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(16); +var classnames = __webpack_require__(11); var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/browser-url/index.js - - - - - - -/** - * WordPress dependencies - */ - - - -/** - * Returns the Post's Edit URL. - * - * @param {number} postId Post ID. - * - * @return {string} Post edit URL. - */ - -function getPostEditURL(postId) { - return Object(external_this_wp_url_["addQueryArgs"])('post.php', { - post: postId, - action: 'edit' - }); -} -/** - * Returns the Post's Trashed URL. - * - * @param {number} postId Post ID. - * @param {string} postType Post Type. - * - * @return {string} Post trashed URL. - */ - -function getPostTrashedURL(postId, postType) { - return Object(external_this_wp_url_["addQueryArgs"])('edit.php', { - trashed: 1, - post_type: postType, - ids: postId - }); -} -var browser_url_BrowserURL = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(BrowserURL, _Component); - - function BrowserURL() { - var _this; - - Object(classCallCheck["a" /* default */])(this, BrowserURL); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(BrowserURL).apply(this, arguments)); - _this.state = { - historyId: null - }; - return _this; - } - - Object(createClass["a" /* default */])(BrowserURL, [{ - key: "componentDidUpdate", - value: function componentDidUpdate(prevProps) { - var _this$props = this.props, - postId = _this$props.postId, - postStatus = _this$props.postStatus, - postType = _this$props.postType, - isSavingPost = _this$props.isSavingPost; - var historyId = this.state.historyId; // Posts are still dirty while saving so wait for saving to finish - // to avoid the unsaved changes warning when trashing posts. - - if (postStatus === 'trash' && !isSavingPost) { - this.setTrashURL(postId, postType); - return; - } - - if ((postId !== prevProps.postId || postId !== historyId) && postStatus !== 'auto-draft') { - this.setBrowserURL(postId); - } - } - /** - * Navigates the browser to the post trashed URL to show a notice about the trashed post. - * - * @param {number} postId Post ID. - * @param {string} postType Post Type. - */ - - }, { - key: "setTrashURL", - value: function setTrashURL(postId, postType) { - window.location.href = getPostTrashedURL(postId, postType); - } - /** - * Replaces the browser URL with a post editor link for the given post ID. - * - * Note it is important that, since this function may be called when the - * editor first loads, the result generated `getPostEditURL` matches that - * produced by the server. Otherwise, the URL will change unexpectedly. - * - * @param {number} postId Post ID for which to generate post editor URL. - */ - - }, { - key: "setBrowserURL", - value: function setBrowserURL(postId) { - window.history.replaceState({ - id: postId - }, 'Post ' + postId, getPostEditURL(postId)); - this.setState(function () { - return { - historyId: postId - }; - }); - } - }, { - key: "render", - value: function render() { - return null; - } - }]); - - return BrowserURL; -}(external_this_wp_element_["Component"]); -/* harmony default export */ var browser_url = (Object(external_this_wp_data_["withSelect"])(function (select) { - var _select = select('core/editor'), - getCurrentPost = _select.getCurrentPost, - isSavingPost = _select.isSavingPost; - - var _getCurrentPost = getCurrentPost(), - id = _getCurrentPost.id, - status = _getCurrentPost.status, - type = _getCurrentPost.type; - - return { - postId: id, - postStatus: status, - postType: type, - isSavingPost: isSavingPost() - }; -})(browser_url_BrowserURL)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/fullscreen-mode-close/index.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - - - -function FullscreenModeClose(_ref) { - var isActive = _ref.isActive, - postType = _ref.postType; - - if (!isActive || !postType) { - return null; - } - - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], { - className: "edit-post-fullscreen-mode-close__toolbar" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - icon: "arrow-left-alt2", - href: Object(external_this_wp_url_["addQueryArgs"])('edit.php', { - post_type: postType.slug - }), - label: Object(external_this_lodash_["get"])(postType, ['labels', 'view_items'], Object(external_this_wp_i18n_["__"])('Back')) - })); -} - -/* harmony default export */ var fullscreen_mode_close = (Object(external_this_wp_data_["withSelect"])(function (select) { - var _select = select('core/editor'), - getCurrentPostType = _select.getCurrentPostType; - - var _select2 = select('core/edit-post'), - isFeatureActive = _select2.isFeatureActive; - - var _select3 = select('core'), - getPostType = _select3.getPostType; - - return { - isActive: isFeatureActive('fullscreenMode'), - postType: getPostType(getCurrentPostType()) - }; -})(FullscreenModeClose)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/header-toolbar/index.js - - -/** - * WordPress dependencies - */ - - - - - - - - -function HeaderToolbar(_ref) { - var hasFixedToolbar = _ref.hasFixedToolbar, - isLargeViewport = _ref.isLargeViewport, - showInserter = _ref.showInserter, - isTextModeEnabled = _ref.isTextModeEnabled; - var toolbarAriaLabel = hasFixedToolbar ? - /* translators: accessibility text for the editor toolbar when Top Toolbar is on */ - Object(external_this_wp_i18n_["__"])('Document and block tools') : - /* translators: accessibility text for the editor toolbar when Top Toolbar is off */ - Object(external_this_wp_i18n_["__"])('Document tools'); - return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["NavigableToolbar"], { - className: "edit-post-header-toolbar", - "aria-label": toolbarAriaLabel - }, Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["Inserter"], { - disabled: !showInserter, - position: "bottom right", - showInserterHelpPanel: true - }), Object(external_this_wp_element_["createElement"])(external_this_wp_nux_["DotTip"], { - tipId: "core/editor.inserter" - }, Object(external_this_wp_i18n_["__"])('Welcome to the wonderful world of blocks! Click the “+” (“Add block”) button to add a new block. There are blocks available for all kinds of content: you can insert text, headings, images, lists, and lots more!'))), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["EditorHistoryUndo"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["EditorHistoryRedo"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["TableOfContents"], { - hasOutlineItemsDisabled: isTextModeEnabled - }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockNavigationDropdown"], { - isDisabled: isTextModeEnabled - }), hasFixedToolbar && isLargeViewport && Object(external_this_wp_element_["createElement"])("div", { - className: "edit-post-header-toolbar__block-toolbar" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockToolbar"], null))); -} - -/* harmony default export */ var header_toolbar = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select) { - return { - hasFixedToolbar: select('core/edit-post').isFeatureActive('fixedToolbar'), - // This setting (richEditingEnabled) should not live in the block editor's setting. - showInserter: select('core/edit-post').getEditorMode() === 'visual' && select('core/editor').getEditorSettings().richEditingEnabled, - isTextModeEnabled: select('core/edit-post').getEditorMode() === 'text' - }; -}), Object(external_this_wp_viewport_["withViewportMatch"])({ - isLargeViewport: 'medium' -})])(HeaderToolbar)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/keyboard-shortcuts.js -/** - * WordPress dependencies - */ - -/* harmony default export */ var keyboard_shortcuts = ({ - toggleEditorMode: { - raw: external_this_wp_keycodes_["rawShortcut"].secondary('m'), - display: external_this_wp_keycodes_["displayShortcut"].secondary('m') - }, - toggleSidebar: { - raw: external_this_wp_keycodes_["rawShortcut"].primaryShift(','), - display: external_this_wp_keycodes_["displayShortcut"].primaryShift(','), - ariaLabel: external_this_wp_keycodes_["shortcutAriaLabel"].primaryShift(',') - } -}); - -// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/mode-switcher/index.js - - - -/** - * WordPress dependencies - */ - - - - -/** - * Internal dependencies - */ - - -/** - * Set of available mode options. - * - * @type {Array} - */ - -var MODES = [{ - value: 'visual', - label: Object(external_this_wp_i18n_["__"])('Visual Editor') -}, { - value: 'text', - label: Object(external_this_wp_i18n_["__"])('Code Editor') -}]; - -function ModeSwitcher(_ref) { - var onSwitch = _ref.onSwitch, - mode = _ref.mode; - var choices = MODES.map(function (choice) { - if (choice.value !== mode) { - return Object(objectSpread["a" /* default */])({}, choice, { - shortcut: keyboard_shortcuts.toggleEditorMode.display - }); - } - - return choice; - }); - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], { - label: Object(external_this_wp_i18n_["__"])('Editor') - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItemsChoice"], { - choices: choices, - value: mode, - onSelect: onSwitch - })); -} - -/* harmony default export */ var mode_switcher = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select) { - return { - isRichEditingEnabled: select('core/editor').getEditorSettings().richEditingEnabled, - isCodeEditingEnabled: select('core/editor').getEditorSettings().codeEditingEnabled, - mode: select('core/edit-post').getEditorMode() - }; -}), Object(external_this_wp_compose_["ifCondition"])(function (_ref2) { - var isRichEditingEnabled = _ref2.isRichEditingEnabled, - isCodeEditingEnabled = _ref2.isCodeEditingEnabled; - return isRichEditingEnabled && isCodeEditingEnabled; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch) { - return { - onSwitch: function onSwitch(mode) { - dispatch('core/edit-post').switchEditorMode(mode); - } - }; -})])(ModeSwitcher)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/plugins-more-menu-group/index.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - -var plugins_more_menu_group_createSlotFill = Object(external_this_wp_components_["createSlotFill"])('PluginsMoreMenuGroup'), - PluginsMoreMenuGroup = plugins_more_menu_group_createSlotFill.Fill, - plugins_more_menu_group_Slot = plugins_more_menu_group_createSlotFill.Slot; - -PluginsMoreMenuGroup.Slot = function (_ref) { - var fillProps = _ref.fillProps; - return Object(external_this_wp_element_["createElement"])(plugins_more_menu_group_Slot, { - fillProps: fillProps - }, function (fills) { - return !Object(external_this_lodash_["isEmpty"])(fills) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], { - label: Object(external_this_wp_i18n_["__"])('Plugins') - }, fills); - }); -}; - -/* harmony default export */ var plugins_more_menu_group = (PluginsMoreMenuGroup); - -// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/options-menu-item/index.js - - -/** - * WordPress dependencies - */ - - - -function OptionsMenuItem(_ref) { - var openModal = _ref.openModal; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - onClick: function onClick() { - openModal('edit-post/options'); - } - }, Object(external_this_wp_i18n_["__"])('Options')); -} -/* harmony default export */ var options_menu_item = (Object(external_this_wp_data_["withDispatch"])(function (dispatch) { - var _dispatch = dispatch('core/edit-post'), - openModal = _dispatch.openModal; - - return { - openModal: openModal - }; -})(OptionsMenuItem)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/feature-toggle/index.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - - - -function FeatureToggle(_ref) { - var onToggle = _ref.onToggle, - isActive = _ref.isActive, - label = _ref.label, - info = _ref.info, - messageActivated = _ref.messageActivated, - messageDeactivated = _ref.messageDeactivated, - speak = _ref.speak; - - var speakMessage = function speakMessage() { - if (isActive) { - speak(messageDeactivated || Object(external_this_wp_i18n_["__"])('Feature deactivated')); - } else { - speak(messageActivated || Object(external_this_wp_i18n_["__"])('Feature activated')); - } - }; - - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - icon: isActive && 'yes', - isSelected: isActive, - onClick: Object(external_this_lodash_["flow"])(onToggle, speakMessage), - role: "menuitemcheckbox", - info: info - }, label); -} - -/* harmony default export */ var feature_toggle = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { - var feature = _ref2.feature; - return { - isActive: select('core/edit-post').isFeatureActive(feature) - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps) { - return { - onToggle: function onToggle() { - dispatch('core/edit-post').toggleFeature(ownProps.feature); - } - }; -}), external_this_wp_components_["withSpokenMessages"]])(FeatureToggle)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/writing-menu/index.js - - -/** - * WordPress dependencies - */ - - - -/** - * Internal dependencies - */ - - - -function WritingMenu() { - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], { - label: Object(external_this_wp_i18n_["_x"])('View', 'noun') - }, Object(external_this_wp_element_["createElement"])(feature_toggle, { - feature: "fixedToolbar", - label: Object(external_this_wp_i18n_["__"])('Top Toolbar'), - info: Object(external_this_wp_i18n_["__"])('Access all block and document tools in a single place'), - messageActivated: Object(external_this_wp_i18n_["__"])('Top toolbar activated'), - messageDeactivated: Object(external_this_wp_i18n_["__"])('Top toolbar deactivated') - }), Object(external_this_wp_element_["createElement"])(feature_toggle, { - feature: "focusMode", - label: Object(external_this_wp_i18n_["__"])('Spotlight Mode'), - info: Object(external_this_wp_i18n_["__"])('Focus on one block at a time'), - messageActivated: Object(external_this_wp_i18n_["__"])('Spotlight mode activated'), - messageDeactivated: Object(external_this_wp_i18n_["__"])('Spotlight mode deactivated') - }), Object(external_this_wp_element_["createElement"])(feature_toggle, { - feature: "fullscreenMode", - label: Object(external_this_wp_i18n_["__"])('Fullscreen Mode'), - info: Object(external_this_wp_i18n_["__"])('Work without distraction'), - messageActivated: Object(external_this_wp_i18n_["__"])('Fullscreen mode activated'), - messageDeactivated: Object(external_this_wp_i18n_["__"])('Fullscreen mode deactivated') - })); -} - -/* harmony default export */ var writing_menu = (Object(external_this_wp_viewport_["ifViewportMatches"])('medium')(WritingMenu)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/more-menu/index.js - - -/** - * WordPress dependencies - */ - - -/** - * Internal dependencies - */ - - - - - - -var POPOVER_PROPS = { - className: 'edit-post-more-menu__content', - position: 'bottom left' -}; -var TOGGLE_PROPS = { - labelPosition: 'bottom' -}; - -var more_menu_MoreMenu = function MoreMenu() { - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropdownMenu"], { - className: "edit-post-more-menu", - icon: "ellipsis", - label: Object(external_this_wp_i18n_["__"])('More tools & options'), - popoverProps: POPOVER_PROPS, - toggleProps: TOGGLE_PROPS - }, function (_ref) { - var onClose = _ref.onClose; - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(writing_menu, null), Object(external_this_wp_element_["createElement"])(mode_switcher, null), Object(external_this_wp_element_["createElement"])(plugins_more_menu_group.Slot, { - fillProps: { - onClose: onClose - } - }), Object(external_this_wp_element_["createElement"])(tools_more_menu_group.Slot, { - fillProps: { - onClose: onClose - } - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], null, Object(external_this_wp_element_["createElement"])(options_menu_item, null))); - }); -}; - -/* harmony default export */ var more_menu = (more_menu_MoreMenu); - -// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/pinned-plugins/index.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - -var pinned_plugins_createSlotFill = Object(external_this_wp_components_["createSlotFill"])('PinnedPlugins'), - PinnedPlugins = pinned_plugins_createSlotFill.Fill, - pinned_plugins_Slot = pinned_plugins_createSlotFill.Slot; - -PinnedPlugins.Slot = function (props) { - return Object(external_this_wp_element_["createElement"])(pinned_plugins_Slot, props, function (fills) { - return !Object(external_this_lodash_["isEmpty"])(fills) && Object(external_this_wp_element_["createElement"])("div", { - className: "edit-post-pinned-plugins" - }, fills); - }); -}; - -/* harmony default export */ var pinned_plugins = (PinnedPlugins); - -// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/post-publish-button-or-toggle.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - - -function PostPublishButtonOrToggle(_ref) { - var forceIsDirty = _ref.forceIsDirty, - forceIsSaving = _ref.forceIsSaving, - hasPublishAction = _ref.hasPublishAction, - isBeingScheduled = _ref.isBeingScheduled, - isLessThanMediumViewport = _ref.isLessThanMediumViewport, - isPending = _ref.isPending, - isPublished = _ref.isPublished, - isPublishSidebarEnabled = _ref.isPublishSidebarEnabled, - isPublishSidebarOpened = _ref.isPublishSidebarOpened, - isScheduled = _ref.isScheduled, - togglePublishSidebar = _ref.togglePublishSidebar; - var IS_TOGGLE = 'toggle'; - var IS_BUTTON = 'button'; - var component; - /** - * Conditions to show a BUTTON (publish directly) or a TOGGLE (open publish sidebar): - * - * 1) We want to show a BUTTON when the post status is at the _final stage_ - * for a particular role (see https://wordpress.org/support/article/post-status/): - * - * - is published - * - is scheduled to be published - * - is pending and can't be published (but only for viewports >= medium). - * Originally, we considered showing a button for pending posts that couldn't be published - * (for example, for an author with the contributor role). Some languages can have - * long translations for "Submit for review", so given the lack of UI real estate available - * we decided to take into account the viewport in that case. - * See: https://github.com/WordPress/gutenberg/issues/10475 - * - * 2) Then, in small viewports, we'll show a TOGGLE. - * - * 3) Finally, we'll use the publish sidebar status to decide: - * - * - if it is enabled, we show a TOGGLE - * - if it is disabled, we show a BUTTON - */ - - if (isPublished || isScheduled && isBeingScheduled || isPending && !hasPublishAction && !isLessThanMediumViewport) { - component = IS_BUTTON; - } else if (isLessThanMediumViewport) { - component = IS_TOGGLE; - } else if (isPublishSidebarEnabled) { - component = IS_TOGGLE; - } else { - component = IS_BUTTON; - } - - return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostPublishButton"], { - forceIsDirty: forceIsDirty, - forceIsSaving: forceIsSaving, - isOpen: isPublishSidebarOpened, - isToggle: component === IS_TOGGLE, - onToggle: togglePublishSidebar - }); -} -/* harmony default export */ var post_publish_button_or_toggle = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select) { - return { - hasPublishAction: Object(external_this_lodash_["get"])(select('core/editor').getCurrentPost(), ['_links', 'wp:action-publish'], false), - isBeingScheduled: select('core/editor').isEditedPostBeingScheduled(), - isPending: select('core/editor').isCurrentPostPending(), - isPublished: select('core/editor').isCurrentPostPublished(), - isPublishSidebarEnabled: select('core/editor').isPublishSidebarEnabled(), - isPublishSidebarOpened: select('core/edit-post').isPublishSidebarOpened(), - isScheduled: select('core/editor').isCurrentPostScheduled() - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch) { - var _dispatch = dispatch('core/edit-post'), - togglePublishSidebar = _dispatch.togglePublishSidebar; - - return { - togglePublishSidebar: togglePublishSidebar - }; -}), Object(external_this_wp_viewport_["withViewportMatch"])({ - isLessThanMediumViewport: '< medium' -}))(PostPublishButtonOrToggle)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/index.js - - -/** - * WordPress dependencies - */ - - - - - - -/** - * Internal dependencies - */ - - - - - - - - -function Header(_ref) { - var closeGeneralSidebar = _ref.closeGeneralSidebar, - hasActiveMetaboxes = _ref.hasActiveMetaboxes, - isEditorSidebarOpened = _ref.isEditorSidebarOpened, - isPublishSidebarOpened = _ref.isPublishSidebarOpened, - isSaving = _ref.isSaving, - openGeneralSidebar = _ref.openGeneralSidebar; - var toggleGeneralSidebar = isEditorSidebarOpened ? closeGeneralSidebar : openGeneralSidebar; - return Object(external_this_wp_element_["createElement"])("div", { - role: "region" - /* translators: accessibility text for the top bar landmark region. */ - , - "aria-label": Object(external_this_wp_i18n_["__"])('Editor top bar'), - className: "edit-post-header", - tabIndex: "-1" - }, Object(external_this_wp_element_["createElement"])("div", { - className: "edit-post-header__toolbar" - }, Object(external_this_wp_element_["createElement"])(fullscreen_mode_close, null), Object(external_this_wp_element_["createElement"])(header_toolbar, null)), Object(external_this_wp_element_["createElement"])("div", { - className: "edit-post-header__settings" - }, !isPublishSidebarOpened && // This button isn't completely hidden by the publish sidebar. - // We can't hide the whole toolbar when the publish sidebar is open because - // we want to prevent mounting/unmounting the PostPublishButtonOrToggle DOM node. - // We track that DOM node to return focus to the PostPublishButtonOrToggle - // when the publish sidebar has been closed. - Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostSavedState"], { - forceIsDirty: hasActiveMetaboxes, - forceIsSaving: isSaving - }), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostPreviewButton"], { - forceIsAutosaveable: hasActiveMetaboxes, - forcePreviewLink: isSaving ? null : undefined - }), Object(external_this_wp_element_["createElement"])(post_publish_button_or_toggle, { - forceIsDirty: hasActiveMetaboxes, - forceIsSaving: isSaving - }), Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - icon: "admin-generic", - label: Object(external_this_wp_i18n_["__"])('Settings'), - onClick: toggleGeneralSidebar, - isToggled: isEditorSidebarOpened, - "aria-expanded": isEditorSidebarOpened, - shortcut: keyboard_shortcuts.toggleSidebar - }), Object(external_this_wp_element_["createElement"])(external_this_wp_nux_["DotTip"], { - tipId: "core/editor.settings" - }, Object(external_this_wp_i18n_["__"])('You’ll find more settings for your page and blocks in the sidebar. Click the cog icon to toggle the sidebar open and closed.'))), Object(external_this_wp_element_["createElement"])(pinned_plugins.Slot, null), Object(external_this_wp_element_["createElement"])(more_menu, null))); -} - -/* harmony default export */ var header = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select) { - return { - hasActiveMetaboxes: select('core/edit-post').hasMetaBoxes(), - isEditorSidebarOpened: select('core/edit-post').isEditorSidebarOpened(), - isPublishSidebarOpened: select('core/edit-post').isPublishSidebarOpened(), - isSaving: select('core/edit-post').isSavingMetaBoxes() - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, _ref2) { - var select = _ref2.select; - - var _select = select('core/block-editor'), - getBlockSelectionStart = _select.getBlockSelectionStart; - - var _dispatch = dispatch('core/edit-post'), - _openGeneralSidebar = _dispatch.openGeneralSidebar, - closeGeneralSidebar = _dispatch.closeGeneralSidebar; - - return { - openGeneralSidebar: function openGeneralSidebar() { - return _openGeneralSidebar(getBlockSelectionStart() ? 'edit-post/block' : 'edit-post/document'); - }, - closeGeneralSidebar: closeGeneralSidebar - }; -}))(Header)); - // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/text-editor/index.js @@ -2953,6 +2221,23 @@ function TextEditor(_ref) { }; }))(TextEditor)); +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/keyboard-shortcuts.js +/** + * WordPress dependencies + */ + +/* harmony default export */ var keyboard_shortcuts = ({ + toggleEditorMode: { + raw: external_this_wp_keycodes_["rawShortcut"].secondary('m'), + display: external_this_wp_keycodes_["displayShortcut"].secondary('m') + }, + toggleSidebar: { + raw: external_this_wp_keycodes_["rawShortcut"].primaryShift(','), + display: external_this_wp_keycodes_["displayShortcut"].primaryShift(','), + ariaLabel: external_this_wp_keycodes_["shortcutAriaLabel"].primaryShift(',') + } +}); + // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/visual-editor/block-inspector-button.js @@ -3094,7 +2379,7 @@ function VisualEditor() { /* harmony default export */ var visual_editor = (VisualEditor); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js -var assertThisInitialized = __webpack_require__(5); +var assertThisInitialized = __webpack_require__(6); // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/keyboard-shortcuts/index.js @@ -3938,102 +3223,6 @@ enable_plugin_document_setting_panel_EnablePluginDocumentSettingPanelOption.Slot // See the edit-post's header component for the specific logic. Object(external_this_wp_viewport_["ifViewportMatches"])('medium'))(base)); -// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/options-modal/options/deferred.js - - - - - - - -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - - -var deferred_DeferredOption = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(DeferredOption, _Component); - - function DeferredOption(_ref) { - var _this; - - var isChecked = _ref.isChecked; - - Object(classCallCheck["a" /* default */])(this, DeferredOption); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(DeferredOption).apply(this, arguments)); - _this.state = { - isChecked: isChecked - }; - return _this; - } - - Object(createClass["a" /* default */])(DeferredOption, [{ - key: "componentWillUnmount", - value: function componentWillUnmount() { - if (this.state.isChecked !== this.props.isChecked) { - this.props.onChange(this.state.isChecked); - } - } - }, { - key: "render", - value: function render() { - var _this2 = this; - - return Object(external_this_wp_element_["createElement"])(base, { - label: this.props.label, - isChecked: this.state.isChecked, - onChange: function onChange(isChecked) { - return _this2.setState({ - isChecked: isChecked - }); - } - }); - } - }]); - - return DeferredOption; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var deferred = (deferred_DeferredOption); - -// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/options-modal/options/enable-tips.js -/** - * WordPress dependencies - */ - - -/** - * Internal dependencies - */ - - -/* harmony default export */ var enable_tips = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select) { - return { - isChecked: select('core/nux').areTipsEnabled() - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch) { - var _dispatch = dispatch('core/nux'), - enableTips = _dispatch.enableTips, - disableTips = _dispatch.disableTips; - - return { - onChange: function onChange(isEnabled) { - return isEnabled ? enableTips() : disableTips(); - } - }; -}))( // Using DeferredOption here means enableTips() is called when the Options -// modal is dismissed. This stops the NUX guide from appearing above the -// Options modal, which looks totally weird. -deferred)); - // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/options-modal/options/enable-feature.js /** * WordPress dependencies @@ -4070,7 +3259,6 @@ deferred)); - // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/options-modal/meta-boxes-section.js @@ -4174,8 +3362,6 @@ function OptionsModal(_ref) { title: Object(external_this_wp_i18n_["__"])('General') }, Object(external_this_wp_element_["createElement"])(enable_publish_sidebar, { label: Object(external_this_wp_i18n_["__"])('Pre-publish Checks') - }), Object(external_this_wp_element_["createElement"])(enable_tips, { - label: Object(external_this_wp_i18n_["__"])('Tips') }), Object(external_this_wp_element_["createElement"])(enable_feature, { feature: "showInserterHelpPanel", label: Object(external_this_wp_i18n_["__"])('Inserter Help Panel') @@ -4229,13 +3415,7 @@ function OptionsModal(_ref) { }; }))(OptionsModal)); -// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/meta-boxes-area/index.js - - - - - - +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/editor-regions/index.js /** @@ -4249,94 +3429,54 @@ function OptionsModal(_ref) { +function EditorRegions(_ref) { + var footer = _ref.footer, + header = _ref.header, + sidebar = _ref.sidebar, + content = _ref.content, + publish = _ref.publish, + className = _ref.className; + return Object(external_this_wp_element_["createElement"])("div", { + className: classnames_default()(className, 'edit-post-editor-regions') + }, !!header && Object(external_this_wp_element_["createElement"])("div", { + className: "edit-post-editor-regions__header", + role: "region" + /* translators: accessibility text for the top bar landmark region. */ + , + "aria-label": Object(external_this_wp_i18n_["__"])('Editor top bar'), + tabIndex: "-1" + }, header), Object(external_this_wp_element_["createElement"])("div", { + className: "edit-post-editor-regions__body" + }, Object(external_this_wp_element_["createElement"])("div", { + className: "edit-post-editor-regions__content", + role: "region" + /* translators: accessibility text for the content landmark region. */ + , + "aria-label": Object(external_this_wp_i18n_["__"])('Editor content'), + tabIndex: "-1" + }, content), !!publish && Object(external_this_wp_element_["createElement"])("div", { + className: "edit-post-editor-regions__publish", + role: "region" + /* translators: accessibility text for the publish landmark region. */ + , + "aria-label": Object(external_this_wp_i18n_["__"])('Editor publish'), + tabIndex: "-1" + }, publish), !!sidebar && Object(external_this_wp_element_["createElement"])("div", { + className: "edit-post-editor-regions__sidebar", + role: "region", + "aria-label": 'Editor settings', + tabIndex: "-1" + }, sidebar)), !!footer && Object(external_this_wp_element_["createElement"])("div", { + className: "edit-post-editor-regions__footer", + role: "region", + "aria-label": 'Editor footer', + tabIndex: "-1" + }, footer)); +} -var meta_boxes_area_MetaBoxesArea = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(MetaBoxesArea, _Component); +/* harmony default export */ var editor_regions = (Object(external_this_wp_components_["navigateRegions"])(EditorRegions)); - /** - * @inheritdoc - */ - function MetaBoxesArea() { - var _this; - - Object(classCallCheck["a" /* default */])(this, MetaBoxesArea); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(MetaBoxesArea).apply(this, arguments)); - _this.bindContainerNode = _this.bindContainerNode.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; - } - /** - * @inheritdoc - */ - - - Object(createClass["a" /* default */])(MetaBoxesArea, [{ - key: "componentDidMount", - value: function componentDidMount() { - this.form = document.querySelector('.metabox-location-' + this.props.location); - - if (this.form) { - this.container.appendChild(this.form); - } - } - /** - * Get the meta box location form from the original location. - */ - - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - if (this.form) { - document.querySelector('#metaboxes').appendChild(this.form); - } - } - /** - * Binds the metabox area container node. - * - * @param {Element} node DOM Node. - */ - - }, { - key: "bindContainerNode", - value: function bindContainerNode(node) { - this.container = node; - } - /** - * @inheritdoc - */ - - }, { - key: "render", - value: function render() { - var _this$props = this.props, - location = _this$props.location, - isSaving = _this$props.isSaving; - var classes = classnames_default()('edit-post-meta-boxes-area', "is-".concat(location), { - 'is-loading': isSaving - }); - return Object(external_this_wp_element_["createElement"])("div", { - className: classes - }, isSaving && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null), Object(external_this_wp_element_["createElement"])("div", { - className: "edit-post-meta-boxes-area__container", - ref: this.bindContainerNode - }), Object(external_this_wp_element_["createElement"])("div", { - className: "edit-post-meta-boxes-area__clear" - })); - } - }]); - - return MetaBoxesArea; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var meta_boxes_area = (Object(external_this_wp_data_["withSelect"])(function (select) { - return { - isSaving: select('core/edit-post').isSavingMetaBoxes() - }; -})(meta_boxes_area_MetaBoxesArea)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/meta-box-visibility.js +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/fullscreen-mode/index.js @@ -4348,46 +3488,54 @@ function (_Component) { */ - -var meta_box_visibility_MetaBoxVisibility = +var fullscreen_mode_FullscreenMode = /*#__PURE__*/ function (_Component) { - Object(inherits["a" /* default */])(MetaBoxVisibility, _Component); + Object(inherits["a" /* default */])(FullscreenMode, _Component); - function MetaBoxVisibility() { - Object(classCallCheck["a" /* default */])(this, MetaBoxVisibility); + function FullscreenMode() { + Object(classCallCheck["a" /* default */])(this, FullscreenMode); - return Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(MetaBoxVisibility).apply(this, arguments)); + return Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(FullscreenMode).apply(this, arguments)); } - Object(createClass["a" /* default */])(MetaBoxVisibility, [{ + Object(createClass["a" /* default */])(FullscreenMode, [{ key: "componentDidMount", value: function componentDidMount() { - this.updateDOM(); + this.isSticky = false; + this.sync(); // `is-fullscreen-mode` is set in PHP as a body class by Gutenberg, and this causes + // `sticky-menu` to be applied by WordPress and prevents the admin menu being scrolled + // even if `is-fullscreen-mode` is then removed. Let's remove `sticky-menu` here as + // a consequence of the FullscreenMode setup + + if (document.body.classList.contains('sticky-menu')) { + this.isSticky = true; + document.body.classList.remove('sticky-menu'); + } + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + if (this.isSticky) { + document.body.classList.add('sticky-menu'); + } } }, { key: "componentDidUpdate", value: function componentDidUpdate(prevProps) { - if (this.props.isVisible !== prevProps.isVisible) { - this.updateDOM(); + if (this.props.isActive !== prevProps.isActive) { + this.sync(); } } }, { - key: "updateDOM", - value: function updateDOM() { - var _this$props = this.props, - id = _this$props.id, - isVisible = _this$props.isVisible; - var element = document.getElementById(id); + key: "sync", + value: function sync() { + var isActive = this.props.isActive; - if (!element) { - return; - } - - if (isVisible) { - element.classList.remove('is-hidden'); + if (isActive) { + document.body.classList.add('is-fullscreen-mode'); } else { - element.classList.add('is-hidden'); + document.body.classList.remove('is-fullscreen-mode'); } } }, { @@ -4397,17 +3545,156 @@ function (_Component) { } }]); - return MetaBoxVisibility; + return FullscreenMode; }(external_this_wp_element_["Component"]); - -/* harmony default export */ var meta_box_visibility = (Object(external_this_wp_data_["withSelect"])(function (select, _ref) { - var id = _ref.id; +/* harmony default export */ var fullscreen_mode = (Object(external_this_wp_data_["withSelect"])(function (select) { return { - isVisible: select('core/edit-post').isEditorPanelEnabled("meta-box-".concat(id)) + isActive: select('core/edit-post').isFeatureActive('fullscreenMode') }; -})(meta_box_visibility_MetaBoxVisibility)); +})(fullscreen_mode_FullscreenMode)); -// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/index.js +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/browser-url/index.js + + + + + + +/** + * WordPress dependencies + */ + + + +/** + * Returns the Post's Edit URL. + * + * @param {number} postId Post ID. + * + * @return {string} Post edit URL. + */ + +function getPostEditURL(postId) { + return Object(external_this_wp_url_["addQueryArgs"])('post.php', { + post: postId, + action: 'edit' + }); +} +/** + * Returns the Post's Trashed URL. + * + * @param {number} postId Post ID. + * @param {string} postType Post Type. + * + * @return {string} Post trashed URL. + */ + +function getPostTrashedURL(postId, postType) { + return Object(external_this_wp_url_["addQueryArgs"])('edit.php', { + trashed: 1, + post_type: postType, + ids: postId + }); +} +var browser_url_BrowserURL = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(BrowserURL, _Component); + + function BrowserURL() { + var _this; + + Object(classCallCheck["a" /* default */])(this, BrowserURL); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(BrowserURL).apply(this, arguments)); + _this.state = { + historyId: null + }; + return _this; + } + + Object(createClass["a" /* default */])(BrowserURL, [{ + key: "componentDidUpdate", + value: function componentDidUpdate(prevProps) { + var _this$props = this.props, + postId = _this$props.postId, + postStatus = _this$props.postStatus, + postType = _this$props.postType, + isSavingPost = _this$props.isSavingPost; + var historyId = this.state.historyId; // Posts are still dirty while saving so wait for saving to finish + // to avoid the unsaved changes warning when trashing posts. + + if (postStatus === 'trash' && !isSavingPost) { + this.setTrashURL(postId, postType); + return; + } + + if ((postId !== prevProps.postId || postId !== historyId) && postStatus !== 'auto-draft') { + this.setBrowserURL(postId); + } + } + /** + * Navigates the browser to the post trashed URL to show a notice about the trashed post. + * + * @param {number} postId Post ID. + * @param {string} postType Post Type. + */ + + }, { + key: "setTrashURL", + value: function setTrashURL(postId, postType) { + window.location.href = getPostTrashedURL(postId, postType); + } + /** + * Replaces the browser URL with a post editor link for the given post ID. + * + * Note it is important that, since this function may be called when the + * editor first loads, the result generated `getPostEditURL` matches that + * produced by the server. Otherwise, the URL will change unexpectedly. + * + * @param {number} postId Post ID for which to generate post editor URL. + */ + + }, { + key: "setBrowserURL", + value: function setBrowserURL(postId) { + window.history.replaceState({ + id: postId + }, 'Post ' + postId, getPostEditURL(postId)); + this.setState(function () { + return { + historyId: postId + }; + }); + } + }, { + key: "render", + value: function render() { + return null; + } + }]); + + return BrowserURL; +}(external_this_wp_element_["Component"]); +/* harmony default export */ var browser_url = (Object(external_this_wp_data_["withSelect"])(function (select) { + var _select = select('core/editor'), + getCurrentPost = _select.getCurrentPost, + isSavingPost = _select.isSavingPost; + + var _getCurrentPost = getCurrentPost(), + id = _getCurrentPost.id, + status = _getCurrentPost.status, + type = _getCurrentPost.type; + + return { + postId: id, + postStatus: status, + postType: type, + isSavingPost: isSavingPost() + }; +})(browser_url_BrowserURL)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/fullscreen-mode-close/index.js /** @@ -4419,6 +3706,330 @@ function (_Component) { */ + + + + +function FullscreenModeClose(_ref) { + var isActive = _ref.isActive, + postType = _ref.postType; + + if (!isActive || !postType) { + return null; + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], { + className: "edit-post-fullscreen-mode-close__toolbar" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + icon: "arrow-left-alt2", + href: Object(external_this_wp_url_["addQueryArgs"])('edit.php', { + post_type: postType.slug + }), + label: Object(external_this_lodash_["get"])(postType, ['labels', 'view_items'], Object(external_this_wp_i18n_["__"])('Back')) + })); +} + +/* harmony default export */ var fullscreen_mode_close = (Object(external_this_wp_data_["withSelect"])(function (select) { + var _select = select('core/editor'), + getCurrentPostType = _select.getCurrentPostType; + + var _select2 = select('core/edit-post'), + isFeatureActive = _select2.isFeatureActive; + + var _select3 = select('core'), + getPostType = _select3.getPostType; + + return { + isActive: isFeatureActive('fullscreenMode'), + postType: getPostType(getCurrentPostType()) + }; +})(FullscreenModeClose)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/header-toolbar/index.js + + +/** + * WordPress dependencies + */ + + + + + + +function HeaderToolbar() { + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + return { + hasFixedToolbar: select('core/edit-post').isFeatureActive('fixedToolbar'), + // This setting (richEditingEnabled) should not live in the block editor's setting. + showInserter: select('core/edit-post').getEditorMode() === 'visual' && select('core/editor').getEditorSettings().richEditingEnabled, + isTextModeEnabled: select('core/edit-post').getEditorMode() === 'text' + }; + }), + hasFixedToolbar = _useSelect.hasFixedToolbar, + showInserter = _useSelect.showInserter, + isTextModeEnabled = _useSelect.isTextModeEnabled; + + var isLargeViewport = Object(external_this_wp_compose_["useViewportMatch"])('medium'); + var toolbarAriaLabel = hasFixedToolbar ? + /* translators: accessibility text for the editor toolbar when Top Toolbar is on */ + Object(external_this_wp_i18n_["__"])('Document and block tools') : + /* translators: accessibility text for the editor toolbar when Top Toolbar is off */ + Object(external_this_wp_i18n_["__"])('Document tools'); + return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["NavigableToolbar"], { + className: "edit-post-header-toolbar", + "aria-label": toolbarAriaLabel + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["Inserter"], { + disabled: !showInserter, + position: "bottom right", + showInserterHelpPanel: true + }), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["EditorHistoryUndo"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["EditorHistoryRedo"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["TableOfContents"], { + hasOutlineItemsDisabled: isTextModeEnabled + }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockNavigationDropdown"], { + isDisabled: isTextModeEnabled + }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ToolSelector"], null), (hasFixedToolbar || !isLargeViewport) && Object(external_this_wp_element_["createElement"])("div", { + className: "edit-post-header-toolbar__block-toolbar" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockToolbar"], null))); +} + +/* harmony default export */ var header_toolbar = (HeaderToolbar); + +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/mode-switcher/index.js + + + +/** + * WordPress dependencies + */ + + + + +/** + * Internal dependencies + */ + + +/** + * Set of available mode options. + * + * @type {Array} + */ + +var MODES = [{ + value: 'visual', + label: Object(external_this_wp_i18n_["__"])('Visual Editor') +}, { + value: 'text', + label: Object(external_this_wp_i18n_["__"])('Code Editor') +}]; + +function ModeSwitcher(_ref) { + var onSwitch = _ref.onSwitch, + mode = _ref.mode; + var choices = MODES.map(function (choice) { + if (choice.value !== mode) { + return Object(objectSpread["a" /* default */])({}, choice, { + shortcut: keyboard_shortcuts.toggleEditorMode.display + }); + } + + return choice; + }); + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], { + label: Object(external_this_wp_i18n_["__"])('Editor') + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItemsChoice"], { + choices: choices, + value: mode, + onSelect: onSwitch + })); +} + +/* harmony default export */ var mode_switcher = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select) { + return { + isRichEditingEnabled: select('core/editor').getEditorSettings().richEditingEnabled, + isCodeEditingEnabled: select('core/editor').getEditorSettings().codeEditingEnabled, + mode: select('core/edit-post').getEditorMode() + }; +}), Object(external_this_wp_compose_["ifCondition"])(function (_ref2) { + var isRichEditingEnabled = _ref2.isRichEditingEnabled, + isCodeEditingEnabled = _ref2.isCodeEditingEnabled; + return isRichEditingEnabled && isCodeEditingEnabled; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch) { + return { + onSwitch: function onSwitch(mode) { + dispatch('core/edit-post').switchEditorMode(mode); + } + }; +})])(ModeSwitcher)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/plugins-more-menu-group/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + +var plugins_more_menu_group_createSlotFill = Object(external_this_wp_components_["createSlotFill"])('PluginsMoreMenuGroup'), + PluginsMoreMenuGroup = plugins_more_menu_group_createSlotFill.Fill, + plugins_more_menu_group_Slot = plugins_more_menu_group_createSlotFill.Slot; + +PluginsMoreMenuGroup.Slot = function (_ref) { + var fillProps = _ref.fillProps; + return Object(external_this_wp_element_["createElement"])(plugins_more_menu_group_Slot, { + fillProps: fillProps + }, function (fills) { + return !Object(external_this_lodash_["isEmpty"])(fills) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], { + label: Object(external_this_wp_i18n_["__"])('Plugins') + }, fills); + }); +}; + +/* harmony default export */ var plugins_more_menu_group = (PluginsMoreMenuGroup); + +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/options-menu-item/index.js + + +/** + * WordPress dependencies + */ + + + +function OptionsMenuItem(_ref) { + var openModal = _ref.openModal; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { + onClick: function onClick() { + openModal('edit-post/options'); + } + }, Object(external_this_wp_i18n_["__"])('Options')); +} +/* harmony default export */ var options_menu_item = (Object(external_this_wp_data_["withDispatch"])(function (dispatch) { + var _dispatch = dispatch('core/edit-post'), + openModal = _dispatch.openModal; + + return { + openModal: openModal + }; +})(OptionsMenuItem)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/feature-toggle/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + + +function FeatureToggle(_ref) { + var onToggle = _ref.onToggle, + isActive = _ref.isActive, + label = _ref.label, + info = _ref.info, + messageActivated = _ref.messageActivated, + messageDeactivated = _ref.messageDeactivated, + speak = _ref.speak; + + var speakMessage = function speakMessage() { + if (isActive) { + speak(messageDeactivated || Object(external_this_wp_i18n_["__"])('Feature deactivated')); + } else { + speak(messageActivated || Object(external_this_wp_i18n_["__"])('Feature activated')); + } + }; + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { + icon: isActive && 'yes', + isSelected: isActive, + onClick: Object(external_this_lodash_["flow"])(onToggle, speakMessage), + role: "menuitemcheckbox", + info: info + }, label); +} + +/* harmony default export */ var feature_toggle = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { + var feature = _ref2.feature; + return { + isActive: select('core/edit-post').isFeatureActive(feature) + }; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps) { + return { + onToggle: function onToggle() { + dispatch('core/edit-post').toggleFeature(ownProps.feature); + } + }; +}), external_this_wp_components_["withSpokenMessages"]])(FeatureToggle)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/writing-menu/index.js + + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + + +function WritingMenu() { + var isLargeViewport = Object(external_this_wp_compose_["useViewportMatch"])('medium'); + + if (!isLargeViewport) { + return null; + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], { + label: Object(external_this_wp_i18n_["_x"])('View', 'noun') + }, Object(external_this_wp_element_["createElement"])(feature_toggle, { + feature: "fixedToolbar", + label: Object(external_this_wp_i18n_["__"])('Top Toolbar'), + info: Object(external_this_wp_i18n_["__"])('Access all block and document tools in a single place'), + messageActivated: Object(external_this_wp_i18n_["__"])('Top toolbar activated'), + messageDeactivated: Object(external_this_wp_i18n_["__"])('Top toolbar deactivated') + }), Object(external_this_wp_element_["createElement"])(feature_toggle, { + feature: "focusMode", + label: Object(external_this_wp_i18n_["__"])('Spotlight Mode'), + info: Object(external_this_wp_i18n_["__"])('Focus on one block at a time'), + messageActivated: Object(external_this_wp_i18n_["__"])('Spotlight mode activated'), + messageDeactivated: Object(external_this_wp_i18n_["__"])('Spotlight mode deactivated') + }), Object(external_this_wp_element_["createElement"])(feature_toggle, { + feature: "fullscreenMode", + label: Object(external_this_wp_i18n_["__"])('Fullscreen Mode'), + info: Object(external_this_wp_i18n_["__"])('Work without distraction'), + messageActivated: Object(external_this_wp_i18n_["__"])('Fullscreen mode activated'), + messageDeactivated: Object(external_this_wp_i18n_["__"])('Fullscreen mode deactivated') + })); +} + +/* harmony default export */ var writing_menu = (WritingMenu); + +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/more-menu/index.js + + +/** + * WordPress dependencies + */ + + /** * Internal dependencies */ @@ -4426,33 +4037,239 @@ function (_Component) { -function MetaBoxes(_ref) { - var location = _ref.location, - isVisible = _ref.isVisible, - metaBoxes = _ref.metaBoxes; - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_lodash_["map"])(metaBoxes, function (_ref2) { - var id = _ref2.id; - return Object(external_this_wp_element_["createElement"])(meta_box_visibility, { - key: id, - id: id - }); - }), isVisible && Object(external_this_wp_element_["createElement"])(meta_boxes_area, { - location: location - })); + + +var POPOVER_PROPS = { + className: 'edit-post-more-menu__content', + position: 'bottom left' +}; +var TOGGLE_PROPS = { + labelPosition: 'bottom' +}; + +var more_menu_MoreMenu = function MoreMenu() { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropdownMenu"], { + className: "edit-post-more-menu", + icon: "ellipsis", + label: Object(external_this_wp_i18n_["__"])('More tools & options'), + popoverProps: POPOVER_PROPS, + toggleProps: TOGGLE_PROPS + }, function (_ref) { + var onClose = _ref.onClose; + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(writing_menu, null), Object(external_this_wp_element_["createElement"])(mode_switcher, null), Object(external_this_wp_element_["createElement"])(plugins_more_menu_group.Slot, { + fillProps: { + onClose: onClose + } + }), Object(external_this_wp_element_["createElement"])(tools_more_menu_group.Slot, { + fillProps: { + onClose: onClose + } + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], null, Object(external_this_wp_element_["createElement"])(options_menu_item, null))); + }); +}; + +/* harmony default export */ var more_menu = (more_menu_MoreMenu); + +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/pinned-plugins/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +var pinned_plugins_createSlotFill = Object(external_this_wp_components_["createSlotFill"])('PinnedPlugins'), + PinnedPlugins = pinned_plugins_createSlotFill.Fill, + pinned_plugins_Slot = pinned_plugins_createSlotFill.Slot; + +PinnedPlugins.Slot = function (props) { + return Object(external_this_wp_element_["createElement"])(pinned_plugins_Slot, props, function (fills) { + return !Object(external_this_lodash_["isEmpty"])(fills) && Object(external_this_wp_element_["createElement"])("div", { + className: "edit-post-pinned-plugins" + }, fills); + }); +}; + +/* harmony default export */ var pinned_plugins = (PinnedPlugins); + +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/post-publish-button-or-toggle.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + +function PostPublishButtonOrToggle(_ref) { + var forceIsDirty = _ref.forceIsDirty, + forceIsSaving = _ref.forceIsSaving, + hasPublishAction = _ref.hasPublishAction, + isBeingScheduled = _ref.isBeingScheduled, + isPending = _ref.isPending, + isPublished = _ref.isPublished, + isPublishSidebarEnabled = _ref.isPublishSidebarEnabled, + isPublishSidebarOpened = _ref.isPublishSidebarOpened, + isScheduled = _ref.isScheduled, + togglePublishSidebar = _ref.togglePublishSidebar; + var IS_TOGGLE = 'toggle'; + var IS_BUTTON = 'button'; + var isSmallerThanMediumViewport = Object(external_this_wp_compose_["useViewportMatch"])('medium', '<'); + var component; + /** + * Conditions to show a BUTTON (publish directly) or a TOGGLE (open publish sidebar): + * + * 1) We want to show a BUTTON when the post status is at the _final stage_ + * for a particular role (see https://wordpress.org/support/article/post-status/): + * + * - is published + * - is scheduled to be published + * - is pending and can't be published (but only for viewports >= medium). + * Originally, we considered showing a button for pending posts that couldn't be published + * (for example, for an author with the contributor role). Some languages can have + * long translations for "Submit for review", so given the lack of UI real estate available + * we decided to take into account the viewport in that case. + * See: https://github.com/WordPress/gutenberg/issues/10475 + * + * 2) Then, in small viewports, we'll show a TOGGLE. + * + * 3) Finally, we'll use the publish sidebar status to decide: + * + * - if it is enabled, we show a TOGGLE + * - if it is disabled, we show a BUTTON + */ + + if (isPublished || isScheduled && isBeingScheduled || isPending && !hasPublishAction && !isSmallerThanMediumViewport) { + component = IS_BUTTON; + } else if (isSmallerThanMediumViewport) { + component = IS_TOGGLE; + } else if (isPublishSidebarEnabled) { + component = IS_TOGGLE; + } else { + component = IS_BUTTON; + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostPublishButton"], { + forceIsDirty: forceIsDirty, + forceIsSaving: forceIsSaving, + isOpen: isPublishSidebarOpened, + isToggle: component === IS_TOGGLE, + onToggle: togglePublishSidebar + }); } - -/* harmony default export */ var meta_boxes = (Object(external_this_wp_data_["withSelect"])(function (select, _ref3) { - var location = _ref3.location; - - var _select = select('core/edit-post'), - isMetaBoxLocationVisible = _select.isMetaBoxLocationVisible, - getMetaBoxesPerLocation = _select.getMetaBoxesPerLocation; +/* harmony default export */ var post_publish_button_or_toggle = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select) { + return { + hasPublishAction: Object(external_this_lodash_["get"])(select('core/editor').getCurrentPost(), ['_links', 'wp:action-publish'], false), + isBeingScheduled: select('core/editor').isEditedPostBeingScheduled(), + isPending: select('core/editor').isCurrentPostPending(), + isPublished: select('core/editor').isCurrentPostPublished(), + isPublishSidebarEnabled: select('core/editor').isPublishSidebarEnabled(), + isPublishSidebarOpened: select('core/edit-post').isPublishSidebarOpened(), + isScheduled: select('core/editor').isCurrentPostScheduled() + }; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch) { + var _dispatch = dispatch('core/edit-post'), + togglePublishSidebar = _dispatch.togglePublishSidebar; return { - metaBoxes: getMetaBoxesPerLocation(location), - isVisible: isMetaBoxLocationVisible(location) + togglePublishSidebar: togglePublishSidebar }; -})(MetaBoxes)); +}))(PostPublishButtonOrToggle)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/index.js + + +/** + * WordPress dependencies + */ + + + + + +/** + * Internal dependencies + */ + + + + + + + + +function Header(_ref) { + var closeGeneralSidebar = _ref.closeGeneralSidebar, + hasActiveMetaboxes = _ref.hasActiveMetaboxes, + isEditorSidebarOpened = _ref.isEditorSidebarOpened, + isPublishSidebarOpened = _ref.isPublishSidebarOpened, + isSaving = _ref.isSaving, + openGeneralSidebar = _ref.openGeneralSidebar; + var toggleGeneralSidebar = isEditorSidebarOpened ? closeGeneralSidebar : openGeneralSidebar; + return Object(external_this_wp_element_["createElement"])("div", { + className: "edit-post-header" + }, Object(external_this_wp_element_["createElement"])("div", { + className: "edit-post-header__toolbar" + }, Object(external_this_wp_element_["createElement"])(fullscreen_mode_close, null), Object(external_this_wp_element_["createElement"])(header_toolbar, null)), Object(external_this_wp_element_["createElement"])("div", { + className: "edit-post-header__settings" + }, !isPublishSidebarOpened && // This button isn't completely hidden by the publish sidebar. + // We can't hide the whole toolbar when the publish sidebar is open because + // we want to prevent mounting/unmounting the PostPublishButtonOrToggle DOM node. + // We track that DOM node to return focus to the PostPublishButtonOrToggle + // when the publish sidebar has been closed. + Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostSavedState"], { + forceIsDirty: hasActiveMetaboxes, + forceIsSaving: isSaving + }), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostPreviewButton"], { + forceIsAutosaveable: hasActiveMetaboxes, + forcePreviewLink: isSaving ? null : undefined + }), Object(external_this_wp_element_["createElement"])(post_publish_button_or_toggle, { + forceIsDirty: hasActiveMetaboxes, + forceIsSaving: isSaving + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + icon: "admin-generic", + label: Object(external_this_wp_i18n_["__"])('Settings'), + onClick: toggleGeneralSidebar, + isToggled: isEditorSidebarOpened, + "aria-expanded": isEditorSidebarOpened, + shortcut: keyboard_shortcuts.toggleSidebar + }), Object(external_this_wp_element_["createElement"])(pinned_plugins.Slot, null), Object(external_this_wp_element_["createElement"])(more_menu, null))); +} + +/* harmony default export */ var components_header = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select) { + return { + hasActiveMetaboxes: select('core/edit-post').hasMetaBoxes(), + isEditorSidebarOpened: select('core/edit-post').isEditorSidebarOpened(), + isPublishSidebarOpened: select('core/edit-post').isPublishSidebarOpened(), + isSaving: select('core/edit-post').isSavingMetaBoxes() + }; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, _ref2) { + var select = _ref2.select; + + var _select = select('core/block-editor'), + getBlockSelectionStart = _select.getBlockSelectionStart; + + var _dispatch = dispatch('core/edit-post'), + _openGeneralSidebar = _dispatch.openGeneralSidebar, + closeGeneralSidebar = _dispatch.closeGeneralSidebar; + + return { + openGeneralSidebar: function openGeneralSidebar() { + return _openGeneralSidebar(getBlockSelectionStart() ? 'edit-post/block' : 'edit-post/document'); + }, + closeGeneralSidebar: closeGeneralSidebar + }; +}))(Header)); // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/index.js @@ -4481,13 +4298,9 @@ var sidebar_createSlotFill = Object(external_this_wp_components_["createSlotFill function Sidebar(_ref) { var children = _ref.children, - label = _ref.label, className = _ref.className; return Object(external_this_wp_element_["createElement"])("div", { - className: classnames_default()('edit-post-sidebar', className), - role: "region", - "aria-label": label, - tabIndex: "-1" + className: classnames_default()('edit-post-sidebar', className) }, children); } @@ -4523,7 +4336,7 @@ var WrappedSidebar = Object(external_this_wp_compose_["compose"])(Object(externa return isActive; }))(AnimatedSidebarFill); WrappedSidebar.Slot = sidebar_Slot; -/* harmony default export */ var sidebar = (WrappedSidebar); +/* harmony default export */ var components_sidebar = (WrappedSidebar); // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/sidebar-header/index.js @@ -4589,6 +4402,7 @@ var sidebar_header_SidebarHeader = function SidebarHeader(_ref) { */ + /** * Internal dependencies */ @@ -4619,12 +4433,12 @@ var settings_header_SettingsHeader = function SettingsHeader(_ref) { return Object(external_this_wp_element_["createElement"])(sidebar_header, { className: "edit-post-sidebar__panel-tabs", closeLabel: Object(external_this_wp_i18n_["__"])('Close settings') - }, Object(external_this_wp_element_["createElement"])("ul", null, Object(external_this_wp_element_["createElement"])("li", null, Object(external_this_wp_element_["createElement"])("button", { + }, Object(external_this_wp_element_["createElement"])("ul", null, Object(external_this_wp_element_["createElement"])("li", null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { onClick: openDocumentSettings, className: "edit-post-sidebar__panel-tab ".concat(documentActiveClass), "aria-label": documentAriaLabel, "data-label": Object(external_this_wp_i18n_["__"])('Document') - }, Object(external_this_wp_i18n_["__"])('Document'))), Object(external_this_wp_element_["createElement"])("li", null, Object(external_this_wp_element_["createElement"])("button", { + }, Object(external_this_wp_i18n_["__"])('Document'))), Object(external_this_wp_element_["createElement"])("li", null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { onClick: openBlockSettings, className: "edit-post-sidebar__panel-tab ".concat(blockActiveClass), "aria-label": blockAriaLabel, @@ -4636,13 +4450,9 @@ var settings_header_SettingsHeader = function SettingsHeader(_ref) { var _dispatch = dispatch('core/edit-post'), openGeneralSidebar = _dispatch.openGeneralSidebar; - var _dispatch2 = dispatch('core/block-editor'), - clearSelectedBlock = _dispatch2.clearSelectedBlock; - return { openDocumentSettings: function openDocumentSettings() { openGeneralSidebar('edit-post/document'); - clearSelectedBlock(); }, openBlockSettings: function openBlockSettings() { openGeneralSidebar('edit-post/block'); @@ -4672,7 +4482,6 @@ function PostVisibility() { var isOpen = _ref2.isOpen, onToggle = _ref2.onToggle; return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - type: "button", "aria-expanded": isOpen, className: "edit-post-post-visibility__toggle", onClick: onToggle, @@ -4719,7 +4528,6 @@ function PostSchedule() { var onToggle = _ref.onToggle, isOpen = _ref.isOpen; return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - type: "button", className: "edit-post-post-schedule__toggle", onClick: onToggle, "aria-expanded": isOpen, @@ -4759,6 +4567,19 @@ function PostAuthor() { } /* harmony default export */ var post_author = (PostAuthor); +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-slug/index.js + + +/** + * WordPress dependencies + */ + + +function PostSlug() { + return Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostSlugCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelRow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostSlug"], null))); +} +/* harmony default export */ var post_slug = (PostSlug); + // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-format/index.js @@ -4840,7 +4661,7 @@ var plugin_post_status_info_createSlotFill = Object(external_this_wp_components_ * ); * ``` * - * @return {WPElement} The WPElement to be rendered. + * @return {WPComponent} The component to be rendered. */ @@ -4879,6 +4700,7 @@ plugin_post_status_info_PluginPostStatusInfo.Slot = plugin_post_status_info_Slot + /** * Module Constants */ @@ -4894,7 +4716,7 @@ function PostStatus(_ref) { opened: isOpened, onToggle: onTogglePanel }, Object(external_this_wp_element_["createElement"])(plugin_post_status_info.Slot, null, function (fills) { - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(post_visibility, null), Object(external_this_wp_element_["createElement"])(post_schedule, null), Object(external_this_wp_element_["createElement"])(post_format, null), Object(external_this_wp_element_["createElement"])(post_sticky, null), Object(external_this_wp_element_["createElement"])(post_pending_status, null), Object(external_this_wp_element_["createElement"])(post_author, null), fills, Object(external_this_wp_element_["createElement"])(PostTrash, null)); + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(post_visibility, null), Object(external_this_wp_element_["createElement"])(post_schedule, null), Object(external_this_wp_element_["createElement"])(post_format, null), Object(external_this_wp_element_["createElement"])(post_sticky, null), Object(external_this_wp_element_["createElement"])(post_pending_status, null), Object(external_this_wp_element_["createElement"])(post_slug, null), Object(external_this_wp_element_["createElement"])(post_author, null), fills, Object(external_this_wp_element_["createElement"])(PostTrash, null)); })); } @@ -5415,6 +5237,231 @@ var page_attributes_applyWithDispatch = Object(external_this_wp_data_["withDispa }); /* harmony default export */ var page_attributes = (Object(external_this_wp_compose_["compose"])(page_attributes_applyWithSelect, page_attributes_applyWithDispatch)(PageAttributes)); +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/meta-boxes-area/index.js + + + + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + +var meta_boxes_area_MetaBoxesArea = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(MetaBoxesArea, _Component); + + /** + * @inheritdoc + */ + function MetaBoxesArea() { + var _this; + + Object(classCallCheck["a" /* default */])(this, MetaBoxesArea); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(MetaBoxesArea).apply(this, arguments)); + _this.bindContainerNode = _this.bindContainerNode.bind(Object(assertThisInitialized["a" /* default */])(_this)); + return _this; + } + /** + * @inheritdoc + */ + + + Object(createClass["a" /* default */])(MetaBoxesArea, [{ + key: "componentDidMount", + value: function componentDidMount() { + this.form = document.querySelector('.metabox-location-' + this.props.location); + + if (this.form) { + this.container.appendChild(this.form); + } + } + /** + * Get the meta box location form from the original location. + */ + + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + if (this.form) { + document.querySelector('#metaboxes').appendChild(this.form); + } + } + /** + * Binds the metabox area container node. + * + * @param {Element} node DOM Node. + */ + + }, { + key: "bindContainerNode", + value: function bindContainerNode(node) { + this.container = node; + } + /** + * @inheritdoc + */ + + }, { + key: "render", + value: function render() { + var _this$props = this.props, + location = _this$props.location, + isSaving = _this$props.isSaving; + var classes = classnames_default()('edit-post-meta-boxes-area', "is-".concat(location), { + 'is-loading': isSaving + }); + return Object(external_this_wp_element_["createElement"])("div", { + className: classes + }, isSaving && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null), Object(external_this_wp_element_["createElement"])("div", { + className: "edit-post-meta-boxes-area__container", + ref: this.bindContainerNode + }), Object(external_this_wp_element_["createElement"])("div", { + className: "edit-post-meta-boxes-area__clear" + })); + } + }]); + + return MetaBoxesArea; +}(external_this_wp_element_["Component"]); + +/* harmony default export */ var meta_boxes_area = (Object(external_this_wp_data_["withSelect"])(function (select) { + return { + isSaving: select('core/edit-post').isSavingMetaBoxes() + }; +})(meta_boxes_area_MetaBoxesArea)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/meta-box-visibility.js + + + + + + +/** + * WordPress dependencies + */ + + + +var meta_box_visibility_MetaBoxVisibility = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(MetaBoxVisibility, _Component); + + function MetaBoxVisibility() { + Object(classCallCheck["a" /* default */])(this, MetaBoxVisibility); + + return Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(MetaBoxVisibility).apply(this, arguments)); + } + + Object(createClass["a" /* default */])(MetaBoxVisibility, [{ + key: "componentDidMount", + value: function componentDidMount() { + this.updateDOM(); + } + }, { + key: "componentDidUpdate", + value: function componentDidUpdate(prevProps) { + if (this.props.isVisible !== prevProps.isVisible) { + this.updateDOM(); + } + } + }, { + key: "updateDOM", + value: function updateDOM() { + var _this$props = this.props, + id = _this$props.id, + isVisible = _this$props.isVisible; + var element = document.getElementById(id); + + if (!element) { + return; + } + + if (isVisible) { + element.classList.remove('is-hidden'); + } else { + element.classList.add('is-hidden'); + } + } + }, { + key: "render", + value: function render() { + return null; + } + }]); + + return MetaBoxVisibility; +}(external_this_wp_element_["Component"]); + +/* harmony default export */ var meta_box_visibility = (Object(external_this_wp_data_["withSelect"])(function (select, _ref) { + var id = _ref.id; + return { + isVisible: select('core/edit-post').isEditorPanelEnabled("meta-box-".concat(id)) + }; +})(meta_box_visibility_MetaBoxVisibility)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + + + +function MetaBoxes(_ref) { + var location = _ref.location, + isVisible = _ref.isVisible, + metaBoxes = _ref.metaBoxes; + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_lodash_["map"])(metaBoxes, function (_ref2) { + var id = _ref2.id; + return Object(external_this_wp_element_["createElement"])(meta_box_visibility, { + key: id, + id: id + }); + }), isVisible && Object(external_this_wp_element_["createElement"])(meta_boxes_area, { + location: location + })); +} + +/* harmony default export */ var meta_boxes = (Object(external_this_wp_data_["withSelect"])(function (select, _ref3) { + var location = _ref3.location; + + var _select = select('core/edit-post'), + isMetaBoxLocationVisible = _select.isMetaBoxLocationVisible, + getMetaBoxesPerLocation = _select.getMetaBoxesPerLocation; + + return { + metaBoxes: getMetaBoxesPerLocation(location), + isVisible: isMetaBoxLocationVisible(location) + }; +})(MetaBoxes)); + // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/plugin-document-setting-panel/index.js @@ -5468,7 +5515,7 @@ var plugin_document_setting_panel_PluginDocumentSettingFill = function PluginDoc * @param {string} [props.name] The machine-friendly name for the panel. * @param {string} [props.className] An optional class name added to the row. * @param {string} [props.title] The title of the panel - * @param {string|Element} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered when the sidebar is pinned to toolbar. + * @param {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered when the sidebar is pinned to toolbar. * * @example ES5 * ```js @@ -5509,7 +5556,7 @@ var plugin_document_setting_panel_PluginDocumentSettingFill = function PluginDoc * registerPlugin( 'document-setting-test', { render: MyDocumentSettingTest } ); * ``` * - * @return {WPElement} The WPElement to be rendered. + * @return {WPComponent} The component to be rendered. */ @@ -5545,7 +5592,6 @@ PluginDocumentSettingPanel.Slot = plugin_document_setting_panel_Slot; - /** * Internal dependencies */ @@ -5565,16 +5611,13 @@ PluginDocumentSettingPanel.Slot = plugin_document_setting_panel_Slot; var settings_sidebar_SettingsSidebar = function SettingsSidebar(_ref) { var sidebarName = _ref.sidebarName; - return Object(external_this_wp_element_["createElement"])(sidebar, { - name: sidebarName, - label: Object(external_this_wp_i18n_["__"])('Editor settings') + return Object(external_this_wp_element_["createElement"])(components_sidebar, { + name: sidebarName }, Object(external_this_wp_element_["createElement"])(settings_header, { sidebarName: sidebarName }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Panel"], null, sidebarName === 'edit-post/document' && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(post_status, null), Object(external_this_wp_element_["createElement"])(plugin_document_setting_panel.Slot, null), Object(external_this_wp_element_["createElement"])(last_revision, null), Object(external_this_wp_element_["createElement"])(post_link, null), Object(external_this_wp_element_["createElement"])(post_taxonomies, null), Object(external_this_wp_element_["createElement"])(featured_image, null), Object(external_this_wp_element_["createElement"])(post_excerpt, null), Object(external_this_wp_element_["createElement"])(discussion_panel, null), Object(external_this_wp_element_["createElement"])(page_attributes, null), Object(external_this_wp_element_["createElement"])(meta_boxes, { location: "side" - })), sidebarName === 'edit-post/block' && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { - className: "edit-post-settings-sidebar__panel-block" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockInspector"], null)))); + })), sidebarName === 'edit-post/block' && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockInspector"], null))); }; /* harmony default export */ var settings_sidebar = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select) { @@ -5627,7 +5670,7 @@ var plugin_post_publish_panel_PluginPostPublishPanelFill = function PluginPostPu * @param {string} [props.className] An optional class name added to the panel. * @param {string} [props.title] Title displayed at the top of the panel. * @param {boolean} [props.initialOpen=false] Whether to have the panel initially opened. When no title is provided it is always opened. - * @param {string|Element} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered when the sidebar is pinned to toolbar. + * @param {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered when the sidebar is pinned to toolbar. * * @example ES5 * ```js @@ -5665,7 +5708,7 @@ var plugin_post_publish_panel_PluginPostPublishPanelFill = function PluginPostPu * ); * ``` * - * @return {WPElement} The WPElement to be rendered. + * @return {WPComponent} The component to be rendered. */ @@ -5709,12 +5752,14 @@ var plugin_pre_publish_panel_PluginPrePublishPanelFill = function PluginPrePubli * Renders provided content to the pre-publish side panel in the publish flow * (side panel that opens when a user first pushes "Publish" from the main editor). * - * @param {Object} props Component props. - * @param {string} [props.className] An optional class name added to the panel. - * @param {string} [props.title] Title displayed at the top of the panel. - * @param {boolean} [props.initialOpen=false] Whether to have the panel initially opened. When no title is provided it is always opened. - * @param {string|Element} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered when the sidebar is pinned to toolbar. - + * @param {Object} props Component props. + * @param {string} [props.className] An optional class name added to the panel. + * @param {string} [props.title] Title displayed at the top of the panel. + * @param {boolean} [props.initialOpen=false] Whether to have the panel initially opened. + * When no title is provided it is always opened. + * @param {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) + * icon slug string, or an SVG WP element, to be rendered when + * the sidebar is pinned to toolbar. * * @example ES5 * ```js @@ -5752,7 +5797,7 @@ var plugin_pre_publish_panel_PluginPrePublishPanelFill = function PluginPrePubli * ); * ``` * - * @return {WPElement} The WPElement to be rendered. + * @return {WPComponent} The component to be rendered. */ @@ -5764,10 +5809,7 @@ var PluginPrePublishPanel = Object(external_this_wp_compose_["compose"])(Object( PluginPrePublishPanel.Slot = plugin_pre_publish_panel_Slot; /* harmony default export */ var plugin_pre_publish_panel = (PluginPrePublishPanel); -// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/fullscreen-mode/index.js - - - +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/welcome-guide/images.js @@ -5775,76 +5817,96 @@ PluginPrePublishPanel.Slot = plugin_pre_publish_panel_Slot; * WordPress dependencies */ +var images_CanvasImage = function CanvasImage(props) { + return Object(external_this_wp_element_["createElement"])("img", Object(esm_extends["a" /* default */])({ + alt: "", + src: "data:image/svg+xml,%3Csvg width='306' height='286' viewBox='0 0 306 286' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='306' height='286' rx='4' fill='%2366C6E4'/%3E%3Crect x='36' y='30' width='234' height='256' fill='white'/%3E%3Crect x='36' y='80' width='234' height='94' fill='%23E2E4E7'/%3E%3Cpath d='M140.237 121.47L142.109 125H157.255V133H140.237V121.47ZM159.382 119H155.128L157.255 123H154.064L151.937 119H149.809L151.937 123H148.746L146.618 119H144.491L146.618 123H143.428L141.3 119H140.237C139.067 119 138.12 119.9 138.12 121L138.109 133C138.109 134.1 139.067 135 140.237 135H157.255C158.425 135 159.382 134.1 159.382 133V119Z' fill='%23444444'/%3E%3Crect x='57' y='182' width='91.4727' height='59' fill='%23E2E4E7'/%3E%3Crect x='156.982' y='182' width='91.4727' height='59' fill='%23E2E4E7'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M112.309 203H93.1634C92.0998 203 91.0361 204 91.0361 205V219C91.0361 220.1 91.9934 221 93.1634 221H112.309C113.372 221 114.436 220 114.436 219V205C114.436 204 113.372 203 112.309 203ZM112.309 218.92C112.294 218.941 112.269 218.962 112.248 218.979L112.248 218.979C112.239 218.987 112.23 218.994 112.224 219H93.1634V205.08L93.2485 205H112.213C112.235 205.014 112.258 205.038 112.276 205.057C112.284 205.066 112.292 205.074 112.298 205.08V218.92H112.309ZM99.0134 212.5L101.672 215.51L105.395 211L110.182 217H95.2907L99.0134 212.5Z' fill='%2340464D'/%3E%3Cmask id='mask0' mask-type='alpha' maskUnits='userSpaceOnUse' x='91' y='203' width='24' height='18'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M112.309 203H93.1634C92.0998 203 91.0361 204 91.0361 205V219C91.0361 220.1 91.9934 221 93.1634 221H112.309C113.372 221 114.436 220 114.436 219V205C114.436 204 113.372 203 112.309 203ZM112.309 218.92C112.294 218.941 112.269 218.962 112.248 218.979L112.248 218.979C112.239 218.987 112.23 218.994 112.224 219H93.1634V205.08L93.2485 205H112.213C112.235 205.014 112.258 205.038 112.276 205.057C112.284 205.066 112.292 205.074 112.298 205.08V218.92H112.309ZM99.0134 212.5L101.672 215.51L105.395 211L110.182 217H95.2907L99.0134 212.5Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask0)'%3E%3Crect x='89.9727' y='200' width='25.5273' height='24' fill='%2340464D'/%3E%3C/g%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M212.291 203H193.145C192.082 203 191.018 204 191.018 205V219C191.018 220.1 191.975 221 193.145 221H212.291C213.354 221 214.418 220 214.418 219V205C214.418 204 213.354 203 212.291 203ZM212.291 218.92C212.276 218.941 212.251 218.962 212.23 218.979L212.23 218.979C212.221 218.987 212.212 218.994 212.206 219H193.145V205.08L193.23 205H212.195C212.217 205.014 212.24 205.038 212.258 205.057C212.266 205.066 212.274 205.074 212.28 205.08V218.92H212.291ZM198.995 212.5L201.654 215.51L205.377 211L210.164 217H195.273L198.995 212.5Z' fill='%2340464D'/%3E%3Cmask id='mask1' mask-type='alpha' maskUnits='userSpaceOnUse' x='191' y='203' width='24' height='18'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M212.291 203H193.145C192.082 203 191.018 204 191.018 205V219C191.018 220.1 191.975 221 193.145 221H212.291C213.354 221 214.418 220 214.418 219V205C214.418 204 213.354 203 212.291 203ZM212.291 218.92C212.276 218.941 212.251 218.962 212.23 218.979L212.23 218.979C212.221 218.987 212.212 218.994 212.206 219H193.145V205.08L193.23 205H212.195C212.217 205.014 212.24 205.038 212.258 205.057C212.266 205.066 212.274 205.074 212.28 205.08V218.92H212.291ZM198.995 212.5L201.654 215.51L205.377 211L210.164 217H195.273L198.995 212.5Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask1)'%3E%3Crect x='189.955' y='200' width='25.5273' height='24' fill='%2340464D'/%3E%3C/g%3E%3Crect x='57' y='38' width='191.455' height='34' fill='%23E2E4E7'/%3E%3Cpath d='M155.918 47.8V54.04H149.537V47.8H146.346V63.4H149.537V57.16H155.918V63.4H159.109V47.8' fill='%2340464D'/%3E%3Crect x='58' y='249' width='191' height='37' fill='%23E2E4E7'/%3E%3Cpath d='M160.127 261.4H150.606C149.546 261.4 148.576 261.64 147.696 262.12C146.802 262.612 146.1 263.272 145.59 264.1C145.066 264.928 144.811 265.84 144.811 266.824C144.811 267.808 145.066 268.72 145.59 269.548C146.1 270.376 146.802 271.036 147.696 271.516C148.576 272.008 149.546 272.248 150.606 272.248H151.155V279.4C151.155 279.724 151.282 280.012 151.525 280.252C151.78 280.48 152.086 280.6 152.431 280.6C152.788 280.6 153.082 280.48 153.337 280.252C153.592 280.012 153.72 279.724 153.72 279.4V265C153.72 264.676 153.835 264.388 154.09 264.148C154.345 263.92 154.652 263.8 154.996 263.8C155.341 263.8 155.647 263.92 155.903 264.148C156.145 264.388 156.273 264.676 156.273 265V279.4C156.273 279.724 156.4 280.012 156.656 280.252C156.911 280.48 157.205 280.6 157.562 280.6C157.907 280.6 158.213 280.48 158.468 280.252C158.711 280.012 158.838 279.724 158.838 279.4V263.8H160.127C160.472 263.8 160.766 263.68 161.021 263.44C161.276 263.212 161.404 262.924 161.404 262.6C161.404 262.276 161.276 261.988 161.021 261.748C160.766 261.52 160.472 261.4 160.127 261.4Z' fill='%2340464D'/%3E%3C/svg%3E%0A" + }, props)); +}; +var images_EditorImage = function EditorImage(props) { + return Object(external_this_wp_element_["createElement"])("img", Object(esm_extends["a" /* default */])({ + alt: "", + src: "data:image/svg+xml,%3Csvg width='306' height='286' viewBox='0 0 306 286' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='306' height='286' rx='4' fill='%2366C6E4'/%3E%3Crect x='34.5' y='89.9424' width='237' height='113.423' fill='white' stroke='%238D96A0'/%3E%3Crect x='42.2383' y='98.5962' width='219.692' height='95.6618' fill='%23E2E4E7'/%3E%3Crect x='34.5' y='71.6346' width='27.0718' height='18.1324' fill='white' stroke='%238D96A0'/%3E%3Crect x='152.89' y='71.6346' width='18.5282' height='18.1324' fill='white' stroke='%238D96A0'/%3E%3Crect x='61.3516' y='71.6346' width='51.482' height='18.1324' fill='white' stroke='%238D96A0'/%3E%3Crect x='112.613' y='71.6346' width='40.4974' height='18.1324' fill='white' stroke='%238D96A0'/%3E%3Cpath d='M157.577 137.408H149.383C148.471 137.408 147.636 137.628 146.878 138.068C146.109 138.518 145.505 139.122 145.066 139.88C144.615 140.638 144.396 141.473 144.396 142.373C144.396 143.274 144.615 144.109 145.066 144.867C145.505 145.625 146.109 146.229 146.878 146.668C147.636 147.119 148.471 147.339 149.383 147.339H149.855V153.885C149.855 154.182 149.965 154.446 150.173 154.665C150.393 154.874 150.657 154.984 150.953 154.984C151.261 154.984 151.514 154.874 151.733 154.665C151.953 154.446 152.063 154.182 152.063 153.885V140.704C152.063 140.407 152.162 140.144 152.381 139.924C152.601 139.715 152.865 139.605 153.161 139.605C153.458 139.605 153.721 139.715 153.941 139.924C154.15 140.144 154.26 140.407 154.26 140.704V153.885C154.26 154.182 154.37 154.446 154.589 154.665C154.809 154.874 155.062 154.984 155.369 154.984C155.666 154.984 155.929 154.874 156.149 154.665C156.358 154.446 156.468 154.182 156.468 153.885V139.605H157.577C157.874 139.605 158.126 139.496 158.346 139.276C158.566 139.067 158.676 138.803 158.676 138.507C158.676 138.21 158.566 137.947 158.346 137.727C158.126 137.518 157.874 137.408 157.577 137.408Z' fill='%2340464D'/%3E%3Crect x='41.3232' y='77.1135' width='15.8667' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='66.9536' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='77.9385' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='88.9229' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='99.9077' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='118.215' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='129.2' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='140.185' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='158.492' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3C/svg%3E%0A" + }, props)); +}; +var images_BlockLibraryImage = function BlockLibraryImage(props) { + return Object(external_this_wp_element_["createElement"])("img", Object(esm_extends["a" /* default */])({ + alt: "", + src: "data:image/svg+xml,%3Csvg width='306' height='286' viewBox='0 0 306 286' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='306' height='286' rx='4' fill='%2366C6E4'/%3E%3Cmask id='mask0' mask-type='alpha' maskUnits='userSpaceOnUse' x='141' y='25' width='24' height='24'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152.765 25C146.294 25 141 30.2943 141 36.7651C141 43.2359 146.294 48.5302 152.765 48.5302C159.236 48.5302 164.53 43.2359 164.53 36.7651C164.53 30.2943 159.236 25 152.765 25ZM151.589 32.0591V35.5886H148.059V37.9416H151.589V41.4711H153.942V37.9416H157.471V35.5886H153.942V32.0591H151.589ZM143.353 36.7651C143.353 41.9417 147.588 46.1772 152.765 46.1772C157.942 46.1772 162.177 41.9417 162.177 36.7651C162.177 31.5885 157.942 27.353 152.765 27.353C147.588 27.353 143.353 31.5885 143.353 36.7651Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask0)'%3E%3Crect x='141' y='25' width='23.5253' height='23.5253' fill='white'/%3E%3C/g%3E%3Cg filter='url(%23filter0_d)'%3E%3Crect x='48' y='63' width='210' height='190' fill='white'/%3E%3C/g%3E%3Cmask id='mask1' mask-type='alpha' maskUnits='userSpaceOnUse' x='143' y='139' width='20' height='16'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M143.75 141C143.75 140.17 144.42 139.5 145.25 139.5C146.08 139.5 146.75 140.17 146.75 141C146.75 141.83 146.08 142.5 145.25 142.5C144.42 142.5 143.75 141.83 143.75 141ZM143.75 147C143.75 146.17 144.42 145.5 145.25 145.5C146.08 145.5 146.75 146.17 146.75 147C146.75 147.83 146.08 148.5 145.25 148.5C144.42 148.5 143.75 147.83 143.75 147ZM145.25 151.5C144.42 151.5 143.75 152.18 143.75 153C143.75 153.82 144.43 154.5 145.25 154.5C146.07 154.5 146.75 153.82 146.75 153C146.75 152.18 146.08 151.5 145.25 151.5ZM162.25 154H148.25V152H162.25V154ZM148.25 148H162.25V146H148.25V148ZM148.25 142V140H162.25V142H148.25Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask1)'%3E%3Crect x='141' y='135' width='24' height='24' fill='%23444444'/%3E%3C/g%3E%3Cmask id='mask2' mask-type='alpha' maskUnits='userSpaceOnUse' x='139' y='54' width='28' height='11'%3E%3Crect x='139' y='54' width='28' height='11' fill='%23C4C4C4'/%3E%3C/mask%3E%3Cg mask='url(%23mask2)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M139 67L153 54L167 67H139Z' fill='white'/%3E%3C/g%3E%3Crect x='59' y='74' width='188' height='28' rx='3' stroke='%231486B8' stroke-width='2'/%3E%3Cpath d='M211 207.47L212.76 211H227V219H211V207.47ZM229 205H225L227 209H224L222 205H220L222 209H219L217 205H215L217 209H214L212 205H211C209.9 205 209.01 205.9 209.01 207L209 219C209 220.1 209.9 221 211 221H227C228.1 221 229 220.1 229 219V205Z' fill='%23444444'/%3E%3Cpath d='M94.0001 136.4H85.0481C84.0521 136.4 83.1401 136.64 82.3121 137.12C81.4721 137.612 80.8121 138.272 80.3321 139.1C79.8401 139.928 79.6001 140.84 79.6001 141.824C79.6001 142.808 79.8401 143.72 80.3321 144.548C80.8121 145.376 81.4721 146.036 82.3121 146.516C83.1401 147.008 84.0521 147.248 85.0481 147.248H85.5641V154.4C85.5641 154.724 85.6841 155.012 85.9121 155.252C86.1521 155.48 86.4401 155.6 86.7641 155.6C87.1001 155.6 87.3761 155.48 87.6161 155.252C87.8561 155.012 87.9761 154.724 87.9761 154.4V140C87.9761 139.676 88.0841 139.388 88.3241 139.148C88.5641 138.92 88.8521 138.8 89.1761 138.8C89.5001 138.8 89.7881 138.92 90.0281 139.148C90.2561 139.388 90.3761 139.676 90.3761 140V154.4C90.3761 154.724 90.4961 155.012 90.7361 155.252C90.9761 155.48 91.2521 155.6 91.5881 155.6C91.9121 155.6 92.2001 155.48 92.4401 155.252C92.6681 155.012 92.7881 154.724 92.7881 154.4V138.8H94.0001C94.3241 138.8 94.6001 138.68 94.8401 138.44C95.0801 138.212 95.2001 137.924 95.2001 137.6C95.2001 137.276 95.0801 136.988 94.8401 136.748C94.6001 136.52 94.3241 136.4 94.0001 136.4Z' fill='%23444444'/%3E%3Cmask id='mask3' mask-type='alpha' maskUnits='userSpaceOnUse' x='76' y='204' width='22' height='18'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M96 204H78C77 204 76 205 76 206V220C76 221.1 76.9 222 78 222H96C97 222 98 221 98 220V206C98 205 97 204 96 204ZM96 219.92C95.9861 219.941 95.9624 219.962 95.9426 219.979C95.9339 219.987 95.9261 219.994 95.92 220H78V206.08L78.08 206H95.91C95.9309 206.014 95.9518 206.038 95.9694 206.057C95.977 206.066 95.9839 206.074 95.99 206.08V219.92H96ZM83.5 213.5L86 216.51L89.5 212L94 218H80L83.5 213.5Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask3)'%3E%3Crect x='75' y='201' width='24' height='24' fill='%23444444'/%3E%3C/g%3E%3Cpath d='M161 205V217H149V205H161ZM161 203H149C147.9 203 147 203.9 147 205V217C147 218.1 147.9 219 149 219H161C162.1 219 163 218.1 163 217V205C163 203.9 162.1 203 161 203ZM152.5 212.67L154.19 214.93L156.67 211.83L160 216H150L152.5 212.67ZM143 207V221C143 222.1 143.9 223 145 223H159V221H145V207H143Z' fill='%23444444'/%3E%3Cmask id='mask4' mask-type='alpha' maskUnits='userSpaceOnUse' x='210' y='140' width='18' height='12'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M215.62 152H210.38L212.38 148H210V140H218V147.24L215.62 152ZM220.38 152H225.62L228 147.24V140H220V148H222.38L220.38 152ZM224.38 150H223.62L225.62 146H222V142H226V146.76L224.38 150ZM214.38 150H213.62L215.62 146H212V142H216V146.76L214.38 150Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask4)'%3E%3Crect x='207' y='134' width='24' height='24' fill='%23444444'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d' x='18' y='36' width='270' height='250' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0'/%3E%3CfeOffset dy='3'/%3E%3CfeGaussianBlur stdDeviation='15'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.0980392 0 0 0 0 0.117647 0 0 0 0 0.137255 0 0 0 0.1 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A" + }, props)); +}; +var images_InserterIconImage = function InserterIconImage(props) { + return Object(external_this_wp_element_["createElement"])("img", Object(esm_extends["a" /* default */])({ + alt: Object(external_this_wp_i18n_["__"])('inserter'), + src: "data:image/svg+xml;charset=utf8,%3Csvg width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.824 0C3.97 0 0 3.97 0 8.824c0 4.853 3.97 8.824 8.824 8.824 4.853 0 8.824-3.971 8.824-8.824S13.677 0 8.824 0zM7.94 5.294v2.647H5.294v1.765h2.647v2.647h1.765V9.706h2.647V7.941H9.706V5.294H7.941zm-6.176 3.53c0 3.882 3.176 7.059 7.059 7.059 3.882 0 7.059-3.177 7.059-7.06 0-3.882-3.177-7.058-7.06-7.058-3.882 0-7.058 3.176-7.058 7.059z' fill='%234A4A4A'/%3E%3Cmask id='a' maskUnits='userSpaceOnUse' x='0' y='0' width='18' height='18'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.824 0C3.97 0 0 3.97 0 8.824c0 4.853 3.97 8.824 8.824 8.824 4.853 0 8.824-3.971 8.824-8.824S13.677 0 8.824 0zM7.94 5.294v2.647H5.294v1.765h2.647v2.647h1.765V9.706h2.647V7.941H9.706V5.294H7.941zm-6.176 3.53c0 3.882 3.176 7.059 7.059 7.059 3.882 0 7.059-3.177 7.059-7.06 0-3.882-3.177-7.058-7.06-7.058-3.882 0-7.058 3.176-7.058 7.059z' fill='%23fff'/%3E%3C/mask%3E%3Cg mask='url(%23a)'%3E%3Cpath fill='%23444' d='M0 0h17.644v17.644H0z'/%3E%3C/g%3E%3C/svg%3E" + }, props)); +}; -var fullscreen_mode_FullscreenMode = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(FullscreenMode, _Component); +// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/welcome-guide/index.js - function FullscreenMode() { - Object(classCallCheck["a" /* default */])(this, FullscreenMode); - return Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(FullscreenMode).apply(this, arguments)); +/** + * WordPress dependencies + */ + + + + +/** + * Internal dependencies + */ + + +function WelcomeGuide() { + var areTipsEnabled = Object(external_this_wp_data_["useSelect"])(function (select) { + return select('core/nux').areTipsEnabled(); + }); + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/nux'), + disableTips = _useDispatch.disableTips; + + if (!areTipsEnabled) { + return null; } - Object(createClass["a" /* default */])(FullscreenMode, [{ - key: "componentDidMount", - value: function componentDidMount() { - this.isSticky = false; - this.sync(); // `is-fullscreen-mode` is set in PHP as a body class by Gutenberg, and this causes - // `sticky-menu` to be applied by WordPress and prevents the admin menu being scrolled - // even if `is-fullscreen-mode` is then removed. Let's remove `sticky-menu` here as - // a consequence of the FullscreenMode setup - - if (document.body.classList.contains('sticky-menu')) { - this.isSticky = true; - document.body.classList.remove('sticky-menu'); - } - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - if (this.isSticky) { - document.body.classList.add('sticky-menu'); - } - } - }, { - key: "componentDidUpdate", - value: function componentDidUpdate(prevProps) { - if (this.props.isActive !== prevProps.isActive) { - this.sync(); - } - } - }, { - key: "sync", - value: function sync() { - var isActive = this.props.isActive; - - if (isActive) { - document.body.classList.add('is-fullscreen-mode'); - } else { - document.body.classList.remove('is-fullscreen-mode'); - } - } - }, { - key: "render", - value: function render() { - return null; - } - }]); - - return FullscreenMode; -}(external_this_wp_element_["Component"]); -/* harmony default export */ var fullscreen_mode = (Object(external_this_wp_data_["withSelect"])(function (select) { - return { - isActive: select('core/edit-post').isFeatureActive('fullscreenMode') - }; -})(fullscreen_mode_FullscreenMode)); + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Guide"], { + className: "edit-post-welcome-guide", + finishButtonText: Object(external_this_wp_i18n_["__"])('Get started'), + onFinish: disableTips + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["GuidePage"], { + className: "edit-post-welcome-guide__page" + }, Object(external_this_wp_element_["createElement"])("h1", { + className: "edit-post-welcome-guide__heading" + }, Object(external_this_wp_i18n_["__"])('Welcome to the Block Editor')), Object(external_this_wp_element_["createElement"])(images_CanvasImage, { + className: "edit-post-welcome-guide__image" + }), Object(external_this_wp_element_["createElement"])("p", { + className: "edit-post-welcome-guide__text" + }, Object(external_this_wp_i18n_["__"])('In the WordPress editor, each paragraph, image, or video is presented as a distinct “block” of content.'))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["GuidePage"], { + className: "edit-post-welcome-guide__page" + }, Object(external_this_wp_element_["createElement"])("h1", { + className: "edit-post-welcome-guide__heading" + }, Object(external_this_wp_i18n_["__"])('Make each block your own')), Object(external_this_wp_element_["createElement"])(images_EditorImage, { + className: "edit-post-welcome-guide__image" + }), Object(external_this_wp_element_["createElement"])("p", { + className: "edit-post-welcome-guide__text" + }, Object(external_this_wp_i18n_["__"])('Each block comes with its own set of controls for changing things like color, width, and alignment. These will show and hide automatically when you have a block selected.'))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["GuidePage"], { + className: "edit-post-welcome-guide__page" + }, Object(external_this_wp_element_["createElement"])("h1", { + className: "edit-post-welcome-guide__heading" + }, Object(external_this_wp_i18n_["__"])('Get to know the Block Library')), Object(external_this_wp_element_["createElement"])(images_BlockLibraryImage, { + className: "edit-post-welcome-guide__image" + }), Object(external_this_wp_element_["createElement"])("p", { + className: "edit-post-welcome-guide__text" + }, Object(external_this_wp_element_["__experimentalCreateInterpolateElement"])(Object(external_this_wp_i18n_["__"])('All of the blocks available to you live in the Block Library. You’ll find it wherever you see the icon.'), { + InserterIconImage: Object(external_this_wp_element_["createElement"])(images_InserterIconImage, { + className: "edit-post-welcome-guide__inserter-icon" + }) + })))); +} // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/layout/index.js - /** * External dependencies */ @@ -5879,88 +5941,76 @@ function (_Component) { -function Layout(_ref) { - var mode = _ref.mode, - editorSidebarOpened = _ref.editorSidebarOpened, - pluginSidebarOpened = _ref.pluginSidebarOpened, - publishSidebarOpened = _ref.publishSidebarOpened, - hasFixedToolbar = _ref.hasFixedToolbar, - closePublishSidebar = _ref.closePublishSidebar, - togglePublishSidebar = _ref.togglePublishSidebar, - hasActiveMetaboxes = _ref.hasActiveMetaboxes, - isSaving = _ref.isSaving, - isMobileViewport = _ref.isMobileViewport, - isRichEditingEnabled = _ref.isRichEditingEnabled; + + +function Layout() { + var isMobileViewport = Object(external_this_wp_compose_["useViewportMatch"])('small', '<'); + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/edit-post'), + closePublishSidebar = _useDispatch.closePublishSidebar, + togglePublishSidebar = _useDispatch.togglePublishSidebar; + + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + return { + hasFixedToolbar: select('core/edit-post').isFeatureActive('fixedToolbar'), + editorSidebarOpened: select('core/edit-post').isEditorSidebarOpened(), + pluginSidebarOpened: select('core/edit-post').isPluginSidebarOpened(), + publishSidebarOpened: select('core/edit-post').isPublishSidebarOpened(), + mode: select('core/edit-post').getEditorMode(), + isRichEditingEnabled: select('core/editor').getEditorSettings().richEditingEnabled, + hasActiveMetaboxes: select('core/edit-post').hasMetaBoxes(), + isSaving: select('core/edit-post').isSavingMetaBoxes() + }; + }), + mode = _useSelect.mode, + isRichEditingEnabled = _useSelect.isRichEditingEnabled, + editorSidebarOpened = _useSelect.editorSidebarOpened, + pluginSidebarOpened = _useSelect.pluginSidebarOpened, + publishSidebarOpened = _useSelect.publishSidebarOpened, + hasActiveMetaboxes = _useSelect.hasActiveMetaboxes, + isSaving = _useSelect.isSaving, + hasFixedToolbar = _useSelect.hasFixedToolbar; + + var showPageTemplatePicker = Object(external_this_wp_blockEditor_["__experimentalUsePageTemplatePickerVisible"])(); + var sidebarIsOpened = editorSidebarOpened || pluginSidebarOpened || publishSidebarOpened; - var className = classnames_default()('edit-post-layout', { + var className = classnames_default()('edit-post-layout', 'is-mode-' + mode, { 'is-sidebar-opened': sidebarIsOpened, 'has-fixed-toolbar': hasFixedToolbar, 'has-metaboxes': hasActiveMetaboxes }); - var publishLandmarkProps = { - role: 'region', - - /* translators: accessibility text for the publish landmark region. */ - 'aria-label': Object(external_this_wp_i18n_["__"])('Editor publish'), - tabIndex: -1 - }; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FocusReturnProvider"], { - className: className - }, Object(external_this_wp_element_["createElement"])(fullscreen_mode, null), Object(external_this_wp_element_["createElement"])(browser_url, null), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["UnsavedChangesWarning"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["AutosaveMonitor"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["LocalAutosaveMonitor"], null), Object(external_this_wp_element_["createElement"])(header, null), Object(external_this_wp_element_["createElement"])("div", { - className: "edit-post-layout__content", - role: "region" - /* translators: accessibility text for the content landmark region. */ - , - "aria-label": Object(external_this_wp_i18n_["__"])('Editor content'), - tabIndex: "-1" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["EditorNotices"], null), Object(external_this_wp_element_["createElement"])(components_keyboard_shortcuts, null), Object(external_this_wp_element_["createElement"])(keyboard_shortcut_help_modal, null), Object(external_this_wp_element_["createElement"])(manage_blocks_modal, null), Object(external_this_wp_element_["createElement"])(options_modal, null), (mode === 'text' || !isRichEditingEnabled) && Object(external_this_wp_element_["createElement"])(text_editor, null), isRichEditingEnabled && mode === 'visual' && Object(external_this_wp_element_["createElement"])(visual_editor, null), Object(external_this_wp_element_["createElement"])("div", { - className: "edit-post-layout__metaboxes" - }, Object(external_this_wp_element_["createElement"])(meta_boxes, { - location: "normal" - })), Object(external_this_wp_element_["createElement"])("div", { - className: "edit-post-layout__metaboxes" - }, Object(external_this_wp_element_["createElement"])(meta_boxes, { - location: "advanced" - }))), publishSidebarOpened ? Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostPublishPanel"], Object(esm_extends["a" /* default */])({}, publishLandmarkProps, { - onClose: closePublishSidebar, - forceIsDirty: hasActiveMetaboxes, - forceIsSaving: isSaving, - PrePublishExtension: plugin_pre_publish_panel.Slot, - PostPublishExtension: plugin_post_publish_panel.Slot - })) : Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({ - className: "edit-post-toggle-publish-panel" - }, publishLandmarkProps), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - isDefault: true, - type: "button", - className: "edit-post-toggle-publish-panel__button", - onClick: togglePublishSidebar, - "aria-expanded": false - }, Object(external_this_wp_i18n_["__"])('Open publish panel'))), Object(external_this_wp_element_["createElement"])(settings_sidebar, null), Object(external_this_wp_element_["createElement"])(sidebar.Slot, null), isMobileViewport && sidebarIsOpened && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ScrollLock"], null)), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"].Slot, null), Object(external_this_wp_element_["createElement"])(external_this_wp_plugins_["PluginArea"], null)); + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(fullscreen_mode, null), Object(external_this_wp_element_["createElement"])(browser_url, null), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["UnsavedChangesWarning"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["AutosaveMonitor"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["LocalAutosaveMonitor"], null), Object(external_this_wp_element_["createElement"])(components_keyboard_shortcuts, null), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FocusReturnProvider"], null, Object(external_this_wp_element_["createElement"])(editor_regions, { + className: className, + header: Object(external_this_wp_element_["createElement"])(components_header, null), + sidebar: !publishSidebarOpened && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(settings_sidebar, null), Object(external_this_wp_element_["createElement"])(components_sidebar.Slot, null)), + content: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["EditorNotices"], null), (mode === 'text' || !isRichEditingEnabled) && Object(external_this_wp_element_["createElement"])(text_editor, null), isRichEditingEnabled && mode === 'visual' && Object(external_this_wp_element_["createElement"])(visual_editor, null), Object(external_this_wp_element_["createElement"])("div", { + className: "edit-post-layout__metaboxes" + }, Object(external_this_wp_element_["createElement"])(meta_boxes, { + location: "normal" + }), Object(external_this_wp_element_["createElement"])(meta_boxes, { + location: "advanced" + })), isMobileViewport && sidebarIsOpened && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ScrollLock"], null)), + footer: isRichEditingEnabled && mode === 'visual' && Object(external_this_wp_element_["createElement"])("div", { + className: "edit-post-layout__footer" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockBreadcrumb"], null)), + publish: publishSidebarOpened ? Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostPublishPanel"], { + onClose: closePublishSidebar, + forceIsDirty: hasActiveMetaboxes, + forceIsSaving: isSaving, + PrePublishExtension: plugin_pre_publish_panel.Slot, + PostPublishExtension: plugin_post_publish_panel.Slot + }) : Object(external_this_wp_element_["createElement"])("div", { + className: "edit-post-toggle-publish-panel" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + isDefault: true, + className: "edit-post-toggle-publish-panel__button", + onClick: togglePublishSidebar, + "aria-expanded": false + }, Object(external_this_wp_i18n_["__"])('Open publish panel'))) + }), Object(external_this_wp_element_["createElement"])(manage_blocks_modal, null), Object(external_this_wp_element_["createElement"])(options_modal, null), Object(external_this_wp_element_["createElement"])(keyboard_shortcut_help_modal, null), Object(external_this_wp_element_["createElement"])(WelcomeGuide, null), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"].Slot, null), Object(external_this_wp_element_["createElement"])(external_this_wp_plugins_["PluginArea"], null), showPageTemplatePicker && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalPageTemplatePicker"], null))); } -/* harmony default export */ var layout = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select) { - return { - mode: select('core/edit-post').getEditorMode(), - editorSidebarOpened: select('core/edit-post').isEditorSidebarOpened(), - pluginSidebarOpened: select('core/edit-post').isPluginSidebarOpened(), - publishSidebarOpened: select('core/edit-post').isPublishSidebarOpened(), - hasFixedToolbar: select('core/edit-post').isFeatureActive('fixedToolbar'), - hasActiveMetaboxes: select('core/edit-post').hasMetaBoxes(), - isSaving: select('core/edit-post').isSavingMetaBoxes(), - isRichEditingEnabled: select('core/editor').getEditorSettings().richEditingEnabled - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch) { - var _dispatch = dispatch('core/edit-post'), - closePublishSidebar = _dispatch.closePublishSidebar, - togglePublishSidebar = _dispatch.togglePublishSidebar; - - return { - closePublishSidebar: closePublishSidebar, - togglePublishSidebar: togglePublishSidebar - }; -}), external_this_wp_components_["navigateRegions"], Object(external_this_wp_viewport_["withViewportMatch"])({ - isMobileViewport: '< small' -}))(Layout)); +/* harmony default export */ var layout = (Layout); // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/editor-initialization/listener-hooks.js /** @@ -6076,16 +6126,10 @@ var listener_hooks_useUpdatePostLinkListener = function useUpdatePostLinkListene }; // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/editor-initialization/index.js -/** - * WordPress dependencies - */ - - /** * Internal dependencies */ - /** * Data component used for initializing the editor and re-initializes * when postId changes or on unmount. @@ -6099,13 +6143,6 @@ var listener_hooks_useUpdatePostLinkListener = function useUpdatePostLinkListene listener_hooks_useBlockSelectionListener(postId); listener_hooks_useAdjustSidebarListener(postId); listener_hooks_useUpdatePostLinkListener(postId); - - var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/nux'), - triggerGuide = _useDispatch.triggerGuide; - - Object(external_this_wp_element_["useEffect"])(function () { - triggerGuide(['core/editor.inserter', 'core/editor.settings', 'core/editor.preview', 'core/editor.publish']); - }, [triggerGuide]); return null; }); @@ -6305,7 +6342,7 @@ var shouldRenderItem = function shouldRenderItem(selectedBlocks, allowedBlocks) * * @param {Object} props Component props. * @param {Array} [props.allowedBlocks] An array containing a list of block names for which the item should be shown. If not present, it'll be rendered for any block. If multiple blocks are selected, it'll be shown if and only if all of them are in the whitelist. - * @param {string|Element} [props.icon] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element. + * @param {WPBlockTypeIconRender} [props.icon] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element. * @param {string} props.label The menu item text. * @param {Function} props.onClick Callback function to be executed when the user click the menu item. * @@ -6351,7 +6388,7 @@ var shouldRenderItem = function shouldRenderItem(selectedBlocks, allowedBlocks) * ); * ``` * - * @return {WPElement} The WPElement to be rendered. + * @return {WPComponent} The component to be rendered. */ @@ -6421,7 +6458,7 @@ var plugin_more_menu_item_PluginMoreMenuItem = function PluginMoreMenuItem(_ref) * * @param {Object} props Component properties. * @param {string} [props.href] When `href` is provided then the menu item is represented as an anchor rather than button. It corresponds to the `href` attribute of the anchor. - * @param {string|Element} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered to the left of the menu item label. + * @param {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered to the left of the menu item label. * @param {Function} [props.onClick=noop] The callback function to be executed when the user clicks the menu item. * @param {...*} [props.other] Any additional props are passed through to the underlying [MenuItem](/packages/components/src/menu-item/README.md) component. * @@ -6467,7 +6504,7 @@ var plugin_more_menu_item_PluginMoreMenuItem = function PluginMoreMenuItem(_ref) * ); * ``` * - * @return {WPElement} The element to be rendered. + * @return {WPComponent} The component to be rendered. */ @@ -6514,9 +6551,8 @@ function PluginSidebar(props) { onClick: toggleSidebar, isToggled: isActive, "aria-expanded": isActive - })), Object(external_this_wp_element_["createElement"])(sidebar, { - name: sidebarName, - label: Object(external_this_wp_i18n_["__"])('Editor plugins') + })), Object(external_this_wp_element_["createElement"])(components_sidebar, { + name: sidebarName }, Object(external_this_wp_element_["createElement"])(sidebar_header, { closeLabel: Object(external_this_wp_i18n_["__"])('Close plugin') }, Object(external_this_wp_element_["createElement"])("strong", null, title), isPinnable && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { @@ -6544,7 +6580,7 @@ function PluginSidebar(props) { * @param {string} [props.className] An optional class name added to the sidebar body. * @param {string} props.title Title displayed at the top of the sidebar. * @param {boolean} [props.isPinnable=true] Whether to allow to pin sidebar to toolbar. - * @param {string|Element} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered when the sidebar is pinned to toolbar. + * @param {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered when the sidebar is pinned to toolbar. * * @example ES5 * ```js @@ -6591,7 +6627,7 @@ function PluginSidebar(props) { * ); * ``` * - * @return {WPElement} Plugin sidebar component. + * @return {WPComponent} Plugin sidebar component. */ @@ -6668,7 +6704,7 @@ var plugin_sidebar_more_menu_item_PluginSidebarMoreMenuItem = function PluginSid * * @param {Object} props Component props. * @param {string} props.target A string identifying the target sidebar you wish to be activated by this menu item. Must be the same as the `name` prop you have given to that sidebar. - * @param {string|Element} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered to the left of the menu item label. + * @param {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered to the left of the menu item label. * * @example ES5 * ```js @@ -6704,7 +6740,7 @@ var plugin_sidebar_more_menu_item_PluginSidebarMoreMenuItem = function PluginSid * ); * ``` * - * @return {WPElement} The element to be rendered. + * @return {WPComponent} The component to be rendered. */ @@ -6824,6 +6860,31 @@ function initializeEditor(id, postType, postId, settings, initialEdits) { if (documentMode !== 'Standards') { // eslint-disable-next-line no-console console.warn("Your browser is using Quirks Mode. \nThis can cause rendering issues such as blocks overlaying meta boxes in the editor. Quirks Mode can be triggered by PHP errors or HTML code appearing before the opening . Try checking the raw page source or your site's PHP error log and resolving errors there, removing any HTML before the doctype, or disabling plugins."); + } // This is a temporary fix for a couple of issues specific to Webkit on iOS. + // Without this hack the browser scrolls the mobile toolbar off-screen. + // Once supported in Safari we can replace this in favor of preventScroll. + // For details see issue #18632 and PR #18686 + // Specifically, we scroll `edit-post-editor-regions__body` to enable a fixed top toolbar. + // But Mobile Safari forces the `html` element to scroll upwards, hiding the toolbar. + + + var isIphone = window.navigator.userAgent.indexOf('iPhone') !== -1; + + if (isIphone) { + window.addEventListener('scroll', function (event) { + var editorScrollContainer = document.getElementsByClassName('edit-post-editor-regions__body')[0]; + + if (event.target === document) { + // Scroll element into view by scrolling the editor container by the same amount + // that Mobile Safari tried to scroll the html element upwards. + if (window.scrollY > 100) { + editorScrollContainer.scrollTop = editorScrollContainer.scrollTop + window.scrollY; + } //Undo unwanted scroll on html element + + + window.scrollTo(0, 0); + } + }); } Object(external_this_wp_element_["render"])(Object(external_this_wp_element_["createElement"])(editor, { @@ -6846,7 +6907,14 @@ function initializeEditor(id, postType, postId, settings, initialEdits) { /***/ }), -/***/ 36: +/***/ 37: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["apiFetch"]; }()); + +/***/ }), + +/***/ 38: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -7126,28 +7194,6 @@ function isShallowEqual( a, b, fromIndex ) { }); -/***/ }), - -/***/ 38: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); -function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; -} - -/***/ }), - -/***/ 39: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); -function _nonIterableRest() { - throw new TypeError("Invalid attempt to destructure non-iterable instance"); -} - /***/ }), /***/ 4: @@ -7157,14 +7203,29 @@ function _nonIterableRest() { /***/ }), -/***/ 42: -/***/ (function(module, exports) { +/***/ 40: +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["wp"]["viewport"]; }()); +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} /***/ }), -/***/ 44: +/***/ 42: /***/ (function(module, exports, __webpack_require__) { module.exports = function memize( fn, options ) { @@ -7282,14 +7343,35 @@ module.exports = function memize( fn, options ) { /***/ }), -/***/ 45: +/***/ 44: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["a11y"]; }()); /***/ }), +/***/ 49: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["plugins"]; }()); + +/***/ }), + /***/ 5: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["blockEditor"]; }()); + +/***/ }), + +/***/ 50: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["viewport"]; }()); + +/***/ }), + +/***/ 6: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -7304,24 +7386,10 @@ function _assertThisInitialized(self) { /***/ }), -/***/ 50: +/***/ 62: /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["plugins"]; }()); - -/***/ }), - -/***/ 6: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["blockEditor"]; }()); - -/***/ }), - -/***/ 60: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["nux"]; }()); +(function() { module.exports = this["wp"]["coreData"]; }()); /***/ }), @@ -7330,12 +7398,12 @@ function _assertThisInitialized(self) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(source); + var ownKeys = Object.keys(Object(source)); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -7353,7 +7421,7 @@ function _objectSpread(target) { /***/ }), -/***/ 71: +/***/ 70: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -7416,17 +7484,25 @@ module.exports = refx; /***/ }), -/***/ 88: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["coreData"]; }()); - -/***/ }), - /***/ 9: -/***/ (function(module, exports) { +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["wp"]["blocks"]; }()); +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} /***/ }), diff --git a/wp-includes/js/dist/edit-post.min.js b/wp-includes/js/dist/edit-post.min.js index a497c84c38..b76b9edf33 100644 --- a/wp-includes/js/dist/edit-post.min.js +++ b/wp-includes/js/dist/edit-post.min.js @@ -1,7 +1,7 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.editPost=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=345)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return o}))},11:function(e,t,n){"use strict";function o(e,t){for(var n=0;n=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,"a",(function(){return o}))},23:function(e,t,n){"use strict";var o=n(38);var r=n(39);function c(e,t){return Object(o.a)(e)||function(e,t){var n=[],o=!0,r=!1,c=void 0;try{for(var i,a=e[Symbol.iterator]();!(o=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){r=!0,c=e}finally{try{o||null==a.return||a.return()}finally{if(r)throw c}}return n}(e,t)||Object(r.a)()}n.d(t,"a",(function(){return c}))},230:function(e,t){!function(){e.exports=this.wp.blockLibrary}()},24:function(e,t){!function(){e.exports=this.wp.editor}()},26:function(e,t){!function(){e.exports=this.wp.url}()},27:function(e,t){!function(){e.exports=this.wp.hooks}()},3:function(e,t){!function(){e.exports=this.wp.components}()},30:function(e,t,n){"use strict";function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",(function(){return o}))},31:function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e){return(r="function"==typeof Symbol&&"symbol"===o(Symbol.iterator)?function(e){return o(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":o(e)})(e)}n.d(t,"a",(function(){return r}))},34:function(e,t){!function(){e.exports=this.wp.apiFetch}()},345:function(e,t,n){"use strict";n.r(t);var o={};n.r(o),n.d(o,"openGeneralSidebar",(function(){return Q})),n.d(o,"closeGeneralSidebar",(function(){return X})),n.d(o,"openModal",(function(){return z})),n.d(o,"closeModal",(function(){return Y})),n.d(o,"openPublishSidebar",(function(){return $})),n.d(o,"closePublishSidebar",(function(){return Z})),n.d(o,"togglePublishSidebar",(function(){return J})),n.d(o,"toggleEditorPanelEnabled",(function(){return ee})),n.d(o,"toggleEditorPanelOpened",(function(){return te})),n.d(o,"removeEditorPanel",(function(){return ne})),n.d(o,"toggleFeature",(function(){return oe})),n.d(o,"switchEditorMode",(function(){return re})),n.d(o,"togglePinnedPluginItem",(function(){return ce})),n.d(o,"hideBlockTypes",(function(){return ie})),n.d(o,"updatePreferredStyleVariations",(function(){return ae})),n.d(o,"__experimentalUpdateLocalAutosaveInterval",(function(){return le})),n.d(o,"showBlockTypes",(function(){return se})),n.d(o,"setAvailableMetaBoxesPerLocation",(function(){return ue})),n.d(o,"requestMetaBoxUpdates",(function(){return de})),n.d(o,"metaBoxUpdatesSuccess",(function(){return be}));var r={};n.r(r),n.d(r,"getEditorMode",(function(){return me})),n.d(r,"isEditorSidebarOpened",(function(){return Oe})),n.d(r,"isPluginSidebarOpened",(function(){return fe})),n.d(r,"getActiveGeneralSidebarName",(function(){return je})),n.d(r,"getPreferences",(function(){return he})),n.d(r,"getPreference",(function(){return Ee})),n.d(r,"isPublishSidebarOpened",(function(){return ge})),n.d(r,"isEditorPanelRemoved",(function(){return ve})),n.d(r,"isEditorPanelEnabled",(function(){return _e})),n.d(r,"isEditorPanelOpened",(function(){return ye})),n.d(r,"isModalActive",(function(){return Se})),n.d(r,"isFeatureActive",(function(){return ke})),n.d(r,"isPluginItemPinned",(function(){return Pe})),n.d(r,"getActiveMetaBoxLocations",(function(){return we})),n.d(r,"isMetaBoxLocationVisible",(function(){return Ce})),n.d(r,"isMetaBoxLocationActive",(function(){return Te})),n.d(r,"getMetaBoxesPerLocation",(function(){return xe})),n.d(r,"getAllMetaBoxes",(function(){return Ne})),n.d(r,"hasMetaBoxes",(function(){return Ae})),n.d(r,"isSavingMetaBoxes",(function(){return Me}));var c=n(0),i=(n(88),n(6)),a=n(24),l=n(60),s=n(42),u=(n(141),n(230)),d=n(27),b=n(98);Object(d.addFilter)("editor.MediaUpload","core/edit-post/replace-media-upload",(function(){return b.MediaUpload}));var p=n(18),m=n(21),O=n(2),f=n(9),j=n(3),h=n(4),E=n(1),g=n(8),v=Object(g.compose)(Object(h.withSelect)((function(e,t){if(Object(f.hasBlockSupport)(t.name,"multiple",!0))return{};var n=e("core/block-editor").getBlocks(),o=Object(O.find)(n,(function(e){var n=e.name;return t.name===n}));return{originalBlockClientId:o&&o.clientId!==t.clientId&&o.clientId}})),Object(h.withDispatch)((function(e,t){var n=t.originalBlockClientId;return{selectFirst:function(){return e("core/block-editor").selectBlock(n)}}}))),_=Object(g.createHigherOrderComponent)((function(e){return v((function(t){var n=t.originalBlockClientId,o=t.selectFirst,r=Object(m.a)(t,["originalBlockClientId","selectFirst"]);if(!n)return Object(c.createElement)(e,r);var a=Object(f.getBlockType)(r.name),l=function(e){var t=Object(f.findTransform)(Object(f.getBlockTransforms)("to",e),(function(e){var t=e.type,n=e.blocks;return"block"===t&&1===n.length}));if(!t)return null;return Object(f.getBlockType)(t.blocks[0])}(r.name);return[Object(c.createElement)("div",{key:"invalid-preview",style:{minHeight:"60px"}},Object(c.createElement)(e,Object(p.a)({key:"block-edit"},r))),Object(c.createElement)(i.Warning,{key:"multiple-use-warning",actions:[Object(c.createElement)(j.Button,{key:"find-original",isLarge:!0,onClick:o},Object(E.__)("Find original")),Object(c.createElement)(j.Button,{key:"remove",isLarge:!0,onClick:function(){return r.onReplace([])}},Object(E.__)("Remove")),l&&Object(c.createElement)(j.Button,{key:"transform",isLarge:!0,onClick:function(){return r.onReplace(Object(f.createBlock)(l.name,r.attributes))}},Object(E.__)("Transform into:")," ",l.title)]},Object(c.createElement)("strong",null,a.title,": "),Object(E.__)("This block can only be used once."))]}))}),"withMultipleValidation");Object(d.addFilter)("editor.BlockEdit","core/edit-post/validate-multiple-use/with-multiple-validation",_);var y=n(50),S=n(26);var k=Object(g.compose)(Object(h.withSelect)((function(e){return{editedPostContent:e("core/editor").getEditedPostAttribute("content")}})),Object(h.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice}})),Object(g.withState)({hasCopied:!1}))((function(e){var t=e.createNotice,n=e.editedPostContent,o=e.hasCopied,r=e.setState;return n.length>0&&Object(c.createElement)(j.ClipboardButton,{text:n,role:"menuitem",className:"components-menu-item__button",onCopy:function(){r({hasCopied:!0}),t("info",Object(E.__)("All content copied."),{isDismissible:!0,type:"snackbar"})},onFinishCopy:function(){return r({hasCopied:!1})}},o?Object(E.__)("Copied!"):Object(E.__)("Copy All Content"))}));var P=Object(h.withDispatch)((function(e){return{openModal:e("core/edit-post").openModal}}))((function(e){var t=e.openModal;return Object(c.createElement)(j.MenuItem,{onClick:function(){t("edit-post/manage-blocks")}},Object(E.__)("Block Manager"))})),w=n(19);var C=Object(h.withDispatch)((function(e){return{openModal:e("core/edit-post").openModal}}))((function(e){var t=e.openModal;return Object(c.createElement)(j.MenuItem,{onClick:function(){t("edit-post/keyboard-shortcut-help")},shortcut:w.displayShortcut.access("h")},Object(E.__)("Keyboard Shortcuts"))})),T=Object(j.createSlotFill)("ToolsMoreMenuGroup"),x=T.Fill,N=T.Slot;x.Slot=function(e){var t=e.fillProps;return Object(c.createElement)(N,{fillProps:t},(function(e){return!Object(O.isEmpty)(e)&&Object(c.createElement)(j.MenuGroup,{label:Object(E.__)("Tools")},e)}))};var A=x;Object(y.registerPlugin)("edit-post",{render:function(){return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(A,null,(function(e){var t=e.onClose;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(P,{onSelect:t}),Object(c.createElement)(j.MenuItem,{role:"menuitem",href:Object(S.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(E.__)("Manage All Reusable Blocks")),Object(c.createElement)(C,{onSelect:t}),Object(c.createElement)(k,null))})))}});var M,B=n(17),I=n(10),D=n(7),L="edit-post/document",F=Object(O.flow)([h.combineReducers,(M={editorMode:"visual",isGeneralSidebarDismissed:!1,panels:{"post-status":{opened:!0}},features:{fixedToolbar:!1,showInserterHelpPanel:!0},pinnedPluginItems:{},hiddenBlockTypes:[],preferredStyleVariations:{},localAutosaveInterval:15},function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:M,n=arguments.length>1?arguments[1]:void 0;return e(t,n)}})])({isGeneralSidebarDismissed:function(e,t){switch(t.type){case"OPEN_GENERAL_SIDEBAR":case"CLOSE_GENERAL_SIDEBAR":return"CLOSE_GENERAL_SIDEBAR"===t.type}return e},panels:function(e,t){switch(t.type){case"TOGGLE_PANEL_ENABLED":var n=t.panelName;return Object(D.a)({},e,Object(I.a)({},n,Object(D.a)({},e[n],{enabled:!Object(O.get)(e,[n,"enabled"],!0)})));case"TOGGLE_PANEL_OPENED":var o=t.panelName,r=!0===e[o]||Object(O.get)(e,[o,"opened"],!1);return Object(D.a)({},e,Object(I.a)({},o,Object(D.a)({},e[o],{opened:!r})))}return e},features:function(e,t){return"TOGGLE_FEATURE"===t.type?Object(D.a)({},e,Object(I.a)({},t.feature,!e[t.feature])):e},editorMode:function(e,t){return"SWITCH_MODE"===t.type?t.mode:e},pinnedPluginItems:function(e,t){return"TOGGLE_PINNED_PLUGIN_ITEM"===t.type?Object(D.a)({},e,Object(I.a)({},t.pluginName,!Object(O.get)(e,[t.pluginName],!0))):e},hiddenBlockTypes:function(e,t){switch(t.type){case"SHOW_BLOCK_TYPES":return O.without.apply(void 0,[e].concat(Object(B.a)(t.blockNames)));case"HIDE_BLOCK_TYPES":return Object(O.union)(e,t.blockNames)}return e},preferredStyleVariations:function(e,t){switch(t.type){case"UPDATE_PREFERRED_STYLE_VARIATIONS":return t.blockName?t.blockStyle?Object(D.a)({},e,Object(I.a)({},t.blockName,t.blockStyle)):Object(O.omit)(e,[t.blockName]):e}return e},localAutosaveInterval:function(e,t){switch(t.type){case"UPDATE_LOCAL_AUTOSAVE_INTERVAL":return t.interval}return e}});var R=Object(h.combineReducers)({isSaving:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"REQUEST_META_BOX_UPDATES":return!0;case"META_BOX_UPDATES_SUCCESS":return!1;default:return e}},locations:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_META_BOXES_PER_LOCATIONS":return t.metaBoxesPerLocation}return e}}),G=Object(h.combineReducers)({activeGeneralSidebar:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:L,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_GENERAL_SIDEBAR":return t.name}return e},activeModal:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_MODAL":return t.name;case"CLOSE_MODAL":return null}return e},metaBoxes:R,preferences:F,publishSidebarActive:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"OPEN_PUBLISH_SIDEBAR":return!0;case"CLOSE_PUBLISH_SIDEBAR":return!1;case"TOGGLE_PUBLISH_SIDEBAR":return!e}return e},removedPanels:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REMOVE_PANEL":if(!Object(O.includes)(e,t.panelName))return[].concat(Object(B.a)(e),[t.panelName])}return e}}),V=n(71),U=n.n(V),H=n(23),W=n(45),q=n(34),K=n.n(q);function Q(e){return{type:"OPEN_GENERAL_SIDEBAR",name:e}}function X(){return{type:"CLOSE_GENERAL_SIDEBAR"}}function z(e){return{type:"OPEN_MODAL",name:e}}function Y(){return{type:"CLOSE_MODAL"}}function $(){return{type:"OPEN_PUBLISH_SIDEBAR"}}function Z(){return{type:"CLOSE_PUBLISH_SIDEBAR"}}function J(){return{type:"TOGGLE_PUBLISH_SIDEBAR"}}function ee(e){return{type:"TOGGLE_PANEL_ENABLED",panelName:e}}function te(e){return{type:"TOGGLE_PANEL_OPENED",panelName:e}}function ne(e){return{type:"REMOVE_PANEL",panelName:e}}function oe(e){return{type:"TOGGLE_FEATURE",feature:e}}function re(e){return{type:"SWITCH_MODE",mode:e}}function ce(e){return{type:"TOGGLE_PINNED_PLUGIN_ITEM",pluginName:e}}function ie(e){return{type:"HIDE_BLOCK_TYPES",blockNames:Object(O.castArray)(e)}}function ae(e,t){return{type:"UPDATE_PREFERRED_STYLE_VARIATIONS",blockName:e,blockStyle:t}}function le(e){return{type:"UPDATE_LOCAL_AUTOSAVE_INTERVAL",interval:e}}function se(e){return{type:"SHOW_BLOCK_TYPES",blockNames:Object(O.castArray)(e)}}function ue(e){return{type:"SET_META_BOXES_PER_LOCATIONS",metaBoxesPerLocation:e}}function de(){return{type:"REQUEST_META_BOX_UPDATES"}}function be(){return{type:"META_BOX_UPDATES_SUCCESS"}}var pe=n(36);function me(e){return Ee(e,"editorMode","visual")}function Oe(e){var t=je(e);return Object(O.includes)(["edit-post/document","edit-post/block"],t)}function fe(e){return!!je(e)&&!Oe(e)}function je(e){return Ee(e,"isGeneralSidebarDismissed",!1)?null:e.activeGeneralSidebar}function he(e){return e.preferences}function Ee(e,t,n){var o=he(e)[t];return void 0===o?n:o}function ge(e){return e.publishSidebarActive}function ve(e,t){return Object(O.includes)(e.removedPanels,t)}function _e(e,t){var n=Ee(e,"panels");return!ve(e,t)&&Object(O.get)(n,[t,"enabled"],!0)}function ye(e,t){var n=Ee(e,"panels");return!0===Object(O.get)(n,[t])||!0===Object(O.get)(n,[t,"opened"])}function Se(e,t){return e.activeModal===t}function ke(e,t){return Object(O.get)(e.preferences.features,[t],!1)}function Pe(e,t){var n=Ee(e,"pinnedPluginItems",{});return Object(O.get)(n,[t],!0)}var we=Object(pe.a)((function(e){return Object.keys(e.metaBoxes.locations).filter((function(t){return Te(e,t)}))}),(function(e){return[e.metaBoxes.locations]}));function Ce(e,t){return Te(e,t)&&Object(O.some)(xe(e,t),(function(t){var n=t.id;return _e(e,"meta-box-".concat(n))}))}function Te(e,t){var n=xe(e,t);return!!n&&0!==n.length}function xe(e,t){return e.metaBoxes.locations[t]}var Ne=Object(pe.a)((function(e){return Object(O.flatten)(Object(O.values)(e.metaBoxes.locations))}),(function(e){return[e.metaBoxes.locations]}));function Ae(e){return we(e).length>0}function Me(e){return e.metaBoxes.isSaving}var Be,Ie={SET_META_BOXES_PER_LOCATIONS:function(e,t){setTimeout((function(){var e=Object(h.select)("core/editor").getCurrentPostType();window.postboxes.page!==e&&window.postboxes.add_postbox_toggles(e)}));var n=Object(h.select)("core/editor").isSavingPost(),o=Object(h.select)("core/editor").isAutosavingPost(),r=Object(h.select)("core/edit-post").hasMetaBoxes();Be&&Be(),Be=Object(h.subscribe)((function(){var e=Object(h.select)("core/editor").isSavingPost(),c=Object(h.select)("core/editor").isAutosavingPost(),i=r&&n&&!e&&!o;n=e,o=c,i&&t.dispatch({type:"REQUEST_META_BOX_UPDATES"})}))},REQUEST_META_BOX_UPDATES:function(e,t){window.tinyMCE&&window.tinyMCE.triggerSave();var n=t.getState(),o=Object(h.select)("core/editor").getCurrentPost(n),r=[!!o.comment_status&&["comment_status",o.comment_status],!!o.ping_status&&["ping_status",o.ping_status],!!o.sticky&&["sticky",o.sticky],!!o.author&&["post_author",o.author]].filter(Boolean),c=[new window.FormData(document.querySelector(".metabox-base-form"))].concat(Object(B.a)(we(n).map((function(e){return new window.FormData(function(e){var t=document.querySelector(".edit-post-meta-boxes-area.is-".concat(e," .metabox-location-").concat(e));return t||document.querySelector("#metaboxes .metabox-location-"+e)}(e))})))),i=Object(O.reduce)(c,(function(e,t){var n=!0,o=!1,r=void 0;try{for(var c,i=t[Symbol.iterator]();!(n=(c=i.next()).done);n=!0){var a=Object(H.a)(c.value,2),l=a[0],s=a[1];e.append(l,s)}}catch(e){o=!0,r=e}finally{try{n||null==i.return||i.return()}finally{if(o)throw r}}return e}),new window.FormData);r.forEach((function(e){var t=Object(H.a)(e,2),n=t[0],o=t[1];return i.append(n,o)})),K()({url:window._wpMetaBoxUrl,method:"POST",body:i,parse:!1}).then((function(){return t.dispatch({type:"META_BOX_UPDATES_SUCCESS"})}))},SWITCH_MODE:function(e){"visual"!==e.mode&&Object(h.dispatch)("core/block-editor").clearSelectedBlock();var t="visual"===e.mode?Object(E.__)("Visual editor selected"):Object(E.__)("Code editor selected");Object(W.speak)(t,"assertive")}};var De=function(e){var t,n=[U()(Ie)],o=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r={getState:e.getState,dispatch:function(){return o.apply(void 0,arguments)}};return t=n.map((function(e){return e(r)})),o=O.flowRight.apply(void 0,Object(B.a)(t))(e.dispatch),e.dispatch=o,e};var Le={SELECT:Object(h.createRegistryControl)((function(e){return function(t){var n,o=t.storeName,r=t.selectorName,c=t.args;return(n=e.select(o))[r].apply(n,Object(B.a)(c))}}))},Fe="core/edit-post",Re=Object(h.registerStore)(Fe,{reducer:G,actions:o,selectors:r,controls:Le,persist:["preferences"]});De(Re);var Ge=n(12),Ve=n(11),Ue=n(13),He=n(14),We=n(15),qe=n(44),Ke=n.n(qe),Qe={"t a l e s o f g u t e n b e r g":function(e){(document.activeElement.classList.contains("edit-post-visual-editor")||document.activeElement===document.body)&&(e.preventDefault(),window.wp.data.dispatch("core/block-editor").insertBlock(window.wp.blocks.createBlock("core/paragraph",{content:"🐡🐢🦀🐤🦋🐘🐧🐹🦁🦄🦍🐼🐿🎃🐴🐝🐆🦕🦔🌱🍇π🍌🐉💧🥨🌌🍂🍠🥦🥚🥝🎟🥥🥒🛵🥖🍒🍯🎾🎲🐺🐚🐮⌛️"})))}},Xe=n(16),ze=n.n(Xe);var Ye=function(e){function t(){var e;return Object(Ge.a)(this,t),(e=Object(Ue.a)(this,Object(He.a)(t).apply(this,arguments))).state={historyId:null},e}return Object(We.a)(t,e),Object(Ve.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.postId,o=t.postStatus,r=t.postType,c=t.isSavingPost,i=this.state.historyId;"trash"!==o||c?n===e.postId&&n===i||"auto-draft"===o||this.setBrowserURL(n):this.setTrashURL(n,r)}},{key:"setTrashURL",value:function(e,t){window.location.href=function(e,t){return Object(S.addQueryArgs)("edit.php",{trashed:1,post_type:t,ids:e})}(e,t)}},{key:"setBrowserURL",value:function(e){window.history.replaceState({id:e},"Post "+e,function(e){return Object(S.addQueryArgs)("post.php",{post:e,action:"edit"})}(e)),this.setState((function(){return{historyId:e}}))}},{key:"render",value:function(){return null}}]),t}(c.Component),$e=Object(h.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPost,o=t.isSavingPost,r=n();return{postId:r.id,postStatus:r.status,postType:r.type,isSavingPost:o()}}))(Ye);var Ze=Object(h.withSelect)((function(e){var t=e("core/editor").getCurrentPostType,n=e("core/edit-post").isFeatureActive,o=e("core").getPostType;return{isActive:n("fullscreenMode"),postType:o(t())}}))((function(e){var t=e.isActive,n=e.postType;return t&&n?Object(c.createElement)(j.Toolbar,{className:"edit-post-fullscreen-mode-close__toolbar"},Object(c.createElement)(j.IconButton,{icon:"arrow-left-alt2",href:Object(S.addQueryArgs)("edit.php",{post_type:n.slug}),label:Object(O.get)(n,["labels","view_items"],Object(E.__)("Back"))})):null}));var Je=Object(g.compose)([Object(h.withSelect)((function(e){return{hasFixedToolbar:e("core/edit-post").isFeatureActive("fixedToolbar"),showInserter:"visual"===e("core/edit-post").getEditorMode()&&e("core/editor").getEditorSettings().richEditingEnabled,isTextModeEnabled:"text"===e("core/edit-post").getEditorMode()}})),Object(s.withViewportMatch)({isLargeViewport:"medium"})])((function(e){var t=e.hasFixedToolbar,n=e.isLargeViewport,o=e.showInserter,r=e.isTextModeEnabled,s=t?Object(E.__)("Document and block tools"):Object(E.__)("Document tools");return Object(c.createElement)(i.NavigableToolbar,{className:"edit-post-header-toolbar","aria-label":s},Object(c.createElement)("div",null,Object(c.createElement)(i.Inserter,{disabled:!o,position:"bottom right",showInserterHelpPanel:!0}),Object(c.createElement)(l.DotTip,{tipId:"core/editor.inserter"},Object(E.__)("Welcome to the wonderful world of blocks! Click the “+” (“Add block”) button to add a new block. There are blocks available for all kinds of content: you can insert text, headings, images, lists, and lots more!"))),Object(c.createElement)(a.EditorHistoryUndo,null),Object(c.createElement)(a.EditorHistoryRedo,null),Object(c.createElement)(a.TableOfContents,{hasOutlineItemsDisabled:r}),Object(c.createElement)(i.BlockNavigationDropdown,{isDisabled:r}),t&&n&&Object(c.createElement)("div",{className:"edit-post-header-toolbar__block-toolbar"},Object(c.createElement)(i.BlockToolbar,null)))})),et={toggleEditorMode:{raw:w.rawShortcut.secondary("m"),display:w.displayShortcut.secondary("m")},toggleSidebar:{raw:w.rawShortcut.primaryShift(","),display:w.displayShortcut.primaryShift(","),ariaLabel:w.shortcutAriaLabel.primaryShift(",")}},tt=[{value:"visual",label:Object(E.__)("Visual Editor")},{value:"text",label:Object(E.__)("Code Editor")}];var nt=Object(g.compose)([Object(h.withSelect)((function(e){return{isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled,isCodeEditingEnabled:e("core/editor").getEditorSettings().codeEditingEnabled,mode:e("core/edit-post").getEditorMode()}})),Object(g.ifCondition)((function(e){var t=e.isRichEditingEnabled,n=e.isCodeEditingEnabled;return t&&n})),Object(h.withDispatch)((function(e){return{onSwitch:function(t){e("core/edit-post").switchEditorMode(t)}}}))])((function(e){var t=e.onSwitch,n=e.mode,o=tt.map((function(e){return e.value!==n?Object(D.a)({},e,{shortcut:et.toggleEditorMode.display}):e}));return Object(c.createElement)(j.MenuGroup,{label:Object(E.__)("Editor")},Object(c.createElement)(j.MenuItemsChoice,{choices:o,value:n,onSelect:t}))})),ot=Object(j.createSlotFill)("PluginsMoreMenuGroup"),rt=ot.Fill,ct=ot.Slot;rt.Slot=function(e){var t=e.fillProps;return Object(c.createElement)(ct,{fillProps:t},(function(e){return!Object(O.isEmpty)(e)&&Object(c.createElement)(j.MenuGroup,{label:Object(E.__)("Plugins")},e)}))};var it=rt;var at=Object(h.withDispatch)((function(e){return{openModal:e("core/edit-post").openModal}}))((function(e){var t=e.openModal;return Object(c.createElement)(j.MenuItem,{onClick:function(){t("edit-post/options")}},Object(E.__)("Options"))}));var lt=Object(g.compose)([Object(h.withSelect)((function(e,t){var n=t.feature;return{isActive:e("core/edit-post").isFeatureActive(n)}})),Object(h.withDispatch)((function(e,t){return{onToggle:function(){e("core/edit-post").toggleFeature(t.feature)}}})),j.withSpokenMessages])((function(e){var t=e.onToggle,n=e.isActive,o=e.label,r=e.info,i=e.messageActivated,a=e.messageDeactivated,l=e.speak;return Object(c.createElement)(j.MenuItem,{icon:n&&"yes",isSelected:n,onClick:Object(O.flow)(t,(function(){l(n?a||Object(E.__)("Feature deactivated"):i||Object(E.__)("Feature activated"))})),role:"menuitemcheckbox",info:r},o)}));var st=Object(s.ifViewportMatches)("medium")((function(){return Object(c.createElement)(j.MenuGroup,{label:Object(E._x)("View","noun")},Object(c.createElement)(lt,{feature:"fixedToolbar",label:Object(E.__)("Top Toolbar"),info:Object(E.__)("Access all block and document tools in a single place"),messageActivated:Object(E.__)("Top toolbar activated"),messageDeactivated:Object(E.__)("Top toolbar deactivated")}),Object(c.createElement)(lt,{feature:"focusMode",label:Object(E.__)("Spotlight Mode"),info:Object(E.__)("Focus on one block at a time"),messageActivated:Object(E.__)("Spotlight mode activated"),messageDeactivated:Object(E.__)("Spotlight mode deactivated")}),Object(c.createElement)(lt,{feature:"fullscreenMode",label:Object(E.__)("Fullscreen Mode"),info:Object(E.__)("Work without distraction"),messageActivated:Object(E.__)("Fullscreen mode activated"),messageDeactivated:Object(E.__)("Fullscreen mode deactivated")}))})),ut={className:"edit-post-more-menu__content",position:"bottom left"},dt={labelPosition:"bottom"},bt=function(){return Object(c.createElement)(j.DropdownMenu,{className:"edit-post-more-menu",icon:"ellipsis",label:Object(E.__)("More tools & options"),popoverProps:ut,toggleProps:dt},(function(e){var t=e.onClose;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(st,null),Object(c.createElement)(nt,null),Object(c.createElement)(it.Slot,{fillProps:{onClose:t}}),Object(c.createElement)(A.Slot,{fillProps:{onClose:t}}),Object(c.createElement)(j.MenuGroup,null,Object(c.createElement)(at,null)))}))},pt=Object(j.createSlotFill)("PinnedPlugins"),mt=pt.Fill,Ot=pt.Slot;mt.Slot=function(e){return Object(c.createElement)(Ot,e,(function(e){return!Object(O.isEmpty)(e)&&Object(c.createElement)("div",{className:"edit-post-pinned-plugins"},e)}))};var ft=mt;var jt=Object(g.compose)(Object(h.withSelect)((function(e){return{hasPublishAction:Object(O.get)(e("core/editor").getCurrentPost(),["_links","wp:action-publish"],!1),isBeingScheduled:e("core/editor").isEditedPostBeingScheduled(),isPending:e("core/editor").isCurrentPostPending(),isPublished:e("core/editor").isCurrentPostPublished(),isPublishSidebarEnabled:e("core/editor").isPublishSidebarEnabled(),isPublishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),isScheduled:e("core/editor").isCurrentPostScheduled()}})),Object(h.withDispatch)((function(e){return{togglePublishSidebar:e("core/edit-post").togglePublishSidebar}})),Object(s.withViewportMatch)({isLessThanMediumViewport:"< medium"}))((function(e){var t,n=e.forceIsDirty,o=e.forceIsSaving,r=e.hasPublishAction,i=e.isBeingScheduled,l=e.isLessThanMediumViewport,s=e.isPending,u=e.isPublished,d=e.isPublishSidebarEnabled,b=e.isPublishSidebarOpened,p=e.isScheduled,m=e.togglePublishSidebar;return t=u||p&&i||s&&!r&&!l?"button":l?"toggle":d?"toggle":"button",Object(c.createElement)(a.PostPublishButton,{forceIsDirty:n,forceIsSaving:o,isOpen:b,isToggle:"toggle"===t,onToggle:m})}));var ht=Object(g.compose)(Object(h.withSelect)((function(e){return{hasActiveMetaboxes:e("core/edit-post").hasMetaBoxes(),isEditorSidebarOpened:e("core/edit-post").isEditorSidebarOpened(),isPublishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),isSaving:e("core/edit-post").isSavingMetaBoxes()}})),Object(h.withDispatch)((function(e,t,n){var o=(0,n.select)("core/block-editor").getBlockSelectionStart,r=e("core/edit-post"),c=r.openGeneralSidebar;return{openGeneralSidebar:function(){return c(o()?"edit-post/block":"edit-post/document")},closeGeneralSidebar:r.closeGeneralSidebar}})))((function(e){var t=e.closeGeneralSidebar,n=e.hasActiveMetaboxes,o=e.isEditorSidebarOpened,r=e.isPublishSidebarOpened,i=e.isSaving,s=e.openGeneralSidebar,u=o?t:s;return Object(c.createElement)("div",{role:"region","aria-label":Object(E.__)("Editor top bar"),className:"edit-post-header",tabIndex:"-1"},Object(c.createElement)("div",{className:"edit-post-header__toolbar"},Object(c.createElement)(Ze,null),Object(c.createElement)(Je,null)),Object(c.createElement)("div",{className:"edit-post-header__settings"},!r&&Object(c.createElement)(a.PostSavedState,{forceIsDirty:n,forceIsSaving:i}),Object(c.createElement)(a.PostPreviewButton,{forceIsAutosaveable:n,forcePreviewLink:i?null:void 0}),Object(c.createElement)(jt,{forceIsDirty:n,forceIsSaving:i}),Object(c.createElement)("div",null,Object(c.createElement)(j.IconButton,{icon:"admin-generic",label:Object(E.__)("Settings"),onClick:u,isToggled:o,"aria-expanded":o,shortcut:et.toggleSidebar}),Object(c.createElement)(l.DotTip,{tipId:"core/editor.settings"},Object(E.__)("You’ll find more settings for your page and blocks in the sidebar. Click the cog icon to toggle the sidebar open and closed."))),Object(c.createElement)(ft.Slot,null),Object(c.createElement)(bt,null)))}));var Et=Object(g.compose)(Object(h.withSelect)((function(e){return{isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled}})),Object(h.withDispatch)((function(e){return{onExit:function(){e("core/edit-post").switchEditorMode("visual")}}})))((function(e){var t=e.onExit,n=e.isRichEditingEnabled;return Object(c.createElement)("div",{className:"edit-post-text-editor"},n&&Object(c.createElement)("div",{className:"edit-post-text-editor__toolbar"},Object(c.createElement)("h2",null,Object(E.__)("Editing Code")),Object(c.createElement)(j.IconButton,{onClick:t,icon:"no-alt",shortcut:w.displayShortcut.secondary("m")},Object(E.__)("Exit Code Editor")),Object(c.createElement)(a.TextEditorGlobalKeyboardShortcuts,null)),Object(c.createElement)("div",{className:"edit-post-text-editor__body"},Object(c.createElement)(a.PostTitle,null),Object(c.createElement)(a.PostTextEditor,null)))}));var gt=Object(g.compose)(Object(h.withSelect)((function(e){return{areAdvancedSettingsOpened:"edit-post/block"===e("core/edit-post").getActiveGeneralSidebarName()}})),Object(h.withDispatch)((function(e){return{openEditorSidebar:function(){return e("core/edit-post").openGeneralSidebar("edit-post/block")},closeSidebar:e("core/edit-post").closeGeneralSidebar}})),j.withSpokenMessages)((function(e){var t=e.areAdvancedSettingsOpened,n=e.closeSidebar,o=e.openEditorSidebar,r=e.onClick,i=void 0===r?O.noop:r,a=e.small,l=void 0!==a&&a,s=e.speak,u=t?Object(E.__)("Hide Block Settings"):Object(E.__)("Show Block Settings");return Object(c.createElement)(j.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(O.flow)(t?n:o,(function(){s(t?Object(E.__)("Block settings closed"):Object(E.__)("Additional settings are now available in the Editor block settings sidebar"))}),i),icon:"admin-generic",shortcut:et.toggleSidebar},!l&&u)})),vt=Object(j.createSlotFill)("PluginBlockSettingsMenuGroup"),_t=vt.Fill,yt=vt.Slot;_t.Slot=Object(h.withSelect)((function(e,t){var n=t.fillProps.clientIds;return{selectedBlocks:e("core/block-editor").getBlocksByClientId(n)}}))((function(e){var t=e.fillProps,n=e.selectedBlocks;return n=Object(O.map)(n,(function(e){return e.name})),Object(c.createElement)(yt,{fillProps:Object(D.a)({},t,{selectedBlocks:n})},(function(e){return!Object(O.isEmpty)(e)&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:"editor-block-settings-menu__separator block-editor-block-settings-menu__separator"}),e)}))}));var St=_t;var kt=function(){return Object(c.createElement)(i.BlockSelectionClearer,{className:"edit-post-visual-editor editor-styles-wrapper"},Object(c.createElement)(a.VisualEditorGlobalKeyboardShortcuts,null),Object(c.createElement)(i.MultiSelectScrollIntoView,null),Object(c.createElement)(i.Typewriter,null,Object(c.createElement)(i.WritingFlow,null,Object(c.createElement)(i.ObserveTyping,null,Object(c.createElement)(i.CopyHandler,null,Object(c.createElement)(a.PostTitle,null),Object(c.createElement)(i.BlockList,null))))),Object(c.createElement)(i.__experimentalBlockSettingsMenuFirstItem,null,(function(e){var t=e.onClose;return Object(c.createElement)(gt,{onClick:t})})),Object(c.createElement)(i.__experimentalBlockSettingsMenuPluginsExtension,null,(function(e){var t=e.clientIds,n=e.onClose;return Object(c.createElement)(St.Slot,{fillProps:{clientIds:t,onClose:n}})})))},Pt=n(5),wt=function(e){function t(){var e;return Object(Ge.a)(this,t),(e=Object(Ue.a)(this,Object(He.a)(t).apply(this,arguments))).toggleMode=e.toggleMode.bind(Object(Pt.a)(e)),e.toggleSidebar=e.toggleSidebar.bind(Object(Pt.a)(e)),e}return Object(We.a)(t,e),Object(Ve.a)(t,[{key:"toggleMode",value:function(){var e=this.props,t=e.mode,n=e.switchMode;e.isModeSwitchEnabled&&n("visual"===t?"text":"visual")}},{key:"toggleSidebar",value:function(e){e.preventDefault();var t=this.props,n=t.isEditorSidebarOpen,o=t.closeSidebar,r=t.openSidebar;n?o():r()}},{key:"render",value:function(){var e;return Object(c.createElement)(j.KeyboardShortcuts,{bindGlobal:!0,shortcuts:(e={},Object(I.a)(e,et.toggleEditorMode.raw,this.toggleMode),Object(I.a)(e,et.toggleSidebar.raw,this.toggleSidebar),e)})}}]),t}(c.Component),Ct=Object(g.compose)([Object(h.withSelect)((function(e){var t=e("core/editor").getEditorSettings(),n=t.richEditingEnabled,o=t.codeEditingEnabled;return{isModeSwitchEnabled:n&&o,mode:e("core/edit-post").getEditorMode(),isEditorSidebarOpen:e("core/edit-post").isEditorSidebarOpened()}})),Object(h.withDispatch)((function(e,t,n){var o=n.select;return{switchMode:function(t){e("core/edit-post").switchEditorMode(t)},openSidebar:function(){var t=(0,o("core/block-editor").getBlockSelectionStart)()?"edit-post/block":"edit-post/document";e("core/edit-post").openGeneralSidebar(t)},closeSidebar:e("core/edit-post").closeGeneralSidebar}}))])(wt),Tt=w.displayShortcutList.primary,xt=w.displayShortcutList.primaryShift,Nt=w.displayShortcutList.primaryAlt,At=w.displayShortcutList.secondary,Mt=w.displayShortcutList.access,Bt=w.displayShortcutList.ctrl,It=w.displayShortcutList.alt,Dt=w.displayShortcutList.ctrlShift,Lt=[{className:"edit-post-keyboard-shortcut-help__main-shortcuts",shortcuts:[{keyCombination:Mt("h"),description:Object(E.__)("Display these keyboard shortcuts.")}]},{title:Object(E.__)("Global shortcuts"),shortcuts:[{keyCombination:Tt("s"),description:Object(E.__)("Save your changes.")},{keyCombination:Tt("z"),description:Object(E.__)("Undo your last changes.")},{keyCombination:xt("z"),description:Object(E.__)("Redo your last undo.")},{keyCombination:xt(","),description:Object(E.__)("Show or hide the settings sidebar."),ariaLabel:w.shortcutAriaLabel.primaryShift(",")},{keyCombination:Mt("o"),description:Object(E.__)("Open the block navigation menu.")},{keyCombination:Bt("`"),description:Object(E.__)("Navigate to the next part of the editor."),ariaLabel:w.shortcutAriaLabel.ctrl("`")},{keyCombination:Dt("`"),description:Object(E.__)("Navigate to the previous part of the editor."),ariaLabel:w.shortcutAriaLabel.ctrlShift("`")},{keyCombination:Mt("n"),description:Object(E.__)("Navigate to the next part of the editor (alternative).")},{keyCombination:Mt("p"),description:Object(E.__)("Navigate to the previous part of the editor (alternative).")},{keyCombination:It("F10"),description:Object(E.__)("Navigate to the nearest toolbar.")},{keyCombination:At("m"),description:Object(E.__)("Switch between Visual Editor and Code Editor.")}]},{title:Object(E.__)("Selection shortcuts"),shortcuts:[{keyCombination:Tt("a"),description:Object(E.__)("Select all text when typing. Press again to select all blocks.")},{keyCombination:"Esc",description:Object(E.__)("Clear selection."),ariaLabel:Object(E.__)("Escape")}]},{title:Object(E.__)("Block shortcuts"),shortcuts:[{keyCombination:xt("d"),description:Object(E.__)("Duplicate the selected block(s).")},{keyCombination:Mt("z"),description:Object(E.__)("Remove the selected block(s).")},{keyCombination:Nt("t"),description:Object(E.__)("Insert a new block before the selected block(s).")},{keyCombination:Nt("y"),description:Object(E.__)("Insert a new block after the selected block(s).")},{keyCombination:"/",description:Object(E.__)("Change the block type after adding a new paragraph."),ariaLabel:Object(E.__)("Forward-slash")}]},{title:Object(E.__)("Text formatting"),shortcuts:[{keyCombination:Tt("b"),description:Object(E.__)("Make the selected text bold.")},{keyCombination:Tt("i"),description:Object(E.__)("Make the selected text italic.")},{keyCombination:Tt("k"),description:Object(E.__)("Convert the selected text into a link.")},{keyCombination:xt("k"),description:Object(E.__)("Remove a link.")},{keyCombination:Tt("u"),description:Object(E.__)("Underline the selected text.")}]}],Ft="edit-post/keyboard-shortcut-help",Rt=function(e){var t=e.shortcuts;return(Object(c.createElement)("ul",{className:"edit-post-keyboard-shortcut-help__shortcut-list",role:"list"},t.map((function(e,t){var n=e.keyCombination,o=e.description,r=e.ariaLabel;return Object(c.createElement)("li",{className:"edit-post-keyboard-shortcut-help__shortcut",key:t},Object(c.createElement)("div",{className:"edit-post-keyboard-shortcut-help__shortcut-description"},o),Object(c.createElement)("div",{className:"edit-post-keyboard-shortcut-help__shortcut-term"},Object(c.createElement)("kbd",{className:"edit-post-keyboard-shortcut-help__shortcut-key-combination","aria-label":r},function(e){return e.map((function(e,t){return"+"===e?Object(c.createElement)(c.Fragment,{key:t},e):Object(c.createElement)("kbd",{key:t,className:"edit-post-keyboard-shortcut-help__shortcut-key"},e)}))}(Object(O.castArray)(n)))))}))))},Gt=function(e){var t=e.title,n=e.shortcuts,o=e.className;return Object(c.createElement)("section",{className:ze()("edit-post-keyboard-shortcut-help__section",o)},!!t&&Object(c.createElement)("h2",{className:"edit-post-keyboard-shortcut-help__section-title"},t),Object(c.createElement)(Rt,{shortcuts:n}))};var Vt=Object(g.compose)([Object(h.withSelect)((function(e){return{isModalActive:e("core/edit-post").isModalActive(Ft)}})),Object(h.withDispatch)((function(e,t){var n=t.isModalActive,o=e("core/edit-post"),r=o.openModal,c=o.closeModal;return{toggleModal:function(){return n?c():r(Ft)}}}))])((function(e){var t=e.isModalActive,n=e.toggleModal;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(j.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(I.a)({},w.rawShortcut.access("h"),n)}),t&&Object(c.createElement)(j.Modal,{className:"edit-post-keyboard-shortcut-help",title:Object(E.__)("Keyboard Shortcuts"),closeLabel:Object(E.__)("Close"),onRequestClose:n},Lt.map((function(e,t){return Object(c.createElement)(Gt,Object(p.a)({key:t},e))}))))}));var Ut=function(e){var t=e.blockTypes,n=e.value,o=e.onItemChange;return Object(c.createElement)("ul",{className:"edit-post-manage-blocks-modal__checklist"},t.map((function(e){return Object(c.createElement)("li",{key:e.name,className:"edit-post-manage-blocks-modal__checklist-item"},Object(c.createElement)(j.CheckboxControl,{label:Object(c.createElement)(c.Fragment,null,e.title,Object(c.createElement)(i.BlockIcon,{icon:e.icon})),checked:n.includes(e.name),onChange:Object(O.partial)(o,e.name)}))})))},Ht=Object(c.createContext)({});var Wt=Object(g.compose)([g.withInstanceId,Object(h.withSelect)((function(e){return{hiddenBlockTypes:(0,e("core/edit-post").getPreference)("hiddenBlockTypes")}})),Object(h.withDispatch)((function(e,t){var n=e("core/edit-post"),o=n.showBlockTypes,r=n.hideBlockTypes;return{toggleVisible:function(e,t){t?o(e):r(e)},toggleAllVisible:function(e){var n=Object(O.map)(t.blockTypes,"name");e?o(n):r(n)}}}))])((function(e){var t=e.instanceId,n=e.category,o=e.blockTypes,r=e.hiddenBlockTypes,i=e.toggleVisible,a=e.toggleAllVisible,l=Object(c.useContext)(Ht).allowedBlockTypes,s=Object(c.useMemo)((function(){return!0===l?o:o.filter((function(e){var t=e.name;return Object(O.includes)(l||[],t)}))}),[l,o]);if(!s.length)return null;var u,d=O.without.apply(void 0,[Object(O.map)(s,"name")].concat(Object(B.a)(r))),b="edit-post-manage-blocks-modal__category-title-"+t,p=d.length===s.length;return u=p?"true":d.length>0?"mixed":"false",Object(c.createElement)("div",{role:"group","aria-labelledby":b,className:"edit-post-manage-blocks-modal__category"},Object(c.createElement)(j.CheckboxControl,{checked:p,onChange:a,className:"edit-post-manage-blocks-modal__category-title","aria-checked":u,label:Object(c.createElement)("span",{id:b},n.title)}),Object(c.createElement)(Ut,{blockTypes:s,value:d,onItemChange:i}))}));var qt=Object(g.compose)([Object(g.withState)({search:""}),Object(h.withSelect)((function(e){var t=e("core/blocks"),n=t.getBlockTypes,o=t.getCategories,r=t.hasBlockSupport,c=t.isMatchingSearchTerm,i=(0,e("core/edit-post").getPreference)("hiddenBlockTypes"),a=Object(O.isArray)(i)&&i.length;return{blockTypes:n(),categories:o(),hasBlockSupport:r,isMatchingSearchTerm:c,numberOfHiddenBlocks:a}}))])((function(e){var t=e.search,n=e.setState,o=e.blockTypes,r=e.categories,i=e.hasBlockSupport,a=e.isMatchingSearchTerm,l=e.numberOfHiddenBlocks;return o=o.filter((function(e){return i(e,"inserter",!0)&&(!t||a(e,t))&&!e.parent})),Object(c.createElement)("div",{className:"edit-post-manage-blocks-modal__content"},Object(c.createElement)(j.TextControl,{type:"search",label:Object(E.__)("Search for a block"),value:t,onChange:function(e){return n({search:e})},className:"edit-post-manage-blocks-modal__search"}),!!l&&Object(c.createElement)("div",{className:"edit-post-manage-blocks-modal__disabled-blocks-count"},Object(E.sprintf)(Object(E._n)("%1$d block is disabled.","%1$d blocks are disabled.",l),l)),Object(c.createElement)("div",{tabIndex:"0",role:"region","aria-label":Object(E.__)("Available block types"),className:"edit-post-manage-blocks-modal__results"},0===o.length&&Object(c.createElement)("p",{className:"edit-post-manage-blocks-modal__no-results"},Object(E.__)("No blocks found.")),r.map((function(e){return Object(c.createElement)(Wt,{key:e.slug,category:e,blockTypes:Object(O.filter)(o,{category:e.slug})})}))))}));var Kt=Object(g.compose)([Object(h.withSelect)((function(e){return{isActive:(0,e("core/edit-post").isModalActive)("edit-post/manage-blocks")}})),Object(h.withDispatch)((function(e){return{closeModal:e("core/edit-post").closeModal}}))])((function(e){var t=e.isActive,n=e.closeModal;return t?Object(c.createElement)(j.Modal,{className:"edit-post-manage-blocks-modal",title:Object(E.__)("Block Manager"),closeLabel:Object(E.__)("Close"),onRequestClose:n},Object(c.createElement)(qt,null)):null})),Qt=function(e){var t=e.title,n=e.children;return Object(c.createElement)("section",{className:"edit-post-options-modal__section"},Object(c.createElement)("h2",{className:"edit-post-options-modal__section-title"},t),n)};var Xt=function(e){var t=e.label,n=e.isChecked,o=e.onChange,r=e.children;return Object(c.createElement)("div",{className:"edit-post-options-modal__option"},Object(c.createElement)(j.CheckboxControl,{label:t,checked:n,onChange:o}),r)};function zt(e){var t=e.willEnable,n=Object(c.useState)(!1),o=Object(H.a)(n,2),r=o[0],i=o[1];return Object(c.createElement)(c.Fragment,null,Object(c.createElement)("p",{className:"edit-post-options-modal__custom-fields-confirmation-message"},Object(E.__)("A page reload is required for this change. Make sure your content is saved before reloading.")),Object(c.createElement)(j.Button,{className:"edit-post-options-modal__custom-fields-confirmation-button",isDefault:!0,isBusy:r,disabled:r,onClick:function(){i(!0),document.getElementById("toggle-custom-fields-form").submit()}},t?Object(E.__)("Enable & Reload"):Object(E.__)("Disable & Reload")))}var Yt=Object(h.withSelect)((function(e){return{areCustomFieldsEnabled:!!e("core/editor").getEditorSettings().enableCustomFields}}))((function(e){var t=e.label,n=e.areCustomFieldsEnabled,o=Object(c.useState)(n),r=Object(H.a)(o,2),i=r[0],a=r[1];return Object(c.createElement)(Xt,{label:t,isChecked:i,onChange:a},i!==n&&Object(c.createElement)(zt,{willEnable:i}))})),$t=Object(g.compose)(Object(h.withSelect)((function(e,t){var n=t.panelName,o=e("core/edit-post"),r=o.isEditorPanelEnabled;return{isRemoved:(0,o.isEditorPanelRemoved)(n),isChecked:r(n)}})),Object(g.ifCondition)((function(e){return!e.isRemoved})),Object(h.withDispatch)((function(e,t){var n=t.panelName;return{onChange:function(){return e("core/edit-post").toggleEditorPanelEnabled(n)}}})))(Xt),Zt=Object(j.createSlotFill)("EnablePluginDocumentSettingPanelOption"),Jt=Zt.Fill,en=Zt.Slot,tn=function(e){var t=e.label,n=e.panelName;return Object(c.createElement)(Jt,null,Object(c.createElement)($t,{label:t,panelName:n}))};tn.Slot=en;var nn=tn,on=Object(g.compose)(Object(h.withSelect)((function(e){return{isChecked:e("core/editor").isPublishSidebarEnabled()}})),Object(h.withDispatch)((function(e){var t=e("core/editor"),n=t.enablePublishSidebar,o=t.disablePublishSidebar;return{onChange:function(e){return e?n():o()}}})),Object(s.ifViewportMatches)("medium"))(Xt),rn=function(e){function t(e){var n,o=e.isChecked;return Object(Ge.a)(this,t),(n=Object(Ue.a)(this,Object(He.a)(t).apply(this,arguments))).state={isChecked:o},n}return Object(We.a)(t,e),Object(Ve.a)(t,[{key:"componentWillUnmount",value:function(){this.state.isChecked!==this.props.isChecked&&this.props.onChange(this.state.isChecked)}},{key:"render",value:function(){var e=this;return Object(c.createElement)(Xt,{label:this.props.label,isChecked:this.state.isChecked,onChange:function(t){return e.setState({isChecked:t})}})}}]),t}(c.Component),cn=Object(g.compose)(Object(h.withSelect)((function(e){return{isChecked:e("core/nux").areTipsEnabled()}})),Object(h.withDispatch)((function(e){var t=e("core/nux"),n=t.enableTips,o=t.disableTips;return{onChange:function(e){return e?n():o()}}})))(rn),an=Object(g.compose)(Object(h.withSelect)((function(e,t){var n=t.feature;return{isChecked:e("core/edit-post").isFeatureActive(n)}})),Object(h.withDispatch)((function(e,t){var n=t.feature,o=e("core/edit-post").toggleFeature;return{onChange:function(){o(n)}}})))(Xt);var ln=Object(h.withSelect)((function(e){var t=e("core/editor").getEditorSettings,n=e("core/edit-post").getAllMetaBoxes;return{areCustomFieldsRegistered:void 0!==t().enableCustomFields,metaBoxes:n()}}))((function(e){var t=e.areCustomFieldsRegistered,n=e.metaBoxes,o=Object(m.a)(e,["areCustomFieldsRegistered","metaBoxes"]),r=Object(O.filter)(n,(function(e){return"postcustom"!==e.id}));return t||0!==r.length?Object(c.createElement)(Qt,o,t&&Object(c.createElement)(Yt,{label:Object(E.__)("Custom Fields")}),Object(O.map)(r,(function(e){var t=e.id,n=e.title;return Object(c.createElement)($t,{key:t,label:n,panelName:"meta-box-".concat(t)})}))):null}));var sn=Object(g.compose)(Object(h.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute,n=(0,e("core").getPostType)(t("type"));return{isModalActive:e("core/edit-post").isModalActive("edit-post/options"),isViewable:Object(O.get)(n,["viewable"],!1)}})),Object(h.withDispatch)((function(e){return{closeModal:function(){return e("core/edit-post").closeModal()}}})))((function(e){var t=e.isModalActive,n=e.isViewable,o=e.closeModal;return t?Object(c.createElement)(j.Modal,{className:"edit-post-options-modal",title:Object(E.__)("Options"),closeLabel:Object(E.__)("Close"),onRequestClose:o},Object(c.createElement)(Qt,{title:Object(E.__)("General")},Object(c.createElement)(on,{label:Object(E.__)("Pre-publish Checks")}),Object(c.createElement)(cn,{label:Object(E.__)("Tips")}),Object(c.createElement)(an,{feature:"showInserterHelpPanel",label:Object(E.__)("Inserter Help Panel")})),Object(c.createElement)(Qt,{title:Object(E.__)("Document Panels")},Object(c.createElement)(nn.Slot,null),n&&Object(c.createElement)($t,{label:Object(E.__)("Permalink"),panelName:"post-link"}),Object(c.createElement)(a.PostTaxonomies,{taxonomyWrapper:function(e,t){return Object(c.createElement)($t,{label:Object(O.get)(t,["labels","menu_name"]),panelName:"taxonomy-panel-".concat(t.slug)})}}),Object(c.createElement)(a.PostFeaturedImageCheck,null,Object(c.createElement)($t,{label:Object(E.__)("Featured Image"),panelName:"featured-image"})),Object(c.createElement)(a.PostExcerptCheck,null,Object(c.createElement)($t,{label:Object(E.__)("Excerpt"),panelName:"post-excerpt"})),Object(c.createElement)(a.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(c.createElement)($t,{label:Object(E.__)("Discussion"),panelName:"discussion-panel"})),Object(c.createElement)(a.PageAttributesCheck,null,Object(c.createElement)($t,{label:Object(E.__)("Page Attributes"),panelName:"page-attributes"}))),Object(c.createElement)(ln,{title:Object(E.__)("Advanced Panels")})):null})),un=function(e){function t(){var e;return Object(Ge.a)(this,t),(e=Object(Ue.a)(this,Object(He.a)(t).apply(this,arguments))).bindContainerNode=e.bindContainerNode.bind(Object(Pt.a)(e)),e}return Object(We.a)(t,e),Object(Ve.a)(t,[{key:"componentDidMount",value:function(){this.form=document.querySelector(".metabox-location-"+this.props.location),this.form&&this.container.appendChild(this.form)}},{key:"componentWillUnmount",value:function(){this.form&&document.querySelector("#metaboxes").appendChild(this.form)}},{key:"bindContainerNode",value:function(e){this.container=e}},{key:"render",value:function(){var e=this.props,t=e.location,n=e.isSaving,o=ze()("edit-post-meta-boxes-area","is-".concat(t),{"is-loading":n});return Object(c.createElement)("div",{className:o},n&&Object(c.createElement)(j.Spinner,null),Object(c.createElement)("div",{className:"edit-post-meta-boxes-area__container",ref:this.bindContainerNode}),Object(c.createElement)("div",{className:"edit-post-meta-boxes-area__clear"}))}}]),t}(c.Component),dn=Object(h.withSelect)((function(e){return{isSaving:e("core/edit-post").isSavingMetaBoxes()}}))(un),bn=function(e){function t(){return Object(Ge.a)(this,t),Object(Ue.a)(this,Object(He.a)(t).apply(this,arguments))}return Object(We.a)(t,e),Object(Ve.a)(t,[{key:"componentDidMount",value:function(){this.updateDOM()}},{key:"componentDidUpdate",value:function(e){this.props.isVisible!==e.isVisible&&this.updateDOM()}},{key:"updateDOM",value:function(){var e=this.props,t=e.id,n=e.isVisible,o=document.getElementById(t);o&&(n?o.classList.remove("is-hidden"):o.classList.add("is-hidden"))}},{key:"render",value:function(){return null}}]),t}(c.Component),pn=Object(h.withSelect)((function(e,t){var n=t.id;return{isVisible:e("core/edit-post").isEditorPanelEnabled("meta-box-".concat(n))}}))(bn);var mn=Object(h.withSelect)((function(e,t){var n=t.location,o=e("core/edit-post"),r=o.isMetaBoxLocationVisible;return{metaBoxes:(0,o.getMetaBoxesPerLocation)(n),isVisible:r(n)}}))((function(e){var t=e.location,n=e.isVisible,o=e.metaBoxes;return Object(c.createElement)(c.Fragment,null,Object(O.map)(o,(function(e){var t=e.id;return Object(c.createElement)(pn,{key:t,id:t})})),n&&Object(c.createElement)(dn,{location:t}))})),On=Object(j.createSlotFill)("Sidebar"),fn=On.Fill,jn=On.Slot;function hn(e){var t=e.children,n=e.label,o=e.className;return Object(c.createElement)("div",{className:ze()("edit-post-sidebar",o),role:"region","aria-label":n,tabIndex:"-1"},t)}hn=Object(j.withFocusReturn)({onFocusReturn:function(){var e=document.querySelector('.edit-post-header__settings [aria-label="Settings"]');if(e)return e.focus(),!1}})(hn);var En=Object(g.compose)(Object(h.withSelect)((function(e,t){var n=t.name;return{isActive:e("core/edit-post").getActiveGeneralSidebarName()===n}})),Object(g.ifCondition)((function(e){return e.isActive})))((function(e){return Object(c.createElement)(fn,null,Object(c.createElement)(j.Animate,{type:"slide-in",options:{origin:"left"}},(function(){return Object(c.createElement)(hn,e)})))}));En.Slot=jn;var gn=En,vn=Object(g.compose)(Object(h.withSelect)((function(e){return{title:e("core/editor").getEditedPostAttribute("title")}})),Object(h.withDispatch)((function(e){return{closeSidebar:e("core/edit-post").closeGeneralSidebar}})))((function(e){var t=e.children,n=e.className,o=e.closeLabel,r=e.closeSidebar,i=e.title;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:"components-panel__header edit-post-sidebar-header__small"},Object(c.createElement)("span",{className:"edit-post-sidebar-header__title"},i||Object(E.__)("(no title)")),Object(c.createElement)(j.IconButton,{onClick:r,icon:"no-alt",label:o})),Object(c.createElement)("div",{className:ze()("components-panel__header edit-post-sidebar-header",n)},t,Object(c.createElement)(j.IconButton,{onClick:r,icon:"no-alt",label:o,shortcut:et.toggleSidebar})))})),_n=Object(h.withDispatch)((function(e){var t=e("core/edit-post").openGeneralSidebar,n=e("core/block-editor").clearSelectedBlock;return{openDocumentSettings:function(){t("edit-post/document"),n()},openBlockSettings:function(){t("edit-post/block")}}}))((function(e){var t=e.openDocumentSettings,n=e.openBlockSettings,o=e.sidebarName,r=Object(E.__)("Block"),i="edit-post/document"===o?[Object(E.__)("Document (selected)"),"is-active"]:[Object(E.__)("Document"),""],a=Object(H.a)(i,2),l=a[0],s=a[1],u="edit-post/block"===o?[Object(E.__)("Block (selected)"),"is-active"]:[Object(E.__)("Block"),""],d=Object(H.a)(u,2),b=d[0],p=d[1];return Object(c.createElement)(vn,{className:"edit-post-sidebar__panel-tabs",closeLabel:Object(E.__)("Close settings")},Object(c.createElement)("ul",null,Object(c.createElement)("li",null,Object(c.createElement)("button",{onClick:t,className:"edit-post-sidebar__panel-tab ".concat(s),"aria-label":l,"data-label":Object(E.__)("Document")},Object(E.__)("Document"))),Object(c.createElement)("li",null,Object(c.createElement)("button",{onClick:n,className:"edit-post-sidebar__panel-tab ".concat(p),"aria-label":b,"data-label":r},r))))}));var yn=function(){return Object(c.createElement)(a.PostVisibilityCheck,{render:function(e){var t=e.canEdit;return Object(c.createElement)(j.PanelRow,{className:"edit-post-post-visibility"},Object(c.createElement)("span",null,Object(E.__)("Visibility")),!t&&Object(c.createElement)("span",null,Object(c.createElement)(a.PostVisibilityLabel,null)),t&&Object(c.createElement)(j.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-visibility__dialog",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(c.createElement)(j.Button,{type:"button","aria-expanded":t,className:"edit-post-post-visibility__toggle",onClick:n,isLink:!0},Object(c.createElement)(a.PostVisibilityLabel,null))},renderContent:function(){return Object(c.createElement)(a.PostVisibility,null)}}))}})};function Sn(){return Object(c.createElement)(a.PostTrashCheck,null,Object(c.createElement)(j.PanelRow,null,Object(c.createElement)(a.PostTrash,null)))}var kn=function(){return Object(c.createElement)(a.PostScheduleCheck,null,Object(c.createElement)(j.PanelRow,{className:"edit-post-post-schedule"},Object(c.createElement)("span",null,Object(E.__)("Publish")),Object(c.createElement)(j.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-schedule__dialog",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(j.Button,{type:"button",className:"edit-post-post-schedule__toggle",onClick:t,"aria-expanded":n,isLink:!0},Object(c.createElement)(a.PostScheduleLabel,null)))},renderContent:function(){return Object(c.createElement)(a.PostSchedule,null)}})))};var Pn=function(){return Object(c.createElement)(a.PostStickyCheck,null,Object(c.createElement)(j.PanelRow,null,Object(c.createElement)(a.PostSticky,null)))};var wn=function(){return Object(c.createElement)(a.PostAuthorCheck,null,Object(c.createElement)(j.PanelRow,null,Object(c.createElement)(a.PostAuthor,null)))};var Cn=function(){return Object(c.createElement)(a.PostFormatCheck,null,Object(c.createElement)(j.PanelRow,null,Object(c.createElement)(a.PostFormat,null)))};var Tn=function(){return Object(c.createElement)(a.PostPendingStatusCheck,null,Object(c.createElement)(j.PanelRow,null,Object(c.createElement)(a.PostPendingStatus,null)))},xn=Object(j.createSlotFill)("PluginPostStatusInfo"),Nn=xn.Fill,An=xn.Slot,Mn=function(e){var t=e.children,n=e.className;return Object(c.createElement)(Nn,null,Object(c.createElement)(j.PanelRow,{className:n},t))};Mn.Slot=An;var Bn=Mn;var In=Object(g.compose)([Object(h.withSelect)((function(e){var t=e("core/edit-post"),n=t.isEditorPanelRemoved,o=t.isEditorPanelOpened;return{isRemoved:n("post-status"),isOpened:o("post-status")}})),Object(g.ifCondition)((function(e){return!e.isRemoved})),Object(h.withDispatch)((function(e){return{onTogglePanel:function(){return e("core/edit-post").toggleEditorPanelOpened("post-status")}}}))])((function(e){var t=e.isOpened,n=e.onTogglePanel;return Object(c.createElement)(j.PanelBody,{className:"edit-post-post-status",title:Object(E.__)("Status & Visibility"),opened:t,onToggle:n},Object(c.createElement)(Bn.Slot,null,(function(e){return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(yn,null),Object(c.createElement)(kn,null),Object(c.createElement)(Cn,null),Object(c.createElement)(Pn,null),Object(c.createElement)(Tn,null),Object(c.createElement)(wn,null),e,Object(c.createElement)(Sn,null))})))}));var Dn=function(){return Object(c.createElement)(a.PostLastRevisionCheck,null,Object(c.createElement)(j.PanelBody,{className:"edit-post-last-revision__panel"},Object(c.createElement)(a.PostLastRevision,null)))};var Ln=Object(g.compose)(Object(h.withSelect)((function(e,t){var n=Object(O.get)(t.taxonomy,["slug"]),o=n?"taxonomy-panel-".concat(n):"";return{panelName:o,isEnabled:!!n&&e("core/edit-post").isEditorPanelEnabled(o),isOpened:!!n&&e("core/edit-post").isEditorPanelOpened(o)}})),Object(h.withDispatch)((function(e,t){return{onTogglePanel:function(){e("core/edit-post").toggleEditorPanelOpened(t.panelName)}}})))((function(e){var t=e.isEnabled,n=e.taxonomy,o=e.isOpened,r=e.onTogglePanel,i=e.children;if(!t)return null;var a=Object(O.get)(n,["labels","menu_name"]);return a?Object(c.createElement)(j.PanelBody,{title:a,opened:o,onToggle:r},i):null}));var Fn=function(){return Object(c.createElement)(a.PostTaxonomiesCheck,null,Object(c.createElement)(a.PostTaxonomies,{taxonomyWrapper:function(e,t){return Object(c.createElement)(Ln,{taxonomy:t},e)}}))};var Rn=Object(h.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute,n=e("core").getPostType,o=e("core/edit-post"),r=o.isEditorPanelEnabled,c=o.isEditorPanelOpened;return{postType:n(t("type")),isEnabled:r("featured-image"),isOpened:c("featured-image")}})),Gn=Object(h.withDispatch)((function(e){var t=e("core/edit-post").toggleEditorPanelOpened;return{onTogglePanel:Object(O.partial)(t,"featured-image")}})),Vn=Object(g.compose)(Rn,Gn)((function(e){var t=e.isEnabled,n=e.isOpened,o=e.postType,r=e.onTogglePanel;return t?Object(c.createElement)(a.PostFeaturedImageCheck,null,Object(c.createElement)(j.PanelBody,{title:Object(O.get)(o,["labels","featured_image"],Object(E.__)("Featured Image")),opened:n,onToggle:r},Object(c.createElement)(a.PostFeaturedImage,null))):null}));var Un=Object(g.compose)([Object(h.withSelect)((function(e){return{isEnabled:e("core/edit-post").isEditorPanelEnabled("post-excerpt"),isOpened:e("core/edit-post").isEditorPanelOpened("post-excerpt")}})),Object(h.withDispatch)((function(e){return{onTogglePanel:function(){return e("core/edit-post").toggleEditorPanelOpened("post-excerpt")}}}))])((function(e){var t=e.isEnabled,n=e.isOpened,o=e.onTogglePanel;return t?Object(c.createElement)(a.PostExcerptCheck,null,Object(c.createElement)(j.PanelBody,{title:Object(E.__)("Excerpt"),opened:n,onToggle:o},Object(c.createElement)(a.PostExcerpt,null))):null}));var Hn=Object(g.compose)([Object(h.withSelect)((function(e){var t=e("core/editor"),n=t.isEditedPostNew,o=t.isPermalinkEditable,r=t.getCurrentPost,c=t.isCurrentPostPublished,i=t.getPermalinkParts,a=t.getEditedPostAttribute,l=e("core/edit-post"),s=l.isEditorPanelEnabled,u=l.isEditorPanelOpened,d=e("core").getPostType,b=r(),p=b.link,m=b.id,f=d(a("type"));return{isNew:n(),postLink:p,isEditable:o(),isPublished:c(),isOpened:u("post-link"),permalinkParts:i(),isEnabled:s("post-link"),isViewable:Object(O.get)(f,["viewable"],!1),postTitle:a("title"),postSlug:a("slug"),postID:m,postTypeLabel:Object(O.get)(f,["labels","view_item"])}})),Object(g.ifCondition)((function(e){var t=e.isEnabled,n=e.isNew,o=e.postLink,r=e.isViewable,c=e.permalinkParts;return t&&!n&&o&&r&&c})),Object(h.withDispatch)((function(e){var t=e("core/edit-post").toggleEditorPanelOpened,n=e("core/editor").editPost;return{onTogglePanel:function(){return t("post-link")},editPermalink:function(e){n({slug:e})}}})),Object(g.withState)({forceEmptyField:!1})])((function(e){var t,n,o,r=e.isOpened,i=e.onTogglePanel,l=e.isEditable,s=e.postLink,u=e.permalinkParts,d=e.editPermalink,b=e.forceEmptyField,p=e.setState,m=e.postTitle,O=e.postSlug,f=e.postID,h=e.postTypeLabel,g=u.prefix,v=u.suffix,_=Object(S.safeDecodeURIComponent)(O)||Object(a.cleanForSlug)(m)||f;return l&&(t=g&&Object(c.createElement)("span",{className:"edit-post-post-link__link-prefix"},g),n=_&&Object(c.createElement)("span",{className:"edit-post-post-link__link-post-name"},_),o=v&&Object(c.createElement)("span",{className:"edit-post-post-link__link-suffix"},v)),Object(c.createElement)(j.PanelBody,{title:Object(E.__)("Permalink"),opened:r,onToggle:i},l&&Object(c.createElement)("div",{className:"editor-post-link"},Object(c.createElement)(j.TextControl,{label:Object(E.__)("URL Slug"),value:b?"":_,onChange:function(e){d(e),e?b&&p({forceEmptyField:!1}):b||p({forceEmptyField:!0})},onBlur:function(e){d(Object(a.cleanForSlug)(e.target.value)),b&&p({forceEmptyField:!1})}}),Object(c.createElement)("p",null,Object(E.__)("The last part of the URL.")," ",Object(c.createElement)(j.ExternalLink,{href:"https://wordpress.org/support/article/writing-posts/#post-field-descriptions"},Object(E.__)("Read about permalinks")))),Object(c.createElement)("p",{className:"edit-post-post-link__preview-label"},h||Object(E.__)("View Post")),Object(c.createElement)("div",{className:"edit-post-post-link__preview-link-container"},Object(c.createElement)(j.ExternalLink,{className:"edit-post-post-link__link",href:s,target:"_blank"},l?Object(c.createElement)(c.Fragment,null,t,n,o):s)))}));var Wn=Object(g.compose)([Object(h.withSelect)((function(e){return{isEnabled:e("core/edit-post").isEditorPanelEnabled("discussion-panel"),isOpened:e("core/edit-post").isEditorPanelOpened("discussion-panel")}})),Object(h.withDispatch)((function(e){return{onTogglePanel:function(){return e("core/edit-post").toggleEditorPanelOpened("discussion-panel")}}}))])((function(e){var t=e.isEnabled,n=e.isOpened,o=e.onTogglePanel;return t?Object(c.createElement)(a.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(c.createElement)(j.PanelBody,{title:Object(E.__)("Discussion"),opened:n,onToggle:o},Object(c.createElement)(a.PostTypeSupportCheck,{supportKeys:"comments"},Object(c.createElement)(j.PanelRow,null,Object(c.createElement)(a.PostComments,null))),Object(c.createElement)(a.PostTypeSupportCheck,{supportKeys:"trackbacks"},Object(c.createElement)(j.PanelRow,null,Object(c.createElement)(a.PostPingbacks,null))))):null}));var qn=Object(h.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute,n=e("core/edit-post"),o=n.isEditorPanelEnabled,r=n.isEditorPanelOpened,c=e("core").getPostType;return{isEnabled:o("page-attributes"),isOpened:r("page-attributes"),postType:c(t("type"))}})),Kn=Object(h.withDispatch)((function(e){var t=e("core/edit-post").toggleEditorPanelOpened;return{onTogglePanel:Object(O.partial)(t,"page-attributes")}})),Qn=Object(g.compose)(qn,Kn)((function(e){var t=e.isEnabled,n=e.isOpened,o=e.onTogglePanel,r=e.postType;return t&&r?Object(c.createElement)(a.PageAttributesCheck,null,Object(c.createElement)(j.PanelBody,{title:Object(O.get)(r,["labels","attributes"],Object(E.__)("Page Attributes")),opened:n,onToggle:o},Object(c.createElement)(a.PageTemplate,null),Object(c.createElement)(a.PageAttributesParent,null),Object(c.createElement)(j.PanelRow,null,Object(c.createElement)(a.PageAttributesOrder,null)))):null})),Xn=Object(j.createSlotFill)("PluginDocumentSettingPanel"),zn=Xn.Fill,Yn=Xn.Slot,$n=Object(g.compose)(Object(y.withPluginContext)((function(e,t){return{icon:t.icon||e.icon,panelName:"".concat(e.name,"/").concat(t.name)}})),Object(h.withSelect)((function(e,t){var n=t.panelName;return{opened:e("core/edit-post").isEditorPanelOpened(n),isEnabled:e("core/edit-post").isEditorPanelEnabled(n)}})),Object(h.withDispatch)((function(e,t){var n=t.panelName;return{onToggle:function(){return e("core/edit-post").toggleEditorPanelOpened(n)}}})))((function(e){var t=e.isEnabled,n=e.panelName,o=e.opened,r=e.onToggle,i=e.className,a=e.title,l=e.icon,s=e.children;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(nn,{label:a,panelName:n}),Object(c.createElement)(zn,null,t&&Object(c.createElement)(j.PanelBody,{className:i,title:a,icon:l,opened:o,onToggle:r},s)))}));$n.Slot=Yn;var Zn=$n,Jn=Object(g.compose)(Object(h.withSelect)((function(e){var t=e("core/edit-post"),n=t.getActiveGeneralSidebarName;return{isEditorSidebarOpened:(0,t.isEditorSidebarOpened)(),sidebarName:n()}})),Object(g.ifCondition)((function(e){return e.isEditorSidebarOpened})))((function(e){var t=e.sidebarName;return Object(c.createElement)(gn,{name:t,label:Object(E.__)("Editor settings")},Object(c.createElement)(_n,{sidebarName:t}),Object(c.createElement)(j.Panel,null,"edit-post/document"===t&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)(In,null),Object(c.createElement)(Zn.Slot,null),Object(c.createElement)(Dn,null),Object(c.createElement)(Hn,null),Object(c.createElement)(Fn,null),Object(c.createElement)(Vn,null),Object(c.createElement)(Un,null),Object(c.createElement)(Wn,null),Object(c.createElement)(Qn,null),Object(c.createElement)(mn,{location:"side"})),"edit-post/block"===t&&Object(c.createElement)(j.PanelBody,{className:"edit-post-settings-sidebar__panel-block"},Object(c.createElement)(i.BlockInspector,null))))})),eo=Object(j.createSlotFill)("PluginPostPublishPanel"),to=eo.Fill,no=eo.Slot,oo=Object(g.compose)(Object(y.withPluginContext)((function(e,t){return{icon:t.icon||e.icon}})))((function(e){var t=e.children,n=e.className,o=e.title,r=e.initialOpen,i=void 0!==r&&r,a=e.icon;return Object(c.createElement)(to,null,Object(c.createElement)(j.PanelBody,{className:n,initialOpen:i||!o,title:o,icon:a},t))}));oo.Slot=no;var ro=oo,co=Object(j.createSlotFill)("PluginPrePublishPanel"),io=co.Fill,ao=co.Slot,lo=Object(g.compose)(Object(y.withPluginContext)((function(e,t){return{icon:t.icon||e.icon}})))((function(e){var t=e.children,n=e.className,o=e.title,r=e.initialOpen,i=void 0!==r&&r,a=e.icon;return Object(c.createElement)(io,null,Object(c.createElement)(j.PanelBody,{className:n,initialOpen:i||!o,title:o,icon:a},t))}));lo.Slot=ao;var so=lo,uo=function(e){function t(){return Object(Ge.a)(this,t),Object(Ue.a)(this,Object(He.a)(t).apply(this,arguments))}return Object(We.a)(t,e),Object(Ve.a)(t,[{key:"componentDidMount",value:function(){this.isSticky=!1,this.sync(),document.body.classList.contains("sticky-menu")&&(this.isSticky=!0,document.body.classList.remove("sticky-menu"))}},{key:"componentWillUnmount",value:function(){this.isSticky&&document.body.classList.add("sticky-menu")}},{key:"componentDidUpdate",value:function(e){this.props.isActive!==e.isActive&&this.sync()}},{key:"sync",value:function(){this.props.isActive?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode")}},{key:"render",value:function(){return null}}]),t}(c.Component),bo=Object(h.withSelect)((function(e){return{isActive:e("core/edit-post").isFeatureActive("fullscreenMode")}}))(uo);var po=Object(g.compose)(Object(h.withSelect)((function(e){return{mode:e("core/edit-post").getEditorMode(),editorSidebarOpened:e("core/edit-post").isEditorSidebarOpened(),pluginSidebarOpened:e("core/edit-post").isPluginSidebarOpened(),publishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),hasFixedToolbar:e("core/edit-post").isFeatureActive("fixedToolbar"),hasActiveMetaboxes:e("core/edit-post").hasMetaBoxes(),isSaving:e("core/edit-post").isSavingMetaBoxes(),isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled}})),Object(h.withDispatch)((function(e){var t=e("core/edit-post");return{closePublishSidebar:t.closePublishSidebar,togglePublishSidebar:t.togglePublishSidebar}})),j.navigateRegions,Object(s.withViewportMatch)({isMobileViewport:"< small"}))((function(e){var t=e.mode,n=e.editorSidebarOpened,o=e.pluginSidebarOpened,r=e.publishSidebarOpened,i=e.hasFixedToolbar,l=e.closePublishSidebar,s=e.togglePublishSidebar,u=e.hasActiveMetaboxes,d=e.isSaving,b=e.isMobileViewport,m=e.isRichEditingEnabled,O=n||o||r,f=ze()("edit-post-layout",{"is-sidebar-opened":O,"has-fixed-toolbar":i,"has-metaboxes":u}),h={role:"region","aria-label":Object(E.__)("Editor publish"),tabIndex:-1};return Object(c.createElement)(j.FocusReturnProvider,{className:f},Object(c.createElement)(bo,null),Object(c.createElement)($e,null),Object(c.createElement)(a.UnsavedChangesWarning,null),Object(c.createElement)(a.AutosaveMonitor,null),Object(c.createElement)(a.LocalAutosaveMonitor,null),Object(c.createElement)(ht,null),Object(c.createElement)("div",{className:"edit-post-layout__content",role:"region","aria-label":Object(E.__)("Editor content"),tabIndex:"-1"},Object(c.createElement)(a.EditorNotices,null),Object(c.createElement)(Ct,null),Object(c.createElement)(Vt,null),Object(c.createElement)(Kt,null),Object(c.createElement)(sn,null),("text"===t||!m)&&Object(c.createElement)(Et,null),m&&"visual"===t&&Object(c.createElement)(kt,null),Object(c.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(c.createElement)(mn,{location:"normal"})),Object(c.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(c.createElement)(mn,{location:"advanced"}))),r?Object(c.createElement)(a.PostPublishPanel,Object(p.a)({},h,{onClose:l,forceIsDirty:u,forceIsSaving:d,PrePublishExtension:so.Slot,PostPublishExtension:ro.Slot})):Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",Object(p.a)({className:"edit-post-toggle-publish-panel"},h),Object(c.createElement)(j.Button,{isDefault:!0,type:"button",className:"edit-post-toggle-publish-panel__button",onClick:s,"aria-expanded":!1},Object(E.__)("Open publish panel"))),Object(c.createElement)(Jn,null),Object(c.createElement)(gn.Slot,null),b&&O&&Object(c.createElement)(j.ScrollLock,null)),Object(c.createElement)(j.Popover.Slot,null),Object(c.createElement)(y.PluginArea,null))})),mo=function(e){var t=e.postId;!function(e){var t=Object(h.useSelect)((function(e){return{hasBlockSelection:!!e("core/block-editor").getBlockSelectionStart(),isEditorSidebarOpened:e(Fe).isEditorSidebarOpened()}}),[e]),n=t.hasBlockSelection,o=t.isEditorSidebarOpened,r=Object(h.useDispatch)(Fe).openGeneralSidebar;Object(c.useEffect)((function(){o&&r(n?"edit-post/block":"edit-post/document")}),[n,o])}(t),function(e){var t=Object(h.useSelect)((function(e){return{isSmall:e("core/viewport").isViewportMatch("< medium"),activeGeneralSidebarName:e(Fe).getActiveGeneralSidebarName()}}),[e]),n=t.isSmall,o=t.activeGeneralSidebarName,r=Object(h.useDispatch)(Fe),i=r.openGeneralSidebar,a=r.closeGeneralSidebar,l=Object(c.useRef)(null),s=Object(c.useRef)(null);Object(c.useEffect)((function(){l.current!==n&&(l.current=n,n?(s.current=o,o&&a()):s.current&&!o&&(i(s.current),s.current=null))}),[n,o])}(t),function(e){var t=Object(h.useSelect)((function(e){return{newPermalink:e("core/editor").getCurrentPost().link}}),[e]).newPermalink,n=Object(c.useRef)();Object(c.useEffect)((function(){n.current=document.querySelector("#wp-admin-bar-preview a")||document.querySelector("#wp-admin-bar-view a")}),[e]),Object(c.useEffect)((function(){t&&n.current&&n.current.setAttribute("href",t)}),[t])}(t);var n=Object(h.useDispatch)("core/nux").triggerGuide;return Object(c.useEffect)((function(){n(["core/editor.inserter","core/editor.settings","core/editor.preview","core/editor.publish"])}),[n]),null},Oo=function(e){function t(){var e;return Object(Ge.a)(this,t),(e=Object(Ue.a)(this,Object(He.a)(t).apply(this,arguments))).getEditorSettings=Ke()(e.getEditorSettings,{maxSize:1}),e}return Object(We.a)(t,e),Object(Ve.a)(t,[{key:"getEditorSettings",value:function(e,t,n,o,r,c,i,a,l){if(e=Object(D.a)({},e,{__experimentalPreferredStyleVariations:{value:i,onChange:l},hasFixedToolbar:t,focusMode:o,showInserterHelpPanel:n,__experimentalLocalAutosaveInterval:a}),Object(O.size)(r)>0){var s=!0===e.allowedBlockTypes?Object(O.map)(c,"name"):e.allowedBlockTypes||[];e.allowedBlockTypes=O.without.apply(void 0,[s].concat(Object(B.a)(r)))}return e}},{key:"render",value:function(){var e=this.props,t=e.settings,n=e.hasFixedToolbar,o=e.focusMode,r=e.post,i=e.postId,l=e.initialEdits,s=e.onError,u=e.hiddenBlockTypes,d=e.blockTypes,b=e.preferredStyleVariations,O=e.__experimentalLocalAutosaveInterval,f=e.showInserterHelpPanel,h=e.updatePreferredStyleVariations,E=Object(m.a)(e,["settings","hasFixedToolbar","focusMode","post","postId","initialEdits","onError","hiddenBlockTypes","blockTypes","preferredStyleVariations","__experimentalLocalAutosaveInterval","showInserterHelpPanel","updatePreferredStyleVariations"]);if(!r)return null;var g=this.getEditorSettings(t,n,f,o,u,d,b,O,h);return Object(c.createElement)(c.StrictMode,null,Object(c.createElement)(Ht.Provider,{value:t},Object(c.createElement)(j.SlotFillProvider,null,Object(c.createElement)(j.DropZoneProvider,null,Object(c.createElement)(a.EditorProvider,Object(p.a)({settings:g,post:r,initialEdits:l,useSubRegistry:!1},E),Object(c.createElement)(a.ErrorBoundary,{onError:s},Object(c.createElement)(mo,{postId:i}),Object(c.createElement)(po,null),Object(c.createElement)(j.KeyboardShortcuts,{shortcuts:Qe})),Object(c.createElement)(a.PostLockedModal,null))))))}}]),t}(c.Component),fo=Object(g.compose)([Object(h.withSelect)((function(e,t){var n=t.postId,o=t.postType,r=e("core/edit-post"),c=r.isFeatureActive,i=r.getPreference,a=e("core").getEntityRecord,l=e("core/blocks").getBlockTypes;return{showInserterHelpPanel:c("showInserterHelpPanel"),hasFixedToolbar:c("fixedToolbar"),focusMode:c("focusMode"),post:a("postType",o,n),preferredStyleVariations:i("preferredStyleVariations"),hiddenBlockTypes:i("hiddenBlockTypes"),blockTypes:l(),__experimentalLocalAutosaveInterval:i("localAutosaveInterval")}})),Object(h.withDispatch)((function(e){return{updatePreferredStyleVariations:e("core/edit-post").updatePreferredStyleVariations}}))])(Oo),jo=function(e,t){return!Array.isArray(t)||(n=e,o=t,0===Object(O.difference)(n,o).length);var n,o},ho=function(e){var t=e.allowedBlocks,n=e.icon,o=e.label,r=e.onClick,i=e.small,a=e.role;return Object(c.createElement)(St,null,(function(e){var l=e.selectedBlocks,s=e.onClose;return jo(l,t)?Object(c.createElement)(j.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(g.compose)(r,s),icon:n||"admin-plugins",label:i?o:void 0,role:a},!i&&o):null}))},Eo=Object(g.compose)(Object(y.withPluginContext)((function(e,t){return{icon:t.icon||e.icon}})))((function(e){var t=e.onClick,n=void 0===t?O.noop:t,o=Object(m.a)(e,["onClick"]);return Object(c.createElement)(it,null,(function(e){return Object(c.createElement)(j.MenuItem,Object(p.a)({},o,{onClick:Object(g.compose)(n,e.onClose)}))}))}));var go=Object(g.compose)(Object(y.withPluginContext)((function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.name)}})),Object(h.withSelect)((function(e,t){var n=t.sidebarName,o=e("core/edit-post"),r=o.getActiveGeneralSidebarName,c=o.isPluginItemPinned;return{isActive:r()===n,isPinned:c(n)}})),Object(h.withDispatch)((function(e,t){var n=t.isActive,o=t.sidebarName,r=e("core/edit-post"),c=r.closeGeneralSidebar,i=r.openGeneralSidebar,a=r.togglePinnedPluginItem;return{togglePin:function(){a(o)},toggleSidebar:function(){n?c():i(o)}}})))((function(e){var t=e.children,n=e.className,o=e.icon,r=e.isActive,i=e.isPinnable,a=void 0===i||i,l=e.isPinned,s=e.sidebarName,u=e.title,d=e.togglePin,b=e.toggleSidebar;return Object(c.createElement)(c.Fragment,null,a&&Object(c.createElement)(ft,null,l&&Object(c.createElement)(j.IconButton,{icon:o,label:u,onClick:b,isToggled:r,"aria-expanded":r})),Object(c.createElement)(gn,{name:s,label:Object(E.__)("Editor plugins")},Object(c.createElement)(vn,{closeLabel:Object(E.__)("Close plugin")},Object(c.createElement)("strong",null,u),a&&Object(c.createElement)(j.IconButton,{icon:l?"star-filled":"star-empty",label:l?Object(E.__)("Unpin from toolbar"):Object(E.__)("Pin to toolbar"),onClick:d,isToggled:l,"aria-expanded":l})),Object(c.createElement)(j.Panel,{className:n},t)))})),vo=Object(g.compose)(Object(y.withPluginContext)((function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.target)}})),Object(h.withSelect)((function(e,t){var n=t.sidebarName;return{isSelected:(0,e("core/edit-post").getActiveGeneralSidebarName)()===n}})),Object(h.withDispatch)((function(e,t){var n=t.isSelected,o=t.sidebarName,r=e("core/edit-post"),c=r.closeGeneralSidebar,i=r.openGeneralSidebar;return{onClick:n?c:function(){return i(o)}}})))((function(e){var t=e.children,n=e.icon,o=e.isSelected,r=e.onClick;return Object(c.createElement)(Eo,{icon:o?"yes":n,isSelected:o,role:"menuitemcheckbox",onClick:r},t)}));function _o(e,t,n,o,r){Object(c.unmountComponentAtNode)(n);var i=_o.bind(null,e,t,n,o,r);Object(c.render)(Object(c.createElement)(fo,{settings:o,onError:i,postId:t,postType:e,initialEdits:r,recovery:!0}),n)}function yo(e,t,n,o,r){var i=document.getElementById(e),a=_o.bind(null,t,n,i,o,r);Object(u.registerCoreBlocks)(),"Standards"!==("CSS1Compat"===document.compatMode?"Standards":"Quirks")&&console.warn("Your browser is using Quirks Mode. \nThis can cause rendering issues such as blocks overlaying meta boxes in the editor. Quirks Mode can be triggered by PHP errors or HTML code appearing before the opening . Try checking the raw page source or your site's PHP error log and resolving errors there, removing any HTML before the doctype, or disabling plugins."),Object(c.render)(Object(c.createElement)(fo,{settings:o,onError:a,postId:n,postType:t,initialEdits:r}),i)}n.d(t,"reinitializeEditor",(function(){return _o})),n.d(t,"initializeEditor",(function(){return yo})),n.d(t,"PluginBlockSettingsMenuItem",(function(){return ho})),n.d(t,"PluginDocumentSettingPanel",(function(){return Zn})),n.d(t,"PluginMoreMenuItem",(function(){return Eo})),n.d(t,"PluginPostPublishPanel",(function(){return ro})),n.d(t,"PluginPostStatusInfo",(function(){return Bn})),n.d(t,"PluginPrePublishPanel",(function(){return so})),n.d(t,"PluginSidebar",(function(){return go})),n.d(t,"PluginSidebarMoreMenuItem",(function(){return vo}))},36:function(e,t,n){"use strict";var o,r;function c(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function a(e,t,n){var o;if(e.length!==t.length)return!1;for(o=n;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},22:function(e,t,n){"use strict";var o=n(33);var r=n(34);function i(e,t){return Object(o.a)(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],o=!0,r=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(o=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==a.return||a.return()}finally{if(r)throw i}}return n}}(e,t)||Object(r.a)()}n.d(t,"a",(function(){return i}))},230:function(e,t){!function(){e.exports=this.wp.blockLibrary}()},25:function(e,t){!function(){e.exports=this.wp.url}()},26:function(e,t){!function(){e.exports=this.wp.editor}()},27:function(e,t){!function(){e.exports=this.wp.hooks}()},3:function(e,t){!function(){e.exports=this.wp.components}()},31:function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return o}))},32:function(e,t,n){"use strict";function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",(function(){return o}))},33:function(e,t,n){"use strict";function o(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return o}))},34:function(e,t,n){"use strict";function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",(function(){return o}))},364:function(e,t,n){"use strict";n.r(t);var o={};n.r(o),n.d(o,"openGeneralSidebar",(function(){return q})),n.d(o,"closeGeneralSidebar",(function(){return K})),n.d(o,"openModal",(function(){return Q})),n.d(o,"closeModal",(function(){return Y})),n.d(o,"openPublishSidebar",(function(){return X})),n.d(o,"closePublishSidebar",(function(){return $})),n.d(o,"togglePublishSidebar",(function(){return J})),n.d(o,"toggleEditorPanelEnabled",(function(){return ee})),n.d(o,"toggleEditorPanelOpened",(function(){return te})),n.d(o,"removeEditorPanel",(function(){return ne})),n.d(o,"toggleFeature",(function(){return oe})),n.d(o,"switchEditorMode",(function(){return re})),n.d(o,"togglePinnedPluginItem",(function(){return ie})),n.d(o,"hideBlockTypes",(function(){return ce})),n.d(o,"updatePreferredStyleVariations",(function(){return ae})),n.d(o,"__experimentalUpdateLocalAutosaveInterval",(function(){return le})),n.d(o,"showBlockTypes",(function(){return se})),n.d(o,"setAvailableMetaBoxesPerLocation",(function(){return ue})),n.d(o,"requestMetaBoxUpdates",(function(){return de})),n.d(o,"metaBoxUpdatesSuccess",(function(){return be}));var r={};n.r(r),n.d(r,"getEditorMode",(function(){return me})),n.d(r,"isEditorSidebarOpened",(function(){return Oe})),n.d(r,"isPluginSidebarOpened",(function(){return fe})),n.d(r,"getActiveGeneralSidebarName",(function(){return he})),n.d(r,"getPreferences",(function(){return Ee})),n.d(r,"getPreference",(function(){return je})),n.d(r,"isPublishSidebarOpened",(function(){return ge})),n.d(r,"isEditorPanelRemoved",(function(){return ve})),n.d(r,"isEditorPanelEnabled",(function(){return _e})),n.d(r,"isEditorPanelOpened",(function(){return ye})),n.d(r,"isModalActive",(function(){return Se})),n.d(r,"isFeatureActive",(function(){return Ce})),n.d(r,"isPluginItemPinned",(function(){return ke})),n.d(r,"getActiveMetaBoxLocations",(function(){return we})),n.d(r,"isMetaBoxLocationVisible",(function(){return Pe})),n.d(r,"isMetaBoxLocationActive",(function(){return xe})),n.d(r,"getMetaBoxesPerLocation",(function(){return Me})),n.d(r,"getAllMetaBoxes",(function(){return Te})),n.d(r,"hasMetaBoxes",(function(){return Ne})),n.d(r,"isSavingMetaBoxes",(function(){return Ae}));var i=n(0),c=(n(62),n(5)),a=n(26),l=(n(142),n(50)),s=(n(143),n(230)),u=n(27),d=n(98);Object(u.addFilter)("editor.MediaUpload","core/edit-post/replace-media-upload",(function(){return d.MediaUpload}));var b=n(14),p=n(21),m=n(2),O=n(10),f=n(3),h=n(4),E=n(1),j=n(8),g=Object(j.compose)(Object(h.withSelect)((function(e,t){if(Object(O.hasBlockSupport)(t.name,"multiple",!0))return{};var n=e("core/block-editor").getBlocks(),o=Object(m.find)(n,(function(e){var n=e.name;return t.name===n}));return{originalBlockClientId:o&&o.clientId!==t.clientId&&o.clientId}})),Object(h.withDispatch)((function(e,t){var n=t.originalBlockClientId;return{selectFirst:function(){return e("core/block-editor").selectBlock(n)}}}))),v=Object(j.createHigherOrderComponent)((function(e){return g((function(t){var n=t.originalBlockClientId,o=t.selectFirst,r=Object(p.a)(t,["originalBlockClientId","selectFirst"]);if(!n)return Object(i.createElement)(e,r);var a=Object(O.getBlockType)(r.name),l=function(e){var t=Object(O.findTransform)(Object(O.getBlockTransforms)("to",e),(function(e){var t=e.type,n=e.blocks;return"block"===t&&1===n.length}));if(!t)return null;return Object(O.getBlockType)(t.blocks[0])}(r.name);return[Object(i.createElement)("div",{key:"invalid-preview",style:{minHeight:"60px"}},Object(i.createElement)(e,Object(b.a)({key:"block-edit"},r))),Object(i.createElement)(c.Warning,{key:"multiple-use-warning",actions:[Object(i.createElement)(f.Button,{key:"find-original",isLarge:!0,onClick:o},Object(E.__)("Find original")),Object(i.createElement)(f.Button,{key:"remove",isLarge:!0,onClick:function(){return r.onReplace([])}},Object(E.__)("Remove")),l&&Object(i.createElement)(f.Button,{key:"transform",isLarge:!0,onClick:function(){return r.onReplace(Object(O.createBlock)(l.name,r.attributes))}},Object(E.__)("Transform into:")," ",l.title)]},Object(i.createElement)("strong",null,a.title,": "),Object(E.__)("This block can only be used once."))]}))}),"withMultipleValidation");Object(u.addFilter)("editor.BlockEdit","core/edit-post/validate-multiple-use/with-multiple-validation",v);var _=n(49),y=n(25);var S=Object(j.compose)(Object(h.withSelect)((function(e){return{editedPostContent:e("core/editor").getEditedPostAttribute("content")}})),Object(h.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice}})),Object(j.withState)({hasCopied:!1}))((function(e){var t=e.createNotice,n=e.editedPostContent,o=e.hasCopied,r=e.setState;return n.length>0&&Object(i.createElement)(f.ClipboardButton,{text:n,role:"menuitem",className:"components-menu-item__button",onCopy:function(){r({hasCopied:!0}),t("info",Object(E.__)("All content copied."),{isDismissible:!0,type:"snackbar"})},onFinishCopy:function(){return r({hasCopied:!1})}},o?Object(E.__)("Copied!"):Object(E.__)("Copy All Content"))}));var C=Object(h.withDispatch)((function(e){return{openModal:e("core/edit-post").openModal}}))((function(e){var t=e.openModal;return Object(i.createElement)(f.MenuItem,{onClick:function(){t("edit-post/manage-blocks")}},Object(E.__)("Block Manager"))})),k=n(19);var w=Object(h.withDispatch)((function(e){return{openModal:e("core/edit-post").openModal}}))((function(e){var t=e.openModal;return Object(i.createElement)(f.MenuItem,{onClick:function(){t("edit-post/keyboard-shortcut-help")},shortcut:k.displayShortcut.access("h")},Object(E.__)("Keyboard Shortcuts"))})),P=Object(f.createSlotFill)("ToolsMoreMenuGroup"),x=P.Fill,M=P.Slot;x.Slot=function(e){var t=e.fillProps;return Object(i.createElement)(M,{fillProps:t},(function(e){return!Object(m.isEmpty)(e)&&Object(i.createElement)(f.MenuGroup,{label:Object(E.__)("Tools")},e)}))};var T=x;function N(){var e=Object(h.useDispatch)("core/nux").enableTips;return Object(i.createElement)(f.MenuItem,{onClick:e},Object(E.__)("Welcome Guide"))}Object(_.registerPlugin)("edit-post",{render:function(){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(T,null,(function(e){var t=e.onClose;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(C,{onSelect:t}),Object(i.createElement)(f.MenuItem,{role:"menuitem",href:Object(y.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(E.__)("Manage All Reusable Blocks")),Object(i.createElement)(w,{onSelect:t}),Object(i.createElement)(N,null),Object(i.createElement)(S,null))})))}});var A,B=n(18),L=n(9),I=n(7),D="edit-post/document",H=Object(m.flow)([h.combineReducers,(A={editorMode:"visual",isGeneralSidebarDismissed:!1,panels:{"post-status":{opened:!0}},features:{fixedToolbar:!1,showInserterHelpPanel:!0},pinnedPluginItems:{},hiddenBlockTypes:[],preferredStyleVariations:{},localAutosaveInterval:15},function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:A,n=arguments.length>1?arguments[1]:void 0;return e(t,n)}})])({isGeneralSidebarDismissed:function(e,t){switch(t.type){case"OPEN_GENERAL_SIDEBAR":case"CLOSE_GENERAL_SIDEBAR":return"CLOSE_GENERAL_SIDEBAR"===t.type}return e},panels:function(e,t){switch(t.type){case"TOGGLE_PANEL_ENABLED":var n=t.panelName;return Object(I.a)({},e,Object(L.a)({},n,Object(I.a)({},e[n],{enabled:!Object(m.get)(e,[n,"enabled"],!0)})));case"TOGGLE_PANEL_OPENED":var o=t.panelName,r=!0===e[o]||Object(m.get)(e,[o,"opened"],!1);return Object(I.a)({},e,Object(L.a)({},o,Object(I.a)({},e[o],{opened:!r})))}return e},features:function(e,t){return"TOGGLE_FEATURE"===t.type?Object(I.a)({},e,Object(L.a)({},t.feature,!e[t.feature])):e},editorMode:function(e,t){return"SWITCH_MODE"===t.type?t.mode:e},pinnedPluginItems:function(e,t){return"TOGGLE_PINNED_PLUGIN_ITEM"===t.type?Object(I.a)({},e,Object(L.a)({},t.pluginName,!Object(m.get)(e,[t.pluginName],!0))):e},hiddenBlockTypes:function(e,t){switch(t.type){case"SHOW_BLOCK_TYPES":return m.without.apply(void 0,[e].concat(Object(B.a)(t.blockNames)));case"HIDE_BLOCK_TYPES":return Object(m.union)(e,t.blockNames)}return e},preferredStyleVariations:function(e,t){switch(t.type){case"UPDATE_PREFERRED_STYLE_VARIATIONS":return t.blockName?t.blockStyle?Object(I.a)({},e,Object(L.a)({},t.blockName,t.blockStyle)):Object(m.omit)(e,[t.blockName]):e}return e},localAutosaveInterval:function(e,t){switch(t.type){case"UPDATE_LOCAL_AUTOSAVE_INTERVAL":return t.interval}return e}});var V=Object(h.combineReducers)({isSaving:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"REQUEST_META_BOX_UPDATES":return!0;case"META_BOX_UPDATES_SUCCESS":return!1;default:return e}},locations:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_META_BOXES_PER_LOCATIONS":return t.metaBoxesPerLocation}return e}}),F=Object(h.combineReducers)({activeGeneralSidebar:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:D,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_GENERAL_SIDEBAR":return t.name}return e},activeModal:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_MODAL":return t.name;case"CLOSE_MODAL":return null}return e},metaBoxes:V,preferences:H,publishSidebarActive:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"OPEN_PUBLISH_SIDEBAR":return!0;case"CLOSE_PUBLISH_SIDEBAR":return!1;case"TOGGLE_PUBLISH_SIDEBAR":return!e}return e},removedPanels:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REMOVE_PANEL":if(!Object(m.includes)(e,t.panelName))return[].concat(Object(B.a)(e),[t.panelName])}return e}}),R=n(70),G=n.n(R),U=n(22),Z=n(44),W=n(37),z=n.n(W);function q(e){return{type:"OPEN_GENERAL_SIDEBAR",name:e}}function K(){return{type:"CLOSE_GENERAL_SIDEBAR"}}function Q(e){return{type:"OPEN_MODAL",name:e}}function Y(){return{type:"CLOSE_MODAL"}}function X(){return{type:"OPEN_PUBLISH_SIDEBAR"}}function $(){return{type:"CLOSE_PUBLISH_SIDEBAR"}}function J(){return{type:"TOGGLE_PUBLISH_SIDEBAR"}}function ee(e){return{type:"TOGGLE_PANEL_ENABLED",panelName:e}}function te(e){return{type:"TOGGLE_PANEL_OPENED",panelName:e}}function ne(e){return{type:"REMOVE_PANEL",panelName:e}}function oe(e){return{type:"TOGGLE_FEATURE",feature:e}}function re(e){return{type:"SWITCH_MODE",mode:e}}function ie(e){return{type:"TOGGLE_PINNED_PLUGIN_ITEM",pluginName:e}}function ce(e){return{type:"HIDE_BLOCK_TYPES",blockNames:Object(m.castArray)(e)}}function ae(e,t){return{type:"UPDATE_PREFERRED_STYLE_VARIATIONS",blockName:e,blockStyle:t}}function le(e){return{type:"UPDATE_LOCAL_AUTOSAVE_INTERVAL",interval:e}}function se(e){return{type:"SHOW_BLOCK_TYPES",blockNames:Object(m.castArray)(e)}}function ue(e){return{type:"SET_META_BOXES_PER_LOCATIONS",metaBoxesPerLocation:e}}function de(){return{type:"REQUEST_META_BOX_UPDATES"}}function be(){return{type:"META_BOX_UPDATES_SUCCESS"}}var pe=n(38);function me(e){return je(e,"editorMode","visual")}function Oe(e){var t=he(e);return Object(m.includes)(["edit-post/document","edit-post/block"],t)}function fe(e){return!!he(e)&&!Oe(e)}function he(e){return je(e,"isGeneralSidebarDismissed",!1)?null:e.activeGeneralSidebar}function Ee(e){return e.preferences}function je(e,t,n){var o=Ee(e)[t];return void 0===o?n:o}function ge(e){return e.publishSidebarActive}function ve(e,t){return Object(m.includes)(e.removedPanels,t)}function _e(e,t){var n=je(e,"panels");return!ve(e,t)&&Object(m.get)(n,[t,"enabled"],!0)}function ye(e,t){var n=je(e,"panels");return!0===Object(m.get)(n,[t])||!0===Object(m.get)(n,[t,"opened"])}function Se(e,t){return e.activeModal===t}function Ce(e,t){return Object(m.get)(e.preferences.features,[t],!1)}function ke(e,t){var n=je(e,"pinnedPluginItems",{});return Object(m.get)(n,[t],!0)}var we=Object(pe.a)((function(e){return Object.keys(e.metaBoxes.locations).filter((function(t){return xe(e,t)}))}),(function(e){return[e.metaBoxes.locations]}));function Pe(e,t){return xe(e,t)&&Object(m.some)(Me(e,t),(function(t){var n=t.id;return _e(e,"meta-box-".concat(n))}))}function xe(e,t){var n=Me(e,t);return!!n&&0!==n.length}function Me(e,t){return e.metaBoxes.locations[t]}var Te=Object(pe.a)((function(e){return Object(m.flatten)(Object(m.values)(e.metaBoxes.locations))}),(function(e){return[e.metaBoxes.locations]}));function Ne(e){return we(e).length>0}function Ae(e){return e.metaBoxes.isSaving}var Be,Le={SET_META_BOXES_PER_LOCATIONS:function(e,t){setTimeout((function(){var e=Object(h.select)("core/editor").getCurrentPostType();window.postboxes.page!==e&&window.postboxes.add_postbox_toggles(e)}));var n=Object(h.select)("core/editor").isSavingPost(),o=Object(h.select)("core/editor").isAutosavingPost(),r=Object(h.select)("core/edit-post").hasMetaBoxes();Be&&Be(),Be=Object(h.subscribe)((function(){var e=Object(h.select)("core/editor").isSavingPost(),i=Object(h.select)("core/editor").isAutosavingPost(),c=r&&n&&!e&&!o;n=e,o=i,c&&t.dispatch({type:"REQUEST_META_BOX_UPDATES"})}))},REQUEST_META_BOX_UPDATES:function(e,t){window.tinyMCE&&window.tinyMCE.triggerSave();var n=t.getState(),o=Object(h.select)("core/editor").getCurrentPost(n),r=[!!o.comment_status&&["comment_status",o.comment_status],!!o.ping_status&&["ping_status",o.ping_status],!!o.sticky&&["sticky",o.sticky],!!o.author&&["post_author",o.author]].filter(Boolean),i=[new window.FormData(document.querySelector(".metabox-base-form"))].concat(Object(B.a)(we(n).map((function(e){return new window.FormData(function(e){var t=document.querySelector(".edit-post-meta-boxes-area.is-".concat(e," .metabox-location-").concat(e));return t||document.querySelector("#metaboxes .metabox-location-"+e)}(e))})))),c=Object(m.reduce)(i,(function(e,t){var n=!0,o=!1,r=void 0;try{for(var i,c=t[Symbol.iterator]();!(n=(i=c.next()).done);n=!0){var a=Object(U.a)(i.value,2),l=a[0],s=a[1];e.append(l,s)}}catch(e){o=!0,r=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw r}}return e}),new window.FormData);r.forEach((function(e){var t=Object(U.a)(e,2),n=t[0],o=t[1];return c.append(n,o)})),z()({url:window._wpMetaBoxUrl,method:"POST",body:c,parse:!1}).then((function(){return t.dispatch({type:"META_BOX_UPDATES_SUCCESS"})}))},SWITCH_MODE:function(e){"visual"!==e.mode&&Object(h.dispatch)("core/block-editor").clearSelectedBlock();var t="visual"===e.mode?Object(E.__)("Visual editor selected"):Object(E.__)("Code editor selected");Object(Z.speak)(t,"assertive")}};var Ie=function(e){var t,n=[G()(Le)],o=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r={getState:e.getState,dispatch:function(){return o.apply(void 0,arguments)}};return t=n.map((function(e){return e(r)})),o=m.flowRight.apply(void 0,Object(B.a)(t))(e.dispatch),e.dispatch=o,e};var De={SELECT:Object(h.createRegistryControl)((function(e){return function(t){var n,o=t.storeName,r=t.selectorName,i=t.args;return(n=e.select(o))[r].apply(n,Object(B.a)(i))}}))},He="core/edit-post",Ve=Object(h.registerStore)(He,{reducer:F,actions:o,selectors:r,controls:De,persist:["preferences"]});Ie(Ve);var Fe=n(13),Re=n(12),Ge=n(15),Ue=n(16),Ze=n(17),We=n(42),ze=n.n(We),qe={"t a l e s o f g u t e n b e r g":function(e){(document.activeElement.classList.contains("edit-post-visual-editor")||document.activeElement===document.body)&&(e.preventDefault(),window.wp.data.dispatch("core/block-editor").insertBlock(window.wp.blocks.createBlock("core/paragraph",{content:"🐡🐢🦀🐤🦋🐘🐧🐹🦁🦄🦍🐼🐿🎃🐴🐝🐆🦕🦔🌱🍇π🍌🐉💧🥨🌌🍂🍠🥦🥚🥝🎟🥥🥒🛵🥖🍒🍯🎾🎲🐺🐚🐮⌛️"})))}},Ke=n(11),Qe=n.n(Ke);var Ye=Object(j.compose)(Object(h.withSelect)((function(e){return{isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled}})),Object(h.withDispatch)((function(e){return{onExit:function(){e("core/edit-post").switchEditorMode("visual")}}})))((function(e){var t=e.onExit,n=e.isRichEditingEnabled;return Object(i.createElement)("div",{className:"edit-post-text-editor"},n&&Object(i.createElement)("div",{className:"edit-post-text-editor__toolbar"},Object(i.createElement)("h2",null,Object(E.__)("Editing Code")),Object(i.createElement)(f.IconButton,{onClick:t,icon:"no-alt",shortcut:k.displayShortcut.secondary("m")},Object(E.__)("Exit Code Editor")),Object(i.createElement)(a.TextEditorGlobalKeyboardShortcuts,null)),Object(i.createElement)("div",{className:"edit-post-text-editor__body"},Object(i.createElement)(a.PostTitle,null),Object(i.createElement)(a.PostTextEditor,null)))})),Xe={toggleEditorMode:{raw:k.rawShortcut.secondary("m"),display:k.displayShortcut.secondary("m")},toggleSidebar:{raw:k.rawShortcut.primaryShift(","),display:k.displayShortcut.primaryShift(","),ariaLabel:k.shortcutAriaLabel.primaryShift(",")}};var $e=Object(j.compose)(Object(h.withSelect)((function(e){return{areAdvancedSettingsOpened:"edit-post/block"===e("core/edit-post").getActiveGeneralSidebarName()}})),Object(h.withDispatch)((function(e){return{openEditorSidebar:function(){return e("core/edit-post").openGeneralSidebar("edit-post/block")},closeSidebar:e("core/edit-post").closeGeneralSidebar}})),f.withSpokenMessages)((function(e){var t=e.areAdvancedSettingsOpened,n=e.closeSidebar,o=e.openEditorSidebar,r=e.onClick,c=void 0===r?m.noop:r,a=e.small,l=void 0!==a&&a,s=e.speak,u=t?Object(E.__)("Hide Block Settings"):Object(E.__)("Show Block Settings");return Object(i.createElement)(f.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(m.flow)(t?n:o,(function(){s(t?Object(E.__)("Block settings closed"):Object(E.__)("Additional settings are now available in the Editor block settings sidebar"))}),c),icon:"admin-generic",shortcut:Xe.toggleSidebar},!l&&u)})),Je=Object(f.createSlotFill)("PluginBlockSettingsMenuGroup"),et=Je.Fill,tt=Je.Slot;et.Slot=Object(h.withSelect)((function(e,t){var n=t.fillProps.clientIds;return{selectedBlocks:e("core/block-editor").getBlocksByClientId(n)}}))((function(e){var t=e.fillProps,n=e.selectedBlocks;return n=Object(m.map)(n,(function(e){return e.name})),Object(i.createElement)(tt,{fillProps:Object(I.a)({},t,{selectedBlocks:n})},(function(e){return!Object(m.isEmpty)(e)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"editor-block-settings-menu__separator block-editor-block-settings-menu__separator"}),e)}))}));var nt=et;var ot=function(){return Object(i.createElement)(c.BlockSelectionClearer,{className:"edit-post-visual-editor editor-styles-wrapper"},Object(i.createElement)(a.VisualEditorGlobalKeyboardShortcuts,null),Object(i.createElement)(c.MultiSelectScrollIntoView,null),Object(i.createElement)(c.Typewriter,null,Object(i.createElement)(c.WritingFlow,null,Object(i.createElement)(c.ObserveTyping,null,Object(i.createElement)(c.CopyHandler,null,Object(i.createElement)(a.PostTitle,null),Object(i.createElement)(c.BlockList,null))))),Object(i.createElement)(c.__experimentalBlockSettingsMenuFirstItem,null,(function(e){var t=e.onClose;return Object(i.createElement)($e,{onClick:t})})),Object(i.createElement)(c.__experimentalBlockSettingsMenuPluginsExtension,null,(function(e){var t=e.clientIds,n=e.onClose;return Object(i.createElement)(nt.Slot,{fillProps:{clientIds:t,onClose:n}})})))},rt=n(6),it=function(e){function t(){var e;return Object(Fe.a)(this,t),(e=Object(Ge.a)(this,Object(Ue.a)(t).apply(this,arguments))).toggleMode=e.toggleMode.bind(Object(rt.a)(e)),e.toggleSidebar=e.toggleSidebar.bind(Object(rt.a)(e)),e}return Object(Ze.a)(t,e),Object(Re.a)(t,[{key:"toggleMode",value:function(){var e=this.props,t=e.mode,n=e.switchMode;e.isModeSwitchEnabled&&n("visual"===t?"text":"visual")}},{key:"toggleSidebar",value:function(e){e.preventDefault();var t=this.props,n=t.isEditorSidebarOpen,o=t.closeSidebar,r=t.openSidebar;n?o():r()}},{key:"render",value:function(){var e;return Object(i.createElement)(f.KeyboardShortcuts,{bindGlobal:!0,shortcuts:(e={},Object(L.a)(e,Xe.toggleEditorMode.raw,this.toggleMode),Object(L.a)(e,Xe.toggleSidebar.raw,this.toggleSidebar),e)})}}]),t}(i.Component),ct=Object(j.compose)([Object(h.withSelect)((function(e){var t=e("core/editor").getEditorSettings(),n=t.richEditingEnabled,o=t.codeEditingEnabled;return{isModeSwitchEnabled:n&&o,mode:e("core/edit-post").getEditorMode(),isEditorSidebarOpen:e("core/edit-post").isEditorSidebarOpened()}})),Object(h.withDispatch)((function(e,t,n){var o=n.select;return{switchMode:function(t){e("core/edit-post").switchEditorMode(t)},openSidebar:function(){var t=(0,o("core/block-editor").getBlockSelectionStart)()?"edit-post/block":"edit-post/document";e("core/edit-post").openGeneralSidebar(t)},closeSidebar:e("core/edit-post").closeGeneralSidebar}}))])(it),at=k.displayShortcutList.primary,lt=k.displayShortcutList.primaryShift,st=k.displayShortcutList.primaryAlt,ut=k.displayShortcutList.secondary,dt=k.displayShortcutList.access,bt=k.displayShortcutList.ctrl,pt=k.displayShortcutList.alt,mt=k.displayShortcutList.ctrlShift,Ot=[{className:"edit-post-keyboard-shortcut-help__main-shortcuts",shortcuts:[{keyCombination:dt("h"),description:Object(E.__)("Display these keyboard shortcuts.")}]},{title:Object(E.__)("Global shortcuts"),shortcuts:[{keyCombination:at("s"),description:Object(E.__)("Save your changes.")},{keyCombination:at("z"),description:Object(E.__)("Undo your last changes.")},{keyCombination:lt("z"),description:Object(E.__)("Redo your last undo.")},{keyCombination:lt(","),description:Object(E.__)("Show or hide the settings sidebar."),ariaLabel:k.shortcutAriaLabel.primaryShift(",")},{keyCombination:dt("o"),description:Object(E.__)("Open the block navigation menu.")},{keyCombination:bt("`"),description:Object(E.__)("Navigate to the next part of the editor."),ariaLabel:k.shortcutAriaLabel.ctrl("`")},{keyCombination:mt("`"),description:Object(E.__)("Navigate to the previous part of the editor."),ariaLabel:k.shortcutAriaLabel.ctrlShift("`")},{keyCombination:dt("n"),description:Object(E.__)("Navigate to the next part of the editor (alternative).")},{keyCombination:dt("p"),description:Object(E.__)("Navigate to the previous part of the editor (alternative).")},{keyCombination:pt("F10"),description:Object(E.__)("Navigate to the nearest toolbar.")},{keyCombination:ut("m"),description:Object(E.__)("Switch between Visual Editor and Code Editor.")}]},{title:Object(E.__)("Selection shortcuts"),shortcuts:[{keyCombination:at("a"),description:Object(E.__)("Select all text when typing. Press again to select all blocks.")},{keyCombination:"Esc",description:Object(E.__)("Clear selection."),ariaLabel:Object(E.__)("Escape")}]},{title:Object(E.__)("Block shortcuts"),shortcuts:[{keyCombination:lt("d"),description:Object(E.__)("Duplicate the selected block(s).")},{keyCombination:dt("z"),description:Object(E.__)("Remove the selected block(s).")},{keyCombination:st("t"),description:Object(E.__)("Insert a new block before the selected block(s).")},{keyCombination:st("y"),description:Object(E.__)("Insert a new block after the selected block(s).")},{keyCombination:"/",description:Object(E.__)("Change the block type after adding a new paragraph."),ariaLabel:Object(E.__)("Forward-slash")}]},{title:Object(E.__)("Text formatting"),shortcuts:[{keyCombination:at("b"),description:Object(E.__)("Make the selected text bold.")},{keyCombination:at("i"),description:Object(E.__)("Make the selected text italic.")},{keyCombination:at("k"),description:Object(E.__)("Convert the selected text into a link.")},{keyCombination:lt("k"),description:Object(E.__)("Remove a link.")},{keyCombination:at("u"),description:Object(E.__)("Underline the selected text.")}]}],ft="edit-post/keyboard-shortcut-help",ht=function(e){var t=e.shortcuts;return(Object(i.createElement)("ul",{className:"edit-post-keyboard-shortcut-help__shortcut-list",role:"list"},t.map((function(e,t){var n=e.keyCombination,o=e.description,r=e.ariaLabel;return Object(i.createElement)("li",{className:"edit-post-keyboard-shortcut-help__shortcut",key:t},Object(i.createElement)("div",{className:"edit-post-keyboard-shortcut-help__shortcut-description"},o),Object(i.createElement)("div",{className:"edit-post-keyboard-shortcut-help__shortcut-term"},Object(i.createElement)("kbd",{className:"edit-post-keyboard-shortcut-help__shortcut-key-combination","aria-label":r},function(e){return e.map((function(e,t){return"+"===e?Object(i.createElement)(i.Fragment,{key:t},e):Object(i.createElement)("kbd",{key:t,className:"edit-post-keyboard-shortcut-help__shortcut-key"},e)}))}(Object(m.castArray)(n)))))}))))},Et=function(e){var t=e.title,n=e.shortcuts,o=e.className;return Object(i.createElement)("section",{className:Qe()("edit-post-keyboard-shortcut-help__section",o)},!!t&&Object(i.createElement)("h2",{className:"edit-post-keyboard-shortcut-help__section-title"},t),Object(i.createElement)(ht,{shortcuts:n}))};var jt=Object(j.compose)([Object(h.withSelect)((function(e){return{isModalActive:e("core/edit-post").isModalActive(ft)}})),Object(h.withDispatch)((function(e,t){var n=t.isModalActive,o=e("core/edit-post"),r=o.openModal,i=o.closeModal;return{toggleModal:function(){return n?i():r(ft)}}}))])((function(e){var t=e.isModalActive,n=e.toggleModal;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(L.a)({},k.rawShortcut.access("h"),n)}),t&&Object(i.createElement)(f.Modal,{className:"edit-post-keyboard-shortcut-help",title:Object(E.__)("Keyboard Shortcuts"),closeLabel:Object(E.__)("Close"),onRequestClose:n},Ot.map((function(e,t){return Object(i.createElement)(Et,Object(b.a)({key:t},e))}))))}));var gt=function(e){var t=e.blockTypes,n=e.value,o=e.onItemChange;return Object(i.createElement)("ul",{className:"edit-post-manage-blocks-modal__checklist"},t.map((function(e){return Object(i.createElement)("li",{key:e.name,className:"edit-post-manage-blocks-modal__checklist-item"},Object(i.createElement)(f.CheckboxControl,{label:Object(i.createElement)(i.Fragment,null,e.title,Object(i.createElement)(c.BlockIcon,{icon:e.icon})),checked:n.includes(e.name),onChange:Object(m.partial)(o,e.name)}))})))},vt=Object(i.createContext)({});var _t=Object(j.compose)([j.withInstanceId,Object(h.withSelect)((function(e){return{hiddenBlockTypes:(0,e("core/edit-post").getPreference)("hiddenBlockTypes")}})),Object(h.withDispatch)((function(e,t){var n=e("core/edit-post"),o=n.showBlockTypes,r=n.hideBlockTypes;return{toggleVisible:function(e,t){t?o(e):r(e)},toggleAllVisible:function(e){var n=Object(m.map)(t.blockTypes,"name");e?o(n):r(n)}}}))])((function(e){var t=e.instanceId,n=e.category,o=e.blockTypes,r=e.hiddenBlockTypes,c=e.toggleVisible,a=e.toggleAllVisible,l=Object(i.useContext)(vt).allowedBlockTypes,s=Object(i.useMemo)((function(){return!0===l?o:o.filter((function(e){var t=e.name;return Object(m.includes)(l||[],t)}))}),[l,o]);if(!s.length)return null;var u,d=m.without.apply(void 0,[Object(m.map)(s,"name")].concat(Object(B.a)(r))),b="edit-post-manage-blocks-modal__category-title-"+t,p=d.length===s.length;return u=p?"true":d.length>0?"mixed":"false",Object(i.createElement)("div",{role:"group","aria-labelledby":b,className:"edit-post-manage-blocks-modal__category"},Object(i.createElement)(f.CheckboxControl,{checked:p,onChange:a,className:"edit-post-manage-blocks-modal__category-title","aria-checked":u,label:Object(i.createElement)("span",{id:b},n.title)}),Object(i.createElement)(gt,{blockTypes:s,value:d,onItemChange:c}))}));var yt=Object(j.compose)([Object(j.withState)({search:""}),Object(h.withSelect)((function(e){var t=e("core/blocks"),n=t.getBlockTypes,o=t.getCategories,r=t.hasBlockSupport,i=t.isMatchingSearchTerm,c=(0,e("core/edit-post").getPreference)("hiddenBlockTypes"),a=Object(m.isArray)(c)&&c.length;return{blockTypes:n(),categories:o(),hasBlockSupport:r,isMatchingSearchTerm:i,numberOfHiddenBlocks:a}}))])((function(e){var t=e.search,n=e.setState,o=e.blockTypes,r=e.categories,c=e.hasBlockSupport,a=e.isMatchingSearchTerm,l=e.numberOfHiddenBlocks;return o=o.filter((function(e){return c(e,"inserter",!0)&&(!t||a(e,t))&&!e.parent})),Object(i.createElement)("div",{className:"edit-post-manage-blocks-modal__content"},Object(i.createElement)(f.TextControl,{type:"search",label:Object(E.__)("Search for a block"),value:t,onChange:function(e){return n({search:e})},className:"edit-post-manage-blocks-modal__search"}),!!l&&Object(i.createElement)("div",{className:"edit-post-manage-blocks-modal__disabled-blocks-count"},Object(E.sprintf)(Object(E._n)("%1$d block is disabled.","%1$d blocks are disabled.",l),l)),Object(i.createElement)("div",{tabIndex:"0",role:"region","aria-label":Object(E.__)("Available block types"),className:"edit-post-manage-blocks-modal__results"},0===o.length&&Object(i.createElement)("p",{className:"edit-post-manage-blocks-modal__no-results"},Object(E.__)("No blocks found.")),r.map((function(e){return Object(i.createElement)(_t,{key:e.slug,category:e,blockTypes:Object(m.filter)(o,{category:e.slug})})}))))}));var St=Object(j.compose)([Object(h.withSelect)((function(e){return{isActive:(0,e("core/edit-post").isModalActive)("edit-post/manage-blocks")}})),Object(h.withDispatch)((function(e){return{closeModal:e("core/edit-post").closeModal}}))])((function(e){var t=e.isActive,n=e.closeModal;return t?Object(i.createElement)(f.Modal,{className:"edit-post-manage-blocks-modal",title:Object(E.__)("Block Manager"),closeLabel:Object(E.__)("Close"),onRequestClose:n},Object(i.createElement)(yt,null)):null})),Ct=function(e){var t=e.title,n=e.children;return Object(i.createElement)("section",{className:"edit-post-options-modal__section"},Object(i.createElement)("h2",{className:"edit-post-options-modal__section-title"},t),n)};var kt=function(e){var t=e.label,n=e.isChecked,o=e.onChange,r=e.children;return Object(i.createElement)("div",{className:"edit-post-options-modal__option"},Object(i.createElement)(f.CheckboxControl,{label:t,checked:n,onChange:o}),r)};function wt(e){var t=e.willEnable,n=Object(i.useState)(!1),o=Object(U.a)(n,2),r=o[0],c=o[1];return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",{className:"edit-post-options-modal__custom-fields-confirmation-message"},Object(E.__)("A page reload is required for this change. Make sure your content is saved before reloading.")),Object(i.createElement)(f.Button,{className:"edit-post-options-modal__custom-fields-confirmation-button",isDefault:!0,isBusy:r,disabled:r,onClick:function(){c(!0),document.getElementById("toggle-custom-fields-form").submit()}},t?Object(E.__)("Enable & Reload"):Object(E.__)("Disable & Reload")))}var Pt=Object(h.withSelect)((function(e){return{areCustomFieldsEnabled:!!e("core/editor").getEditorSettings().enableCustomFields}}))((function(e){var t=e.label,n=e.areCustomFieldsEnabled,o=Object(i.useState)(n),r=Object(U.a)(o,2),c=r[0],a=r[1];return Object(i.createElement)(kt,{label:t,isChecked:c,onChange:a},c!==n&&Object(i.createElement)(wt,{willEnable:c}))})),xt=Object(j.compose)(Object(h.withSelect)((function(e,t){var n=t.panelName,o=e("core/edit-post"),r=o.isEditorPanelEnabled;return{isRemoved:(0,o.isEditorPanelRemoved)(n),isChecked:r(n)}})),Object(j.ifCondition)((function(e){return!e.isRemoved})),Object(h.withDispatch)((function(e,t){var n=t.panelName;return{onChange:function(){return e("core/edit-post").toggleEditorPanelEnabled(n)}}})))(kt),Mt=Object(f.createSlotFill)("EnablePluginDocumentSettingPanelOption"),Tt=Mt.Fill,Nt=Mt.Slot,At=function(e){var t=e.label,n=e.panelName;return Object(i.createElement)(Tt,null,Object(i.createElement)(xt,{label:t,panelName:n}))};At.Slot=Nt;var Bt=At,Lt=Object(j.compose)(Object(h.withSelect)((function(e){return{isChecked:e("core/editor").isPublishSidebarEnabled()}})),Object(h.withDispatch)((function(e){var t=e("core/editor"),n=t.enablePublishSidebar,o=t.disablePublishSidebar;return{onChange:function(e){return e?n():o()}}})),Object(l.ifViewportMatches)("medium"))(kt),It=Object(j.compose)(Object(h.withSelect)((function(e,t){var n=t.feature;return{isChecked:e("core/edit-post").isFeatureActive(n)}})),Object(h.withDispatch)((function(e,t){var n=t.feature,o=e("core/edit-post").toggleFeature;return{onChange:function(){o(n)}}})))(kt);var Dt=Object(h.withSelect)((function(e){var t=e("core/editor").getEditorSettings,n=e("core/edit-post").getAllMetaBoxes;return{areCustomFieldsRegistered:void 0!==t().enableCustomFields,metaBoxes:n()}}))((function(e){var t=e.areCustomFieldsRegistered,n=e.metaBoxes,o=Object(p.a)(e,["areCustomFieldsRegistered","metaBoxes"]),r=Object(m.filter)(n,(function(e){return"postcustom"!==e.id}));return t||0!==r.length?Object(i.createElement)(Ct,o,t&&Object(i.createElement)(Pt,{label:Object(E.__)("Custom Fields")}),Object(m.map)(r,(function(e){var t=e.id,n=e.title;return Object(i.createElement)(xt,{key:t,label:n,panelName:"meta-box-".concat(t)})}))):null}));var Ht=Object(j.compose)(Object(h.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute,n=(0,e("core").getPostType)(t("type"));return{isModalActive:e("core/edit-post").isModalActive("edit-post/options"),isViewable:Object(m.get)(n,["viewable"],!1)}})),Object(h.withDispatch)((function(e){return{closeModal:function(){return e("core/edit-post").closeModal()}}})))((function(e){var t=e.isModalActive,n=e.isViewable,o=e.closeModal;return t?Object(i.createElement)(f.Modal,{className:"edit-post-options-modal",title:Object(E.__)("Options"),closeLabel:Object(E.__)("Close"),onRequestClose:o},Object(i.createElement)(Ct,{title:Object(E.__)("General")},Object(i.createElement)(Lt,{label:Object(E.__)("Pre-publish Checks")}),Object(i.createElement)(It,{feature:"showInserterHelpPanel",label:Object(E.__)("Inserter Help Panel")})),Object(i.createElement)(Ct,{title:Object(E.__)("Document Panels")},Object(i.createElement)(Bt.Slot,null),n&&Object(i.createElement)(xt,{label:Object(E.__)("Permalink"),panelName:"post-link"}),Object(i.createElement)(a.PostTaxonomies,{taxonomyWrapper:function(e,t){return Object(i.createElement)(xt,{label:Object(m.get)(t,["labels","menu_name"]),panelName:"taxonomy-panel-".concat(t.slug)})}}),Object(i.createElement)(a.PostFeaturedImageCheck,null,Object(i.createElement)(xt,{label:Object(E.__)("Featured Image"),panelName:"featured-image"})),Object(i.createElement)(a.PostExcerptCheck,null,Object(i.createElement)(xt,{label:Object(E.__)("Excerpt"),panelName:"post-excerpt"})),Object(i.createElement)(a.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(i.createElement)(xt,{label:Object(E.__)("Discussion"),panelName:"discussion-panel"})),Object(i.createElement)(a.PageAttributesCheck,null,Object(i.createElement)(xt,{label:Object(E.__)("Page Attributes"),panelName:"page-attributes"}))),Object(i.createElement)(Dt,{title:Object(E.__)("Advanced Panels")})):null}));var Vt=Object(f.navigateRegions)((function(e){var t=e.footer,n=e.header,o=e.sidebar,r=e.content,c=e.publish,a=e.className;return Object(i.createElement)("div",{className:Qe()(a,"edit-post-editor-regions")},!!n&&Object(i.createElement)("div",{className:"edit-post-editor-regions__header",role:"region","aria-label":Object(E.__)("Editor top bar"),tabIndex:"-1"},n),Object(i.createElement)("div",{className:"edit-post-editor-regions__body"},Object(i.createElement)("div",{className:"edit-post-editor-regions__content",role:"region","aria-label":Object(E.__)("Editor content"),tabIndex:"-1"},r),!!c&&Object(i.createElement)("div",{className:"edit-post-editor-regions__publish",role:"region","aria-label":Object(E.__)("Editor publish"),tabIndex:"-1"},c),!!o&&Object(i.createElement)("div",{className:"edit-post-editor-regions__sidebar",role:"region","aria-label":"Editor settings",tabIndex:"-1"},o)),!!t&&Object(i.createElement)("div",{className:"edit-post-editor-regions__footer",role:"region","aria-label":"Editor footer",tabIndex:"-1"},t))})),Ft=function(e){function t(){return Object(Fe.a)(this,t),Object(Ge.a)(this,Object(Ue.a)(t).apply(this,arguments))}return Object(Ze.a)(t,e),Object(Re.a)(t,[{key:"componentDidMount",value:function(){this.isSticky=!1,this.sync(),document.body.classList.contains("sticky-menu")&&(this.isSticky=!0,document.body.classList.remove("sticky-menu"))}},{key:"componentWillUnmount",value:function(){this.isSticky&&document.body.classList.add("sticky-menu")}},{key:"componentDidUpdate",value:function(e){this.props.isActive!==e.isActive&&this.sync()}},{key:"sync",value:function(){this.props.isActive?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode")}},{key:"render",value:function(){return null}}]),t}(i.Component),Rt=Object(h.withSelect)((function(e){return{isActive:e("core/edit-post").isFeatureActive("fullscreenMode")}}))(Ft);var Gt=function(e){function t(){var e;return Object(Fe.a)(this,t),(e=Object(Ge.a)(this,Object(Ue.a)(t).apply(this,arguments))).state={historyId:null},e}return Object(Ze.a)(t,e),Object(Re.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.postId,o=t.postStatus,r=t.postType,i=t.isSavingPost,c=this.state.historyId;"trash"!==o||i?n===e.postId&&n===c||"auto-draft"===o||this.setBrowserURL(n):this.setTrashURL(n,r)}},{key:"setTrashURL",value:function(e,t){window.location.href=function(e,t){return Object(y.addQueryArgs)("edit.php",{trashed:1,post_type:t,ids:e})}(e,t)}},{key:"setBrowserURL",value:function(e){window.history.replaceState({id:e},"Post "+e,function(e){return Object(y.addQueryArgs)("post.php",{post:e,action:"edit"})}(e)),this.setState((function(){return{historyId:e}}))}},{key:"render",value:function(){return null}}]),t}(i.Component),Ut=Object(h.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPost,o=t.isSavingPost,r=n();return{postId:r.id,postStatus:r.status,postType:r.type,isSavingPost:o()}}))(Gt);var Zt=Object(h.withSelect)((function(e){var t=e("core/editor").getCurrentPostType,n=e("core/edit-post").isFeatureActive,o=e("core").getPostType;return{isActive:n("fullscreenMode"),postType:o(t())}}))((function(e){var t=e.isActive,n=e.postType;return t&&n?Object(i.createElement)(f.Toolbar,{className:"edit-post-fullscreen-mode-close__toolbar"},Object(i.createElement)(f.IconButton,{icon:"arrow-left-alt2",href:Object(y.addQueryArgs)("edit.php",{post_type:n.slug}),label:Object(m.get)(n,["labels","view_items"],Object(E.__)("Back"))})):null}));var Wt=function(){var e=Object(h.useSelect)((function(e){return{hasFixedToolbar:e("core/edit-post").isFeatureActive("fixedToolbar"),showInserter:"visual"===e("core/edit-post").getEditorMode()&&e("core/editor").getEditorSettings().richEditingEnabled,isTextModeEnabled:"text"===e("core/edit-post").getEditorMode()}})),t=e.hasFixedToolbar,n=e.showInserter,o=e.isTextModeEnabled,r=Object(j.useViewportMatch)("medium"),l=t?Object(E.__)("Document and block tools"):Object(E.__)("Document tools");return Object(i.createElement)(c.NavigableToolbar,{className:"edit-post-header-toolbar","aria-label":l},Object(i.createElement)(c.Inserter,{disabled:!n,position:"bottom right",showInserterHelpPanel:!0}),Object(i.createElement)(a.EditorHistoryUndo,null),Object(i.createElement)(a.EditorHistoryRedo,null),Object(i.createElement)(a.TableOfContents,{hasOutlineItemsDisabled:o}),Object(i.createElement)(c.BlockNavigationDropdown,{isDisabled:o}),Object(i.createElement)(c.ToolSelector,null),(t||!r)&&Object(i.createElement)("div",{className:"edit-post-header-toolbar__block-toolbar"},Object(i.createElement)(c.BlockToolbar,null)))},zt=[{value:"visual",label:Object(E.__)("Visual Editor")},{value:"text",label:Object(E.__)("Code Editor")}];var qt=Object(j.compose)([Object(h.withSelect)((function(e){return{isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled,isCodeEditingEnabled:e("core/editor").getEditorSettings().codeEditingEnabled,mode:e("core/edit-post").getEditorMode()}})),Object(j.ifCondition)((function(e){var t=e.isRichEditingEnabled,n=e.isCodeEditingEnabled;return t&&n})),Object(h.withDispatch)((function(e){return{onSwitch:function(t){e("core/edit-post").switchEditorMode(t)}}}))])((function(e){var t=e.onSwitch,n=e.mode,o=zt.map((function(e){return e.value!==n?Object(I.a)({},e,{shortcut:Xe.toggleEditorMode.display}):e}));return Object(i.createElement)(f.MenuGroup,{label:Object(E.__)("Editor")},Object(i.createElement)(f.MenuItemsChoice,{choices:o,value:n,onSelect:t}))})),Kt=Object(f.createSlotFill)("PluginsMoreMenuGroup"),Qt=Kt.Fill,Yt=Kt.Slot;Qt.Slot=function(e){var t=e.fillProps;return Object(i.createElement)(Yt,{fillProps:t},(function(e){return!Object(m.isEmpty)(e)&&Object(i.createElement)(f.MenuGroup,{label:Object(E.__)("Plugins")},e)}))};var Xt=Qt;var $t=Object(h.withDispatch)((function(e){return{openModal:e("core/edit-post").openModal}}))((function(e){var t=e.openModal;return Object(i.createElement)(f.MenuItem,{onClick:function(){t("edit-post/options")}},Object(E.__)("Options"))}));var Jt=Object(j.compose)([Object(h.withSelect)((function(e,t){var n=t.feature;return{isActive:e("core/edit-post").isFeatureActive(n)}})),Object(h.withDispatch)((function(e,t){return{onToggle:function(){e("core/edit-post").toggleFeature(t.feature)}}})),f.withSpokenMessages])((function(e){var t=e.onToggle,n=e.isActive,o=e.label,r=e.info,c=e.messageActivated,a=e.messageDeactivated,l=e.speak;return Object(i.createElement)(f.MenuItem,{icon:n&&"yes",isSelected:n,onClick:Object(m.flow)(t,(function(){l(n?a||Object(E.__)("Feature deactivated"):c||Object(E.__)("Feature activated"))})),role:"menuitemcheckbox",info:r},o)}));var en=function(){return Object(j.useViewportMatch)("medium")?Object(i.createElement)(f.MenuGroup,{label:Object(E._x)("View","noun")},Object(i.createElement)(Jt,{feature:"fixedToolbar",label:Object(E.__)("Top Toolbar"),info:Object(E.__)("Access all block and document tools in a single place"),messageActivated:Object(E.__)("Top toolbar activated"),messageDeactivated:Object(E.__)("Top toolbar deactivated")}),Object(i.createElement)(Jt,{feature:"focusMode",label:Object(E.__)("Spotlight Mode"),info:Object(E.__)("Focus on one block at a time"),messageActivated:Object(E.__)("Spotlight mode activated"),messageDeactivated:Object(E.__)("Spotlight mode deactivated")}),Object(i.createElement)(Jt,{feature:"fullscreenMode",label:Object(E.__)("Fullscreen Mode"),info:Object(E.__)("Work without distraction"),messageActivated:Object(E.__)("Fullscreen mode activated"),messageDeactivated:Object(E.__)("Fullscreen mode deactivated")})):null},tn={className:"edit-post-more-menu__content",position:"bottom left"},nn={labelPosition:"bottom"},on=function(){return Object(i.createElement)(f.DropdownMenu,{className:"edit-post-more-menu",icon:"ellipsis",label:Object(E.__)("More tools & options"),popoverProps:tn,toggleProps:nn},(function(e){var t=e.onClose;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(en,null),Object(i.createElement)(qt,null),Object(i.createElement)(Xt.Slot,{fillProps:{onClose:t}}),Object(i.createElement)(T.Slot,{fillProps:{onClose:t}}),Object(i.createElement)(f.MenuGroup,null,Object(i.createElement)($t,null)))}))},rn=Object(f.createSlotFill)("PinnedPlugins"),cn=rn.Fill,an=rn.Slot;cn.Slot=function(e){return Object(i.createElement)(an,e,(function(e){return!Object(m.isEmpty)(e)&&Object(i.createElement)("div",{className:"edit-post-pinned-plugins"},e)}))};var ln=cn;var sn=Object(j.compose)(Object(h.withSelect)((function(e){return{hasPublishAction:Object(m.get)(e("core/editor").getCurrentPost(),["_links","wp:action-publish"],!1),isBeingScheduled:e("core/editor").isEditedPostBeingScheduled(),isPending:e("core/editor").isCurrentPostPending(),isPublished:e("core/editor").isCurrentPostPublished(),isPublishSidebarEnabled:e("core/editor").isPublishSidebarEnabled(),isPublishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),isScheduled:e("core/editor").isCurrentPostScheduled()}})),Object(h.withDispatch)((function(e){return{togglePublishSidebar:e("core/edit-post").togglePublishSidebar}})))((function(e){var t,n=e.forceIsDirty,o=e.forceIsSaving,r=e.hasPublishAction,c=e.isBeingScheduled,l=e.isPending,s=e.isPublished,u=e.isPublishSidebarEnabled,d=e.isPublishSidebarOpened,b=e.isScheduled,p=e.togglePublishSidebar,m=Object(j.useViewportMatch)("medium","<");return t=s||b&&c||l&&!r&&!m?"button":m?"toggle":u?"toggle":"button",Object(i.createElement)(a.PostPublishButton,{forceIsDirty:n,forceIsSaving:o,isOpen:d,isToggle:"toggle"===t,onToggle:p})}));var un=Object(j.compose)(Object(h.withSelect)((function(e){return{hasActiveMetaboxes:e("core/edit-post").hasMetaBoxes(),isEditorSidebarOpened:e("core/edit-post").isEditorSidebarOpened(),isPublishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),isSaving:e("core/edit-post").isSavingMetaBoxes()}})),Object(h.withDispatch)((function(e,t,n){var o=(0,n.select)("core/block-editor").getBlockSelectionStart,r=e("core/edit-post"),i=r.openGeneralSidebar;return{openGeneralSidebar:function(){return i(o()?"edit-post/block":"edit-post/document")},closeGeneralSidebar:r.closeGeneralSidebar}})))((function(e){var t=e.closeGeneralSidebar,n=e.hasActiveMetaboxes,o=e.isEditorSidebarOpened,r=e.isPublishSidebarOpened,c=e.isSaving,l=e.openGeneralSidebar,s=o?t:l;return Object(i.createElement)("div",{className:"edit-post-header"},Object(i.createElement)("div",{className:"edit-post-header__toolbar"},Object(i.createElement)(Zt,null),Object(i.createElement)(Wt,null)),Object(i.createElement)("div",{className:"edit-post-header__settings"},!r&&Object(i.createElement)(a.PostSavedState,{forceIsDirty:n,forceIsSaving:c}),Object(i.createElement)(a.PostPreviewButton,{forceIsAutosaveable:n,forcePreviewLink:c?null:void 0}),Object(i.createElement)(sn,{forceIsDirty:n,forceIsSaving:c}),Object(i.createElement)(f.IconButton,{icon:"admin-generic",label:Object(E.__)("Settings"),onClick:s,isToggled:o,"aria-expanded":o,shortcut:Xe.toggleSidebar}),Object(i.createElement)(ln.Slot,null),Object(i.createElement)(on,null)))})),dn=Object(f.createSlotFill)("Sidebar"),bn=dn.Fill,pn=dn.Slot;function mn(e){var t=e.children,n=e.className;return Object(i.createElement)("div",{className:Qe()("edit-post-sidebar",n)},t)}mn=Object(f.withFocusReturn)({onFocusReturn:function(){var e=document.querySelector('.edit-post-header__settings [aria-label="Settings"]');if(e)return e.focus(),!1}})(mn);var On=Object(j.compose)(Object(h.withSelect)((function(e,t){var n=t.name;return{isActive:e("core/edit-post").getActiveGeneralSidebarName()===n}})),Object(j.ifCondition)((function(e){return e.isActive})))((function(e){return Object(i.createElement)(bn,null,Object(i.createElement)(f.Animate,{type:"slide-in",options:{origin:"left"}},(function(){return Object(i.createElement)(mn,e)})))}));On.Slot=pn;var fn=On,hn=Object(j.compose)(Object(h.withSelect)((function(e){return{title:e("core/editor").getEditedPostAttribute("title")}})),Object(h.withDispatch)((function(e){return{closeSidebar:e("core/edit-post").closeGeneralSidebar}})))((function(e){var t=e.children,n=e.className,o=e.closeLabel,r=e.closeSidebar,c=e.title;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"components-panel__header edit-post-sidebar-header__small"},Object(i.createElement)("span",{className:"edit-post-sidebar-header__title"},c||Object(E.__)("(no title)")),Object(i.createElement)(f.IconButton,{onClick:r,icon:"no-alt",label:o})),Object(i.createElement)("div",{className:Qe()("components-panel__header edit-post-sidebar-header",n)},t,Object(i.createElement)(f.IconButton,{onClick:r,icon:"no-alt",label:o,shortcut:Xe.toggleSidebar})))})),En=Object(h.withDispatch)((function(e){var t=e("core/edit-post").openGeneralSidebar;return{openDocumentSettings:function(){t("edit-post/document")},openBlockSettings:function(){t("edit-post/block")}}}))((function(e){var t=e.openDocumentSettings,n=e.openBlockSettings,o=e.sidebarName,r=Object(E.__)("Block"),c="edit-post/document"===o?[Object(E.__)("Document (selected)"),"is-active"]:[Object(E.__)("Document"),""],a=Object(U.a)(c,2),l=a[0],s=a[1],u="edit-post/block"===o?[Object(E.__)("Block (selected)"),"is-active"]:[Object(E.__)("Block"),""],d=Object(U.a)(u,2),b=d[0],p=d[1];return Object(i.createElement)(hn,{className:"edit-post-sidebar__panel-tabs",closeLabel:Object(E.__)("Close settings")},Object(i.createElement)("ul",null,Object(i.createElement)("li",null,Object(i.createElement)(f.Button,{onClick:t,className:"edit-post-sidebar__panel-tab ".concat(s),"aria-label":l,"data-label":Object(E.__)("Document")},Object(E.__)("Document"))),Object(i.createElement)("li",null,Object(i.createElement)(f.Button,{onClick:n,className:"edit-post-sidebar__panel-tab ".concat(p),"aria-label":b,"data-label":r},r))))}));var jn=function(){return Object(i.createElement)(a.PostVisibilityCheck,{render:function(e){var t=e.canEdit;return Object(i.createElement)(f.PanelRow,{className:"edit-post-post-visibility"},Object(i.createElement)("span",null,Object(E.__)("Visibility")),!t&&Object(i.createElement)("span",null,Object(i.createElement)(a.PostVisibilityLabel,null)),t&&Object(i.createElement)(f.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-visibility__dialog",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(i.createElement)(f.Button,{"aria-expanded":t,className:"edit-post-post-visibility__toggle",onClick:n,isLink:!0},Object(i.createElement)(a.PostVisibilityLabel,null))},renderContent:function(){return Object(i.createElement)(a.PostVisibility,null)}}))}})};function gn(){return Object(i.createElement)(a.PostTrashCheck,null,Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(a.PostTrash,null)))}var vn=function(){return Object(i.createElement)(a.PostScheduleCheck,null,Object(i.createElement)(f.PanelRow,{className:"edit-post-post-schedule"},Object(i.createElement)("span",null,Object(E.__)("Publish")),Object(i.createElement)(f.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-schedule__dialog",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(f.Button,{className:"edit-post-post-schedule__toggle",onClick:t,"aria-expanded":n,isLink:!0},Object(i.createElement)(a.PostScheduleLabel,null)))},renderContent:function(){return Object(i.createElement)(a.PostSchedule,null)}})))};var _n=function(){return Object(i.createElement)(a.PostStickyCheck,null,Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(a.PostSticky,null)))};var yn=function(){return Object(i.createElement)(a.PostAuthorCheck,null,Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(a.PostAuthor,null)))};var Sn=function(){return Object(i.createElement)(a.PostSlugCheck,null,Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(a.PostSlug,null)))};var Cn=function(){return Object(i.createElement)(a.PostFormatCheck,null,Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(a.PostFormat,null)))};var kn=function(){return Object(i.createElement)(a.PostPendingStatusCheck,null,Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(a.PostPendingStatus,null)))},wn=Object(f.createSlotFill)("PluginPostStatusInfo"),Pn=wn.Fill,xn=wn.Slot,Mn=function(e){var t=e.children,n=e.className;return Object(i.createElement)(Pn,null,Object(i.createElement)(f.PanelRow,{className:n},t))};Mn.Slot=xn;var Tn=Mn;var Nn=Object(j.compose)([Object(h.withSelect)((function(e){var t=e("core/edit-post"),n=t.isEditorPanelRemoved,o=t.isEditorPanelOpened;return{isRemoved:n("post-status"),isOpened:o("post-status")}})),Object(j.ifCondition)((function(e){return!e.isRemoved})),Object(h.withDispatch)((function(e){return{onTogglePanel:function(){return e("core/edit-post").toggleEditorPanelOpened("post-status")}}}))])((function(e){var t=e.isOpened,n=e.onTogglePanel;return Object(i.createElement)(f.PanelBody,{className:"edit-post-post-status",title:Object(E.__)("Status & Visibility"),opened:t,onToggle:n},Object(i.createElement)(Tn.Slot,null,(function(e){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(jn,null),Object(i.createElement)(vn,null),Object(i.createElement)(Cn,null),Object(i.createElement)(_n,null),Object(i.createElement)(kn,null),Object(i.createElement)(Sn,null),Object(i.createElement)(yn,null),e,Object(i.createElement)(gn,null))})))}));var An=function(){return Object(i.createElement)(a.PostLastRevisionCheck,null,Object(i.createElement)(f.PanelBody,{className:"edit-post-last-revision__panel"},Object(i.createElement)(a.PostLastRevision,null)))};var Bn=Object(j.compose)(Object(h.withSelect)((function(e,t){var n=Object(m.get)(t.taxonomy,["slug"]),o=n?"taxonomy-panel-".concat(n):"";return{panelName:o,isEnabled:!!n&&e("core/edit-post").isEditorPanelEnabled(o),isOpened:!!n&&e("core/edit-post").isEditorPanelOpened(o)}})),Object(h.withDispatch)((function(e,t){return{onTogglePanel:function(){e("core/edit-post").toggleEditorPanelOpened(t.panelName)}}})))((function(e){var t=e.isEnabled,n=e.taxonomy,o=e.isOpened,r=e.onTogglePanel,c=e.children;if(!t)return null;var a=Object(m.get)(n,["labels","menu_name"]);return a?Object(i.createElement)(f.PanelBody,{title:a,opened:o,onToggle:r},c):null}));var Ln=function(){return Object(i.createElement)(a.PostTaxonomiesCheck,null,Object(i.createElement)(a.PostTaxonomies,{taxonomyWrapper:function(e,t){return Object(i.createElement)(Bn,{taxonomy:t},e)}}))};var In=Object(h.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute,n=e("core").getPostType,o=e("core/edit-post"),r=o.isEditorPanelEnabled,i=o.isEditorPanelOpened;return{postType:n(t("type")),isEnabled:r("featured-image"),isOpened:i("featured-image")}})),Dn=Object(h.withDispatch)((function(e){var t=e("core/edit-post").toggleEditorPanelOpened;return{onTogglePanel:Object(m.partial)(t,"featured-image")}})),Hn=Object(j.compose)(In,Dn)((function(e){var t=e.isEnabled,n=e.isOpened,o=e.postType,r=e.onTogglePanel;return t?Object(i.createElement)(a.PostFeaturedImageCheck,null,Object(i.createElement)(f.PanelBody,{title:Object(m.get)(o,["labels","featured_image"],Object(E.__)("Featured Image")),opened:n,onToggle:r},Object(i.createElement)(a.PostFeaturedImage,null))):null}));var Vn=Object(j.compose)([Object(h.withSelect)((function(e){return{isEnabled:e("core/edit-post").isEditorPanelEnabled("post-excerpt"),isOpened:e("core/edit-post").isEditorPanelOpened("post-excerpt")}})),Object(h.withDispatch)((function(e){return{onTogglePanel:function(){return e("core/edit-post").toggleEditorPanelOpened("post-excerpt")}}}))])((function(e){var t=e.isEnabled,n=e.isOpened,o=e.onTogglePanel;return t?Object(i.createElement)(a.PostExcerptCheck,null,Object(i.createElement)(f.PanelBody,{title:Object(E.__)("Excerpt"),opened:n,onToggle:o},Object(i.createElement)(a.PostExcerpt,null))):null}));var Fn=Object(j.compose)([Object(h.withSelect)((function(e){var t=e("core/editor"),n=t.isEditedPostNew,o=t.isPermalinkEditable,r=t.getCurrentPost,i=t.isCurrentPostPublished,c=t.getPermalinkParts,a=t.getEditedPostAttribute,l=e("core/edit-post"),s=l.isEditorPanelEnabled,u=l.isEditorPanelOpened,d=e("core").getPostType,b=r(),p=b.link,O=b.id,f=d(a("type"));return{isNew:n(),postLink:p,isEditable:o(),isPublished:i(),isOpened:u("post-link"),permalinkParts:c(),isEnabled:s("post-link"),isViewable:Object(m.get)(f,["viewable"],!1),postTitle:a("title"),postSlug:a("slug"),postID:O,postTypeLabel:Object(m.get)(f,["labels","view_item"])}})),Object(j.ifCondition)((function(e){var t=e.isEnabled,n=e.isNew,o=e.postLink,r=e.isViewable,i=e.permalinkParts;return t&&!n&&o&&r&&i})),Object(h.withDispatch)((function(e){var t=e("core/edit-post").toggleEditorPanelOpened,n=e("core/editor").editPost;return{onTogglePanel:function(){return t("post-link")},editPermalink:function(e){n({slug:e})}}})),Object(j.withState)({forceEmptyField:!1})])((function(e){var t,n,o,r=e.isOpened,c=e.onTogglePanel,l=e.isEditable,s=e.postLink,u=e.permalinkParts,d=e.editPermalink,b=e.forceEmptyField,p=e.setState,m=e.postTitle,O=e.postSlug,h=e.postID,j=e.postTypeLabel,g=u.prefix,v=u.suffix,_=Object(y.safeDecodeURIComponent)(O)||Object(a.cleanForSlug)(m)||h;return l&&(t=g&&Object(i.createElement)("span",{className:"edit-post-post-link__link-prefix"},g),n=_&&Object(i.createElement)("span",{className:"edit-post-post-link__link-post-name"},_),o=v&&Object(i.createElement)("span",{className:"edit-post-post-link__link-suffix"},v)),Object(i.createElement)(f.PanelBody,{title:Object(E.__)("Permalink"),opened:r,onToggle:c},l&&Object(i.createElement)("div",{className:"editor-post-link"},Object(i.createElement)(f.TextControl,{label:Object(E.__)("URL Slug"),value:b?"":_,onChange:function(e){d(e),e?b&&p({forceEmptyField:!1}):b||p({forceEmptyField:!0})},onBlur:function(e){d(Object(a.cleanForSlug)(e.target.value)),b&&p({forceEmptyField:!1})}}),Object(i.createElement)("p",null,Object(E.__)("The last part of the URL.")," ",Object(i.createElement)(f.ExternalLink,{href:"https://wordpress.org/support/article/writing-posts/#post-field-descriptions"},Object(E.__)("Read about permalinks")))),Object(i.createElement)("p",{className:"edit-post-post-link__preview-label"},j||Object(E.__)("View Post")),Object(i.createElement)("div",{className:"edit-post-post-link__preview-link-container"},Object(i.createElement)(f.ExternalLink,{className:"edit-post-post-link__link",href:s,target:"_blank"},l?Object(i.createElement)(i.Fragment,null,t,n,o):s)))}));var Rn=Object(j.compose)([Object(h.withSelect)((function(e){return{isEnabled:e("core/edit-post").isEditorPanelEnabled("discussion-panel"),isOpened:e("core/edit-post").isEditorPanelOpened("discussion-panel")}})),Object(h.withDispatch)((function(e){return{onTogglePanel:function(){return e("core/edit-post").toggleEditorPanelOpened("discussion-panel")}}}))])((function(e){var t=e.isEnabled,n=e.isOpened,o=e.onTogglePanel;return t?Object(i.createElement)(a.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(i.createElement)(f.PanelBody,{title:Object(E.__)("Discussion"),opened:n,onToggle:o},Object(i.createElement)(a.PostTypeSupportCheck,{supportKeys:"comments"},Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(a.PostComments,null))),Object(i.createElement)(a.PostTypeSupportCheck,{supportKeys:"trackbacks"},Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(a.PostPingbacks,null))))):null}));var Gn=Object(h.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute,n=e("core/edit-post"),o=n.isEditorPanelEnabled,r=n.isEditorPanelOpened,i=e("core").getPostType;return{isEnabled:o("page-attributes"),isOpened:r("page-attributes"),postType:i(t("type"))}})),Un=Object(h.withDispatch)((function(e){var t=e("core/edit-post").toggleEditorPanelOpened;return{onTogglePanel:Object(m.partial)(t,"page-attributes")}})),Zn=Object(j.compose)(Gn,Un)((function(e){var t=e.isEnabled,n=e.isOpened,o=e.onTogglePanel,r=e.postType;return t&&r?Object(i.createElement)(a.PageAttributesCheck,null,Object(i.createElement)(f.PanelBody,{title:Object(m.get)(r,["labels","attributes"],Object(E.__)("Page Attributes")),opened:n,onToggle:o},Object(i.createElement)(a.PageTemplate,null),Object(i.createElement)(a.PageAttributesParent,null),Object(i.createElement)(f.PanelRow,null,Object(i.createElement)(a.PageAttributesOrder,null)))):null})),Wn=function(e){function t(){var e;return Object(Fe.a)(this,t),(e=Object(Ge.a)(this,Object(Ue.a)(t).apply(this,arguments))).bindContainerNode=e.bindContainerNode.bind(Object(rt.a)(e)),e}return Object(Ze.a)(t,e),Object(Re.a)(t,[{key:"componentDidMount",value:function(){this.form=document.querySelector(".metabox-location-"+this.props.location),this.form&&this.container.appendChild(this.form)}},{key:"componentWillUnmount",value:function(){this.form&&document.querySelector("#metaboxes").appendChild(this.form)}},{key:"bindContainerNode",value:function(e){this.container=e}},{key:"render",value:function(){var e=this.props,t=e.location,n=e.isSaving,o=Qe()("edit-post-meta-boxes-area","is-".concat(t),{"is-loading":n});return Object(i.createElement)("div",{className:o},n&&Object(i.createElement)(f.Spinner,null),Object(i.createElement)("div",{className:"edit-post-meta-boxes-area__container",ref:this.bindContainerNode}),Object(i.createElement)("div",{className:"edit-post-meta-boxes-area__clear"}))}}]),t}(i.Component),zn=Object(h.withSelect)((function(e){return{isSaving:e("core/edit-post").isSavingMetaBoxes()}}))(Wn),qn=function(e){function t(){return Object(Fe.a)(this,t),Object(Ge.a)(this,Object(Ue.a)(t).apply(this,arguments))}return Object(Ze.a)(t,e),Object(Re.a)(t,[{key:"componentDidMount",value:function(){this.updateDOM()}},{key:"componentDidUpdate",value:function(e){this.props.isVisible!==e.isVisible&&this.updateDOM()}},{key:"updateDOM",value:function(){var e=this.props,t=e.id,n=e.isVisible,o=document.getElementById(t);o&&(n?o.classList.remove("is-hidden"):o.classList.add("is-hidden"))}},{key:"render",value:function(){return null}}]),t}(i.Component),Kn=Object(h.withSelect)((function(e,t){var n=t.id;return{isVisible:e("core/edit-post").isEditorPanelEnabled("meta-box-".concat(n))}}))(qn);var Qn=Object(h.withSelect)((function(e,t){var n=t.location,o=e("core/edit-post"),r=o.isMetaBoxLocationVisible;return{metaBoxes:(0,o.getMetaBoxesPerLocation)(n),isVisible:r(n)}}))((function(e){var t=e.location,n=e.isVisible,o=e.metaBoxes;return Object(i.createElement)(i.Fragment,null,Object(m.map)(o,(function(e){var t=e.id;return Object(i.createElement)(Kn,{key:t,id:t})})),n&&Object(i.createElement)(zn,{location:t}))})),Yn=Object(f.createSlotFill)("PluginDocumentSettingPanel"),Xn=Yn.Fill,$n=Yn.Slot,Jn=Object(j.compose)(Object(_.withPluginContext)((function(e,t){return{icon:t.icon||e.icon,panelName:"".concat(e.name,"/").concat(t.name)}})),Object(h.withSelect)((function(e,t){var n=t.panelName;return{opened:e("core/edit-post").isEditorPanelOpened(n),isEnabled:e("core/edit-post").isEditorPanelEnabled(n)}})),Object(h.withDispatch)((function(e,t){var n=t.panelName;return{onToggle:function(){return e("core/edit-post").toggleEditorPanelOpened(n)}}})))((function(e){var t=e.isEnabled,n=e.panelName,o=e.opened,r=e.onToggle,c=e.className,a=e.title,l=e.icon,s=e.children;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Bt,{label:a,panelName:n}),Object(i.createElement)(Xn,null,t&&Object(i.createElement)(f.PanelBody,{className:c,title:a,icon:l,opened:o,onToggle:r},s)))}));Jn.Slot=$n;var eo=Jn,to=Object(j.compose)(Object(h.withSelect)((function(e){var t=e("core/edit-post"),n=t.getActiveGeneralSidebarName;return{isEditorSidebarOpened:(0,t.isEditorSidebarOpened)(),sidebarName:n()}})),Object(j.ifCondition)((function(e){return e.isEditorSidebarOpened})))((function(e){var t=e.sidebarName;return Object(i.createElement)(fn,{name:t},Object(i.createElement)(En,{sidebarName:t}),Object(i.createElement)(f.Panel,null,"edit-post/document"===t&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Nn,null),Object(i.createElement)(eo.Slot,null),Object(i.createElement)(An,null),Object(i.createElement)(Fn,null),Object(i.createElement)(Ln,null),Object(i.createElement)(Hn,null),Object(i.createElement)(Vn,null),Object(i.createElement)(Rn,null),Object(i.createElement)(Zn,null),Object(i.createElement)(Qn,{location:"side"})),"edit-post/block"===t&&Object(i.createElement)(c.BlockInspector,null)))})),no=Object(f.createSlotFill)("PluginPostPublishPanel"),oo=no.Fill,ro=no.Slot,io=Object(j.compose)(Object(_.withPluginContext)((function(e,t){return{icon:t.icon||e.icon}})))((function(e){var t=e.children,n=e.className,o=e.title,r=e.initialOpen,c=void 0!==r&&r,a=e.icon;return Object(i.createElement)(oo,null,Object(i.createElement)(f.PanelBody,{className:n,initialOpen:c||!o,title:o,icon:a},t))}));io.Slot=ro;var co=io,ao=Object(f.createSlotFill)("PluginPrePublishPanel"),lo=ao.Fill,so=ao.Slot,uo=Object(j.compose)(Object(_.withPluginContext)((function(e,t){return{icon:t.icon||e.icon}})))((function(e){var t=e.children,n=e.className,o=e.title,r=e.initialOpen,c=void 0!==r&&r,a=e.icon;return Object(i.createElement)(lo,null,Object(i.createElement)(f.PanelBody,{className:n,initialOpen:c||!o,title:o,icon:a},t))}));uo.Slot=so;var bo=uo,po=function(e){return Object(i.createElement)("img",Object(b.a)({alt:"",src:"data:image/svg+xml,%3Csvg width='306' height='286' viewBox='0 0 306 286' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='306' height='286' rx='4' fill='%2366C6E4'/%3E%3Crect x='36' y='30' width='234' height='256' fill='white'/%3E%3Crect x='36' y='80' width='234' height='94' fill='%23E2E4E7'/%3E%3Cpath d='M140.237 121.47L142.109 125H157.255V133H140.237V121.47ZM159.382 119H155.128L157.255 123H154.064L151.937 119H149.809L151.937 123H148.746L146.618 119H144.491L146.618 123H143.428L141.3 119H140.237C139.067 119 138.12 119.9 138.12 121L138.109 133C138.109 134.1 139.067 135 140.237 135H157.255C158.425 135 159.382 134.1 159.382 133V119Z' fill='%23444444'/%3E%3Crect x='57' y='182' width='91.4727' height='59' fill='%23E2E4E7'/%3E%3Crect x='156.982' y='182' width='91.4727' height='59' fill='%23E2E4E7'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M112.309 203H93.1634C92.0998 203 91.0361 204 91.0361 205V219C91.0361 220.1 91.9934 221 93.1634 221H112.309C113.372 221 114.436 220 114.436 219V205C114.436 204 113.372 203 112.309 203ZM112.309 218.92C112.294 218.941 112.269 218.962 112.248 218.979L112.248 218.979C112.239 218.987 112.23 218.994 112.224 219H93.1634V205.08L93.2485 205H112.213C112.235 205.014 112.258 205.038 112.276 205.057C112.284 205.066 112.292 205.074 112.298 205.08V218.92H112.309ZM99.0134 212.5L101.672 215.51L105.395 211L110.182 217H95.2907L99.0134 212.5Z' fill='%2340464D'/%3E%3Cmask id='mask0' mask-type='alpha' maskUnits='userSpaceOnUse' x='91' y='203' width='24' height='18'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M112.309 203H93.1634C92.0998 203 91.0361 204 91.0361 205V219C91.0361 220.1 91.9934 221 93.1634 221H112.309C113.372 221 114.436 220 114.436 219V205C114.436 204 113.372 203 112.309 203ZM112.309 218.92C112.294 218.941 112.269 218.962 112.248 218.979L112.248 218.979C112.239 218.987 112.23 218.994 112.224 219H93.1634V205.08L93.2485 205H112.213C112.235 205.014 112.258 205.038 112.276 205.057C112.284 205.066 112.292 205.074 112.298 205.08V218.92H112.309ZM99.0134 212.5L101.672 215.51L105.395 211L110.182 217H95.2907L99.0134 212.5Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask0)'%3E%3Crect x='89.9727' y='200' width='25.5273' height='24' fill='%2340464D'/%3E%3C/g%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M212.291 203H193.145C192.082 203 191.018 204 191.018 205V219C191.018 220.1 191.975 221 193.145 221H212.291C213.354 221 214.418 220 214.418 219V205C214.418 204 213.354 203 212.291 203ZM212.291 218.92C212.276 218.941 212.251 218.962 212.23 218.979L212.23 218.979C212.221 218.987 212.212 218.994 212.206 219H193.145V205.08L193.23 205H212.195C212.217 205.014 212.24 205.038 212.258 205.057C212.266 205.066 212.274 205.074 212.28 205.08V218.92H212.291ZM198.995 212.5L201.654 215.51L205.377 211L210.164 217H195.273L198.995 212.5Z' fill='%2340464D'/%3E%3Cmask id='mask1' mask-type='alpha' maskUnits='userSpaceOnUse' x='191' y='203' width='24' height='18'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M212.291 203H193.145C192.082 203 191.018 204 191.018 205V219C191.018 220.1 191.975 221 193.145 221H212.291C213.354 221 214.418 220 214.418 219V205C214.418 204 213.354 203 212.291 203ZM212.291 218.92C212.276 218.941 212.251 218.962 212.23 218.979L212.23 218.979C212.221 218.987 212.212 218.994 212.206 219H193.145V205.08L193.23 205H212.195C212.217 205.014 212.24 205.038 212.258 205.057C212.266 205.066 212.274 205.074 212.28 205.08V218.92H212.291ZM198.995 212.5L201.654 215.51L205.377 211L210.164 217H195.273L198.995 212.5Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask1)'%3E%3Crect x='189.955' y='200' width='25.5273' height='24' fill='%2340464D'/%3E%3C/g%3E%3Crect x='57' y='38' width='191.455' height='34' fill='%23E2E4E7'/%3E%3Cpath d='M155.918 47.8V54.04H149.537V47.8H146.346V63.4H149.537V57.16H155.918V63.4H159.109V47.8' fill='%2340464D'/%3E%3Crect x='58' y='249' width='191' height='37' fill='%23E2E4E7'/%3E%3Cpath d='M160.127 261.4H150.606C149.546 261.4 148.576 261.64 147.696 262.12C146.802 262.612 146.1 263.272 145.59 264.1C145.066 264.928 144.811 265.84 144.811 266.824C144.811 267.808 145.066 268.72 145.59 269.548C146.1 270.376 146.802 271.036 147.696 271.516C148.576 272.008 149.546 272.248 150.606 272.248H151.155V279.4C151.155 279.724 151.282 280.012 151.525 280.252C151.78 280.48 152.086 280.6 152.431 280.6C152.788 280.6 153.082 280.48 153.337 280.252C153.592 280.012 153.72 279.724 153.72 279.4V265C153.72 264.676 153.835 264.388 154.09 264.148C154.345 263.92 154.652 263.8 154.996 263.8C155.341 263.8 155.647 263.92 155.903 264.148C156.145 264.388 156.273 264.676 156.273 265V279.4C156.273 279.724 156.4 280.012 156.656 280.252C156.911 280.48 157.205 280.6 157.562 280.6C157.907 280.6 158.213 280.48 158.468 280.252C158.711 280.012 158.838 279.724 158.838 279.4V263.8H160.127C160.472 263.8 160.766 263.68 161.021 263.44C161.276 263.212 161.404 262.924 161.404 262.6C161.404 262.276 161.276 261.988 161.021 261.748C160.766 261.52 160.472 261.4 160.127 261.4Z' fill='%2340464D'/%3E%3C/svg%3E%0A"},e))},mo=function(e){return Object(i.createElement)("img",Object(b.a)({alt:"",src:"data:image/svg+xml,%3Csvg width='306' height='286' viewBox='0 0 306 286' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='306' height='286' rx='4' fill='%2366C6E4'/%3E%3Crect x='34.5' y='89.9424' width='237' height='113.423' fill='white' stroke='%238D96A0'/%3E%3Crect x='42.2383' y='98.5962' width='219.692' height='95.6618' fill='%23E2E4E7'/%3E%3Crect x='34.5' y='71.6346' width='27.0718' height='18.1324' fill='white' stroke='%238D96A0'/%3E%3Crect x='152.89' y='71.6346' width='18.5282' height='18.1324' fill='white' stroke='%238D96A0'/%3E%3Crect x='61.3516' y='71.6346' width='51.482' height='18.1324' fill='white' stroke='%238D96A0'/%3E%3Crect x='112.613' y='71.6346' width='40.4974' height='18.1324' fill='white' stroke='%238D96A0'/%3E%3Cpath d='M157.577 137.408H149.383C148.471 137.408 147.636 137.628 146.878 138.068C146.109 138.518 145.505 139.122 145.066 139.88C144.615 140.638 144.396 141.473 144.396 142.373C144.396 143.274 144.615 144.109 145.066 144.867C145.505 145.625 146.109 146.229 146.878 146.668C147.636 147.119 148.471 147.339 149.383 147.339H149.855V153.885C149.855 154.182 149.965 154.446 150.173 154.665C150.393 154.874 150.657 154.984 150.953 154.984C151.261 154.984 151.514 154.874 151.733 154.665C151.953 154.446 152.063 154.182 152.063 153.885V140.704C152.063 140.407 152.162 140.144 152.381 139.924C152.601 139.715 152.865 139.605 153.161 139.605C153.458 139.605 153.721 139.715 153.941 139.924C154.15 140.144 154.26 140.407 154.26 140.704V153.885C154.26 154.182 154.37 154.446 154.589 154.665C154.809 154.874 155.062 154.984 155.369 154.984C155.666 154.984 155.929 154.874 156.149 154.665C156.358 154.446 156.468 154.182 156.468 153.885V139.605H157.577C157.874 139.605 158.126 139.496 158.346 139.276C158.566 139.067 158.676 138.803 158.676 138.507C158.676 138.21 158.566 137.947 158.346 137.727C158.126 137.518 157.874 137.408 157.577 137.408Z' fill='%2340464D'/%3E%3Crect x='41.3232' y='77.1135' width='15.8667' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='66.9536' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='77.9385' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='88.9229' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='99.9077' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='118.215' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='129.2' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='140.185' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='158.492' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3C/svg%3E%0A"},e))},Oo=function(e){return Object(i.createElement)("img",Object(b.a)({alt:"",src:"data:image/svg+xml,%3Csvg width='306' height='286' viewBox='0 0 306 286' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='306' height='286' rx='4' fill='%2366C6E4'/%3E%3Cmask id='mask0' mask-type='alpha' maskUnits='userSpaceOnUse' x='141' y='25' width='24' height='24'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152.765 25C146.294 25 141 30.2943 141 36.7651C141 43.2359 146.294 48.5302 152.765 48.5302C159.236 48.5302 164.53 43.2359 164.53 36.7651C164.53 30.2943 159.236 25 152.765 25ZM151.589 32.0591V35.5886H148.059V37.9416H151.589V41.4711H153.942V37.9416H157.471V35.5886H153.942V32.0591H151.589ZM143.353 36.7651C143.353 41.9417 147.588 46.1772 152.765 46.1772C157.942 46.1772 162.177 41.9417 162.177 36.7651C162.177 31.5885 157.942 27.353 152.765 27.353C147.588 27.353 143.353 31.5885 143.353 36.7651Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask0)'%3E%3Crect x='141' y='25' width='23.5253' height='23.5253' fill='white'/%3E%3C/g%3E%3Cg filter='url(%23filter0_d)'%3E%3Crect x='48' y='63' width='210' height='190' fill='white'/%3E%3C/g%3E%3Cmask id='mask1' mask-type='alpha' maskUnits='userSpaceOnUse' x='143' y='139' width='20' height='16'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M143.75 141C143.75 140.17 144.42 139.5 145.25 139.5C146.08 139.5 146.75 140.17 146.75 141C146.75 141.83 146.08 142.5 145.25 142.5C144.42 142.5 143.75 141.83 143.75 141ZM143.75 147C143.75 146.17 144.42 145.5 145.25 145.5C146.08 145.5 146.75 146.17 146.75 147C146.75 147.83 146.08 148.5 145.25 148.5C144.42 148.5 143.75 147.83 143.75 147ZM145.25 151.5C144.42 151.5 143.75 152.18 143.75 153C143.75 153.82 144.43 154.5 145.25 154.5C146.07 154.5 146.75 153.82 146.75 153C146.75 152.18 146.08 151.5 145.25 151.5ZM162.25 154H148.25V152H162.25V154ZM148.25 148H162.25V146H148.25V148ZM148.25 142V140H162.25V142H148.25Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask1)'%3E%3Crect x='141' y='135' width='24' height='24' fill='%23444444'/%3E%3C/g%3E%3Cmask id='mask2' mask-type='alpha' maskUnits='userSpaceOnUse' x='139' y='54' width='28' height='11'%3E%3Crect x='139' y='54' width='28' height='11' fill='%23C4C4C4'/%3E%3C/mask%3E%3Cg mask='url(%23mask2)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M139 67L153 54L167 67H139Z' fill='white'/%3E%3C/g%3E%3Crect x='59' y='74' width='188' height='28' rx='3' stroke='%231486B8' stroke-width='2'/%3E%3Cpath d='M211 207.47L212.76 211H227V219H211V207.47ZM229 205H225L227 209H224L222 205H220L222 209H219L217 205H215L217 209H214L212 205H211C209.9 205 209.01 205.9 209.01 207L209 219C209 220.1 209.9 221 211 221H227C228.1 221 229 220.1 229 219V205Z' fill='%23444444'/%3E%3Cpath d='M94.0001 136.4H85.0481C84.0521 136.4 83.1401 136.64 82.3121 137.12C81.4721 137.612 80.8121 138.272 80.3321 139.1C79.8401 139.928 79.6001 140.84 79.6001 141.824C79.6001 142.808 79.8401 143.72 80.3321 144.548C80.8121 145.376 81.4721 146.036 82.3121 146.516C83.1401 147.008 84.0521 147.248 85.0481 147.248H85.5641V154.4C85.5641 154.724 85.6841 155.012 85.9121 155.252C86.1521 155.48 86.4401 155.6 86.7641 155.6C87.1001 155.6 87.3761 155.48 87.6161 155.252C87.8561 155.012 87.9761 154.724 87.9761 154.4V140C87.9761 139.676 88.0841 139.388 88.3241 139.148C88.5641 138.92 88.8521 138.8 89.1761 138.8C89.5001 138.8 89.7881 138.92 90.0281 139.148C90.2561 139.388 90.3761 139.676 90.3761 140V154.4C90.3761 154.724 90.4961 155.012 90.7361 155.252C90.9761 155.48 91.2521 155.6 91.5881 155.6C91.9121 155.6 92.2001 155.48 92.4401 155.252C92.6681 155.012 92.7881 154.724 92.7881 154.4V138.8H94.0001C94.3241 138.8 94.6001 138.68 94.8401 138.44C95.0801 138.212 95.2001 137.924 95.2001 137.6C95.2001 137.276 95.0801 136.988 94.8401 136.748C94.6001 136.52 94.3241 136.4 94.0001 136.4Z' fill='%23444444'/%3E%3Cmask id='mask3' mask-type='alpha' maskUnits='userSpaceOnUse' x='76' y='204' width='22' height='18'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M96 204H78C77 204 76 205 76 206V220C76 221.1 76.9 222 78 222H96C97 222 98 221 98 220V206C98 205 97 204 96 204ZM96 219.92C95.9861 219.941 95.9624 219.962 95.9426 219.979C95.9339 219.987 95.9261 219.994 95.92 220H78V206.08L78.08 206H95.91C95.9309 206.014 95.9518 206.038 95.9694 206.057C95.977 206.066 95.9839 206.074 95.99 206.08V219.92H96ZM83.5 213.5L86 216.51L89.5 212L94 218H80L83.5 213.5Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask3)'%3E%3Crect x='75' y='201' width='24' height='24' fill='%23444444'/%3E%3C/g%3E%3Cpath d='M161 205V217H149V205H161ZM161 203H149C147.9 203 147 203.9 147 205V217C147 218.1 147.9 219 149 219H161C162.1 219 163 218.1 163 217V205C163 203.9 162.1 203 161 203ZM152.5 212.67L154.19 214.93L156.67 211.83L160 216H150L152.5 212.67ZM143 207V221C143 222.1 143.9 223 145 223H159V221H145V207H143Z' fill='%23444444'/%3E%3Cmask id='mask4' mask-type='alpha' maskUnits='userSpaceOnUse' x='210' y='140' width='18' height='12'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M215.62 152H210.38L212.38 148H210V140H218V147.24L215.62 152ZM220.38 152H225.62L228 147.24V140H220V148H222.38L220.38 152ZM224.38 150H223.62L225.62 146H222V142H226V146.76L224.38 150ZM214.38 150H213.62L215.62 146H212V142H216V146.76L214.38 150Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask4)'%3E%3Crect x='207' y='134' width='24' height='24' fill='%23444444'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d' x='18' y='36' width='270' height='250' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0'/%3E%3CfeOffset dy='3'/%3E%3CfeGaussianBlur stdDeviation='15'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.0980392 0 0 0 0 0.117647 0 0 0 0 0.137255 0 0 0 0.1 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A"},e))},fo=function(e){return Object(i.createElement)("img",Object(b.a)({alt:Object(E.__)("inserter"),src:"data:image/svg+xml;charset=utf8,%3Csvg width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.824 0C3.97 0 0 3.97 0 8.824c0 4.853 3.97 8.824 8.824 8.824 4.853 0 8.824-3.971 8.824-8.824S13.677 0 8.824 0zM7.94 5.294v2.647H5.294v1.765h2.647v2.647h1.765V9.706h2.647V7.941H9.706V5.294H7.941zm-6.176 3.53c0 3.882 3.176 7.059 7.059 7.059 3.882 0 7.059-3.177 7.059-7.06 0-3.882-3.177-7.058-7.06-7.058-3.882 0-7.058 3.176-7.058 7.059z' fill='%234A4A4A'/%3E%3Cmask id='a' maskUnits='userSpaceOnUse' x='0' y='0' width='18' height='18'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.824 0C3.97 0 0 3.97 0 8.824c0 4.853 3.97 8.824 8.824 8.824 4.853 0 8.824-3.971 8.824-8.824S13.677 0 8.824 0zM7.94 5.294v2.647H5.294v1.765h2.647v2.647h1.765V9.706h2.647V7.941H9.706V5.294H7.941zm-6.176 3.53c0 3.882 3.176 7.059 7.059 7.059 3.882 0 7.059-3.177 7.059-7.06 0-3.882-3.177-7.058-7.06-7.058-3.882 0-7.058 3.176-7.058 7.059z' fill='%23fff'/%3E%3C/mask%3E%3Cg mask='url(%23a)'%3E%3Cpath fill='%23444' d='M0 0h17.644v17.644H0z'/%3E%3C/g%3E%3C/svg%3E"},e))};function ho(){var e=Object(h.useSelect)((function(e){return e("core/nux").areTipsEnabled()})),t=Object(h.useDispatch)("core/nux").disableTips;return e?Object(i.createElement)(f.Guide,{className:"edit-post-welcome-guide",finishButtonText:Object(E.__)("Get started"),onFinish:t},Object(i.createElement)(f.GuidePage,{className:"edit-post-welcome-guide__page"},Object(i.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(E.__)("Welcome to the Block Editor")),Object(i.createElement)(po,{className:"edit-post-welcome-guide__image"}),Object(i.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(E.__)("In the WordPress editor, each paragraph, image, or video is presented as a distinct “block” of content."))),Object(i.createElement)(f.GuidePage,{className:"edit-post-welcome-guide__page"},Object(i.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(E.__)("Make each block your own")),Object(i.createElement)(mo,{className:"edit-post-welcome-guide__image"}),Object(i.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(E.__)("Each block comes with its own set of controls for changing things like color, width, and alignment. These will show and hide automatically when you have a block selected."))),Object(i.createElement)(f.GuidePage,{className:"edit-post-welcome-guide__page"},Object(i.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(E.__)("Get to know the Block Library")),Object(i.createElement)(Oo,{className:"edit-post-welcome-guide__image"}),Object(i.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(i.__experimentalCreateInterpolateElement)(Object(E.__)("All of the blocks available to you live in the Block Library. You’ll find it wherever you see the icon."),{InserterIconImage:Object(i.createElement)(fo,{className:"edit-post-welcome-guide__inserter-icon"})})))):null}var Eo=function(){var e=Object(j.useViewportMatch)("small","<"),t=Object(h.useDispatch)("core/edit-post"),n=t.closePublishSidebar,o=t.togglePublishSidebar,r=Object(h.useSelect)((function(e){return{hasFixedToolbar:e("core/edit-post").isFeatureActive("fixedToolbar"),editorSidebarOpened:e("core/edit-post").isEditorSidebarOpened(),pluginSidebarOpened:e("core/edit-post").isPluginSidebarOpened(),publishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),mode:e("core/edit-post").getEditorMode(),isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled,hasActiveMetaboxes:e("core/edit-post").hasMetaBoxes(),isSaving:e("core/edit-post").isSavingMetaBoxes()}})),l=r.mode,s=r.isRichEditingEnabled,u=r.editorSidebarOpened,d=r.pluginSidebarOpened,b=r.publishSidebarOpened,p=r.hasActiveMetaboxes,m=r.isSaving,O=r.hasFixedToolbar,g=Object(c.__experimentalUsePageTemplatePickerVisible)(),v=u||d||b,y=Qe()("edit-post-layout","is-mode-"+l,{"is-sidebar-opened":v,"has-fixed-toolbar":O,"has-metaboxes":p});return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Rt,null),Object(i.createElement)(Ut,null),Object(i.createElement)(a.UnsavedChangesWarning,null),Object(i.createElement)(a.AutosaveMonitor,null),Object(i.createElement)(a.LocalAutosaveMonitor,null),Object(i.createElement)(ct,null),Object(i.createElement)(f.FocusReturnProvider,null,Object(i.createElement)(Vt,{className:y,header:Object(i.createElement)(un,null),sidebar:!b&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(to,null),Object(i.createElement)(fn.Slot,null)),content:Object(i.createElement)(i.Fragment,null,Object(i.createElement)(a.EditorNotices,null),("text"===l||!s)&&Object(i.createElement)(Ye,null),s&&"visual"===l&&Object(i.createElement)(ot,null),Object(i.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(i.createElement)(Qn,{location:"normal"}),Object(i.createElement)(Qn,{location:"advanced"})),e&&v&&Object(i.createElement)(f.ScrollLock,null)),footer:s&&"visual"===l&&Object(i.createElement)("div",{className:"edit-post-layout__footer"},Object(i.createElement)(c.BlockBreadcrumb,null)),publish:b?Object(i.createElement)(a.PostPublishPanel,{onClose:n,forceIsDirty:p,forceIsSaving:m,PrePublishExtension:bo.Slot,PostPublishExtension:co.Slot}):Object(i.createElement)("div",{className:"edit-post-toggle-publish-panel"},Object(i.createElement)(f.Button,{isDefault:!0,className:"edit-post-toggle-publish-panel__button",onClick:o,"aria-expanded":!1},Object(E.__)("Open publish panel")))}),Object(i.createElement)(St,null),Object(i.createElement)(Ht,null),Object(i.createElement)(jt,null),Object(i.createElement)(ho,null),Object(i.createElement)(f.Popover.Slot,null),Object(i.createElement)(_.PluginArea,null),g&&Object(i.createElement)(c.__experimentalPageTemplatePicker,null)))},jo=function(e){var t=e.postId;return function(e){var t=Object(h.useSelect)((function(e){return{hasBlockSelection:!!e("core/block-editor").getBlockSelectionStart(),isEditorSidebarOpened:e(He).isEditorSidebarOpened()}}),[e]),n=t.hasBlockSelection,o=t.isEditorSidebarOpened,r=Object(h.useDispatch)(He).openGeneralSidebar;Object(i.useEffect)((function(){o&&r(n?"edit-post/block":"edit-post/document")}),[n,o])}(t),function(e){var t=Object(h.useSelect)((function(e){return{isSmall:e("core/viewport").isViewportMatch("< medium"),activeGeneralSidebarName:e(He).getActiveGeneralSidebarName()}}),[e]),n=t.isSmall,o=t.activeGeneralSidebarName,r=Object(h.useDispatch)(He),c=r.openGeneralSidebar,a=r.closeGeneralSidebar,l=Object(i.useRef)(null),s=Object(i.useRef)(null);Object(i.useEffect)((function(){l.current!==n&&(l.current=n,n?(s.current=o,o&&a()):s.current&&!o&&(c(s.current),s.current=null))}),[n,o])}(t),function(e){var t=Object(h.useSelect)((function(e){return{newPermalink:e("core/editor").getCurrentPost().link}}),[e]).newPermalink,n=Object(i.useRef)();Object(i.useEffect)((function(){n.current=document.querySelector("#wp-admin-bar-preview a")||document.querySelector("#wp-admin-bar-view a")}),[e]),Object(i.useEffect)((function(){t&&n.current&&n.current.setAttribute("href",t)}),[t])}(t),null},go=function(e){function t(){var e;return Object(Fe.a)(this,t),(e=Object(Ge.a)(this,Object(Ue.a)(t).apply(this,arguments))).getEditorSettings=ze()(e.getEditorSettings,{maxSize:1}),e}return Object(Ze.a)(t,e),Object(Re.a)(t,[{key:"getEditorSettings",value:function(e,t,n,o,r,i,c,a,l){if(e=Object(I.a)({},e,{__experimentalPreferredStyleVariations:{value:c,onChange:l},hasFixedToolbar:t,focusMode:o,showInserterHelpPanel:n,__experimentalLocalAutosaveInterval:a}),Object(m.size)(r)>0){var s=!0===e.allowedBlockTypes?Object(m.map)(i,"name"):e.allowedBlockTypes||[];e.allowedBlockTypes=m.without.apply(void 0,[s].concat(Object(B.a)(r)))}return e}},{key:"render",value:function(){var e=this.props,t=e.settings,n=e.hasFixedToolbar,o=e.focusMode,r=e.post,c=e.postId,l=e.initialEdits,s=e.onError,u=e.hiddenBlockTypes,d=e.blockTypes,m=e.preferredStyleVariations,O=e.__experimentalLocalAutosaveInterval,h=e.showInserterHelpPanel,E=e.updatePreferredStyleVariations,j=Object(p.a)(e,["settings","hasFixedToolbar","focusMode","post","postId","initialEdits","onError","hiddenBlockTypes","blockTypes","preferredStyleVariations","__experimentalLocalAutosaveInterval","showInserterHelpPanel","updatePreferredStyleVariations"]);if(!r)return null;var g=this.getEditorSettings(t,n,h,o,u,d,m,O,E);return Object(i.createElement)(i.StrictMode,null,Object(i.createElement)(vt.Provider,{value:t},Object(i.createElement)(f.SlotFillProvider,null,Object(i.createElement)(f.DropZoneProvider,null,Object(i.createElement)(a.EditorProvider,Object(b.a)({settings:g,post:r,initialEdits:l,useSubRegistry:!1},j),Object(i.createElement)(a.ErrorBoundary,{onError:s},Object(i.createElement)(jo,{postId:c}),Object(i.createElement)(Eo,null),Object(i.createElement)(f.KeyboardShortcuts,{shortcuts:qe})),Object(i.createElement)(a.PostLockedModal,null))))))}}]),t}(i.Component),vo=Object(j.compose)([Object(h.withSelect)((function(e,t){var n=t.postId,o=t.postType,r=e("core/edit-post"),i=r.isFeatureActive,c=r.getPreference,a=e("core").getEntityRecord,l=e("core/blocks").getBlockTypes;return{showInserterHelpPanel:i("showInserterHelpPanel"),hasFixedToolbar:i("fixedToolbar"),focusMode:i("focusMode"),post:a("postType",o,n),preferredStyleVariations:c("preferredStyleVariations"),hiddenBlockTypes:c("hiddenBlockTypes"),blockTypes:l(),__experimentalLocalAutosaveInterval:c("localAutosaveInterval")}})),Object(h.withDispatch)((function(e){return{updatePreferredStyleVariations:e("core/edit-post").updatePreferredStyleVariations}}))])(go),_o=function(e,t){return!Array.isArray(t)||(n=e,o=t,0===Object(m.difference)(n,o).length);var n,o},yo=function(e){var t=e.allowedBlocks,n=e.icon,o=e.label,r=e.onClick,c=e.small,a=e.role;return Object(i.createElement)(nt,null,(function(e){var l=e.selectedBlocks,s=e.onClose;return _o(l,t)?Object(i.createElement)(f.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(j.compose)(r,s),icon:n||"admin-plugins",label:c?o:void 0,role:a},!c&&o):null}))},So=Object(j.compose)(Object(_.withPluginContext)((function(e,t){return{icon:t.icon||e.icon}})))((function(e){var t=e.onClick,n=void 0===t?m.noop:t,o=Object(p.a)(e,["onClick"]);return Object(i.createElement)(Xt,null,(function(e){return Object(i.createElement)(f.MenuItem,Object(b.a)({},o,{onClick:Object(j.compose)(n,e.onClose)}))}))}));var Co=Object(j.compose)(Object(_.withPluginContext)((function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.name)}})),Object(h.withSelect)((function(e,t){var n=t.sidebarName,o=e("core/edit-post"),r=o.getActiveGeneralSidebarName,i=o.isPluginItemPinned;return{isActive:r()===n,isPinned:i(n)}})),Object(h.withDispatch)((function(e,t){var n=t.isActive,o=t.sidebarName,r=e("core/edit-post"),i=r.closeGeneralSidebar,c=r.openGeneralSidebar,a=r.togglePinnedPluginItem;return{togglePin:function(){a(o)},toggleSidebar:function(){n?i():c(o)}}})))((function(e){var t=e.children,n=e.className,o=e.icon,r=e.isActive,c=e.isPinnable,a=void 0===c||c,l=e.isPinned,s=e.sidebarName,u=e.title,d=e.togglePin,b=e.toggleSidebar;return Object(i.createElement)(i.Fragment,null,a&&Object(i.createElement)(ln,null,l&&Object(i.createElement)(f.IconButton,{icon:o,label:u,onClick:b,isToggled:r,"aria-expanded":r})),Object(i.createElement)(fn,{name:s},Object(i.createElement)(hn,{closeLabel:Object(E.__)("Close plugin")},Object(i.createElement)("strong",null,u),a&&Object(i.createElement)(f.IconButton,{icon:l?"star-filled":"star-empty",label:l?Object(E.__)("Unpin from toolbar"):Object(E.__)("Pin to toolbar"),onClick:d,isToggled:l,"aria-expanded":l})),Object(i.createElement)(f.Panel,{className:n},t)))})),ko=Object(j.compose)(Object(_.withPluginContext)((function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.target)}})),Object(h.withSelect)((function(e,t){var n=t.sidebarName;return{isSelected:(0,e("core/edit-post").getActiveGeneralSidebarName)()===n}})),Object(h.withDispatch)((function(e,t){var n=t.isSelected,o=t.sidebarName,r=e("core/edit-post"),i=r.closeGeneralSidebar,c=r.openGeneralSidebar;return{onClick:n?i:function(){return c(o)}}})))((function(e){var t=e.children,n=e.icon,o=e.isSelected,r=e.onClick;return Object(i.createElement)(So,{icon:o?"yes":n,isSelected:o,role:"menuitemcheckbox",onClick:r},t)}));function wo(e,t,n,o,r){Object(i.unmountComponentAtNode)(n);var c=wo.bind(null,e,t,n,o,r);Object(i.render)(Object(i.createElement)(vo,{settings:o,onError:c,postId:t,postType:e,initialEdits:r,recovery:!0}),n)}function Po(e,t,n,o,r){var c=document.getElementById(e),a=wo.bind(null,t,n,c,o,r);Object(s.registerCoreBlocks)(),"Standards"!==("CSS1Compat"===document.compatMode?"Standards":"Quirks")&&console.warn("Your browser is using Quirks Mode. \nThis can cause rendering issues such as blocks overlaying meta boxes in the editor. Quirks Mode can be triggered by PHP errors or HTML code appearing before the opening . Try checking the raw page source or your site's PHP error log and resolving errors there, removing any HTML before the doctype, or disabling plugins."),-1!==window.navigator.userAgent.indexOf("iPhone")&&window.addEventListener("scroll",(function(e){var t=document.getElementsByClassName("edit-post-editor-regions__body")[0];e.target===document&&(window.scrollY>100&&(t.scrollTop=t.scrollTop+window.scrollY),window.scrollTo(0,0))})),Object(i.render)(Object(i.createElement)(vo,{settings:o,onError:a,postId:n,postType:t,initialEdits:r}),c)}n.d(t,"reinitializeEditor",(function(){return wo})),n.d(t,"initializeEditor",(function(){return Po})),n.d(t,"PluginBlockSettingsMenuItem",(function(){return yo})),n.d(t,"PluginDocumentSettingPanel",(function(){return eo})),n.d(t,"PluginMoreMenuItem",(function(){return So})),n.d(t,"PluginPostPublishPanel",(function(){return co})),n.d(t,"PluginPostStatusInfo",(function(){return Tn})),n.d(t,"PluginPrePublishPanel",(function(){return bo})),n.d(t,"PluginSidebar",(function(){return Co})),n.d(t,"PluginSidebarMoreMenuItem",(function(){return ko}))},37:function(e,t){!function(){e.exports=this.wp.apiFetch}()},38:function(e,t,n){"use strict";var o,r;function i(e){return[e]}function c(){var e={clear:function(){e.head=null}};return e}function a(e,t,n){var o;if(e.length!==t.length)return!1;for(o=n;o=0||(r[n]=e[n]);return r}n.d(t,"a",(function(){return o}))},42:function(e,t,n){e.exports=function(e,t){var n,o,r,i=0;function c(){var t,c,a=o,l=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(c=0;c= 0) continue; - target[key] = source[key]; - } - - return target; -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; }); +/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40); function _objectWithoutProperties(source, excluded) { if (source == null) return {}; - var target = _objectWithoutPropertiesLoose(source, excluded); + var target = Object(_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { @@ -971,22 +947,19 @@ function _objectWithoutProperties(source, excluded) { /***/ }), /***/ 22: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["richText"]; }()); - -/***/ }), - -/***/ 23: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(38); +var arrayWithHoles = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { + if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { + return; + } + var _arr = []; var _n = true; var _d = false; @@ -1012,7 +985,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(39); +var nonIterableRest = __webpack_require__(34); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -1025,14 +998,21 @@ function _slicedToArray(arr, i) { /***/ }), -/***/ 231: +/***/ 23: /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["blockDirectory"]; }()); +(function() { module.exports = this["regeneratorRuntime"]; }()); /***/ }), -/***/ 26: +/***/ 24: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["richText"]; }()); + +/***/ }), + +/***/ 25: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["url"]; }()); @@ -1047,9 +1027,21 @@ function _slicedToArray(arr, i) { /***/ }), /***/ 28: -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +/** + * Copyright (c) 2013-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +if (false) { var throwOnDirectAccess, ReactIs; } else { + // By explicitly using `prop-types` you are opting into new production behavior. + // http://fb.me/prop-types-in-prod + module.exports = __webpack_require__(88)(); +} -(function() { module.exports = this["React"]; }()); /***/ }), @@ -1060,7 +1052,28 @@ function _slicedToArray(arr, i) { /***/ }), -/***/ 30: +/***/ 31: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); +function _typeof(obj) { + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + _typeof = function _typeof(obj) { + return typeof obj; + }; + } else { + _typeof = function _typeof(obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + } + + return _typeof(obj); +} + +/***/ }), + +/***/ 32: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1071,37 +1084,29 @@ function _iterableToArray(iter) { /***/ }), -/***/ 31: +/***/ 33: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); -function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); } - -function _typeof(obj) { - if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") { - _typeof = function _typeof(obj) { - return _typeof2(obj); - }; - } else { - _typeof = function _typeof(obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj); - }; - } - - return _typeof(obj); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); +function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; } /***/ }), -/***/ 32: -/***/ (function(module, exports) { +/***/ 34: +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["wp"]["dataControls"]; }()); +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); +function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance"); +} /***/ }), -/***/ 325: +/***/ 345: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -1267,50 +1272,22 @@ function separateState(state) { /***/ }), -/***/ 33: -/***/ (function(module, exports, __webpack_require__) { - -/** - * Copyright (c) 2013-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -if (false) { var throwOnDirectAccess, ReactIs; } else { - // By explicitly using `prop-types` you are opting into new production behavior. - // http://fb.me/prop-types-in-prod - module.exports = __webpack_require__(86)(); -} - - -/***/ }), - -/***/ 34: +/***/ 35: /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["apiFetch"]; }()); +(function() { module.exports = this["wp"]["deprecated"]; }()); /***/ }), -/***/ 344: +/***/ 363: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); -var meta_namespaceObject = {}; -__webpack_require__.r(meta_namespaceObject); -__webpack_require__.d(meta_namespaceObject, "getDependencies", function() { return getDependencies; }); -__webpack_require__.d(meta_namespaceObject, "apply", function() { return apply; }); -__webpack_require__.d(meta_namespaceObject, "update", function() { return update; }); -var block_sources_namespaceObject = {}; -__webpack_require__.r(block_sources_namespaceObject); -__webpack_require__.d(block_sources_namespaceObject, "meta", function() { return meta_namespaceObject; }); var actions_namespaceObject = {}; __webpack_require__.r(actions_namespaceObject); -__webpack_require__.d(actions_namespaceObject, "setupEditor", function() { return setupEditor; }); -__webpack_require__.d(actions_namespaceObject, "__experimentalTearDownEditor", function() { return __experimentalTearDownEditor; }); -__webpack_require__.d(actions_namespaceObject, "__experimentalSubscribeSources", function() { return __experimentalSubscribeSources; }); +__webpack_require__.d(actions_namespaceObject, "setupEditor", function() { return actions_setupEditor; }); +__webpack_require__.d(actions_namespaceObject, "__experimentalTearDownEditor", function() { return actions_experimentalTearDownEditor; }); __webpack_require__.d(actions_namespaceObject, "resetPost", function() { return resetPost; }); __webpack_require__.d(actions_namespaceObject, "resetAutosave", function() { return resetAutosave; }); __webpack_require__.d(actions_namespaceObject, "__experimentalRequestPostUpdateStart", function() { return __experimentalRequestPostUpdateStart; }); @@ -1327,8 +1304,8 @@ __webpack_require__.d(actions_namespaceObject, "__experimentalLocalAutosave", fu __webpack_require__.d(actions_namespaceObject, "redo", function() { return actions_redo; }); __webpack_require__.d(actions_namespaceObject, "undo", function() { return actions_undo; }); __webpack_require__.d(actions_namespaceObject, "createUndoLevel", function() { return createUndoLevel; }); -__webpack_require__.d(actions_namespaceObject, "updatePostLock", function() { return updatePostLock; }); -__webpack_require__.d(actions_namespaceObject, "__experimentalFetchReusableBlocks", function() { return __experimentalFetchReusableBlocks; }); +__webpack_require__.d(actions_namespaceObject, "updatePostLock", function() { return actions_updatePostLock; }); +__webpack_require__.d(actions_namespaceObject, "__experimentalFetchReusableBlocks", function() { return actions_experimentalFetchReusableBlocks; }); __webpack_require__.d(actions_namespaceObject, "__experimentalReceiveReusableBlocks", function() { return __experimentalReceiveReusableBlocks; }); __webpack_require__.d(actions_namespaceObject, "__experimentalSaveReusableBlock", function() { return __experimentalSaveReusableBlock; }); __webpack_require__.d(actions_namespaceObject, "__experimentalDeleteReusableBlock", function() { return __experimentalDeleteReusableBlock; }); @@ -1339,8 +1316,10 @@ __webpack_require__.d(actions_namespaceObject, "enablePublishSidebar", function( __webpack_require__.d(actions_namespaceObject, "disablePublishSidebar", function() { return disablePublishSidebar; }); __webpack_require__.d(actions_namespaceObject, "lockPostSaving", function() { return lockPostSaving; }); __webpack_require__.d(actions_namespaceObject, "unlockPostSaving", function() { return unlockPostSaving; }); +__webpack_require__.d(actions_namespaceObject, "lockPostAutosaving", function() { return lockPostAutosaving; }); +__webpack_require__.d(actions_namespaceObject, "unlockPostAutosaving", function() { return unlockPostAutosaving; }); __webpack_require__.d(actions_namespaceObject, "resetEditorBlocks", function() { return actions_resetEditorBlocks; }); -__webpack_require__.d(actions_namespaceObject, "updateEditorSettings", function() { return updateEditorSettings; }); +__webpack_require__.d(actions_namespaceObject, "updateEditorSettings", function() { return actions_updateEditorSettings; }); __webpack_require__.d(actions_namespaceObject, "resetBlocks", function() { return resetBlocks; }); __webpack_require__.d(actions_namespaceObject, "receiveBlocks", function() { return receiveBlocks; }); __webpack_require__.d(actions_namespaceObject, "updateBlock", function() { return updateBlock; }); @@ -1349,7 +1328,7 @@ __webpack_require__.d(actions_namespaceObject, "selectBlock", function() { retur __webpack_require__.d(actions_namespaceObject, "startMultiSelect", function() { return startMultiSelect; }); __webpack_require__.d(actions_namespaceObject, "stopMultiSelect", function() { return stopMultiSelect; }); __webpack_require__.d(actions_namespaceObject, "multiSelect", function() { return multiSelect; }); -__webpack_require__.d(actions_namespaceObject, "clearSelectedBlock", function() { return clearSelectedBlock; }); +__webpack_require__.d(actions_namespaceObject, "clearSelectedBlock", function() { return actions_clearSelectedBlock; }); __webpack_require__.d(actions_namespaceObject, "toggleSelection", function() { return toggleSelection; }); __webpack_require__.d(actions_namespaceObject, "replaceBlocks", function() { return actions_replaceBlocks; }); __webpack_require__.d(actions_namespaceObject, "replaceBlock", function() { return replaceBlock; }); @@ -1370,7 +1349,7 @@ __webpack_require__.d(actions_namespaceObject, "startTyping", function() { retur __webpack_require__.d(actions_namespaceObject, "stopTyping", function() { return stopTyping; }); __webpack_require__.d(actions_namespaceObject, "enterFormattedText", function() { return enterFormattedText; }); __webpack_require__.d(actions_namespaceObject, "exitFormattedText", function() { return exitFormattedText; }); -__webpack_require__.d(actions_namespaceObject, "insertDefaultBlock", function() { return insertDefaultBlock; }); +__webpack_require__.d(actions_namespaceObject, "insertDefaultBlock", function() { return actions_insertDefaultBlock; }); __webpack_require__.d(actions_namespaceObject, "updateBlockListSettings", function() { return updateBlockListSettings; }); var selectors_namespaceObject = {}; __webpack_require__.r(selectors_namespaceObject); @@ -1386,6 +1365,7 @@ __webpack_require__.d(selectors_namespaceObject, "getCurrentPostId", function() __webpack_require__.d(selectors_namespaceObject, "getCurrentPostRevisionsCount", function() { return getCurrentPostRevisionsCount; }); __webpack_require__.d(selectors_namespaceObject, "getCurrentPostLastRevisionId", function() { return getCurrentPostLastRevisionId; }); __webpack_require__.d(selectors_namespaceObject, "getPostEdits", function() { return getPostEdits; }); +__webpack_require__.d(selectors_namespaceObject, "getReferenceByDistinctEdits", function() { return getReferenceByDistinctEdits; }); __webpack_require__.d(selectors_namespaceObject, "getCurrentPostAttribute", function() { return selectors_getCurrentPostAttribute; }); __webpack_require__.d(selectors_namespaceObject, "getEditedPostAttribute", function() { return selectors_getEditedPostAttribute; }); __webpack_require__.d(selectors_namespaceObject, "getAutosaveAttribute", function() { return getAutosaveAttribute; }); @@ -1429,6 +1409,8 @@ __webpack_require__.d(selectors_namespaceObject, "getActivePostLock", function() __webpack_require__.d(selectors_namespaceObject, "canUserUseUnfilteredHTML", function() { return selectors_canUserUseUnfilteredHTML; }); __webpack_require__.d(selectors_namespaceObject, "isPublishSidebarEnabled", function() { return selectors_isPublishSidebarEnabled; }); __webpack_require__.d(selectors_namespaceObject, "getEditorBlocks", function() { return selectors_getEditorBlocks; }); +__webpack_require__.d(selectors_namespaceObject, "getEditorSelectionStart", function() { return selectors_getEditorSelectionStart; }); +__webpack_require__.d(selectors_namespaceObject, "getEditorSelectionEnd", function() { return selectors_getEditorSelectionEnd; }); __webpack_require__.d(selectors_namespaceObject, "__unstableIsEditorReady", function() { return __unstableIsEditorReady; }); __webpack_require__.d(selectors_namespaceObject, "getEditorSettings", function() { return selectors_getEditorSettings; }); __webpack_require__.d(selectors_namespaceObject, "getBlockName", function() { return selectors_getBlockName; }); @@ -1485,25 +1467,25 @@ __webpack_require__.d(selectors_namespaceObject, "hasInserterItems", function() __webpack_require__.d(selectors_namespaceObject, "getBlockListSettings", function() { return getBlockListSettings; }); // EXTERNAL MODULE: external {"this":["wp","blockEditor"]} -var external_this_wp_blockEditor_ = __webpack_require__(6); +var external_this_wp_blockEditor_ = __webpack_require__(5); // EXTERNAL MODULE: external {"this":["wp","blocks"]} -var external_this_wp_blocks_ = __webpack_require__(9); +var external_this_wp_blocks_ = __webpack_require__(10); // EXTERNAL MODULE: external {"this":["wp","coreData"]} -var external_this_wp_coreData_ = __webpack_require__(88); +var external_this_wp_coreData_ = __webpack_require__(62); // EXTERNAL MODULE: external {"this":["wp","notices"]} -var external_this_wp_notices_ = __webpack_require__(141); +var external_this_wp_notices_ = __webpack_require__(143); // EXTERNAL MODULE: external {"this":["wp","nux"]} -var external_this_wp_nux_ = __webpack_require__(60); +var external_this_wp_nux_ = __webpack_require__(142); // EXTERNAL MODULE: external {"this":["wp","richText"]} -var external_this_wp_richText_ = __webpack_require__(22); +var external_this_wp_richText_ = __webpack_require__(24); // EXTERNAL MODULE: external {"this":["wp","viewport"]} -var external_this_wp_viewport_ = __webpack_require__(42); +var external_this_wp_viewport_ = __webpack_require__(50); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js var objectSpread = __webpack_require__(7); @@ -1512,16 +1494,16 @@ var objectSpread = __webpack_require__(7); var external_this_wp_data_ = __webpack_require__(4); // EXTERNAL MODULE: external {"this":["wp","dataControls"]} -var external_this_wp_dataControls_ = __webpack_require__(32); +var external_this_wp_dataControls_ = __webpack_require__(39); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(10); +var defineProperty = __webpack_require__(9); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js var esm_typeof = __webpack_require__(31); // EXTERNAL MODULE: ./node_modules/redux-optimist/index.js -var redux_optimist = __webpack_require__(82); +var redux_optimist = __webpack_require__(85); var redux_optimist_default = /*#__PURE__*/__webpack_require__.n(redux_optimist); // EXTERNAL MODULE: external {"this":"lodash"} @@ -1784,8 +1766,8 @@ function postLock() { * * When post saving is locked, the post cannot be published or updated. * - * @param {PostSavingLockState} state Current state. - * @param {Object} action Dispatched action. + * @param {PostLockState} state Current state. + * @param {Object} action Dispatched action. * * @return {PostLockState} Updated state. */ @@ -1809,8 +1791,8 @@ function postSavingLock() { * * When post autosaving is locked, the post will not autosave. * - * @param {PostAutosavingLockState} state Current state. - * @param {Object} action Dispatched action. + * @param {PostLockState} state Current state. + * @param {Object} action Dispatched action. * * @return {PostLockState} Updated state. */ @@ -1976,37 +1958,30 @@ function reducer_editorSettings() { }))); // EXTERNAL MODULE: ./node_modules/refx/refx.js -var refx = __webpack_require__(71); +var refx = __webpack_require__(70); var refx_default = /*#__PURE__*/__webpack_require__.n(refx); // EXTERNAL MODULE: external {"this":"regeneratorRuntime"} -var external_this_regeneratorRuntime_ = __webpack_require__(20); +var external_this_regeneratorRuntime_ = __webpack_require__(23); var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js var asyncToGenerator = __webpack_require__(43); // EXTERNAL MODULE: external {"this":["wp","apiFetch"]} -var external_this_wp_apiFetch_ = __webpack_require__(34); +var external_this_wp_apiFetch_ = __webpack_require__(37); var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_); // EXTERNAL MODULE: external {"this":["wp","i18n"]} var external_this_wp_i18n_ = __webpack_require__(1); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(23); - // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(17); +var toConsumableArray = __webpack_require__(18); // EXTERNAL MODULE: external {"this":["wp","deprecated"]} -var external_this_wp_deprecated_ = __webpack_require__(37); +var external_this_wp_deprecated_ = __webpack_require__(35); var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_deprecated_); -// EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} -var external_this_wp_isShallowEqual_ = __webpack_require__(41); -var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_); - // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/constants.js /** * Set of post properties for which edits should assume a merging behavior, @@ -2140,7 +2115,7 @@ function getNotificationArgumentsForSaveFail(data) { // supported as plaintext, and stripping the tags may muddle the meaning. if (error.message && !/<\/?[^>]*>/.test(error.message)) { - noticeMessage = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('%1$s Error message: %2$s'), noticeMessage, error.message); + noticeMessage = [noticeMessage, error.message].join(' '); } return [noticeMessage, { @@ -2162,7 +2137,7 @@ function getNotificationArgumentsForTrashFail(data) { } // EXTERNAL MODULE: ./node_modules/memize/index.js -var memize = __webpack_require__(44); +var memize = __webpack_require__(42); var memize_default = /*#__PURE__*/__webpack_require__.n(memize); // EXTERNAL MODULE: external {"this":["wp","autop"]} @@ -2208,239 +2183,42 @@ var serializeBlocks = memize_default()(function (blocksForSerialization) { }); /* harmony default export */ var serialize_blocks = (serializeBlocks); -// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/controls.js -/** - * WordPress dependencies - */ - -/** - * Returns a control descriptor signalling to subscribe to the registry and - * resolve the control promise only when the next state change occurs. - * - * @return {Object} Control descriptor. - */ - -function awaitNextStateChange() { - return { - type: 'AWAIT_NEXT_STATE_CHANGE' - }; -} -/** - * Returns a control descriptor signalling to resolve with the current data - * registry. - * - * @return {Object} Control descriptor. - */ - -function getRegistry() { - return { - type: 'GET_REGISTRY' - }; -} -/** - * Function returning a sessionStorage key to set or retrieve a given post's - * automatic session backup. - * - * Keys are crucially prefixed with 'wp-autosave-' so that wp-login.php's - * `loggedout` handler can clear sessionStorage of any user-private content. - * - * @see https://github.com/WordPress/wordpress-develop/blob/6dad32d2aed47e6c0cf2aee8410645f6d7aba6bd/src/wp-login.php#L103 - * - * @param {string} postId Post ID. - * @return {string} sessionStorage key - */ - -function postKey(postId) { - return "wp-autosave-block-editor-post-".concat(postId); -} - -function localAutosaveGet(postId) { - return window.sessionStorage.getItem(postKey(postId)); -} -function localAutosaveSet(postId, title, content, excerpt) { - window.sessionStorage.setItem(postKey(postId), JSON.stringify({ - post_title: title, - content: content, - excerpt: excerpt - })); -} -function localAutosaveClear(postId) { - window.sessionStorage.removeItem(postKey(postId)); -} -var controls = { - AWAIT_NEXT_STATE_CHANGE: Object(external_this_wp_data_["createRegistryControl"])(function (registry) { - return function () { - return new Promise(function (resolve) { - var unsubscribe = registry.subscribe(function () { - unsubscribe(); - resolve(); - }); - }); - }; - }), - GET_REGISTRY: Object(external_this_wp_data_["createRegistryControl"])(function (registry) { - return function () { - return registry; - }; - }), - LOCAL_AUTOSAVE_SET: function LOCAL_AUTOSAVE_SET(_ref) { - var postId = _ref.postId, - title = _ref.title, - content = _ref.content, - excerpt = _ref.excerpt; - localAutosaveSet(postId, title, content, excerpt); - } -}; -/* harmony default export */ var store_controls = (controls); - -// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/block-sources/meta.js - - - -var _marked = -/*#__PURE__*/ -external_this_regeneratorRuntime_default.a.mark(getDependencies), - _marked2 = -/*#__PURE__*/ -external_this_regeneratorRuntime_default.a.mark(update); - -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - -/** - * Store control invoked upon a state change, responsible for returning an - * object of dependencies. When a change in dependencies occurs (by shallow - * equality of the returned object), blocks are reset to apply the new sourced - * value. - * - * @yield {Object} Optional yielded controls. - * - * @return {Object} Dependencies as object. - */ - -function getDependencies() { - return external_this_regeneratorRuntime_default.a.wrap(function getDependencies$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return Object(external_this_wp_dataControls_["select"])('core/editor', 'getEditedPostAttribute', 'meta'); - - case 2: - _context.t0 = _context.sent; - return _context.abrupt("return", { - meta: _context.t0 - }); - - case 4: - case "end": - return _context.stop(); - } - } - }, _marked); -} -/** - * Given an attribute schema and dependencies data, returns a source value. - * - * @param {Object} schema Block type attribute schema. - * @param {Object} dependencies Source dependencies. - * @param {Object} dependencies.meta Post meta. - * - * @return {Object} Block attribute value. - */ - -function apply(schema, _ref) { - var meta = _ref.meta; - return meta[schema.meta]; -} -/** - * Store control invoked upon a block attributes update, responsible for - * reflecting an update in a meta value. - * - * @param {Object} schema Block type attribute schema. - * @param {*} value Updated block attribute value. - * - * @yield {Object} Yielded action objects or store controls. - */ - -function update(schema, value) { - return external_this_regeneratorRuntime_default.a.wrap(function update$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - _context2.next = 2; - return actions_editPost({ - meta: Object(defineProperty["a" /* default */])({}, schema.meta, value) - }); - - case 2: - case "end": - return _context2.stop(); - } - } - }, _marked2); -} - -// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/block-sources/index.js -/** - * Internal dependencies - */ - - - // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/actions.js - - -var actions_marked = +var _marked = /*#__PURE__*/ -external_this_regeneratorRuntime_default.a.mark(getBlocksWithSourcedAttributes), - actions_marked2 = -/*#__PURE__*/ -external_this_regeneratorRuntime_default.a.mark(resetLastBlockSourceDependencies), - _marked3 = -/*#__PURE__*/ -external_this_regeneratorRuntime_default.a.mark(setupEditor), - _marked4 = -/*#__PURE__*/ -external_this_regeneratorRuntime_default.a.mark(__experimentalSubscribeSources), - _marked5 = +external_this_regeneratorRuntime_default.a.mark(actions_setupEditor), + _marked2 = /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(resetAutosave), - _marked6 = + _marked3 = /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(actions_editPost), - _marked7 = + _marked4 = /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(savePost), - _marked8 = + _marked5 = /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(refreshPost), - _marked9 = + _marked6 = /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(trashPost), - _marked10 = + _marked7 = /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(actions_autosave), - _marked11 = + _marked8 = /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(actions_experimentalLocalAutosave), - _marked12 = + _marked9 = /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(actions_redo), - _marked13 = + _marked10 = /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(actions_undo), - _marked14 = + _marked11 = /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(actions_resetEditorBlocks); @@ -2455,7 +2233,6 @@ external_this_regeneratorRuntime_default.a.mark(actions_resetEditorBlocks); - /** * Internal dependencies */ @@ -2463,267 +2240,6 @@ external_this_regeneratorRuntime_default.a.mark(actions_resetEditorBlocks); - - -/** - * Map of Registry instance to WeakMap of dependencies by custom source. - * - * @type WeakMap> - */ - -var lastBlockSourceDependenciesByRegistry = new WeakMap(); -/** - * Given a blocks array, returns a blocks array with sourced attribute values - * applied. The reference will remain consistent with the original argument if - * no attribute values must be overridden. If sourced values are applied, the - * return value will be a modified copy of the original array. - * - * @param {WPBlock[]} blocks Original blocks array. - * - * @return {WPBlock[]} Blocks array with sourced values applied. - */ - -function getBlocksWithSourcedAttributes(blocks) { - var registry, blockSourceDependencies, workingBlocks, i, block, blockType, _i, _Object$entries, _Object$entries$_i, attributeName, schema, dependencies, sourcedAttributeValue, appliedInnerBlocks; - - return external_this_regeneratorRuntime_default.a.wrap(function getBlocksWithSourcedAttributes$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return getRegistry(); - - case 2: - registry = _context.sent; - - if (lastBlockSourceDependenciesByRegistry.has(registry)) { - _context.next = 5; - break; - } - - return _context.abrupt("return", blocks); - - case 5: - blockSourceDependencies = lastBlockSourceDependenciesByRegistry.get(registry); - workingBlocks = blocks; - i = 0; - - case 8: - if (!(i < blocks.length)) { - _context.next = 37; - break; - } - - block = blocks[i]; - _context.next = 12; - return Object(external_this_wp_dataControls_["select"])('core/blocks', 'getBlockType', block.name); - - case 12: - blockType = _context.sent; - _i = 0, _Object$entries = Object.entries(blockType.attributes); - - case 14: - if (!(_i < _Object$entries.length)) { - _context.next = 30; - break; - } - - _Object$entries$_i = Object(slicedToArray["a" /* default */])(_Object$entries[_i], 2), attributeName = _Object$entries$_i[0], schema = _Object$entries$_i[1]; - - if (!(!block_sources_namespaceObject[schema.source] || !block_sources_namespaceObject[schema.source].apply)) { - _context.next = 18; - break; - } - - return _context.abrupt("continue", 27); - - case 18: - if (blockSourceDependencies.has(block_sources_namespaceObject[schema.source])) { - _context.next = 20; - break; - } - - return _context.abrupt("continue", 27); - - case 20: - dependencies = blockSourceDependencies.get(block_sources_namespaceObject[schema.source]); - sourcedAttributeValue = block_sources_namespaceObject[schema.source].apply(schema, dependencies); // It's only necessary to apply the value if it differs from the - // block's locally-assigned value, to avoid needlessly resetting - // the block editor. - - if (!(sourcedAttributeValue === block.attributes[attributeName])) { - _context.next = 24; - break; - } - - return _context.abrupt("continue", 27); - - case 24: - // Create a shallow clone to mutate, leaving the original intact. - if (workingBlocks === blocks) { - workingBlocks = Object(toConsumableArray["a" /* default */])(workingBlocks); - } - - block = Object(objectSpread["a" /* default */])({}, block, { - attributes: Object(objectSpread["a" /* default */])({}, block.attributes, Object(defineProperty["a" /* default */])({}, attributeName, sourcedAttributeValue)) - }); - workingBlocks.splice(i, 1, block); - - case 27: - _i++; - _context.next = 14; - break; - - case 30: - if (!block.innerBlocks.length) { - _context.next = 34; - break; - } - - return _context.delegateYield(getBlocksWithSourcedAttributes(block.innerBlocks), "t0", 32); - - case 32: - appliedInnerBlocks = _context.t0; - - if (appliedInnerBlocks !== block.innerBlocks) { - if (workingBlocks === blocks) { - workingBlocks = Object(toConsumableArray["a" /* default */])(workingBlocks); - } - - block = Object(objectSpread["a" /* default */])({}, block, { - innerBlocks: appliedInnerBlocks - }); - workingBlocks.splice(i, 1, block); - } - - case 34: - i++; - _context.next = 8; - break; - - case 37: - return _context.abrupt("return", workingBlocks); - - case 38: - case "end": - return _context.stop(); - } - } - }, actions_marked); -} -/** - * Refreshes the last block source dependencies, optionally for a given subset - * of sources (defaults to the full set of sources). - * - * @param {?Array} sourcesToUpdate Optional subset of sources to reset. - * - * @yield {Object} Yielded actions or control descriptors. - */ - - -function resetLastBlockSourceDependencies() { - var sourcesToUpdate, - registry, - lastBlockSourceDependencies, - _iteratorNormalCompletion, - _didIteratorError, - _iteratorError, - _iterator, - _step, - source, - dependencies, - _args2 = arguments; - - return external_this_regeneratorRuntime_default.a.wrap(function resetLastBlockSourceDependencies$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - sourcesToUpdate = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : Object.values(block_sources_namespaceObject); - - if (sourcesToUpdate.length) { - _context2.next = 3; - break; - } - - return _context2.abrupt("return"); - - case 3: - _context2.next = 5; - return getRegistry(); - - case 5: - registry = _context2.sent; - - if (!lastBlockSourceDependenciesByRegistry.has(registry)) { - lastBlockSourceDependenciesByRegistry.set(registry, new WeakMap()); - } - - lastBlockSourceDependencies = lastBlockSourceDependenciesByRegistry.get(registry); - _iteratorNormalCompletion = true; - _didIteratorError = false; - _iteratorError = undefined; - _context2.prev = 11; - _iterator = sourcesToUpdate[Symbol.iterator](); - - case 13: - if (_iteratorNormalCompletion = (_step = _iterator.next()).done) { - _context2.next = 21; - break; - } - - source = _step.value; - return _context2.delegateYield(source.getDependencies(), "t0", 16); - - case 16: - dependencies = _context2.t0; - lastBlockSourceDependencies.set(source, dependencies); - - case 18: - _iteratorNormalCompletion = true; - _context2.next = 13; - break; - - case 21: - _context2.next = 27; - break; - - case 23: - _context2.prev = 23; - _context2.t1 = _context2["catch"](11); - _didIteratorError = true; - _iteratorError = _context2.t1; - - case 27: - _context2.prev = 27; - _context2.prev = 28; - - if (!_iteratorNormalCompletion && _iterator.return != null) { - _iterator.return(); - } - - case 30: - _context2.prev = 30; - - if (!_didIteratorError) { - _context2.next = 33; - break; - } - - throw _iteratorError; - - case 33: - return _context2.finish(30); - - case 34: - return _context2.finish(27); - - case 35: - case "end": - return _context2.stop(); - } - } - }, actions_marked2, null, [[11, 23, 27, 35], [28,, 30, 34]]); -} /** * Returns an action generator used in signalling that editor has initialized with * the specified post object and editor settings. @@ -2733,12 +2249,11 @@ function resetLastBlockSourceDependencies() { * @param {Array?} template Block Template. */ - -function setupEditor(post, edits, template) { +function actions_setupEditor(post, edits, template) { var content, blocks, isNewPost; - return external_this_regeneratorRuntime_default.a.wrap(function setupEditor$(_context3) { + return external_this_regeneratorRuntime_default.a.wrap(function setupEditor$(_context) { while (1) { - switch (_context3.prev = _context3.next) { + switch (_context.prev = _context.next) { case 0: // In order to ensure maximum of a single parse during setup, edits are // included as part of editor setup action. Assume edited content as @@ -2757,14 +2272,11 @@ function setupEditor(post, edits, template) { blocks = Object(external_this_wp_blocks_["synchronizeBlocksWithTemplate"])(blocks, template); } - _context3.next = 6; + _context.next = 6; return resetPost(post); case 6: - return _context3.delegateYield(resetLastBlockSourceDependencies(), "t0", 7); - - case 7: - _context3.next = 9; + _context.next = 8; return { type: 'SETUP_EDITOR', post: post, @@ -2772,36 +2284,33 @@ function setupEditor(post, edits, template) { template: template }; - case 9: - _context3.next = 11; + case 8: + _context.next = 10; return actions_resetEditorBlocks(blocks, { __unstableShouldCreateUndoLevel: false }); - case 11: - _context3.next = 13; + case 10: + _context.next = 12; return setupEditorState(post); - case 13: + case 12: if (!(edits && Object.keys(edits).some(function (key) { return edits[key] !== (Object(external_this_lodash_["has"])(post, [key, 'raw']) ? post[key].raw : post[key]); }))) { - _context3.next = 16; + _context.next = 15; break; } - _context3.next = 16; + _context.next = 15; return actions_editPost(edits); - case 16: - return _context3.delegateYield(__experimentalSubscribeSources(), "t1", 17); - - case 17: + case 15: case "end": - return _context3.stop(); + return _context.stop(); } } - }, _marked3); + }, _marked); } /** * Returns an action object signalling that the editor is being destroyed and @@ -2810,122 +2319,11 @@ function setupEditor(post, edits, template) { * @return {Object} Action object. */ -function __experimentalTearDownEditor() { +function actions_experimentalTearDownEditor() { return { type: 'TEAR_DOWN_EDITOR' }; } -/** - * Returns an action generator which loops to await the next state change, - * calling to reset blocks when a block source dependencies change. - * - * @yield {Object} Action object. - */ - -function __experimentalSubscribeSources() { - var isStillReady, registry, reset, _i2, _Object$values, source, dependencies, lastBlockSourceDependencies, lastDependencies; - - return external_this_regeneratorRuntime_default.a.wrap(function __experimentalSubscribeSources$(_context4) { - while (1) { - switch (_context4.prev = _context4.next) { - case 0: - if (false) {} - - _context4.next = 3; - return awaitNextStateChange(); - - case 3: - _context4.next = 5; - return Object(external_this_wp_dataControls_["select"])(STORE_KEY, '__unstableIsEditorReady'); - - case 5: - isStillReady = _context4.sent; - - if (isStillReady) { - _context4.next = 8; - break; - } - - return _context4.abrupt("break", 36); - - case 8: - _context4.next = 10; - return getRegistry(); - - case 10: - registry = _context4.sent; - reset = false; - _i2 = 0, _Object$values = Object.values(block_sources_namespaceObject); - - case 13: - if (!(_i2 < _Object$values.length)) { - _context4.next = 26; - break; - } - - source = _Object$values[_i2]; - - if (source.getDependencies) { - _context4.next = 17; - break; - } - - return _context4.abrupt("continue", 23); - - case 17: - return _context4.delegateYield(source.getDependencies(), "t0", 18); - - case 18: - dependencies = _context4.t0; - - if (!lastBlockSourceDependenciesByRegistry.has(registry)) { - lastBlockSourceDependenciesByRegistry.set(registry, new WeakMap()); - } - - lastBlockSourceDependencies = lastBlockSourceDependenciesByRegistry.get(registry); - lastDependencies = lastBlockSourceDependencies.get(source); - - if (!external_this_wp_isShallowEqual_default()(dependencies, lastDependencies)) { - lastBlockSourceDependencies.set(source, dependencies); // Allow the loop to continue in order to assign latest - // dependencies values, but mark for reset. - - reset = true; - } - - case 23: - _i2++; - _context4.next = 13; - break; - - case 26: - if (!reset) { - _context4.next = 34; - break; - } - - _context4.t1 = actions_resetEditorBlocks; - _context4.next = 30; - return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getEditorBlocks'); - - case 30: - _context4.t2 = _context4.sent; - _context4.t3 = { - __unstableShouldCreateUndoLevel: false - }; - _context4.next = 34; - return (0, _context4.t1)(_context4.t2, _context4.t3); - - case 34: - _context4.next = 0; - break; - - case 36: - case "end": - return _context4.stop(); - } - } - }, _marked4); -} /** * Returns an action object used in signalling that the latest version of the * post has been received, either by initialization or save. @@ -2955,33 +2353,33 @@ function resetPost(post) { function resetAutosave(newAutosave) { var postId; - return external_this_regeneratorRuntime_default.a.wrap(function resetAutosave$(_context5) { + return external_this_regeneratorRuntime_default.a.wrap(function resetAutosave$(_context2) { while (1) { - switch (_context5.prev = _context5.next) { + switch (_context2.prev = _context2.next) { case 0: external_this_wp_deprecated_default()('resetAutosave action (`core/editor` store)', { alternative: 'receiveAutosaves action (`core` store)', plugin: 'Gutenberg' }); - _context5.next = 3; + _context2.next = 3; return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getCurrentPostId'); case 3: - postId = _context5.sent; - _context5.next = 6; + postId = _context2.sent; + _context2.next = 6; return Object(external_this_wp_dataControls_["dispatch"])('core', 'receiveAutosaves', postId, newAutosave); case 6: - return _context5.abrupt("return", { + return _context2.abrupt("return", { type: '__INERT__' }); case 7: case "end": - return _context5.stop(); + return _context2.stop(); } } - }, _marked5); + }, _marked2); } /** * Action for dispatching that a post update request has started. @@ -3056,26 +2454,26 @@ function setupEditorState(post) { function actions_editPost(edits, options) { var _ref, id, type; - return external_this_regeneratorRuntime_default.a.wrap(function editPost$(_context6) { + return external_this_regeneratorRuntime_default.a.wrap(function editPost$(_context3) { while (1) { - switch (_context6.prev = _context6.next) { + switch (_context3.prev = _context3.next) { case 0: - _context6.next = 2; + _context3.next = 2; return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getCurrentPost'); case 2: - _ref = _context6.sent; + _ref = _context3.sent; id = _ref.id; type = _ref.type; - _context6.next = 7; + _context3.next = 7; return Object(external_this_wp_dataControls_["dispatch"])('core', 'editEntityRecord', 'postType', type, id, edits, options); case 7: case "end": - return _context6.stop(); + return _context3.stop(); } } - }, _marked6); + }, _marked3); } /** * Returns action object produced by the updatePost creator augmented by @@ -3106,82 +2504,82 @@ function savePost() { error, args, updatedRecord, - _args7, - _args8 = arguments; + _args4, + _args5 = arguments; - return external_this_regeneratorRuntime_default.a.wrap(function savePost$(_context7) { + return external_this_regeneratorRuntime_default.a.wrap(function savePost$(_context4) { while (1) { - switch (_context7.prev = _context7.next) { + switch (_context4.prev = _context4.next) { case 0: - options = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {}; - _context7.next = 3; + options = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : {}; + _context4.next = 3; return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'isEditedPostSaveable'); case 3: - if (_context7.sent) { - _context7.next = 5; + if (_context4.sent) { + _context4.next = 5; break; } - return _context7.abrupt("return"); + return _context4.abrupt("return"); case 5: - _context7.next = 7; + _context4.next = 7; return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getEditedPostContent'); case 7: - _context7.t0 = _context7.sent; + _context4.t0 = _context4.sent; edits = { - content: _context7.t0 + content: _context4.t0 }; if (options.isAutosave) { - _context7.next = 12; + _context4.next = 12; break; } - _context7.next = 12; + _context4.next = 12; return Object(external_this_wp_dataControls_["dispatch"])(STORE_KEY, 'editPost', edits, { undoIgnore: true }); case 12: - _context7.next = 14; + _context4.next = 14; return __experimentalRequestPostUpdateStart(options); case 14: - _context7.next = 16; + _context4.next = 16; return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getCurrentPost'); case 16: - previousRecord = _context7.sent; - _context7.t1 = objectSpread["a" /* default */]; - _context7.t2 = { + previousRecord = _context4.sent; + _context4.t1 = objectSpread["a" /* default */]; + _context4.t2 = { id: previousRecord.id }; - _context7.next = 21; + _context4.next = 21; return Object(external_this_wp_dataControls_["select"])('core', 'getEntityRecordNonTransientEdits', 'postType', previousRecord.type, previousRecord.id); case 21: - _context7.t3 = _context7.sent; - _context7.t4 = edits; - edits = (0, _context7.t1)(_context7.t2, _context7.t3, _context7.t4); - _context7.next = 26; + _context4.t3 = _context4.sent; + _context4.t4 = edits; + edits = (0, _context4.t1)(_context4.t2, _context4.t3, _context4.t4); + _context4.next = 26; return Object(external_this_wp_dataControls_["dispatch"])('core', 'saveEntityRecord', 'postType', previousRecord.type, edits, options); case 26: - _context7.next = 28; + _context4.next = 28; return __experimentalRequestPostUpdateFinish(options); case 28: - _context7.next = 30; + _context4.next = 30; return Object(external_this_wp_dataControls_["select"])('core', 'getLastEntitySaveError', 'postType', previousRecord.type, previousRecord.id); case 30: - error = _context7.sent; + error = _context4.sent; if (!error) { - _context7.next = 38; + _context4.next = 38; break; } @@ -3192,63 +2590,63 @@ function savePost() { }); if (!args.length) { - _context7.next = 36; + _context4.next = 36; break; } - _context7.next = 36; + _context4.next = 36; return external_this_wp_dataControls_["dispatch"].apply(void 0, ['core/notices', 'createErrorNotice'].concat(Object(toConsumableArray["a" /* default */])(args))); case 36: - _context7.next = 56; + _context4.next = 56; break; case 38: - _context7.next = 40; + _context4.next = 40; return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getCurrentPost'); case 40: - updatedRecord = _context7.sent; - _context7.t5 = getNotificationArgumentsForSaveSuccess; - _context7.t6 = previousRecord; - _context7.t7 = updatedRecord; - _context7.next = 46; + updatedRecord = _context4.sent; + _context4.t5 = getNotificationArgumentsForSaveSuccess; + _context4.t6 = previousRecord; + _context4.t7 = updatedRecord; + _context4.next = 46; return Object(external_this_wp_dataControls_["select"])('core', 'getPostType', updatedRecord.type); case 46: - _context7.t8 = _context7.sent; - _context7.t9 = options; - _context7.t10 = { - previousPost: _context7.t6, - post: _context7.t7, - postType: _context7.t8, - options: _context7.t9 + _context4.t8 = _context4.sent; + _context4.t9 = options; + _context4.t10 = { + previousPost: _context4.t6, + post: _context4.t7, + postType: _context4.t8, + options: _context4.t9 }; - _args7 = (0, _context7.t5)(_context7.t10); + _args4 = (0, _context4.t5)(_context4.t10); - if (!_args7.length) { - _context7.next = 53; + if (!_args4.length) { + _context4.next = 53; break; } - _context7.next = 53; - return external_this_wp_dataControls_["dispatch"].apply(void 0, ['core/notices', 'createSuccessNotice'].concat(Object(toConsumableArray["a" /* default */])(_args7))); + _context4.next = 53; + return external_this_wp_dataControls_["dispatch"].apply(void 0, ['core/notices', 'createSuccessNotice'].concat(Object(toConsumableArray["a" /* default */])(_args4))); case 53: if (options.isAutosave) { - _context7.next = 56; + _context4.next = 56; break; } - _context7.next = 56; + _context4.next = 56; return Object(external_this_wp_dataControls_["dispatch"])('core/block-editor', '__unstableMarkLastChangeAsPersistent'); case 56: case "end": - return _context7.stop(); + return _context4.stop(); } } - }, _marked7); + }, _marked4); } /** * Action generator for handling refreshing the current post. @@ -3256,7 +2654,129 @@ function savePost() { function refreshPost() { var post, postTypeSlug, postType, newPost; - return external_this_regeneratorRuntime_default.a.wrap(function refreshPost$(_context8) { + return external_this_regeneratorRuntime_default.a.wrap(function refreshPost$(_context5) { + while (1) { + switch (_context5.prev = _context5.next) { + case 0: + _context5.next = 2; + return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getCurrentPost'); + + case 2: + post = _context5.sent; + _context5.next = 5; + return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getCurrentPostType'); + + case 5: + postTypeSlug = _context5.sent; + _context5.next = 8; + return Object(external_this_wp_dataControls_["select"])('core', 'getPostType', postTypeSlug); + + case 8: + postType = _context5.sent; + _context5.next = 11; + return Object(external_this_wp_dataControls_["apiFetch"])({ + // Timestamp arg allows caller to bypass browser caching, which is + // expected for this specific function. + path: "/wp/v2/".concat(postType.rest_base, "/").concat(post.id) + "?context=edit&_timestamp=".concat(Date.now()) + }); + + case 11: + newPost = _context5.sent; + _context5.next = 14; + return Object(external_this_wp_dataControls_["dispatch"])(STORE_KEY, 'resetPost', newPost); + + case 14: + case "end": + return _context5.stop(); + } + } + }, _marked5); +} +/** + * Action generator for trashing the current post in the editor. + */ + +function trashPost() { + var postTypeSlug, postType, post; + return external_this_regeneratorRuntime_default.a.wrap(function trashPost$(_context6) { + while (1) { + switch (_context6.prev = _context6.next) { + case 0: + _context6.next = 2; + return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getCurrentPostType'); + + case 2: + postTypeSlug = _context6.sent; + _context6.next = 5; + return Object(external_this_wp_dataControls_["select"])('core', 'getPostType', postTypeSlug); + + case 5: + postType = _context6.sent; + _context6.next = 8; + return Object(external_this_wp_dataControls_["dispatch"])('core/notices', 'removeNotice', TRASH_POST_NOTICE_ID); + + case 8: + _context6.prev = 8; + _context6.next = 11; + return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getCurrentPost'); + + case 11: + post = _context6.sent; + _context6.next = 14; + return Object(external_this_wp_dataControls_["apiFetch"])({ + path: "/wp/v2/".concat(postType.rest_base, "/").concat(post.id), + method: 'DELETE' + }); + + case 14: + _context6.next = 16; + return Object(external_this_wp_dataControls_["dispatch"])(STORE_KEY, 'savePost'); + + case 16: + _context6.next = 22; + break; + + case 18: + _context6.prev = 18; + _context6.t0 = _context6["catch"](8); + _context6.next = 22; + return external_this_wp_dataControls_["dispatch"].apply(void 0, ['core/notices', 'createErrorNotice'].concat(Object(toConsumableArray["a" /* default */])(getNotificationArgumentsForTrashFail({ + error: _context6.t0 + })))); + + case 22: + case "end": + return _context6.stop(); + } + } + }, _marked6, null, [[8, 18]]); +} +/** + * Action generator used in signalling that the post should autosave. + * + * @param {Object?} options Extra flags to identify the autosave. + */ + +function actions_autosave(options) { + return external_this_regeneratorRuntime_default.a.wrap(function autosave$(_context7) { + while (1) { + switch (_context7.prev = _context7.next) { + case 0: + _context7.next = 2; + return Object(external_this_wp_dataControls_["dispatch"])(STORE_KEY, 'savePost', Object(objectSpread["a" /* default */])({ + isAutosave: true + }, options)); + + case 2: + case "end": + return _context7.stop(); + } + } + }, _marked7); +} +function actions_experimentalLocalAutosave() { + var post, title, content, excerpt; + return external_this_regeneratorRuntime_default.a.wrap(function __experimentalLocalAutosave$(_context8) { while (1) { switch (_context8.prev = _context8.next) { case 0: @@ -3266,143 +2786,21 @@ function refreshPost() { case 2: post = _context8.sent; _context8.next = 5; - return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getCurrentPostType'); - - case 5: - postTypeSlug = _context8.sent; - _context8.next = 8; - return Object(external_this_wp_dataControls_["select"])('core', 'getPostType', postTypeSlug); - - case 8: - postType = _context8.sent; - _context8.next = 11; - return Object(external_this_wp_dataControls_["apiFetch"])({ - // Timestamp arg allows caller to bypass browser caching, which is - // expected for this specific function. - path: "/wp/v2/".concat(postType.rest_base, "/").concat(post.id) + "?context=edit&_timestamp=".concat(Date.now()) - }); - - case 11: - newPost = _context8.sent; - _context8.next = 14; - return Object(external_this_wp_dataControls_["dispatch"])(STORE_KEY, 'resetPost', newPost); - - case 14: - case "end": - return _context8.stop(); - } - } - }, _marked8); -} -/** - * Action generator for trashing the current post in the editor. - */ - -function trashPost() { - var postTypeSlug, postType, post; - return external_this_regeneratorRuntime_default.a.wrap(function trashPost$(_context9) { - while (1) { - switch (_context9.prev = _context9.next) { - case 0: - _context9.next = 2; - return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getCurrentPostType'); - - case 2: - postTypeSlug = _context9.sent; - _context9.next = 5; - return Object(external_this_wp_dataControls_["select"])('core', 'getPostType', postTypeSlug); - - case 5: - postType = _context9.sent; - _context9.next = 8; - return Object(external_this_wp_dataControls_["dispatch"])('core/notices', 'removeNotice', TRASH_POST_NOTICE_ID); - - case 8: - _context9.prev = 8; - _context9.next = 11; - return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getCurrentPost'); - - case 11: - post = _context9.sent; - _context9.next = 14; - return Object(external_this_wp_dataControls_["apiFetch"])({ - path: "/wp/v2/".concat(postType.rest_base, "/").concat(post.id), - method: 'DELETE' - }); - - case 14: - _context9.next = 16; - return Object(external_this_wp_dataControls_["dispatch"])(STORE_KEY, 'savePost'); - - case 16: - _context9.next = 22; - break; - - case 18: - _context9.prev = 18; - _context9.t0 = _context9["catch"](8); - _context9.next = 22; - return external_this_wp_dataControls_["dispatch"].apply(void 0, ['core/notices', 'createErrorNotice'].concat(Object(toConsumableArray["a" /* default */])(getNotificationArgumentsForTrashFail({ - error: _context9.t0 - })))); - - case 22: - case "end": - return _context9.stop(); - } - } - }, _marked9, null, [[8, 18]]); -} -/** - * Action generator used in signalling that the post should autosave. - * - * @param {Object?} options Extra flags to identify the autosave. - */ - -function actions_autosave(options) { - return external_this_regeneratorRuntime_default.a.wrap(function autosave$(_context10) { - while (1) { - switch (_context10.prev = _context10.next) { - case 0: - _context10.next = 2; - return Object(external_this_wp_dataControls_["dispatch"])(STORE_KEY, 'savePost', Object(objectSpread["a" /* default */])({ - isAutosave: true - }, options)); - - case 2: - case "end": - return _context10.stop(); - } - } - }, _marked10); -} -function actions_experimentalLocalAutosave() { - var post, title, content, excerpt; - return external_this_regeneratorRuntime_default.a.wrap(function __experimentalLocalAutosave$(_context11) { - while (1) { - switch (_context11.prev = _context11.next) { - case 0: - _context11.next = 2; - return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getCurrentPost'); - - case 2: - post = _context11.sent; - _context11.next = 5; return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getEditedPostAttribute', 'title'); case 5: - title = _context11.sent; - _context11.next = 8; + title = _context8.sent; + _context8.next = 8; return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getEditedPostAttribute', 'content'); case 8: - content = _context11.sent; - _context11.next = 11; + content = _context8.sent; + _context8.next = 11; return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getEditedPostAttribute', 'excerpt'); case 11: - excerpt = _context11.sent; - _context11.next = 14; + excerpt = _context8.sent; + _context8.next = 14; return { type: 'LOCAL_AUTOSAVE_SET', postId: post.id, @@ -3413,10 +2811,10 @@ function actions_experimentalLocalAutosave() { case 14: case "end": - return _context11.stop(); + return _context8.stop(); } } - }, _marked11); + }, _marked8); } /** * Returns an action object used in signalling that undo history should @@ -3426,19 +2824,19 @@ function actions_experimentalLocalAutosave() { */ function actions_redo() { - return external_this_regeneratorRuntime_default.a.wrap(function redo$(_context12) { + return external_this_regeneratorRuntime_default.a.wrap(function redo$(_context9) { while (1) { - switch (_context12.prev = _context12.next) { + switch (_context9.prev = _context9.next) { case 0: - _context12.next = 2; + _context9.next = 2; return Object(external_this_wp_dataControls_["dispatch"])('core', 'redo'); case 2: case "end": - return _context12.stop(); + return _context9.stop(); } } - }, _marked12); + }, _marked9); } /** * Returns an action object used in signalling that undo history should pop. @@ -3447,19 +2845,19 @@ function actions_redo() { */ function actions_undo() { - return external_this_regeneratorRuntime_default.a.wrap(function undo$(_context13) { + return external_this_regeneratorRuntime_default.a.wrap(function undo$(_context10) { while (1) { - switch (_context13.prev = _context13.next) { + switch (_context10.prev = _context10.next) { case 0: - _context13.next = 2; + _context10.next = 2; return Object(external_this_wp_dataControls_["dispatch"])('core', 'undo'); case 2: case "end": - return _context13.stop(); + return _context10.stop(); } } - }, _marked13); + }, _marked10); } /** * Returns an action object used in signalling that undo history record should @@ -3481,7 +2879,7 @@ function createUndoLevel() { * @return {Object} Action object. */ -function updatePostLock(lock) { +function actions_updatePostLock(lock) { return { type: 'UPDATE_POST_LOCK', lock: lock @@ -3497,7 +2895,7 @@ function updatePostLock(lock) { * @return {Object} Action object. */ -function __experimentalFetchReusableBlocks(id) { +function actions_experimentalFetchReusableBlocks(id) { return { type: 'FETCH_REUSABLE_BLOCKS', id: id @@ -3690,6 +3088,46 @@ function unlockPostSaving(lockName) { lockName: lockName }; } +/** + * Returns an action object used to signal that post autosaving is locked. + * + * @param {string} lockName The lock name. + * + * @example + * ``` + * // Lock post autosaving with the lock key `mylock`: + * wp.data.dispatch( 'core/editor' ).lockPostAutosaving( 'mylock' ); + * ``` + * + * @return {Object} Action object + */ + +function lockPostAutosaving(lockName) { + return { + type: 'LOCK_POST_AUTOSAVING', + lockName: lockName + }; +} +/** + * Returns an action object used to signal that post autosaving is unlocked. + * + * @param {string} lockName The lock name. + * + * @example + * ``` + * // Unlock post saving with the lock key `mylock`: + * wp.data.dispatch( 'core/editor' ).unlockPostAutosaving( 'mylock' ); + * ``` + * + * @return {Object} Action object + */ + +function unlockPostAutosaving(lockName) { + return { + type: 'UNLOCK_POST_AUTOSAVING', + lockName: lockName + }; +} /** * Returns an action object used to signal that the blocks have been updated. * @@ -3701,162 +3139,60 @@ function unlockPostSaving(lockName) { function actions_resetEditorBlocks(blocks) { var options, - lastBlockAttributesChange, - updatedSources, - updatedBlockTypes, - _i3, - _Object$entries2, - _Object$entries2$_i, - clientId, - attributes, - blockName, - blockType, - _i4, - _Object$entries3, - _Object$entries3$_i, - attributeName, - newAttributeValue, - schema, - source, + __unstableShouldCreateUndoLevel, + selectionStart, + selectionEnd, edits, _ref2, id, type, noChange, - _args15 = arguments; + _args12 = arguments; - return external_this_regeneratorRuntime_default.a.wrap(function resetEditorBlocks$(_context14) { + return external_this_regeneratorRuntime_default.a.wrap(function resetEditorBlocks$(_context11) { while (1) { - switch (_context14.prev = _context14.next) { + switch (_context11.prev = _context11.next) { case 0: - options = _args15.length > 1 && _args15[1] !== undefined ? _args15[1] : {}; - _context14.next = 3; - return Object(external_this_wp_dataControls_["select"])('core/block-editor', '__experimentalGetLastBlockAttributeChanges'); - - case 3: - lastBlockAttributesChange = _context14.sent; - - if (!lastBlockAttributesChange) { - _context14.next = 36; - break; - } - - updatedSources = new Set(); - updatedBlockTypes = new Set(); - _i3 = 0, _Object$entries2 = Object.entries(lastBlockAttributesChange); - - case 8: - if (!(_i3 < _Object$entries2.length)) { - _context14.next = 35; - break; - } - - _Object$entries2$_i = Object(slicedToArray["a" /* default */])(_Object$entries2[_i3], 2), clientId = _Object$entries2$_i[0], attributes = _Object$entries2$_i[1]; - _context14.next = 12; - return Object(external_this_wp_dataControls_["select"])('core/block-editor', 'getBlockName', clientId); - - case 12: - blockName = _context14.sent; - - if (!updatedBlockTypes.has(blockName)) { - _context14.next = 15; - break; - } - - return _context14.abrupt("continue", 32); - - case 15: - updatedBlockTypes.add(blockName); - _context14.next = 18; - return Object(external_this_wp_dataControls_["select"])('core/blocks', 'getBlockType', blockName); - - case 18: - blockType = _context14.sent; - _i4 = 0, _Object$entries3 = Object.entries(attributes); - - case 20: - if (!(_i4 < _Object$entries3.length)) { - _context14.next = 32; - break; - } - - _Object$entries3$_i = Object(slicedToArray["a" /* default */])(_Object$entries3[_i4], 2), attributeName = _Object$entries3$_i[0], newAttributeValue = _Object$entries3$_i[1]; - - if (blockType.attributes.hasOwnProperty(attributeName)) { - _context14.next = 24; - break; - } - - return _context14.abrupt("continue", 29); - - case 24: - schema = blockType.attributes[attributeName]; - source = block_sources_namespaceObject[schema.source]; - - if (!(source && source.update)) { - _context14.next = 29; - break; - } - - return _context14.delegateYield(source.update(schema, newAttributeValue), "t0", 28); - - case 28: - updatedSources.add(source); - - case 29: - _i4++; - _context14.next = 20; - break; - - case 32: - _i3++; - _context14.next = 8; - break; - - case 35: - return _context14.delegateYield(resetLastBlockSourceDependencies(Array.from(updatedSources)), "t1", 36); - - case 36: - return _context14.delegateYield(getBlocksWithSourcedAttributes(blocks), "t2", 37); - - case 37: - _context14.t3 = _context14.t2; + options = _args12.length > 1 && _args12[1] !== undefined ? _args12[1] : {}; + __unstableShouldCreateUndoLevel = options.__unstableShouldCreateUndoLevel, selectionStart = options.selectionStart, selectionEnd = options.selectionEnd; edits = { - blocks: _context14.t3 + blocks: blocks, + selectionStart: selectionStart, + selectionEnd: selectionEnd }; - if (!(options.__unstableShouldCreateUndoLevel !== false)) { - _context14.next = 55; + if (!(__unstableShouldCreateUndoLevel !== false)) { + _context11.next = 19; break; } - _context14.next = 42; + _context11.next = 6; return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getCurrentPost'); - case 42: - _ref2 = _context14.sent; + case 6: + _ref2 = _context11.sent; id = _ref2.id; type = _ref2.type; - _context14.next = 47; + _context11.next = 11; return Object(external_this_wp_dataControls_["select"])('core', 'getEditedEntityRecord', 'postType', type, id); - case 47: - _context14.t4 = _context14.sent.blocks; - _context14.t5 = edits.blocks; - noChange = _context14.t4 === _context14.t5; + case 11: + _context11.t0 = _context11.sent.blocks; + _context11.t1 = edits.blocks; + noChange = _context11.t0 === _context11.t1; if (!noChange) { - _context14.next = 54; + _context11.next = 18; break; } - _context14.next = 53; + _context11.next = 17; return Object(external_this_wp_dataControls_["dispatch"])('core', '__unstableCreateUndoLevel', 'postType', type, id); - case 53: - return _context14.abrupt("return", _context14.sent); + case 17: + return _context11.abrupt("return", _context11.sent); - case 54: + case 18: // We create a new function here on every persistent edit // to make sure the edit makes the post dirty and creates // a new undo level. @@ -3866,15 +3202,15 @@ function actions_resetEditorBlocks(blocks) { return serialize_blocks(blocksForSerialization); }; - case 55: - return _context14.delegateYield(actions_editPost(edits), "t6", 56); + case 19: + return _context11.delegateYield(actions_editPost(edits), "t2", 20); - case 56: + case 20: case "end": - return _context14.stop(); + return _context11.stop(); } } - }, _marked14); + }, _marked11); } /* * Returns an action object used in signalling that the post editor settings have been updated. @@ -3884,7 +3220,7 @@ function actions_resetEditorBlocks(blocks) { * @return {Object} Action object */ -function updateEditorSettings(settings) { +function actions_updateEditorSettings(settings) { return { type: 'UPDATE_EDITOR_SETTINGS', settings: settings @@ -3901,26 +3237,26 @@ var actions_getBlockEditorAction = function getBlockEditorAction(name) { var _len, args, _key, - _args16 = arguments; + _args13 = arguments; - return external_this_regeneratorRuntime_default.a.wrap(function _callee$(_context15) { + return external_this_regeneratorRuntime_default.a.wrap(function _callee$(_context12) { while (1) { - switch (_context15.prev = _context15.next) { + switch (_context12.prev = _context12.next) { case 0: external_this_wp_deprecated_default()('`wp.data.dispatch( \'core/editor\' ).' + name + '`', { alternative: '`wp.data.dispatch( \'core/block-editor\' ).' + name + '`' }); - for (_len = _args16.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = _args16[_key]; + for (_len = _args13.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = _args13[_key]; } - _context15.next = 4; + _context12.next = 4; return external_this_wp_dataControls_["dispatch"].apply(void 0, ['core/block-editor', name].concat(args)); case 4: case "end": - return _context15.stop(); + return _context12.stop(); } } }, _callee); @@ -3972,7 +3308,7 @@ var multiSelect = actions_getBlockEditorAction('multiSelect'); * @see clearSelectedBlock in core/block-editor store. */ -var clearSelectedBlock = actions_getBlockEditorAction('clearSelectedBlock'); +var actions_clearSelectedBlock = actions_getBlockEditorAction('clearSelectedBlock'); /** * @see toggleSelection in core/block-editor store. */ @@ -4077,21 +3413,24 @@ var exitFormattedText = actions_getBlockEditorAction('exitFormattedText'); * @see insertDefaultBlock in core/block-editor store. */ -var insertDefaultBlock = actions_getBlockEditorAction('insertDefaultBlock'); +var actions_insertDefaultBlock = actions_getBlockEditorAction('insertDefaultBlock'); /** * @see updateBlockListSettings in core/block-editor store. */ var updateBlockListSettings = actions_getBlockEditorAction('updateBlockListSettings'); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(22); + // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(36); +var rememo = __webpack_require__(38); // EXTERNAL MODULE: external {"this":["wp","date"]} -var external_this_wp_date_ = __webpack_require__(52); +var external_this_wp_date_ = __webpack_require__(54); // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(26); +var external_this_wp_url_ = __webpack_require__(25); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/selectors.js @@ -4317,6 +3656,37 @@ var getPostEdits = Object(external_this_wp_data_["createRegistrySelector"])(func return select('core').getEntityRecordEdits('postType', postType, postId) || EMPTY_OBJECT; }; }); +/** + * Returns a new reference when edited values have changed. This is useful in + * inferring where an edit has been made between states by comparison of the + * return values using strict equality. + * + * @deprecated since Gutenberg 6.5.0. + * + * @example + * + * ``` + * const hasEditOccurred = ( + * getReferenceByDistinctEdits( beforeState ) !== + * getReferenceByDistinctEdits( afterState ) + * ); + * ``` + * + * @param {Object} state Editor state. + * + * @return {*} A value whose reference will change only when an edit occurs. + */ + +var getReferenceByDistinctEdits = Object(external_this_wp_data_["createRegistrySelector"])(function (select) { + return function () + /* state */ + { + external_this_wp_deprecated_default()('`wp.data.select( \'core/editor\' ).getReferenceByDistinctEdits`', { + alternative: '`wp.data.select( \'core\' ).getReferenceByDistinctEdits`' + }); + return select('core').getReferenceByDistinctEdits(); + }; +}); /** * Returns an attribute value of the saved post. * @@ -5241,6 +4611,37 @@ function selectors_isPublishSidebarEnabled(state) { function selectors_getEditorBlocks(state) { return selectors_getEditedPostAttribute(state, 'blocks') || EMPTY_ARRAY; } +/** + * A block selection object. + * + * @typedef {Object} WPBlockSelection + * + * @property {string} clientId A block client ID. + * @property {string} attributeKey A block attribute key. + * @property {number} offset An attribute value offset, based on the rich + * text value. See `wp.richText.create`. + */ + +/** + * Returns the current selection start. + * + * @param {Object} state + * @return {WPBlockSelection} The selection start. + */ + +function selectors_getEditorSelectionStart(state) { + return selectors_getEditedPostAttribute(state, 'selectionStart'); +} +/** + * Returns the current selection end. + * + * @param {Object} state + * @return {WPBlockSelection} The selection end. + */ + +function selectors_getEditorSelectionEnd(state) { + return selectors_getEditedPostAttribute(state, 'selectionEnd'); +} /** * Is the editor ready * @@ -5996,6 +5397,91 @@ function applyMiddlewares(store) { /* harmony default export */ var middlewares = (applyMiddlewares); +// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/controls.js +/** + * WordPress dependencies + */ + +/** + * Returns a control descriptor signalling to subscribe to the registry and + * resolve the control promise only when the next state change occurs. + * + * @return {Object} Control descriptor. + */ + +function awaitNextStateChange() { + return { + type: 'AWAIT_NEXT_STATE_CHANGE' + }; +} +/** + * Returns a control descriptor signalling to resolve with the current data + * registry. + * + * @return {Object} Control descriptor. + */ + +function getRegistry() { + return { + type: 'GET_REGISTRY' + }; +} +/** + * Function returning a sessionStorage key to set or retrieve a given post's + * automatic session backup. + * + * Keys are crucially prefixed with 'wp-autosave-' so that wp-login.php's + * `loggedout` handler can clear sessionStorage of any user-private content. + * + * @see https://github.com/WordPress/wordpress-develop/blob/6dad32d2aed47e6c0cf2aee8410645f6d7aba6bd/src/wp-login.php#L103 + * + * @param {string} postId Post ID. + * @return {string} sessionStorage key + */ + +function postKey(postId) { + return "wp-autosave-block-editor-post-".concat(postId); +} + +function localAutosaveGet(postId) { + return window.sessionStorage.getItem(postKey(postId)); +} +function localAutosaveSet(postId, title, content, excerpt) { + window.sessionStorage.setItem(postKey(postId), JSON.stringify({ + post_title: title, + content: content, + excerpt: excerpt + })); +} +function localAutosaveClear(postId) { + window.sessionStorage.removeItem(postKey(postId)); +} +var controls = { + AWAIT_NEXT_STATE_CHANGE: Object(external_this_wp_data_["createRegistryControl"])(function (registry) { + return function () { + return new Promise(function (resolve) { + var unsubscribe = registry.subscribe(function () { + unsubscribe(); + resolve(); + }); + }); + }; + }), + GET_REGISTRY: Object(external_this_wp_data_["createRegistryControl"])(function (registry) { + return function () { + return registry; + }; + }), + LOCAL_AUTOSAVE_SET: function LOCAL_AUTOSAVE_SET(_ref) { + var postId = _ref.postId, + title = _ref.title, + content = _ref.content, + excerpt = _ref.excerpt; + localAutosaveSet(postId, title, content, excerpt); + } +}; +/* harmony default export */ var store_controls = (controls); + // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/index.js @@ -6034,12 +5520,133 @@ var store_store = Object(external_this_wp_data_["registerStore"])(STORE_KEY, Obj middlewares(store_store); /* harmony default export */ var build_module_store = (store_store); -// EXTERNAL MODULE: external {"this":["wp","hooks"]} -var external_this_wp_hooks_ = __webpack_require__(27); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(14); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(21); // EXTERNAL MODULE: external {"this":["wp","element"]} var external_this_wp_element_ = __webpack_require__(0); +// EXTERNAL MODULE: external {"this":["wp","compose"]} +var external_this_wp_compose_ = __webpack_require__(8); + +// EXTERNAL MODULE: external {"this":["wp","hooks"]} +var external_this_wp_hooks_ = __webpack_require__(27); + +// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/hooks/custom-sources-backwards-compatibility.js + + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + + +/** @typedef {import('@wordpress/compose').WPHigherOrderComponent} WPHigherOrderComponent */ + +/** @typedef {import('@wordpress/blocks').WPBlockSettings} WPBlockSettings */ + +/** + * Object whose keys are the names of block attributes, where each value + * represents the meta key to which the block attribute is intended to save. + * + * @see https://developer.wordpress.org/reference/functions/register_meta/ + * + * @typedef {Object} WPMetaAttributeMapping + */ + +/** + * Given a mapping of attribute names (meta source attributes) to their + * associated meta key, returns a higher order component that overrides its + * `attributes` and `setAttributes` props to sync any changes with the edited + * post's meta keys. + * + * @param {WPMetaAttributeMapping} metaAttributes Meta attribute mapping. + * + * @return {WPHigherOrderComponent} Higher-order component. + */ + +var custom_sources_backwards_compatibility_createWithMetaAttributeSource = function createWithMetaAttributeSource(metaAttributes) { + return Object(external_this_wp_compose_["createHigherOrderComponent"])(function (BlockEdit) { + return function (_ref) { + var attributes = _ref.attributes, + _setAttributes = _ref.setAttributes, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["attributes", "setAttributes"]); + + var postType = Object(external_this_wp_data_["useSelect"])(function (select) { + return select('core/editor').getCurrentPostType(); + }, []); + + var _useEntityProp = Object(external_this_wp_coreData_["useEntityProp"])('postType', postType, 'meta'), + _useEntityProp2 = Object(slicedToArray["a" /* default */])(_useEntityProp, 2), + meta = _useEntityProp2[0], + setMeta = _useEntityProp2[1]; + + var mergedAttributes = Object(external_this_wp_element_["useMemo"])(function () { + return Object(objectSpread["a" /* default */])({}, attributes, Object(external_this_lodash_["mapValues"])(metaAttributes, function (metaKey) { + return meta[metaKey]; + })); + }, [attributes, meta]); + return Object(external_this_wp_element_["createElement"])(BlockEdit, Object(esm_extends["a" /* default */])({ + attributes: mergedAttributes, + setAttributes: function setAttributes(nextAttributes) { + var nextMeta = Object(external_this_lodash_["mapKeys"])( // Filter to intersection of keys between the updated + // attributes and those with an associated meta key. + Object(external_this_lodash_["pickBy"])(nextAttributes, function (value, key) { + return metaAttributes[key]; + }), // Rename the keys to the expected meta key name. + function (value, attributeKey) { + return metaAttributes[attributeKey]; + }); + + if (!Object(external_this_lodash_["isEmpty"])(nextMeta)) { + setMeta(nextMeta); + } + + _setAttributes(nextAttributes); + } + }, props)); + }; + }, 'withMetaAttributeSource'); +}; +/** + * Filters a registered block's settings to enhance a block's `edit` component + * to upgrade meta-sourced attributes to use the post's meta entity property. + * + * @param {WPBlockSettings} settings Registered block settings. + * + * @return {WPBlockSettings} Filtered block settings. + */ + + +function shimAttributeSource(settings) { + /** @type {WPMetaAttributeMapping} */ + var metaAttributes = Object(external_this_lodash_["mapValues"])(Object(external_this_lodash_["pickBy"])(settings.attributes, { + source: 'meta' + }), 'meta'); + + if (!Object(external_this_lodash_["isEmpty"])(metaAttributes)) { + settings.edit = custom_sources_backwards_compatibility_createWithMetaAttributeSource(metaAttributes)(settings.edit); + } + + return settings; +} + +Object(external_this_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/editor/custom-sources-backwards-compatibility/shim-attribute-source', shimAttributeSource); + // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/autocompleters/block.js @@ -6055,6 +5662,10 @@ var external_this_wp_element_ = __webpack_require__(0); +/** @typedef {import('@wordpress/block-editor').WPEditorInserterItem} WPEditorInserterItem */ + +/** @typedef {import('@wordpress/components').WPCompleter} WPCompleter */ + /** * Returns the client ID of the parent where a newly inserted block would be * placed. @@ -6072,7 +5683,7 @@ function defaultGetBlockInsertionParentClientId() { * @param {string} rootClientId Client ID of the block for which to retrieve * inserter items. * - * @return {Array} The inserter items for the specified + * @return {Array} The inserter items for the specified * parent. */ @@ -6119,7 +5730,7 @@ var block_fetchReusableBlocks = Object(external_this_lodash_["once"])(function ( /** * Creates a blocks repeater for replacing the current block with a selected block type. * - * @return {Completer} A blocks completer. + * @return {WPCompleter} A blocks completer. */ function createBlockCompleter() { @@ -6178,7 +5789,7 @@ function createBlockCompleter() { /** * Creates a blocks repeater for replacing the current block with a selected block type. * - * @return {Completer} A blocks completer. + * @return {WPCompleter} A blocks completer. */ /* harmony default export */ var autocompleters_block = (createBlockCompleter()); @@ -6190,10 +5801,12 @@ function createBlockCompleter() { * WordPress dependencies */ +/** @typedef {import('@wordpress/components').WPCompleter} WPCompleter */ + /** * A user mentions completer. * - * @type {Completer} + * @type {WPCompleter} */ /* harmony default export */ var autocompleters_user = ({ @@ -6239,22 +5852,19 @@ function createBlockCompleter() { // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(12); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(11); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(13); +var possibleConstructorReturn = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(14); +var getPrototypeOf = __webpack_require__(16); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(15); - -// EXTERNAL MODULE: external {"this":["wp","compose"]} -var external_this_wp_compose_ = __webpack_require__(8); +var inherits = __webpack_require__(17); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/autosave-monitor/index.js @@ -6377,7 +5987,7 @@ function (_Component) { })])(autosave_monitor_AutosaveMonitor)); // EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(16); +var classnames = __webpack_require__(11); var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/document-outline/item.js @@ -6604,7 +6214,7 @@ function DocumentOutlineCheck(_ref) { })(DocumentOutlineCheck)); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js -var assertThisInitialized = __webpack_require__(5); +var assertThisInitialized = __webpack_require__(6); // EXTERNAL MODULE: external {"this":["wp","components"]} var external_this_wp_components_ = __webpack_require__(3); @@ -6840,9 +6450,6 @@ function EditorHistoryUndo(_ref) { }; })])(EditorHistoryUndo)); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules -var objectWithoutProperties = __webpack_require__(21); - // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/template-validation-notice/index.js @@ -7099,21 +6706,15 @@ var hasSessionStorageSupport = Object(external_this_lodash_["once"])(function () function useAutosaveNotice() { var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { - var _postId = select('core/editor').getCurrentPostId(); - - var postType = select('core/editor').getCurrentPostType(); - var user = select('core').getCurrentUser(); return { - postId: _postId, + postId: select('core/editor').getCurrentPostId(), getEditedPostAttribute: select('core/editor').getEditedPostAttribute, - remoteAutosave: select('core').getAutosave(postType, _postId, user.id), - hasFetchedAutosave: select('core').hasFetchedAutosaves(postType, _postId) && user.id + hasRemoteAutosave: !!select('core/editor').getEditorSettings().autosave }; }), postId = _useSelect.postId, getEditedPostAttribute = _useSelect.getEditedPostAttribute, - remoteAutosave = _useSelect.remoteAutosave, - hasFetchedAutosave = _useSelect.hasFetchedAutosave; + hasRemoteAutosave = _useSelect.hasRemoteAutosave; var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/notices'), createWarningNotice = _useDispatch.createWarningNotice, @@ -7124,10 +6725,6 @@ function useAutosaveNotice() { resetEditorBlocks = _useDispatch2.resetEditorBlocks; Object(external_this_wp_element_["useEffect"])(function () { - if (!hasFetchedAutosave) { - return; - } - var localAutosave = localAutosaveGet(postId); if (!localAutosave) { @@ -7164,7 +6761,7 @@ function useAutosaveNotice() { } } - if (remoteAutosave) { + if (hasRemoteAutosave) { return; } @@ -7180,7 +6777,7 @@ function useAutosaveNotice() { } }] }); - }, [postId, hasFetchedAutosave]); + }, [postId]); } /** * Custom hook which ejects a local autosave after a successful save occurs. @@ -7191,7 +6788,6 @@ function useAutosavePurge() { var _useSelect2 = Object(external_this_wp_data_["useSelect"])(function (select) { return { postId: select('core/editor').getCurrentPostId(), - postType: select('core/editor').getCurrentPostType(), isDirty: select('core/editor').isEditedPostDirty(), isAutosaving: select('core/editor').isAutosavingPost(), didError: select('core/editor').didPostSaveRequestFail() @@ -7293,14 +6889,14 @@ function PageAttributesCheck(_ref) { * A component which renders its own children only if the current editor post * type supports one of the given `supportKeys` prop. * - * @param {Object} props - * @param {string} [props.postType] Current post type. - * @param {WPElement} props.children Children to be rendered if post - * type supports. - * @param {(string|string[])} props.supportKeys String or string array of keys - * to test. + * @param {Object} props Props. + * @param {string} [props.postType] Current post type. + * @param {WPElement} props.children Children to be rendered if post + * type supports. + * @param {(string|string[])} props.supportKeys String or string array of keys + * to test. * - * @return {WPElement} Rendered element. + * @return {WPComponent} The component to be rendered. */ function PostTypeSupportCheck(_ref) { @@ -7598,7 +7194,7 @@ function PageTemplate(_ref) { }))(PageTemplate)); // EXTERNAL MODULE: external {"this":["wp","htmlEntities"]} -var external_this_wp_htmlEntities_ = __webpack_require__(51); +var external_this_wp_htmlEntities_ = __webpack_require__(53); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-author/check.js @@ -7793,7 +7389,7 @@ function PostExcerpt(_ref) { }, value: excerpt }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], { - href: Object(external_this_wp_i18n_["__"])('https://codex.wordpress.org/Excerpt') + href: Object(external_this_wp_i18n_["__"])('https://wordpress.org/support/article/excerpt/') }, Object(external_this_wp_i18n_["__"])('Learn more about manual excerpts'))); } @@ -7811,9 +7407,6 @@ function PostExcerpt(_ref) { }; })])(PostExcerpt)); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(18); - // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-excerpt/check.js @@ -7901,6 +7494,7 @@ function PostFeaturedImageCheck(props) { // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-featured-image/index.js + /** * External dependencies */ @@ -7932,9 +7526,11 @@ function PostFeaturedImage(_ref) { var currentPostId = _ref.currentPostId, featuredImageId = _ref.featuredImageId, onUpdateImage = _ref.onUpdateImage, + onDropImage = _ref.onDropImage, onRemoveImage = _ref.onRemoveImage, media = _ref.media, - postType = _ref.postType; + postType = _ref.postType, + noticeUI = _ref.noticeUI; var postLabel = Object(external_this_lodash_["get"])(postType, ['labels'], {}); var instructions = Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('To edit the featured image, you need permission to upload media.')); var mediaWidth, mediaHeight, mediaSourceUrl; @@ -7943,17 +7539,29 @@ function PostFeaturedImage(_ref) { var mediaSize = Object(external_this_wp_hooks_["applyFilters"])('editor.PostFeaturedImage.imageSize', 'post-thumbnail', media.id, currentPostId); if (Object(external_this_lodash_["has"])(media, ['media_details', 'sizes', mediaSize])) { + // use mediaSize when available mediaWidth = media.media_details.sizes[mediaSize].width; mediaHeight = media.media_details.sizes[mediaSize].height; mediaSourceUrl = media.media_details.sizes[mediaSize].source_url; } else { - mediaWidth = media.media_details.width; - mediaHeight = media.media_details.height; - mediaSourceUrl = media.source_url; + // get fallbackMediaSize if mediaSize is not available + var fallbackMediaSize = Object(external_this_wp_hooks_["applyFilters"])('editor.PostFeaturedImage.imageSize', 'thumbnail', media.id, currentPostId); + + if (Object(external_this_lodash_["has"])(media, ['media_details', 'sizes', fallbackMediaSize])) { + // use fallbackMediaSize when mediaSize is not available + mediaWidth = media.media_details.sizes[fallbackMediaSize].width; + mediaHeight = media.media_details.sizes[fallbackMediaSize].height; + mediaSourceUrl = media.media_details.sizes[fallbackMediaSize].source_url; + } else { + // use full image size when mediaFallbackSize and mediaSize are not available + mediaWidth = media.media_details.width; + mediaHeight = media.media_details.height; + mediaSourceUrl = media.source_url; + } } } - return Object(external_this_wp_element_["createElement"])(post_featured_image_check, null, Object(external_this_wp_element_["createElement"])("div", { + return Object(external_this_wp_element_["createElement"])(post_featured_image_check, null, noticeUI, Object(external_this_wp_element_["createElement"])("div", { className: "editor-post-featured-image" }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUploadCheck"], { fallback: instructions @@ -7965,7 +7573,9 @@ function PostFeaturedImage(_ref) { modalClass: !featuredImageId ? 'editor-post-featured-image__media-modal' : 'editor-post-featured-image__media-modal', render: function render(_ref2) { var open = _ref2.open; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + return Object(external_this_wp_element_["createElement"])("div", { + className: "editor-post-featured-image__container" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { className: !featuredImageId ? 'editor-post-featured-image__toggle' : 'editor-post-featured-image__preview', onClick: open, "aria-label": !featuredImageId ? null : Object(external_this_wp_i18n_["__"])('Edit or update the image') @@ -7976,7 +7586,9 @@ function PostFeaturedImage(_ref) { }, Object(external_this_wp_element_["createElement"])("img", { src: mediaSourceUrl, alt: "" - })), !!featuredImageId && !media && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null), !featuredImageId && (postLabel.set_featured_image || DEFAULT_SET_FEATURE_IMAGE_LABEL)); + })), !!featuredImageId && !media && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null), !featuredImageId && (postLabel.set_featured_image || DEFAULT_SET_FEATURE_IMAGE_LABEL)), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropZone"], { + onFilesDrop: onDropImage + })); }, value: featuredImageId })), !!featuredImageId && media && !media.isLoading && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUploadCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], { @@ -8017,7 +7629,10 @@ var post_featured_image_applyWithSelect = Object(external_this_wp_data_["withSel featuredImageId: featuredImageId }; }); -var post_featured_image_applyWithDispatch = Object(external_this_wp_data_["withDispatch"])(function (dispatch) { +var post_featured_image_applyWithDispatch = Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref4, _ref5) { + var noticeOperations = _ref4.noticeOperations; + var select = _ref5.select; + var _dispatch = dispatch('core/editor'), editPost = _dispatch.editPost; @@ -8027,6 +7642,24 @@ var post_featured_image_applyWithDispatch = Object(external_this_wp_data_["withD featured_media: image.id }); }, + onDropImage: function onDropImage(filesList) { + select('core/block-editor').getSettings().mediaUpload({ + allowedTypes: ['image'], + filesList: filesList, + onFileChange: function onFileChange(_ref6) { + var _ref7 = Object(slicedToArray["a" /* default */])(_ref6, 1), + image = _ref7[0]; + + editPost({ + featured_media: image.id + }); + }, + onError: function onError(message) { + noticeOperations.removeAllNotices(); + noticeOperations.createErrorNotice(message); + } + }); + }, onRemoveImage: function onRemoveImage() { editPost({ featured_media: 0 @@ -8034,7 +7667,7 @@ var post_featured_image_applyWithDispatch = Object(external_this_wp_data_["withD } }; }); -/* harmony default export */ var post_featured_image = (Object(external_this_wp_compose_["compose"])(post_featured_image_applyWithSelect, post_featured_image_applyWithDispatch, Object(external_this_wp_components_["withFilters"])('editor.PostFeaturedImage'))(PostFeaturedImage)); +/* harmony default export */ var post_featured_image = (Object(external_this_wp_compose_["compose"])(external_this_wp_components_["withNotices"], post_featured_image_applyWithSelect, post_featured_image_applyWithDispatch, Object(external_this_wp_components_["withFilters"])('editor.PostFeaturedImage'))(PostFeaturedImage)); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-format/check.js @@ -8336,7 +7969,6 @@ function LastRevision(_ref) { - function writeInterstitialMessage(targetDocument) { var markup = Object(external_this_wp_element_["renderToString"])(Object(external_this_wp_element_["createElement"])("div", { className: "editor-post-preview-button__interstitial-message" @@ -8476,9 +8108,7 @@ function (_Component) { className: "screen-reader-text" }, /* translators: accessibility text */ - Object(external_this_wp_i18n_["__"])('(opens in a new tab)')), Object(external_this_wp_element_["createElement"])(external_this_wp_nux_["DotTip"], { - tipId: "core/editor.preview" - }, Object(external_this_wp_i18n_["__"])('Click “Preview” to load a preview of this page, so you can make sure you’re happy with your blocks.'))); + Object(external_this_wp_i18n_["__"])('(opens in a new tab)'))); } }]); @@ -8724,7 +8354,7 @@ function (_Component) { focusOnMount: true, shouldCloseOnClickOutside: false, shouldCloseOnEsc: false, - isDismissable: false, + isDismissible: false, className: "editor-post-locked-modal" }, !!userAvatar && Object(external_this_wp_element_["createElement"])("img", { src: userAvatar, @@ -8994,7 +8624,6 @@ function PublishButtonLabel(_ref) { - /** * Internal dependencies */ @@ -9049,10 +8678,10 @@ function (_Component) { if (!hasPublishAction) { publishStatus = 'pending'; - } else if (isBeingScheduled) { - publishStatus = 'future'; } else if (visibility === 'private') { publishStatus = 'private'; + } else if (isBeingScheduled) { + publishStatus = 'future'; } else { publishStatus = 'publish'; } @@ -9096,11 +8725,10 @@ function (_Component) { }); var componentProps = isToggle ? toggleProps : buttonProps; var componentChildren = isToggle ? toggleChildren : buttonChildren; - return Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], Object(esm_extends["a" /* default */])({ + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], Object(esm_extends["a" /* default */])({ + isLarge: true, ref: this.buttonNode - }, componentProps), componentChildren), Object(external_this_wp_element_["createElement"])(external_this_wp_nux_["DotTip"], { - tipId: "core/editor.publish" - }, Object(external_this_wp_i18n_["__"])('Finished writing? That’s great, let’s get this published right now. Just click “Publish” and you’re good to go.'))); + }, componentProps), componentChildren); } }]); @@ -9615,16 +9243,16 @@ function (_Component) { var _this4 = this; var terms = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - var selectedTerms = terms.reduce(function (result, termId) { + var selectedTerms = terms.reduce(function (accumulator, termId) { var termObject = Object(external_this_lodash_["find"])(_this4.state.availableTerms, function (term) { return term.id === termId; }); if (termObject) { - result.push(termObject.name); + accumulator.push(termObject.name); } - return result; + return accumulator; }, []); this.setState({ selectedTerms: selectedTerms @@ -10273,8 +9901,6 @@ function (_Component) { onSubmit: this.onSubmit, forceIsDirty: forceIsDirty, forceIsSaving: forceIsSaving - }), Object(external_this_wp_element_["createElement"])("span", { - className: "editor-post-publish-panel__spacer" })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { "aria-expanded": true, onClick: onClose, @@ -10352,13 +9978,12 @@ function (_Component) { - function PostSwitchToDraftButton(_ref) { var isSaving = _ref.isSaving, isPublished = _ref.isPublished, isScheduled = _ref.isScheduled, - onClick = _ref.onClick, - isMobileViewport = _ref.isMobileViewport; + onClick = _ref.onClick; + var isMobileViewport = Object(external_this_wp_compose_["useViewportMatch"])('small', '<'); if (!isPublished && !isScheduled) { return null; @@ -10411,8 +10036,6 @@ function PostSwitchToDraftButton(_ref) { savePost(); } }; -}), Object(external_this_wp_viewport_["withViewportMatch"])({ - isMobileViewport: '< small' })])(PostSwitchToDraftButton)); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-saved-state/index.js @@ -10636,6 +10259,133 @@ function PostScheduleCheck(_ref) { }; })])(PostScheduleCheck)); +// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-slug/check.js + + +/** + * Internal dependencies + */ + +function PostSlugCheck(_ref) { + var children = _ref.children; + return Object(external_this_wp_element_["createElement"])(post_type_support_check, { + supportKeys: "slug" + }, children); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-slug/index.js + + + + + + + + +/** + * WordPress dependencies + */ + + + + + +/** + * Internal dependencies + */ + + + +var post_slug_PostSlug = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(PostSlug, _Component); + + function PostSlug(_ref) { + var _this; + + var postSlug = _ref.postSlug, + postTitle = _ref.postTitle, + postID = _ref.postID; + + Object(classCallCheck["a" /* default */])(this, PostSlug); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(PostSlug).apply(this, arguments)); + _this.state = { + editedSlug: Object(external_this_wp_url_["safeDecodeURIComponent"])(postSlug) || cleanForSlug(postTitle) || postID + }; + _this.setSlug = _this.setSlug.bind(Object(assertThisInitialized["a" /* default */])(_this)); + return _this; + } + + Object(createClass["a" /* default */])(PostSlug, [{ + key: "setSlug", + value: function setSlug(event) { + var _this$props = this.props, + postSlug = _this$props.postSlug, + onUpdateSlug = _this$props.onUpdateSlug; + var value = event.target.value; + var editedSlug = cleanForSlug(value); + + if (editedSlug === postSlug) { + return; + } + + onUpdateSlug(editedSlug); + } + }, { + key: "render", + value: function render() { + var _this2 = this; + + var instanceId = this.props.instanceId; + var editedSlug = this.state.editedSlug; + var inputId = 'editor-post-slug-' + instanceId; + return Object(external_this_wp_element_["createElement"])(PostSlugCheck, null, Object(external_this_wp_element_["createElement"])("label", { + htmlFor: inputId + }, Object(external_this_wp_i18n_["__"])('Slug')), Object(external_this_wp_element_["createElement"])("input", { + type: "text", + id: inputId, + value: editedSlug, + onChange: function onChange(event) { + return _this2.setState({ + editedSlug: event.target.value + }); + }, + onBlur: this.setSlug, + className: "editor-post-slug__input" + })); + } + }]); + + return PostSlug; +}(external_this_wp_element_["Component"]); +/* harmony default export */ var post_slug = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select) { + var _select = select('core/editor'), + getCurrentPost = _select.getCurrentPost, + getEditedPostAttribute = _select.getEditedPostAttribute; + + var _getCurrentPost = getCurrentPost(), + id = _getCurrentPost.id; + + return { + postSlug: getEditedPostAttribute('slug'), + postTitle: getEditedPostAttribute('title'), + postID: id + }; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch) { + var _dispatch = dispatch('core/editor'), + editPost = _dispatch.editPost; + + return { + onUpdateSlug: function onUpdateSlug(slug) { + editPost({ + slug: slug + }); + } + }; +}), external_this_wp_compose_["withInstanceId"]])(post_slug_PostSlug)); + // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-sticky/check.js /** * External dependencies @@ -11317,7 +11067,7 @@ function PostTaxonomiesCheck(_ref) { })])(PostTaxonomiesCheck)); // EXTERNAL MODULE: ./node_modules/react-autosize-textarea/lib/index.js -var lib = __webpack_require__(61); +var lib = __webpack_require__(60); var lib_default = /*#__PURE__*/__webpack_require__.n(lib); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-text-editor/index.js @@ -11924,7 +11674,7 @@ function (_Component) { }, decodedPlaceholder || Object(external_this_wp_i18n_["__"])('Add title')), Object(external_this_wp_element_["createElement"])(lib_default.a, { id: "post-title-".concat(instanceId), className: "editor-post-title__input", - value: title, + value: Object(external_this_lodash_["unescape"])(title), onChange: this.onChange, placeholder: decodedPlaceholder || Object(external_this_wp_i18n_["__"])('Add title'), onFocus: this.onSelect, @@ -11992,7 +11742,7 @@ var post_title_applyWithDispatch = Object(external_this_wp_data_["withDispatch"] }, onUpdate: function onUpdate(title) { editPost({ - title: title + title: Object(external_this_lodash_["escape"])(title) }); }, onUndo: undo, @@ -12866,57 +12616,6 @@ function ConvertToGroupButtons(_ref) { }; })(ConvertToGroupButtons)); -// EXTERNAL MODULE: external {"this":["wp","blockDirectory"]} -var external_this_wp_blockDirectory_ = __webpack_require__(231); - -// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/inserter-menu-downloadable-blocks-panel/index.js - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - - -function InserterMenuDownloadableBlocksPanel() { - var _useState = Object(external_this_wp_element_["useState"])(''), - _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), - debouncedFilterValue = _useState2[0], - setFilterValue = _useState2[1]; - - var debouncedSetFilterValue = Object(external_this_lodash_["debounce"])(setFilterValue, 400); - return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalInserterMenuExtension"], null, function (_ref) { - var onSelect = _ref.onSelect, - onHover = _ref.onHover, - filterValue = _ref.filterValue, - hasItems = _ref.hasItems; - - if (hasItems || !filterValue) { - return null; - } - - if (debouncedFilterValue !== filterValue) { - debouncedSetFilterValue(filterValue); - } - - return Object(external_this_wp_element_["createElement"])(external_this_wp_blockDirectory_["DownloadableBlocksPanel"], { - onSelect: onSelect, - onHover: onHover, - filterValue: debouncedFilterValue, - isWaiting: filterValue !== debouncedFilterValue - }); - }); -} - -/* harmony default export */ var inserter_menu_downloadable_blocks_panel = (InserterMenuDownloadableBlocksPanel); - // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/provider/index.js @@ -12955,7 +12654,6 @@ function InserterMenuDownloadableBlocksPanel() { - var fetchLinkSuggestions = /*#__PURE__*/ function () { @@ -12982,7 +12680,8 @@ function () { return { id: post.id, url: post.url, - title: Object(external_this_wp_htmlEntities_["decodeEntities"])(post.title) || Object(external_this_wp_i18n_["__"])('(no title)') + title: Object(external_this_wp_htmlEntities_["decodeEntities"])(post.title) || Object(external_this_wp_i18n_["__"])('(no title)'), + type: post.subtype || post.type }; })); @@ -12999,8 +12698,6 @@ function () { }; }(); -var UNINSTALL_ERROR_NOTICE_ID = 'block-uninstall-error'; - var provider_EditorProvider = /*#__PURE__*/ function (_Component) { @@ -13038,10 +12735,11 @@ function (_Component) { Object(createClass["a" /* default */])(EditorProvider, [{ key: "getBlockEditorSettings", - value: function getBlockEditorSettings(settings, reusableBlocks, hasUploadPermissions, canUserUseUnfilteredHTML) { - return Object(objectSpread["a" /* default */])({}, Object(external_this_lodash_["pick"])(settings, ['alignWide', 'allowedBlockTypes', '__experimentalPreferredStyleVariations', 'availableLegacyWidgets', 'bodyPlaceholder', 'codeEditingEnabled', 'colors', 'disableCustomColors', 'disableCustomFontSizes', 'focusMode', 'fontSizes', 'hasFixedToolbar', 'hasPermissionsToManageWidgets', 'imageSizes', 'isRTL', 'maxWidth', 'styles', 'template', 'templateLock', 'titlePlaceholder', 'onUpdateDefaultBlockStyles', '__experimentalEnableLegacyWidgetBlock', '__experimentalEnableMenuBlock', '__experimentalBlockDirectory', 'showInserterHelpPanel']), { + value: function getBlockEditorSettings(settings, reusableBlocks, __experimentalFetchReusableBlocks, hasUploadPermissions, canUserUseUnfilteredHTML) { + return Object(objectSpread["a" /* default */])({}, Object(external_this_lodash_["pick"])(settings, ['alignWide', 'allowedBlockTypes', '__experimentalPreferredStyleVariations', 'availableLegacyWidgets', 'bodyPlaceholder', 'codeEditingEnabled', 'colors', 'disableCustomColors', 'disableCustomFontSizes', 'disableCustomGradients', 'focusMode', 'fontSizes', 'hasFixedToolbar', 'hasPermissionsToManageWidgets', 'imageSizes', 'isRTL', 'maxWidth', 'styles', 'template', 'templateLock', 'titlePlaceholder', 'onUpdateDefaultBlockStyles', '__experimentalEnableLegacyWidgetBlock', '__experimentalBlockDirectory', '__experimentalEnableFullSiteEditing', '__experimentalEnableFullSiteEditingDemo', '__experimentalEnablePageTemplates', 'showInserterHelpPanel', 'gradients']), { + mediaUpload: hasUploadPermissions ? media_upload : undefined, __experimentalReusableBlocks: reusableBlocks, - __experimentalMediaUpload: hasUploadPermissions ? media_upload : undefined, + __experimentalFetchReusableBlocks: __experimentalFetchReusableBlocks, __experimentalFetchLinkSuggestions: fetchLinkSuggestions, __experimentalCanUserUseUnfilteredHTML: canUserUseUnfilteredHTML }); @@ -13067,25 +12765,8 @@ function (_Component) { }, { key: "componentDidUpdate", value: function componentDidUpdate(prevProps) { - var _this2 = this; - if (this.props.settings !== prevProps.settings) { this.props.updateEditorSettings(this.props.settings); - } // When a block is installed from the inserter and is unused, - // it is removed when saving the post. - // Todo: move this to the edit-post package into a separate component. - - - if (!Object(external_this_lodash_["isEqual"])(this.props.downloadableBlocksToUninstall, prevProps.downloadableBlocksToUninstall)) { - this.props.downloadableBlocksToUninstall.forEach(function (blockType) { - _this2.props.uninstallBlock(blockType, external_this_lodash_["noop"], function () { - _this2.props.createWarningNotice(Object(external_this_wp_i18n_["__"])('Block previews can\'t uninstall.'), { - id: UNINSTALL_ERROR_NOTICE_ID - }); - }); - - Object(external_this_wp_blocks_["unregisterBlockType"])(blockType.name); - }); } } }, { @@ -13099,26 +12780,39 @@ function (_Component) { var _this$props = this.props, canUserUseUnfilteredHTML = _this$props.canUserUseUnfilteredHTML, children = _this$props.children, + post = _this$props.post, blocks = _this$props.blocks, resetEditorBlocks = _this$props.resetEditorBlocks, + selectionStart = _this$props.selectionStart, + selectionEnd = _this$props.selectionEnd, isReady = _this$props.isReady, settings = _this$props.settings, reusableBlocks = _this$props.reusableBlocks, resetEditorBlocksWithoutUndoLevel = _this$props.resetEditorBlocksWithoutUndoLevel, - hasUploadPermissions = _this$props.hasUploadPermissions; + hasUploadPermissions = _this$props.hasUploadPermissions, + __experimentalFetchReusableBlocks = _this$props.__experimentalFetchReusableBlocks; if (!isReady) { return null; } - var editorSettings = this.getBlockEditorSettings(settings, reusableBlocks, hasUploadPermissions, canUserUseUnfilteredHTML); - return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockEditorProvider"], { + var editorSettings = this.getBlockEditorSettings(settings, reusableBlocks, __experimentalFetchReusableBlocks, hasUploadPermissions, canUserUseUnfilteredHTML); + return Object(external_this_wp_element_["createElement"])(external_this_wp_coreData_["EntityProvider"], { + kind: "root", + type: "site" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_coreData_["EntityProvider"], { + kind: "postType", + type: post.type, + id: post.id + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockEditorProvider"], { value: blocks, onInput: resetEditorBlocksWithoutUndoLevel, onChange: resetEditorBlocks, + selectionStart: selectionStart, + selectionEnd: selectionEnd, settings: editorSettings, useSubRegistry: false - }, children, Object(external_this_wp_element_["createElement"])(reusable_blocks_buttons, null), Object(external_this_wp_element_["createElement"])(convert_to_group_buttons, null), editorSettings.__experimentalBlockDirectory && Object(external_this_wp_element_["createElement"])(inserter_menu_downloadable_blocks_panel, null)); + }, children, Object(external_this_wp_element_["createElement"])(reusable_blocks_buttons, null), Object(external_this_wp_element_["createElement"])(convert_to_group_buttons, null)))); } }]); @@ -13130,25 +12824,21 @@ function (_Component) { canUserUseUnfilteredHTML = _select.canUserUseUnfilteredHTML, isEditorReady = _select.__unstableIsEditorReady, getEditorBlocks = _select.getEditorBlocks, + getEditorSelectionStart = _select.getEditorSelectionStart, + getEditorSelectionEnd = _select.getEditorSelectionEnd, __experimentalGetReusableBlocks = _select.__experimentalGetReusableBlocks; var _select2 = select('core'), canUser = _select2.canUser; - var _select3 = select('core/block-directory'), - getInstalledBlockTypes = _select3.getInstalledBlockTypes; - - var _select4 = select('core/block-editor'), - getBlocks = _select4.getBlocks; - - var downloadableBlocksToUninstall = Object(external_this_lodash_["differenceBy"])(getInstalledBlockTypes(), getBlocks(), 'name'); return { canUserUseUnfilteredHTML: canUserUseUnfilteredHTML(), isReady: isEditorReady(), blocks: getEditorBlocks(), + selectionStart: getEditorSelectionStart(), + selectionEnd: getEditorSelectionEnd(), reusableBlocks: __experimentalGetReusableBlocks(), - hasUploadPermissions: Object(external_this_lodash_["defaultTo"])(canUser('create', 'media'), true), - downloadableBlocksToUninstall: downloadableBlocksToUninstall + hasUploadPermissions: Object(external_this_lodash_["defaultTo"])(canUser('create', 'media'), true) }; }), Object(external_this_wp_data_["withDispatch"])(function (dispatch) { var _dispatch = dispatch('core/editor'), @@ -13156,32 +12846,30 @@ function (_Component) { updatePostLock = _dispatch.updatePostLock, resetEditorBlocks = _dispatch.resetEditorBlocks, updateEditorSettings = _dispatch.updateEditorSettings, + __experimentalFetchReusableBlocks = _dispatch.__experimentalFetchReusableBlocks, __experimentalTearDownEditor = _dispatch.__experimentalTearDownEditor; var _dispatch2 = dispatch('core/notices'), createWarningNotice = _dispatch2.createWarningNotice; - var _dispatch3 = dispatch('core/block-directory'), - uninstallBlock = _dispatch3.uninstallBlock; - return { setupEditor: setupEditor, updatePostLock: updatePostLock, createWarningNotice: createWarningNotice, resetEditorBlocks: resetEditorBlocks, updateEditorSettings: updateEditorSettings, - resetEditorBlocksWithoutUndoLevel: function resetEditorBlocksWithoutUndoLevel(blocks) { - resetEditorBlocks(blocks, { + resetEditorBlocksWithoutUndoLevel: function resetEditorBlocksWithoutUndoLevel(blocks, options) { + resetEditorBlocks(blocks, Object(objectSpread["a" /* default */])({}, options, { __unstableShouldCreateUndoLevel: false - }); + })); }, tearDownEditor: __experimentalTearDownEditor, - uninstallBlock: uninstallBlock + __experimentalFetchReusableBlocks: __experimentalFetchReusableBlocks }; })])(provider_EditorProvider)); // EXTERNAL MODULE: external {"this":["wp","serverSideRender"]} -var external_this_wp_serverSideRender_ = __webpack_require__(57); +var external_this_wp_serverSideRender_ = __webpack_require__(58); var external_this_wp_serverSideRender_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_serverSideRender_); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/deprecated.js @@ -13229,7 +12917,7 @@ var Autocomplete = deprecateComponent('Autocomplete', external_this_wp_blockEdit var AlignmentToolbar = deprecateComponent('AlignmentToolbar', external_this_wp_blockEditor_["AlignmentToolbar"]); var BlockAlignmentToolbar = deprecateComponent('BlockAlignmentToolbar', external_this_wp_blockEditor_["BlockAlignmentToolbar"]); var BlockControls = deprecateComponent('BlockControls', external_this_wp_blockEditor_["BlockControls"], ['Slot']); -var BlockEdit = deprecateComponent('BlockEdit', external_this_wp_blockEditor_["BlockEdit"]); +var deprecated_BlockEdit = deprecateComponent('BlockEdit', external_this_wp_blockEditor_["BlockEdit"]); var BlockEditorKeyboardShortcuts = deprecateComponent('BlockEditorKeyboardShortcuts', external_this_wp_blockEditor_["BlockEditorKeyboardShortcuts"]); var BlockFormatControls = deprecateComponent('BlockFormatControls', external_this_wp_blockEditor_["BlockFormatControls"], ['Slot']); var BlockIcon = deprecateComponent('BlockIcon', external_this_wp_blockEditor_["BlockIcon"]); @@ -13332,6 +13020,8 @@ var withFontSizes = deprecateFunction('withFontSizes', external_this_wp_blockEdi + + @@ -13378,6 +13068,7 @@ Object(external_this_wp_hooks_["addFilter"])('editor.Autocomplete.completers', ' */ + // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/index.js /* concated harmony reexport AutosaveMonitor */__webpack_require__.d(__webpack_exports__, "AutosaveMonitor", function() { return autosave_monitor; }); /* concated harmony reexport DocumentOutline */__webpack_require__.d(__webpack_exports__, "DocumentOutline", function() { return document_outline; }); @@ -13417,6 +13108,8 @@ Object(external_this_wp_hooks_["addFilter"])('editor.Autocomplete.completers', ' /* concated harmony reexport PostSchedule */__webpack_require__.d(__webpack_exports__, "PostSchedule", function() { return post_schedule; }); /* concated harmony reexport PostScheduleCheck */__webpack_require__.d(__webpack_exports__, "PostScheduleCheck", function() { return post_schedule_check; }); /* concated harmony reexport PostScheduleLabel */__webpack_require__.d(__webpack_exports__, "PostScheduleLabel", function() { return post_schedule_label; }); +/* concated harmony reexport PostSlug */__webpack_require__.d(__webpack_exports__, "PostSlug", function() { return post_slug; }); +/* concated harmony reexport PostSlugCheck */__webpack_require__.d(__webpack_exports__, "PostSlugCheck", function() { return PostSlugCheck; }); /* concated harmony reexport PostSticky */__webpack_require__.d(__webpack_exports__, "PostSticky", function() { return post_sticky; }); /* concated harmony reexport PostStickyCheck */__webpack_require__.d(__webpack_exports__, "PostStickyCheck", function() { return post_sticky_check; }); /* concated harmony reexport PostSwitchToDraftButton */__webpack_require__.d(__webpack_exports__, "PostSwitchToDraftButton", function() { return post_switch_to_draft_button; }); @@ -13442,7 +13135,7 @@ Object(external_this_wp_hooks_["addFilter"])('editor.Autocomplete.completers', ' /* concated harmony reexport AlignmentToolbar */__webpack_require__.d(__webpack_exports__, "AlignmentToolbar", function() { return AlignmentToolbar; }); /* concated harmony reexport BlockAlignmentToolbar */__webpack_require__.d(__webpack_exports__, "BlockAlignmentToolbar", function() { return BlockAlignmentToolbar; }); /* concated harmony reexport BlockControls */__webpack_require__.d(__webpack_exports__, "BlockControls", function() { return BlockControls; }); -/* concated harmony reexport BlockEdit */__webpack_require__.d(__webpack_exports__, "BlockEdit", function() { return BlockEdit; }); +/* concated harmony reexport BlockEdit */__webpack_require__.d(__webpack_exports__, "BlockEdit", function() { return deprecated_BlockEdit; }); /* concated harmony reexport BlockEditorKeyboardShortcuts */__webpack_require__.d(__webpack_exports__, "BlockEditorKeyboardShortcuts", function() { return BlockEditorKeyboardShortcuts; }); /* concated harmony reexport BlockFormatControls */__webpack_require__.d(__webpack_exports__, "BlockFormatControls", function() { return BlockFormatControls; }); /* concated harmony reexport BlockIcon */__webpack_require__.d(__webpack_exports__, "BlockIcon", function() { return BlockIcon; }); @@ -13523,7 +13216,14 @@ Object(external_this_wp_hooks_["addFilter"])('editor.Autocomplete.completers', ' /***/ }), -/***/ 36: +/***/ 37: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["apiFetch"]; }()); + +/***/ }), + +/***/ 38: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -13805,32 +13505,10 @@ function isShallowEqual( a, b, fromIndex ) { /***/ }), -/***/ 37: +/***/ 39: /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["deprecated"]; }()); - -/***/ }), - -/***/ 38: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); -function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; -} - -/***/ }), - -/***/ 39: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); -function _nonIterableRest() { - throw new TypeError("Invalid attempt to destructure non-iterable instance"); -} +(function() { module.exports = this["wp"]["dataControls"]; }()); /***/ }), @@ -13841,64 +13519,29 @@ function _nonIterableRest() { /***/ }), -/***/ 41: -/***/ (function(module, exports) { +/***/ 40: +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["wp"]["isShallowEqual"]; }()); +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} /***/ }), /***/ 42: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["viewport"]; }()); - -/***/ }), - -/***/ 43: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _asyncToGenerator; }); -function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { - try { - var info = gen[key](arg); - var value = info.value; - } catch (error) { - reject(error); - return; - } - - if (info.done) { - resolve(value); - } else { - Promise.resolve(value).then(_next, _throw); - } -} - -function _asyncToGenerator(fn) { - return function () { - var self = this, - args = arguments; - return new Promise(function (resolve, reject) { - var gen = fn.apply(self, args); - - function _next(value) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); - } - - function _throw(err) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); - } - - _next(undefined); - }); - }; -} - -/***/ }), - -/***/ 44: /***/ (function(module, exports, __webpack_require__) { module.exports = function memize( fn, options ) { @@ -14014,9 +13657,87 @@ module.exports = function memize( fn, options ) { }; +/***/ }), + +/***/ 43: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _asyncToGenerator; }); +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { + try { + var info = gen[key](arg); + var value = info.value; + } catch (error) { + reject(error); + return; + } + + if (info.done) { + resolve(value); + } else { + Promise.resolve(value).then(_next, _throw); + } +} + +function _asyncToGenerator(fn) { + return function () { + var self = this, + args = arguments; + return new Promise(function (resolve, reject) { + var gen = fn.apply(self, args); + + function _next(value) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); + } + + function _throw(err) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); + } + + _next(undefined); + }); + }; +} + /***/ }), /***/ 5: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["blockEditor"]; }()); + +/***/ }), + +/***/ 50: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["viewport"]; }()); + +/***/ }), + +/***/ 53: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["htmlEntities"]; }()); + +/***/ }), + +/***/ 54: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["date"]; }()); + +/***/ }), + +/***/ 58: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["serverSideRender"]; }()); + +/***/ }), + +/***/ 6: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -14031,51 +13752,23 @@ function _assertThisInitialized(self) { /***/ }), -/***/ 51: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["htmlEntities"]; }()); - -/***/ }), - -/***/ 52: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["date"]; }()); - -/***/ }), - -/***/ 57: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["serverSideRender"]; }()); - -/***/ }), - -/***/ 6: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["blockEditor"]; }()); - -/***/ }), - /***/ 60: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["nux"]; }()); - -/***/ }), - -/***/ 61: /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; -var TextareaAutosize_1 = __webpack_require__(114); +var TextareaAutosize_1 = __webpack_require__(113); exports["default"] = TextareaAutosize_1["default"]; +/***/ }), + +/***/ 62: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["coreData"]; }()); + /***/ }), /***/ 68: @@ -14090,12 +13783,12 @@ exports["default"] = TextareaAutosize_1["default"]; "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(source); + var ownKeys = Object.keys(Object(source)); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -14113,7 +13806,7 @@ function _objectSpread(target) { /***/ }), -/***/ 71: +/***/ 70: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14176,15 +13869,15 @@ module.exports = refx; /***/ }), -/***/ 82: +/***/ 85: /***/ (function(module, exports, __webpack_require__) { -module.exports = __webpack_require__(325); +module.exports = __webpack_require__(345); /***/ }), -/***/ 86: +/***/ 88: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14197,7 +13890,7 @@ module.exports = __webpack_require__(325); -var ReactPropTypesSecret = __webpack_require__(87); +var ReactPropTypesSecret = __webpack_require__(89); function emptyFunction() {} function emptyFunctionWithReset() {} @@ -14256,7 +13949,7 @@ module.exports = function() { /***/ }), -/***/ 87: +/***/ 89: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14274,19 +13967,27 @@ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; module.exports = ReactPropTypesSecret; -/***/ }), - -/***/ 88: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["coreData"]; }()); - /***/ }), /***/ 9: -/***/ (function(module, exports) { +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["wp"]["blocks"]; }()); +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} /***/ }), diff --git a/wp-includes/js/dist/editor.min.js b/wp-includes/js/dist/editor.min.js index 377a5ea407..3946246444 100644 --- a/wp-includes/js/dist/editor.min.js +++ b/wp-includes/js/dist/editor.min.js @@ -1,12 +1,12 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.editor=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=344)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},11:function(e,t,n){"use strict";function r(e,t){for(var n=0;n-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),i=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){i=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function c(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t,n=null,r=null,c=null,a=function(){e.clientWidth!==r&&d()},s=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",s,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",s,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:s,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 u(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function l(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}}function d(){l();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},22:function(e,t){!function(){e.exports=this.wp.richText}()},23:function(e,t,n){"use strict";var r=n(38);var o=n(39);function i(e,t){return Object(r.a)(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(e,t)||Object(o.a)()}n.d(t,"a",(function(){return i}))},231:function(e,t){!function(){e.exports=this.wp.blockDirectory}()},26:function(e,t){!function(){e.exports=this.wp.url}()},27:function(e,t){!function(){e.exports=this.wp.hooks}()},28:function(e,t){!function(){e.exports=this.React}()},3:function(e,t){!function(){e.exports=this.wp.components}()},30:function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},31:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}n.d(t,"a",(function(){return o}))},32:function(e,t){!function(){e.exports=this.wp.dataControls}()},325:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["optimist"])}}return{optimist:a,innerState:e}}e.exports=function(e){function t(t,n,o){return t.length&&(t=t.concat([{action:o}])),u(n=e(n,o),o),r({optimist:t},n)}return function(n,a){if(a.optimist)switch(a.optimist.type){case o:return function(t,n){var o=l(t),i=o.optimist,c=o.innerState;return i=i.concat([{beforeState:c,action:n}]),u(c=e(c,n),n),r({optimist:i},c)}(n,a);case i:return function(e,n){var r=l(e),o=r.optimist,i=r.innerState,c=[],a=!1,u=!1;return o.forEach((function(e){a?e.beforeState&&s(e.action,n.optimist.id)?(u=!0,c.push({action:e.action})):c.push(e):e.beforeState&&!s(e.action,n.optimist.id)?(a=!0,c.push(e)):e.beforeState&&s(e.action,n.optimist.id)&&(u=!0)})),u||console.error('Cannot commit transaction with id "'+n.optimist.id+'" because it does not exist'),t(o=c,i,n)}(n,a);case c:return function(n,r){var o=l(n),i=o.optimist,c=o.innerState,a=[],d=!1,p=!1,b=c;return i.forEach((function(t){t.beforeState&&s(t.action,r.optimist.id)&&(b=t.beforeState,p=!0),s(t.action,r.optimist.id)||(t.beforeState&&(d=!0),d&&(p&&t.beforeState?a.push({beforeState:b,action:t.action}):a.push(t)),p&&(b=e(b,t.action),u(c,r)))})),p||console.error('Cannot revert transaction with id "'+r.optimist.id+'" because it does not exist'),t(i=a,b,r)}(n,a)}var d=l(n),p=d.optimist,b=d.innerState;if(n&&!p.length){var f=e(b,a);return f===b?n:(u(f,a),r({optimist:p},f))}return t(p,b,a)}},e.exports.BEGIN=o,e.exports.COMMIT=i,e.exports.REVERT=c},33:function(e,t,n){e.exports=n(86)()},34:function(e,t){!function(){e.exports=this.wp.apiFetch}()},344:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"getDependencies",(function(){return oe})),n.d(r,"apply",(function(){return ie})),n.d(r,"update",(function(){return ce}));var o={};n.r(o),n.d(o,"meta",(function(){return r}));var i={};n.r(i),n.d(i,"setupEditor",(function(){return Ee})),n.d(i,"__experimentalTearDownEditor",(function(){return Se})),n.d(i,"__experimentalSubscribeSources",(function(){return we})),n.d(i,"resetPost",(function(){return Pe})),n.d(i,"resetAutosave",(function(){return Ce})),n.d(i,"__experimentalRequestPostUpdateStart",(function(){return Te})),n.d(i,"__experimentalRequestPostUpdateFinish",(function(){return xe})),n.d(i,"updatePost",(function(){return Be})),n.d(i,"setupEditorState",(function(){return Ie})),n.d(i,"editPost",(function(){return Ae})),n.d(i,"__experimentalOptimisticUpdatePost",(function(){return Re})),n.d(i,"savePost",(function(){return Le})),n.d(i,"refreshPost",(function(){return Ne})),n.d(i,"trashPost",(function(){return De})),n.d(i,"autosave",(function(){return Ue})),n.d(i,"__experimentalLocalAutosave",(function(){return Fe})),n.d(i,"redo",(function(){return Me})),n.d(i,"undo",(function(){return Ve})),n.d(i,"createUndoLevel",(function(){return He})),n.d(i,"updatePostLock",(function(){return ze})),n.d(i,"__experimentalFetchReusableBlocks",(function(){return We})),n.d(i,"__experimentalReceiveReusableBlocks",(function(){return Ke})),n.d(i,"__experimentalSaveReusableBlock",(function(){return Ge})),n.d(i,"__experimentalDeleteReusableBlock",(function(){return qe})),n.d(i,"__experimentalUpdateReusableBlock",(function(){return Ye})),n.d(i,"__experimentalConvertBlockToStatic",(function(){return Qe})),n.d(i,"__experimentalConvertBlockToReusable",(function(){return Xe})),n.d(i,"enablePublishSidebar",(function(){return Ze})),n.d(i,"disablePublishSidebar",(function(){return Je})),n.d(i,"lockPostSaving",(function(){return $e})),n.d(i,"unlockPostSaving",(function(){return et})),n.d(i,"resetEditorBlocks",(function(){return tt})),n.d(i,"updateEditorSettings",(function(){return nt})),n.d(i,"resetBlocks",(function(){return ot})),n.d(i,"receiveBlocks",(function(){return it})),n.d(i,"updateBlock",(function(){return ct})),n.d(i,"updateBlockAttributes",(function(){return at})),n.d(i,"selectBlock",(function(){return st})),n.d(i,"startMultiSelect",(function(){return ut})),n.d(i,"stopMultiSelect",(function(){return lt})),n.d(i,"multiSelect",(function(){return dt})),n.d(i,"clearSelectedBlock",(function(){return pt})),n.d(i,"toggleSelection",(function(){return bt})),n.d(i,"replaceBlocks",(function(){return ft})),n.d(i,"replaceBlock",(function(){return ht})),n.d(i,"moveBlocksDown",(function(){return mt})),n.d(i,"moveBlocksUp",(function(){return vt})),n.d(i,"moveBlockToPosition",(function(){return Ot})),n.d(i,"insertBlock",(function(){return gt})),n.d(i,"insertBlocks",(function(){return jt})),n.d(i,"showInsertionPoint",(function(){return yt})),n.d(i,"hideInsertionPoint",(function(){return _t})),n.d(i,"setTemplateValidity",(function(){return kt})),n.d(i,"synchronizeTemplate",(function(){return Et})),n.d(i,"mergeBlocks",(function(){return St})),n.d(i,"removeBlocks",(function(){return wt})),n.d(i,"removeBlock",(function(){return Pt})),n.d(i,"toggleBlockMode",(function(){return Ct})),n.d(i,"startTyping",(function(){return Tt})),n.d(i,"stopTyping",(function(){return xt})),n.d(i,"enterFormattedText",(function(){return Bt})),n.d(i,"exitFormattedText",(function(){return It})),n.d(i,"insertDefaultBlock",(function(){return At})),n.d(i,"updateBlockListSettings",(function(){return Rt}));var c={};n.r(c),n.d(c,"hasEditorUndo",(function(){return Mt})),n.d(c,"hasEditorRedo",(function(){return Vt})),n.d(c,"isEditedPostNew",(function(){return Ht})),n.d(c,"hasChangedContent",(function(){return zt})),n.d(c,"isEditedPostDirty",(function(){return Wt})),n.d(c,"isCleanNewPost",(function(){return Kt})),n.d(c,"getCurrentPost",(function(){return Gt})),n.d(c,"getCurrentPostType",(function(){return qt})),n.d(c,"getCurrentPostId",(function(){return Yt})),n.d(c,"getCurrentPostRevisionsCount",(function(){return Qt})),n.d(c,"getCurrentPostLastRevisionId",(function(){return Xt})),n.d(c,"getPostEdits",(function(){return Zt})),n.d(c,"getCurrentPostAttribute",(function(){return Jt})),n.d(c,"getEditedPostAttribute",(function(){return en})),n.d(c,"getAutosaveAttribute",(function(){return tn})),n.d(c,"getEditedPostVisibility",(function(){return nn})),n.d(c,"isCurrentPostPending",(function(){return rn})),n.d(c,"isCurrentPostPublished",(function(){return on})),n.d(c,"isCurrentPostScheduled",(function(){return cn})),n.d(c,"isEditedPostPublishable",(function(){return an})),n.d(c,"isEditedPostSaveable",(function(){return sn})),n.d(c,"isEditedPostEmpty",(function(){return un})),n.d(c,"isEditedPostAutosaveable",(function(){return ln})),n.d(c,"getAutosave",(function(){return dn})),n.d(c,"hasAutosave",(function(){return pn})),n.d(c,"isEditedPostBeingScheduled",(function(){return bn})),n.d(c,"isEditedPostDateFloating",(function(){return fn})),n.d(c,"isSavingPost",(function(){return hn})),n.d(c,"didPostSaveRequestSucceed",(function(){return mn})),n.d(c,"didPostSaveRequestFail",(function(){return vn})),n.d(c,"isAutosavingPost",(function(){return On})),n.d(c,"isPreviewingPost",(function(){return gn})),n.d(c,"getEditedPostPreviewLink",(function(){return jn})),n.d(c,"getSuggestedPostFormat",(function(){return yn})),n.d(c,"getBlocksForSerialization",(function(){return _n})),n.d(c,"getEditedPostContent",(function(){return kn})),n.d(c,"__experimentalGetReusableBlock",(function(){return En})),n.d(c,"__experimentalIsSavingReusableBlock",(function(){return Sn})),n.d(c,"__experimentalIsFetchingReusableBlock",(function(){return wn})),n.d(c,"__experimentalGetReusableBlocks",(function(){return Pn})),n.d(c,"getStateBeforeOptimisticTransaction",(function(){return Cn})),n.d(c,"isPublishingPost",(function(){return Tn})),n.d(c,"isPermalinkEditable",(function(){return xn})),n.d(c,"getPermalink",(function(){return Bn})),n.d(c,"getPermalinkParts",(function(){return In})),n.d(c,"inSomeHistory",(function(){return An})),n.d(c,"isPostLocked",(function(){return Rn})),n.d(c,"isPostSavingLocked",(function(){return Ln})),n.d(c,"isPostAutosavingLocked",(function(){return Nn})),n.d(c,"isPostLockTakeover",(function(){return Dn})),n.d(c,"getPostLockUser",(function(){return Un})),n.d(c,"getActivePostLock",(function(){return Fn})),n.d(c,"canUserUseUnfilteredHTML",(function(){return Mn})),n.d(c,"isPublishSidebarEnabled",(function(){return Vn})),n.d(c,"getEditorBlocks",(function(){return Hn})),n.d(c,"__unstableIsEditorReady",(function(){return zn})),n.d(c,"getEditorSettings",(function(){return Wn})),n.d(c,"getBlockName",(function(){return Gn})),n.d(c,"isBlockValid",(function(){return qn})),n.d(c,"getBlockAttributes",(function(){return Yn})),n.d(c,"getBlock",(function(){return Qn})),n.d(c,"getBlocks",(function(){return Xn})),n.d(c,"__unstableGetBlockWithoutInnerBlocks",(function(){return Zn})),n.d(c,"getClientIdsOfDescendants",(function(){return Jn})),n.d(c,"getClientIdsWithDescendants",(function(){return $n})),n.d(c,"getGlobalBlockCount",(function(){return er})),n.d(c,"getBlocksByClientId",(function(){return tr})),n.d(c,"getBlockCount",(function(){return nr})),n.d(c,"getBlockSelectionStart",(function(){return rr})),n.d(c,"getBlockSelectionEnd",(function(){return or})),n.d(c,"getSelectedBlockCount",(function(){return ir})),n.d(c,"hasSelectedBlock",(function(){return cr})),n.d(c,"getSelectedBlockClientId",(function(){return ar})),n.d(c,"getSelectedBlock",(function(){return sr})),n.d(c,"getBlockRootClientId",(function(){return ur})),n.d(c,"getBlockHierarchyRootClientId",(function(){return lr})),n.d(c,"getAdjacentBlockClientId",(function(){return dr})),n.d(c,"getPreviousBlockClientId",(function(){return pr})),n.d(c,"getNextBlockClientId",(function(){return br})),n.d(c,"getSelectedBlocksInitialCaretPosition",(function(){return fr})),n.d(c,"getMultiSelectedBlockClientIds",(function(){return hr})),n.d(c,"getMultiSelectedBlocks",(function(){return mr})),n.d(c,"getFirstMultiSelectedBlockClientId",(function(){return vr})),n.d(c,"getLastMultiSelectedBlockClientId",(function(){return Or})),n.d(c,"isFirstMultiSelectedBlock",(function(){return gr})),n.d(c,"isBlockMultiSelected",(function(){return jr})),n.d(c,"isAncestorMultiSelected",(function(){return yr})),n.d(c,"getMultiSelectedBlocksStartClientId",(function(){return _r})),n.d(c,"getMultiSelectedBlocksEndClientId",(function(){return kr})),n.d(c,"getBlockOrder",(function(){return Er})),n.d(c,"getBlockIndex",(function(){return Sr})),n.d(c,"isBlockSelected",(function(){return wr})),n.d(c,"hasSelectedInnerBlock",(function(){return Pr})),n.d(c,"isBlockWithinSelection",(function(){return Cr})),n.d(c,"hasMultiSelection",(function(){return Tr})),n.d(c,"isMultiSelecting",(function(){return xr})),n.d(c,"isSelectionEnabled",(function(){return Br})),n.d(c,"getBlockMode",(function(){return Ir})),n.d(c,"isTyping",(function(){return Ar})),n.d(c,"isCaretWithinFormattedText",(function(){return Rr})),n.d(c,"getBlockInsertionPoint",(function(){return Lr})),n.d(c,"isBlockInsertionPointVisible",(function(){return Nr})),n.d(c,"isValidTemplate",(function(){return Dr})),n.d(c,"getTemplate",(function(){return Ur})),n.d(c,"getTemplateLock",(function(){return Fr})),n.d(c,"canInsertBlockType",(function(){return Mr})),n.d(c,"getInserterItems",(function(){return Vr})),n.d(c,"hasInserterItems",(function(){return Hr})),n.d(c,"getBlockListSettings",(function(){return zr}));var a=n(6),s=n(9),u=(n(88),n(141),n(60)),l=n(22),d=n(42),p=n(7),b=n(4),f=n(32),h=n(10),m=n(31),v=n(82),O=n.n(v),g=n(2),j={insertUsage:{},isPublishSidebarEnabled:!0},y=Object(p.a)({},a.SETTINGS_DEFAULTS,{richEditingEnabled:!0,codeEditingEnabled:!0,enableCustomFields:!1});function _(e){return e&&"object"===Object(m.a)(e)&&"raw"in e?e.raw:e}var k=Object(b.combineReducers)({data:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_REUSABLE_BLOCKS":return Object(p.a)({},e,Object(g.keyBy)(t.results,"id"));case"UPDATE_REUSABLE_BLOCK":var n=t.id,r=t.changes;return Object(p.a)({},e,Object(h.a)({},n,Object(p.a)({},e[n],r)));case"SAVE_REUSABLE_BLOCK_SUCCESS":var o=t.id,i=t.updatedId;if(o===i)return e;var c=e[o];return Object(p.a)({},Object(g.omit)(e,o),Object(h.a)({},i,Object(p.a)({},c,{id:i})));case"REMOVE_REUSABLE_BLOCK":var a=t.id;return Object(g.omit)(e,a)}return e},isFetching:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_REUSABLE_BLOCKS":var n=t.id;return n?Object(p.a)({},e,Object(h.a)({},n,!0)):e;case"FETCH_REUSABLE_BLOCKS_SUCCESS":case"FETCH_REUSABLE_BLOCKS_FAILURE":var r=t.id;return Object(g.omit)(e,r)}return e},isSaving:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SAVE_REUSABLE_BLOCK":return Object(p.a)({},e,Object(h.a)({},t.id,!0));case"SAVE_REUSABLE_BLOCK_SUCCESS":case"SAVE_REUSABLE_BLOCK_FAILURE":var n=t.id;return Object(g.omit)(e,n)}return e}});var E=O()(Object(b.combineReducers)({postId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SETUP_EDITOR_STATE":case"RESET_POST":case"UPDATE_POST":return t.post.id}return e},postType:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SETUP_EDITOR_STATE":case"RESET_POST":case"UPDATE_POST":return t.post.type}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:j;switch((arguments.length>1?arguments[1]:void 0).type){case"ENABLE_PUBLISH_SIDEBAR":return Object(p.a)({},e,{isPublishSidebarEnabled:!0});case"DISABLE_PUBLISH_SIDEBAR":return Object(p.a)({},e,{isPublishSidebarEnabled:!1})}return e},saving:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REQUEST_POST_UPDATE_START":case"REQUEST_POST_UPDATE_FINISH":return{pending:"REQUEST_POST_UPDATE_START"===t.type,options:t.options||{}}}return e},postLock:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isLocked:!1},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_POST_LOCK":return t.lock}return e},reusableBlocks:k,template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return Object(p.a)({},e,{isValid:t.isValid})}return e},postSavingLock:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"LOCK_POST_SAVING":return Object(p.a)({},e,Object(h.a)({},t.lockName,!0));case"UNLOCK_POST_SAVING":return Object(g.omit)(e,t.lockName)}return e},isReady:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"SETUP_EDITOR_STATE":return!0;case"TEAR_DOWN_EDITOR":return!1}return e},editorSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_EDITOR_SETTINGS":return Object(p.a)({},e,t.settings)}return e},postAutosavingLock:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"LOCK_POST_AUTOSAVING":return Object(p.a)({},e,Object(h.a)({},t.lockName,!0));case"UNLOCK_POST_AUTOSAVING":return Object(g.omit)(e,t.lockName)}return e}})),S=n(71),w=n.n(S),P=n(20),C=n.n(P),T=n(43),x=n(34),B=n.n(x),I=n(1),A=n(23),R=n(17),L=n(37),N=n.n(L),D=n(41),U=n.n(D),F=new Set(["meta"]),M="core/editor",V="post-update",H="SAVE_POST_NOTICE_ID",z="TRASH_POST_NOTICE_ID",W=/%(?:postname|pagename)%/,K=6e4,G=["title","excerpt","content"];function q(e){var t=e.previousPost,n=e.post,r=e.postType;if(Object(g.get)(e.options,["isAutosave"]))return[];var o,i=["publish","private","future"],c=Object(g.includes)(i,t.status),a=Object(g.includes)(i,n.status),s=Object(g.get)(r,["viewable"],!1);if(c||a?c&&!a?(o=r.labels.item_reverted_to_draft,s=!1):o=!c&&a?{publish:r.labels.item_published,private:r.labels.item_published_privately,future:r.labels.item_scheduled}[n.status]:r.labels.item_updated:o=null,o){var u=[];return s&&u.push({label:r.labels.view_item,url:n.link}),[o,{id:H,type:"snackbar",actions:u}]}return[]}function Y(e){var t=e.post,n=e.edits,r=e.error;if(r&&"rest_autosave_no_changes"===r.code)return[];var o=["publish","private","future"],i=-1!==o.indexOf(t.status),c={publish:Object(I.__)("Publishing failed."),private:Object(I.__)("Publishing failed."),future:Object(I.__)("Scheduling failed.")},a=i||-1===o.indexOf(n.status)?Object(I.__)("Updating failed."):c[n.status];return r.message&&!/<\/?[^>]*>/.test(r.message)&&(a=Object(I.sprintf)(Object(I.__)("%1$s Error message: %2$s"),a,r.message)),[a,{id:H}]}var Q=n(44),X=n.n(Q),Z=n(68),J=X()((function(e){1===e.length&&Object(s.isUnmodifiedDefaultBlock)(e[0])&&(e=[]);var t=Object(s.serialize)(e);return 1===e.length&&e[0].name===Object(s.getFreeformContentHandlerName)()&&(t=Object(Z.removep)(t)),t}),{maxSize:1});function $(e){return"wp-autosave-block-editor-post-".concat(e)}function ee(e){window.sessionStorage.removeItem($(e))}var te={AWAIT_NEXT_STATE_CHANGE:Object(b.createRegistryControl)((function(e){return function(){return new Promise((function(t){var n=e.subscribe((function(){n(),t()}))}))}})),GET_REGISTRY:Object(b.createRegistryControl)((function(e){return function(){return e}})),LOCAL_AUTOSAVE_SET:function(e){!function(e,t,n,r){window.sessionStorage.setItem($(e),JSON.stringify({post_title:t,content:n,excerpt:r}))}(e.postId,e.title,e.content,e.excerpt)}},ne=C.a.mark(oe),re=C.a.mark(ce);function oe(){return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(f.select)("core/editor","getEditedPostAttribute","meta");case 2:return e.t0=e.sent,e.abrupt("return",{meta:e.t0});case 4:case"end":return e.stop()}}),ne)}function ie(e,t){return t.meta[e.meta]}function ce(e,t){return C.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Ae({meta:Object(h.a)({},e.meta,t)});case 2:case"end":return n.stop()}}),re)}var ae=C.a.mark(_e),se=C.a.mark(ke),ue=C.a.mark(Ee),le=C.a.mark(we),de=C.a.mark(Ce),pe=C.a.mark(Ae),be=C.a.mark(Le),fe=C.a.mark(Ne),he=C.a.mark(De),me=C.a.mark(Ue),ve=C.a.mark(Fe),Oe=C.a.mark(Me),ge=C.a.mark(Ve),je=C.a.mark(tt),ye=new WeakMap;function _e(e){var t,n,r,i,c,a,s,u,l,d,b,m,v,O;return C.a.wrap((function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,{type:"GET_REGISTRY"};case 2:if(t=g.sent,ye.has(t)){g.next=5;break}return g.abrupt("return",e);case 5:n=ye.get(t),r=e,i=0;case 8:if(!(i0&&void 0!==d[0]?d[0]:Object.values(o)).length){p.next=3;break}return p.abrupt("return");case 3:return p.next=5,{type:"GET_REGISTRY"};case 5:t=p.sent,ye.has(t)||ye.set(t,new WeakMap),n=ye.get(t),r=!0,i=!1,c=void 0,p.prev=11,a=e[Symbol.iterator]();case 13:if(r=(s=a.next()).done){p.next=21;break}return u=s.value,p.delegateYield(u.getDependencies(),"t0",16);case 16:l=p.t0,n.set(u,l);case 18:r=!0,p.next=13;break;case 21:p.next=27;break;case 23:p.prev=23,p.t1=p.catch(11),i=!0,c=p.t1;case 27:p.prev=27,p.prev=28,r||null==a.return||a.return();case 30:if(p.prev=30,!i){p.next=33;break}throw c;case 33:return p.finish(30);case 34:return p.finish(27);case 35:case"end":return p.stop()}}),se,null,[[11,23,27,35],[28,,30,34]])}function Ee(e,t,n){var r,o;return C.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return r=Object(g.has)(t,["content"])?t.content:e.content.raw,o=Object(s.parse)(r),"auto-draft"===e.status&&n&&(o=Object(s.synchronizeBlocksWithTemplate)(o,n)),i.next=6,Pe(e);case 6:return i.delegateYield(ke(),"t0",7);case 7:return i.next=9,{type:"SETUP_EDITOR",post:e,edits:t,template:n};case 9:return i.next=11,tt(o,{__unstableShouldCreateUndoLevel:!1});case 11:return i.next=13,Ie(e);case 13:if(!t||!Object.keys(t).some((function(n){return t[n]!==(Object(g.has)(e,[n,"raw"])?e[n].raw:e[n])}))){i.next=16;break}return i.next=16,Ae(t);case 16:return i.delegateYield(we(),"t1",17);case 17:case"end":return i.stop()}}),ue)}function Se(){return{type:"TEAR_DOWN_EDITOR"}}function we(){var e,t,n,r,i,c,a,s;return C.a.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=3,{type:"AWAIT_NEXT_STATE_CHANGE"};case 3:return u.next=5,Object(f.select)(M,"__unstableIsEditorReady");case 5:if(u.sent){u.next=8;break}return u.abrupt("break",36);case 8:return u.next=10,{type:"GET_REGISTRY"};case 10:e=u.sent,t=!1,n=0,r=Object.values(o);case 13:if(!(n0&&void 0!==arguments[0]?arguments[0]:{}}}function xe(){return{type:"REQUEST_POST_UPDATE_FINISH",options:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}}function Be(e){return{type:"UPDATE_POST",edits:e}}function Ie(e){return{type:"SETUP_EDITOR_STATE",post:e}}function Ae(e,t){var n,r,o;return C.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,Object(f.select)(M,"getCurrentPost");case 2:return n=i.sent,r=n.id,o=n.type,i.next=7,Object(f.dispatch)("core","editEntityRecord","postType",o,r,e,t);case 7:case"end":return i.stop()}}),pe)}function Re(e){return Object(p.a)({},Be(e),{optimist:{id:V}})}function Le(){var e,t,n,r,o,i,c,a=arguments;return C.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},s.next=3,Object(f.select)(M,"isEditedPostSaveable");case 3:if(s.sent){s.next=5;break}return s.abrupt("return");case 5:return s.next=7,Object(f.select)(M,"getEditedPostContent");case 7:if(s.t0=s.sent,t={content:s.t0},e.isAutosave){s.next=12;break}return s.next=12,Object(f.dispatch)(M,"editPost",t,{undoIgnore:!0});case 12:return s.next=14,Te(e);case 14:return s.next=16,Object(f.select)(M,"getCurrentPost");case 16:return n=s.sent,s.t1=p.a,s.t2={id:n.id},s.next=21,Object(f.select)("core","getEntityRecordNonTransientEdits","postType",n.type,n.id);case 21:return s.t3=s.sent,s.t4=t,t=(0,s.t1)(s.t2,s.t3,s.t4),s.next=26,Object(f.dispatch)("core","saveEntityRecord","postType",n.type,t,e);case 26:return s.next=28,xe(e);case 28:return s.next=30,Object(f.select)("core","getLastEntitySaveError","postType",n.type,n.id);case 30:if(!(r=s.sent)){s.next=38;break}if(!(o=Y({post:n,edits:t,error:r})).length){s.next=36;break}return s.next=36,f.dispatch.apply(void 0,["core/notices","createErrorNotice"].concat(Object(R.a)(o)));case 36:s.next=56;break;case 38:return s.next=40,Object(f.select)(M,"getCurrentPost");case 40:return i=s.sent,s.t5=q,s.t6=n,s.t7=i,s.next=46,Object(f.select)("core","getPostType",i.type);case 46:if(s.t8=s.sent,s.t9=e,s.t10={previousPost:s.t6,post:s.t7,postType:s.t8,options:s.t9},!(c=(0,s.t5)(s.t10)).length){s.next=53;break}return s.next=53,f.dispatch.apply(void 0,["core/notices","createSuccessNotice"].concat(Object(R.a)(c)));case 53:if(e.isAutosave){s.next=56;break}return s.next=56,Object(f.dispatch)("core/block-editor","__unstableMarkLastChangeAsPersistent");case 56:case"end":return s.stop()}}),be)}function Ne(){var e,t,n,r;return C.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Object(f.select)(M,"getCurrentPost");case 2:return e=o.sent,o.next=5,Object(f.select)(M,"getCurrentPostType");case 5:return t=o.sent,o.next=8,Object(f.select)("core","getPostType",t);case 8:return n=o.sent,o.next=11,Object(f.apiFetch)({path:"/wp/v2/".concat(n.rest_base,"/").concat(e.id)+"?context=edit&_timestamp=".concat(Date.now())});case 11:return r=o.sent,o.next=14,Object(f.dispatch)(M,"resetPost",r);case 14:case"end":return o.stop()}}),fe)}function De(){var e,t,n;return C.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Object(f.select)(M,"getCurrentPostType");case 2:return e=r.sent,r.next=5,Object(f.select)("core","getPostType",e);case 5:return t=r.sent,r.next=8,Object(f.dispatch)("core/notices","removeNotice",z);case 8:return r.prev=8,r.next=11,Object(f.select)(M,"getCurrentPost");case 11:return n=r.sent,r.next=14,Object(f.apiFetch)({path:"/wp/v2/".concat(t.rest_base,"/").concat(n.id),method:"DELETE"});case 14:return r.next=16,Object(f.dispatch)(M,"savePost");case 16:r.next=22;break;case 18:return r.prev=18,r.t0=r.catch(8),r.next=22,f.dispatch.apply(void 0,["core/notices","createErrorNotice"].concat(Object(R.a)([(o={error:r.t0}).error.message&&"unknown_error"!==o.error.code?o.error.message:Object(I.__)("Trashing failed"),{id:z}])));case 22:case"end":return r.stop()}var o}),he,null,[[8,18]])}function Ue(e){return C.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(f.dispatch)(M,"savePost",Object(p.a)({isAutosave:!0},e));case 2:case"end":return t.stop()}}),me)}function Fe(){var e,t,n,r;return C.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Object(f.select)(M,"getCurrentPost");case 2:return e=o.sent,o.next=5,Object(f.select)(M,"getEditedPostAttribute","title");case 5:return t=o.sent,o.next=8,Object(f.select)(M,"getEditedPostAttribute","content");case 8:return n=o.sent,o.next=11,Object(f.select)(M,"getEditedPostAttribute","excerpt");case 11:return r=o.sent,o.next=14,{type:"LOCAL_AUTOSAVE_SET",postId:e.id,title:t,content:n,excerpt:r};case 14:case"end":return o.stop()}}),ve)}function Me(){return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(f.dispatch)("core","redo");case 2:case"end":return e.stop()}}),Oe)}function Ve(){return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(f.dispatch)("core","undo");case 2:case"end":return e.stop()}}),ge)}function He(){return{type:"CREATE_UNDO_LEVEL"}}function ze(e){return{type:"UPDATE_POST_LOCK",lock:e}}function We(e){return{type:"FETCH_REUSABLE_BLOCKS",id:e}}function Ke(e){return{type:"RECEIVE_REUSABLE_BLOCKS",results:e}}function Ge(e){return{type:"SAVE_REUSABLE_BLOCK",id:e}}function qe(e){return{type:"DELETE_REUSABLE_BLOCK",id:e}}function Ye(e,t){return{type:"UPDATE_REUSABLE_BLOCK",id:e,changes:t}}function Qe(e){return{type:"CONVERT_BLOCK_TO_STATIC",clientId:e}}function Xe(e){return{type:"CONVERT_BLOCK_TO_REUSABLE",clientIds:Object(g.castArray)(e)}}function Ze(){return{type:"ENABLE_PUBLISH_SIDEBAR"}}function Je(){return{type:"DISABLE_PUBLISH_SIDEBAR"}}function $e(e){return{type:"LOCK_POST_SAVING",lockName:e}}function et(e){return{type:"UNLOCK_POST_SAVING",lockName:e}}function tt(e){var t,n,r,i,c,a,s,u,l,d,p,b,h,m,v,O,g,j,y,_,k,E,S=arguments;return C.a.wrap((function(w){for(;;)switch(w.prev=w.next){case 0:return t=S.length>1&&void 0!==S[1]?S[1]:{},w.next=3,Object(f.select)("core/block-editor","__experimentalGetLastBlockAttributeChanges");case 3:if(!(n=w.sent)){w.next=36;break}r=new Set,i=new Set,c=0,a=Object.entries(n);case 8:if(!(c1)return!1;var n=t[0].name;if(n!==Object(s.getDefaultBlockName)()&&n!==Object(s.getFreeformContentHandlerName)())return!1}return!kn(e)}var ln=Object(b.createRegistrySelector)((function(e){return function(t){if(!sn(t))return!1;if(Nn(t))return!1;var n=qt(t),r=Yt(t),o=e("core").hasFetchedAutosaves(n,r),i=Object(g.get)(e("core").getCurrentUser(),["id"]),c=e("core").getAutosave(n,r,i);return!!o&&(!c||(!!zt(t)||["title","excerpt"].some((function(e){return _(c[e])!==en(t,e)}))))}})),dn=Object(b.createRegistrySelector)((function(e){return function(t){N()("`wp.data.select( 'core/editor' ).getAutosave()`",{alternative:"`wp.data.select( 'core' ).getAutosave( postType, postId, userId )`",plugin:"Gutenberg"});var n=qt(t),r=Yt(t),o=Object(g.get)(e("core").getCurrentUser(),["id"]),i=e("core").getAutosave(n,r,o);return Object(g.mapValues)(Object(g.pick)(i,G),_)}})),pn=Object(b.createRegistrySelector)((function(e){return function(t){N()("`wp.data.select( 'core/editor' ).hasAutosave()`",{alternative:"`!! wp.data.select( 'core' ).getAutosave( postType, postId, userId )`",plugin:"Gutenberg"});var n=qt(t),r=Yt(t),o=Object(g.get)(e("core").getCurrentUser(),["id"]);return!!e("core").getAutosave(n,r,o)}}));function bn(e){var t=en(e,"date"),n=new Date(Number(Object(Nt.getDate)(t))-K);return Object(Nt.isInTheFuture)(n)}function fn(e){var t=en(e,"date"),n=en(e,"modified"),r=en(e,"status");return("draft"===r||"auto-draft"===r||"pending"===r)&&t===n}var hn=Object(b.createRegistrySelector)((function(e){return function(t){var n=qt(t),r=Yt(t);return e("core").isSavingEntityRecord("postType",n,r)}})),mn=Object(b.createRegistrySelector)((function(e){return function(t){var n=qt(t),r=Yt(t);return!e("core").getLastEntitySaveError("postType",n,r)}})),vn=Object(b.createRegistrySelector)((function(e){return function(t){var n=qt(t),r=Yt(t);return!!e("core").getLastEntitySaveError("postType",n,r)}}));function On(e){return!!hn(e)&&!!Object(g.get)(e.saving,["options","isAutosave"])}function gn(e){return!!hn(e)&&!!e.saving.options.isPreview}function jn(e){if(!e.saving.pending&&!hn(e)){var t=tn(e,"preview_link");t||(t=en(e,"link"))&&(t=Object(Dt.addQueryArgs)(t,{preview:!0}));var n=en(e,"featured_media");return t&&n?Object(Dt.addQueryArgs)(t,{_thumbnail_id:n}):t}}function yn(e){var t,n=Hn(e);switch(1===n.length&&(t=n[0].name),2===n.length&&"core/paragraph"===n[1].name&&(t=n[0].name),t){case"core/image":return"image";case"core/quote":case"core/pullquote":return"quote";case"core/gallery":return"gallery";case"core/video":case"core-embed/youtube":case"core-embed/vimeo":return"video";case"core/audio":case"core-embed/spotify":case"core-embed/soundcloud":return"audio"}return null}function _n(e){N()("`core/editor` getBlocksForSerialization selector",{plugin:"Gutenberg",alternative:"getEditorBlocks",hint:"Blocks serialization pre-processing occurs at save time"});var t=e.editor.present.blocks.value;return 1===t.length&&Object(s.isUnmodifiedDefaultBlock)(t[0])?[]:t}var kn=Object(b.createRegistrySelector)((function(e){return function(t){var n=Yt(t),r=qt(t),o=e("core").getEditedEntityRecord("postType",r,n);if(o){if("function"==typeof o.content)return o.content(o);if(o.blocks)return J(o.blocks);if(o.content)return o.content}return""}})),En=Object(Lt.a)((function(e,t){var n=e.reusableBlocks.data[t];if(!n)return null;var r=isNaN(parseInt(t));return Object(p.a)({},n,{id:r?t:+t,isTemporary:r})}),(function(e,t){return[e.reusableBlocks.data[t]]}));function Sn(e,t){return e.reusableBlocks.isSaving[t]||!1}function wn(e,t){return!!e.reusableBlocks.isFetching[t]}var Pn=Object(Lt.a)((function(e){return Object(g.map)(e.reusableBlocks.data,(function(t,n){return En(e,n)}))}),(function(e){return[e.reusableBlocks.data]}));function Cn(e,t){var n=Object(g.find)(e.optimist,(function(e){return e.beforeState&&Object(g.get)(e.action,["optimist","id"])===t}));return n?n.beforeState:null}function Tn(e){if(!hn(e))return!1;if(!on(e))return!1;var t=Cn(e,V);return!!t&&!on(null,t.currentPost)}function xn(e){var t=en(e,"permalink_template");return W.test(t)}function Bn(e){var t=In(e);if(!t)return null;var n=t.prefix,r=t.postName,o=t.suffix;return xn(e)?n+r+o:n}function In(e){var t=en(e,"permalink_template");if(!t)return null;var n=en(e,"slug")||en(e,"generated_slug"),r=t.split(W),o=Object(A.a)(r,2);return{prefix:o[0],postName:n,suffix:o[1]}}function An(e,t){var n=e.optimist;return!!n&&n.some((function(e){var n=e.beforeState;return n&&t(n)}))}function Rn(e){return e.postLock.isLocked}function Ln(e){return Object.keys(e.postSavingLock).length>0}function Nn(e){return Object.keys(e.postAutosavingLock).length>0}function Dn(e){return e.postLock.isTakeover}function Un(e){return e.postLock.user}function Fn(e){return e.postLock.activePostLock}function Mn(e){return Object(g.has)(Gt(e),["_links","wp:action-unfiltered-html"])}function Vn(e){return e.preferences.hasOwnProperty("isPublishSidebarEnabled")?e.preferences.isPublishSidebarEnabled:j.isPublishSidebarEnabled}function Hn(e){return en(e,"blocks")||Ft}function zn(e){return e.isReady}function Wn(e){return e.editorSettings}function Kn(e){return Object(b.createRegistrySelector)((function(t){return function(n){var r;N()("`wp.data.select( 'core/editor' )."+e+"`",{alternative:"`wp.data.select( 'core/block-editor' )."+e+"`"});for(var o=arguments.length,i=new Array(o>1?o-1:0),c=1;c0&&void 0!==arguments[0]?arguments[0]:{},t=e.getBlockInsertionParentClientId,n=void 0===t?$r:t,r=e.getInserterItems,o=void 0===r?eo:r,i=e.getSelectedBlockName,c=void 0===i?to:i;return{name:"blocks",className:"editor-autocompleters__block",triggerPrefix:"/",options:function(){no();var e=c();return o(n()).filter((function(t){return e!==t.name}))},getOptionKeywords:function(e){var t=e.title,n=e.keywords,r=void 0===n?[]:n;return[e.category].concat(Object(R.a)(r),[t])},getOptionLabel:function(e){var t=e.icon,n=e.title;return[Object(Jr.createElement)(a.BlockIcon,{key:"icon",icon:t,showColors:!0}),n]},allowContext:function(e,t){return!(/\S/.test(e)||/\S/.test(t))},getOptionCompletion:function(e){var t=e.name,n=e.initialAttributes;return{action:"replace",value:Object(s.createBlock)(t,n)}},isOptionDisabled:function(e){return e.isDisabled}}}(),oo={name:"users",className:"editor-autocompleters__user",triggerPrefix:"@",options:function(e){var t="";return e&&(t="?search="+encodeURIComponent(e)),B()({path:"/wp/v2/users"+t})},isDebounced:!0,getOptionKeywords:function(e){return[e.slug,e.name]},getOptionLabel:function(e){return[Object(Jr.createElement)("img",{key:"avatar",className:"editor-autocompleters__user-avatar",alt:"",src:e.avatar_urls[24]}),Object(Jr.createElement)("span",{key:"name",className:"editor-autocompleters__user-name"},e.name),Object(Jr.createElement)("span",{key:"slug",className:"editor-autocompleters__user-slug"},e.slug)]},getOptionCompletion:function(e){return"@".concat(e.slug)}},io=n(12),co=n(11),ao=n(13),so=n(14),uo=n(15),lo=n(8),po=function(e){function t(){return Object(io.a)(this,t),Object(ao.a)(this,Object(so.a)(t).apply(this,arguments))}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDirty,r=t.editsReference,o=t.isAutosaveable,i=t.isAutosaving;r!==e.editsReference&&(this.didAutosaveForEditsReference=!1),!i&&e.isAutosaving&&(this.didAutosaveForEditsReference=!0),e.isDirty===n&&e.isAutosaveable===o&&e.editsReference===r||this.toggleTimer(n&&o&&!this.didAutosaveForEditsReference)}},{key:"componentWillUnmount",value:function(){this.toggleTimer(!1)}},{key:"toggleTimer",value:function(e){var t=this,n=this.props,r=n.interval,o=n.shouldThrottle,i=void 0!==o&&o;!i&&this.pendingSave&&(clearTimeout(this.pendingSave),delete this.pendingSave),!e||i&&this.pendingSave||(this.pendingSave=setTimeout((function(){t.props.autosave(),delete t.pendingSave}),1e3*r))}},{key:"render",value:function(){return null}}]),t}(Jr.Component),bo=Object(lo.compose)([Object(b.withSelect)((function(e,t){var n=e("core").getReferenceByDistinctEdits,r=e("core/editor"),o=r.isEditedPostDirty,i=r.isEditedPostAutosaveable,c=r.isAutosavingPost,a=r.getEditorSettings,s=t.interval,u=void 0===s?a().autosaveInterval:s;return{isDirty:o(),isAutosaveable:i(),editsReference:n(),isAutosaving:c(),interval:u}})),Object(b.withDispatch)((function(e,t){return{autosave:function(){var n=t.autosave,r=void 0===n?e("core/editor").autosave:n;r()}}}))])(po),fo=n(16),ho=n.n(fo),mo=function(e){var t=e.children,n=e.isValid,r=e.level,o=e.path,i=void 0===o?[]:o,c=e.href,s=e.onSelect;return Object(Jr.createElement)("li",{className:ho()("document-outline__item","is-".concat(r.toLowerCase()),{"is-invalid":!n})},Object(Jr.createElement)("a",{href:c,className:"document-outline__button",onClick:s},Object(Jr.createElement)("span",{className:"document-outline__emdash","aria-hidden":"true"}),i.map((function(e,t){var n=e.clientId;return Object(Jr.createElement)("strong",{key:t,className:"document-outline__level"},Object(Jr.createElement)(a.BlockTitle,{clientId:n}))})),Object(Jr.createElement)("strong",{className:"document-outline__level"},r),Object(Jr.createElement)("span",{className:"document-outline__item-content"},t)))},vo=Object(Jr.createElement)("em",null,Object(I.__)("(Empty heading)")),Oo=[Object(Jr.createElement)("br",{key:"incorrect-break"}),Object(Jr.createElement)("em",{key:"incorrect-message"},Object(I.__)("(Incorrect heading level)"))],go=[Object(Jr.createElement)("br",{key:"incorrect-break-h1"}),Object(Jr.createElement)("em",{key:"incorrect-message-h1"},Object(I.__)("(Your theme may already use a H1 for the post title)"))],jo=[Object(Jr.createElement)("br",{key:"incorrect-break-multiple-h1"}),Object(Jr.createElement)("em",{key:"incorrect-message-multiple-h1"},Object(I.__)("(Multiple H1 headings are not recommended)"))],yo=function(e){return!e.attributes.content||0===e.attributes.content.length},_o=Object(lo.compose)(Object(b.withSelect)((function(e){var t=e("core/block-editor").getBlocks,n=e("core/editor").getEditedPostAttribute,r=(0,e("core").getPostType)(n("type"));return{title:n("title"),blocks:t(),isTitleSupported:Object(g.get)(r,["supports","title"],!1)}})))((function(e){var t=e.blocks,n=void 0===t?[]:t,r=e.title,o=e.onSelect,i=e.isTitleSupported,c=e.hasOutlineItemsDisabled,a=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object(g.flatMap)(t,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"core/heading"===t.name?Object(p.a)({},t,{path:n,level:t.attributes.level,isEmpty:yo(t)}):e(t.innerBlocks,[].concat(Object(R.a)(n),[t]))}))}(n);if(a.length<1)return null;var s=1,u=document.querySelector(".editor-post-title__input"),d=i&&r&&u,b=Object(g.countBy)(a,"level")[1]>1;return Object(Jr.createElement)("div",{className:"document-outline"},Object(Jr.createElement)("ul",null,d&&Object(Jr.createElement)(mo,{level:Object(I.__)("Title"),isValid:!0,onSelect:o,href:"#".concat(u.id),isDisabled:c},r),a.map((function(e,t){var n=e.level>s+1,r=!(e.isEmpty||n||!e.level||1===e.level&&(b||d));return s=e.level,Object(Jr.createElement)(mo,{key:t,level:"H".concat(e.level),isValid:r,path:e.path,isDisabled:c,href:"#block-".concat(e.clientId),onSelect:o},e.isEmpty?vo:Object(l.getTextContent)(Object(l.create)({html:e.attributes.content})),n&&Oo,1===e.level&&b&&jo,d&&1===e.level&&!b&&go)}))))}));var ko=Object(b.withSelect)((function(e){return{blocks:e("core/block-editor").getBlocks()}}))((function(e){var t=e.blocks,n=e.children;return Object(g.filter)(t,(function(e){return"core/heading"===e.name})).length<1?null:n})),Eo=n(5),So=n(3),wo=n(19);var Po=Object(lo.compose)([Object(b.withSelect)((function(e){return{isDirty:(0,e("core/editor").isEditedPostDirty)()}})),Object(b.withDispatch)((function(e,t,n){var r=n.select,o=e("core/editor").savePost;return{onSave:function(){(0,r("core/editor").isEditedPostDirty)()&&o()}}}))])((function(e){var t=e.onSave;return Object(Jr.createElement)(So.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(h.a)({},wo.rawShortcut.primary("s"),(function(e){e.preventDefault(),t()}))})})),Co=function(e){function t(){var e;return Object(io.a)(this,t),(e=Object(ao.a)(this,Object(so.a)(t).apply(this,arguments))).undoOrRedo=e.undoOrRedo.bind(Object(Eo.a)(e)),e}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"undoOrRedo",value:function(e){var t=this.props,n=t.onRedo,r=t.onUndo;e.shiftKey?n():r(),e.preventDefault()}},{key:"render",value:function(){var e;return Object(Jr.createElement)(Jr.Fragment,null,Object(Jr.createElement)(a.BlockEditorKeyboardShortcuts,null),Object(Jr.createElement)(So.KeyboardShortcuts,{shortcuts:(e={},Object(h.a)(e,wo.rawShortcut.primary("z"),this.undoOrRedo),Object(h.a)(e,wo.rawShortcut.primaryShift("z"),this.undoOrRedo),e)}),Object(Jr.createElement)(Po,null))}}]),t}(Jr.Component),To=Object(b.withDispatch)((function(e){var t=e("core/editor");return{onRedo:t.redo,onUndo:t.undo}}))(Co),xo=To;function Bo(){return N()("EditorGlobalKeyboardShortcuts",{alternative:"VisualEditorGlobalKeyboardShortcuts",plugin:"Gutenberg"}),Object(Jr.createElement)(To,null)}function Io(){return Object(Jr.createElement)(Po,null)}var Ao=Object(lo.compose)([Object(b.withSelect)((function(e){return{hasRedo:e("core/editor").hasEditorRedo()}})),Object(b.withDispatch)((function(e){return{redo:e("core/editor").redo}}))])((function(e){var t=e.hasRedo,n=e.redo;return Object(Jr.createElement)(So.IconButton,{icon:"redo",label:Object(I.__)("Redo"),shortcut:wo.displayShortcut.primaryShift("z"),"aria-disabled":!t,onClick:t?n:void 0,className:"editor-history__redo"})}));var Ro=Object(lo.compose)([Object(b.withSelect)((function(e){return{hasUndo:e("core/editor").hasEditorUndo()}})),Object(b.withDispatch)((function(e){return{undo:e("core/editor").undo}}))])((function(e){var t=e.hasUndo,n=e.undo;return Object(Jr.createElement)(So.IconButton,{icon:"undo",label:Object(I.__)("Undo"),shortcut:wo.displayShortcut.primary("z"),"aria-disabled":!t,onClick:t?n:void 0,className:"editor-history__undo"})})),Lo=n(21);var No=Object(lo.compose)([Object(b.withSelect)((function(e){return{isValid:e("core/block-editor").isValidTemplate()}})),Object(b.withDispatch)((function(e){var t=e("core/block-editor"),n=t.setTemplateValidity;return{resetTemplateValidity:function(){return n(!0)},synchronizeTemplate:t.synchronizeTemplate}}))])((function(e){var t=e.isValid,n=Object(Lo.a)(e,["isValid"]);return t?null:Object(Jr.createElement)(So.Notice,{className:"editor-template-validation-notice",isDismissible:!1,status:"warning"},Object(Jr.createElement)("p",null,Object(I.__)("The content of your post doesn’t match the template assigned to your post type.")),Object(Jr.createElement)("div",null,Object(Jr.createElement)(So.Button,{isDefault:!0,onClick:n.resetTemplateValidity},Object(I.__)("Keep it as is")),Object(Jr.createElement)(So.Button,{onClick:function(){window.confirm(Object(I.__)("Resetting the template may result in loss of content, do you want to continue?"))&&n.synchronizeTemplate()},isPrimary:!0},Object(I.__)("Reset the template"))))}));var Do=Object(lo.compose)([Object(b.withSelect)((function(e){return{notices:e("core/notices").getNotices()}})),Object(b.withDispatch)((function(e){return{onRemove:e("core/notices").removeNotice}}))])((function(e){var t=e.notices,n=e.onRemove,r=Object(g.filter)(t,{isDismissible:!0,type:"default"}),o=Object(g.filter)(t,{isDismissible:!1,type:"default"}),i=Object(g.filter)(t,{type:"snackbar"});return Object(Jr.createElement)(Jr.Fragment,null,Object(Jr.createElement)(So.NoticeList,{notices:o,className:"components-editor-notices__pinned"}),Object(Jr.createElement)(So.NoticeList,{notices:r,className:"components-editor-notices__dismissible",onRemove:n},Object(Jr.createElement)(No,null)),Object(Jr.createElement)(So.SnackbarList,{notices:i,className:"components-editor-notices__snackbar",onRemove:n}))})),Uo=function(e){function t(){var e;return Object(io.a)(this,t),(e=Object(ao.a)(this,Object(so.a)(t).apply(this,arguments))).reboot=e.reboot.bind(Object(Eo.a)(e)),e.getContent=e.getContent.bind(Object(Eo.a)(e)),e.state={error:null},e}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"componentDidCatch",value:function(e){this.setState({error:e})}},{key:"reboot",value:function(){this.props.onError()}},{key:"getContent",value:function(){try{return Object(b.select)("core/editor").getEditedPostContent()}catch(e){}}},{key:"render",value:function(){var e=this.state.error;return e?Object(Jr.createElement)(a.Warning,{className:"editor-error-boundary",actions:[Object(Jr.createElement)(So.Button,{key:"recovery",onClick:this.reboot,isLarge:!0},Object(I.__)("Attempt Recovery")),Object(Jr.createElement)(So.ClipboardButton,{key:"copy-post",text:this.getContent,isLarge:!0},Object(I.__)("Copy Post Text")),Object(Jr.createElement)(So.ClipboardButton,{key:"copy-error",text:e.stack,isLarge:!0},Object(I.__)("Copy Error"))]},Object(I.__)("The editor has encountered an unexpected error.")):this.props.children}}]),t}(Jr.Component),Fo=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,Mo=Object(g.once)((function(){try{return window.sessionStorage.setItem("__wpEditorTestSessionStorage",""),window.sessionStorage.removeItem("__wpEditorTestSessionStorage"),!0}catch(e){return!1}}));function Vo(){var e=Object(b.useSelect)((function(e){var t=e("core/editor").getCurrentPostId(),n=e("core/editor").getCurrentPostType(),r=e("core").getCurrentUser();return{postId:t,getEditedPostAttribute:e("core/editor").getEditedPostAttribute,remoteAutosave:e("core").getAutosave(n,t,r.id),hasFetchedAutosave:e("core").hasFetchedAutosaves(n,t)&&r.id}})),t=e.postId,n=e.getEditedPostAttribute,r=e.remoteAutosave,o=e.hasFetchedAutosave,i=Object(b.useDispatch)("core/notices"),c=i.createWarningNotice,a=i.removeNotice,u=Object(b.useDispatch)("core/editor"),l=u.editPost,d=u.resetEditorBlocks;Object(Jr.useEffect)((function(){if(o){var e=function(e){return window.sessionStorage.getItem($(e))}(t);if(e){try{e=JSON.parse(e)}catch(e){return}var i=e,u={title:i.post_title,content:i.content,excerpt:i.excerpt};if(Object.keys(u).some((function(e){return u[e]!==n(e)}))){if(!r){var p=Object(g.uniqueId)("wpEditorAutosaveRestore");c(Object(I.__)("The backup of this post in your browser is different from the version below."),{id:p,actions:[{label:Object(I.__)("Restore the backup"),onClick:function(){l(Object(g.omit)(u,["content"])),d(Object(s.parse)(u.content)),a(p)}}]})}}else ee(t)}}}),[t,o])}var Ho=Object(lo.ifCondition)(Mo)((function(){var e,t,n,r,o,i,c,a=Object(b.useDispatch)("core/editor").__experimentalLocalAutosave,s=Object(Jr.useCallback)((function(){Fo(a)}),[]);Vo(),e=Object(b.useSelect)((function(e){return{postId:e("core/editor").getCurrentPostId(),postType:e("core/editor").getCurrentPostType(),isDirty:e("core/editor").isEditedPostDirty(),isAutosaving:e("core/editor").isAutosavingPost(),didError:e("core/editor").didPostSaveRequestFail()}})),t=e.postId,n=e.isDirty,r=e.isAutosaving,o=e.didError,i=Object(Jr.useRef)(n),c=Object(Jr.useRef)(r),Object(Jr.useEffect)((function(){!o&&(c.current&&!r||i.current&&!n)&&ee(t),i.current=n,c.current=r}),[n,r,o]);var u=Object(b.useSelect)((function(e){return{localAutosaveInterval:e("core/editor").getEditorSettings().__experimentalLocalAutosaveInterval}})).localAutosaveInterval;return Object(Jr.createElement)(bo,{interval:u,autosave:s,shouldThrottle:!0})}));var zo=Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getEditorSettings,o=e("core").getPostType,i=r().availableTemplates;return{postType:o(n("type")),availableTemplates:i}}))((function(e){var t=e.availableTemplates,n=e.postType,r=e.children;return!Object(g.get)(n,["supports","page-attributes"],!1)&&Object(g.isEmpty)(t)?null:r}));var Wo=Object(b.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute;return{postType:(0,e("core").getPostType)(t("type"))}}))((function(e){var t=e.postType,n=e.children,r=e.supportKeys,o=!0;return t&&(o=Object(g.some)(Object(g.castArray)(r),(function(e){return!!t.supports[e]}))),o?n:null})),Ko=Object(lo.withState)({orderInput:null})((function(e){var t=e.onUpdateOrder,n=e.order,r=void 0===n?0:n,o=e.orderInput,i=e.setState,c=null===o?r:o;return Object(Jr.createElement)(So.TextControl,{className:"editor-page-attributes__order",type:"number",label:Object(I.__)("Order"),value:c,onChange:function(e){i({orderInput:e});var n=Number(e);Number.isInteger(n)&&""!==Object(g.invoke)(e,["trim"])&&t(Number(e))},size:6,onBlur:function(){i({orderInput:null})}})}));var Go=Object(lo.compose)([Object(b.withSelect)((function(e){return{order:e("core/editor").getEditedPostAttribute("menu_order")}})),Object(b.withDispatch)((function(e){return{onUpdateOrder:function(t){e("core/editor").editPost({menu_order:t})}}}))])((function(e){return Object(Jr.createElement)(Wo,{supportKeys:"page-attributes"},Object(Jr.createElement)(Ko,e))}));function qo(e){var t=e.map((function(e){return Object(p.a)({children:[],parent:null},e)})),n=Object(g.groupBy)(t,"parent");if(n.null&&n.null.length)return t;return function e(t){return t.map((function(t){var r=n[t.id];return Object(p.a)({},t,{children:r&&r.length?e(r):[]})}))}(n[0]||[])}var Yo=Object(b.withSelect)((function(e){var t=e("core"),n=t.getPostType,r=t.getEntityRecords,o=e("core/editor"),i=o.getCurrentPostId,c=o.getEditedPostAttribute,a=c("type"),s=n(a),u=i(),l=Object(g.get)(s,["hierarchical"],!1),d={per_page:-1,exclude:u,parent_exclude:u,orderby:"menu_order",order:"asc"};return{parent:c("parent"),items:l?r("postType",a,d):[],postType:s}})),Qo=Object(b.withDispatch)((function(e){var t=e("core/editor").editPost;return{onUpdateParent:function(e){t({parent:e||0})}}})),Xo=Object(lo.compose)([Yo,Qo])((function(e){var t=e.parent,n=e.postType,r=e.items,o=e.onUpdateParent,i=Object(g.get)(n,["hierarchical"],!1),c=Object(g.get)(n,["labels","parent_item_colon"]),a=r||[];if(!i||!c||!a.length)return null;var s=qo(a.map((function(e){return{id:e.id,parent:e.parent,name:e.title.raw?e.title.raw:"#".concat(e.id," (").concat(Object(I.__)("no title"),")")}})));return Object(Jr.createElement)(So.TreeSelect,{className:"editor-page-attributes__parent",label:c,noOptionLabel:"(".concat(Object(I.__)("no parent"),")"),tree:s,selectedId:t,onChange:o})}));var Zo=Object(lo.compose)(Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=(0,t.getEditorSettings)().availableTemplates;return{selectedTemplate:n("template"),availableTemplates:r}})),Object(b.withDispatch)((function(e){return{onUpdate:function(t){e("core/editor").editPost({template:t||""})}}})))((function(e){var t=e.availableTemplates,n=e.selectedTemplate,r=e.onUpdate;return Object(g.isEmpty)(t)?null:Object(Jr.createElement)(So.SelectControl,{label:Object(I.__)("Template:"),value:n,onChange:r,className:"editor-page-attributes__template",options:Object(g.map)(t,(function(e,t){return{value:t,label:e}}))})})),Jo=n(51);var $o=Object(lo.compose)([Object(b.withSelect)((function(e){var t=e("core/editor").getCurrentPost();return{hasAssignAuthorAction:Object(g.get)(t,["_links","wp:action-assign-author"],!1),postType:e("core/editor").getCurrentPostType(),authors:e("core").getAuthors()}})),lo.withInstanceId])((function(e){var t=e.hasAssignAuthorAction,n=e.authors,r=e.children;return!t||n.length<2?null:Object(Jr.createElement)(Wo,{supportKeys:"author"},r)})),ei=function(e){function t(){var e;return Object(io.a)(this,t),(e=Object(ao.a)(this,Object(so.a)(t).apply(this,arguments))).setAuthorId=e.setAuthorId.bind(Object(Eo.a)(e)),e}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"setAuthorId",value:function(e){var t=this.props.onUpdateAuthor,n=e.target.value;t(Number(n))}},{key:"render",value:function(){var e=this.props,t=e.postAuthor,n=e.instanceId,r=e.authors,o="post-author-selector-"+n;return Object(Jr.createElement)($o,null,Object(Jr.createElement)("label",{htmlFor:o},Object(I.__)("Author")),Object(Jr.createElement)("select",{id:o,value:t,onChange:this.setAuthorId,className:"editor-post-author__select"},r.map((function(e){return Object(Jr.createElement)("option",{key:e.id,value:e.id},Object(Jo.decodeEntities)(e.name))}))))}}]),t}(Jr.Component),ti=Object(lo.compose)([Object(b.withSelect)((function(e){return{postAuthor:e("core/editor").getEditedPostAttribute("author"),authors:e("core").getAuthors()}})),Object(b.withDispatch)((function(e){return{onUpdateAuthor:function(t){e("core/editor").editPost({author:t})}}})),lo.withInstanceId])(ei);var ni=Object(lo.compose)([Object(b.withSelect)((function(e){return{commentStatus:e("core/editor").getEditedPostAttribute("comment_status")}})),Object(b.withDispatch)((function(e){return{editPost:e("core/editor").editPost}}))])((function(e){var t=e.commentStatus,n=void 0===t?"open":t,r=Object(Lo.a)(e,["commentStatus"]);return Object(Jr.createElement)(So.CheckboxControl,{label:Object(I.__)("Allow Comments"),checked:"open"===n,onChange:function(){return r.editPost({comment_status:"open"===n?"closed":"open"})}})}));var ri=Object(lo.compose)([Object(b.withSelect)((function(e){return{excerpt:e("core/editor").getEditedPostAttribute("excerpt")}})),Object(b.withDispatch)((function(e){return{onUpdateExcerpt:function(t){e("core/editor").editPost({excerpt:t})}}}))])((function(e){var t=e.excerpt,n=e.onUpdateExcerpt;return Object(Jr.createElement)("div",{className:"editor-post-excerpt"},Object(Jr.createElement)(So.TextareaControl,{label:Object(I.__)("Write an excerpt (optional)"),className:"editor-post-excerpt__textarea",onChange:function(e){return n(e)},value:t}),Object(Jr.createElement)(So.ExternalLink,{href:Object(I.__)("https://codex.wordpress.org/Excerpt")},Object(I.__)("Learn more about manual excerpts")))})),oi=n(18);var ii=function(e){return Object(Jr.createElement)(Wo,Object(oi.a)({},e,{supportKeys:"excerpt"}))};var ci=Object(b.withSelect)((function(e){var t=e("core").getThemeSupports;return{postType:(0,e("core/editor").getEditedPostAttribute)("type"),themeSupports:t()}}))((function(e){var t=e.themeSupports,n=e.children,r=e.postType,o=e.supportKeys;return Object(g.some)(Object(g.castArray)(o),(function(e){var n=Object(g.get)(t,[e],!1);return"post-thumbnails"===e&&Object(g.isArray)(n)?Object(g.includes)(n,r):n}))?n:null}));var ai=function(e){return Object(Jr.createElement)(ci,{supportKeys:"post-thumbnails"},Object(Jr.createElement)(Wo,Object(oi.a)({},e,{supportKeys:"thumbnail"})))},si=["image"],ui=Object(I.__)("Featured Image"),li=Object(I.__)("Set Featured Image"),di=Object(I.__)("Remove Image");var pi=Object(b.withSelect)((function(e){var t=e("core"),n=t.getMedia,r=t.getPostType,o=e("core/editor"),i=o.getCurrentPostId,c=o.getEditedPostAttribute,a=c("featured_media");return{media:a?n(a):null,currentPostId:i(),postType:r(c("type")),featuredImageId:a}})),bi=Object(b.withDispatch)((function(e){var t=e("core/editor").editPost;return{onUpdateImage:function(e){t({featured_media:e.id})},onRemoveImage:function(){t({featured_media:0})}}})),fi=Object(lo.compose)(pi,bi,Object(So.withFilters)("editor.PostFeaturedImage"))((function(e){var t,n,r,o=e.currentPostId,i=e.featuredImageId,c=e.onUpdateImage,s=e.onRemoveImage,u=e.media,l=e.postType,d=Object(g.get)(l,["labels"],{}),p=Object(Jr.createElement)("p",null,Object(I.__)("To edit the featured image, you need permission to upload media."));if(u){var b=Object(Zr.applyFilters)("editor.PostFeaturedImage.imageSize","post-thumbnail",u.id,o);Object(g.has)(u,["media_details","sizes",b])?(t=u.media_details.sizes[b].width,n=u.media_details.sizes[b].height,r=u.media_details.sizes[b].source_url):(t=u.media_details.width,n=u.media_details.height,r=u.source_url)}return Object(Jr.createElement)(ai,null,Object(Jr.createElement)("div",{className:"editor-post-featured-image"},Object(Jr.createElement)(a.MediaUploadCheck,{fallback:p},Object(Jr.createElement)(a.MediaUpload,{title:d.featured_image||ui,onSelect:c,unstableFeaturedImageFlow:!0,allowedTypes:si,modalClass:"editor-post-featured-image__media-modal",render:function(e){var o=e.open;return Object(Jr.createElement)(So.Button,{className:i?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:o,"aria-label":i?Object(I.__)("Edit or update the image"):null},!!i&&u&&Object(Jr.createElement)(So.ResponsiveWrapper,{naturalWidth:t,naturalHeight:n,isInline:!0},Object(Jr.createElement)("img",{src:r,alt:""})),!!i&&!u&&Object(Jr.createElement)(So.Spinner,null),!i&&(d.set_featured_image||li))},value:i})),!!i&&u&&!u.isLoading&&Object(Jr.createElement)(a.MediaUploadCheck,null,Object(Jr.createElement)(a.MediaUpload,{title:d.featured_image||ui,onSelect:c,unstableFeaturedImageFlow:!0,allowedTypes:si,modalClass:"editor-post-featured-image__media-modal",render:function(e){var t=e.open;return Object(Jr.createElement)(So.Button,{onClick:t,isDefault:!0,isLarge:!0},Object(I.__)("Replace Image"))}})),!!i&&Object(Jr.createElement)(a.MediaUploadCheck,null,Object(Jr.createElement)(So.Button,{onClick:s,isLink:!0,isDestructive:!0},d.remove_featured_image||di))))}));var hi=Object(b.withSelect)((function(e){return{disablePostFormats:e("core/editor").getEditorSettings().disablePostFormats}}))((function(e){var t=e.disablePostFormats,n=Object(Lo.a)(e,["disablePostFormats"]);return!t&&Object(Jr.createElement)(Wo,Object(oi.a)({},n,{supportKeys:"post-formats"}))})),mi=[{id:"aside",caption:Object(I.__)("Aside")},{id:"gallery",caption:Object(I.__)("Gallery")},{id:"link",caption:Object(I.__)("Link")},{id:"image",caption:Object(I.__)("Image")},{id:"quote",caption:Object(I.__)("Quote")},{id:"standard",caption:Object(I.__)("Standard")},{id:"status",caption:Object(I.__)("Status")},{id:"video",caption:Object(I.__)("Video")},{id:"audio",caption:Object(I.__)("Audio")},{id:"chat",caption:Object(I.__)("Chat")}];var vi=Object(lo.compose)([Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getSuggestedPostFormat,o=n("format"),i=e("core").getThemeSupports();return{postFormat:o,supportedFormats:Object(g.union)([o],Object(g.get)(i,["formats"],[])),suggestedFormat:r()}})),Object(b.withDispatch)((function(e){return{onUpdatePostFormat:function(t){e("core/editor").editPost({format:t})}}})),lo.withInstanceId])((function(e){var t=e.onUpdatePostFormat,n=e.postFormat,r=void 0===n?"standard":n,o=e.supportedFormats,i=e.suggestedFormat,c="post-format-selector-"+e.instanceId,a=mi.filter((function(e){return Object(g.includes)(o,e.id)})),s=Object(g.find)(a,(function(e){return e.id===i}));return Object(Jr.createElement)(hi,null,Object(Jr.createElement)("div",{className:"editor-post-format"},Object(Jr.createElement)("div",{className:"editor-post-format__content"},Object(Jr.createElement)("label",{htmlFor:c},Object(I.__)("Post Format")),Object(Jr.createElement)(So.SelectControl,{value:r,onChange:function(e){return t(e)},id:c,options:a.map((function(e){return{label:e.caption,value:e.id}}))})),s&&s.id!==r&&Object(Jr.createElement)("div",{className:"editor-post-format__suggestion"},Object(I.__)("Suggestion:")," ",Object(Jr.createElement)(So.Button,{isLink:!0,onClick:function(){return t(s.id)}},s.caption))))}));var Oi=Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPostLastRevisionId,r=t.getCurrentPostRevisionsCount;return{lastRevisionId:n(),revisionsCount:r()}}))((function(e){var t=e.lastRevisionId,n=e.revisionsCount,r=e.children;return!t||n<2?null:Object(Jr.createElement)(Wo,{supportKeys:"revisions"},r)}));function gi(e,t){return Object(Dt.addQueryArgs)(e,t)}function ji(e){return e?Object(g.toLower)(Object(g.deburr)(Object(g.trim)(e.replace(/[\s\./_]+/g,"-"),"-"))):""}var yi=Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPostLastRevisionId,r=t.getCurrentPostRevisionsCount;return{lastRevisionId:n(),revisionsCount:r()}}))((function(e){var t=e.lastRevisionId,n=e.revisionsCount;return Object(Jr.createElement)(Oi,null,Object(Jr.createElement)(So.IconButton,{href:gi("revision.php",{revision:t,gutenberg:!0}),className:"editor-post-last-revision__title",icon:"backup"},Object(I.sprintf)(Object(I._n)("%d Revision","%d Revisions",n),n)))}));var _i=function(e){function t(){var e;return Object(io.a)(this,t),(e=Object(ao.a)(this,Object(so.a)(t).apply(this,arguments))).openPreviewWindow=e.openPreviewWindow.bind(Object(Eo.a)(e)),e}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this.props.previewLink;t&&!e.previewLink&&this.setPreviewWindowLink(t)}},{key:"setPreviewWindowLink",value:function(e){var t=this.previewWindow;t&&!t.closed&&(t.location=e)}},{key:"getWindowTarget",value:function(){var e=this.props.postId;return"wp-preview-".concat(e)}},{key:"openPreviewWindow",value:function(e){var t,n;(e.preventDefault(),this.previewWindow&&!this.previewWindow.closed||(this.previewWindow=window.open("",this.getWindowTarget())),this.previewWindow.focus(),this.props.isAutosaveable)?(this.props.isDraft?this.props.savePost({isPreview:!0}):this.props.autosave({isPreview:!0}),t=this.previewWindow.document,n=Object(Jr.renderToString)(Object(Jr.createElement)("div",{className:"editor-post-preview-button__interstitial-message"},Object(Jr.createElement)(So.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},Object(Jr.createElement)(So.Path,{className:"outer",d:"M48 12c19.9 0 36 16.1 36 36S67.9 84 48 84 12 67.9 12 48s16.1-36 36-36",fill:"none"}),Object(Jr.createElement)(So.Path,{className:"inner",d:"M69.5 46.4c0-3.9-1.4-6.7-2.6-8.8-1.6-2.6-3.1-4.9-3.1-7.5 0-2.9 2.2-5.7 5.4-5.7h.4C63.9 19.2 56.4 16 48 16c-11.2 0-21 5.7-26.7 14.4h2.1c3.3 0 8.5-.4 8.5-.4 1.7-.1 1.9 2.4.2 2.6 0 0-1.7.2-3.7.3L40 67.5l7-20.9L42 33c-1.7-.1-3.3-.3-3.3-.3-1.7-.1-1.5-2.7.2-2.6 0 0 5.3.4 8.4.4 3.3 0 8.5-.4 8.5-.4 1.7-.1 1.9 2.4.2 2.6 0 0-1.7.2-3.7.3l11.5 34.3 3.3-10.4c1.6-4.5 2.4-7.8 2.4-10.5zM16.1 48c0 12.6 7.3 23.5 18 28.7L18.8 35c-1.7 4-2.7 8.4-2.7 13zm32.5 2.8L39 78.6c2.9.8 5.9 1.3 9 1.3 3.7 0 7.3-.6 10.6-1.8-.1-.1-.2-.3-.2-.4l-9.8-26.9zM76.2 36c0 3.2-.6 6.9-2.4 11.4L64 75.6c9.5-5.5 15.9-15.8 15.9-27.6 0-5.5-1.4-10.8-3.9-15.3.1 1 .2 2.1.2 3.3z",fill:"none"})),Object(Jr.createElement)("p",null,Object(I.__)("Generating preview…")))),n+='\n\t\t\n\t',n=Object(Zr.applyFilters)("editor.PostPreview.interstitialMarkup",n),t.write(n),t.title=Object(I.__)("Generating preview…"),t.close()):this.setPreviewWindowLink(e.target.href)}},{key:"render",value:function(){var e=this.props,t=e.previewLink,n=e.currentPostLink,r=e.isSaveable,o=t||n;return Object(Jr.createElement)(So.Button,{isLarge:!0,className:"editor-post-preview",href:o,target:this.getWindowTarget(),disabled:!r,onClick:this.openPreviewWindow},Object(I._x)("Preview","imperative verb"),Object(Jr.createElement)("span",{className:"screen-reader-text"},Object(I.__)("(opens in a new tab)")),Object(Jr.createElement)(u.DotTip,{tipId:"core/editor.preview"},Object(I.__)("Click “Preview” to load a preview of this page, so you can make sure you’re happy with your blocks.")))}}]),t}(Jr.Component),ki=Object(lo.compose)([Object(b.withSelect)((function(e,t){var n=t.forcePreviewLink,r=t.forceIsAutosaveable,o=e("core/editor"),i=o.getCurrentPostId,c=o.getCurrentPostAttribute,a=o.getEditedPostAttribute,s=o.isEditedPostSaveable,u=o.isEditedPostAutosaveable,l=o.getEditedPostPreviewLink,d=e("core").getPostType,p=l(),b=d(a("type"));return{postId:i(),currentPostLink:c("link"),previewLink:void 0!==n?n:p,isSaveable:s(),isAutosaveable:r||u(),isViewable:Object(g.get)(b,["viewable"],!1),isDraft:-1!==["draft","auto-draft"].indexOf(a("status"))}})),Object(b.withDispatch)((function(e){return{autosave:e("core/editor").autosave,savePost:e("core/editor").savePost}})),Object(lo.ifCondition)((function(e){return e.isViewable}))])(_i),Ei=function(e){function t(){var e;return Object(io.a)(this,t),(e=Object(ao.a)(this,Object(so.a)(t).apply(this,arguments))).sendPostLock=e.sendPostLock.bind(Object(Eo.a)(e)),e.receivePostLock=e.receivePostLock.bind(Object(Eo.a)(e)),e.releasePostLock=e.releasePostLock.bind(Object(Eo.a)(e)),e}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"componentDidMount",value:function(){var e=this.getHookName();Object(Zr.addAction)("heartbeat.send",e,this.sendPostLock),Object(Zr.addAction)("heartbeat.tick",e,this.receivePostLock)}},{key:"componentWillUnmount",value:function(){var e=this.getHookName();Object(Zr.removeAction)("heartbeat.send",e),Object(Zr.removeAction)("heartbeat.tick",e)}},{key:"getHookName",value:function(){return"core/editor/post-locked-modal-"+this.props.instanceId}},{key:"sendPostLock",value:function(e){var t=this.props,n=t.isLocked,r=t.activePostLock,o=t.postId;n||(e["wp-refresh-post-lock"]={lock:r,post_id:o})}},{key:"receivePostLock",value:function(e){if(e["wp-refresh-post-lock"]){var t=this.props,n=t.autosave,r=t.updatePostLock,o=e["wp-refresh-post-lock"];o.lock_error?(n(),r({isLocked:!0,isTakeover:!0,user:{avatar:o.lock_error.avatar_src}})):o.new_lock&&r({isLocked:!1,activePostLock:o.new_lock})}}},{key:"releasePostLock",value:function(){var e=this.props,t=e.isLocked,n=e.activePostLock,r=e.postLockUtils,o=e.postId;if(!t&&n){var i=new window.FormData;if(i.append("action","wp-remove-post-lock"),i.append("_wpnonce",r.unlockNonce),i.append("post_ID",o),i.append("active_post_lock",n),window.navigator.sendBeacon)window.navigator.sendBeacon(r.ajaxUrl,i);else{var c=new window.XMLHttpRequest;c.open("POST",r.ajaxUrl,!1),c.send(i)}}}},{key:"render",value:function(){var e=this.props,t=e.user,n=e.postId,r=e.isLocked,o=e.isTakeover,i=e.postLockUtils,c=e.postType;if(!r)return null;var a=t.name,s=t.avatar,u=Object(Dt.addQueryArgs)("post.php",{"get-post-lock":"1",lockKey:!0,post:n,action:"edit",_wpnonce:i.nonce}),l=gi("edit.php",{post_type:Object(g.get)(c,["slug"])}),d=Object(I.__)("Exit the Editor");return Object(Jr.createElement)(So.Modal,{title:o?Object(I.__)("Someone else has taken over this post."):Object(I.__)("This post is already being edited."),focusOnMount:!0,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissable:!1,className:"editor-post-locked-modal"},!!s&&Object(Jr.createElement)("img",{src:s,alt:Object(I.__)("Avatar"),className:"editor-post-locked-modal__avatar"}),!!o&&Object(Jr.createElement)("div",null,Object(Jr.createElement)("div",null,a?Object(I.sprintf)(Object(I.__)("%s now has editing control of this post. Don’t worry, your changes up to this moment have been saved."),a):Object(I.__)("Another user now has editing control of this post. Don’t worry, your changes up to this moment have been saved.")),Object(Jr.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(Jr.createElement)(So.Button,{isPrimary:!0,isLarge:!0,href:l},d))),!o&&Object(Jr.createElement)("div",null,Object(Jr.createElement)("div",null,a?Object(I.sprintf)(Object(I.__)("%s is currently working on this post, which means you cannot make changes, unless you take over."),a):Object(I.__)("Another user is currently working on this post, which means you cannot make changes, unless you take over.")),Object(Jr.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(Jr.createElement)(So.Button,{isDefault:!0,isLarge:!0,href:l},d),Object(Jr.createElement)(ki,null),Object(Jr.createElement)(So.Button,{isPrimary:!0,isLarge:!0,href:u},Object(I.__)("Take Over")))))}}]),t}(Jr.Component),Si=Object(lo.compose)(Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.isPostLocked,r=t.isPostLockTakeover,o=t.getPostLockUser,i=t.getCurrentPostId,c=t.getActivePostLock,a=t.getEditedPostAttribute,s=t.getEditorSettings,u=e("core").getPostType;return{isLocked:n(),isTakeover:r(),user:o(),postId:i(),postLockUtils:s().postLockUtils,activePostLock:c(),postType:u(a("type"))}})),Object(b.withDispatch)((function(e){var t=e("core/editor");return{autosave:t.autosave,updatePostLock:t.updatePostLock}})),lo.withInstanceId,Object(lo.withGlobalEvents)({beforeunload:"releasePostLock"}))(Ei);var wi=Object(lo.compose)(Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.isCurrentPostPublished,r=t.getCurrentPostType,o=t.getCurrentPost;return{hasPublishAction:Object(g.get)(o(),["_links","wp:action-publish"],!1),isPublished:n(),postType:r()}})))((function(e){var t=e.hasPublishAction,n=e.isPublished,r=e.children;return n||!t?null:r}));var Pi=Object(lo.compose)(Object(b.withSelect)((function(e){return{status:e("core/editor").getEditedPostAttribute("status")}})),Object(b.withDispatch)((function(e){return{onUpdateStatus:function(t){e("core/editor").editPost({status:t})}}})))((function(e){var t=e.status,n=e.onUpdateStatus;return Object(Jr.createElement)(wi,null,Object(Jr.createElement)(So.CheckboxControl,{label:Object(I.__)("Pending Review"),checked:"pending"===t,onChange:function(){n("pending"===t?"draft":"pending")}}))}));var Ci=Object(lo.compose)([Object(b.withSelect)((function(e){return{pingStatus:e("core/editor").getEditedPostAttribute("ping_status")}})),Object(b.withDispatch)((function(e){return{editPost:e("core/editor").editPost}}))])((function(e){var t=e.pingStatus,n=void 0===t?"open":t,r=Object(Lo.a)(e,["pingStatus"]);return Object(Jr.createElement)(So.CheckboxControl,{label:Object(I.__)("Allow Pingbacks & Trackbacks"),checked:"open"===n,onChange:function(){return r.editPost({ping_status:"open"===n?"closed":"open"})}})}));var Ti=Object(lo.compose)([Object(b.withSelect)((function(e,t){var n=t.forceIsSaving,r=e("core/editor"),o=r.isCurrentPostPublished,i=r.isEditedPostBeingScheduled,c=r.isSavingPost,a=r.isPublishingPost,s=r.getCurrentPost,u=r.getCurrentPostType,l=r.isAutosavingPost;return{isPublished:o(),isBeingScheduled:i(),isSaving:n||c(),isPublishing:a(),hasPublishAction:Object(g.get)(s(),["_links","wp:action-publish"],!1),postType:u(),isAutosaving:l()}}))])((function(e){var t=e.isPublished,n=e.isBeingScheduled,r=e.isSaving,o=e.isPublishing,i=e.hasPublishAction,c=e.isAutosaving;return o?Object(I.__)("Publishing…"):t&&r&&!c?Object(I.__)("Updating…"):n&&r&&!c?Object(I.__)("Scheduling…"):i?t?Object(I.__)("Update"):n?Object(I.__)("Schedule"):Object(I.__)("Publish"):Object(I.__)("Submit for Review")})),xi=function(e){function t(e){var n;return Object(io.a)(this,t),(n=Object(ao.a)(this,Object(so.a)(t).call(this,e))).buttonNode=Object(Jr.createRef)(),n}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.buttonNode.current.focus()}},{key:"render",value:function(){var e,t=this.props,n=t.forceIsDirty,r=t.forceIsSaving,o=t.hasPublishAction,i=t.isBeingScheduled,c=t.isOpen,a=t.isPostSavingLocked,s=t.isPublishable,l=t.isPublished,d=t.isSaveable,p=t.isSaving,b=t.isToggle,f=t.onSave,h=t.onStatusChange,m=t.onSubmit,v=void 0===m?g.noop:m,O=t.onToggle,j=t.visibility,y=p||r||!d||a||!s&&!n,_=l||p||r||!d||!s&&!n;e=o?i?"future":"private"===j?"private":"publish":"pending";var k={"aria-disabled":y,className:"editor-post-publish-button",isBusy:p&&l,isPrimary:!0,onClick:function(){y||(v(),h(e),f())}},E={"aria-disabled":_,"aria-expanded":c,className:"editor-post-publish-panel__toggle",isBusy:p&&l,isPrimary:!0,onClick:function(){_||O()}},S=i?Object(I.__)("Schedule…"):Object(I.__)("Publish…"),w=Object(Jr.createElement)(Ti,{forceIsSaving:r}),P=b?E:k,C=b?S:w;return Object(Jr.createElement)("div",null,Object(Jr.createElement)(So.Button,Object(oi.a)({ref:this.buttonNode},P),C),Object(Jr.createElement)(u.DotTip,{tipId:"core/editor.publish"},Object(I.__)("Finished writing? That’s great, let’s get this published right now. Just click “Publish” and you’re good to go.")))}}]),t}(Jr.Component),Bi=Object(lo.compose)([Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.isSavingPost,r=t.isEditedPostBeingScheduled,o=t.getEditedPostVisibility,i=t.isCurrentPostPublished,c=t.isEditedPostSaveable,a=t.isEditedPostPublishable,s=t.isPostSavingLocked,u=t.getCurrentPost,l=t.getCurrentPostType;return{isSaving:n(),isBeingScheduled:r(),visibility:o(),isSaveable:c(),isPostSavingLocked:s(),isPublishable:a(),isPublished:i(),hasPublishAction:Object(g.get)(u(),["_links","wp:action-publish"],!1),postType:l()}})),Object(b.withDispatch)((function(e){var t=e("core/editor"),n=t.editPost;return{onStatusChange:function(e){return n({status:e},{undoIgnore:!0})},onSave:t.savePost}}))])(xi),Ii=[{value:"public",label:Object(I.__)("Public"),info:Object(I.__)("Visible to everyone.")},{value:"private",label:Object(I.__)("Private"),info:Object(I.__)("Only visible to site admins and editors.")},{value:"password",label:Object(I.__)("Password Protected"),info:Object(I.__)("Protected with a password you choose. Only those with the password can view this post.")}],Ai=function(e){function t(e){var n;return Object(io.a)(this,t),(n=Object(ao.a)(this,Object(so.a)(t).apply(this,arguments))).setPublic=n.setPublic.bind(Object(Eo.a)(n)),n.setPrivate=n.setPrivate.bind(Object(Eo.a)(n)),n.setPasswordProtected=n.setPasswordProtected.bind(Object(Eo.a)(n)),n.updatePassword=n.updatePassword.bind(Object(Eo.a)(n)),n.state={hasPassword:!!e.password},n}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"setPublic",value:function(){var e=this.props,t=e.visibility,n=e.onUpdateVisibility,r=e.status;n("private"===t?"draft":r),this.setState({hasPassword:!1})}},{key:"setPrivate",value:function(){if(window.confirm(Object(I.__)("Would you like to privately publish this post now?"))){var e=this.props,t=e.onUpdateVisibility,n=e.onSave;t("private"),this.setState({hasPassword:!1}),n()}}},{key:"setPasswordProtected",value:function(){var e=this.props,t=e.visibility,n=e.onUpdateVisibility,r=e.status;n("private"===t?"draft":r,e.password||""),this.setState({hasPassword:!0})}},{key:"updatePassword",value:function(e){var t=this.props,n=t.status;(0,t.onUpdateVisibility)(n,e.target.value)}},{key:"render",value:function(){var e=this.props,t=e.visibility,n=e.password,r=e.instanceId,o={public:{onSelect:this.setPublic,checked:"public"===t&&!this.state.hasPassword},private:{onSelect:this.setPrivate,checked:"private"===t},password:{onSelect:this.setPasswordProtected,checked:this.state.hasPassword}};return[Object(Jr.createElement)("fieldset",{key:"visibility-selector",className:"editor-post-visibility__dialog-fieldset"},Object(Jr.createElement)("legend",{className:"editor-post-visibility__dialog-legend"},Object(I.__)("Post Visibility")),Ii.map((function(e){var t=e.value,n=e.label,i=e.info;return Object(Jr.createElement)("div",{key:t,className:"editor-post-visibility__choice"},Object(Jr.createElement)("input",{type:"radio",name:"editor-post-visibility__setting-".concat(r),value:t,onChange:o[t].onSelect,checked:o[t].checked,id:"editor-post-".concat(t,"-").concat(r),"aria-describedby":"editor-post-".concat(t,"-").concat(r,"-description"),className:"editor-post-visibility__dialog-radio"}),Object(Jr.createElement)("label",{htmlFor:"editor-post-".concat(t,"-").concat(r),className:"editor-post-visibility__dialog-label"},n),Object(Jr.createElement)("p",{id:"editor-post-".concat(t,"-").concat(r,"-description"),className:"editor-post-visibility__dialog-info"},i))}))),this.state.hasPassword&&Object(Jr.createElement)("div",{className:"editor-post-visibility__dialog-password",key:"password-selector"},Object(Jr.createElement)("label",{htmlFor:"editor-post-visibility__dialog-password-input-".concat(r),className:"screen-reader-text"},Object(I.__)("Create password")),Object(Jr.createElement)("input",{className:"editor-post-visibility__dialog-password-input",id:"editor-post-visibility__dialog-password-input-".concat(r),type:"text",onChange:this.updatePassword,value:n,placeholder:Object(I.__)("Use a secure password")}))]}}]),t}(Jr.Component),Ri=Object(lo.compose)([Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getEditedPostVisibility;return{status:n("status"),visibility:r(),password:n("password")}})),Object(b.withDispatch)((function(e){var t=e("core/editor"),n=t.savePost,r=t.editPost;return{onSave:n,onUpdateVisibility:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";r({status:e,password:t})}}})),lo.withInstanceId])(Ai);var Li=Object(b.withSelect)((function(e){return{visibility:e("core/editor").getEditedPostVisibility()}}))((function(e){var t=e.visibility;return Object(g.find)(Ii,{value:t}).label}));var Ni=Object(lo.compose)([Object(b.withSelect)((function(e){return{date:e("core/editor").getEditedPostAttribute("date")}})),Object(b.withDispatch)((function(e){return{onUpdateDate:function(t){e("core/editor").editPost({date:t})}}}))])((function(e){var t=e.date,n=e.onUpdateDate,r=Object(Nt.__experimentalGetSettings)(),o=/a(?!\\)/i.test(r.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""));return Object(Jr.createElement)(So.DateTimePicker,{key:"date-time-picker",currentDate:t,onChange:n,is12Hour:o})}));var Di=Object(b.withSelect)((function(e){return{date:e("core/editor").getEditedPostAttribute("date"),isFloating:e("core/editor").isEditedPostDateFloating()}}))((function(e){var t=e.date,n=e.isFloating,r=Object(Nt.__experimentalGetSettings)();return t&&!n?Object(Nt.dateI18n)("".concat(r.formats.date," ").concat(r.formats.time),t):Object(I.__)("Immediately")})),Ui={per_page:-1,orderby:"count",order:"desc",_fields:"id,name"},Fi=function(e,t){return e.toLowerCase()===t.toLowerCase()},Mi=function(e){return Object(p.a)({},e,{name:Object(g.unescape)(e.name)})},Vi=function(e){return Object(g.map)(e,Mi)},Hi=function(e){function t(){var e;return Object(io.a)(this,t),(e=Object(ao.a)(this,Object(so.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(Eo.a)(e)),e.searchTerms=Object(g.throttle)(e.searchTerms.bind(Object(Eo.a)(e)),500),e.findOrCreateTerm=e.findOrCreateTerm.bind(Object(Eo.a)(e)),e.state={loading:!Object(g.isEmpty)(e.props.terms),availableTerms:[],selectedTerms:[]},e}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"componentDidMount",value:function(){var e=this;Object(g.isEmpty)(this.props.terms)||(this.initRequest=this.fetchTerms({include:this.props.terms.join(","),per_page:-1}),this.initRequest.then((function(){e.setState({loading:!1})}),(function(t){"abort"!==t.statusText&&e.setState({loading:!1})})))}},{key:"componentWillUnmount",value:function(){Object(g.invoke)(this.initRequest,["abort"]),Object(g.invoke)(this.searchRequest,["abort"])}},{key:"componentDidUpdate",value:function(e){e.terms!==this.props.terms&&this.updateSelectedTerms(this.props.terms)}},{key:"fetchTerms",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.props.taxonomy,r=Object(p.a)({},Ui,t),o=B()({path:Object(Dt.addQueryArgs)("/wp/v2/".concat(n.rest_base),r)});return o.then(Vi).then((function(t){e.setState((function(e){return{availableTerms:e.availableTerms.concat(t.filter((function(t){return!Object(g.find)(e.availableTerms,(function(e){return e.id===t.id}))})))}})),e.updateSelectedTerms(e.props.terms)})),o}},{key:"updateSelectedTerms",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=t.reduce((function(t,n){var r=Object(g.find)(e.state.availableTerms,(function(e){return e.id===n}));return r&&t.push(r.name),t}),[]);this.setState({selectedTerms:n})}},{key:"findOrCreateTerm",value:function(e){var t=this,n=this.props.taxonomy,r=Object(g.escape)(e);return B()({path:"/wp/v2/".concat(n.rest_base),method:"POST",data:{name:r}}).catch((function(o){return"term_exists"===o.code?(t.addRequest=B()({path:Object(Dt.addQueryArgs)("/wp/v2/".concat(n.rest_base),Object(p.a)({},Ui,{search:r}))}).then(Vi),t.addRequest.then((function(t){return Object(g.find)(t,(function(t){return Fi(t.name,e)}))}))):Promise.reject(o)})).then(Mi)}},{key:"onChange",value:function(e){var t=this,n=Object(g.uniqBy)(e,(function(e){return e.toLowerCase()}));this.setState({selectedTerms:n});var r=n.filter((function(e){return!Object(g.find)(t.state.availableTerms,(function(t){return Fi(t.name,e)}))})),o=function(e,t){return e.map((function(e){return Object(g.find)(t,(function(t){return Fi(t.name,e)})).id}))};if(0===r.length)return this.props.onUpdateTerms(o(n,this.state.availableTerms),this.props.taxonomy.rest_base);Promise.all(r.map(this.findOrCreateTerm)).then((function(e){var r=t.state.availableTerms.concat(e);return t.setState({availableTerms:r}),t.props.onUpdateTerms(o(n,r),t.props.taxonomy.rest_base)}))}},{key:"searchTerms",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(g.invoke)(this.searchRequest,["abort"]),this.searchRequest=this.fetchTerms({search:e})}},{key:"render",value:function(){var e=this.props,t=e.slug,n=e.taxonomy;if(!e.hasAssignAction)return null;var r=this.state,o=r.loading,i=r.availableTerms,c=r.selectedTerms,a=i.map((function(e){return e.name})),s=Object(g.get)(n,["labels","add_new_item"],"post_tag"===t?Object(I.__)("Add New Tag"):Object(I.__)("Add New Term")),u=Object(g.get)(n,["labels","singular_name"],"post_tag"===t?Object(I.__)("Tag"):Object(I.__)("Term")),l=Object(I.sprintf)(Object(I._x)("%s added","term"),u),d=Object(I.sprintf)(Object(I._x)("%s removed","term"),u),p=Object(I.sprintf)(Object(I._x)("Remove %s","term"),u);return Object(Jr.createElement)(So.FormTokenField,{value:c,suggestions:a,onChange:this.onChange,onInputChange:this.searchTerms,maxSuggestions:20,disabled:o,label:s,messages:{added:l,removed:d,remove:p}})}}]),t}(Jr.Component),zi=Object(lo.compose)(Object(b.withSelect)((function(e,t){var n=t.slug,r=e("core/editor").getCurrentPost,o=(0,e("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(g.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(g.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?e("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}})),Object(b.withDispatch)((function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(Object(h.a)({},n,t))}}})),Object(So.withFilters)("editor.PostTaxonomyType"))(Hi),Wi=function(){var e=[Object(I.__)("Suggestion:"),Object(Jr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(I.__)("Add tags"))];return Object(Jr.createElement)(So.PanelBody,{initialOpen:!1,title:e},Object(Jr.createElement)("p",null,Object(I.__)("Tags help users and search engines navigate your site and find your content. Add a few keywords to describe your post.")),Object(Jr.createElement)(zi,{slug:"post_tag"}))},Ki=function(e){function t(e){var n;return Object(io.a)(this,t),(n=Object(ao.a)(this,Object(so.a)(t).call(this,e))).state={hadTagsWhenOpeningThePanel:e.hasTags},n}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"render",value:function(){return this.state.hadTagsWhenOpeningThePanel?null:Object(Jr.createElement)(Wi,null)}}]),t}(Jr.Component),Gi=Object(lo.compose)(Object(b.withSelect)((function(e){var t=e("core/editor").getCurrentPostType(),n=e("core").getTaxonomy("post_tag"),r=n&&e("core/editor").getEditedPostAttribute(n.rest_base);return{areTagsFetched:void 0!==n,isPostTypeSupported:n&&Object(g.some)(n.types,(function(e){return e===t})),hasTags:r&&r.length}})),Object(lo.ifCondition)((function(e){var t=e.areTagsFetched;return e.isPostTypeSupported&&t})))(Ki),qi=function(e){var t=e.suggestedPostFormat,n=e.suggestionText,r=e.onUpdatePostFormat;return Object(Jr.createElement)(So.Button,{isLink:!0,onClick:function(){return r(t)}},n)},Yi=function(e,t){var n=mi.filter((function(t){return Object(g.includes)(e,t.id)}));return Object(g.find)(n,(function(e){return e.id===t}))},Qi=Object(lo.compose)(Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getSuggestedPostFormat,o=Object(g.get)(e("core").getThemeSupports(),["formats"],[]);return{currentPostFormat:n("format"),suggestion:Yi(o,r())}})),Object(b.withDispatch)((function(e){return{onUpdatePostFormat:function(t){e("core/editor").editPost({format:t})}}})),Object(lo.ifCondition)((function(e){var t=e.suggestion,n=e.currentPostFormat;return t&&t.id!==n})))((function(e){var t=e.suggestion,n=e.onUpdatePostFormat,r=[Object(I.__)("Suggestion:"),Object(Jr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(I.__)("Use a post format"))];return Object(Jr.createElement)(So.PanelBody,{initialOpen:!1,title:r},Object(Jr.createElement)("p",null,Object(I.__)("Your theme uses post formats to highlight different kinds of content, like images or videos. Apply a post format to see this special styling.")),Object(Jr.createElement)("p",null,Object(Jr.createElement)(qi,{onUpdatePostFormat:n,suggestedPostFormat:t.id,suggestionText:Object(I.sprintf)(Object(I.__)('Apply the "%1$s" format.'),t.caption)})))}));var Xi=Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.isEditedPostBeingScheduled;return{hasPublishAction:Object(g.get)(n(),["_links","wp:action-publish"],!1),isBeingScheduled:r()}}))((function(e){var t,n,r=e.hasPublishAction,o=e.isBeingScheduled,i=e.children;return r?o?(t=Object(I.__)("Are you ready to schedule?"),n=Object(I.__)("Your work will be published at the specified date and time.")):(t=Object(I.__)("Are you ready to publish?"),n=Object(I.__)("Double-check your settings before publishing.")):(t=Object(I.__)("Are you ready to submit for review?"),n=Object(I.__)("When you’re ready, submit your work for review, and an Editor will be able to approve it for you.")),Object(Jr.createElement)("div",{className:"editor-post-publish-panel__prepublish"},Object(Jr.createElement)("div",null,Object(Jr.createElement)("strong",null,t)),Object(Jr.createElement)("p",null,n),r&&Object(Jr.createElement)(Jr.Fragment,null,Object(Jr.createElement)(So.PanelBody,{initialOpen:!1,title:[Object(I.__)("Visibility:"),Object(Jr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(Jr.createElement)(Li,null))]},Object(Jr.createElement)(Ri,null)),Object(Jr.createElement)(So.PanelBody,{initialOpen:!1,title:[Object(I.__)("Publish:"),Object(Jr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(Jr.createElement)(Di,null))]},Object(Jr.createElement)(Ni,null))),Object(Jr.createElement)(Qi,null),Object(Jr.createElement)(Gi,null),i)})),Zi=function(e){function t(){var e;return Object(io.a)(this,t),(e=Object(ao.a)(this,Object(so.a)(t).apply(this,arguments))).state={showCopyConfirmation:!1},e.onCopy=e.onCopy.bind(Object(Eo.a)(e)),e.onSelectInput=e.onSelectInput.bind(Object(Eo.a)(e)),e.postLink=Object(Jr.createRef)(),e}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.postLink.current.focus()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.dismissCopyConfirmation)}},{key:"onCopy",value:function(){var e=this;this.setState({showCopyConfirmation:!0}),clearTimeout(this.dismissCopyConfirmation),this.dismissCopyConfirmation=setTimeout((function(){e.setState({showCopyConfirmation:!1})}),4e3)}},{key:"onSelectInput",value:function(e){e.target.select()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.isScheduled,r=e.post,o=e.postType,i=Object(g.get)(o,["labels","singular_name"]),c=Object(g.get)(o,["labels","view_item"]),a=n?Object(Jr.createElement)(Jr.Fragment,null,Object(I.__)("is now scheduled. It will go live on")," ",Object(Jr.createElement)(Di,null),"."):Object(I.__)("is now live.");return Object(Jr.createElement)("div",{className:"post-publish-panel__postpublish"},Object(Jr.createElement)(So.PanelBody,{className:"post-publish-panel__postpublish-header"},Object(Jr.createElement)("a",{ref:this.postLink,href:r.link},r.title||Object(I.__)("(no title)"))," ",a),Object(Jr.createElement)(So.PanelBody,null,Object(Jr.createElement)("p",{className:"post-publish-panel__postpublish-subheader"},Object(Jr.createElement)("strong",null,Object(I.__)("What’s next?"))),Object(Jr.createElement)(So.TextControl,{className:"post-publish-panel__postpublish-post-address",readOnly:!0,label:Object(I.sprintf)(Object(I.__)("%s address"),i),value:Object(Dt.safeDecodeURIComponent)(r.link),onFocus:this.onSelectInput}),Object(Jr.createElement)("div",{className:"post-publish-panel__postpublish-buttons"},!n&&Object(Jr.createElement)(So.Button,{isDefault:!0,href:r.link},c),Object(Jr.createElement)(So.ClipboardButton,{isDefault:!0,text:r.link,onCopy:this.onCopy},this.state.showCopyConfirmation?Object(I.__)("Copied!"):Object(I.__)("Copy Link")))),t)}}]),t}(Jr.Component),Ji=Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getCurrentPost,o=t.isCurrentPostScheduled,i=e("core").getPostType;return{post:r(),postType:i(n("type")),isScheduled:o()}}))(Zi),$i=function(e){function t(){var e;return Object(io.a)(this,t),(e=Object(ao.a)(this,Object(so.a)(t).apply(this,arguments))).onSubmit=e.onSubmit.bind(Object(Eo.a)(e)),e}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"componentDidUpdate",value:function(e){e.isPublished&&!this.props.isSaving&&this.props.isDirty&&this.props.onClose()}},{key:"onSubmit",value:function(){var e=this.props,t=e.onClose,n=e.hasPublishAction,r=e.isPostTypeViewable;n&&r||t()}},{key:"render",value:function(){var e=this.props,t=e.forceIsDirty,n=e.forceIsSaving,r=e.isBeingScheduled,o=e.isPublished,i=e.isPublishSidebarEnabled,c=e.isScheduled,a=e.isSaving,s=e.onClose,u=e.onTogglePublishSidebar,l=e.PostPublishExtension,d=e.PrePublishExtension,p=Object(Lo.a)(e,["forceIsDirty","forceIsSaving","isBeingScheduled","isPublished","isPublishSidebarEnabled","isScheduled","isSaving","onClose","onTogglePublishSidebar","PostPublishExtension","PrePublishExtension"]),b=Object(g.omit)(p,["hasPublishAction","isDirty","isPostTypeViewable"]),f=o||c&&r,h=!f&&!a,m=f&&!a;return Object(Jr.createElement)("div",Object(oi.a)({className:"editor-post-publish-panel"},b),Object(Jr.createElement)("div",{className:"editor-post-publish-panel__header"},m?Object(Jr.createElement)("div",{className:"editor-post-publish-panel__header-published"},c?Object(I.__)("Scheduled"):Object(I.__)("Published")):Object(Jr.createElement)("div",{className:"editor-post-publish-panel__header-publish-button"},Object(Jr.createElement)(Bi,{focusOnMount:!0,onSubmit:this.onSubmit,forceIsDirty:t,forceIsSaving:n}),Object(Jr.createElement)("span",{className:"editor-post-publish-panel__spacer"})),Object(Jr.createElement)(So.IconButton,{"aria-expanded":!0,onClick:s,icon:"no-alt",label:Object(I.__)("Close panel")})),Object(Jr.createElement)("div",{className:"editor-post-publish-panel__content"},h&&Object(Jr.createElement)(Xi,null,d&&Object(Jr.createElement)(d,null)),m&&Object(Jr.createElement)(Ji,{focusOnMount:!0},l&&Object(Jr.createElement)(l,null)),a&&Object(Jr.createElement)(So.Spinner,null)),Object(Jr.createElement)("div",{className:"editor-post-publish-panel__footer"},Object(Jr.createElement)(So.CheckboxControl,{label:Object(I.__)("Always show pre-publish checks."),checked:i,onChange:u})))}}]),t}(Jr.Component),ec=Object(lo.compose)([Object(b.withSelect)((function(e){var t=e("core").getPostType,n=e("core/editor"),r=n.getCurrentPost,o=n.getEditedPostAttribute,i=n.isCurrentPostPublished,c=n.isCurrentPostScheduled,a=n.isEditedPostBeingScheduled,s=n.isEditedPostDirty,u=n.isSavingPost,l=e("core/editor").isPublishSidebarEnabled,d=t(o("type"));return{hasPublishAction:Object(g.get)(r(),["_links","wp:action-publish"],!1),isPostTypeViewable:Object(g.get)(d,["viewable"],!1),isBeingScheduled:a(),isDirty:s(),isPublished:i(),isPublishSidebarEnabled:l(),isSaving:u(),isScheduled:c()}})),Object(b.withDispatch)((function(e,t){var n=t.isPublishSidebarEnabled,r=e("core/editor"),o=r.disablePublishSidebar,i=r.enablePublishSidebar;return{onTogglePublishSidebar:function(){n?o():i()}}})),So.withFocusReturn,So.withConstrainedTabbing])($i);var tc=Object(lo.compose)([Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.isSavingPost,r=t.isCurrentPostPublished,o=t.isCurrentPostScheduled;return{isSaving:n(),isPublished:r(),isScheduled:o()}})),Object(b.withDispatch)((function(e){var t=e("core/editor"),n=t.editPost,r=t.savePost;return{onClick:function(){n({status:"draft"}),r()}}})),Object(d.withViewportMatch)({isMobileViewport:"< small"})])((function(e){var t=e.isSaving,n=e.isPublished,r=e.isScheduled,o=e.onClick,i=e.isMobileViewport;return n||r?Object(Jr.createElement)(So.Button,{className:"editor-post-switch-to-draft",onClick:function(){var e;n?e=Object(I.__)("Are you sure you want to unpublish this post?"):r&&(e=Object(I.__)("Are you sure you want to unschedule this post?")),window.confirm(e)&&o()},disabled:t,isTertiary:!0},i?Object(I.__)("Draft"):Object(I.__)("Switch to Draft")):null})),nc=function(e){function t(){var e;return Object(io.a)(this,t),(e=Object(ao.a)(this,Object(so.a)(t).apply(this,arguments))).state={forceSavedMessage:!1},e}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this;e.isSaving&&!this.props.isSaving&&(this.setState({forceSavedMessage:!0}),this.props.setTimeout((function(){t.setState({forceSavedMessage:!1})}),1e3))}},{key:"render",value:function(){var e=this.props,t=e.post,n=e.isNew,r=e.isScheduled,o=e.isPublished,i=e.isDirty,c=e.isSaving,a=e.isSaveable,s=e.onSave,u=e.isAutosaving,l=e.isPending,d=e.isLargeViewport,p=this.state.forceSavedMessage;if(c){var b=ho()("editor-post-saved-state","is-saving",{"is-autosaving":u});return Object(Jr.createElement)(So.Animate,{type:"loading"},(function(e){var t=e.className;return Object(Jr.createElement)("span",{className:ho()(b,t)},Object(Jr.createElement)(So.Dashicon,{icon:"cloud"}),u?Object(I.__)("Autosaving"):Object(I.__)("Saving"))}))}if(o||r)return Object(Jr.createElement)(tc,null);if(!a)return null;if(p||!n&&!i)return Object(Jr.createElement)("span",{className:"editor-post-saved-state is-saved"},Object(Jr.createElement)(So.Dashicon,{icon:"saved"}),Object(I.__)("Saved"));if(!Object(g.get)(t,["_links","wp:action-publish"],!1)&&l)return null;var f=l?Object(I.__)("Save as Pending"):Object(I.__)("Save Draft");return d?Object(Jr.createElement)(So.Button,{className:"editor-post-save-draft",onClick:function(){return s()},shortcut:wo.displayShortcut.primary("s"),isTertiary:!0},f):Object(Jr.createElement)(So.IconButton,{className:"editor-post-save-draft",label:f,onClick:function(){return s()},shortcut:wo.displayShortcut.primary("s"),icon:"cloud-upload"})}}]),t}(Jr.Component),rc=Object(lo.compose)([Object(b.withSelect)((function(e,t){var n=t.forceIsDirty,r=t.forceIsSaving,o=e("core/editor"),i=o.isEditedPostNew,c=o.isCurrentPostPublished,a=o.isCurrentPostScheduled,s=o.isEditedPostDirty,u=o.isSavingPost,l=o.isEditedPostSaveable,d=o.getCurrentPost,p=o.isAutosavingPost,b=o.getEditedPostAttribute;return{post:d(),isNew:i(),isPublished:c(),isScheduled:a(),isDirty:n||s(),isSaving:r||u(),isSaveable:l(),isAutosaving:p(),isPending:"pending"===b("status")}})),Object(b.withDispatch)((function(e){return{onSave:e("core/editor").savePost}})),lo.withSafeTimeout,Object(d.withViewportMatch)({isLargeViewport:"small"})])(nc);var oc=Object(lo.compose)([Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(g.get)(n(),["_links","wp:action-publish"],!1),postType:r()}}))])((function(e){var t=e.hasPublishAction,n=e.children;return t?n:null}));var ic=Object(lo.compose)([Object(b.withSelect)((function(e){var t=e("core/editor").getCurrentPost();return{hasStickyAction:Object(g.get)(t,["_links","wp:action-sticky"],!1),postType:e("core/editor").getCurrentPostType()}}))])((function(e){var t=e.hasStickyAction,n=e.postType,r=e.children;return"post"===n&&t?r:null}));var cc=Object(lo.compose)([Object(b.withSelect)((function(e){return{postSticky:e("core/editor").getEditedPostAttribute("sticky")}})),Object(b.withDispatch)((function(e){return{onUpdateSticky:function(t){e("core/editor").editPost({sticky:t})}}}))])((function(e){var t=e.onUpdateSticky,n=e.postSticky,r=void 0!==n&&n;return Object(Jr.createElement)(ic,null,Object(Jr.createElement)(So.CheckboxControl,{label:Object(I.__)("Stick to the top of the blog"),checked:r,onChange:function(){return t(!r)}}))})),ac={per_page:-1,orderby:"name",order:"asc",_fields:"id,name,parent"},sc=function(e){function t(){var e;return Object(io.a)(this,t),(e=Object(ao.a)(this,Object(so.a)(t).apply(this,arguments))).findTerm=e.findTerm.bind(Object(Eo.a)(e)),e.onChange=e.onChange.bind(Object(Eo.a)(e)),e.onChangeFormName=e.onChangeFormName.bind(Object(Eo.a)(e)),e.onChangeFormParent=e.onChangeFormParent.bind(Object(Eo.a)(e)),e.onAddTerm=e.onAddTerm.bind(Object(Eo.a)(e)),e.onToggleForm=e.onToggleForm.bind(Object(Eo.a)(e)),e.setFilterValue=e.setFilterValue.bind(Object(Eo.a)(e)),e.sortBySelected=e.sortBySelected.bind(Object(Eo.a)(e)),e.state={loading:!0,availableTermsTree:[],availableTerms:[],adding:!1,formName:"",formParent:"",showForm:!1,filterValue:"",filteredTermsTree:[]},e}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"onChange",value:function(e){var t=this.props,n=t.onUpdateTerms,r=t.terms,o=void 0===r?[]:r,i=t.taxonomy;n(-1!==o.indexOf(e)?Object(g.without)(o,e):[].concat(Object(R.a)(o),[e]),i.rest_base)}},{key:"onChangeFormName",value:function(e){var t=""===e.target.value.trim()?"":e.target.value;this.setState({formName:t})}},{key:"onChangeFormParent",value:function(e){this.setState({formParent:e})}},{key:"onToggleForm",value:function(){this.setState((function(e){return{showForm:!e.showForm}}))}},{key:"findTerm",value:function(e,t,n){return Object(g.find)(e,(function(e){return(!e.parent&&!t||parseInt(e.parent)===parseInt(t))&&e.name.toLowerCase()===n.toLowerCase()}))}},{key:"onAddTerm",value:function(e){var t=this;e.preventDefault();var n=this.props,r=n.onUpdateTerms,o=n.taxonomy,i=n.terms,c=n.slug,a=this.state,s=a.formName,u=a.formParent,l=a.adding,d=a.availableTerms;if(""!==s&&!l){var b=this.findTerm(d,u,s);if(b)return Object(g.some)(i,(function(e){return e===b.id}))||r([].concat(Object(R.a)(i),[b.id]),o.rest_base),void this.setState({formName:"",formParent:""});this.setState({adding:!0}),this.addRequest=B()({path:"/wp/v2/".concat(o.rest_base),method:"POST",data:{name:s,parent:u||void 0}}),this.addRequest.catch((function(e){return"term_exists"===e.code?(t.addRequest=B()({path:Object(Dt.addQueryArgs)("/wp/v2/".concat(o.rest_base),Object(p.a)({},ac,{parent:u||0,search:s}))}),t.addRequest.then((function(e){return t.findTerm(e,u,s)}))):Promise.reject(e)})).then((function(e){var n=!!Object(g.find)(t.state.availableTerms,(function(t){return t.id===e.id}))?t.state.availableTerms:[e].concat(Object(R.a)(t.state.availableTerms)),a=Object(I.sprintf)(Object(I._x)("%s added","term"),Object(g.get)(t.props.taxonomy,["labels","singular_name"],"category"===c?Object(I.__)("Category"):Object(I.__)("Term")));t.props.speak(a,"assertive"),t.addRequest=null,t.setState({adding:!1,formName:"",formParent:"",availableTerms:n,availableTermsTree:t.sortBySelected(qo(n))}),r([].concat(Object(R.a)(i),[e.id]),o.rest_base)}),(function(e){"abort"!==e.statusText&&(t.addRequest=null,t.setState({adding:!1}))}))}}},{key:"componentDidMount",value:function(){this.fetchTerms()}},{key:"componentWillUnmount",value:function(){Object(g.invoke)(this.fetchRequest,["abort"]),Object(g.invoke)(this.addRequest,["abort"])}},{key:"componentDidUpdate",value:function(e){this.props.taxonomy!==e.taxonomy&&this.fetchTerms()}},{key:"fetchTerms",value:function(){var e=this,t=this.props.taxonomy;t&&(this.fetchRequest=B()({path:Object(Dt.addQueryArgs)("/wp/v2/".concat(t.rest_base),ac)}),this.fetchRequest.then((function(t){var n=e.sortBySelected(qo(t));e.fetchRequest=null,e.setState({loading:!1,availableTermsTree:n,availableTerms:t})}),(function(t){"abort"!==t.statusText&&(e.fetchRequest=null,e.setState({loading:!1}))})))}},{key:"sortBySelected",value:function(e){var t=this.props.terms,n=function e(n){return-1!==t.indexOf(n.id)||void 0!==n.children&&!!(n.children.map(e).filter((function(e){return e})).length>0)};return e.sort((function(e,t){var r=n(e),o=n(t);return r===o?0:r&&!o?-1:!r&&o?1:0})),e}},{key:"setFilterValue",value:function(e){var t=this.state.availableTermsTree,n=e.target.value,r=t.map(this.getFilterMatcher(n)).filter((function(e){return e}));this.setState({filterValue:n,filteredTermsTree:r});var o=function e(t){for(var n=0,r=0;r0&&(r.children=r.children.map(t).filter((function(e){return e}))),(-1!==r.name.toLowerCase().indexOf(e.toLowerCase())||r.children.length>0)&&r}}},{key:"renderTerms",value:function(e){var t=this,n=this.props.terms,r=void 0===n?[]:n;return e.map((function(e){return Object(Jr.createElement)("div",{key:e.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},Object(Jr.createElement)(So.CheckboxControl,{checked:-1!==r.indexOf(e.id),onChange:function(){var n=parseInt(e.id,10);t.onChange(n)},label:Object(g.unescape)(e.name)}),!!e.children.length&&Object(Jr.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-subchoices"},t.renderTerms(e.children)))}))}},{key:"render",value:function(){var e=this.props,t=e.slug,n=e.taxonomy,r=e.instanceId,o=e.hasCreateAction;if(!e.hasAssignAction)return null;var i=this.state,c=i.availableTermsTree,a=i.availableTerms,s=i.filteredTermsTree,u=i.formName,l=i.formParent,d=i.loading,p=i.showForm,b=i.filterValue,f=function(e,r,o){return Object(g.get)(n,["labels",e],"category"===t?r:o)},h=f("add_new_item",Object(I.__)("Add new category"),Object(I.__)("Add new term")),m=f("new_item_name",Object(I.__)("Add new category"),Object(I.__)("Add new term")),v=f("parent_item",Object(I.__)("Parent Category"),Object(I.__)("Parent Term")),O="— ".concat(v," —"),j=h,y="editor-post-taxonomies__hierarchical-terms-input-".concat(r),_="editor-post-taxonomies__hierarchical-terms-filter-".concat(r),k=Object(g.get)(this.props.taxonomy,["labels","search_items"],Object(I.__)("Search Terms")),E=Object(g.get)(this.props.taxonomy,["name"],Object(I.__)("Terms")),S=a.length>=8;return[S&&Object(Jr.createElement)("label",{key:"filter-label",htmlFor:_},k),S&&Object(Jr.createElement)("input",{type:"search",id:_,value:b,onChange:this.setFilterValue,className:"editor-post-taxonomies__hierarchical-terms-filter",key:"term-filter-input"}),Object(Jr.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-list",key:"term-list",tabIndex:"0",role:"group","aria-label":E},this.renderTerms(""!==b?s:c)),!d&&o&&Object(Jr.createElement)(So.Button,{key:"term-add-button",onClick:this.onToggleForm,className:"editor-post-taxonomies__hierarchical-terms-add","aria-expanded":p,isLink:!0},h),p&&Object(Jr.createElement)("form",{onSubmit:this.onAddTerm,key:"hierarchical-terms-form"},Object(Jr.createElement)("label",{htmlFor:y,className:"editor-post-taxonomies__hierarchical-terms-label"},m),Object(Jr.createElement)("input",{type:"text",id:y,className:"editor-post-taxonomies__hierarchical-terms-input",value:u,onChange:this.onChangeFormName,required:!0}),!!a.length&&Object(Jr.createElement)(So.TreeSelect,{label:v,noOptionLabel:O,onChange:this.onChangeFormParent,selectedId:l,tree:c}),Object(Jr.createElement)(So.Button,{isDefault:!0,type:"submit",className:"editor-post-taxonomies__hierarchical-terms-submit"},j))]}}]),t}(Jr.Component),uc=Object(lo.compose)([Object(b.withSelect)((function(e,t){var n=t.slug,r=e("core/editor").getCurrentPost,o=(0,e("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(g.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(g.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?e("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}})),Object(b.withDispatch)((function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(Object(h.a)({},n,t))}}})),So.withSpokenMessages,lo.withInstanceId,Object(So.withFilters)("editor.PostTaxonomyType")])(sc);var lc=Object(lo.compose)([Object(b.withSelect)((function(e){return{postType:e("core/editor").getCurrentPostType(),taxonomies:e("core").getTaxonomies({per_page:-1})}}))])((function(e){var t=e.postType,n=e.taxonomies,r=e.taxonomyWrapper,o=void 0===r?g.identity:r,i=Object(g.filter)(n,(function(e){return Object(g.includes)(e.types,t)}));return Object(g.filter)(i,(function(e){return e.visibility.show_ui})).map((function(e){var t=e.hierarchical?uc:zi;return Object(Jr.createElement)(Jr.Fragment,{key:"taxonomy-".concat(e.slug)},o(Object(Jr.createElement)(t,{slug:e.slug}),e))}))}));var dc=Object(lo.compose)([Object(b.withSelect)((function(e){return{postType:e("core/editor").getCurrentPostType(),taxonomies:e("core").getTaxonomies({per_page:-1})}}))])((function(e){var t=e.postType,n=e.taxonomies,r=e.children;return Object(g.some)(n,(function(e){return Object(g.includes)(e.types,t)}))?r:null})),pc=n(61),bc=n.n(pc),fc=function(e){function t(){var e;return Object(io.a)(this,t),(e=Object(ao.a)(this,Object(so.a)(t).apply(this,arguments))).edit=e.edit.bind(Object(Eo.a)(e)),e.stopEditing=e.stopEditing.bind(Object(Eo.a)(e)),e.state={},e}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"edit",value:function(e){var t=e.target.value;this.props.onChange(t),this.setState({value:t,isDirty:!0})}},{key:"stopEditing",value:function(){this.state.isDirty&&(this.props.onPersist(this.state.value),this.setState({isDirty:!1}))}},{key:"render",value:function(){var e=this.state.value,t=this.props.instanceId;return Object(Jr.createElement)(Jr.Fragment,null,Object(Jr.createElement)("label",{htmlFor:"post-content-".concat(t),className:"screen-reader-text"},Object(I.__)("Type text or HTML")),Object(Jr.createElement)(bc.a,{autoComplete:"off",dir:"auto",value:e,onChange:this.edit,onBlur:this.stopEditing,className:"editor-post-text-editor",id:"post-content-".concat(t),placeholder:Object(I.__)("Start writing with text or HTML")}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return t.isDirty?null:{value:e.value,isDirty:!1}}}]),t}(Jr.Component),hc=Object(lo.compose)([Object(b.withSelect)((function(e){return{value:(0,e("core/editor").getEditedPostContent)()}})),Object(b.withDispatch)((function(e){var t=e("core/editor"),n=t.editPost,r=t.resetEditorBlocks;return{onChange:function(e){n({content:e})},onPersist:function(e){var t=Object(s.parse)(e);r(t)}}})),lo.withInstanceId])(fc),mc=function(e){function t(e){var n,r=e.permalinkParts,o=e.slug;return Object(io.a)(this,t),(n=Object(ao.a)(this,Object(so.a)(t).apply(this,arguments))).state={editedPostName:o||r.postName},n.onSavePermalink=n.onSavePermalink.bind(Object(Eo.a)(n)),n}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"onSavePermalink",value:function(e){var t=ji(this.state.editedPostName);e.preventDefault(),this.props.onSave(),t!==this.props.postName&&(this.props.editPost({slug:t}),this.setState({editedPostName:t}))}},{key:"render",value:function(){var e=this,t=this.props.permalinkParts,n=t.prefix,r=t.suffix,o=this.state.editedPostName;return Object(Jr.createElement)("form",{className:"editor-post-permalink-editor",onSubmit:this.onSavePermalink},Object(Jr.createElement)("span",{className:"editor-post-permalink__editor-container"},Object(Jr.createElement)("span",{className:"editor-post-permalink-editor__prefix"},n),Object(Jr.createElement)("input",{className:"editor-post-permalink-editor__edit","aria-label":Object(I.__)("Edit post permalink"),value:o,onChange:function(t){return e.setState({editedPostName:t.target.value})},type:"text",autoFocus:!0}),Object(Jr.createElement)("span",{className:"editor-post-permalink-editor__suffix"},r),"‎"),Object(Jr.createElement)(So.Button,{className:"editor-post-permalink-editor__save",isLarge:!0,onClick:this.onSavePermalink},Object(I.__)("Save")))}}]),t}(Jr.Component),vc=Object(lo.compose)([Object(b.withSelect)((function(e){return{permalinkParts:(0,e("core/editor").getPermalinkParts)()}})),Object(b.withDispatch)((function(e){return{editPost:e("core/editor").editPost}}))])(mc),Oc=function(e){function t(){var e;return Object(io.a)(this,t),(e=Object(ao.a)(this,Object(so.a)(t).apply(this,arguments))).addVisibilityCheck=e.addVisibilityCheck.bind(Object(Eo.a)(e)),e.onVisibilityChange=e.onVisibilityChange.bind(Object(Eo.a)(e)),e.state={isCopied:!1,isEditingPermalink:!1},e}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"addVisibilityCheck",value:function(){window.addEventListener("visibilitychange",this.onVisibilityChange)}},{key:"onVisibilityChange",value:function(){var e=this.props,t=e.isEditable,n=e.refreshPost;t||"visible"!==document.visibilityState||n()}},{key:"componentDidUpdate",value:function(e,t){t.isEditingPermalink&&!this.state.isEditingPermalink&&this.linkElement.focus()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("visibilitychange",this.addVisibilityCheck)}},{key:"render",value:function(){var e=this,t=this.props,n=t.isEditable,r=t.isNew,o=t.isPublished,i=t.isViewable,c=t.permalinkParts,a=t.postLink,s=t.postSlug,u=t.postID,l=t.postTitle;if(r||!i||!c||!a)return null;var d=this.state,p=d.isCopied,b=d.isEditingPermalink,f=p?Object(I.__)("Permalink copied"):Object(I.__)("Copy the permalink"),h=c.prefix,m=c.suffix,v=Object(Dt.safeDecodeURIComponent)(s)||ji(l)||u,O=n?h+v+m:h;return Object(Jr.createElement)("div",{className:"editor-post-permalink"},Object(Jr.createElement)(So.ClipboardButton,{className:ho()("editor-post-permalink__copy",{"is-copied":p}),text:O,label:f,onCopy:function(){return e.setState({isCopied:!0})},"aria-disabled":p,icon:"admin-links"}),Object(Jr.createElement)("span",{className:"editor-post-permalink__label"},Object(I.__)("Permalink:")),!b&&Object(Jr.createElement)(So.ExternalLink,{className:"editor-post-permalink__link",href:o?O:a,target:"_blank",ref:function(t){return e.linkElement=t}},Object(Dt.safeDecodeURI)(O),"‎"),b&&Object(Jr.createElement)(vc,{slug:v,onSave:function(){return e.setState({isEditingPermalink:!1})}}),n&&!b&&Object(Jr.createElement)(So.Button,{className:"editor-post-permalink__edit",isLarge:!0,onClick:function(){return e.setState({isEditingPermalink:!0})}},Object(I.__)("Edit")))}}]),t}(Jr.Component),gc=Object(lo.compose)([Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.isEditedPostNew,r=t.isPermalinkEditable,o=t.getCurrentPost,i=t.getPermalinkParts,c=t.getEditedPostAttribute,a=t.isCurrentPostPublished,s=e("core").getPostType,u=o(),l=u.id,d=u.link,p=s(c("type"));return{isNew:n(),postLink:d,permalinkParts:i(),postSlug:c("slug"),isEditable:r(),isPublished:a(),postTitle:c("title"),postID:l,isViewable:Object(g.get)(p,["viewable"],!1)}})),Object(b.withDispatch)((function(e){return{refreshPost:e("core/editor").refreshPost}}))])(Oc),jc=/[\r\n]+/g,yc=function(e){function t(){var e;return Object(io.a)(this,t),(e=Object(ao.a)(this,Object(so.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(Eo.a)(e)),e.onSelect=e.onSelect.bind(Object(Eo.a)(e)),e.onUnselect=e.onUnselect.bind(Object(Eo.a)(e)),e.onKeyDown=e.onKeyDown.bind(Object(Eo.a)(e)),e.redirectHistory=e.redirectHistory.bind(Object(Eo.a)(e)),e.state={isSelected:!1},e}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"handleFocusOutside",value:function(){this.onUnselect()}},{key:"onSelect",value:function(){this.setState({isSelected:!0}),this.props.clearSelectedBlock()}},{key:"onUnselect",value:function(){this.setState({isSelected:!1})}},{key:"onChange",value:function(e){var t=e.target.value.replace(jc," ");this.props.onUpdate(t)}},{key:"onKeyDown",value:function(e){e.keyCode===wo.ENTER&&(e.preventDefault(),this.props.onEnterPress())}},{key:"redirectHistory",value:function(e){e.shiftKey?this.props.onRedo():this.props.onUndo(),e.preventDefault()}},{key:"render",value:function(){var e=this.props,t=e.hasFixedToolbar,n=e.isCleanNewPost,r=e.isFocusMode,o=e.isPostTypeViewable,i=e.instanceId,c=e.placeholder,a=e.title,s=this.state.isSelected,u=ho()("wp-block editor-post-title__block",{"is-selected":s,"is-focus-mode":r,"has-fixed-toolbar":t}),l=Object(Jo.decodeEntities)(c);return Object(Jr.createElement)(Wo,{supportKeys:"title"},Object(Jr.createElement)("div",{className:"editor-post-title"},Object(Jr.createElement)("div",{className:u},Object(Jr.createElement)(So.KeyboardShortcuts,{shortcuts:{"mod+z":this.redirectHistory,"mod+shift+z":this.redirectHistory}},Object(Jr.createElement)("label",{htmlFor:"post-title-".concat(i),className:"screen-reader-text"},l||Object(I.__)("Add title")),Object(Jr.createElement)(bc.a,{id:"post-title-".concat(i),className:"editor-post-title__input",value:a,onChange:this.onChange,placeholder:l||Object(I.__)("Add title"),onFocus:this.onSelect,onKeyDown:this.onKeyDown,onKeyPress:this.onUnselect,autoFocus:document.body===document.activeElement&&n})),s&&o&&Object(Jr.createElement)(gc,null))))}}]),t}(Jr.Component),_c=Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.isCleanNewPost,o=e("core/block-editor").getSettings,i=(0,e("core").getPostType)(n("type")),c=o(),a=c.titlePlaceholder,s=c.focusMode,u=c.hasFixedToolbar;return{isCleanNewPost:r(),title:n("title"),isPostTypeViewable:Object(g.get)(i,["viewable"],!1),placeholder:a,isFocusMode:s,hasFixedToolbar:u}})),kc=Object(b.withDispatch)((function(e){var t=e("core/block-editor"),n=t.insertDefaultBlock,r=t.clearSelectedBlock,o=e("core/editor"),i=o.editPost;return{onEnterPress:function(){n(void 0,void 0,0)},onUpdate:function(e){i({title:e})},onUndo:o.undo,onRedo:o.redo,clearSelectedBlock:r}})),Ec=Object(lo.compose)(_c,kc,lo.withInstanceId,So.withFocusOutside)(yc);var Sc=Object(lo.compose)([Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.isEditedPostNew,r=t.getCurrentPostId,o=t.getCurrentPostType;return{isNew:n(),postId:r(),postType:o()}})),Object(b.withDispatch)((function(e){return{trashPost:e("core/editor").trashPost}}))])((function(e){var t=e.isNew,n=e.postId,r=e.postType,o=Object(Lo.a)(e,["isNew","postId","postType"]);return t||!n?null:Object(Jr.createElement)(So.Button,{className:"editor-post-trash button-link-delete",onClick:function(){return o.trashPost(n,r)},isDefault:!0,isLarge:!0},Object(I.__)("Move to Trash"))}));var wc=Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.isEditedPostNew,r=t.getCurrentPostId;return{isNew:n(),postId:r()}}))((function(e){var t=e.isNew,n=e.postId,r=e.children;return t||!n?null:r}));var Pc=Object(lo.compose)([Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(g.get)(n(),["_links","wp:action-publish"],!1),postType:r()}}))])((function(e){var t=e.hasPublishAction;return(0,e.render)({canEdit:t})})),Cc=n(96);var Tc=Object(b.withSelect)((function(e){return{content:e("core/editor").getEditedPostAttribute("content")}}))((function(e){var t=e.content,n=Object(I._x)("words","Word count type. Do not translate!");return Object(Jr.createElement)("span",{className:"word-count"},Object(Cc.count)(t,n))}));var xc=Object(b.withSelect)((function(e){var t=e("core/block-editor").getGlobalBlockCount;return{headingCount:t("core/heading"),paragraphCount:t("core/paragraph"),numberOfBlocks:t()}}))((function(e){var t=e.headingCount,n=e.paragraphCount,r=e.numberOfBlocks,o=e.hasOutlineItemsDisabled,i=e.onRequestClose;return(Object(Jr.createElement)(Jr.Fragment,null,Object(Jr.createElement)("div",{className:"table-of-contents__wrapper",role:"note","aria-label":Object(I.__)("Document Statistics"),tabIndex:"0"},Object(Jr.createElement)("ul",{role:"list",className:"table-of-contents__counts"},Object(Jr.createElement)("li",{className:"table-of-contents__count"},Object(I.__)("Words"),Object(Jr.createElement)(Tc,null)),Object(Jr.createElement)("li",{className:"table-of-contents__count"},Object(I.__)("Headings"),Object(Jr.createElement)("span",{className:"table-of-contents__number"},t)),Object(Jr.createElement)("li",{className:"table-of-contents__count"},Object(I.__)("Paragraphs"),Object(Jr.createElement)("span",{className:"table-of-contents__number"},n)),Object(Jr.createElement)("li",{className:"table-of-contents__count"},Object(I.__)("Blocks"),Object(Jr.createElement)("span",{className:"table-of-contents__number"},r)))),t>0&&Object(Jr.createElement)(Jr.Fragment,null,Object(Jr.createElement)("hr",null),Object(Jr.createElement)("h2",{className:"table-of-contents__title"},Object(I.__)("Document Outline")),Object(Jr.createElement)(_o,{onSelect:i,hasOutlineItemsDisabled:o}))))}));var Bc=Object(b.withSelect)((function(e){return{hasBlocks:!!e("core/block-editor").getBlockCount()}}))((function(e){var t=e.hasBlocks,n=e.hasOutlineItemsDisabled;return Object(Jr.createElement)(So.Dropdown,{position:"bottom",className:"table-of-contents",contentClassName:"table-of-contents__popover",renderToggle:function(e){var n=e.isOpen,r=e.onToggle;return Object(Jr.createElement)(So.IconButton,{onClick:t?r:void 0,icon:"info-outline","aria-expanded":n,label:Object(I.__)("Content structure"),labelPosition:"bottom","aria-disabled":!t})},renderContent:function(e){var t=e.onClose;return Object(Jr.createElement)(xc,{onRequestClose:t,hasOutlineItemsDisabled:n})}})})),Ic=function(e){function t(){var e;return Object(io.a)(this,t),(e=Object(ao.a)(this,Object(so.a)(t).apply(this,arguments))).warnIfUnsavedChanges=e.warnIfUnsavedChanges.bind(Object(Eo.a)(e)),e}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("beforeunload",this.warnIfUnsavedChanges)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("beforeunload",this.warnIfUnsavedChanges)}},{key:"warnIfUnsavedChanges",value:function(e){if((0,this.props.isEditedPostDirty)())return e.returnValue=Object(I.__)("You have unsaved changes. If you proceed, they will be lost."),e.returnValue}},{key:"render",value:function(){return null}}]),t}(Jr.Component),Ac=Object(b.withSelect)((function(e){return{isEditedPostDirty:e("core/editor").isEditedPostDirty}}))(Ic),Rc=Object(lo.createHigherOrderComponent)((function(e){return Object(b.withRegistry)((function(t){var n=t.useSubRegistry,r=void 0===n||n,o=t.registry,i=Object(Lo.a)(t,["useSubRegistry","registry"]);if(!r)return Object(Jr.createElement)(e,i);var c=Object(Jr.useState)(null),s=Object(A.a)(c,2),u=s[0],l=s[1];return Object(Jr.useEffect)((function(){var e=Object(b.createRegistry)({"core/block-editor":a.storeConfig},o),t=e.registerStore("core/editor",Qr);Yr(t),l(e)}),[o]),u?Object(Jr.createElement)(b.RegistryProvider,{value:u},Object(Jr.createElement)(e,i)):null}))}),"withRegistryProvider"),Lc=n(98),Nc=function(e){var t=e.additionalData,n=void 0===t?{}:t,r=e.allowedTypes,o=e.filesList,i=e.maxUploadFileSize,c=e.onError,a=void 0===c?g.noop:c,s=e.onFileChange,u=Object(b.select)("core/editor"),l=u.getCurrentPostId,d=u.getEditorSettings,f=d().allowedMimeTypes;i=i||d().maxUploadFileSize,Object(Lc.uploadMedia)({allowedTypes:r,filesList:o,onFileChange:s,additionalData:Object(p.a)({post:l()},n),maxUploadFileSize:i,onError:function(e){var t=e.message;return a(t)},wpAllowedMimeTypes:f})};var Dc=Object(lo.compose)([Object(b.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlocksByClientId,i=r.canInsertBlockType,c=e("core/editor").__experimentalGetReusableBlock,a=e("core").canUser,u=o(n),l=1===u.length&&u[0]&&Object(s.isReusableBlock)(u[0])&&!!c(u[0].attributes.ref);return{isReusable:l,isVisible:l||i("core/block")&&Object(g.every)(u,(function(e){return!!e&&e.isValid&&Object(s.hasBlockSupport)(e.name,"reusable",!0)}))&&!!a("create","blocks")}})),Object(b.withDispatch)((function(e,t){var n=t.clientIds,r=t.onToggle,o=void 0===r?g.noop:r,i=e("core/editor"),c=i.__experimentalConvertBlockToReusable,a=i.__experimentalConvertBlockToStatic;return{onConvertToStatic:function(){1===n.length&&(a(n[0]),o())},onConvertToReusable:function(){c(n),o()}}}))])((function(e){var t=e.isVisible,n=e.isReusable,r=e.onConvertToStatic,o=e.onConvertToReusable;return t?Object(Jr.createElement)(Jr.Fragment,null,!n&&Object(Jr.createElement)(So.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"controls-repeat",onClick:o},Object(I.__)("Add to Reusable Blocks")),n&&Object(Jr.createElement)(So.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"controls-repeat",onClick:r},Object(I.__)("Convert to Regular Block"))):null}));var Uc=Object(lo.compose)([Object(b.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock,o=e("core").canUser,i=e("core/editor").__experimentalGetReusableBlock,c=r(n),a=c&&Object(s.isReusableBlock)(c)?i(c.attributes.ref):null;return{isVisible:!!a&&!!o("delete","blocks",a.id),isDisabled:a&&a.isTemporary}})),Object(b.withDispatch)((function(e,t,n){var r=t.clientId,o=t.onToggle,i=void 0===o?g.noop:o,c=n.select,a=e("core/editor").__experimentalDeleteReusableBlock,s=c("core/block-editor").getBlock;return{onDelete:function(){if(window.confirm(Object(I.__)("Are you sure you want to delete this Reusable Block?\n\nIt will be permanently removed from all posts and pages that use it."))){var e=s(r);a(e.attributes.ref),i()}}}}))])((function(e){var t=e.isVisible,n=e.isDisabled,r=e.onDelete;return t?Object(Jr.createElement)(So.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"no",disabled:n,onClick:function(){return r()}},Object(I.__)("Remove from Reusable Blocks")):null}));var Fc=Object(b.withSelect)((function(e){return{clientIds:(0,e("core/block-editor").getSelectedBlockClientIds)()}}))((function(e){var t=e.clientIds;return Object(Jr.createElement)(a.__experimentalBlockSettingsMenuPluginsExtension,null,(function(e){var n=e.onClose;return Object(Jr.createElement)(Jr.Fragment,null,Object(Jr.createElement)(Dc,{clientIds:t,onToggle:n}),1===t.length&&Object(Jr.createElement)(Uc,{clientId:t[0],onToggle:n}))}))})),Mc=Object(Jr.createElement)(So.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(Jr.createElement)(So.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M8 5a1 1 0 0 0-1 1v3H6a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-3h1a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H8zm3 6H7v2h4v-2zM9 9V7h4v2H9z"}),Object(Jr.createElement)(So.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M1 3a2 2 0 0 0 1 1.732v10.536A2 2 0 1 0 4.732 18h10.536A2 2 0 1 0 18 15.268V4.732A2 2 0 1 0 15.268 2H4.732A2 2 0 0 0 1 3zm14.268 1H4.732A2.01 2.01 0 0 1 4 4.732v10.536c.304.175.557.428.732.732h10.536a2.01 2.01 0 0 1 .732-.732V4.732A2.01 2.01 0 0 1 15.268 4z"})),Vc=Object(Jr.createElement)(So.Icon,{icon:Mc}),Hc=Object(Jr.createElement)(So.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(Jr.createElement)(So.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9 2H15C16.1 2 17 2.9 17 4V7C17 8.1 16.1 9 15 9H9C7.9 9 7 8.1 7 7V4C7 2.9 7.9 2 9 2ZM9 7H15V4H9V7Z"}),Object(Jr.createElement)(So.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11H11C12.1 11 13 11.9 13 13V16C13 17.1 12.1 18 11 18H5C3.9 18 3 17.1 3 16V13C3 11.9 3.9 11 5 11ZM5 16H11V13H5V16Z"})),zc=Object(Jr.createElement)(So.Icon,{icon:Hc});var Wc=Object(lo.compose)([Object(b.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlockRootClientId,i=r.getBlocksByClientId,c=r.canInsertBlockType,a=(0,e("core/blocks").getGroupingBlockName)(),s=c(a,n&&n.length>0?o(n[0]):void 0),u=i(n),l=1===u.length&&u[0]&&u[0].name===a;return{isGroupable:s&&u.length&&!l,isUngroupable:l&&!!u[0].innerBlocks.length,blocksSelection:u,groupingBlockName:a}})),Object(b.withDispatch)((function(e,t){var n=t.clientIds,r=t.onToggle,o=void 0===r?g.noop:r,i=t.blocksSelection,c=void 0===i?[]:i,a=t.groupingBlockName,u=e("core/block-editor").replaceBlocks;return{onConvertToGroup:function(){if(c.length){var e=Object(s.switchToBlockType)(c,a);e&&u(n,e),o()}},onConvertFromGroup:function(){if(c.length){var e=c[0].innerBlocks;e.length&&(u(n,e),o())}}}}))])((function(e){var t=e.onConvertToGroup,n=e.onConvertFromGroup,r=e.isGroupable,o=void 0!==r&&r,i=e.isUngroupable,c=void 0!==i&&i;return Object(Jr.createElement)(Jr.Fragment,null,o&&Object(Jr.createElement)(So.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:Vc,onClick:t},Object(I._x)("Group","verb")),c&&Object(Jr.createElement)(So.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:zc,onClick:n},Object(I._x)("Ungroup","Ungrouping blocks from within a Group block back into individual blocks within the Editor ")))}));var Kc=Object(b.withSelect)((function(e){return{clientIds:(0,e("core/block-editor").getSelectedBlockClientIds)()}}))((function(e){var t=e.clientIds;return Object(Jr.createElement)(a.__experimentalBlockSettingsMenuPluginsExtension,null,(function(e){var n=e.onClose;return Object(Jr.createElement)(Jr.Fragment,null,Object(Jr.createElement)(Wc,{clientIds:t,onToggle:n}))}))})),Gc=n(231);var qc=function(){var e=Object(Jr.useState)(""),t=Object(A.a)(e,2),n=t[0],r=t[1],o=Object(g.debounce)(r,400);return Object(Jr.createElement)(a.__experimentalInserterMenuExtension,null,(function(e){var t=e.onSelect,r=e.onHover,i=e.filterValue;return e.hasItems||!i?null:(n!==i&&o(i),Object(Jr.createElement)(Gc.DownloadableBlocksPanel,{onSelect:t,onHover:r,filterValue:n,isWaiting:i!==n}))}))},Yc=function(){var e=Object(T.a)(C.a.mark((function e(t){var n;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,B()({path:Object(Dt.addQueryArgs)("/wp/v2/search",{search:t,per_page:20,type:"post"})});case 2:return n=e.sent,e.abrupt("return",Object(g.map)(n,(function(e){return{id:e.id,url:e.url,title:Object(Jo.decodeEntities)(e.title)||Object(I.__)("(no title)")}})));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Qc=function(e){function t(e){var n;return Object(io.a)(this,t),(n=Object(ao.a)(this,Object(so.a)(t).apply(this,arguments))).getBlockEditorSettings=X()(n.getBlockEditorSettings,{maxSize:1}),e.recovery?Object(ao.a)(n):(e.updatePostLock(e.settings.postLock),e.setupEditor(e.post,e.initialEdits,e.settings.template),e.settings.autosave&&e.createWarningNotice(Object(I.__)("There is an autosave of this post that is more recent than the version below."),{id:"autosave-exists",actions:[{label:Object(I.__)("View the autosave"),url:e.settings.autosave.editLink}]}),n)}return Object(uo.a)(t,e),Object(co.a)(t,[{key:"getBlockEditorSettings",value:function(e,t,n,r){return Object(p.a)({},Object(g.pick)(e,["alignWide","allowedBlockTypes","__experimentalPreferredStyleVariations","availableLegacyWidgets","bodyPlaceholder","codeEditingEnabled","colors","disableCustomColors","disableCustomFontSizes","focusMode","fontSizes","hasFixedToolbar","hasPermissionsToManageWidgets","imageSizes","isRTL","maxWidth","styles","template","templateLock","titlePlaceholder","onUpdateDefaultBlockStyles","__experimentalEnableLegacyWidgetBlock","__experimentalEnableMenuBlock","__experimentalBlockDirectory","showInserterHelpPanel"]),{__experimentalReusableBlocks:t,__experimentalMediaUpload:n?Nc:void 0,__experimentalFetchLinkSuggestions:Yc,__experimentalCanUserUseUnfilteredHTML:r})}},{key:"componentDidMount",value:function(){if(this.props.updateEditorSettings(this.props.settings),this.props.settings.styles){var e=Object(a.transformStyles)(this.props.settings.styles,".editor-styles-wrapper");Object(g.map)(e,(function(e){if(e){var t=document.createElement("style");t.innerHTML=e,document.body.appendChild(t)}}))}}},{key:"componentDidUpdate",value:function(e){var t=this;this.props.settings!==e.settings&&this.props.updateEditorSettings(this.props.settings),Object(g.isEqual)(this.props.downloadableBlocksToUninstall,e.downloadableBlocksToUninstall)||this.props.downloadableBlocksToUninstall.forEach((function(e){t.props.uninstallBlock(e,g.noop,(function(){t.props.createWarningNotice(Object(I.__)("Block previews can't uninstall."),{id:"block-uninstall-error"})})),Object(s.unregisterBlockType)(e.name)}))}},{key:"componentWillUnmount",value:function(){this.props.tearDownEditor()}},{key:"render",value:function(){var e=this.props,t=e.canUserUseUnfilteredHTML,n=e.children,r=e.blocks,o=e.resetEditorBlocks,i=e.isReady,c=e.settings,s=e.reusableBlocks,u=e.resetEditorBlocksWithoutUndoLevel,l=e.hasUploadPermissions;if(!i)return null;var d=this.getBlockEditorSettings(c,s,l,t);return Object(Jr.createElement)(a.BlockEditorProvider,{value:r,onInput:u,onChange:o,settings:d,useSubRegistry:!1},n,Object(Jr.createElement)(Fc,null),Object(Jr.createElement)(Kc,null),d.__experimentalBlockDirectory&&Object(Jr.createElement)(qc,null))}}]),t}(Jr.Component),Xc=Object(lo.compose)([Rc,Object(b.withSelect)((function(e){var t=e("core/editor"),n=t.canUserUseUnfilteredHTML,r=t.__unstableIsEditorReady,o=t.getEditorBlocks,i=t.__experimentalGetReusableBlocks,c=e("core").canUser,a=e("core/block-directory").getInstalledBlockTypes,s=e("core/block-editor").getBlocks,u=Object(g.differenceBy)(a(),s(),"name");return{canUserUseUnfilteredHTML:n(),isReady:r(),blocks:o(),reusableBlocks:i(),hasUploadPermissions:Object(g.defaultTo)(c("create","media"),!0),downloadableBlocksToUninstall:u}})),Object(b.withDispatch)((function(e){var t=e("core/editor"),n=t.setupEditor,r=t.updatePostLock,o=t.resetEditorBlocks,i=t.updateEditorSettings,c=t.__experimentalTearDownEditor,a=e("core/notices").createWarningNotice,s=e("core/block-directory").uninstallBlock;return{setupEditor:n,updatePostLock:r,createWarningNotice:a,resetEditorBlocks:o,updateEditorSettings:i,resetEditorBlocksWithoutUndoLevel:function(e){o(e,{__unstableShouldCreateUndoLevel:!1})},tearDownEditor:c,uninstallBlock:s}}))])(Qc),Zc=n(57),Jc=n.n(Zc);function $c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Object(Jr.forwardRef)((function(n,r){return N()("wp.editor."+e,{alternative:"wp.blockEditor."+e}),Object(Jr.createElement)(t,Object(oi.a)({ref:r},n))}));return n.forEach((function(n){r[n]=$c(e+"."+n,t[n])})),r}function ea(e,t){return function(){return N()("wp.editor."+e,{alternative:"wp.blockEditor."+e}),t.apply(void 0,arguments)}}var ta=$c("RichText",a.RichText,["Content"]);ta.isEmpty=ea("RichText.isEmpty",a.RichText.isEmpty);var na=$c("Autocomplete",a.Autocomplete),ra=$c("AlignmentToolbar",a.AlignmentToolbar),oa=$c("BlockAlignmentToolbar",a.BlockAlignmentToolbar),ia=$c("BlockControls",a.BlockControls,["Slot"]),ca=$c("BlockEdit",a.BlockEdit),aa=$c("BlockEditorKeyboardShortcuts",a.BlockEditorKeyboardShortcuts),sa=$c("BlockFormatControls",a.BlockFormatControls,["Slot"]),ua=$c("BlockIcon",a.BlockIcon),la=$c("BlockInspector",a.BlockInspector),da=$c("BlockList",a.BlockList),pa=$c("BlockMover",a.BlockMover),ba=$c("BlockNavigationDropdown",a.BlockNavigationDropdown),fa=$c("BlockSelectionClearer",a.BlockSelectionClearer),ha=$c("BlockSettingsMenu",a.BlockSettingsMenu),ma=$c("BlockTitle",a.BlockTitle),va=$c("BlockToolbar",a.BlockToolbar),Oa=$c("ColorPalette",a.ColorPalette),ga=$c("ContrastChecker",a.ContrastChecker),ja=$c("CopyHandler",a.CopyHandler),ya=$c("DefaultBlockAppender",a.DefaultBlockAppender),_a=$c("FontSizePicker",a.FontSizePicker),ka=$c("Inserter",a.Inserter),Ea=$c("InnerBlocks",a.InnerBlocks,["ButtonBlockAppender","DefaultBlockAppender","Content"]),Sa=$c("InspectorAdvancedControls",a.InspectorAdvancedControls,["Slot"]),wa=$c("InspectorControls",a.InspectorControls,["Slot"]),Pa=$c("PanelColorSettings",a.PanelColorSettings),Ca=$c("PlainText",a.PlainText),Ta=$c("RichTextShortcut",a.RichTextShortcut),xa=$c("RichTextToolbarButton",a.RichTextToolbarButton),Ba=$c("__unstableRichTextInputEvent",a.__unstableRichTextInputEvent),Ia=$c("MediaPlaceholder",a.MediaPlaceholder),Aa=$c("MediaUpload",a.MediaUpload),Ra=$c("MediaUploadCheck",a.MediaUploadCheck),La=$c("MultiBlocksSwitcher",a.MultiBlocksSwitcher),Na=$c("MultiSelectScrollIntoView",a.MultiSelectScrollIntoView),Da=$c("NavigableToolbar",a.NavigableToolbar),Ua=$c("ObserveTyping",a.ObserveTyping),Fa=$c("PreserveScrollInReorder",a.PreserveScrollInReorder),Ma=$c("SkipToSelectedBlock",a.SkipToSelectedBlock),Va=$c("URLInput",a.URLInput),Ha=$c("URLInputButton",a.URLInputButton),za=$c("URLPopover",a.URLPopover),Wa=$c("Warning",a.Warning),Ka=$c("WritingFlow",a.WritingFlow),Ga=ea("createCustomColorsHOC",a.createCustomColorsHOC),qa=ea("getColorClassName",a.getColorClassName),Ya=ea("getColorObjectByAttributeValues",a.getColorObjectByAttributeValues),Qa=ea("getColorObjectByColorValue",a.getColorObjectByColorValue),Xa=ea("getFontSize",a.getFontSize),Za=ea("getFontSizeClass",a.getFontSizeClass),Ja=ea("withColorContext",a.withColorContext),$a=ea("withColors",a.withColors),es=ea("withFontSizes",a.withFontSizes);Object(Zr.addFilter)("editor.Autocomplete.completers","editor/autocompleters/set-default-completers",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return e.push(Object(g.clone)(oo)),t===Object(s.getDefaultBlockName)()&&e.push(Object(g.clone)(ro)),e})),n.d(t,"AutosaveMonitor",(function(){return bo})),n.d(t,"DocumentOutline",(function(){return _o})),n.d(t,"DocumentOutlineCheck",(function(){return ko})),n.d(t,"VisualEditorGlobalKeyboardShortcuts",(function(){return xo})),n.d(t,"EditorGlobalKeyboardShortcuts",(function(){return Bo})),n.d(t,"TextEditorGlobalKeyboardShortcuts",(function(){return Io})),n.d(t,"EditorHistoryRedo",(function(){return Ao})),n.d(t,"EditorHistoryUndo",(function(){return Ro})),n.d(t,"EditorNotices",(function(){return Do})),n.d(t,"ErrorBoundary",(function(){return Uo})),n.d(t,"LocalAutosaveMonitor",(function(){return Ho})),n.d(t,"PageAttributesCheck",(function(){return zo})),n.d(t,"PageAttributesOrder",(function(){return Go})),n.d(t,"PageAttributesParent",(function(){return Xo})),n.d(t,"PageTemplate",(function(){return Zo})),n.d(t,"PostAuthor",(function(){return ti})),n.d(t,"PostAuthorCheck",(function(){return $o})),n.d(t,"PostComments",(function(){return ni})),n.d(t,"PostExcerpt",(function(){return ri})),n.d(t,"PostExcerptCheck",(function(){return ii})),n.d(t,"PostFeaturedImage",(function(){return fi})),n.d(t,"PostFeaturedImageCheck",(function(){return ai})),n.d(t,"PostFormat",(function(){return vi})),n.d(t,"PostFormatCheck",(function(){return hi})),n.d(t,"PostLastRevision",(function(){return yi})),n.d(t,"PostLastRevisionCheck",(function(){return Oi})),n.d(t,"PostLockedModal",(function(){return Si})),n.d(t,"PostPendingStatus",(function(){return Pi})),n.d(t,"PostPendingStatusCheck",(function(){return wi})),n.d(t,"PostPingbacks",(function(){return Ci})),n.d(t,"PostPreviewButton",(function(){return ki})),n.d(t,"PostPublishButton",(function(){return Bi})),n.d(t,"PostPublishButtonLabel",(function(){return Ti})),n.d(t,"PostPublishPanel",(function(){return ec})),n.d(t,"PostSavedState",(function(){return rc})),n.d(t,"PostSchedule",(function(){return Ni})),n.d(t,"PostScheduleCheck",(function(){return oc})),n.d(t,"PostScheduleLabel",(function(){return Di})),n.d(t,"PostSticky",(function(){return cc})),n.d(t,"PostStickyCheck",(function(){return ic})),n.d(t,"PostSwitchToDraftButton",(function(){return tc})),n.d(t,"PostTaxonomies",(function(){return lc})),n.d(t,"PostTaxonomiesCheck",(function(){return dc})),n.d(t,"PostTextEditor",(function(){return hc})),n.d(t,"PostTitle",(function(){return Ec})),n.d(t,"PostTrash",(function(){return Sc})),n.d(t,"PostTrashCheck",(function(){return wc})),n.d(t,"PostTypeSupportCheck",(function(){return Wo})),n.d(t,"PostVisibility",(function(){return Ri})),n.d(t,"PostVisibilityLabel",(function(){return Li})),n.d(t,"PostVisibilityCheck",(function(){return Pc})),n.d(t,"TableOfContents",(function(){return Bc})),n.d(t,"UnsavedChangesWarning",(function(){return Ac})),n.d(t,"WordCount",(function(){return Tc})),n.d(t,"EditorProvider",(function(){return Xc})),n.d(t,"blockAutocompleter",(function(){return ro})),n.d(t,"userAutocompleter",(function(){return oo})),n.d(t,"ServerSideRender",(function(){return Jc.a})),n.d(t,"RichText",(function(){return ta})),n.d(t,"Autocomplete",(function(){return na})),n.d(t,"AlignmentToolbar",(function(){return ra})),n.d(t,"BlockAlignmentToolbar",(function(){return oa})),n.d(t,"BlockControls",(function(){return ia})),n.d(t,"BlockEdit",(function(){return ca})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return aa})),n.d(t,"BlockFormatControls",(function(){return sa})),n.d(t,"BlockIcon",(function(){return ua})),n.d(t,"BlockInspector",(function(){return la})),n.d(t,"BlockList",(function(){return da})),n.d(t,"BlockMover",(function(){return pa})),n.d(t,"BlockNavigationDropdown",(function(){return ba})),n.d(t,"BlockSelectionClearer",(function(){return fa})),n.d(t,"BlockSettingsMenu",(function(){return ha})),n.d(t,"BlockTitle",(function(){return ma})),n.d(t,"BlockToolbar",(function(){return va})),n.d(t,"ColorPalette",(function(){return Oa})),n.d(t,"ContrastChecker",(function(){return ga})),n.d(t,"CopyHandler",(function(){return ja})),n.d(t,"DefaultBlockAppender",(function(){return ya})),n.d(t,"FontSizePicker",(function(){return _a})),n.d(t,"Inserter",(function(){return ka})),n.d(t,"InnerBlocks",(function(){return Ea})),n.d(t,"InspectorAdvancedControls",(function(){return Sa})),n.d(t,"InspectorControls",(function(){return wa})),n.d(t,"PanelColorSettings",(function(){return Pa})),n.d(t,"PlainText",(function(){return Ca})),n.d(t,"RichTextShortcut",(function(){return Ta})),n.d(t,"RichTextToolbarButton",(function(){return xa})),n.d(t,"__unstableRichTextInputEvent",(function(){return Ba})),n.d(t,"MediaPlaceholder",(function(){return Ia})),n.d(t,"MediaUpload",(function(){return Aa})),n.d(t,"MediaUploadCheck",(function(){return Ra})),n.d(t,"MultiBlocksSwitcher",(function(){return La})),n.d(t,"MultiSelectScrollIntoView",(function(){return Na})),n.d(t,"NavigableToolbar",(function(){return Da})),n.d(t,"ObserveTyping",(function(){return Ua})),n.d(t,"PreserveScrollInReorder",(function(){return Fa})),n.d(t,"SkipToSelectedBlock",(function(){return Ma})),n.d(t,"URLInput",(function(){return Va})),n.d(t,"URLInputButton",(function(){return Ha})),n.d(t,"URLPopover",(function(){return za})),n.d(t,"Warning",(function(){return Wa})),n.d(t,"WritingFlow",(function(){return Ka})),n.d(t,"createCustomColorsHOC",(function(){return Ga})),n.d(t,"getColorClassName",(function(){return qa})),n.d(t,"getColorObjectByAttributeValues",(function(){return Ya})),n.d(t,"getColorObjectByColorValue",(function(){return Qa})),n.d(t,"getFontSize",(function(){return Xa})),n.d(t,"getFontSizeClass",(function(){return Za})),n.d(t,"withColorContext",(function(){return Ja})),n.d(t,"withColors",(function(){return $a})),n.d(t,"withFontSizes",(function(){return es})),n.d(t,"mediaUpload",(function(){return Nc})),n.d(t,"cleanForSlug",(function(){return ji})),n.d(t,"storeConfig",(function(){return Qr})),n.d(t,"transformStyles",(function(){return a.transformStyles}))},36:function(e,t,n){"use strict";var r,o;function i(e){return[e]}function c(){var e={clear:function(){e.head=null}};return e}function a(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),i=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){i=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function c(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t,n=null,r=null,c=null,a=function(){e.clientWidth!==r&&d()},s=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",s,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",s,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:s,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 u(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function l(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}}function d(){l();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},22:function(e,t,n){"use strict";var r=n(33);var o=n(34);function i(e,t){return Object(r.a)(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(e,t)||Object(o.a)()}n.d(t,"a",(function(){return i}))},23:function(e,t){!function(){e.exports=this.regeneratorRuntime}()},24:function(e,t){!function(){e.exports=this.wp.richText}()},25:function(e,t){!function(){e.exports=this.wp.url}()},27:function(e,t){!function(){e.exports=this.wp.hooks}()},28:function(e,t,n){e.exports=n(88)()},3:function(e,t){!function(){e.exports=this.wp.components}()},31:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},32:function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},33:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},34:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",(function(){return r}))},345:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["optimist"])}}return{optimist:a,innerState:e}}e.exports=function(e){function t(t,n,o){return t.length&&(t=t.concat([{action:o}])),u(n=e(n,o),o),r({optimist:t},n)}return function(n,a){if(a.optimist)switch(a.optimist.type){case o:return function(t,n){var o=l(t),i=o.optimist,c=o.innerState;return i=i.concat([{beforeState:c,action:n}]),u(c=e(c,n),n),r({optimist:i},c)}(n,a);case i:return function(e,n){var r=l(e),o=r.optimist,i=r.innerState,c=[],a=!1,u=!1;return o.forEach((function(e){a?e.beforeState&&s(e.action,n.optimist.id)?(u=!0,c.push({action:e.action})):c.push(e):e.beforeState&&!s(e.action,n.optimist.id)?(a=!0,c.push(e)):e.beforeState&&s(e.action,n.optimist.id)&&(u=!0)})),u||console.error('Cannot commit transaction with id "'+n.optimist.id+'" because it does not exist'),t(o=c,i,n)}(n,a);case c:return function(n,r){var o=l(n),i=o.optimist,c=o.innerState,a=[],d=!1,p=!1,b=c;return i.forEach((function(t){t.beforeState&&s(t.action,r.optimist.id)&&(b=t.beforeState,p=!0),s(t.action,r.optimist.id)||(t.beforeState&&(d=!0),d&&(p&&t.beforeState?a.push({beforeState:b,action:t.action}):a.push(t)),p&&(b=e(b,t.action),u(c,r)))})),p||console.error('Cannot revert transaction with id "'+r.optimist.id+'" because it does not exist'),t(i=a,b,r)}(n,a)}var d=l(n),p=d.optimist,b=d.innerState;if(n&&!p.length){var f=e(b,a);return f===b?n:(u(f,a),r({optimist:p},f))}return t(p,b,a)}},e.exports.BEGIN=o,e.exports.COMMIT=i,e.exports.REVERT=c},35:function(e,t){!function(){e.exports=this.wp.deprecated}()},363:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"setupEditor",(function(){return ie})),n.d(r,"__experimentalTearDownEditor",(function(){return ce})),n.d(r,"resetPost",(function(){return ae})),n.d(r,"resetAutosave",(function(){return se})),n.d(r,"__experimentalRequestPostUpdateStart",(function(){return ue})),n.d(r,"__experimentalRequestPostUpdateFinish",(function(){return le})),n.d(r,"updatePost",(function(){return de})),n.d(r,"setupEditorState",(function(){return pe})),n.d(r,"editPost",(function(){return be})),n.d(r,"__experimentalOptimisticUpdatePost",(function(){return fe})),n.d(r,"savePost",(function(){return he})),n.d(r,"refreshPost",(function(){return me})),n.d(r,"trashPost",(function(){return ve})),n.d(r,"autosave",(function(){return Oe})),n.d(r,"__experimentalLocalAutosave",(function(){return ge})),n.d(r,"redo",(function(){return je})),n.d(r,"undo",(function(){return _e})),n.d(r,"createUndoLevel",(function(){return ye})),n.d(r,"updatePostLock",(function(){return ke})),n.d(r,"__experimentalFetchReusableBlocks",(function(){return Ee})),n.d(r,"__experimentalReceiveReusableBlocks",(function(){return Se})),n.d(r,"__experimentalSaveReusableBlock",(function(){return Pe})),n.d(r,"__experimentalDeleteReusableBlock",(function(){return we})),n.d(r,"__experimentalUpdateReusableBlock",(function(){return Ce})),n.d(r,"__experimentalConvertBlockToStatic",(function(){return Te})),n.d(r,"__experimentalConvertBlockToReusable",(function(){return Be})),n.d(r,"enablePublishSidebar",(function(){return xe})),n.d(r,"disablePublishSidebar",(function(){return Ie})),n.d(r,"lockPostSaving",(function(){return Ae})),n.d(r,"unlockPostSaving",(function(){return Re})),n.d(r,"lockPostAutosaving",(function(){return Le})),n.d(r,"unlockPostAutosaving",(function(){return Ne})),n.d(r,"resetEditorBlocks",(function(){return De})),n.d(r,"updateEditorSettings",(function(){return Ue})),n.d(r,"resetBlocks",(function(){return Me})),n.d(r,"receiveBlocks",(function(){return Ve})),n.d(r,"updateBlock",(function(){return ze})),n.d(r,"updateBlockAttributes",(function(){return He})),n.d(r,"selectBlock",(function(){return We})),n.d(r,"startMultiSelect",(function(){return Ke})),n.d(r,"stopMultiSelect",(function(){return Ge})),n.d(r,"multiSelect",(function(){return qe})),n.d(r,"clearSelectedBlock",(function(){return Qe})),n.d(r,"toggleSelection",(function(){return Ye})),n.d(r,"replaceBlocks",(function(){return Xe})),n.d(r,"replaceBlock",(function(){return Ze})),n.d(r,"moveBlocksDown",(function(){return Je})),n.d(r,"moveBlocksUp",(function(){return $e})),n.d(r,"moveBlockToPosition",(function(){return et})),n.d(r,"insertBlock",(function(){return tt})),n.d(r,"insertBlocks",(function(){return nt})),n.d(r,"showInsertionPoint",(function(){return rt})),n.d(r,"hideInsertionPoint",(function(){return ot})),n.d(r,"setTemplateValidity",(function(){return it})),n.d(r,"synchronizeTemplate",(function(){return ct})),n.d(r,"mergeBlocks",(function(){return at})),n.d(r,"removeBlocks",(function(){return st})),n.d(r,"removeBlock",(function(){return ut})),n.d(r,"toggleBlockMode",(function(){return lt})),n.d(r,"startTyping",(function(){return dt})),n.d(r,"stopTyping",(function(){return pt})),n.d(r,"enterFormattedText",(function(){return bt})),n.d(r,"exitFormattedText",(function(){return ft})),n.d(r,"insertDefaultBlock",(function(){return ht})),n.d(r,"updateBlockListSettings",(function(){return mt}));var o={};n.r(o),n.d(o,"hasEditorUndo",(function(){return kt})),n.d(o,"hasEditorRedo",(function(){return Et})),n.d(o,"isEditedPostNew",(function(){return St})),n.d(o,"hasChangedContent",(function(){return Pt})),n.d(o,"isEditedPostDirty",(function(){return wt})),n.d(o,"isCleanNewPost",(function(){return Ct})),n.d(o,"getCurrentPost",(function(){return Tt})),n.d(o,"getCurrentPostType",(function(){return Bt})),n.d(o,"getCurrentPostId",(function(){return xt})),n.d(o,"getCurrentPostRevisionsCount",(function(){return It})),n.d(o,"getCurrentPostLastRevisionId",(function(){return At})),n.d(o,"getPostEdits",(function(){return Rt})),n.d(o,"getReferenceByDistinctEdits",(function(){return Lt})),n.d(o,"getCurrentPostAttribute",(function(){return Nt})),n.d(o,"getEditedPostAttribute",(function(){return Ut})),n.d(o,"getAutosaveAttribute",(function(){return Ft})),n.d(o,"getEditedPostVisibility",(function(){return Mt})),n.d(o,"isCurrentPostPending",(function(){return Vt})),n.d(o,"isCurrentPostPublished",(function(){return zt})),n.d(o,"isCurrentPostScheduled",(function(){return Ht})),n.d(o,"isEditedPostPublishable",(function(){return Wt})),n.d(o,"isEditedPostSaveable",(function(){return Kt})),n.d(o,"isEditedPostEmpty",(function(){return Gt})),n.d(o,"isEditedPostAutosaveable",(function(){return qt})),n.d(o,"getAutosave",(function(){return Qt})),n.d(o,"hasAutosave",(function(){return Yt})),n.d(o,"isEditedPostBeingScheduled",(function(){return Xt})),n.d(o,"isEditedPostDateFloating",(function(){return Zt})),n.d(o,"isSavingPost",(function(){return Jt})),n.d(o,"didPostSaveRequestSucceed",(function(){return $t})),n.d(o,"didPostSaveRequestFail",(function(){return en})),n.d(o,"isAutosavingPost",(function(){return tn})),n.d(o,"isPreviewingPost",(function(){return nn})),n.d(o,"getEditedPostPreviewLink",(function(){return rn})),n.d(o,"getSuggestedPostFormat",(function(){return on})),n.d(o,"getBlocksForSerialization",(function(){return cn})),n.d(o,"getEditedPostContent",(function(){return an})),n.d(o,"__experimentalGetReusableBlock",(function(){return sn})),n.d(o,"__experimentalIsSavingReusableBlock",(function(){return un})),n.d(o,"__experimentalIsFetchingReusableBlock",(function(){return ln})),n.d(o,"__experimentalGetReusableBlocks",(function(){return dn})),n.d(o,"getStateBeforeOptimisticTransaction",(function(){return pn})),n.d(o,"isPublishingPost",(function(){return bn})),n.d(o,"isPermalinkEditable",(function(){return fn})),n.d(o,"getPermalink",(function(){return hn})),n.d(o,"getPermalinkParts",(function(){return mn})),n.d(o,"inSomeHistory",(function(){return vn})),n.d(o,"isPostLocked",(function(){return On})),n.d(o,"isPostSavingLocked",(function(){return gn})),n.d(o,"isPostAutosavingLocked",(function(){return jn})),n.d(o,"isPostLockTakeover",(function(){return _n})),n.d(o,"getPostLockUser",(function(){return yn})),n.d(o,"getActivePostLock",(function(){return kn})),n.d(o,"canUserUseUnfilteredHTML",(function(){return En})),n.d(o,"isPublishSidebarEnabled",(function(){return Sn})),n.d(o,"getEditorBlocks",(function(){return Pn})),n.d(o,"getEditorSelectionStart",(function(){return wn})),n.d(o,"getEditorSelectionEnd",(function(){return Cn})),n.d(o,"__unstableIsEditorReady",(function(){return Tn})),n.d(o,"getEditorSettings",(function(){return Bn})),n.d(o,"getBlockName",(function(){return In})),n.d(o,"isBlockValid",(function(){return An})),n.d(o,"getBlockAttributes",(function(){return Rn})),n.d(o,"getBlock",(function(){return Ln})),n.d(o,"getBlocks",(function(){return Nn})),n.d(o,"__unstableGetBlockWithoutInnerBlocks",(function(){return Dn})),n.d(o,"getClientIdsOfDescendants",(function(){return Un})),n.d(o,"getClientIdsWithDescendants",(function(){return Fn})),n.d(o,"getGlobalBlockCount",(function(){return Mn})),n.d(o,"getBlocksByClientId",(function(){return Vn})),n.d(o,"getBlockCount",(function(){return zn})),n.d(o,"getBlockSelectionStart",(function(){return Hn})),n.d(o,"getBlockSelectionEnd",(function(){return Wn})),n.d(o,"getSelectedBlockCount",(function(){return Kn})),n.d(o,"hasSelectedBlock",(function(){return Gn})),n.d(o,"getSelectedBlockClientId",(function(){return qn})),n.d(o,"getSelectedBlock",(function(){return Qn})),n.d(o,"getBlockRootClientId",(function(){return Yn})),n.d(o,"getBlockHierarchyRootClientId",(function(){return Xn})),n.d(o,"getAdjacentBlockClientId",(function(){return Zn})),n.d(o,"getPreviousBlockClientId",(function(){return Jn})),n.d(o,"getNextBlockClientId",(function(){return $n})),n.d(o,"getSelectedBlocksInitialCaretPosition",(function(){return er})),n.d(o,"getMultiSelectedBlockClientIds",(function(){return tr})),n.d(o,"getMultiSelectedBlocks",(function(){return nr})),n.d(o,"getFirstMultiSelectedBlockClientId",(function(){return rr})),n.d(o,"getLastMultiSelectedBlockClientId",(function(){return or})),n.d(o,"isFirstMultiSelectedBlock",(function(){return ir})),n.d(o,"isBlockMultiSelected",(function(){return cr})),n.d(o,"isAncestorMultiSelected",(function(){return ar})),n.d(o,"getMultiSelectedBlocksStartClientId",(function(){return sr})),n.d(o,"getMultiSelectedBlocksEndClientId",(function(){return ur})),n.d(o,"getBlockOrder",(function(){return lr})),n.d(o,"getBlockIndex",(function(){return dr})),n.d(o,"isBlockSelected",(function(){return pr})),n.d(o,"hasSelectedInnerBlock",(function(){return br})),n.d(o,"isBlockWithinSelection",(function(){return fr})),n.d(o,"hasMultiSelection",(function(){return hr})),n.d(o,"isMultiSelecting",(function(){return mr})),n.d(o,"isSelectionEnabled",(function(){return vr})),n.d(o,"getBlockMode",(function(){return Or})),n.d(o,"isTyping",(function(){return gr})),n.d(o,"isCaretWithinFormattedText",(function(){return jr})),n.d(o,"getBlockInsertionPoint",(function(){return _r})),n.d(o,"isBlockInsertionPointVisible",(function(){return yr})),n.d(o,"isValidTemplate",(function(){return kr})),n.d(o,"getTemplate",(function(){return Er})),n.d(o,"getTemplateLock",(function(){return Sr})),n.d(o,"canInsertBlockType",(function(){return Pr})),n.d(o,"getInserterItems",(function(){return wr})),n.d(o,"hasInserterItems",(function(){return Cr})),n.d(o,"getBlockListSettings",(function(){return Tr}));var i=n(5),c=n(10),a=n(62),s=(n(143),n(142),n(24)),u=n(50),l=n(7),d=n(4),p=n(39),b=n(9),f=n(31),h=n(85),m=n.n(h),v=n(2),O={insertUsage:{},isPublishSidebarEnabled:!0},g=Object(l.a)({},i.SETTINGS_DEFAULTS,{richEditingEnabled:!0,codeEditingEnabled:!0,enableCustomFields:!1});function j(e){return e&&"object"===Object(f.a)(e)&&"raw"in e?e.raw:e}var _=Object(d.combineReducers)({data:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_REUSABLE_BLOCKS":return Object(l.a)({},e,Object(v.keyBy)(t.results,"id"));case"UPDATE_REUSABLE_BLOCK":var n=t.id,r=t.changes;return Object(l.a)({},e,Object(b.a)({},n,Object(l.a)({},e[n],r)));case"SAVE_REUSABLE_BLOCK_SUCCESS":var o=t.id,i=t.updatedId;if(o===i)return e;var c=e[o];return Object(l.a)({},Object(v.omit)(e,o),Object(b.a)({},i,Object(l.a)({},c,{id:i})));case"REMOVE_REUSABLE_BLOCK":var a=t.id;return Object(v.omit)(e,a)}return e},isFetching:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_REUSABLE_BLOCKS":var n=t.id;return n?Object(l.a)({},e,Object(b.a)({},n,!0)):e;case"FETCH_REUSABLE_BLOCKS_SUCCESS":case"FETCH_REUSABLE_BLOCKS_FAILURE":var r=t.id;return Object(v.omit)(e,r)}return e},isSaving:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SAVE_REUSABLE_BLOCK":return Object(l.a)({},e,Object(b.a)({},t.id,!0));case"SAVE_REUSABLE_BLOCK_SUCCESS":case"SAVE_REUSABLE_BLOCK_FAILURE":var n=t.id;return Object(v.omit)(e,n)}return e}});var y=m()(Object(d.combineReducers)({postId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SETUP_EDITOR_STATE":case"RESET_POST":case"UPDATE_POST":return t.post.id}return e},postType:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SETUP_EDITOR_STATE":case"RESET_POST":case"UPDATE_POST":return t.post.type}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O;switch((arguments.length>1?arguments[1]:void 0).type){case"ENABLE_PUBLISH_SIDEBAR":return Object(l.a)({},e,{isPublishSidebarEnabled:!0});case"DISABLE_PUBLISH_SIDEBAR":return Object(l.a)({},e,{isPublishSidebarEnabled:!1})}return e},saving:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REQUEST_POST_UPDATE_START":case"REQUEST_POST_UPDATE_FINISH":return{pending:"REQUEST_POST_UPDATE_START"===t.type,options:t.options||{}}}return e},postLock:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isLocked:!1},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_POST_LOCK":return t.lock}return e},reusableBlocks:_,template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return Object(l.a)({},e,{isValid:t.isValid})}return e},postSavingLock:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"LOCK_POST_SAVING":return Object(l.a)({},e,Object(b.a)({},t.lockName,!0));case"UNLOCK_POST_SAVING":return Object(v.omit)(e,t.lockName)}return e},isReady:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"SETUP_EDITOR_STATE":return!0;case"TEAR_DOWN_EDITOR":return!1}return e},editorSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_EDITOR_SETTINGS":return Object(l.a)({},e,t.settings)}return e},postAutosavingLock:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"LOCK_POST_AUTOSAVING":return Object(l.a)({},e,Object(b.a)({},t.lockName,!0));case"UNLOCK_POST_AUTOSAVING":return Object(v.omit)(e,t.lockName)}return e}})),k=n(70),E=n.n(k),S=n(23),P=n.n(S),w=n(43),C=n(37),T=n.n(C),B=n(1),x=n(18),I=n(35),A=n.n(I),R=new Set(["meta"]),L="core/editor",N="post-update",D="SAVE_POST_NOTICE_ID",U="TRASH_POST_NOTICE_ID",F=/%(?:postname|pagename)%/,M=6e4,V=["title","excerpt","content"];function z(e){var t=e.previousPost,n=e.post,r=e.postType;if(Object(v.get)(e.options,["isAutosave"]))return[];var o,i=["publish","private","future"],c=Object(v.includes)(i,t.status),a=Object(v.includes)(i,n.status),s=Object(v.get)(r,["viewable"],!1);if(c||a?c&&!a?(o=r.labels.item_reverted_to_draft,s=!1):o=!c&&a?{publish:r.labels.item_published,private:r.labels.item_published_privately,future:r.labels.item_scheduled}[n.status]:r.labels.item_updated:o=null,o){var u=[];return s&&u.push({label:r.labels.view_item,url:n.link}),[o,{id:D,type:"snackbar",actions:u}]}return[]}function H(e){var t=e.post,n=e.edits,r=e.error;if(r&&"rest_autosave_no_changes"===r.code)return[];var o=["publish","private","future"],i=-1!==o.indexOf(t.status),c={publish:Object(B.__)("Publishing failed."),private:Object(B.__)("Publishing failed."),future:Object(B.__)("Scheduling failed.")},a=i||-1===o.indexOf(n.status)?Object(B.__)("Updating failed."):c[n.status];return r.message&&!/<\/?[^>]*>/.test(r.message)&&(a=[a,r.message].join(" ")),[a,{id:D}]}var W=n(42),K=n.n(W),G=n(68),q=K()((function(e){1===e.length&&Object(c.isUnmodifiedDefaultBlock)(e[0])&&(e=[]);var t=Object(c.serialize)(e);return 1===e.length&&e[0].name===Object(c.getFreeformContentHandlerName)()&&(t=Object(G.removep)(t)),t}),{maxSize:1}),Q=P.a.mark(ie),Y=P.a.mark(se),X=P.a.mark(be),Z=P.a.mark(he),J=P.a.mark(me),$=P.a.mark(ve),ee=P.a.mark(Oe),te=P.a.mark(ge),ne=P.a.mark(je),re=P.a.mark(_e),oe=P.a.mark(De);function ie(e,t,n){var r,o;return P.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return r=Object(v.has)(t,["content"])?t.content:e.content.raw,o=Object(c.parse)(r),"auto-draft"===e.status&&n&&(o=Object(c.synchronizeBlocksWithTemplate)(o,n)),i.next=6,ae(e);case 6:return i.next=8,{type:"SETUP_EDITOR",post:e,edits:t,template:n};case 8:return i.next=10,De(o,{__unstableShouldCreateUndoLevel:!1});case 10:return i.next=12,pe(e);case 12:if(!t||!Object.keys(t).some((function(n){return t[n]!==(Object(v.has)(e,[n,"raw"])?e[n].raw:e[n])}))){i.next=15;break}return i.next=15,be(t);case 15:case"end":return i.stop()}}),Q)}function ce(){return{type:"TEAR_DOWN_EDITOR"}}function ae(e){return{type:"RESET_POST",post:e}}function se(e){var t;return P.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return A()("resetAutosave action (`core/editor` store)",{alternative:"receiveAutosaves action (`core` store)",plugin:"Gutenberg"}),n.next=3,Object(p.select)(L,"getCurrentPostId");case 3:return t=n.sent,n.next=6,Object(p.dispatch)("core","receiveAutosaves",t,e);case 6:return n.abrupt("return",{type:"__INERT__"});case 7:case"end":return n.stop()}}),Y)}function ue(){return{type:"REQUEST_POST_UPDATE_START",options:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}}function le(){return{type:"REQUEST_POST_UPDATE_FINISH",options:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}}function de(e){return{type:"UPDATE_POST",edits:e}}function pe(e){return{type:"SETUP_EDITOR_STATE",post:e}}function be(e,t){var n,r,o;return P.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,Object(p.select)(L,"getCurrentPost");case 2:return n=i.sent,r=n.id,o=n.type,i.next=7,Object(p.dispatch)("core","editEntityRecord","postType",o,r,e,t);case 7:case"end":return i.stop()}}),X)}function fe(e){return Object(l.a)({},de(e),{optimist:{id:N}})}function he(){var e,t,n,r,o,i,c,a=arguments;return P.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},s.next=3,Object(p.select)(L,"isEditedPostSaveable");case 3:if(s.sent){s.next=5;break}return s.abrupt("return");case 5:return s.next=7,Object(p.select)(L,"getEditedPostContent");case 7:if(s.t0=s.sent,t={content:s.t0},e.isAutosave){s.next=12;break}return s.next=12,Object(p.dispatch)(L,"editPost",t,{undoIgnore:!0});case 12:return s.next=14,ue(e);case 14:return s.next=16,Object(p.select)(L,"getCurrentPost");case 16:return n=s.sent,s.t1=l.a,s.t2={id:n.id},s.next=21,Object(p.select)("core","getEntityRecordNonTransientEdits","postType",n.type,n.id);case 21:return s.t3=s.sent,s.t4=t,t=(0,s.t1)(s.t2,s.t3,s.t4),s.next=26,Object(p.dispatch)("core","saveEntityRecord","postType",n.type,t,e);case 26:return s.next=28,le(e);case 28:return s.next=30,Object(p.select)("core","getLastEntitySaveError","postType",n.type,n.id);case 30:if(!(r=s.sent)){s.next=38;break}if(!(o=H({post:n,edits:t,error:r})).length){s.next=36;break}return s.next=36,p.dispatch.apply(void 0,["core/notices","createErrorNotice"].concat(Object(x.a)(o)));case 36:s.next=56;break;case 38:return s.next=40,Object(p.select)(L,"getCurrentPost");case 40:return i=s.sent,s.t5=z,s.t6=n,s.t7=i,s.next=46,Object(p.select)("core","getPostType",i.type);case 46:if(s.t8=s.sent,s.t9=e,s.t10={previousPost:s.t6,post:s.t7,postType:s.t8,options:s.t9},!(c=(0,s.t5)(s.t10)).length){s.next=53;break}return s.next=53,p.dispatch.apply(void 0,["core/notices","createSuccessNotice"].concat(Object(x.a)(c)));case 53:if(e.isAutosave){s.next=56;break}return s.next=56,Object(p.dispatch)("core/block-editor","__unstableMarkLastChangeAsPersistent");case 56:case"end":return s.stop()}}),Z)}function me(){var e,t,n,r;return P.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Object(p.select)(L,"getCurrentPost");case 2:return e=o.sent,o.next=5,Object(p.select)(L,"getCurrentPostType");case 5:return t=o.sent,o.next=8,Object(p.select)("core","getPostType",t);case 8:return n=o.sent,o.next=11,Object(p.apiFetch)({path:"/wp/v2/".concat(n.rest_base,"/").concat(e.id)+"?context=edit&_timestamp=".concat(Date.now())});case 11:return r=o.sent,o.next=14,Object(p.dispatch)(L,"resetPost",r);case 14:case"end":return o.stop()}}),J)}function ve(){var e,t,n;return P.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Object(p.select)(L,"getCurrentPostType");case 2:return e=r.sent,r.next=5,Object(p.select)("core","getPostType",e);case 5:return t=r.sent,r.next=8,Object(p.dispatch)("core/notices","removeNotice",U);case 8:return r.prev=8,r.next=11,Object(p.select)(L,"getCurrentPost");case 11:return n=r.sent,r.next=14,Object(p.apiFetch)({path:"/wp/v2/".concat(t.rest_base,"/").concat(n.id),method:"DELETE"});case 14:return r.next=16,Object(p.dispatch)(L,"savePost");case 16:r.next=22;break;case 18:return r.prev=18,r.t0=r.catch(8),r.next=22,p.dispatch.apply(void 0,["core/notices","createErrorNotice"].concat(Object(x.a)([(o={error:r.t0}).error.message&&"unknown_error"!==o.error.code?o.error.message:Object(B.__)("Trashing failed"),{id:U}])));case 22:case"end":return r.stop()}var o}),$,null,[[8,18]])}function Oe(e){return P.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(p.dispatch)(L,"savePost",Object(l.a)({isAutosave:!0},e));case 2:case"end":return t.stop()}}),ee)}function ge(){var e,t,n,r;return P.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Object(p.select)(L,"getCurrentPost");case 2:return e=o.sent,o.next=5,Object(p.select)(L,"getEditedPostAttribute","title");case 5:return t=o.sent,o.next=8,Object(p.select)(L,"getEditedPostAttribute","content");case 8:return n=o.sent,o.next=11,Object(p.select)(L,"getEditedPostAttribute","excerpt");case 11:return r=o.sent,o.next=14,{type:"LOCAL_AUTOSAVE_SET",postId:e.id,title:t,content:n,excerpt:r};case 14:case"end":return o.stop()}}),te)}function je(){return P.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(p.dispatch)("core","redo");case 2:case"end":return e.stop()}}),ne)}function _e(){return P.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(p.dispatch)("core","undo");case 2:case"end":return e.stop()}}),re)}function ye(){return{type:"CREATE_UNDO_LEVEL"}}function ke(e){return{type:"UPDATE_POST_LOCK",lock:e}}function Ee(e){return{type:"FETCH_REUSABLE_BLOCKS",id:e}}function Se(e){return{type:"RECEIVE_REUSABLE_BLOCKS",results:e}}function Pe(e){return{type:"SAVE_REUSABLE_BLOCK",id:e}}function we(e){return{type:"DELETE_REUSABLE_BLOCK",id:e}}function Ce(e,t){return{type:"UPDATE_REUSABLE_BLOCK",id:e,changes:t}}function Te(e){return{type:"CONVERT_BLOCK_TO_STATIC",clientId:e}}function Be(e){return{type:"CONVERT_BLOCK_TO_REUSABLE",clientIds:Object(v.castArray)(e)}}function xe(){return{type:"ENABLE_PUBLISH_SIDEBAR"}}function Ie(){return{type:"DISABLE_PUBLISH_SIDEBAR"}}function Ae(e){return{type:"LOCK_POST_SAVING",lockName:e}}function Re(e){return{type:"UNLOCK_POST_SAVING",lockName:e}}function Le(e){return{type:"LOCK_POST_AUTOSAVING",lockName:e}}function Ne(e){return{type:"UNLOCK_POST_AUTOSAVING",lockName:e}}function De(e){var t,n,r,o,i,c,a,s,u=arguments;return P.a.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(t=u.length>1&&void 0!==u[1]?u[1]:{},n=t.__unstableShouldCreateUndoLevel,r=t.selectionStart,o=t.selectionEnd,i={blocks:e,selectionStart:r,selectionEnd:o},!1===n){l.next=19;break}return l.next=6,Object(p.select)(L,"getCurrentPost");case 6:return c=l.sent,a=c.id,s=c.type,l.next=11,Object(p.select)("core","getEditedEntityRecord","postType",s,a);case 11:if(l.t0=l.sent.blocks,l.t1=i.blocks,!(l.t0===l.t1)){l.next=18;break}return l.next=17,Object(p.dispatch)("core","__unstableCreateUndoLevel","postType",s,a);case 17:return l.abrupt("return",l.sent);case 18:i.content=function(e){var t=e.blocks;return q(void 0===t?[]:t)};case 19:return l.delegateYield(be(i),"t2",20);case 20:case"end":return l.stop()}}),oe)}function Ue(e){return{type:"UPDATE_EDITOR_SETTINGS",settings:e}}var Fe=function(e){return P.a.mark((function t(){var n,r,o,i=arguments;return P.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(A()("`wp.data.dispatch( 'core/editor' )."+e+"`",{alternative:"`wp.data.dispatch( 'core/block-editor' )."+e+"`"}),n=i.length,r=new Array(n),o=0;o1)return!1;var n=t[0].name;if(n!==Object(c.getDefaultBlockName)()&&n!==Object(c.getFreeformContentHandlerName)())return!1}return!an(e)}var qt=Object(d.createRegistrySelector)((function(e){return function(t){if(!Kt(t))return!1;if(jn(t))return!1;var n=Bt(t),r=xt(t),o=e("core").hasFetchedAutosaves(n,r),i=Object(v.get)(e("core").getCurrentUser(),["id"]),c=e("core").getAutosave(n,r,i);return!!o&&(!c||(!!Pt(t)||["title","excerpt"].some((function(e){return j(c[e])!==Ut(t,e)}))))}})),Qt=Object(d.createRegistrySelector)((function(e){return function(t){A()("`wp.data.select( 'core/editor' ).getAutosave()`",{alternative:"`wp.data.select( 'core' ).getAutosave( postType, postId, userId )`",plugin:"Gutenberg"});var n=Bt(t),r=xt(t),o=Object(v.get)(e("core").getCurrentUser(),["id"]),i=e("core").getAutosave(n,r,o);return Object(v.mapValues)(Object(v.pick)(i,V),j)}})),Yt=Object(d.createRegistrySelector)((function(e){return function(t){A()("`wp.data.select( 'core/editor' ).hasAutosave()`",{alternative:"`!! wp.data.select( 'core' ).getAutosave( postType, postId, userId )`",plugin:"Gutenberg"});var n=Bt(t),r=xt(t),o=Object(v.get)(e("core").getCurrentUser(),["id"]);return!!e("core").getAutosave(n,r,o)}}));function Xt(e){var t=Ut(e,"date"),n=new Date(Number(Object(gt.getDate)(t))-M);return Object(gt.isInTheFuture)(n)}function Zt(e){var t=Ut(e,"date"),n=Ut(e,"modified"),r=Ut(e,"status");return("draft"===r||"auto-draft"===r||"pending"===r)&&t===n}var Jt=Object(d.createRegistrySelector)((function(e){return function(t){var n=Bt(t),r=xt(t);return e("core").isSavingEntityRecord("postType",n,r)}})),$t=Object(d.createRegistrySelector)((function(e){return function(t){var n=Bt(t),r=xt(t);return!e("core").getLastEntitySaveError("postType",n,r)}})),en=Object(d.createRegistrySelector)((function(e){return function(t){var n=Bt(t),r=xt(t);return!!e("core").getLastEntitySaveError("postType",n,r)}}));function tn(e){return!!Jt(e)&&!!Object(v.get)(e.saving,["options","isAutosave"])}function nn(e){return!!Jt(e)&&!!e.saving.options.isPreview}function rn(e){if(!e.saving.pending&&!Jt(e)){var t=Ft(e,"preview_link");t||(t=Ut(e,"link"))&&(t=Object(jt.addQueryArgs)(t,{preview:!0}));var n=Ut(e,"featured_media");return t&&n?Object(jt.addQueryArgs)(t,{_thumbnail_id:n}):t}}function on(e){var t,n=Pn(e);switch(1===n.length&&(t=n[0].name),2===n.length&&"core/paragraph"===n[1].name&&(t=n[0].name),t){case"core/image":return"image";case"core/quote":case"core/pullquote":return"quote";case"core/gallery":return"gallery";case"core/video":case"core-embed/youtube":case"core-embed/vimeo":return"video";case"core/audio":case"core-embed/spotify":case"core-embed/soundcloud":return"audio"}return null}function cn(e){A()("`core/editor` getBlocksForSerialization selector",{plugin:"Gutenberg",alternative:"getEditorBlocks",hint:"Blocks serialization pre-processing occurs at save time"});var t=e.editor.present.blocks.value;return 1===t.length&&Object(c.isUnmodifiedDefaultBlock)(t[0])?[]:t}var an=Object(d.createRegistrySelector)((function(e){return function(t){var n=xt(t),r=Bt(t),o=e("core").getEditedEntityRecord("postType",r,n);if(o){if("function"==typeof o.content)return o.content(o);if(o.blocks)return q(o.blocks);if(o.content)return o.content}return""}})),sn=Object(Ot.a)((function(e,t){var n=e.reusableBlocks.data[t];if(!n)return null;var r=isNaN(parseInt(t));return Object(l.a)({},n,{id:r?t:+t,isTemporary:r})}),(function(e,t){return[e.reusableBlocks.data[t]]}));function un(e,t){return e.reusableBlocks.isSaving[t]||!1}function ln(e,t){return!!e.reusableBlocks.isFetching[t]}var dn=Object(Ot.a)((function(e){return Object(v.map)(e.reusableBlocks.data,(function(t,n){return sn(e,n)}))}),(function(e){return[e.reusableBlocks.data]}));function pn(e,t){var n=Object(v.find)(e.optimist,(function(e){return e.beforeState&&Object(v.get)(e.action,["optimist","id"])===t}));return n?n.beforeState:null}function bn(e){if(!Jt(e))return!1;if(!zt(e))return!1;var t=pn(e,N);return!!t&&!zt(null,t.currentPost)}function fn(e){var t=Ut(e,"permalink_template");return F.test(t)}function hn(e){var t=mn(e);if(!t)return null;var n=t.prefix,r=t.postName,o=t.suffix;return fn(e)?n+r+o:n}function mn(e){var t=Ut(e,"permalink_template");if(!t)return null;var n=Ut(e,"slug")||Ut(e,"generated_slug"),r=t.split(F),o=Object(vt.a)(r,2);return{prefix:o[0],postName:n,suffix:o[1]}}function vn(e,t){var n=e.optimist;return!!n&&n.some((function(e){var n=e.beforeState;return n&&t(n)}))}function On(e){return e.postLock.isLocked}function gn(e){return Object.keys(e.postSavingLock).length>0}function jn(e){return Object.keys(e.postAutosavingLock).length>0}function _n(e){return e.postLock.isTakeover}function yn(e){return e.postLock.user}function kn(e){return e.postLock.activePostLock}function En(e){return Object(v.has)(Tt(e),["_links","wp:action-unfiltered-html"])}function Sn(e){return e.preferences.hasOwnProperty("isPublishSidebarEnabled")?e.preferences.isPublishSidebarEnabled:O.isPublishSidebarEnabled}function Pn(e){return Ut(e,"blocks")||yt}function wn(e){return Ut(e,"selectionStart")}function Cn(e){return Ut(e,"selectionEnd")}function Tn(e){return e.isReady}function Bn(e){return e.editorSettings}function xn(e){return Object(d.createRegistrySelector)((function(t){return function(n){var r;A()("`wp.data.select( 'core/editor' )."+e+"`",{alternative:"`wp.data.select( 'core/block-editor' )."+e+"`"});for(var o=arguments.length,i=new Array(o>1?o-1:0),c=1;c0&&void 0!==arguments[0]?arguments[0]:{},t=e.getBlockInsertionParentClientId,n=void 0===t?Gr:t,r=e.getInserterItems,o=void 0===r?qr:r,a=e.getSelectedBlockName,s=void 0===a?Qr:a;return{name:"blocks",className:"editor-autocompleters__block",triggerPrefix:"/",options:function(){Yr();var e=s();return o(n()).filter((function(t){return e!==t.name}))},getOptionKeywords:function(e){var t=e.title,n=e.keywords,r=void 0===n?[]:n;return[e.category].concat(Object(x.a)(r),[t])},getOptionLabel:function(e){var t=e.icon,n=e.title;return[Object(zr.createElement)(i.BlockIcon,{key:"icon",icon:t,showColors:!0}),n]},allowContext:function(e,t){return!(/\S/.test(e)||/\S/.test(t))},getOptionCompletion:function(e){var t=e.name,n=e.initialAttributes;return{action:"replace",value:Object(c.createBlock)(t,n)}},isOptionDisabled:function(e){return e.isDisabled}}}(),Zr={name:"users",className:"editor-autocompleters__user",triggerPrefix:"@",options:function(e){var t="";return e&&(t="?search="+encodeURIComponent(e)),T()({path:"/wp/v2/users"+t})},isDebounced:!0,getOptionKeywords:function(e){return[e.slug,e.name]},getOptionLabel:function(e){return[Object(zr.createElement)("img",{key:"avatar",className:"editor-autocompleters__user-avatar",alt:"",src:e.avatar_urls[24]}),Object(zr.createElement)("span",{key:"name",className:"editor-autocompleters__user-name"},e.name),Object(zr.createElement)("span",{key:"slug",className:"editor-autocompleters__user-slug"},e.slug)]},getOptionCompletion:function(e){return"@".concat(e.slug)}},Jr=n(13),$r=n(12),eo=n(15),to=n(16),no=n(17),ro=function(e){function t(){return Object(Jr.a)(this,t),Object(eo.a)(this,Object(to.a)(t).apply(this,arguments))}return Object(no.a)(t,e),Object($r.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDirty,r=t.editsReference,o=t.isAutosaveable,i=t.isAutosaving;r!==e.editsReference&&(this.didAutosaveForEditsReference=!1),!i&&e.isAutosaving&&(this.didAutosaveForEditsReference=!0),e.isDirty===n&&e.isAutosaveable===o&&e.editsReference===r||this.toggleTimer(n&&o&&!this.didAutosaveForEditsReference)}},{key:"componentWillUnmount",value:function(){this.toggleTimer(!1)}},{key:"toggleTimer",value:function(e){var t=this,n=this.props,r=n.interval,o=n.shouldThrottle,i=void 0!==o&&o;!i&&this.pendingSave&&(clearTimeout(this.pendingSave),delete this.pendingSave),!e||i&&this.pendingSave||(this.pendingSave=setTimeout((function(){t.props.autosave(),delete t.pendingSave}),1e3*r))}},{key:"render",value:function(){return null}}]),t}(zr.Component),oo=Object(Hr.compose)([Object(d.withSelect)((function(e,t){var n=e("core").getReferenceByDistinctEdits,r=e("core/editor"),o=r.isEditedPostDirty,i=r.isEditedPostAutosaveable,c=r.isAutosavingPost,a=r.getEditorSettings,s=t.interval,u=void 0===s?a().autosaveInterval:s;return{isDirty:o(),isAutosaveable:i(),editsReference:n(),isAutosaving:c(),interval:u}})),Object(d.withDispatch)((function(e,t){return{autosave:function(){var n=t.autosave,r=void 0===n?e("core/editor").autosave:n;r()}}}))])(ro),io=n(11),co=n.n(io),ao=function(e){var t=e.children,n=e.isValid,r=e.level,o=e.path,c=void 0===o?[]:o,a=e.href,s=e.onSelect;return Object(zr.createElement)("li",{className:co()("document-outline__item","is-".concat(r.toLowerCase()),{"is-invalid":!n})},Object(zr.createElement)("a",{href:a,className:"document-outline__button",onClick:s},Object(zr.createElement)("span",{className:"document-outline__emdash","aria-hidden":"true"}),c.map((function(e,t){var n=e.clientId;return Object(zr.createElement)("strong",{key:t,className:"document-outline__level"},Object(zr.createElement)(i.BlockTitle,{clientId:n}))})),Object(zr.createElement)("strong",{className:"document-outline__level"},r),Object(zr.createElement)("span",{className:"document-outline__item-content"},t)))},so=Object(zr.createElement)("em",null,Object(B.__)("(Empty heading)")),uo=[Object(zr.createElement)("br",{key:"incorrect-break"}),Object(zr.createElement)("em",{key:"incorrect-message"},Object(B.__)("(Incorrect heading level)"))],lo=[Object(zr.createElement)("br",{key:"incorrect-break-h1"}),Object(zr.createElement)("em",{key:"incorrect-message-h1"},Object(B.__)("(Your theme may already use a H1 for the post title)"))],po=[Object(zr.createElement)("br",{key:"incorrect-break-multiple-h1"}),Object(zr.createElement)("em",{key:"incorrect-message-multiple-h1"},Object(B.__)("(Multiple H1 headings are not recommended)"))],bo=function(e){return!e.attributes.content||0===e.attributes.content.length},fo=Object(Hr.compose)(Object(d.withSelect)((function(e){var t=e("core/block-editor").getBlocks,n=e("core/editor").getEditedPostAttribute,r=(0,e("core").getPostType)(n("type"));return{title:n("title"),blocks:t(),isTitleSupported:Object(v.get)(r,["supports","title"],!1)}})))((function(e){var t=e.blocks,n=void 0===t?[]:t,r=e.title,o=e.onSelect,i=e.isTitleSupported,c=e.hasOutlineItemsDisabled,a=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object(v.flatMap)(t,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"core/heading"===t.name?Object(l.a)({},t,{path:n,level:t.attributes.level,isEmpty:bo(t)}):e(t.innerBlocks,[].concat(Object(x.a)(n),[t]))}))}(n);if(a.length<1)return null;var u=1,d=document.querySelector(".editor-post-title__input"),p=i&&r&&d,b=Object(v.countBy)(a,"level")[1]>1;return Object(zr.createElement)("div",{className:"document-outline"},Object(zr.createElement)("ul",null,p&&Object(zr.createElement)(ao,{level:Object(B.__)("Title"),isValid:!0,onSelect:o,href:"#".concat(d.id),isDisabled:c},r),a.map((function(e,t){var n=e.level>u+1,r=!(e.isEmpty||n||!e.level||1===e.level&&(b||p));return u=e.level,Object(zr.createElement)(ao,{key:t,level:"H".concat(e.level),isValid:r,path:e.path,isDisabled:c,href:"#block-".concat(e.clientId),onSelect:o},e.isEmpty?so:Object(s.getTextContent)(Object(s.create)({html:e.attributes.content})),n&&uo,1===e.level&&b&&po,p&&1===e.level&&!b&&lo)}))))}));var ho=Object(d.withSelect)((function(e){return{blocks:e("core/block-editor").getBlocks()}}))((function(e){var t=e.blocks,n=e.children;return Object(v.filter)(t,(function(e){return"core/heading"===e.name})).length<1?null:n})),mo=n(6),vo=n(3),Oo=n(19);var go=Object(Hr.compose)([Object(d.withSelect)((function(e){return{isDirty:(0,e("core/editor").isEditedPostDirty)()}})),Object(d.withDispatch)((function(e,t,n){var r=n.select,o=e("core/editor").savePost;return{onSave:function(){(0,r("core/editor").isEditedPostDirty)()&&o()}}}))])((function(e){var t=e.onSave;return Object(zr.createElement)(vo.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(b.a)({},Oo.rawShortcut.primary("s"),(function(e){e.preventDefault(),t()}))})})),jo=function(e){function t(){var e;return Object(Jr.a)(this,t),(e=Object(eo.a)(this,Object(to.a)(t).apply(this,arguments))).undoOrRedo=e.undoOrRedo.bind(Object(mo.a)(e)),e}return Object(no.a)(t,e),Object($r.a)(t,[{key:"undoOrRedo",value:function(e){var t=this.props,n=t.onRedo,r=t.onUndo;e.shiftKey?n():r(),e.preventDefault()}},{key:"render",value:function(){var e;return Object(zr.createElement)(zr.Fragment,null,Object(zr.createElement)(i.BlockEditorKeyboardShortcuts,null),Object(zr.createElement)(vo.KeyboardShortcuts,{shortcuts:(e={},Object(b.a)(e,Oo.rawShortcut.primary("z"),this.undoOrRedo),Object(b.a)(e,Oo.rawShortcut.primaryShift("z"),this.undoOrRedo),e)}),Object(zr.createElement)(go,null))}}]),t}(zr.Component),_o=Object(d.withDispatch)((function(e){var t=e("core/editor");return{onRedo:t.redo,onUndo:t.undo}}))(jo),yo=_o;function ko(){return A()("EditorGlobalKeyboardShortcuts",{alternative:"VisualEditorGlobalKeyboardShortcuts",plugin:"Gutenberg"}),Object(zr.createElement)(_o,null)}function Eo(){return Object(zr.createElement)(go,null)}var So=Object(Hr.compose)([Object(d.withSelect)((function(e){return{hasRedo:e("core/editor").hasEditorRedo()}})),Object(d.withDispatch)((function(e){return{redo:e("core/editor").redo}}))])((function(e){var t=e.hasRedo,n=e.redo;return Object(zr.createElement)(vo.IconButton,{icon:"redo",label:Object(B.__)("Redo"),shortcut:Oo.displayShortcut.primaryShift("z"),"aria-disabled":!t,onClick:t?n:void 0,className:"editor-history__redo"})}));var Po=Object(Hr.compose)([Object(d.withSelect)((function(e){return{hasUndo:e("core/editor").hasEditorUndo()}})),Object(d.withDispatch)((function(e){return{undo:e("core/editor").undo}}))])((function(e){var t=e.hasUndo,n=e.undo;return Object(zr.createElement)(vo.IconButton,{icon:"undo",label:Object(B.__)("Undo"),shortcut:Oo.displayShortcut.primary("z"),"aria-disabled":!t,onClick:t?n:void 0,className:"editor-history__undo"})}));var wo=Object(Hr.compose)([Object(d.withSelect)((function(e){return{isValid:e("core/block-editor").isValidTemplate()}})),Object(d.withDispatch)((function(e){var t=e("core/block-editor"),n=t.setTemplateValidity;return{resetTemplateValidity:function(){return n(!0)},synchronizeTemplate:t.synchronizeTemplate}}))])((function(e){var t=e.isValid,n=Object(Vr.a)(e,["isValid"]);return t?null:Object(zr.createElement)(vo.Notice,{className:"editor-template-validation-notice",isDismissible:!1,status:"warning"},Object(zr.createElement)("p",null,Object(B.__)("The content of your post doesn’t match the template assigned to your post type.")),Object(zr.createElement)("div",null,Object(zr.createElement)(vo.Button,{isDefault:!0,onClick:n.resetTemplateValidity},Object(B.__)("Keep it as is")),Object(zr.createElement)(vo.Button,{onClick:function(){window.confirm(Object(B.__)("Resetting the template may result in loss of content, do you want to continue?"))&&n.synchronizeTemplate()},isPrimary:!0},Object(B.__)("Reset the template"))))}));var Co=Object(Hr.compose)([Object(d.withSelect)((function(e){return{notices:e("core/notices").getNotices()}})),Object(d.withDispatch)((function(e){return{onRemove:e("core/notices").removeNotice}}))])((function(e){var t=e.notices,n=e.onRemove,r=Object(v.filter)(t,{isDismissible:!0,type:"default"}),o=Object(v.filter)(t,{isDismissible:!1,type:"default"}),i=Object(v.filter)(t,{type:"snackbar"});return Object(zr.createElement)(zr.Fragment,null,Object(zr.createElement)(vo.NoticeList,{notices:o,className:"components-editor-notices__pinned"}),Object(zr.createElement)(vo.NoticeList,{notices:r,className:"components-editor-notices__dismissible",onRemove:n},Object(zr.createElement)(wo,null)),Object(zr.createElement)(vo.SnackbarList,{notices:i,className:"components-editor-notices__snackbar",onRemove:n}))})),To=function(e){function t(){var e;return Object(Jr.a)(this,t),(e=Object(eo.a)(this,Object(to.a)(t).apply(this,arguments))).reboot=e.reboot.bind(Object(mo.a)(e)),e.getContent=e.getContent.bind(Object(mo.a)(e)),e.state={error:null},e}return Object(no.a)(t,e),Object($r.a)(t,[{key:"componentDidCatch",value:function(e){this.setState({error:e})}},{key:"reboot",value:function(){this.props.onError()}},{key:"getContent",value:function(){try{return Object(d.select)("core/editor").getEditedPostContent()}catch(e){}}},{key:"render",value:function(){var e=this.state.error;return e?Object(zr.createElement)(i.Warning,{className:"editor-error-boundary",actions:[Object(zr.createElement)(vo.Button,{key:"recovery",onClick:this.reboot,isLarge:!0},Object(B.__)("Attempt Recovery")),Object(zr.createElement)(vo.ClipboardButton,{key:"copy-post",text:this.getContent,isLarge:!0},Object(B.__)("Copy Post Text")),Object(zr.createElement)(vo.ClipboardButton,{key:"copy-error",text:e.stack,isLarge:!0},Object(B.__)("Copy Error"))]},Object(B.__)("The editor has encountered an unexpected error.")):this.props.children}}]),t}(zr.Component),Bo=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,xo=Object(v.once)((function(){try{return window.sessionStorage.setItem("__wpEditorTestSessionStorage",""),window.sessionStorage.removeItem("__wpEditorTestSessionStorage"),!0}catch(e){return!1}}));function Io(){var e=Object(d.useSelect)((function(e){return{postId:e("core/editor").getCurrentPostId(),getEditedPostAttribute:e("core/editor").getEditedPostAttribute,hasRemoteAutosave:!!e("core/editor").getEditorSettings().autosave}})),t=e.postId,n=e.getEditedPostAttribute,r=e.hasRemoteAutosave,o=Object(d.useDispatch)("core/notices"),i=o.createWarningNotice,a=o.removeNotice,s=Object(d.useDispatch)("core/editor"),u=s.editPost,l=s.resetEditorBlocks;Object(zr.useEffect)((function(){var e=function(e){return window.sessionStorage.getItem(Lr(e))}(t);if(e){try{e=JSON.parse(e)}catch(e){return}var o=e,s={title:o.post_title,content:o.content,excerpt:o.excerpt};if(Object.keys(s).some((function(e){return s[e]!==n(e)}))){if(!r){var d=Object(v.uniqueId)("wpEditorAutosaveRestore");i(Object(B.__)("The backup of this post in your browser is different from the version below."),{id:d,actions:[{label:Object(B.__)("Restore the backup"),onClick:function(){u(Object(v.omit)(s,["content"])),l(Object(c.parse)(s.content)),a(d)}}]})}}else Nr(t)}}),[t])}var Ao=Object(Hr.ifCondition)(xo)((function(){var e,t,n,r,o,i,c,a=Object(d.useDispatch)("core/editor").__experimentalLocalAutosave,s=Object(zr.useCallback)((function(){Bo(a)}),[]);Io(),e=Object(d.useSelect)((function(e){return{postId:e("core/editor").getCurrentPostId(),isDirty:e("core/editor").isEditedPostDirty(),isAutosaving:e("core/editor").isAutosavingPost(),didError:e("core/editor").didPostSaveRequestFail()}})),t=e.postId,n=e.isDirty,r=e.isAutosaving,o=e.didError,i=Object(zr.useRef)(n),c=Object(zr.useRef)(r),Object(zr.useEffect)((function(){!o&&(c.current&&!r||i.current&&!n)&&Nr(t),i.current=n,c.current=r}),[n,r,o]);var u=Object(d.useSelect)((function(e){return{localAutosaveInterval:e("core/editor").getEditorSettings().__experimentalLocalAutosaveInterval}})).localAutosaveInterval;return Object(zr.createElement)(oo,{interval:u,autosave:s,shouldThrottle:!0})}));var Ro=Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getEditorSettings,o=e("core").getPostType,i=r().availableTemplates;return{postType:o(n("type")),availableTemplates:i}}))((function(e){var t=e.availableTemplates,n=e.postType,r=e.children;return!Object(v.get)(n,["supports","page-attributes"],!1)&&Object(v.isEmpty)(t)?null:r}));var Lo=Object(d.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute;return{postType:(0,e("core").getPostType)(t("type"))}}))((function(e){var t=e.postType,n=e.children,r=e.supportKeys,o=!0;return t&&(o=Object(v.some)(Object(v.castArray)(r),(function(e){return!!t.supports[e]}))),o?n:null})),No=Object(Hr.withState)({orderInput:null})((function(e){var t=e.onUpdateOrder,n=e.order,r=void 0===n?0:n,o=e.orderInput,i=e.setState,c=null===o?r:o;return Object(zr.createElement)(vo.TextControl,{className:"editor-page-attributes__order",type:"number",label:Object(B.__)("Order"),value:c,onChange:function(e){i({orderInput:e});var n=Number(e);Number.isInteger(n)&&""!==Object(v.invoke)(e,["trim"])&&t(Number(e))},size:6,onBlur:function(){i({orderInput:null})}})}));var Do=Object(Hr.compose)([Object(d.withSelect)((function(e){return{order:e("core/editor").getEditedPostAttribute("menu_order")}})),Object(d.withDispatch)((function(e){return{onUpdateOrder:function(t){e("core/editor").editPost({menu_order:t})}}}))])((function(e){return Object(zr.createElement)(Lo,{supportKeys:"page-attributes"},Object(zr.createElement)(No,e))}));function Uo(e){var t=e.map((function(e){return Object(l.a)({children:[],parent:null},e)})),n=Object(v.groupBy)(t,"parent");if(n.null&&n.null.length)return t;return function e(t){return t.map((function(t){var r=n[t.id];return Object(l.a)({},t,{children:r&&r.length?e(r):[]})}))}(n[0]||[])}var Fo=Object(d.withSelect)((function(e){var t=e("core"),n=t.getPostType,r=t.getEntityRecords,o=e("core/editor"),i=o.getCurrentPostId,c=o.getEditedPostAttribute,a=c("type"),s=n(a),u=i(),l=Object(v.get)(s,["hierarchical"],!1),d={per_page:-1,exclude:u,parent_exclude:u,orderby:"menu_order",order:"asc"};return{parent:c("parent"),items:l?r("postType",a,d):[],postType:s}})),Mo=Object(d.withDispatch)((function(e){var t=e("core/editor").editPost;return{onUpdateParent:function(e){t({parent:e||0})}}})),Vo=Object(Hr.compose)([Fo,Mo])((function(e){var t=e.parent,n=e.postType,r=e.items,o=e.onUpdateParent,i=Object(v.get)(n,["hierarchical"],!1),c=Object(v.get)(n,["labels","parent_item_colon"]),a=r||[];if(!i||!c||!a.length)return null;var s=Uo(a.map((function(e){return{id:e.id,parent:e.parent,name:e.title.raw?e.title.raw:"#".concat(e.id," (").concat(Object(B.__)("no title"),")")}})));return Object(zr.createElement)(vo.TreeSelect,{className:"editor-page-attributes__parent",label:c,noOptionLabel:"(".concat(Object(B.__)("no parent"),")"),tree:s,selectedId:t,onChange:o})}));var zo=Object(Hr.compose)(Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=(0,t.getEditorSettings)().availableTemplates;return{selectedTemplate:n("template"),availableTemplates:r}})),Object(d.withDispatch)((function(e){return{onUpdate:function(t){e("core/editor").editPost({template:t||""})}}})))((function(e){var t=e.availableTemplates,n=e.selectedTemplate,r=e.onUpdate;return Object(v.isEmpty)(t)?null:Object(zr.createElement)(vo.SelectControl,{label:Object(B.__)("Template:"),value:n,onChange:r,className:"editor-page-attributes__template",options:Object(v.map)(t,(function(e,t){return{value:t,label:e}}))})})),Ho=n(53);var Wo=Object(Hr.compose)([Object(d.withSelect)((function(e){var t=e("core/editor").getCurrentPost();return{hasAssignAuthorAction:Object(v.get)(t,["_links","wp:action-assign-author"],!1),postType:e("core/editor").getCurrentPostType(),authors:e("core").getAuthors()}})),Hr.withInstanceId])((function(e){var t=e.hasAssignAuthorAction,n=e.authors,r=e.children;return!t||n.length<2?null:Object(zr.createElement)(Lo,{supportKeys:"author"},r)})),Ko=function(e){function t(){var e;return Object(Jr.a)(this,t),(e=Object(eo.a)(this,Object(to.a)(t).apply(this,arguments))).setAuthorId=e.setAuthorId.bind(Object(mo.a)(e)),e}return Object(no.a)(t,e),Object($r.a)(t,[{key:"setAuthorId",value:function(e){var t=this.props.onUpdateAuthor,n=e.target.value;t(Number(n))}},{key:"render",value:function(){var e=this.props,t=e.postAuthor,n=e.instanceId,r=e.authors,o="post-author-selector-"+n;return Object(zr.createElement)(Wo,null,Object(zr.createElement)("label",{htmlFor:o},Object(B.__)("Author")),Object(zr.createElement)("select",{id:o,value:t,onChange:this.setAuthorId,className:"editor-post-author__select"},r.map((function(e){return Object(zr.createElement)("option",{key:e.id,value:e.id},Object(Ho.decodeEntities)(e.name))}))))}}]),t}(zr.Component),Go=Object(Hr.compose)([Object(d.withSelect)((function(e){return{postAuthor:e("core/editor").getEditedPostAttribute("author"),authors:e("core").getAuthors()}})),Object(d.withDispatch)((function(e){return{onUpdateAuthor:function(t){e("core/editor").editPost({author:t})}}})),Hr.withInstanceId])(Ko);var qo=Object(Hr.compose)([Object(d.withSelect)((function(e){return{commentStatus:e("core/editor").getEditedPostAttribute("comment_status")}})),Object(d.withDispatch)((function(e){return{editPost:e("core/editor").editPost}}))])((function(e){var t=e.commentStatus,n=void 0===t?"open":t,r=Object(Vr.a)(e,["commentStatus"]);return Object(zr.createElement)(vo.CheckboxControl,{label:Object(B.__)("Allow Comments"),checked:"open"===n,onChange:function(){return r.editPost({comment_status:"open"===n?"closed":"open"})}})}));var Qo=Object(Hr.compose)([Object(d.withSelect)((function(e){return{excerpt:e("core/editor").getEditedPostAttribute("excerpt")}})),Object(d.withDispatch)((function(e){return{onUpdateExcerpt:function(t){e("core/editor").editPost({excerpt:t})}}}))])((function(e){var t=e.excerpt,n=e.onUpdateExcerpt;return Object(zr.createElement)("div",{className:"editor-post-excerpt"},Object(zr.createElement)(vo.TextareaControl,{label:Object(B.__)("Write an excerpt (optional)"),className:"editor-post-excerpt__textarea",onChange:function(e){return n(e)},value:t}),Object(zr.createElement)(vo.ExternalLink,{href:Object(B.__)("https://wordpress.org/support/article/excerpt/")},Object(B.__)("Learn more about manual excerpts")))}));var Yo=function(e){return Object(zr.createElement)(Lo,Object(Mr.a)({},e,{supportKeys:"excerpt"}))};var Xo=Object(d.withSelect)((function(e){var t=e("core").getThemeSupports;return{postType:(0,e("core/editor").getEditedPostAttribute)("type"),themeSupports:t()}}))((function(e){var t=e.themeSupports,n=e.children,r=e.postType,o=e.supportKeys;return Object(v.some)(Object(v.castArray)(o),(function(e){var n=Object(v.get)(t,[e],!1);return"post-thumbnails"===e&&Object(v.isArray)(n)?Object(v.includes)(n,r):n}))?n:null}));var Zo=function(e){return Object(zr.createElement)(Xo,{supportKeys:"post-thumbnails"},Object(zr.createElement)(Lo,Object(Mr.a)({},e,{supportKeys:"thumbnail"})))},Jo=["image"],$o=Object(B.__)("Featured Image"),ei=Object(B.__)("Set Featured Image"),ti=Object(B.__)("Remove Image");var ni=Object(d.withSelect)((function(e){var t=e("core"),n=t.getMedia,r=t.getPostType,o=e("core/editor"),i=o.getCurrentPostId,c=o.getEditedPostAttribute,a=c("featured_media");return{media:a?n(a):null,currentPostId:i(),postType:r(c("type")),featuredImageId:a}})),ri=Object(d.withDispatch)((function(e,t,n){var r=t.noticeOperations,o=n.select,i=e("core/editor").editPost;return{onUpdateImage:function(e){i({featured_media:e.id})},onDropImage:function(e){o("core/block-editor").getSettings().mediaUpload({allowedTypes:["image"],filesList:e,onFileChange:function(e){var t=Object(vt.a)(e,1)[0];i({featured_media:t.id})},onError:function(e){r.removeAllNotices(),r.createErrorNotice(e)}})},onRemoveImage:function(){i({featured_media:0})}}})),oi=Object(Hr.compose)(vo.withNotices,ni,ri,Object(vo.withFilters)("editor.PostFeaturedImage"))((function(e){var t,n,r,o=e.currentPostId,c=e.featuredImageId,a=e.onUpdateImage,s=e.onDropImage,u=e.onRemoveImage,l=e.media,d=e.postType,p=e.noticeUI,b=Object(v.get)(d,["labels"],{}),f=Object(zr.createElement)("p",null,Object(B.__)("To edit the featured image, you need permission to upload media."));if(l){var h=Object(Wr.applyFilters)("editor.PostFeaturedImage.imageSize","post-thumbnail",l.id,o);if(Object(v.has)(l,["media_details","sizes",h]))t=l.media_details.sizes[h].width,n=l.media_details.sizes[h].height,r=l.media_details.sizes[h].source_url;else{var m=Object(Wr.applyFilters)("editor.PostFeaturedImage.imageSize","thumbnail",l.id,o);Object(v.has)(l,["media_details","sizes",m])?(t=l.media_details.sizes[m].width,n=l.media_details.sizes[m].height,r=l.media_details.sizes[m].source_url):(t=l.media_details.width,n=l.media_details.height,r=l.source_url)}}return Object(zr.createElement)(Zo,null,p,Object(zr.createElement)("div",{className:"editor-post-featured-image"},Object(zr.createElement)(i.MediaUploadCheck,{fallback:f},Object(zr.createElement)(i.MediaUpload,{title:b.featured_image||$o,onSelect:a,unstableFeaturedImageFlow:!0,allowedTypes:Jo,modalClass:"editor-post-featured-image__media-modal",render:function(e){var o=e.open;return Object(zr.createElement)("div",{className:"editor-post-featured-image__container"},Object(zr.createElement)(vo.Button,{className:c?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:o,"aria-label":c?Object(B.__)("Edit or update the image"):null},!!c&&l&&Object(zr.createElement)(vo.ResponsiveWrapper,{naturalWidth:t,naturalHeight:n,isInline:!0},Object(zr.createElement)("img",{src:r,alt:""})),!!c&&!l&&Object(zr.createElement)(vo.Spinner,null),!c&&(b.set_featured_image||ei)),Object(zr.createElement)(vo.DropZone,{onFilesDrop:s}))},value:c})),!!c&&l&&!l.isLoading&&Object(zr.createElement)(i.MediaUploadCheck,null,Object(zr.createElement)(i.MediaUpload,{title:b.featured_image||$o,onSelect:a,unstableFeaturedImageFlow:!0,allowedTypes:Jo,modalClass:"editor-post-featured-image__media-modal",render:function(e){var t=e.open;return Object(zr.createElement)(vo.Button,{onClick:t,isDefault:!0,isLarge:!0},Object(B.__)("Replace Image"))}})),!!c&&Object(zr.createElement)(i.MediaUploadCheck,null,Object(zr.createElement)(vo.Button,{onClick:u,isLink:!0,isDestructive:!0},b.remove_featured_image||ti))))}));var ii=Object(d.withSelect)((function(e){return{disablePostFormats:e("core/editor").getEditorSettings().disablePostFormats}}))((function(e){var t=e.disablePostFormats,n=Object(Vr.a)(e,["disablePostFormats"]);return!t&&Object(zr.createElement)(Lo,Object(Mr.a)({},n,{supportKeys:"post-formats"}))})),ci=[{id:"aside",caption:Object(B.__)("Aside")},{id:"gallery",caption:Object(B.__)("Gallery")},{id:"link",caption:Object(B.__)("Link")},{id:"image",caption:Object(B.__)("Image")},{id:"quote",caption:Object(B.__)("Quote")},{id:"standard",caption:Object(B.__)("Standard")},{id:"status",caption:Object(B.__)("Status")},{id:"video",caption:Object(B.__)("Video")},{id:"audio",caption:Object(B.__)("Audio")},{id:"chat",caption:Object(B.__)("Chat")}];var ai=Object(Hr.compose)([Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getSuggestedPostFormat,o=n("format"),i=e("core").getThemeSupports();return{postFormat:o,supportedFormats:Object(v.union)([o],Object(v.get)(i,["formats"],[])),suggestedFormat:r()}})),Object(d.withDispatch)((function(e){return{onUpdatePostFormat:function(t){e("core/editor").editPost({format:t})}}})),Hr.withInstanceId])((function(e){var t=e.onUpdatePostFormat,n=e.postFormat,r=void 0===n?"standard":n,o=e.supportedFormats,i=e.suggestedFormat,c="post-format-selector-"+e.instanceId,a=ci.filter((function(e){return Object(v.includes)(o,e.id)})),s=Object(v.find)(a,(function(e){return e.id===i}));return Object(zr.createElement)(ii,null,Object(zr.createElement)("div",{className:"editor-post-format"},Object(zr.createElement)("div",{className:"editor-post-format__content"},Object(zr.createElement)("label",{htmlFor:c},Object(B.__)("Post Format")),Object(zr.createElement)(vo.SelectControl,{value:r,onChange:function(e){return t(e)},id:c,options:a.map((function(e){return{label:e.caption,value:e.id}}))})),s&&s.id!==r&&Object(zr.createElement)("div",{className:"editor-post-format__suggestion"},Object(B.__)("Suggestion:")," ",Object(zr.createElement)(vo.Button,{isLink:!0,onClick:function(){return t(s.id)}},s.caption))))}));var si=Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPostLastRevisionId,r=t.getCurrentPostRevisionsCount;return{lastRevisionId:n(),revisionsCount:r()}}))((function(e){var t=e.lastRevisionId,n=e.revisionsCount,r=e.children;return!t||n<2?null:Object(zr.createElement)(Lo,{supportKeys:"revisions"},r)}));function ui(e,t){return Object(jt.addQueryArgs)(e,t)}function li(e){return e?Object(v.toLower)(Object(v.deburr)(Object(v.trim)(e.replace(/[\s\./_]+/g,"-"),"-"))):""}var di=Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPostLastRevisionId,r=t.getCurrentPostRevisionsCount;return{lastRevisionId:n(),revisionsCount:r()}}))((function(e){var t=e.lastRevisionId,n=e.revisionsCount;return Object(zr.createElement)(si,null,Object(zr.createElement)(vo.IconButton,{href:ui("revision.php",{revision:t,gutenberg:!0}),className:"editor-post-last-revision__title",icon:"backup"},Object(B.sprintf)(Object(B._n)("%d Revision","%d Revisions",n),n)))}));var pi=function(e){function t(){var e;return Object(Jr.a)(this,t),(e=Object(eo.a)(this,Object(to.a)(t).apply(this,arguments))).openPreviewWindow=e.openPreviewWindow.bind(Object(mo.a)(e)),e}return Object(no.a)(t,e),Object($r.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this.props.previewLink;t&&!e.previewLink&&this.setPreviewWindowLink(t)}},{key:"setPreviewWindowLink",value:function(e){var t=this.previewWindow;t&&!t.closed&&(t.location=e)}},{key:"getWindowTarget",value:function(){var e=this.props.postId;return"wp-preview-".concat(e)}},{key:"openPreviewWindow",value:function(e){var t,n;(e.preventDefault(),this.previewWindow&&!this.previewWindow.closed||(this.previewWindow=window.open("",this.getWindowTarget())),this.previewWindow.focus(),this.props.isAutosaveable)?(this.props.isDraft?this.props.savePost({isPreview:!0}):this.props.autosave({isPreview:!0}),t=this.previewWindow.document,n=Object(zr.renderToString)(Object(zr.createElement)("div",{className:"editor-post-preview-button__interstitial-message"},Object(zr.createElement)(vo.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},Object(zr.createElement)(vo.Path,{className:"outer",d:"M48 12c19.9 0 36 16.1 36 36S67.9 84 48 84 12 67.9 12 48s16.1-36 36-36",fill:"none"}),Object(zr.createElement)(vo.Path,{className:"inner",d:"M69.5 46.4c0-3.9-1.4-6.7-2.6-8.8-1.6-2.6-3.1-4.9-3.1-7.5 0-2.9 2.2-5.7 5.4-5.7h.4C63.9 19.2 56.4 16 48 16c-11.2 0-21 5.7-26.7 14.4h2.1c3.3 0 8.5-.4 8.5-.4 1.7-.1 1.9 2.4.2 2.6 0 0-1.7.2-3.7.3L40 67.5l7-20.9L42 33c-1.7-.1-3.3-.3-3.3-.3-1.7-.1-1.5-2.7.2-2.6 0 0 5.3.4 8.4.4 3.3 0 8.5-.4 8.5-.4 1.7-.1 1.9 2.4.2 2.6 0 0-1.7.2-3.7.3l11.5 34.3 3.3-10.4c1.6-4.5 2.4-7.8 2.4-10.5zM16.1 48c0 12.6 7.3 23.5 18 28.7L18.8 35c-1.7 4-2.7 8.4-2.7 13zm32.5 2.8L39 78.6c2.9.8 5.9 1.3 9 1.3 3.7 0 7.3-.6 10.6-1.8-.1-.1-.2-.3-.2-.4l-9.8-26.9zM76.2 36c0 3.2-.6 6.9-2.4 11.4L64 75.6c9.5-5.5 15.9-15.8 15.9-27.6 0-5.5-1.4-10.8-3.9-15.3.1 1 .2 2.1.2 3.3z",fill:"none"})),Object(zr.createElement)("p",null,Object(B.__)("Generating preview…")))),n+='\n\t\t\n\t',n=Object(Wr.applyFilters)("editor.PostPreview.interstitialMarkup",n),t.write(n),t.title=Object(B.__)("Generating preview…"),t.close()):this.setPreviewWindowLink(e.target.href)}},{key:"render",value:function(){var e=this.props,t=e.previewLink,n=e.currentPostLink,r=e.isSaveable,o=t||n;return Object(zr.createElement)(vo.Button,{isLarge:!0,className:"editor-post-preview",href:o,target:this.getWindowTarget(),disabled:!r,onClick:this.openPreviewWindow},Object(B._x)("Preview","imperative verb"),Object(zr.createElement)("span",{className:"screen-reader-text"},Object(B.__)("(opens in a new tab)")))}}]),t}(zr.Component),bi=Object(Hr.compose)([Object(d.withSelect)((function(e,t){var n=t.forcePreviewLink,r=t.forceIsAutosaveable,o=e("core/editor"),i=o.getCurrentPostId,c=o.getCurrentPostAttribute,a=o.getEditedPostAttribute,s=o.isEditedPostSaveable,u=o.isEditedPostAutosaveable,l=o.getEditedPostPreviewLink,d=e("core").getPostType,p=l(),b=d(a("type"));return{postId:i(),currentPostLink:c("link"),previewLink:void 0!==n?n:p,isSaveable:s(),isAutosaveable:r||u(),isViewable:Object(v.get)(b,["viewable"],!1),isDraft:-1!==["draft","auto-draft"].indexOf(a("status"))}})),Object(d.withDispatch)((function(e){return{autosave:e("core/editor").autosave,savePost:e("core/editor").savePost}})),Object(Hr.ifCondition)((function(e){return e.isViewable}))])(pi),fi=function(e){function t(){var e;return Object(Jr.a)(this,t),(e=Object(eo.a)(this,Object(to.a)(t).apply(this,arguments))).sendPostLock=e.sendPostLock.bind(Object(mo.a)(e)),e.receivePostLock=e.receivePostLock.bind(Object(mo.a)(e)),e.releasePostLock=e.releasePostLock.bind(Object(mo.a)(e)),e}return Object(no.a)(t,e),Object($r.a)(t,[{key:"componentDidMount",value:function(){var e=this.getHookName();Object(Wr.addAction)("heartbeat.send",e,this.sendPostLock),Object(Wr.addAction)("heartbeat.tick",e,this.receivePostLock)}},{key:"componentWillUnmount",value:function(){var e=this.getHookName();Object(Wr.removeAction)("heartbeat.send",e),Object(Wr.removeAction)("heartbeat.tick",e)}},{key:"getHookName",value:function(){return"core/editor/post-locked-modal-"+this.props.instanceId}},{key:"sendPostLock",value:function(e){var t=this.props,n=t.isLocked,r=t.activePostLock,o=t.postId;n||(e["wp-refresh-post-lock"]={lock:r,post_id:o})}},{key:"receivePostLock",value:function(e){if(e["wp-refresh-post-lock"]){var t=this.props,n=t.autosave,r=t.updatePostLock,o=e["wp-refresh-post-lock"];o.lock_error?(n(),r({isLocked:!0,isTakeover:!0,user:{avatar:o.lock_error.avatar_src}})):o.new_lock&&r({isLocked:!1,activePostLock:o.new_lock})}}},{key:"releasePostLock",value:function(){var e=this.props,t=e.isLocked,n=e.activePostLock,r=e.postLockUtils,o=e.postId;if(!t&&n){var i=new window.FormData;if(i.append("action","wp-remove-post-lock"),i.append("_wpnonce",r.unlockNonce),i.append("post_ID",o),i.append("active_post_lock",n),window.navigator.sendBeacon)window.navigator.sendBeacon(r.ajaxUrl,i);else{var c=new window.XMLHttpRequest;c.open("POST",r.ajaxUrl,!1),c.send(i)}}}},{key:"render",value:function(){var e=this.props,t=e.user,n=e.postId,r=e.isLocked,o=e.isTakeover,i=e.postLockUtils,c=e.postType;if(!r)return null;var a=t.name,s=t.avatar,u=Object(jt.addQueryArgs)("post.php",{"get-post-lock":"1",lockKey:!0,post:n,action:"edit",_wpnonce:i.nonce}),l=ui("edit.php",{post_type:Object(v.get)(c,["slug"])}),d=Object(B.__)("Exit the Editor");return Object(zr.createElement)(vo.Modal,{title:o?Object(B.__)("Someone else has taken over this post."):Object(B.__)("This post is already being edited."),focusOnMount:!0,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"editor-post-locked-modal"},!!s&&Object(zr.createElement)("img",{src:s,alt:Object(B.__)("Avatar"),className:"editor-post-locked-modal__avatar"}),!!o&&Object(zr.createElement)("div",null,Object(zr.createElement)("div",null,a?Object(B.sprintf)(Object(B.__)("%s now has editing control of this post. Don’t worry, your changes up to this moment have been saved."),a):Object(B.__)("Another user now has editing control of this post. Don’t worry, your changes up to this moment have been saved.")),Object(zr.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(zr.createElement)(vo.Button,{isPrimary:!0,isLarge:!0,href:l},d))),!o&&Object(zr.createElement)("div",null,Object(zr.createElement)("div",null,a?Object(B.sprintf)(Object(B.__)("%s is currently working on this post, which means you cannot make changes, unless you take over."),a):Object(B.__)("Another user is currently working on this post, which means you cannot make changes, unless you take over.")),Object(zr.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(zr.createElement)(vo.Button,{isDefault:!0,isLarge:!0,href:l},d),Object(zr.createElement)(bi,null),Object(zr.createElement)(vo.Button,{isPrimary:!0,isLarge:!0,href:u},Object(B.__)("Take Over")))))}}]),t}(zr.Component),hi=Object(Hr.compose)(Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.isPostLocked,r=t.isPostLockTakeover,o=t.getPostLockUser,i=t.getCurrentPostId,c=t.getActivePostLock,a=t.getEditedPostAttribute,s=t.getEditorSettings,u=e("core").getPostType;return{isLocked:n(),isTakeover:r(),user:o(),postId:i(),postLockUtils:s().postLockUtils,activePostLock:c(),postType:u(a("type"))}})),Object(d.withDispatch)((function(e){var t=e("core/editor");return{autosave:t.autosave,updatePostLock:t.updatePostLock}})),Hr.withInstanceId,Object(Hr.withGlobalEvents)({beforeunload:"releasePostLock"}))(fi);var mi=Object(Hr.compose)(Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.isCurrentPostPublished,r=t.getCurrentPostType,o=t.getCurrentPost;return{hasPublishAction:Object(v.get)(o(),["_links","wp:action-publish"],!1),isPublished:n(),postType:r()}})))((function(e){var t=e.hasPublishAction,n=e.isPublished,r=e.children;return n||!t?null:r}));var vi=Object(Hr.compose)(Object(d.withSelect)((function(e){return{status:e("core/editor").getEditedPostAttribute("status")}})),Object(d.withDispatch)((function(e){return{onUpdateStatus:function(t){e("core/editor").editPost({status:t})}}})))((function(e){var t=e.status,n=e.onUpdateStatus;return Object(zr.createElement)(mi,null,Object(zr.createElement)(vo.CheckboxControl,{label:Object(B.__)("Pending Review"),checked:"pending"===t,onChange:function(){n("pending"===t?"draft":"pending")}}))}));var Oi=Object(Hr.compose)([Object(d.withSelect)((function(e){return{pingStatus:e("core/editor").getEditedPostAttribute("ping_status")}})),Object(d.withDispatch)((function(e){return{editPost:e("core/editor").editPost}}))])((function(e){var t=e.pingStatus,n=void 0===t?"open":t,r=Object(Vr.a)(e,["pingStatus"]);return Object(zr.createElement)(vo.CheckboxControl,{label:Object(B.__)("Allow Pingbacks & Trackbacks"),checked:"open"===n,onChange:function(){return r.editPost({ping_status:"open"===n?"closed":"open"})}})}));var gi=Object(Hr.compose)([Object(d.withSelect)((function(e,t){var n=t.forceIsSaving,r=e("core/editor"),o=r.isCurrentPostPublished,i=r.isEditedPostBeingScheduled,c=r.isSavingPost,a=r.isPublishingPost,s=r.getCurrentPost,u=r.getCurrentPostType,l=r.isAutosavingPost;return{isPublished:o(),isBeingScheduled:i(),isSaving:n||c(),isPublishing:a(),hasPublishAction:Object(v.get)(s(),["_links","wp:action-publish"],!1),postType:u(),isAutosaving:l()}}))])((function(e){var t=e.isPublished,n=e.isBeingScheduled,r=e.isSaving,o=e.isPublishing,i=e.hasPublishAction,c=e.isAutosaving;return o?Object(B.__)("Publishing…"):t&&r&&!c?Object(B.__)("Updating…"):n&&r&&!c?Object(B.__)("Scheduling…"):i?t?Object(B.__)("Update"):n?Object(B.__)("Schedule"):Object(B.__)("Publish"):Object(B.__)("Submit for Review")})),ji=function(e){function t(e){var n;return Object(Jr.a)(this,t),(n=Object(eo.a)(this,Object(to.a)(t).call(this,e))).buttonNode=Object(zr.createRef)(),n}return Object(no.a)(t,e),Object($r.a)(t,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.buttonNode.current.focus()}},{key:"render",value:function(){var e,t=this.props,n=t.forceIsDirty,r=t.forceIsSaving,o=t.hasPublishAction,i=t.isBeingScheduled,c=t.isOpen,a=t.isPostSavingLocked,s=t.isPublishable,u=t.isPublished,l=t.isSaveable,d=t.isSaving,p=t.isToggle,b=t.onSave,f=t.onStatusChange,h=t.onSubmit,m=void 0===h?v.noop:h,O=t.onToggle,g=t.visibility,j=d||r||!l||a||!s&&!n,_=u||d||r||!l||!s&&!n;e=o?"private"===g?"private":i?"future":"publish":"pending";var y={"aria-disabled":j,className:"editor-post-publish-button",isBusy:d&&u,isPrimary:!0,onClick:function(){j||(m(),f(e),b())}},k={"aria-disabled":_,"aria-expanded":c,className:"editor-post-publish-panel__toggle",isBusy:d&&u,isPrimary:!0,onClick:function(){_||O()}},E=i?Object(B.__)("Schedule…"):Object(B.__)("Publish…"),S=Object(zr.createElement)(gi,{forceIsSaving:r}),P=p?k:y,w=p?E:S;return Object(zr.createElement)(vo.Button,Object(Mr.a)({isLarge:!0,ref:this.buttonNode},P),w)}}]),t}(zr.Component),_i=Object(Hr.compose)([Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.isSavingPost,r=t.isEditedPostBeingScheduled,o=t.getEditedPostVisibility,i=t.isCurrentPostPublished,c=t.isEditedPostSaveable,a=t.isEditedPostPublishable,s=t.isPostSavingLocked,u=t.getCurrentPost,l=t.getCurrentPostType;return{isSaving:n(),isBeingScheduled:r(),visibility:o(),isSaveable:c(),isPostSavingLocked:s(),isPublishable:a(),isPublished:i(),hasPublishAction:Object(v.get)(u(),["_links","wp:action-publish"],!1),postType:l()}})),Object(d.withDispatch)((function(e){var t=e("core/editor"),n=t.editPost;return{onStatusChange:function(e){return n({status:e},{undoIgnore:!0})},onSave:t.savePost}}))])(ji),yi=[{value:"public",label:Object(B.__)("Public"),info:Object(B.__)("Visible to everyone.")},{value:"private",label:Object(B.__)("Private"),info:Object(B.__)("Only visible to site admins and editors.")},{value:"password",label:Object(B.__)("Password Protected"),info:Object(B.__)("Protected with a password you choose. Only those with the password can view this post.")}],ki=function(e){function t(e){var n;return Object(Jr.a)(this,t),(n=Object(eo.a)(this,Object(to.a)(t).apply(this,arguments))).setPublic=n.setPublic.bind(Object(mo.a)(n)),n.setPrivate=n.setPrivate.bind(Object(mo.a)(n)),n.setPasswordProtected=n.setPasswordProtected.bind(Object(mo.a)(n)),n.updatePassword=n.updatePassword.bind(Object(mo.a)(n)),n.state={hasPassword:!!e.password},n}return Object(no.a)(t,e),Object($r.a)(t,[{key:"setPublic",value:function(){var e=this.props,t=e.visibility,n=e.onUpdateVisibility,r=e.status;n("private"===t?"draft":r),this.setState({hasPassword:!1})}},{key:"setPrivate",value:function(){if(window.confirm(Object(B.__)("Would you like to privately publish this post now?"))){var e=this.props,t=e.onUpdateVisibility,n=e.onSave;t("private"),this.setState({hasPassword:!1}),n()}}},{key:"setPasswordProtected",value:function(){var e=this.props,t=e.visibility,n=e.onUpdateVisibility,r=e.status;n("private"===t?"draft":r,e.password||""),this.setState({hasPassword:!0})}},{key:"updatePassword",value:function(e){var t=this.props,n=t.status;(0,t.onUpdateVisibility)(n,e.target.value)}},{key:"render",value:function(){var e=this.props,t=e.visibility,n=e.password,r=e.instanceId,o={public:{onSelect:this.setPublic,checked:"public"===t&&!this.state.hasPassword},private:{onSelect:this.setPrivate,checked:"private"===t},password:{onSelect:this.setPasswordProtected,checked:this.state.hasPassword}};return[Object(zr.createElement)("fieldset",{key:"visibility-selector",className:"editor-post-visibility__dialog-fieldset"},Object(zr.createElement)("legend",{className:"editor-post-visibility__dialog-legend"},Object(B.__)("Post Visibility")),yi.map((function(e){var t=e.value,n=e.label,i=e.info;return Object(zr.createElement)("div",{key:t,className:"editor-post-visibility__choice"},Object(zr.createElement)("input",{type:"radio",name:"editor-post-visibility__setting-".concat(r),value:t,onChange:o[t].onSelect,checked:o[t].checked,id:"editor-post-".concat(t,"-").concat(r),"aria-describedby":"editor-post-".concat(t,"-").concat(r,"-description"),className:"editor-post-visibility__dialog-radio"}),Object(zr.createElement)("label",{htmlFor:"editor-post-".concat(t,"-").concat(r),className:"editor-post-visibility__dialog-label"},n),Object(zr.createElement)("p",{id:"editor-post-".concat(t,"-").concat(r,"-description"),className:"editor-post-visibility__dialog-info"},i))}))),this.state.hasPassword&&Object(zr.createElement)("div",{className:"editor-post-visibility__dialog-password",key:"password-selector"},Object(zr.createElement)("label",{htmlFor:"editor-post-visibility__dialog-password-input-".concat(r),className:"screen-reader-text"},Object(B.__)("Create password")),Object(zr.createElement)("input",{className:"editor-post-visibility__dialog-password-input",id:"editor-post-visibility__dialog-password-input-".concat(r),type:"text",onChange:this.updatePassword,value:n,placeholder:Object(B.__)("Use a secure password")}))]}}]),t}(zr.Component),Ei=Object(Hr.compose)([Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getEditedPostVisibility;return{status:n("status"),visibility:r(),password:n("password")}})),Object(d.withDispatch)((function(e){var t=e("core/editor"),n=t.savePost,r=t.editPost;return{onSave:n,onUpdateVisibility:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";r({status:e,password:t})}}})),Hr.withInstanceId])(ki);var Si=Object(d.withSelect)((function(e){return{visibility:e("core/editor").getEditedPostVisibility()}}))((function(e){var t=e.visibility;return Object(v.find)(yi,{value:t}).label}));var Pi=Object(Hr.compose)([Object(d.withSelect)((function(e){return{date:e("core/editor").getEditedPostAttribute("date")}})),Object(d.withDispatch)((function(e){return{onUpdateDate:function(t){e("core/editor").editPost({date:t})}}}))])((function(e){var t=e.date,n=e.onUpdateDate,r=Object(gt.__experimentalGetSettings)(),o=/a(?!\\)/i.test(r.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""));return Object(zr.createElement)(vo.DateTimePicker,{key:"date-time-picker",currentDate:t,onChange:n,is12Hour:o})}));var wi=Object(d.withSelect)((function(e){return{date:e("core/editor").getEditedPostAttribute("date"),isFloating:e("core/editor").isEditedPostDateFloating()}}))((function(e){var t=e.date,n=e.isFloating,r=Object(gt.__experimentalGetSettings)();return t&&!n?Object(gt.dateI18n)("".concat(r.formats.date," ").concat(r.formats.time),t):Object(B.__)("Immediately")})),Ci={per_page:-1,orderby:"count",order:"desc",_fields:"id,name"},Ti=function(e,t){return e.toLowerCase()===t.toLowerCase()},Bi=function(e){return Object(l.a)({},e,{name:Object(v.unescape)(e.name)})},xi=function(e){return Object(v.map)(e,Bi)},Ii=function(e){function t(){var e;return Object(Jr.a)(this,t),(e=Object(eo.a)(this,Object(to.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(mo.a)(e)),e.searchTerms=Object(v.throttle)(e.searchTerms.bind(Object(mo.a)(e)),500),e.findOrCreateTerm=e.findOrCreateTerm.bind(Object(mo.a)(e)),e.state={loading:!Object(v.isEmpty)(e.props.terms),availableTerms:[],selectedTerms:[]},e}return Object(no.a)(t,e),Object($r.a)(t,[{key:"componentDidMount",value:function(){var e=this;Object(v.isEmpty)(this.props.terms)||(this.initRequest=this.fetchTerms({include:this.props.terms.join(","),per_page:-1}),this.initRequest.then((function(){e.setState({loading:!1})}),(function(t){"abort"!==t.statusText&&e.setState({loading:!1})})))}},{key:"componentWillUnmount",value:function(){Object(v.invoke)(this.initRequest,["abort"]),Object(v.invoke)(this.searchRequest,["abort"])}},{key:"componentDidUpdate",value:function(e){e.terms!==this.props.terms&&this.updateSelectedTerms(this.props.terms)}},{key:"fetchTerms",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.props.taxonomy,r=Object(l.a)({},Ci,t),o=T()({path:Object(jt.addQueryArgs)("/wp/v2/".concat(n.rest_base),r)});return o.then(xi).then((function(t){e.setState((function(e){return{availableTerms:e.availableTerms.concat(t.filter((function(t){return!Object(v.find)(e.availableTerms,(function(e){return e.id===t.id}))})))}})),e.updateSelectedTerms(e.props.terms)})),o}},{key:"updateSelectedTerms",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=t.reduce((function(t,n){var r=Object(v.find)(e.state.availableTerms,(function(e){return e.id===n}));return r&&t.push(r.name),t}),[]);this.setState({selectedTerms:n})}},{key:"findOrCreateTerm",value:function(e){var t=this,n=this.props.taxonomy,r=Object(v.escape)(e);return T()({path:"/wp/v2/".concat(n.rest_base),method:"POST",data:{name:r}}).catch((function(o){return"term_exists"===o.code?(t.addRequest=T()({path:Object(jt.addQueryArgs)("/wp/v2/".concat(n.rest_base),Object(l.a)({},Ci,{search:r}))}).then(xi),t.addRequest.then((function(t){return Object(v.find)(t,(function(t){return Ti(t.name,e)}))}))):Promise.reject(o)})).then(Bi)}},{key:"onChange",value:function(e){var t=this,n=Object(v.uniqBy)(e,(function(e){return e.toLowerCase()}));this.setState({selectedTerms:n});var r=n.filter((function(e){return!Object(v.find)(t.state.availableTerms,(function(t){return Ti(t.name,e)}))})),o=function(e,t){return e.map((function(e){return Object(v.find)(t,(function(t){return Ti(t.name,e)})).id}))};if(0===r.length)return this.props.onUpdateTerms(o(n,this.state.availableTerms),this.props.taxonomy.rest_base);Promise.all(r.map(this.findOrCreateTerm)).then((function(e){var r=t.state.availableTerms.concat(e);return t.setState({availableTerms:r}),t.props.onUpdateTerms(o(n,r),t.props.taxonomy.rest_base)}))}},{key:"searchTerms",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(v.invoke)(this.searchRequest,["abort"]),this.searchRequest=this.fetchTerms({search:e})}},{key:"render",value:function(){var e=this.props,t=e.slug,n=e.taxonomy;if(!e.hasAssignAction)return null;var r=this.state,o=r.loading,i=r.availableTerms,c=r.selectedTerms,a=i.map((function(e){return e.name})),s=Object(v.get)(n,["labels","add_new_item"],"post_tag"===t?Object(B.__)("Add New Tag"):Object(B.__)("Add New Term")),u=Object(v.get)(n,["labels","singular_name"],"post_tag"===t?Object(B.__)("Tag"):Object(B.__)("Term")),l=Object(B.sprintf)(Object(B._x)("%s added","term"),u),d=Object(B.sprintf)(Object(B._x)("%s removed","term"),u),p=Object(B.sprintf)(Object(B._x)("Remove %s","term"),u);return Object(zr.createElement)(vo.FormTokenField,{value:c,suggestions:a,onChange:this.onChange,onInputChange:this.searchTerms,maxSuggestions:20,disabled:o,label:s,messages:{added:l,removed:d,remove:p}})}}]),t}(zr.Component),Ai=Object(Hr.compose)(Object(d.withSelect)((function(e,t){var n=t.slug,r=e("core/editor").getCurrentPost,o=(0,e("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(v.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(v.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?e("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}})),Object(d.withDispatch)((function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(Object(b.a)({},n,t))}}})),Object(vo.withFilters)("editor.PostTaxonomyType"))(Ii),Ri=function(){var e=[Object(B.__)("Suggestion:"),Object(zr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(B.__)("Add tags"))];return Object(zr.createElement)(vo.PanelBody,{initialOpen:!1,title:e},Object(zr.createElement)("p",null,Object(B.__)("Tags help users and search engines navigate your site and find your content. Add a few keywords to describe your post.")),Object(zr.createElement)(Ai,{slug:"post_tag"}))},Li=function(e){function t(e){var n;return Object(Jr.a)(this,t),(n=Object(eo.a)(this,Object(to.a)(t).call(this,e))).state={hadTagsWhenOpeningThePanel:e.hasTags},n}return Object(no.a)(t,e),Object($r.a)(t,[{key:"render",value:function(){return this.state.hadTagsWhenOpeningThePanel?null:Object(zr.createElement)(Ri,null)}}]),t}(zr.Component),Ni=Object(Hr.compose)(Object(d.withSelect)((function(e){var t=e("core/editor").getCurrentPostType(),n=e("core").getTaxonomy("post_tag"),r=n&&e("core/editor").getEditedPostAttribute(n.rest_base);return{areTagsFetched:void 0!==n,isPostTypeSupported:n&&Object(v.some)(n.types,(function(e){return e===t})),hasTags:r&&r.length}})),Object(Hr.ifCondition)((function(e){var t=e.areTagsFetched;return e.isPostTypeSupported&&t})))(Li),Di=function(e){var t=e.suggestedPostFormat,n=e.suggestionText,r=e.onUpdatePostFormat;return Object(zr.createElement)(vo.Button,{isLink:!0,onClick:function(){return r(t)}},n)},Ui=function(e,t){var n=ci.filter((function(t){return Object(v.includes)(e,t.id)}));return Object(v.find)(n,(function(e){return e.id===t}))},Fi=Object(Hr.compose)(Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getSuggestedPostFormat,o=Object(v.get)(e("core").getThemeSupports(),["formats"],[]);return{currentPostFormat:n("format"),suggestion:Ui(o,r())}})),Object(d.withDispatch)((function(e){return{onUpdatePostFormat:function(t){e("core/editor").editPost({format:t})}}})),Object(Hr.ifCondition)((function(e){var t=e.suggestion,n=e.currentPostFormat;return t&&t.id!==n})))((function(e){var t=e.suggestion,n=e.onUpdatePostFormat,r=[Object(B.__)("Suggestion:"),Object(zr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(B.__)("Use a post format"))];return Object(zr.createElement)(vo.PanelBody,{initialOpen:!1,title:r},Object(zr.createElement)("p",null,Object(B.__)("Your theme uses post formats to highlight different kinds of content, like images or videos. Apply a post format to see this special styling.")),Object(zr.createElement)("p",null,Object(zr.createElement)(Di,{onUpdatePostFormat:n,suggestedPostFormat:t.id,suggestionText:Object(B.sprintf)(Object(B.__)('Apply the "%1$s" format.'),t.caption)})))}));var Mi=Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.isEditedPostBeingScheduled;return{hasPublishAction:Object(v.get)(n(),["_links","wp:action-publish"],!1),isBeingScheduled:r()}}))((function(e){var t,n,r=e.hasPublishAction,o=e.isBeingScheduled,i=e.children;return r?o?(t=Object(B.__)("Are you ready to schedule?"),n=Object(B.__)("Your work will be published at the specified date and time.")):(t=Object(B.__)("Are you ready to publish?"),n=Object(B.__)("Double-check your settings before publishing.")):(t=Object(B.__)("Are you ready to submit for review?"),n=Object(B.__)("When you’re ready, submit your work for review, and an Editor will be able to approve it for you.")),Object(zr.createElement)("div",{className:"editor-post-publish-panel__prepublish"},Object(zr.createElement)("div",null,Object(zr.createElement)("strong",null,t)),Object(zr.createElement)("p",null,n),r&&Object(zr.createElement)(zr.Fragment,null,Object(zr.createElement)(vo.PanelBody,{initialOpen:!1,title:[Object(B.__)("Visibility:"),Object(zr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(zr.createElement)(Si,null))]},Object(zr.createElement)(Ei,null)),Object(zr.createElement)(vo.PanelBody,{initialOpen:!1,title:[Object(B.__)("Publish:"),Object(zr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(zr.createElement)(wi,null))]},Object(zr.createElement)(Pi,null))),Object(zr.createElement)(Fi,null),Object(zr.createElement)(Ni,null),i)})),Vi=function(e){function t(){var e;return Object(Jr.a)(this,t),(e=Object(eo.a)(this,Object(to.a)(t).apply(this,arguments))).state={showCopyConfirmation:!1},e.onCopy=e.onCopy.bind(Object(mo.a)(e)),e.onSelectInput=e.onSelectInput.bind(Object(mo.a)(e)),e.postLink=Object(zr.createRef)(),e}return Object(no.a)(t,e),Object($r.a)(t,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.postLink.current.focus()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.dismissCopyConfirmation)}},{key:"onCopy",value:function(){var e=this;this.setState({showCopyConfirmation:!0}),clearTimeout(this.dismissCopyConfirmation),this.dismissCopyConfirmation=setTimeout((function(){e.setState({showCopyConfirmation:!1})}),4e3)}},{key:"onSelectInput",value:function(e){e.target.select()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.isScheduled,r=e.post,o=e.postType,i=Object(v.get)(o,["labels","singular_name"]),c=Object(v.get)(o,["labels","view_item"]),a=n?Object(zr.createElement)(zr.Fragment,null,Object(B.__)("is now scheduled. It will go live on")," ",Object(zr.createElement)(wi,null),"."):Object(B.__)("is now live.");return Object(zr.createElement)("div",{className:"post-publish-panel__postpublish"},Object(zr.createElement)(vo.PanelBody,{className:"post-publish-panel__postpublish-header"},Object(zr.createElement)("a",{ref:this.postLink,href:r.link},r.title||Object(B.__)("(no title)"))," ",a),Object(zr.createElement)(vo.PanelBody,null,Object(zr.createElement)("p",{className:"post-publish-panel__postpublish-subheader"},Object(zr.createElement)("strong",null,Object(B.__)("What’s next?"))),Object(zr.createElement)(vo.TextControl,{className:"post-publish-panel__postpublish-post-address",readOnly:!0,label:Object(B.sprintf)(Object(B.__)("%s address"),i),value:Object(jt.safeDecodeURIComponent)(r.link),onFocus:this.onSelectInput}),Object(zr.createElement)("div",{className:"post-publish-panel__postpublish-buttons"},!n&&Object(zr.createElement)(vo.Button,{isDefault:!0,href:r.link},c),Object(zr.createElement)(vo.ClipboardButton,{isDefault:!0,text:r.link,onCopy:this.onCopy},this.state.showCopyConfirmation?Object(B.__)("Copied!"):Object(B.__)("Copy Link")))),t)}}]),t}(zr.Component),zi=Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getCurrentPost,o=t.isCurrentPostScheduled,i=e("core").getPostType;return{post:r(),postType:i(n("type")),isScheduled:o()}}))(Vi),Hi=function(e){function t(){var e;return Object(Jr.a)(this,t),(e=Object(eo.a)(this,Object(to.a)(t).apply(this,arguments))).onSubmit=e.onSubmit.bind(Object(mo.a)(e)),e}return Object(no.a)(t,e),Object($r.a)(t,[{key:"componentDidUpdate",value:function(e){e.isPublished&&!this.props.isSaving&&this.props.isDirty&&this.props.onClose()}},{key:"onSubmit",value:function(){var e=this.props,t=e.onClose,n=e.hasPublishAction,r=e.isPostTypeViewable;n&&r||t()}},{key:"render",value:function(){var e=this.props,t=e.forceIsDirty,n=e.forceIsSaving,r=e.isBeingScheduled,o=e.isPublished,i=e.isPublishSidebarEnabled,c=e.isScheduled,a=e.isSaving,s=e.onClose,u=e.onTogglePublishSidebar,l=e.PostPublishExtension,d=e.PrePublishExtension,p=Object(Vr.a)(e,["forceIsDirty","forceIsSaving","isBeingScheduled","isPublished","isPublishSidebarEnabled","isScheduled","isSaving","onClose","onTogglePublishSidebar","PostPublishExtension","PrePublishExtension"]),b=Object(v.omit)(p,["hasPublishAction","isDirty","isPostTypeViewable"]),f=o||c&&r,h=!f&&!a,m=f&&!a;return Object(zr.createElement)("div",Object(Mr.a)({className:"editor-post-publish-panel"},b),Object(zr.createElement)("div",{className:"editor-post-publish-panel__header"},m?Object(zr.createElement)("div",{className:"editor-post-publish-panel__header-published"},c?Object(B.__)("Scheduled"):Object(B.__)("Published")):Object(zr.createElement)("div",{className:"editor-post-publish-panel__header-publish-button"},Object(zr.createElement)(_i,{focusOnMount:!0,onSubmit:this.onSubmit,forceIsDirty:t,forceIsSaving:n})),Object(zr.createElement)(vo.IconButton,{"aria-expanded":!0,onClick:s,icon:"no-alt",label:Object(B.__)("Close panel")})),Object(zr.createElement)("div",{className:"editor-post-publish-panel__content"},h&&Object(zr.createElement)(Mi,null,d&&Object(zr.createElement)(d,null)),m&&Object(zr.createElement)(zi,{focusOnMount:!0},l&&Object(zr.createElement)(l,null)),a&&Object(zr.createElement)(vo.Spinner,null)),Object(zr.createElement)("div",{className:"editor-post-publish-panel__footer"},Object(zr.createElement)(vo.CheckboxControl,{label:Object(B.__)("Always show pre-publish checks."),checked:i,onChange:u})))}}]),t}(zr.Component),Wi=Object(Hr.compose)([Object(d.withSelect)((function(e){var t=e("core").getPostType,n=e("core/editor"),r=n.getCurrentPost,o=n.getEditedPostAttribute,i=n.isCurrentPostPublished,c=n.isCurrentPostScheduled,a=n.isEditedPostBeingScheduled,s=n.isEditedPostDirty,u=n.isSavingPost,l=e("core/editor").isPublishSidebarEnabled,d=t(o("type"));return{hasPublishAction:Object(v.get)(r(),["_links","wp:action-publish"],!1),isPostTypeViewable:Object(v.get)(d,["viewable"],!1),isBeingScheduled:a(),isDirty:s(),isPublished:i(),isPublishSidebarEnabled:l(),isSaving:u(),isScheduled:c()}})),Object(d.withDispatch)((function(e,t){var n=t.isPublishSidebarEnabled,r=e("core/editor"),o=r.disablePublishSidebar,i=r.enablePublishSidebar;return{onTogglePublishSidebar:function(){n?o():i()}}})),vo.withFocusReturn,vo.withConstrainedTabbing])(Hi);var Ki=Object(Hr.compose)([Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.isSavingPost,r=t.isCurrentPostPublished,o=t.isCurrentPostScheduled;return{isSaving:n(),isPublished:r(),isScheduled:o()}})),Object(d.withDispatch)((function(e){var t=e("core/editor"),n=t.editPost,r=t.savePost;return{onClick:function(){n({status:"draft"}),r()}}}))])((function(e){var t=e.isSaving,n=e.isPublished,r=e.isScheduled,o=e.onClick,i=Object(Hr.useViewportMatch)("small","<");return n||r?Object(zr.createElement)(vo.Button,{className:"editor-post-switch-to-draft",onClick:function(){var e;n?e=Object(B.__)("Are you sure you want to unpublish this post?"):r&&(e=Object(B.__)("Are you sure you want to unschedule this post?")),window.confirm(e)&&o()},disabled:t,isTertiary:!0},i?Object(B.__)("Draft"):Object(B.__)("Switch to Draft")):null})),Gi=function(e){function t(){var e;return Object(Jr.a)(this,t),(e=Object(eo.a)(this,Object(to.a)(t).apply(this,arguments))).state={forceSavedMessage:!1},e}return Object(no.a)(t,e),Object($r.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this;e.isSaving&&!this.props.isSaving&&(this.setState({forceSavedMessage:!0}),this.props.setTimeout((function(){t.setState({forceSavedMessage:!1})}),1e3))}},{key:"render",value:function(){var e=this.props,t=e.post,n=e.isNew,r=e.isScheduled,o=e.isPublished,i=e.isDirty,c=e.isSaving,a=e.isSaveable,s=e.onSave,u=e.isAutosaving,l=e.isPending,d=e.isLargeViewport,p=this.state.forceSavedMessage;if(c){var b=co()("editor-post-saved-state","is-saving",{"is-autosaving":u});return Object(zr.createElement)(vo.Animate,{type:"loading"},(function(e){var t=e.className;return Object(zr.createElement)("span",{className:co()(b,t)},Object(zr.createElement)(vo.Dashicon,{icon:"cloud"}),u?Object(B.__)("Autosaving"):Object(B.__)("Saving"))}))}if(o||r)return Object(zr.createElement)(Ki,null);if(!a)return null;if(p||!n&&!i)return Object(zr.createElement)("span",{className:"editor-post-saved-state is-saved"},Object(zr.createElement)(vo.Dashicon,{icon:"saved"}),Object(B.__)("Saved"));if(!Object(v.get)(t,["_links","wp:action-publish"],!1)&&l)return null;var f=l?Object(B.__)("Save as Pending"):Object(B.__)("Save Draft");return d?Object(zr.createElement)(vo.Button,{className:"editor-post-save-draft",onClick:function(){return s()},shortcut:Oo.displayShortcut.primary("s"),isTertiary:!0},f):Object(zr.createElement)(vo.IconButton,{className:"editor-post-save-draft",label:f,onClick:function(){return s()},shortcut:Oo.displayShortcut.primary("s"),icon:"cloud-upload"})}}]),t}(zr.Component),qi=Object(Hr.compose)([Object(d.withSelect)((function(e,t){var n=t.forceIsDirty,r=t.forceIsSaving,o=e("core/editor"),i=o.isEditedPostNew,c=o.isCurrentPostPublished,a=o.isCurrentPostScheduled,s=o.isEditedPostDirty,u=o.isSavingPost,l=o.isEditedPostSaveable,d=o.getCurrentPost,p=o.isAutosavingPost,b=o.getEditedPostAttribute;return{post:d(),isNew:i(),isPublished:c(),isScheduled:a(),isDirty:n||s(),isSaving:r||u(),isSaveable:l(),isAutosaving:p(),isPending:"pending"===b("status")}})),Object(d.withDispatch)((function(e){return{onSave:e("core/editor").savePost}})),Hr.withSafeTimeout,Object(u.withViewportMatch)({isLargeViewport:"small"})])(Gi);var Qi=Object(Hr.compose)([Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(v.get)(n(),["_links","wp:action-publish"],!1),postType:r()}}))])((function(e){var t=e.hasPublishAction,n=e.children;return t?n:null}));function Yi(e){var t=e.children;return Object(zr.createElement)(Lo,{supportKeys:"slug"},t)}var Xi=function(e){function t(e){var n,r=e.postSlug,o=e.postTitle,i=e.postID;return Object(Jr.a)(this,t),(n=Object(eo.a)(this,Object(to.a)(t).apply(this,arguments))).state={editedSlug:Object(jt.safeDecodeURIComponent)(r)||li(o)||i},n.setSlug=n.setSlug.bind(Object(mo.a)(n)),n}return Object(no.a)(t,e),Object($r.a)(t,[{key:"setSlug",value:function(e){var t=this.props,n=t.postSlug,r=t.onUpdateSlug,o=li(e.target.value);o!==n&&r(o)}},{key:"render",value:function(){var e=this,t=this.props.instanceId,n=this.state.editedSlug,r="editor-post-slug-"+t;return Object(zr.createElement)(Yi,null,Object(zr.createElement)("label",{htmlFor:r},Object(B.__)("Slug")),Object(zr.createElement)("input",{type:"text",id:r,value:n,onChange:function(t){return e.setState({editedSlug:t.target.value})},onBlur:this.setSlug,className:"editor-post-slug__input"}))}}]),t}(zr.Component),Zi=Object(Hr.compose)([Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getEditedPostAttribute,o=n().id;return{postSlug:r("slug"),postTitle:r("title"),postID:o}})),Object(d.withDispatch)((function(e){var t=e("core/editor").editPost;return{onUpdateSlug:function(e){t({slug:e})}}})),Hr.withInstanceId])(Xi);var Ji=Object(Hr.compose)([Object(d.withSelect)((function(e){var t=e("core/editor").getCurrentPost();return{hasStickyAction:Object(v.get)(t,["_links","wp:action-sticky"],!1),postType:e("core/editor").getCurrentPostType()}}))])((function(e){var t=e.hasStickyAction,n=e.postType,r=e.children;return"post"===n&&t?r:null}));var $i=Object(Hr.compose)([Object(d.withSelect)((function(e){return{postSticky:e("core/editor").getEditedPostAttribute("sticky")}})),Object(d.withDispatch)((function(e){return{onUpdateSticky:function(t){e("core/editor").editPost({sticky:t})}}}))])((function(e){var t=e.onUpdateSticky,n=e.postSticky,r=void 0!==n&&n;return Object(zr.createElement)(Ji,null,Object(zr.createElement)(vo.CheckboxControl,{label:Object(B.__)("Stick to the top of the blog"),checked:r,onChange:function(){return t(!r)}}))})),ec={per_page:-1,orderby:"name",order:"asc",_fields:"id,name,parent"},tc=function(e){function t(){var e;return Object(Jr.a)(this,t),(e=Object(eo.a)(this,Object(to.a)(t).apply(this,arguments))).findTerm=e.findTerm.bind(Object(mo.a)(e)),e.onChange=e.onChange.bind(Object(mo.a)(e)),e.onChangeFormName=e.onChangeFormName.bind(Object(mo.a)(e)),e.onChangeFormParent=e.onChangeFormParent.bind(Object(mo.a)(e)),e.onAddTerm=e.onAddTerm.bind(Object(mo.a)(e)),e.onToggleForm=e.onToggleForm.bind(Object(mo.a)(e)),e.setFilterValue=e.setFilterValue.bind(Object(mo.a)(e)),e.sortBySelected=e.sortBySelected.bind(Object(mo.a)(e)),e.state={loading:!0,availableTermsTree:[],availableTerms:[],adding:!1,formName:"",formParent:"",showForm:!1,filterValue:"",filteredTermsTree:[]},e}return Object(no.a)(t,e),Object($r.a)(t,[{key:"onChange",value:function(e){var t=this.props,n=t.onUpdateTerms,r=t.terms,o=void 0===r?[]:r,i=t.taxonomy;n(-1!==o.indexOf(e)?Object(v.without)(o,e):[].concat(Object(x.a)(o),[e]),i.rest_base)}},{key:"onChangeFormName",value:function(e){var t=""===e.target.value.trim()?"":e.target.value;this.setState({formName:t})}},{key:"onChangeFormParent",value:function(e){this.setState({formParent:e})}},{key:"onToggleForm",value:function(){this.setState((function(e){return{showForm:!e.showForm}}))}},{key:"findTerm",value:function(e,t,n){return Object(v.find)(e,(function(e){return(!e.parent&&!t||parseInt(e.parent)===parseInt(t))&&e.name.toLowerCase()===n.toLowerCase()}))}},{key:"onAddTerm",value:function(e){var t=this;e.preventDefault();var n=this.props,r=n.onUpdateTerms,o=n.taxonomy,i=n.terms,c=n.slug,a=this.state,s=a.formName,u=a.formParent,d=a.adding,p=a.availableTerms;if(""!==s&&!d){var b=this.findTerm(p,u,s);if(b)return Object(v.some)(i,(function(e){return e===b.id}))||r([].concat(Object(x.a)(i),[b.id]),o.rest_base),void this.setState({formName:"",formParent:""});this.setState({adding:!0}),this.addRequest=T()({path:"/wp/v2/".concat(o.rest_base),method:"POST",data:{name:s,parent:u||void 0}}),this.addRequest.catch((function(e){return"term_exists"===e.code?(t.addRequest=T()({path:Object(jt.addQueryArgs)("/wp/v2/".concat(o.rest_base),Object(l.a)({},ec,{parent:u||0,search:s}))}),t.addRequest.then((function(e){return t.findTerm(e,u,s)}))):Promise.reject(e)})).then((function(e){var n=!!Object(v.find)(t.state.availableTerms,(function(t){return t.id===e.id}))?t.state.availableTerms:[e].concat(Object(x.a)(t.state.availableTerms)),a=Object(B.sprintf)(Object(B._x)("%s added","term"),Object(v.get)(t.props.taxonomy,["labels","singular_name"],"category"===c?Object(B.__)("Category"):Object(B.__)("Term")));t.props.speak(a,"assertive"),t.addRequest=null,t.setState({adding:!1,formName:"",formParent:"",availableTerms:n,availableTermsTree:t.sortBySelected(Uo(n))}),r([].concat(Object(x.a)(i),[e.id]),o.rest_base)}),(function(e){"abort"!==e.statusText&&(t.addRequest=null,t.setState({adding:!1}))}))}}},{key:"componentDidMount",value:function(){this.fetchTerms()}},{key:"componentWillUnmount",value:function(){Object(v.invoke)(this.fetchRequest,["abort"]),Object(v.invoke)(this.addRequest,["abort"])}},{key:"componentDidUpdate",value:function(e){this.props.taxonomy!==e.taxonomy&&this.fetchTerms()}},{key:"fetchTerms",value:function(){var e=this,t=this.props.taxonomy;t&&(this.fetchRequest=T()({path:Object(jt.addQueryArgs)("/wp/v2/".concat(t.rest_base),ec)}),this.fetchRequest.then((function(t){var n=e.sortBySelected(Uo(t));e.fetchRequest=null,e.setState({loading:!1,availableTermsTree:n,availableTerms:t})}),(function(t){"abort"!==t.statusText&&(e.fetchRequest=null,e.setState({loading:!1}))})))}},{key:"sortBySelected",value:function(e){var t=this.props.terms,n=function e(n){return-1!==t.indexOf(n.id)||void 0!==n.children&&!!(n.children.map(e).filter((function(e){return e})).length>0)};return e.sort((function(e,t){var r=n(e),o=n(t);return r===o?0:r&&!o?-1:!r&&o?1:0})),e}},{key:"setFilterValue",value:function(e){var t=this.state.availableTermsTree,n=e.target.value,r=t.map(this.getFilterMatcher(n)).filter((function(e){return e}));this.setState({filterValue:n,filteredTermsTree:r});var o=function e(t){for(var n=0,r=0;r0&&(r.children=r.children.map(t).filter((function(e){return e}))),(-1!==r.name.toLowerCase().indexOf(e.toLowerCase())||r.children.length>0)&&r}}},{key:"renderTerms",value:function(e){var t=this,n=this.props.terms,r=void 0===n?[]:n;return e.map((function(e){return Object(zr.createElement)("div",{key:e.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},Object(zr.createElement)(vo.CheckboxControl,{checked:-1!==r.indexOf(e.id),onChange:function(){var n=parseInt(e.id,10);t.onChange(n)},label:Object(v.unescape)(e.name)}),!!e.children.length&&Object(zr.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-subchoices"},t.renderTerms(e.children)))}))}},{key:"render",value:function(){var e=this.props,t=e.slug,n=e.taxonomy,r=e.instanceId,o=e.hasCreateAction;if(!e.hasAssignAction)return null;var i=this.state,c=i.availableTermsTree,a=i.availableTerms,s=i.filteredTermsTree,u=i.formName,l=i.formParent,d=i.loading,p=i.showForm,b=i.filterValue,f=function(e,r,o){return Object(v.get)(n,["labels",e],"category"===t?r:o)},h=f("add_new_item",Object(B.__)("Add new category"),Object(B.__)("Add new term")),m=f("new_item_name",Object(B.__)("Add new category"),Object(B.__)("Add new term")),O=f("parent_item",Object(B.__)("Parent Category"),Object(B.__)("Parent Term")),g="— ".concat(O," —"),j=h,_="editor-post-taxonomies__hierarchical-terms-input-".concat(r),y="editor-post-taxonomies__hierarchical-terms-filter-".concat(r),k=Object(v.get)(this.props.taxonomy,["labels","search_items"],Object(B.__)("Search Terms")),E=Object(v.get)(this.props.taxonomy,["name"],Object(B.__)("Terms")),S=a.length>=8;return[S&&Object(zr.createElement)("label",{key:"filter-label",htmlFor:y},k),S&&Object(zr.createElement)("input",{type:"search",id:y,value:b,onChange:this.setFilterValue,className:"editor-post-taxonomies__hierarchical-terms-filter",key:"term-filter-input"}),Object(zr.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-list",key:"term-list",tabIndex:"0",role:"group","aria-label":E},this.renderTerms(""!==b?s:c)),!d&&o&&Object(zr.createElement)(vo.Button,{key:"term-add-button",onClick:this.onToggleForm,className:"editor-post-taxonomies__hierarchical-terms-add","aria-expanded":p,isLink:!0},h),p&&Object(zr.createElement)("form",{onSubmit:this.onAddTerm,key:"hierarchical-terms-form"},Object(zr.createElement)("label",{htmlFor:_,className:"editor-post-taxonomies__hierarchical-terms-label"},m),Object(zr.createElement)("input",{type:"text",id:_,className:"editor-post-taxonomies__hierarchical-terms-input",value:u,onChange:this.onChangeFormName,required:!0}),!!a.length&&Object(zr.createElement)(vo.TreeSelect,{label:O,noOptionLabel:g,onChange:this.onChangeFormParent,selectedId:l,tree:c}),Object(zr.createElement)(vo.Button,{isDefault:!0,type:"submit",className:"editor-post-taxonomies__hierarchical-terms-submit"},j))]}}]),t}(zr.Component),nc=Object(Hr.compose)([Object(d.withSelect)((function(e,t){var n=t.slug,r=e("core/editor").getCurrentPost,o=(0,e("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(v.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(v.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?e("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}})),Object(d.withDispatch)((function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(Object(b.a)({},n,t))}}})),vo.withSpokenMessages,Hr.withInstanceId,Object(vo.withFilters)("editor.PostTaxonomyType")])(tc);var rc=Object(Hr.compose)([Object(d.withSelect)((function(e){return{postType:e("core/editor").getCurrentPostType(),taxonomies:e("core").getTaxonomies({per_page:-1})}}))])((function(e){var t=e.postType,n=e.taxonomies,r=e.taxonomyWrapper,o=void 0===r?v.identity:r,i=Object(v.filter)(n,(function(e){return Object(v.includes)(e.types,t)}));return Object(v.filter)(i,(function(e){return e.visibility.show_ui})).map((function(e){var t=e.hierarchical?nc:Ai;return Object(zr.createElement)(zr.Fragment,{key:"taxonomy-".concat(e.slug)},o(Object(zr.createElement)(t,{slug:e.slug}),e))}))}));var oc=Object(Hr.compose)([Object(d.withSelect)((function(e){return{postType:e("core/editor").getCurrentPostType(),taxonomies:e("core").getTaxonomies({per_page:-1})}}))])((function(e){var t=e.postType,n=e.taxonomies,r=e.children;return Object(v.some)(n,(function(e){return Object(v.includes)(e.types,t)}))?r:null})),ic=n(60),cc=n.n(ic),ac=function(e){function t(){var e;return Object(Jr.a)(this,t),(e=Object(eo.a)(this,Object(to.a)(t).apply(this,arguments))).edit=e.edit.bind(Object(mo.a)(e)),e.stopEditing=e.stopEditing.bind(Object(mo.a)(e)),e.state={},e}return Object(no.a)(t,e),Object($r.a)(t,[{key:"edit",value:function(e){var t=e.target.value;this.props.onChange(t),this.setState({value:t,isDirty:!0})}},{key:"stopEditing",value:function(){this.state.isDirty&&(this.props.onPersist(this.state.value),this.setState({isDirty:!1}))}},{key:"render",value:function(){var e=this.state.value,t=this.props.instanceId;return Object(zr.createElement)(zr.Fragment,null,Object(zr.createElement)("label",{htmlFor:"post-content-".concat(t),className:"screen-reader-text"},Object(B.__)("Type text or HTML")),Object(zr.createElement)(cc.a,{autoComplete:"off",dir:"auto",value:e,onChange:this.edit,onBlur:this.stopEditing,className:"editor-post-text-editor",id:"post-content-".concat(t),placeholder:Object(B.__)("Start writing with text or HTML")}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return t.isDirty?null:{value:e.value,isDirty:!1}}}]),t}(zr.Component),sc=Object(Hr.compose)([Object(d.withSelect)((function(e){return{value:(0,e("core/editor").getEditedPostContent)()}})),Object(d.withDispatch)((function(e){var t=e("core/editor"),n=t.editPost,r=t.resetEditorBlocks;return{onChange:function(e){n({content:e})},onPersist:function(e){var t=Object(c.parse)(e);r(t)}}})),Hr.withInstanceId])(ac),uc=function(e){function t(e){var n,r=e.permalinkParts,o=e.slug;return Object(Jr.a)(this,t),(n=Object(eo.a)(this,Object(to.a)(t).apply(this,arguments))).state={editedPostName:o||r.postName},n.onSavePermalink=n.onSavePermalink.bind(Object(mo.a)(n)),n}return Object(no.a)(t,e),Object($r.a)(t,[{key:"onSavePermalink",value:function(e){var t=li(this.state.editedPostName);e.preventDefault(),this.props.onSave(),t!==this.props.postName&&(this.props.editPost({slug:t}),this.setState({editedPostName:t}))}},{key:"render",value:function(){var e=this,t=this.props.permalinkParts,n=t.prefix,r=t.suffix,o=this.state.editedPostName;return Object(zr.createElement)("form",{className:"editor-post-permalink-editor",onSubmit:this.onSavePermalink},Object(zr.createElement)("span",{className:"editor-post-permalink__editor-container"},Object(zr.createElement)("span",{className:"editor-post-permalink-editor__prefix"},n),Object(zr.createElement)("input",{className:"editor-post-permalink-editor__edit","aria-label":Object(B.__)("Edit post permalink"),value:o,onChange:function(t){return e.setState({editedPostName:t.target.value})},type:"text",autoFocus:!0}),Object(zr.createElement)("span",{className:"editor-post-permalink-editor__suffix"},r),"‎"),Object(zr.createElement)(vo.Button,{className:"editor-post-permalink-editor__save",isLarge:!0,onClick:this.onSavePermalink},Object(B.__)("Save")))}}]),t}(zr.Component),lc=Object(Hr.compose)([Object(d.withSelect)((function(e){return{permalinkParts:(0,e("core/editor").getPermalinkParts)()}})),Object(d.withDispatch)((function(e){return{editPost:e("core/editor").editPost}}))])(uc),dc=function(e){function t(){var e;return Object(Jr.a)(this,t),(e=Object(eo.a)(this,Object(to.a)(t).apply(this,arguments))).addVisibilityCheck=e.addVisibilityCheck.bind(Object(mo.a)(e)),e.onVisibilityChange=e.onVisibilityChange.bind(Object(mo.a)(e)),e.state={isCopied:!1,isEditingPermalink:!1},e}return Object(no.a)(t,e),Object($r.a)(t,[{key:"addVisibilityCheck",value:function(){window.addEventListener("visibilitychange",this.onVisibilityChange)}},{key:"onVisibilityChange",value:function(){var e=this.props,t=e.isEditable,n=e.refreshPost;t||"visible"!==document.visibilityState||n()}},{key:"componentDidUpdate",value:function(e,t){t.isEditingPermalink&&!this.state.isEditingPermalink&&this.linkElement.focus()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("visibilitychange",this.addVisibilityCheck)}},{key:"render",value:function(){var e=this,t=this.props,n=t.isEditable,r=t.isNew,o=t.isPublished,i=t.isViewable,c=t.permalinkParts,a=t.postLink,s=t.postSlug,u=t.postID,l=t.postTitle;if(r||!i||!c||!a)return null;var d=this.state,p=d.isCopied,b=d.isEditingPermalink,f=p?Object(B.__)("Permalink copied"):Object(B.__)("Copy the permalink"),h=c.prefix,m=c.suffix,v=Object(jt.safeDecodeURIComponent)(s)||li(l)||u,O=n?h+v+m:h;return Object(zr.createElement)("div",{className:"editor-post-permalink"},Object(zr.createElement)(vo.ClipboardButton,{className:co()("editor-post-permalink__copy",{"is-copied":p}),text:O,label:f,onCopy:function(){return e.setState({isCopied:!0})},"aria-disabled":p,icon:"admin-links"}),Object(zr.createElement)("span",{className:"editor-post-permalink__label"},Object(B.__)("Permalink:")),!b&&Object(zr.createElement)(vo.ExternalLink,{className:"editor-post-permalink__link",href:o?O:a,target:"_blank",ref:function(t){return e.linkElement=t}},Object(jt.safeDecodeURI)(O),"‎"),b&&Object(zr.createElement)(lc,{slug:v,onSave:function(){return e.setState({isEditingPermalink:!1})}}),n&&!b&&Object(zr.createElement)(vo.Button,{className:"editor-post-permalink__edit",isLarge:!0,onClick:function(){return e.setState({isEditingPermalink:!0})}},Object(B.__)("Edit")))}}]),t}(zr.Component),pc=Object(Hr.compose)([Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.isEditedPostNew,r=t.isPermalinkEditable,o=t.getCurrentPost,i=t.getPermalinkParts,c=t.getEditedPostAttribute,a=t.isCurrentPostPublished,s=e("core").getPostType,u=o(),l=u.id,d=u.link,p=s(c("type"));return{isNew:n(),postLink:d,permalinkParts:i(),postSlug:c("slug"),isEditable:r(),isPublished:a(),postTitle:c("title"),postID:l,isViewable:Object(v.get)(p,["viewable"],!1)}})),Object(d.withDispatch)((function(e){return{refreshPost:e("core/editor").refreshPost}}))])(dc),bc=/[\r\n]+/g,fc=function(e){function t(){var e;return Object(Jr.a)(this,t),(e=Object(eo.a)(this,Object(to.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(mo.a)(e)),e.onSelect=e.onSelect.bind(Object(mo.a)(e)),e.onUnselect=e.onUnselect.bind(Object(mo.a)(e)),e.onKeyDown=e.onKeyDown.bind(Object(mo.a)(e)),e.redirectHistory=e.redirectHistory.bind(Object(mo.a)(e)),e.state={isSelected:!1},e}return Object(no.a)(t,e),Object($r.a)(t,[{key:"handleFocusOutside",value:function(){this.onUnselect()}},{key:"onSelect",value:function(){this.setState({isSelected:!0}),this.props.clearSelectedBlock()}},{key:"onUnselect",value:function(){this.setState({isSelected:!1})}},{key:"onChange",value:function(e){var t=e.target.value.replace(bc," ");this.props.onUpdate(t)}},{key:"onKeyDown",value:function(e){e.keyCode===Oo.ENTER&&(e.preventDefault(),this.props.onEnterPress())}},{key:"redirectHistory",value:function(e){e.shiftKey?this.props.onRedo():this.props.onUndo(),e.preventDefault()}},{key:"render",value:function(){var e=this.props,t=e.hasFixedToolbar,n=e.isCleanNewPost,r=e.isFocusMode,o=e.isPostTypeViewable,i=e.instanceId,c=e.placeholder,a=e.title,s=this.state.isSelected,u=co()("wp-block editor-post-title__block",{"is-selected":s,"is-focus-mode":r,"has-fixed-toolbar":t}),l=Object(Ho.decodeEntities)(c);return Object(zr.createElement)(Lo,{supportKeys:"title"},Object(zr.createElement)("div",{className:"editor-post-title"},Object(zr.createElement)("div",{className:u},Object(zr.createElement)(vo.KeyboardShortcuts,{shortcuts:{"mod+z":this.redirectHistory,"mod+shift+z":this.redirectHistory}},Object(zr.createElement)("label",{htmlFor:"post-title-".concat(i),className:"screen-reader-text"},l||Object(B.__)("Add title")),Object(zr.createElement)(cc.a,{id:"post-title-".concat(i),className:"editor-post-title__input",value:Object(v.unescape)(a),onChange:this.onChange,placeholder:l||Object(B.__)("Add title"),onFocus:this.onSelect,onKeyDown:this.onKeyDown,onKeyPress:this.onUnselect,autoFocus:document.body===document.activeElement&&n})),s&&o&&Object(zr.createElement)(pc,null))))}}]),t}(zr.Component),hc=Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.isCleanNewPost,o=e("core/block-editor").getSettings,i=(0,e("core").getPostType)(n("type")),c=o(),a=c.titlePlaceholder,s=c.focusMode,u=c.hasFixedToolbar;return{isCleanNewPost:r(),title:n("title"),isPostTypeViewable:Object(v.get)(i,["viewable"],!1),placeholder:a,isFocusMode:s,hasFixedToolbar:u}})),mc=Object(d.withDispatch)((function(e){var t=e("core/block-editor"),n=t.insertDefaultBlock,r=t.clearSelectedBlock,o=e("core/editor"),i=o.editPost;return{onEnterPress:function(){n(void 0,void 0,0)},onUpdate:function(e){i({title:Object(v.escape)(e)})},onUndo:o.undo,onRedo:o.redo,clearSelectedBlock:r}})),vc=Object(Hr.compose)(hc,mc,Hr.withInstanceId,vo.withFocusOutside)(fc);var Oc=Object(Hr.compose)([Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.isEditedPostNew,r=t.getCurrentPostId,o=t.getCurrentPostType;return{isNew:n(),postId:r(),postType:o()}})),Object(d.withDispatch)((function(e){return{trashPost:e("core/editor").trashPost}}))])((function(e){var t=e.isNew,n=e.postId,r=e.postType,o=Object(Vr.a)(e,["isNew","postId","postType"]);return t||!n?null:Object(zr.createElement)(vo.Button,{className:"editor-post-trash button-link-delete",onClick:function(){return o.trashPost(n,r)},isDefault:!0,isLarge:!0},Object(B.__)("Move to Trash"))}));var gc=Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.isEditedPostNew,r=t.getCurrentPostId;return{isNew:n(),postId:r()}}))((function(e){var t=e.isNew,n=e.postId,r=e.children;return t||!n?null:r}));var jc=Object(Hr.compose)([Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(v.get)(n(),["_links","wp:action-publish"],!1),postType:r()}}))])((function(e){var t=e.hasPublishAction;return(0,e.render)({canEdit:t})})),_c=n(96);var yc=Object(d.withSelect)((function(e){return{content:e("core/editor").getEditedPostAttribute("content")}}))((function(e){var t=e.content,n=Object(B._x)("words","Word count type. Do not translate!");return Object(zr.createElement)("span",{className:"word-count"},Object(_c.count)(t,n))}));var kc=Object(d.withSelect)((function(e){var t=e("core/block-editor").getGlobalBlockCount;return{headingCount:t("core/heading"),paragraphCount:t("core/paragraph"),numberOfBlocks:t()}}))((function(e){var t=e.headingCount,n=e.paragraphCount,r=e.numberOfBlocks,o=e.hasOutlineItemsDisabled,i=e.onRequestClose;return(Object(zr.createElement)(zr.Fragment,null,Object(zr.createElement)("div",{className:"table-of-contents__wrapper",role:"note","aria-label":Object(B.__)("Document Statistics"),tabIndex:"0"},Object(zr.createElement)("ul",{role:"list",className:"table-of-contents__counts"},Object(zr.createElement)("li",{className:"table-of-contents__count"},Object(B.__)("Words"),Object(zr.createElement)(yc,null)),Object(zr.createElement)("li",{className:"table-of-contents__count"},Object(B.__)("Headings"),Object(zr.createElement)("span",{className:"table-of-contents__number"},t)),Object(zr.createElement)("li",{className:"table-of-contents__count"},Object(B.__)("Paragraphs"),Object(zr.createElement)("span",{className:"table-of-contents__number"},n)),Object(zr.createElement)("li",{className:"table-of-contents__count"},Object(B.__)("Blocks"),Object(zr.createElement)("span",{className:"table-of-contents__number"},r)))),t>0&&Object(zr.createElement)(zr.Fragment,null,Object(zr.createElement)("hr",null),Object(zr.createElement)("h2",{className:"table-of-contents__title"},Object(B.__)("Document Outline")),Object(zr.createElement)(fo,{onSelect:i,hasOutlineItemsDisabled:o}))))}));var Ec=Object(d.withSelect)((function(e){return{hasBlocks:!!e("core/block-editor").getBlockCount()}}))((function(e){var t=e.hasBlocks,n=e.hasOutlineItemsDisabled;return Object(zr.createElement)(vo.Dropdown,{position:"bottom",className:"table-of-contents",contentClassName:"table-of-contents__popover",renderToggle:function(e){var n=e.isOpen,r=e.onToggle;return Object(zr.createElement)(vo.IconButton,{onClick:t?r:void 0,icon:"info-outline","aria-expanded":n,label:Object(B.__)("Content structure"),labelPosition:"bottom","aria-disabled":!t})},renderContent:function(e){var t=e.onClose;return Object(zr.createElement)(kc,{onRequestClose:t,hasOutlineItemsDisabled:n})}})})),Sc=function(e){function t(){var e;return Object(Jr.a)(this,t),(e=Object(eo.a)(this,Object(to.a)(t).apply(this,arguments))).warnIfUnsavedChanges=e.warnIfUnsavedChanges.bind(Object(mo.a)(e)),e}return Object(no.a)(t,e),Object($r.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("beforeunload",this.warnIfUnsavedChanges)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("beforeunload",this.warnIfUnsavedChanges)}},{key:"warnIfUnsavedChanges",value:function(e){if((0,this.props.isEditedPostDirty)())return e.returnValue=Object(B.__)("You have unsaved changes. If you proceed, they will be lost."),e.returnValue}},{key:"render",value:function(){return null}}]),t}(zr.Component),Pc=Object(d.withSelect)((function(e){return{isEditedPostDirty:e("core/editor").isEditedPostDirty}}))(Sc),wc=Object(Hr.createHigherOrderComponent)((function(e){return Object(d.withRegistry)((function(t){var n=t.useSubRegistry,r=void 0===n||n,o=t.registry,c=Object(Vr.a)(t,["useSubRegistry","registry"]);if(!r)return Object(zr.createElement)(e,c);var a=Object(zr.useState)(null),s=Object(vt.a)(a,2),u=s[0],l=s[1];return Object(zr.useEffect)((function(){var e=Object(d.createRegistry)({"core/block-editor":i.storeConfig},o),t=e.registerStore("core/editor",Ur);Rr(t),l(e)}),[o]),u?Object(zr.createElement)(d.RegistryProvider,{value:u},Object(zr.createElement)(e,c)):null}))}),"withRegistryProvider"),Cc=n(98),Tc=function(e){var t=e.additionalData,n=void 0===t?{}:t,r=e.allowedTypes,o=e.filesList,i=e.maxUploadFileSize,c=e.onError,a=void 0===c?v.noop:c,s=e.onFileChange,u=Object(d.select)("core/editor"),p=u.getCurrentPostId,b=u.getEditorSettings,f=b().allowedMimeTypes;i=i||b().maxUploadFileSize,Object(Cc.uploadMedia)({allowedTypes:r,filesList:o,onFileChange:s,additionalData:Object(l.a)({post:p()},n),maxUploadFileSize:i,onError:function(e){var t=e.message;return a(t)},wpAllowedMimeTypes:f})};var Bc=Object(Hr.compose)([Object(d.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlocksByClientId,i=r.canInsertBlockType,a=e("core/editor").__experimentalGetReusableBlock,s=e("core").canUser,u=o(n),l=1===u.length&&u[0]&&Object(c.isReusableBlock)(u[0])&&!!a(u[0].attributes.ref);return{isReusable:l,isVisible:l||i("core/block")&&Object(v.every)(u,(function(e){return!!e&&e.isValid&&Object(c.hasBlockSupport)(e.name,"reusable",!0)}))&&!!s("create","blocks")}})),Object(d.withDispatch)((function(e,t){var n=t.clientIds,r=t.onToggle,o=void 0===r?v.noop:r,i=e("core/editor"),c=i.__experimentalConvertBlockToReusable,a=i.__experimentalConvertBlockToStatic;return{onConvertToStatic:function(){1===n.length&&(a(n[0]),o())},onConvertToReusable:function(){c(n),o()}}}))])((function(e){var t=e.isVisible,n=e.isReusable,r=e.onConvertToStatic,o=e.onConvertToReusable;return t?Object(zr.createElement)(zr.Fragment,null,!n&&Object(zr.createElement)(vo.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"controls-repeat",onClick:o},Object(B.__)("Add to Reusable Blocks")),n&&Object(zr.createElement)(vo.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"controls-repeat",onClick:r},Object(B.__)("Convert to Regular Block"))):null}));var xc=Object(Hr.compose)([Object(d.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock,o=e("core").canUser,i=e("core/editor").__experimentalGetReusableBlock,a=r(n),s=a&&Object(c.isReusableBlock)(a)?i(a.attributes.ref):null;return{isVisible:!!s&&!!o("delete","blocks",s.id),isDisabled:s&&s.isTemporary}})),Object(d.withDispatch)((function(e,t,n){var r=t.clientId,o=t.onToggle,i=void 0===o?v.noop:o,c=n.select,a=e("core/editor").__experimentalDeleteReusableBlock,s=c("core/block-editor").getBlock;return{onDelete:function(){if(window.confirm(Object(B.__)("Are you sure you want to delete this Reusable Block?\n\nIt will be permanently removed from all posts and pages that use it."))){var e=s(r);a(e.attributes.ref),i()}}}}))])((function(e){var t=e.isVisible,n=e.isDisabled,r=e.onDelete;return t?Object(zr.createElement)(vo.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"no",disabled:n,onClick:function(){return r()}},Object(B.__)("Remove from Reusable Blocks")):null}));var Ic=Object(d.withSelect)((function(e){return{clientIds:(0,e("core/block-editor").getSelectedBlockClientIds)()}}))((function(e){var t=e.clientIds;return Object(zr.createElement)(i.__experimentalBlockSettingsMenuPluginsExtension,null,(function(e){var n=e.onClose;return Object(zr.createElement)(zr.Fragment,null,Object(zr.createElement)(Bc,{clientIds:t,onToggle:n}),1===t.length&&Object(zr.createElement)(xc,{clientId:t[0],onToggle:n}))}))})),Ac=Object(zr.createElement)(vo.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(zr.createElement)(vo.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M8 5a1 1 0 0 0-1 1v3H6a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-3h1a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H8zm3 6H7v2h4v-2zM9 9V7h4v2H9z"}),Object(zr.createElement)(vo.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M1 3a2 2 0 0 0 1 1.732v10.536A2 2 0 1 0 4.732 18h10.536A2 2 0 1 0 18 15.268V4.732A2 2 0 1 0 15.268 2H4.732A2 2 0 0 0 1 3zm14.268 1H4.732A2.01 2.01 0 0 1 4 4.732v10.536c.304.175.557.428.732.732h10.536a2.01 2.01 0 0 1 .732-.732V4.732A2.01 2.01 0 0 1 15.268 4z"})),Rc=Object(zr.createElement)(vo.Icon,{icon:Ac}),Lc=Object(zr.createElement)(vo.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(zr.createElement)(vo.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9 2H15C16.1 2 17 2.9 17 4V7C17 8.1 16.1 9 15 9H9C7.9 9 7 8.1 7 7V4C7 2.9 7.9 2 9 2ZM9 7H15V4H9V7Z"}),Object(zr.createElement)(vo.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11H11C12.1 11 13 11.9 13 13V16C13 17.1 12.1 18 11 18H5C3.9 18 3 17.1 3 16V13C3 11.9 3.9 11 5 11ZM5 16H11V13H5V16Z"})),Nc=Object(zr.createElement)(vo.Icon,{icon:Lc});var Dc=Object(Hr.compose)([Object(d.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlockRootClientId,i=r.getBlocksByClientId,c=r.canInsertBlockType,a=(0,e("core/blocks").getGroupingBlockName)(),s=c(a,n&&n.length>0?o(n[0]):void 0),u=i(n),l=1===u.length&&u[0]&&u[0].name===a;return{isGroupable:s&&u.length&&!l,isUngroupable:l&&!!u[0].innerBlocks.length,blocksSelection:u,groupingBlockName:a}})),Object(d.withDispatch)((function(e,t){var n=t.clientIds,r=t.onToggle,o=void 0===r?v.noop:r,i=t.blocksSelection,a=void 0===i?[]:i,s=t.groupingBlockName,u=e("core/block-editor").replaceBlocks;return{onConvertToGroup:function(){if(a.length){var e=Object(c.switchToBlockType)(a,s);e&&u(n,e),o()}},onConvertFromGroup:function(){if(a.length){var e=a[0].innerBlocks;e.length&&(u(n,e),o())}}}}))])((function(e){var t=e.onConvertToGroup,n=e.onConvertFromGroup,r=e.isGroupable,o=void 0!==r&&r,i=e.isUngroupable,c=void 0!==i&&i;return Object(zr.createElement)(zr.Fragment,null,o&&Object(zr.createElement)(vo.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:Rc,onClick:t},Object(B._x)("Group","verb")),c&&Object(zr.createElement)(vo.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:Nc,onClick:n},Object(B._x)("Ungroup","Ungrouping blocks from within a Group block back into individual blocks within the Editor ")))}));var Uc=Object(d.withSelect)((function(e){return{clientIds:(0,e("core/block-editor").getSelectedBlockClientIds)()}}))((function(e){var t=e.clientIds;return Object(zr.createElement)(i.__experimentalBlockSettingsMenuPluginsExtension,null,(function(e){var n=e.onClose;return Object(zr.createElement)(zr.Fragment,null,Object(zr.createElement)(Dc,{clientIds:t,onToggle:n}))}))})),Fc=function(){var e=Object(w.a)(P.a.mark((function e(t){var n;return P.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,T()({path:Object(jt.addQueryArgs)("/wp/v2/search",{search:t,per_page:20,type:"post"})});case 2:return n=e.sent,e.abrupt("return",Object(v.map)(n,(function(e){return{id:e.id,url:e.url,title:Object(Ho.decodeEntities)(e.title)||Object(B.__)("(no title)"),type:e.subtype||e.type}})));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Mc=function(e){function t(e){var n;return Object(Jr.a)(this,t),(n=Object(eo.a)(this,Object(to.a)(t).apply(this,arguments))).getBlockEditorSettings=K()(n.getBlockEditorSettings,{maxSize:1}),e.recovery?Object(eo.a)(n):(e.updatePostLock(e.settings.postLock),e.setupEditor(e.post,e.initialEdits,e.settings.template),e.settings.autosave&&e.createWarningNotice(Object(B.__)("There is an autosave of this post that is more recent than the version below."),{id:"autosave-exists",actions:[{label:Object(B.__)("View the autosave"),url:e.settings.autosave.editLink}]}),n)}return Object(no.a)(t,e),Object($r.a)(t,[{key:"getBlockEditorSettings",value:function(e,t,n,r,o){return Object(l.a)({},Object(v.pick)(e,["alignWide","allowedBlockTypes","__experimentalPreferredStyleVariations","availableLegacyWidgets","bodyPlaceholder","codeEditingEnabled","colors","disableCustomColors","disableCustomFontSizes","disableCustomGradients","focusMode","fontSizes","hasFixedToolbar","hasPermissionsToManageWidgets","imageSizes","isRTL","maxWidth","styles","template","templateLock","titlePlaceholder","onUpdateDefaultBlockStyles","__experimentalEnableLegacyWidgetBlock","__experimentalBlockDirectory","__experimentalEnableFullSiteEditing","__experimentalEnableFullSiteEditingDemo","__experimentalEnablePageTemplates","showInserterHelpPanel","gradients"]),{mediaUpload:r?Tc:void 0,__experimentalReusableBlocks:t,__experimentalFetchReusableBlocks:n,__experimentalFetchLinkSuggestions:Fc,__experimentalCanUserUseUnfilteredHTML:o})}},{key:"componentDidMount",value:function(){if(this.props.updateEditorSettings(this.props.settings),this.props.settings.styles){var e=Object(i.transformStyles)(this.props.settings.styles,".editor-styles-wrapper");Object(v.map)(e,(function(e){if(e){var t=document.createElement("style");t.innerHTML=e,document.body.appendChild(t)}}))}}},{key:"componentDidUpdate",value:function(e){this.props.settings!==e.settings&&this.props.updateEditorSettings(this.props.settings)}},{key:"componentWillUnmount",value:function(){this.props.tearDownEditor()}},{key:"render",value:function(){var e=this.props,t=e.canUserUseUnfilteredHTML,n=e.children,r=e.post,o=e.blocks,c=e.resetEditorBlocks,s=e.selectionStart,u=e.selectionEnd,l=e.isReady,d=e.settings,p=e.reusableBlocks,b=e.resetEditorBlocksWithoutUndoLevel,f=e.hasUploadPermissions,h=e.__experimentalFetchReusableBlocks;if(!l)return null;var m=this.getBlockEditorSettings(d,p,h,f,t);return Object(zr.createElement)(a.EntityProvider,{kind:"root",type:"site"},Object(zr.createElement)(a.EntityProvider,{kind:"postType",type:r.type,id:r.id},Object(zr.createElement)(i.BlockEditorProvider,{value:o,onInput:b,onChange:c,selectionStart:s,selectionEnd:u,settings:m,useSubRegistry:!1},n,Object(zr.createElement)(Ic,null),Object(zr.createElement)(Uc,null))))}}]),t}(zr.Component),Vc=Object(Hr.compose)([wc,Object(d.withSelect)((function(e){var t=e("core/editor"),n=t.canUserUseUnfilteredHTML,r=t.__unstableIsEditorReady,o=t.getEditorBlocks,i=t.getEditorSelectionStart,c=t.getEditorSelectionEnd,a=t.__experimentalGetReusableBlocks,s=e("core").canUser;return{canUserUseUnfilteredHTML:n(),isReady:r(),blocks:o(),selectionStart:i(),selectionEnd:c(),reusableBlocks:a(),hasUploadPermissions:Object(v.defaultTo)(s("create","media"),!0)}})),Object(d.withDispatch)((function(e){var t=e("core/editor"),n=t.setupEditor,r=t.updatePostLock,o=t.resetEditorBlocks,i=t.updateEditorSettings,c=t.__experimentalFetchReusableBlocks,a=t.__experimentalTearDownEditor;return{setupEditor:n,updatePostLock:r,createWarningNotice:e("core/notices").createWarningNotice,resetEditorBlocks:o,updateEditorSettings:i,resetEditorBlocksWithoutUndoLevel:function(e,t){o(e,Object(l.a)({},t,{__unstableShouldCreateUndoLevel:!1}))},tearDownEditor:a,__experimentalFetchReusableBlocks:c}}))])(Mc),zc=n(58),Hc=n.n(zc);function Wc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Object(zr.forwardRef)((function(n,r){return A()("wp.editor."+e,{alternative:"wp.blockEditor."+e}),Object(zr.createElement)(t,Object(Mr.a)({ref:r},n))}));return n.forEach((function(n){r[n]=Wc(e+"."+n,t[n])})),r}function Kc(e,t){return function(){return A()("wp.editor."+e,{alternative:"wp.blockEditor."+e}),t.apply(void 0,arguments)}}var Gc=Wc("RichText",i.RichText,["Content"]);Gc.isEmpty=Kc("RichText.isEmpty",i.RichText.isEmpty);var qc=Wc("Autocomplete",i.Autocomplete),Qc=Wc("AlignmentToolbar",i.AlignmentToolbar),Yc=Wc("BlockAlignmentToolbar",i.BlockAlignmentToolbar),Xc=Wc("BlockControls",i.BlockControls,["Slot"]),Zc=Wc("BlockEdit",i.BlockEdit),Jc=Wc("BlockEditorKeyboardShortcuts",i.BlockEditorKeyboardShortcuts),$c=Wc("BlockFormatControls",i.BlockFormatControls,["Slot"]),ea=Wc("BlockIcon",i.BlockIcon),ta=Wc("BlockInspector",i.BlockInspector),na=Wc("BlockList",i.BlockList),ra=Wc("BlockMover",i.BlockMover),oa=Wc("BlockNavigationDropdown",i.BlockNavigationDropdown),ia=Wc("BlockSelectionClearer",i.BlockSelectionClearer),ca=Wc("BlockSettingsMenu",i.BlockSettingsMenu),aa=Wc("BlockTitle",i.BlockTitle),sa=Wc("BlockToolbar",i.BlockToolbar),ua=Wc("ColorPalette",i.ColorPalette),la=Wc("ContrastChecker",i.ContrastChecker),da=Wc("CopyHandler",i.CopyHandler),pa=Wc("DefaultBlockAppender",i.DefaultBlockAppender),ba=Wc("FontSizePicker",i.FontSizePicker),fa=Wc("Inserter",i.Inserter),ha=Wc("InnerBlocks",i.InnerBlocks,["ButtonBlockAppender","DefaultBlockAppender","Content"]),ma=Wc("InspectorAdvancedControls",i.InspectorAdvancedControls,["Slot"]),va=Wc("InspectorControls",i.InspectorControls,["Slot"]),Oa=Wc("PanelColorSettings",i.PanelColorSettings),ga=Wc("PlainText",i.PlainText),ja=Wc("RichTextShortcut",i.RichTextShortcut),_a=Wc("RichTextToolbarButton",i.RichTextToolbarButton),ya=Wc("__unstableRichTextInputEvent",i.__unstableRichTextInputEvent),ka=Wc("MediaPlaceholder",i.MediaPlaceholder),Ea=Wc("MediaUpload",i.MediaUpload),Sa=Wc("MediaUploadCheck",i.MediaUploadCheck),Pa=Wc("MultiBlocksSwitcher",i.MultiBlocksSwitcher),wa=Wc("MultiSelectScrollIntoView",i.MultiSelectScrollIntoView),Ca=Wc("NavigableToolbar",i.NavigableToolbar),Ta=Wc("ObserveTyping",i.ObserveTyping),Ba=Wc("PreserveScrollInReorder",i.PreserveScrollInReorder),xa=Wc("SkipToSelectedBlock",i.SkipToSelectedBlock),Ia=Wc("URLInput",i.URLInput),Aa=Wc("URLInputButton",i.URLInputButton),Ra=Wc("URLPopover",i.URLPopover),La=Wc("Warning",i.Warning),Na=Wc("WritingFlow",i.WritingFlow),Da=Kc("createCustomColorsHOC",i.createCustomColorsHOC),Ua=Kc("getColorClassName",i.getColorClassName),Fa=Kc("getColorObjectByAttributeValues",i.getColorObjectByAttributeValues),Ma=Kc("getColorObjectByColorValue",i.getColorObjectByColorValue),Va=Kc("getFontSize",i.getFontSize),za=Kc("getFontSizeClass",i.getFontSizeClass),Ha=Kc("withColorContext",i.withColorContext),Wa=Kc("withColors",i.withColors),Ka=Kc("withFontSizes",i.withFontSizes);Object(Wr.addFilter)("editor.Autocomplete.completers","editor/autocompleters/set-default-completers",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return e.push(Object(v.clone)(Zr)),t===Object(c.getDefaultBlockName)()&&e.push(Object(v.clone)(Xr)),e})),n.d(t,"AutosaveMonitor",(function(){return oo})),n.d(t,"DocumentOutline",(function(){return fo})),n.d(t,"DocumentOutlineCheck",(function(){return ho})),n.d(t,"VisualEditorGlobalKeyboardShortcuts",(function(){return yo})),n.d(t,"EditorGlobalKeyboardShortcuts",(function(){return ko})),n.d(t,"TextEditorGlobalKeyboardShortcuts",(function(){return Eo})),n.d(t,"EditorHistoryRedo",(function(){return So})),n.d(t,"EditorHistoryUndo",(function(){return Po})),n.d(t,"EditorNotices",(function(){return Co})),n.d(t,"ErrorBoundary",(function(){return To})),n.d(t,"LocalAutosaveMonitor",(function(){return Ao})),n.d(t,"PageAttributesCheck",(function(){return Ro})),n.d(t,"PageAttributesOrder",(function(){return Do})),n.d(t,"PageAttributesParent",(function(){return Vo})),n.d(t,"PageTemplate",(function(){return zo})),n.d(t,"PostAuthor",(function(){return Go})),n.d(t,"PostAuthorCheck",(function(){return Wo})),n.d(t,"PostComments",(function(){return qo})),n.d(t,"PostExcerpt",(function(){return Qo})),n.d(t,"PostExcerptCheck",(function(){return Yo})),n.d(t,"PostFeaturedImage",(function(){return oi})),n.d(t,"PostFeaturedImageCheck",(function(){return Zo})),n.d(t,"PostFormat",(function(){return ai})),n.d(t,"PostFormatCheck",(function(){return ii})),n.d(t,"PostLastRevision",(function(){return di})),n.d(t,"PostLastRevisionCheck",(function(){return si})),n.d(t,"PostLockedModal",(function(){return hi})),n.d(t,"PostPendingStatus",(function(){return vi})),n.d(t,"PostPendingStatusCheck",(function(){return mi})),n.d(t,"PostPingbacks",(function(){return Oi})),n.d(t,"PostPreviewButton",(function(){return bi})),n.d(t,"PostPublishButton",(function(){return _i})),n.d(t,"PostPublishButtonLabel",(function(){return gi})),n.d(t,"PostPublishPanel",(function(){return Wi})),n.d(t,"PostSavedState",(function(){return qi})),n.d(t,"PostSchedule",(function(){return Pi})),n.d(t,"PostScheduleCheck",(function(){return Qi})),n.d(t,"PostScheduleLabel",(function(){return wi})),n.d(t,"PostSlug",(function(){return Zi})),n.d(t,"PostSlugCheck",(function(){return Yi})),n.d(t,"PostSticky",(function(){return $i})),n.d(t,"PostStickyCheck",(function(){return Ji})),n.d(t,"PostSwitchToDraftButton",(function(){return Ki})),n.d(t,"PostTaxonomies",(function(){return rc})),n.d(t,"PostTaxonomiesCheck",(function(){return oc})),n.d(t,"PostTextEditor",(function(){return sc})),n.d(t,"PostTitle",(function(){return vc})),n.d(t,"PostTrash",(function(){return Oc})),n.d(t,"PostTrashCheck",(function(){return gc})),n.d(t,"PostTypeSupportCheck",(function(){return Lo})),n.d(t,"PostVisibility",(function(){return Ei})),n.d(t,"PostVisibilityLabel",(function(){return Si})),n.d(t,"PostVisibilityCheck",(function(){return jc})),n.d(t,"TableOfContents",(function(){return Ec})),n.d(t,"UnsavedChangesWarning",(function(){return Pc})),n.d(t,"WordCount",(function(){return yc})),n.d(t,"EditorProvider",(function(){return Vc})),n.d(t,"blockAutocompleter",(function(){return Xr})),n.d(t,"userAutocompleter",(function(){return Zr})),n.d(t,"ServerSideRender",(function(){return Hc.a})),n.d(t,"RichText",(function(){return Gc})),n.d(t,"Autocomplete",(function(){return qc})),n.d(t,"AlignmentToolbar",(function(){return Qc})),n.d(t,"BlockAlignmentToolbar",(function(){return Yc})),n.d(t,"BlockControls",(function(){return Xc})),n.d(t,"BlockEdit",(function(){return Zc})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return Jc})),n.d(t,"BlockFormatControls",(function(){return $c})),n.d(t,"BlockIcon",(function(){return ea})),n.d(t,"BlockInspector",(function(){return ta})),n.d(t,"BlockList",(function(){return na})),n.d(t,"BlockMover",(function(){return ra})),n.d(t,"BlockNavigationDropdown",(function(){return oa})),n.d(t,"BlockSelectionClearer",(function(){return ia})),n.d(t,"BlockSettingsMenu",(function(){return ca})),n.d(t,"BlockTitle",(function(){return aa})),n.d(t,"BlockToolbar",(function(){return sa})),n.d(t,"ColorPalette",(function(){return ua})),n.d(t,"ContrastChecker",(function(){return la})),n.d(t,"CopyHandler",(function(){return da})),n.d(t,"DefaultBlockAppender",(function(){return pa})),n.d(t,"FontSizePicker",(function(){return ba})),n.d(t,"Inserter",(function(){return fa})),n.d(t,"InnerBlocks",(function(){return ha})),n.d(t,"InspectorAdvancedControls",(function(){return ma})),n.d(t,"InspectorControls",(function(){return va})),n.d(t,"PanelColorSettings",(function(){return Oa})),n.d(t,"PlainText",(function(){return ga})),n.d(t,"RichTextShortcut",(function(){return ja})),n.d(t,"RichTextToolbarButton",(function(){return _a})),n.d(t,"__unstableRichTextInputEvent",(function(){return ya})),n.d(t,"MediaPlaceholder",(function(){return ka})),n.d(t,"MediaUpload",(function(){return Ea})),n.d(t,"MediaUploadCheck",(function(){return Sa})),n.d(t,"MultiBlocksSwitcher",(function(){return Pa})),n.d(t,"MultiSelectScrollIntoView",(function(){return wa})),n.d(t,"NavigableToolbar",(function(){return Ca})),n.d(t,"ObserveTyping",(function(){return Ta})),n.d(t,"PreserveScrollInReorder",(function(){return Ba})),n.d(t,"SkipToSelectedBlock",(function(){return xa})),n.d(t,"URLInput",(function(){return Ia})),n.d(t,"URLInputButton",(function(){return Aa})),n.d(t,"URLPopover",(function(){return Ra})),n.d(t,"Warning",(function(){return La})),n.d(t,"WritingFlow",(function(){return Na})),n.d(t,"createCustomColorsHOC",(function(){return Da})),n.d(t,"getColorClassName",(function(){return Ua})),n.d(t,"getColorObjectByAttributeValues",(function(){return Fa})),n.d(t,"getColorObjectByColorValue",(function(){return Ma})),n.d(t,"getFontSize",(function(){return Va})),n.d(t,"getFontSizeClass",(function(){return za})),n.d(t,"withColorContext",(function(){return Ha})),n.d(t,"withColors",(function(){return Wa})),n.d(t,"withFontSizes",(function(){return Ka})),n.d(t,"mediaUpload",(function(){return Tc})),n.d(t,"cleanForSlug",(function(){return li})),n.d(t,"storeConfig",(function(){return Ur})),n.d(t,"transformStyles",(function(){return i.transformStyles}))},37:function(e,t){!function(){e.exports=this.wp.apiFetch}()},38:function(e,t,n){"use strict";var r,o;function i(e){return[e]}function c(){var e={clear:function(){e.head=null}};return e}function a(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},42:function(e,t,n){e.exports=function(e,t){var n,r,o,i=0;function c(){var t,c,a=r,s=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(c=0;c= 0) continue; - target[key] = source[key]; - } - - return target; -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; }); +/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40); function _objectWithoutProperties(source, excluded) { if (source == null) return {}; - var target = _objectWithoutPropertiesLoose(source, excluded); + var target = Object(_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { @@ -160,10 +162,55 @@ function _objectWithoutProperties(source, excluded) { /***/ }), -/***/ 28: -/***/ (function(module, exports) { +/***/ 22: +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["React"]; }()); +"use strict"; + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +var arrayWithHoles = __webpack_require__(33); + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +function _iterableToArrayLimit(arr, i) { + if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { + return; + } + + var _arr = []; + var _n = true; + var _d = false; + var _e = undefined; + + try { + for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { + _arr.push(_s.value); + + if (i && _arr.length === i) break; + } + } catch (err) { + _d = true; + _e = err; + } finally { + try { + if (!_n && _i["return"] != null) _i["return"](); + } finally { + if (_d) throw _e; + } + } + + return _arr; +} +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +var nonIterableRest = __webpack_require__(34); + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); + + + +function _slicedToArray(arr, i) { + return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(nonIterableRest["a" /* default */])(); +} /***/ }), @@ -172,16 +219,14 @@ function _objectWithoutProperties(source, excluded) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); -function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); } - function _typeof(obj) { - if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") { + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { - return _typeof2(obj); + return typeof obj; }; } else { _typeof = function _typeof(obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj); + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } @@ -190,21 +235,393 @@ function _typeof(obj) { /***/ }), -/***/ 361: +/***/ 32: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; }); +function _iterableToArray(iter) { + if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); +} + +/***/ }), + +/***/ 33: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); +function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; +} + +/***/ }), + +/***/ 34: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); +function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance"); +} + +/***/ }), + +/***/ 378: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(22); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js +var esm_typeof = __webpack_require__(31); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(18); + +// EXTERNAL MODULE: external {"this":"React"} +var external_this_React_ = __webpack_require__(20); + +// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/create-interpolate-element.js + + + + +/** + * External dependencies + */ + +var indoc, offset, output, stack; +/** + * Matches tags in the localized string + * + * This is used for extracting the tag pattern groups for parsing the localized + * string and along with the map converting it to a react element. + * + * There are four references extracted using this tokenizer: + * + * match: Full match of the tag (i.e. , ,
    ) + * isClosing: The closing slash, it it exists. + * name: The name portion of the tag (strong, br) (if ) + * isSelfClosed: The slash on a self closing tag, if it exists. + * + * @type {RegExp} + */ + +var tokenizer = /<(\/)?(\w+)\s*(\/)?>/g; +/** + * Tracks recursive-descent parse state. + * + * This is a Stack frame holding parent elements until all children have been + * parsed. + * + * @private + * @param {WPElement} element A parent element which may still have + * nested children not yet parsed. + * @param {number} tokenStart Offset at which parent element first + * appears. + * @param {number} tokenLength Length of string marking start of parent + * element. + * @param {number} prevOffset Running offset at which parsing should + * continue. + * @param {number} leadingTextStart Offset at which last closing element + * finished, used for finding text between + * elements + * + * @return {Frame} The stack frame tracking parse progress. + */ + +function Frame(element, tokenStart, tokenLength, prevOffset, leadingTextStart) { + return { + element: element, + tokenStart: tokenStart, + tokenLength: tokenLength, + prevOffset: prevOffset, + leadingTextStart: leadingTextStart, + children: [] + }; +} +/** + * This function creates an interpolated element from a passed in string with + * specific tags matching how the string should be converted to an element via + * the conversion map value. + * + * @example + * For example, for the given string: + * + * "This is a string with a link and a self-closing + * tag" + * + * You would have something like this as the conversionMap value: + * + * ```js + * { + * span: , + * a: , + * CustomComponentB: , + * } + * ``` + * + * @param {string} interpolatedString The interpolation string to be parsed. + * @param {Object} conversionMap The map used to convert the string to + * a react element. + * @throws {TypeError} + * @return {WPElement} A wp element. + */ + + +var create_interpolate_element_createInterpolateElement = function createInterpolateElement(interpolatedString, conversionMap) { + indoc = interpolatedString; + offset = 0; + output = []; + stack = []; + tokenizer.lastIndex = 0; + + if (!create_interpolate_element_isValidConversionMap(conversionMap)) { + throw new TypeError('The conversionMap provided is not valid. It must be an object with values that are WPElements'); + } + + do {// twiddle our thumbs + } while (proceed(conversionMap)); + + return external_this_React_["createElement"].apply(void 0, [external_this_React_["Fragment"], null].concat(Object(toConsumableArray["a" /* default */])(output))); +}; +/** + * Validate conversion map. + * + * A map is considered valid if it's an object and every value in the object + * is a WPElement + * + * @private + * + * @param {Object} conversionMap The map being validated. + * + * @return {boolean} True means the map is valid. + */ + + +var create_interpolate_element_isValidConversionMap = function isValidConversionMap(conversionMap) { + var isObject = Object(esm_typeof["a" /* default */])(conversionMap) === 'object'; + var values = isObject && Object.values(conversionMap); + return isObject && values.length && values.every(function (element) { + return Object(external_this_React_["isValidElement"])(element); + }); +}; +/** + * This is the iterator over the matches in the string. + * + * @private + * + * @param {Object} conversionMap The conversion map for the string. + * + * @return {boolean} true for continuing to iterate, false for finished. + */ + + +function proceed(conversionMap) { + var next = nextToken(); + + var _next = Object(slicedToArray["a" /* default */])(next, 4), + tokenType = _next[0], + name = _next[1], + startOffset = _next[2], + tokenLength = _next[3]; + + var stackDepth = stack.length; + var leadingTextStart = startOffset > offset ? offset : null; + + if (!conversionMap[name]) { + addText(); + return false; + } + + switch (tokenType) { + case 'no-more-tokens': + if (stackDepth !== 0) { + var _stack$pop = stack.pop(), + stackLeadingText = _stack$pop.leadingTextStart, + tokenStart = _stack$pop.tokenStart; + + output.push(indoc.substr(stackLeadingText, tokenStart)); + } + + addText(); + return false; + + case 'self-closed': + if (0 === stackDepth) { + if (null !== leadingTextStart) { + output.push(indoc.substr(leadingTextStart, startOffset - leadingTextStart)); + } + + output.push(conversionMap[name]); + offset = startOffset + tokenLength; + return true; + } // otherwise we found an inner element + + + addChild(new Frame(conversionMap[name], startOffset, tokenLength)); + offset = startOffset + tokenLength; + return true; + + case 'opener': + stack.push(new Frame(conversionMap[name], startOffset, tokenLength, startOffset + tokenLength, leadingTextStart)); + offset = startOffset + tokenLength; + return true; + + case 'closer': + // if we're not nesting then this is easy - close the block + if (1 === stackDepth) { + closeOuterElement(startOffset); + offset = startOffset + tokenLength; + return true; + } // otherwise we're nested and we have to close out the current + // block and add it as a innerBlock to the parent + + + var stackTop = stack.pop(); + var text = indoc.substr(stackTop.prevOffset, startOffset - stackTop.prevOffset); + stackTop.children.push(text); + stackTop.prevOffset = startOffset + tokenLength; + var frame = new Frame(stackTop.element, stackTop.tokenStart, stackTop.tokenLength, startOffset + tokenLength); + frame.children = stackTop.children; + addChild(frame); + offset = startOffset + tokenLength; + return true; + + default: + addText(); + return false; + } +} +/** + * Grabs the next token match in the string and returns it's details. + * + * @private + * + * @return {Array} An array of details for the token matched. + */ + + +function nextToken() { + var matches = tokenizer.exec(indoc); // we have no more tokens + + if (null === matches) { + return ['no-more-tokens']; + } + + var startedAt = matches.index; + + var _matches = Object(slicedToArray["a" /* default */])(matches, 4), + match = _matches[0], + isClosing = _matches[1], + name = _matches[2], + isSelfClosed = _matches[3]; + + var length = match.length; + + if (isSelfClosed) { + return ['self-closed', name, startedAt, length]; + } + + if (isClosing) { + return ['closer', name, startedAt, length]; + } + + return ['opener', name, startedAt, length]; +} +/** + * Pushes text extracted from the indoc string to the output stack given the + * current rawLength value and offset (if rawLength is provided ) or the + * indoc.length and offset. + * + * @private + */ + + +function addText() { + var length = indoc.length - offset; + + if (0 === length) { + return; + } + + output.push(indoc.substr(offset, length)); +} +/** + * Pushes a child element to the associated parent element's children for the + * parent currently active in the stack. + * + * @private + * + * @param {Frame} frame The Frame containing the child element and it's + * token information. + */ + + +function addChild(frame) { + var element = frame.element, + tokenStart = frame.tokenStart, + tokenLength = frame.tokenLength, + prevOffset = frame.prevOffset, + children = frame.children; + var parent = stack[stack.length - 1]; + var text = indoc.substr(parent.prevOffset, tokenStart - parent.prevOffset); + + if (text) { + parent.children.push(text); + } + + parent.children.push(external_this_React_["cloneElement"].apply(void 0, [element, null].concat(Object(toConsumableArray["a" /* default */])(children)))); + parent.prevOffset = prevOffset ? prevOffset : tokenStart + tokenLength; +} +/** + * This is called for closing tags. It creates the element currently active in + * the stack. + * + * @private + * + * @param {number} endOffset Offset at which the closing tag for the element + * begins in the string. If this is greater than the + * prevOffset attached to the element, then this + * helps capture any remaining nested text nodes in + * the element. + */ + + +function closeOuterElement(endOffset) { + var _stack$pop2 = stack.pop(), + element = _stack$pop2.element, + leadingTextStart = _stack$pop2.leadingTextStart, + prevOffset = _stack$pop2.prevOffset, + tokenStart = _stack$pop2.tokenStart, + children = _stack$pop2.children; + + var text = endOffset ? indoc.substr(prevOffset, endOffset - prevOffset) : indoc.substr(prevOffset); + + if (text) { + children.push(text); + } + + if (null !== leadingTextStart) { + output.push(indoc.substr(leadingTextStart, tokenStart - leadingTextStart)); + } + + output.push(external_this_React_["cloneElement"].apply(void 0, [element, null].concat(Object(toConsumableArray["a" /* default */])(children)))); +} + +/* harmony default export */ var create_interpolate_element = (create_interpolate_element_createInterpolateElement); + // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js var objectSpread = __webpack_require__(7); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js var objectWithoutProperties = __webpack_require__(21); -// EXTERNAL MODULE: external {"this":"React"} -var external_this_React_ = __webpack_require__(28); - // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); @@ -217,6 +634,24 @@ var external_this_lodash_ = __webpack_require__(2); */ +/** + * Object containing a React element. + * + * @typedef {import('react').ReactElement} WPElement + */ + +/** + * Object containing a React component. + * + * @typedef {import('react').Component} WPComponent + */ + +/** + * Object containing a React synthetic event. + * + * @typedef {import('react').SyntheticEvent} WPSyntheticEvent + */ + /** * Object that provides utilities for dealing with React children. */ @@ -252,8 +687,8 @@ var external_this_lodash_ = __webpack_require__(2); * * @param {?(string|Function)} type Tag name or element creator * @param {Object} props Element properties, either attribute - * set to apply to DOM node or values to - * pass through to element creator + * set to apply to DOM node or values to + * pass through to element creator * @param {...WPElement} children Descendant elements * * @return {WPElement} Element. @@ -288,7 +723,7 @@ var external_this_lodash_ = __webpack_require__(2); /** - * Checks if an object is a valid WPElement + * Checks if an object is a valid WPElement. * * @param {Object} objectToCheck The object to be checked. * @@ -379,7 +814,7 @@ function concatChildren() { childrenArguments[_key] = arguments[_key]; } - return childrenArguments.reduce(function (result, children, i) { + return childrenArguments.reduce(function (accumulator, children, i) { external_this_React_["Children"].forEach(children, function (child, j) { if (child && 'string' !== typeof child) { child = Object(external_this_React_["cloneElement"])(child, { @@ -387,9 +822,9 @@ function concatChildren() { }); } - result.push(child); + accumulator.push(child); }); - return result; + return accumulator; }, []); } /** @@ -420,7 +855,7 @@ function switchChildrenNodeName(children, nodeName) { } // EXTERNAL MODULE: external {"this":"ReactDOM"} -var external_this_ReactDOM_ = __webpack_require__(56); +var external_this_ReactDOM_ = __webpack_require__(57); // CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/react-platform.js /** @@ -432,24 +867,24 @@ var external_this_ReactDOM_ = __webpack_require__(56); * * @see https://github.com/facebook/react/issues/10309#issuecomment-318433235 * - * @param {Component} component Component - * @param {Element} target DOM node into which element should be rendered + * @param {WPElement} child Any renderable child, such as an element, + * string, or fragment. + * @param {HTMLElement} container DOM node into which element should be rendered. */ /** - * Finds the dom node of a React component + * Finds the dom node of a React component. * - * @param {Component} component component's instance - * @param {Element} target DOM node into which element should be rendered + * @param {WPComponent} component Component's instance. */ /** * Renders a given element into the target DOM node. * - * @param {WPElement} element Element to render - * @param {Element} target DOM node into which element should be rendered + * @param {WPElement} element Element to render. + * @param {HTMLElement} target DOM node into which element should be rendered. */ @@ -485,11 +920,45 @@ var utils_isEmptyElement = function isEmptyElement(element) { return !element; }; -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js -var esm_typeof = __webpack_require__(31); +// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/platform.js +/** + * Parts of this source were derived and modified from react-native-web, + * released under the MIT license. + * + * Copyright (c) 2016-present, Nicolas Gallagher. + * Copyright (c) 2015-present, Facebook, Inc. + * + */ +var Platform = { + OS: 'web', + select: function select(spec) { + return 'web' in spec ? spec.web : spec.default; + } +}; +/** + * Component used to detect the current Platform being used. + * Use Platform.OS === 'web' to detect if running on web enviroment. + * + * This is the same concept as the React Native implementation. + * + * @see https://facebook.github.io/react-native/docs/platform-specific-code#platform-module + * + * Here is an example of how to use the select method: + * @example + * ```js + * import { Platform } from '@wordpress/element'; + * + * const placeholderLabel = Platform.select( { + * native: __( 'Add media' ), + * web: __( 'Drag images, upload new ones or select files from your library.' ), + * } ); + * ``` + */ + +/* harmony default export */ var platform = (Platform); // EXTERNAL MODULE: external {"this":["wp","escapeHtml"]} -var external_this_wp_escapeHtml_ = __webpack_require__(70); +var external_this_wp_escapeHtml_ = __webpack_require__(59); // CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/raw-html.js @@ -509,7 +978,7 @@ var external_this_wp_escapeHtml_ = __webpack_require__(70); * @param {string} props.children HTML to render. * @param {Object} props.props Any additonal props to be set on the containing div. * - * @return {WPElement} Dangerously-rendering element. + * @return {WPComponent} Dangerously-rendering component. */ function RawHTML(_ref) { @@ -1016,6 +1485,7 @@ function renderStyle(style) { /* harmony default export */ var serialize = (renderElement); // CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/index.js +/* concated harmony reexport __experimentalCreateInterpolateElement */__webpack_require__.d(__webpack_exports__, "__experimentalCreateInterpolateElement", function() { return create_interpolate_element; }); /* concated harmony reexport Children */__webpack_require__.d(__webpack_exports__, "Children", function() { return external_this_React_["Children"]; }); /* concated harmony reexport cloneElement */__webpack_require__.d(__webpack_exports__, "cloneElement", function() { return external_this_React_["cloneElement"]; }); /* concated harmony reexport Component */__webpack_require__.d(__webpack_exports__, "Component", function() { return external_this_React_["Component"]; }); @@ -1046,6 +1516,7 @@ function renderStyle(style) { /* concated harmony reexport render */__webpack_require__.d(__webpack_exports__, "render", function() { return external_this_ReactDOM_["render"]; }); /* concated harmony reexport unmountComponentAtNode */__webpack_require__.d(__webpack_exports__, "unmountComponentAtNode", function() { return external_this_ReactDOM_["unmountComponentAtNode"]; }); /* concated harmony reexport isEmptyElement */__webpack_require__.d(__webpack_exports__, "isEmptyElement", function() { return utils_isEmptyElement; }); +/* concated harmony reexport Platform */__webpack_require__.d(__webpack_exports__, "Platform", function() { return platform; }); /* concated harmony reexport renderToString */__webpack_require__.d(__webpack_exports__, "renderToString", function() { return serialize; }); /* concated harmony reexport RawHTML */__webpack_require__.d(__webpack_exports__, "RawHTML", function() { return RawHTML; }); @@ -1055,26 +1526,57 @@ function renderStyle(style) { + + /***/ }), -/***/ 56: +/***/ 40: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + +/***/ }), + +/***/ 57: /***/ (function(module, exports) { (function() { module.exports = this["ReactDOM"]; }()); /***/ }), +/***/ 59: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["escapeHtml"]; }()); + +/***/ }), + /***/ 7: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(source); + var ownKeys = Object.keys(Object(source)); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -1092,10 +1594,25 @@ function _objectSpread(target) { /***/ }), -/***/ 70: -/***/ (function(module, exports) { +/***/ 9: +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["wp"]["escapeHtml"]; }()); +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} /***/ }) diff --git a/wp-includes/js/dist/element.min.js b/wp-includes/js/dist/element.min.js index 799cae6819..d77d895b5d 100644 --- a/wp-includes/js/dist/element.min.js +++ b/wp-includes/js/dist/element.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.element=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=361)}({10:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},2:function(e,t){!function(){e.exports=this.lodash}()},21:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},u=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},28:function(e,t){!function(){e.exports=this.React}()},31:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}n.d(t,"a",(function(){return o}))},361:function(e,t,n){"use strict";n.r(t);var r=n(7),o=n(21),u=n(28),i=n(2);function c(){for(var e=arguments.length,t=new Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:{};if(null==e||!1===e)return"";if(Array.isArray(e))return I(e,t,n);switch(Object(s.a)(e)){case"string":return Object(d.escapeHTML)(e);case"number":return e.toString()}var c=e.type,a=e.props;switch(c){case u.StrictMode:case u.Fragment:return I(a.children,t,n);case p:var f=a.children,l=Object(o.a)(a,["children"]);return _(Object(i.isEmpty)(l)?null:"div",Object(r.a)({},l,{dangerouslySetInnerHTML:{__html:f}}),t,n)}switch(Object(s.a)(c)){case"string":return _(c,a,t,n);case"function":return c.prototype&&"function"==typeof c.prototype.render?function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=new e(t,r);"function"==typeof o.getChildContext&&Object.assign(r,o.getChildContext());return P(o.render(),n,r)}(c,a,t,n):P(c(a,n),t,n)}switch(c&&c.$$typeof){case b.$$typeof:return I(a.children,a.value,n);case y.$$typeof:return P(a.children(t||c._currentValue),t,n);case h.$$typeof:return P(c.render(a),t,n)}return""}function _(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o="";if("textarea"===e&&t.hasOwnProperty("value")?(o=I(t.value,n,r),t=Object(i.omit)(t,"value")):t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?o=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(o=I(t.children,n,r)),!e)return o;var u=function(e){var t="";for(var n in e){var r=k(n);if(Object(d.isValidAttributeName)(r)){var o=x(n,e[n]);if(O.has(Object(s.a)(o))&&!C(n)){var u=v.has(r);if(!u||!1!==o){var i=u||w(n,["data-","aria-"])||j.has(r);("boolean"!=typeof o||i)&&(t+=" "+r,u||("string"==typeof o&&(o=Object(d.escapeAttribute)(o)),t+='="'+o+'"'))}}}}return t}(t);return g.has(e)?"<"+e+u+"/>":"<"+e+u+">"+o+""}function I(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r="";e=Object(i.castArray)(e);for(var o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n])}return u}},22:function(e,t,n){"use strict";var r=n(33);var o=n(34);function u(e,t){return Object(r.a)(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,u=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,u=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw u}}return n}}(e,t)||Object(o.a)()}n.d(t,"a",(function(){return u}))},31:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},32:function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},33:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},34:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",(function(){return r}))},378:function(e,t,n){"use strict";n.r(t);var r,o,u,i,c=n(22),a=n(31),l=n(18),f=n(20),s=/<(\/)?(\w+)\s*(\/)?>/g;function d(e,t,n,r,o){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:o,children:[]}}var p=function(e){var t="object"===Object(a.a)(e),n=t&&Object.values(e);return t&&n.length&&n.every((function(e){return Object(f.isValidElement)(e)}))};function b(e){var t=function(){var e=s.exec(r);if(null===e)return["no-more-tokens"];var t=e.index,n=Object(c.a)(e,4),o=n[0],u=n[1],i=n[2],a=n[3],l=o.length;if(a)return["self-closed",i,t,l];if(u)return["closer",i,t,l];return["opener",i,t,l]}(),n=Object(c.a)(t,4),a=n[0],p=n[1],b=n[2],y=n[3],v=i.length,O=b>o?o:null;if(!e[p])return m(),!1;switch(a){case"no-more-tokens":if(0!==v){var g=i.pop(),j=g.leadingTextStart,w=g.tokenStart;u.push(r.substr(j,w))}return m(),!1;case"self-closed":return 0===v?(null!==O&&u.push(r.substr(O,b-O)),u.push(e[p]),o=b+y,!0):(h(new d(e[p],b,y)),o=b+y,!0);case"opener":return i.push(new d(e[p],b,y,b+y,O)),o=b+y,!0;case"closer":if(1===v)return function(e){var t=i.pop(),n=t.element,o=t.leadingTextStart,c=t.prevOffset,a=t.tokenStart,s=t.children,d=e?r.substr(c,e-c):r.substr(c);d&&s.push(d);null!==o&&u.push(r.substr(o,a-o));u.push(f.cloneElement.apply(void 0,[n,null].concat(Object(l.a)(s))))}(b),o=b+y,!0;var S=i.pop(),x=r.substr(S.prevOffset,b-S.prevOffset);S.children.push(x),S.prevOffset=b+y;var k=new d(S.element,S.tokenStart,S.tokenLength,b+y);return k.children=S.children,h(k),o=b+y,!0;default:return m(),!1}}function m(){var e=r.length-o;0!==e&&u.push(r.substr(o,e))}function h(e){var t=e.element,n=e.tokenStart,o=e.tokenLength,u=e.prevOffset,c=e.children,a=i[i.length-1],s=r.substr(a.prevOffset,n-a.prevOffset);s&&a.children.push(s),a.children.push(f.cloneElement.apply(void 0,[t,null].concat(Object(l.a)(c)))),a.prevOffset=u||n+o}var y=function(e,t){if(r=e,o=0,u=[],i=[],s.lastIndex=0,!p(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(b(t));return f.createElement.apply(void 0,[f.Fragment,null].concat(Object(l.a)(u)))},v=n(7),O=n(21),g=n(2);function j(){for(var e=arguments.length,t=new Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:{};if(null==e||!1===e)return"";if(Array.isArray(e))return G(e,t,n);switch(Object(a.a)(e)){case"string":return Object(E.escapeHTML)(e);case"number":return e.toString()}var r=e.type,o=e.props;switch(r){case f.StrictMode:case f.Fragment:return G(o.children,t,n);case C:var u=o.children,i=Object(O.a)(o,["children"]);return q(Object(g.isEmpty)(i)?null:"div",Object(v.a)({},i,{dangerouslySetInnerHTML:{__html:u}}),t,n)}switch(Object(a.a)(r)){case"string":return q(r,o,t,n);case"function":return r.prototype&&"function"==typeof r.prototype.render?function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=new e(t,r);"function"==typeof o.getChildContext&&Object.assign(r,o.getChildContext());return F(o.render(),n,r)}(r,o,t,n):F(r(o,n),t,n)}switch(r&&r.$$typeof){case I.$$typeof:return G(o.children,o.value,n);case P.$$typeof:return F(o.children(t||r._currentValue),t,n);case T.$$typeof:return F(r.render(o),t,n)}return""}function q(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o="";if("textarea"===e&&t.hasOwnProperty("value")?(o=G(t.value,n,r),t=Object(g.omit)(t,"value")):t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?o=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(o=G(t.children,n,r)),!e)return o;var u=function(e){var t="";for(var n in e){var r=z(n);if(Object(E.isValidAttributeName)(r)){var o=$(n,e[n]);if(A.has(Object(a.a)(o))&&!D(n)){var u=R.has(r);if(!u||!1!==o){var i=u||N(n,["data-","aria-"])||L.has(r);("boolean"!=typeof o||i)&&(t+=" "+r,u||("string"==typeof o&&(o=Object(E.escapeAttribute)(o)),t+='="'+o+'"'))}}}}return t}(t);return _.has(e)?"<"+e+u+"/>":"<"+e+u+">"+o+""}function G(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r="";e=Object(g.castArray)(e);for(var o=0;o=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},57:function(e,t){!function(){e.exports=this.ReactDOM}()},59:function(e,t){!function(){e.exports=this.wp.escapeHtml}()},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9);function o(e){for(var t=1;t/="\uFDD0-\uFDEF]/;function u(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&")}function o(e){return e.replace(/"/g,""")}function i(e){return e.replace(//g,">")}(o(u(e)))}function f(e){return i(u(e))}function a(e){return!r.test(e)}}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.escapeHtml=function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)n.d(r,u,function(t){return e[t]}.bind(null,u));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=388)}({388:function(e,t,n){"use strict";n.r(t),n.d(t,"escapeAmpersand",(function(){return u})),n.d(t,"escapeQuotationMark",(function(){return o})),n.d(t,"escapeLessThan",(function(){return i})),n.d(t,"escapeAttribute",(function(){return c})),n.d(t,"escapeHTML",(function(){return a})),n.d(t,"escapeEditableHTML",(function(){return f})),n.d(t,"isValidAttributeName",(function(){return p}));var r=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;function u(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&")}function o(e){return e.replace(/"/g,""")}function i(e){return e.replace(//g,">")}(o(u(e)))}function a(e){return i(u(e))}function f(e){return i(e.replace(/&/g,"&"))}function p(e){return!r.test(e)}}}); \ No newline at end of file diff --git a/wp-includes/js/dist/format-library.js b/wp-includes/js/dist/format-library.js index 90c88d7150..8b659551af 100644 --- a/wp-includes/js/dist/format-library.js +++ b/wp-includes/js/dist/format-library.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["formatLibrary"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 353); +/******/ return __webpack_require__(__webpack_require__.s = 372); /******/ }) /************************************************************************/ /******/ ({ @@ -101,29 +101,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["formatLibrary"] = /***/ }), -/***/ 10: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -/***/ }), - -/***/ 11: +/***/ 12: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -146,7 +124,7 @@ function _createClass(Constructor, protoProps, staticProps) { /***/ }), -/***/ 12: +/***/ 13: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -159,13 +137,38 @@ function _classCallCheck(instance, Constructor) { /***/ }), -/***/ 13: +/***/ 14: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; }); +function _extends() { + _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + + return target; + }; + + return _extends.apply(this, arguments); +} + +/***/ }), + +/***/ 15: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; }); /* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31); -/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5); +/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6); function _possibleConstructorReturn(self, call) { @@ -178,7 +181,7 @@ function _possibleConstructorReturn(self, call) { /***/ }), -/***/ 14: +/***/ 16: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -192,7 +195,7 @@ function _getPrototypeOf(o) { /***/ }), -/***/ 15: +/***/ 17: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -226,31 +229,6 @@ function _inherits(subClass, superClass) { /***/ }), -/***/ 18: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; }); -function _extends() { - _extends = Object.assign || function (target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; - - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; - } - } - } - - return target; - }; - - return _extends.apply(this, arguments); -} - -/***/ }), - /***/ 19: /***/ (function(module, exports) { @@ -269,28 +247,12 @@ function _extends() { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; }); +/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40); function _objectWithoutProperties(source, excluded) { if (source == null) return {}; - var target = _objectWithoutPropertiesLoose(source, excluded); + var target = Object(_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { @@ -309,7 +271,7 @@ function _objectWithoutProperties(source, excluded) { /***/ }), -/***/ 22: +/***/ 24: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["richText"]; }()); @@ -319,13 +281,6 @@ function _objectWithoutProperties(source, excluded) { /***/ 25: /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["dom"]; }()); - -/***/ }), - -/***/ 26: -/***/ (function(module, exports) { - (function() { module.exports = this["wp"]["url"]; }()); /***/ }), @@ -342,16 +297,14 @@ function _objectWithoutProperties(source, excluded) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); -function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); } - function _typeof(obj) { - if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") { + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { - return _typeof2(obj); + return typeof obj; }; } else { _typeof = function _typeof(obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj); + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } @@ -360,17 +313,17 @@ function _typeof(obj) { /***/ }), -/***/ 353: +/***/ 372: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js var objectWithoutProperties = __webpack_require__(21); // EXTERNAL MODULE: external {"this":["wp","richText"]} -var external_this_wp_richText_ = __webpack_require__(22); +var external_this_wp_richText_ = __webpack_require__(24); // EXTERNAL MODULE: external {"this":["wp","element"]} var external_this_wp_element_ = __webpack_require__(0); @@ -379,7 +332,7 @@ var external_this_wp_element_ = __webpack_require__(0); var external_this_wp_i18n_ = __webpack_require__(1); // EXTERNAL MODULE: external {"this":["wp","blockEditor"]} -var external_this_wp_blockEditor_ = __webpack_require__(6); +var external_this_wp_blockEditor_ = __webpack_require__(5); // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/bold/index.js @@ -503,25 +456,22 @@ var code = { var objectSpread = __webpack_require__(7); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(12); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(11); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(13); +var possibleConstructorReturn = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(14); +var getPrototypeOf = __webpack_require__(16); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js -var assertThisInitialized = __webpack_require__(5); +var assertThisInitialized = __webpack_require__(6); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(15); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(18); +var inherits = __webpack_require__(17); // EXTERNAL MODULE: external {"this":["wp","components"]} var external_this_wp_components_ = __webpack_require__(3); @@ -529,9 +479,6 @@ var external_this_wp_components_ = __webpack_require__(3); // EXTERNAL MODULE: external {"this":["wp","keycodes"]} var external_this_wp_keycodes_ = __webpack_require__(19); -// EXTERNAL MODULE: external {"this":["wp","dom"]} -var external_this_wp_dom_ = __webpack_require__(25); - // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/image/index.js @@ -542,8 +489,6 @@ var external_this_wp_dom_ = __webpack_require__(25); - - /** * WordPress dependencies */ @@ -553,7 +498,6 @@ var external_this_wp_dom_ = __webpack_require__(25); - var ALLOWED_MEDIA_TYPES = ['image']; var image_name = 'core/image'; @@ -563,18 +507,10 @@ var stopKeyPropagation = function stopKeyPropagation(event) { return event.stopPropagation(); }; -var image_PopoverAtImage = function PopoverAtImage(_ref) { - var dependencies = _ref.dependencies, - props = Object(objectWithoutProperties["a" /* default */])(_ref, ["dependencies"]); - - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], Object(esm_extends["a" /* default */])({ - position: "bottom center", - focusOnMount: false, - anchorRect: Object(external_this_wp_element_["useMemo"])(function () { - return Object(external_this_wp_dom_["computeCaretRect"])(); - }, dependencies) - }, props)); -}; +function getRange() { + var selection = window.getSelection(); + return selection.rangeCount ? selection.getRangeAt(0) : null; +} var image_image = { name: image_name, @@ -649,7 +585,6 @@ var image_image = { onChange = _this$props.onChange, isObjectActive = _this$props.isObjectActive, activeObjectAttributes = _this$props.activeObjectAttributes; - var style = activeObjectAttributes.style; return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUploadCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], { icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { xmlns: "http://www.w3.org/2000/svg", @@ -662,11 +597,11 @@ var image_image = { isActive: isObjectActive }), this.state.modal && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], { allowedTypes: ALLOWED_MEDIA_TYPES, - onSelect: function onSelect(_ref2) { - var id = _ref2.id, - url = _ref2.url, - alt = _ref2.alt, - width = _ref2.width; + onSelect: function onSelect(_ref) { + var id = _ref.id, + url = _ref.url, + alt = _ref.alt, + width = _ref.width; _this2.closeModal(); @@ -681,15 +616,15 @@ var image_image = { })); }, onClose: this.closeModal, - render: function render(_ref3) { - var open = _ref3.open; + render: function render(_ref2) { + var open = _ref2.open; open(); return null; } - }), isObjectActive && Object(external_this_wp_element_["createElement"])(image_PopoverAtImage // Reposition Popover when the selection changes or - // when the width changes. - , { - dependencies: [style, value.start] + }), isObjectActive && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { + position: "bottom center", + focusOnMount: false, + anchorRef: getRange() }, Object(external_this_wp_element_["createElement"])("form", { className: "editor-format-toolbar__image-container-content block-editor-format-toolbar__image-container-content", onKeyPress: stopKeyPropagation, @@ -796,10 +731,13 @@ var italic = { }; // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(26); +var external_this_wp_url_ = __webpack_require__(25); // EXTERNAL MODULE: external {"this":["wp","htmlEntities"]} -var external_this_wp_htmlEntities_ = __webpack_require__(51); +var external_this_wp_htmlEntities_ = __webpack_require__(53); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(14); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); @@ -934,7 +872,6 @@ function createLinkFormat(_ref) { - /** * Internal dependencies */ @@ -955,16 +892,17 @@ var inline_URLPopoverAtLink = function URLPopoverAtLink(_ref) { value = _ref.value, props = Object(objectWithoutProperties["a" /* default */])(_ref, ["isActive", "addingLink", "value"]); - var anchorRect = Object(external_this_wp_element_["useMemo"])(function () { + var anchorRef = Object(external_this_wp_element_["useMemo"])(function () { var selection = window.getSelection(); - var range = selection.rangeCount > 0 ? selection.getRangeAt(0) : null; - if (!range) { + if (!selection.rangeCount) { return; } + var range = selection.getRangeAt(0); + if (addingLink) { - return Object(external_this_wp_dom_["getRectangleFromRange"])(range); + return range; } var element = range.startContainer; // If the caret is right before the element, select the next element. @@ -975,19 +913,15 @@ var inline_URLPopoverAtLink = function URLPopoverAtLink(_ref) { element = element.parentNode; } - var closest = element.closest('a'); - - if (closest) { - return closest.getBoundingClientRect(); - } + return element.closest('a'); }, [isActive, addingLink, value.start, value.end]); - if (!anchorRect) { + if (!anchorRef) { return null; } return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["URLPopover"], Object(esm_extends["a" /* default */])({ - anchorRect: anchorRect + anchorRef: anchorRef }, props)); }; @@ -1488,9 +1422,45 @@ default_formats.forEach(function (_ref) { }); +/***/ }), + +/***/ 40: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + /***/ }), /***/ 5: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["blockEditor"]; }()); + +/***/ }), + +/***/ 53: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["htmlEntities"]; }()); + +/***/ }), + +/***/ 6: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1505,31 +1475,17 @@ function _assertThisInitialized(self) { /***/ }), -/***/ 51: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["htmlEntities"]; }()); - -/***/ }), - -/***/ 6: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["blockEditor"]; }()); - -/***/ }), - /***/ 7: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(source); + var ownKeys = Object.keys(Object(source)); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -1545,6 +1501,28 @@ function _objectSpread(target) { return target; } +/***/ }), + +/***/ 9: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/format-library.min.js b/wp-includes/js/dist/format-library.min.js index 4d16a04c6b..b5f8ba4310 100644 --- a/wp-includes/js/dist/format-library.min.js +++ b/wp-includes/js/dist/format-library.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.formatLibrary=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=353)}({0:function(t,e){!function(){t.exports=this.wp.element}()},1:function(t,e){!function(){t.exports=this.wp.i18n}()},10:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},11:function(t,e,n){"use strict";function r(t,e){for(var n=0;n=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}n.d(e,"a",(function(){return r}))},22:function(t,e){!function(){t.exports=this.wp.richText}()},25:function(t,e){!function(){t.exports=this.wp.dom}()},26:function(t,e){!function(){t.exports=this.wp.url}()},3:function(t,e){!function(){t.exports=this.wp.components}()},31:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t){return(i="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}n.d(e,"a",(function(){return i}))},353:function(t,e,n){"use strict";n.r(e);var r=n(21),i=n(22),o=n(0),a=n(1),c=n(6),u=Object(a.__)("Bold"),l={name:"core/bold",title:u,tagName:"strong",className:null,edit:function(t){var e=t.isActive,n=t.value,r=t.onChange,a=function(){return r(Object(i.toggleFormat)(n,{type:"core/bold"}))};return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(c.RichTextShortcut,{type:"primary",character:"b",onUse:a}),Object(o.createElement)(c.RichTextToolbarButton,{name:"bold",icon:"editor-bold",title:u,onClick:a,isActive:e,shortcutType:"primary",shortcutCharacter:"b"}),Object(o.createElement)(c.__unstableRichTextInputEvent,{inputType:"formatBold",onInput:a}))}},s=Object(a.__)("Inline Code"),b={name:"core/code",title:s,tagName:"code",className:null,__unstableInputRule:function(t){var e=t,n=e.start,r=e.text;if("`"!==r.slice(n-1,n))return t;var o=r.slice(0,n-1).lastIndexOf("`");if(-1===o)return t;var a=o,c=n-2;return a===c?t:(t=Object(i.remove)(t,a,a+1),t=Object(i.remove)(t,c,c+1),t=Object(i.applyFormat)(t,{type:"core/code"},a,c))},edit:function(t){var e=t.value,n=t.onChange,r=t.isActive;return Object(o.createElement)(c.RichTextToolbarButton,{icon:"editor-code",title:s,onClick:function(){return n(Object(i.toggleFormat)(e,{type:"core/code"}))},isActive:r})}},p=n(7),f=n(12),d=n(11),m=n(13),h=n(14),O=n(5),v=n(15),j=n(18),y=n(3),g=n(19),k=n(25),w=["image"],_=Object(a.__)("Inline image"),E=function(t){return t.stopPropagation()},C=function(t){var e=t.dependencies,n=Object(r.a)(t,["dependencies"]);return Object(o.createElement)(y.Popover,Object(j.a)({position:"bottom center",focusOnMount:!1,anchorRect:Object(o.useMemo)((function(){return Object(k.computeCaretRect)()}),e)},n))},S={name:"core/image",title:_,keywords:[Object(a.__)("photo"),Object(a.__)("media")],object:!0,tagName:"img",className:null,attributes:{className:"class",style:"style",url:"src",alt:"alt"},edit:function(t){function e(){var t;return Object(f.a)(this,e),(t=Object(m.a)(this,Object(h.a)(e).apply(this,arguments))).onChange=t.onChange.bind(Object(O.a)(t)),t.onKeyDown=t.onKeyDown.bind(Object(O.a)(t)),t.openModal=t.openModal.bind(Object(O.a)(t)),t.closeModal=t.closeModal.bind(Object(O.a)(t)),t.state={modal:!1},t}return Object(v.a)(e,t),Object(d.a)(e,[{key:"onChange",value:function(t){this.setState({width:t})}},{key:"onKeyDown",value:function(t){[g.LEFT,g.DOWN,g.RIGHT,g.UP,g.BACKSPACE,g.ENTER].indexOf(t.keyCode)>-1&&t.stopPropagation()}},{key:"openModal",value:function(){this.setState({modal:!0})}},{key:"closeModal",value:function(){this.setState({modal:!1})}},{key:"render",value:function(){var t=this,e=this.props,n=e.value,r=e.onChange,u=e.isObjectActive,l=e.activeObjectAttributes,s=l.style;return Object(o.createElement)(c.MediaUploadCheck,null,Object(o.createElement)(c.RichTextToolbarButton,{icon:Object(o.createElement)(y.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(y.Path,{d:"M4 16h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2zM4 5h10v9H4V5zm14 9v2h4v-2h-4zM2 20h20v-2H2v2zm6.4-8.8L7 9.4 5 12h8l-2.6-3.4-2 2.6z"})),title:_,onClick:this.openModal,isActive:u}),this.state.modal&&Object(o.createElement)(c.MediaUpload,{allowedTypes:w,onSelect:function(e){var o=e.id,a=e.url,c=e.alt,u=e.width;t.closeModal(),r(Object(i.insertObject)(n,{type:"core/image",attributes:{className:"wp-image-".concat(o),style:"width: ".concat(Math.min(u,150),"px;"),url:a,alt:c}}))},onClose:this.closeModal,render:function(t){return(0,t.open)(),null}}),u&&Object(o.createElement)(C,{dependencies:[s,n.start]},Object(o.createElement)("form",{className:"editor-format-toolbar__image-container-content block-editor-format-toolbar__image-container-content",onKeyPress:E,onKeyDown:this.onKeyDown,onSubmit:function(e){var i=n.replacements.slice();i[n.start]={type:"core/image",attributes:Object(p.a)({},l,{style:"width: ".concat(t.state.width,"px;")})},r(Object(p.a)({},n,{replacements:i})),e.preventDefault()}},Object(o.createElement)(y.TextControl,{className:"editor-format-toolbar__image-container-value block-editor-format-toolbar__image-container-value",type:"number",label:Object(a.__)("Width"),value:this.state.width,min:1,onChange:this.onChange}),Object(o.createElement)(y.IconButton,{icon:"editor-break",label:Object(a.__)("Apply"),type:"submit"}))))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.activeObjectAttributes.style;return n===e.previousStyle?null:n?{width:n.replace(/\D/g,""),previousStyle:n}:{width:void 0,previousStyle:n}}}]),e}(o.Component)},T=Object(a.__)("Italic"),x={name:"core/italic",title:T,tagName:"em",className:null,edit:function(t){var e=t.isActive,n=t.value,r=t.onChange,a=function(){return r(Object(i.toggleFormat)(n,{type:"core/italic"}))};return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(c.RichTextShortcut,{type:"primary",character:"i",onUse:a}),Object(o.createElement)(c.RichTextToolbarButton,{name:"italic",icon:"editor-italic",title:T,onClick:a,isActive:e,shortcutType:"primary",shortcutCharacter:"i"}),Object(o.createElement)(c.__unstableRichTextInputEvent,{inputType:"formatItalic",onInput:a}))}},L=n(26),R=n(51),P=n(2);function A(t){if(!t)return!1;var e=t.trim();if(!e)return!1;if(/^\S+:/.test(e)){var n=Object(L.getProtocol)(e);if(!Object(L.isValidProtocol)(n))return!1;if(Object(P.startsWith)(n,"http")&&!/^https?:\/\/[^\/\s]/i.test(e))return!1;var r=Object(L.getAuthority)(e);if(!Object(L.isValidAuthority)(r))return!1;var i=Object(L.getPath)(e);if(i&&!Object(L.isValidPath)(i))return!1;var o=Object(L.getQueryString)(e);if(o&&!Object(L.isValidQueryString)(o))return!1;var a=Object(L.getFragment)(e);if(a&&!Object(L.isValidFragment)(a))return!1}return!(Object(P.startsWith)(e,"#")&&!Object(L.isValidFragment)(e))}function N(t){var e=t.url,n=t.opensInNewWindow,r=t.text,i={type:"core/link",attributes:{url:e}};if(n){var o=Object(a.sprintf)(Object(a.__)("%s (opens in a new tab)"),r);i.attributes.target="_blank",i.attributes.rel="noreferrer noopener",i.attributes["aria-label"]=o}return i}var F=function(t){return t.stopPropagation()};function I(t,e){return t.addingLink||e.editLink}var M=function(t){var e=t.isActive,n=t.addingLink,i=t.value,a=Object(r.a)(t,["isActive","addingLink","value"]),u=Object(o.useMemo)((function(){var t=window.getSelection(),e=t.rangeCount>0?t.getRangeAt(0):null;if(e){if(n)return Object(k.getRectangleFromRange)(e);var r=e.startContainer;for(r=r.nextElementSibling||r;r.nodeType!==window.Node.ELEMENT_NODE;)r=r.parentNode;var i=r.closest("a");return i?i.getBoundingClientRect():void 0}}),[e,n,i.start,i.end]);return u?Object(o.createElement)(c.URLPopover,Object(j.a)({anchorRect:u},a)):null},V=function(t){function e(){var t;return Object(f.a)(this,e),(t=Object(m.a)(this,Object(h.a)(e).apply(this,arguments))).editLink=t.editLink.bind(Object(O.a)(t)),t.submitLink=t.submitLink.bind(Object(O.a)(t)),t.onKeyDown=t.onKeyDown.bind(Object(O.a)(t)),t.onChangeInputValue=t.onChangeInputValue.bind(Object(O.a)(t)),t.setLinkTarget=t.setLinkTarget.bind(Object(O.a)(t)),t.onFocusOutside=t.onFocusOutside.bind(Object(O.a)(t)),t.resetState=t.resetState.bind(Object(O.a)(t)),t.autocompleteRef=Object(o.createRef)(),t.state={opensInNewWindow:!1,inputValue:""},t}return Object(v.a)(e,t),Object(d.a)(e,[{key:"onKeyDown",value:function(t){[g.LEFT,g.DOWN,g.RIGHT,g.UP,g.BACKSPACE,g.ENTER].indexOf(t.keyCode)>-1&&t.stopPropagation()}},{key:"onChangeInputValue",value:function(t){this.setState({inputValue:t})}},{key:"setLinkTarget",value:function(t){var e=this.props,n=e.activeAttributes.url,r=void 0===n?"":n,o=e.value,a=e.onChange;if(this.setState({opensInNewWindow:t}),!I(this.props,this.state)){var c=Object(i.getTextContent)(Object(i.slice)(o));a(Object(i.applyFormat)(o,N({url:r,opensInNewWindow:t,text:c})))}}},{key:"editLink",value:function(t){this.setState({editLink:!0}),t.preventDefault()}},{key:"submitLink",value:function(t){var e=this.props,n=e.isActive,r=e.value,o=e.onChange,c=e.speak,u=this.state,l=u.inputValue,s=u.opensInNewWindow,b=Object(L.prependHTTP)(l),p=N({url:b,opensInNewWindow:s,text:Object(i.getTextContent)(Object(i.slice)(r))});if(t.preventDefault(),Object(i.isCollapsed)(r)&&!n){var f=Object(i.applyFormat)(Object(i.create)({text:b}),p,0,b.length);o(Object(i.insert)(r,f))}else o(Object(i.applyFormat)(r,p));this.resetState(),A(b)?c(n?Object(a.__)("Link edited."):Object(a.__)("Link inserted."),"assertive"):c(Object(a.__)("Warning: the link has been inserted but may have errors. Please test it."),"assertive")}},{key:"onFocusOutside",value:function(){var t=this.autocompleteRef.current;t&&t.contains(document.activeElement)||this.resetState()}},{key:"resetState",value:function(){this.props.stopAddingLink(),this.setState({editLink:!1})}},{key:"render",value:function(){var t=this,e=this.props,n=e.isActive,r=e.activeAttributes.url,i=e.addingLink,u=e.value;if(!n&&!i)return null;var l=this.state,s=l.inputValue,b=l.opensInNewWindow,p=I(this.props,this.state);return Object(o.createElement)(M,{value:u,isActive:n,addingLink:i,onFocusOutside:this.onFocusOutside,onClose:this.resetState,focusOnMount:!!p&&"firstElement",renderSettings:function(){return Object(o.createElement)(y.ToggleControl,{label:Object(a.__)("Open in New Tab"),checked:b,onChange:t.setLinkTarget})}},p?Object(o.createElement)(c.URLPopover.LinkEditor,{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",value:s,onChangeInputValue:this.onChangeInputValue,onKeyDown:this.onKeyDown,onKeyPress:F,onSubmit:this.submitLink,autocompleteRef:this.autocompleteRef}):Object(o.createElement)(c.URLPopover.LinkViewer,{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",onKeyPress:F,url:r,onEditLinkClick:this.editLink,linkClassName:A(Object(L.prependHTTP)(r))?void 0:"has-invalid-link"}))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.activeAttributes,r=n.url,i="_blank"===n.target;if(!I(t,e)){var o={};return r!==e.inputValue&&(o.inputValue=r),i!==e.opensInNewWindow&&(o.opensInNewWindow=i),Object.keys(o).length?o:null}return null}}]),e}(o.Component),D=Object(y.withSpokenMessages)(V),U=Object(a.__)("Link"),K={name:"core/link",title:U,tagName:"a",className:null,attributes:{url:"href",target:"target"},__unstablePasteRule:function(t,e){var n=e.html,r=e.plainText;if(Object(i.isCollapsed)(t))return t;var o=(n||r).replace(/<[^>]+>/g,"").trim();return Object(L.isURL)(o)?(window.console.log("Created link:\n\n",o),Object(i.applyFormat)(t,{type:"core/link",attributes:{url:Object(R.decodeEntities)(o)}})):t},edit:Object(y.withSpokenMessages)(function(t){function e(){var t;return Object(f.a)(this,e),(t=Object(m.a)(this,Object(h.a)(e).apply(this,arguments))).addLink=t.addLink.bind(Object(O.a)(t)),t.stopAddingLink=t.stopAddingLink.bind(Object(O.a)(t)),t.onRemoveFormat=t.onRemoveFormat.bind(Object(O.a)(t)),t.state={addingLink:!1},t}return Object(v.a)(e,t),Object(d.a)(e,[{key:"addLink",value:function(){var t=this.props,e=t.value,n=t.onChange,r=Object(i.getTextContent)(Object(i.slice)(e));r&&Object(L.isURL)(r)?n(Object(i.applyFormat)(e,{type:"core/link",attributes:{url:r}})):r&&Object(L.isEmail)(r)?n(Object(i.applyFormat)(e,{type:"core/link",attributes:{url:"mailto:".concat(r)}})):this.setState({addingLink:!0})}},{key:"stopAddingLink",value:function(){this.setState({addingLink:!1})}},{key:"onRemoveFormat",value:function(){var t=this.props,e=t.value,n=t.onChange,r=t.speak;n(Object(i.removeFormat)(e,"core/link")),r(Object(a.__)("Link removed."),"assertive")}},{key:"render",value:function(){var t=this.props,e=t.isActive,n=t.activeAttributes,r=t.value,i=t.onChange;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(c.RichTextShortcut,{type:"primary",character:"k",onUse:this.addLink}),Object(o.createElement)(c.RichTextShortcut,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),e&&Object(o.createElement)(c.RichTextToolbarButton,{name:"link",icon:"editor-unlink",title:Object(a.__)("Unlink"),onClick:this.onRemoveFormat,isActive:e,shortcutType:"primaryShift",shortcutCharacter:"k"}),!e&&Object(o.createElement)(c.RichTextToolbarButton,{name:"link",icon:"admin-links",title:U,onClick:this.addLink,isActive:e,shortcutType:"primary",shortcutCharacter:"k"}),Object(o.createElement)(D,{addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:e,activeAttributes:n,value:r,onChange:i}))}}]),e}(o.Component))},W=Object(a.__)("Strikethrough");[l,b,S,x,K,{name:"core/strikethrough",title:W,tagName:"s",className:null,edit:function(t){var e=t.isActive,n=t.value,r=t.onChange;return Object(o.createElement)(c.RichTextToolbarButton,{icon:"editor-strikethrough",title:W,onClick:function(){return r(Object(i.toggleFormat)(n,{type:"core/strikethrough"}))},isActive:e})}},{name:"core/underline",title:Object(a.__)("Underline"),tagName:"span",className:null,attributes:{style:"style"},edit:function(t){var e=t.value,n=t.onChange,r=function(){n(Object(i.toggleFormat)(e,{type:"core/underline",attributes:{style:"text-decoration: underline;"}}))};return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(c.RichTextShortcut,{type:"primary",character:"u",onUse:r}),Object(o.createElement)(c.__unstableRichTextInputEvent,{inputType:"formatUnderline",onInput:r}))}}].forEach((function(t){var e=t.name,n=Object(r.a)(t,["name"]);return Object(i.registerFormatType)(e,n)}))},5:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},51:function(t,e){!function(){t.exports=this.wp.htmlEntities}()},6:function(t,e){!function(){t.exports=this.wp.blockEditor}()},7:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(10);function i(t){for(var e=1;e=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}},24:function(t,e){!function(){t.exports=this.wp.richText}()},25:function(t,e){!function(){t.exports=this.wp.url}()},3:function(t,e){!function(){t.exports=this.wp.components}()},31:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,"a",(function(){return r}))},372:function(t,e,n){"use strict";n.r(e);var r=n(21),i=n(24),o=n(0),a=n(1),c=n(5),u=Object(a.__)("Bold"),l={name:"core/bold",title:u,tagName:"strong",className:null,edit:function(t){var e=t.isActive,n=t.value,r=t.onChange,a=function(){return r(Object(i.toggleFormat)(n,{type:"core/bold"}))};return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(c.RichTextShortcut,{type:"primary",character:"b",onUse:a}),Object(o.createElement)(c.RichTextToolbarButton,{name:"bold",icon:"editor-bold",title:u,onClick:a,isActive:e,shortcutType:"primary",shortcutCharacter:"b"}),Object(o.createElement)(c.__unstableRichTextInputEvent,{inputType:"formatBold",onInput:a}))}},s=Object(a.__)("Inline Code"),b={name:"core/code",title:s,tagName:"code",className:null,__unstableInputRule:function(t){var e=t,n=e.start,r=e.text;if("`"!==r.slice(n-1,n))return t;var o=r.slice(0,n-1).lastIndexOf("`");if(-1===o)return t;var a=o,c=n-2;return a===c?t:(t=Object(i.remove)(t,a,a+1),t=Object(i.remove)(t,c,c+1),t=Object(i.applyFormat)(t,{type:"core/code"},a,c))},edit:function(t){var e=t.value,n=t.onChange,r=t.isActive;return Object(o.createElement)(c.RichTextToolbarButton,{icon:"editor-code",title:s,onClick:function(){return n(Object(i.toggleFormat)(e,{type:"core/code"}))},isActive:r})}},p=n(7),f=n(13),d=n(12),m=n(15),h=n(16),O=n(6),v=n(17),j=n(3),y=n(19),g=["image"],k=Object(a.__)("Inline image"),w=function(t){return t.stopPropagation()};var _={name:"core/image",title:k,keywords:[Object(a.__)("photo"),Object(a.__)("media")],object:!0,tagName:"img",className:null,attributes:{className:"class",style:"style",url:"src",alt:"alt"},edit:function(t){function e(){var t;return Object(f.a)(this,e),(t=Object(m.a)(this,Object(h.a)(e).apply(this,arguments))).onChange=t.onChange.bind(Object(O.a)(t)),t.onKeyDown=t.onKeyDown.bind(Object(O.a)(t)),t.openModal=t.openModal.bind(Object(O.a)(t)),t.closeModal=t.closeModal.bind(Object(O.a)(t)),t.state={modal:!1},t}return Object(v.a)(e,t),Object(d.a)(e,[{key:"onChange",value:function(t){this.setState({width:t})}},{key:"onKeyDown",value:function(t){[y.LEFT,y.DOWN,y.RIGHT,y.UP,y.BACKSPACE,y.ENTER].indexOf(t.keyCode)>-1&&t.stopPropagation()}},{key:"openModal",value:function(){this.setState({modal:!0})}},{key:"closeModal",value:function(){this.setState({modal:!1})}},{key:"render",value:function(){var t,e=this,n=this.props,r=n.value,u=n.onChange,l=n.isObjectActive,s=n.activeObjectAttributes;return Object(o.createElement)(c.MediaUploadCheck,null,Object(o.createElement)(c.RichTextToolbarButton,{icon:Object(o.createElement)(j.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(j.Path,{d:"M4 16h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2zM4 5h10v9H4V5zm14 9v2h4v-2h-4zM2 20h20v-2H2v2zm6.4-8.8L7 9.4 5 12h8l-2.6-3.4-2 2.6z"})),title:k,onClick:this.openModal,isActive:l}),this.state.modal&&Object(o.createElement)(c.MediaUpload,{allowedTypes:g,onSelect:function(t){var n=t.id,o=t.url,a=t.alt,c=t.width;e.closeModal(),u(Object(i.insertObject)(r,{type:"core/image",attributes:{className:"wp-image-".concat(n),style:"width: ".concat(Math.min(c,150),"px;"),url:o,alt:a}}))},onClose:this.closeModal,render:function(t){return(0,t.open)(),null}}),l&&Object(o.createElement)(j.Popover,{position:"bottom center",focusOnMount:!1,anchorRef:(t=window.getSelection(),t.rangeCount?t.getRangeAt(0):null)},Object(o.createElement)("form",{className:"editor-format-toolbar__image-container-content block-editor-format-toolbar__image-container-content",onKeyPress:w,onKeyDown:this.onKeyDown,onSubmit:function(t){var n=r.replacements.slice();n[r.start]={type:"core/image",attributes:Object(p.a)({},s,{style:"width: ".concat(e.state.width,"px;")})},u(Object(p.a)({},r,{replacements:n})),t.preventDefault()}},Object(o.createElement)(j.TextControl,{className:"editor-format-toolbar__image-container-value block-editor-format-toolbar__image-container-value",type:"number",label:Object(a.__)("Width"),value:this.state.width,min:1,onChange:this.onChange}),Object(o.createElement)(j.IconButton,{icon:"editor-break",label:Object(a.__)("Apply"),type:"submit"}))))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.activeObjectAttributes.style;return n===e.previousStyle?null:n?{width:n.replace(/\D/g,""),previousStyle:n}:{width:void 0,previousStyle:n}}}]),e}(o.Component)},E=Object(a.__)("Italic"),C={name:"core/italic",title:E,tagName:"em",className:null,edit:function(t){var e=t.isActive,n=t.value,r=t.onChange,a=function(){return r(Object(i.toggleFormat)(n,{type:"core/italic"}))};return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(c.RichTextShortcut,{type:"primary",character:"i",onUse:a}),Object(o.createElement)(c.RichTextToolbarButton,{name:"italic",icon:"editor-italic",title:E,onClick:a,isActive:e,shortcutType:"primary",shortcutCharacter:"i"}),Object(o.createElement)(c.__unstableRichTextInputEvent,{inputType:"formatItalic",onInput:a}))}},T=n(25),S=n(53),L=n(14),x=n(2);function P(t){if(!t)return!1;var e=t.trim();if(!e)return!1;if(/^\S+:/.test(e)){var n=Object(T.getProtocol)(e);if(!Object(T.isValidProtocol)(n))return!1;if(Object(x.startsWith)(n,"http")&&!/^https?:\/\/[^\/\s]/i.test(e))return!1;var r=Object(T.getAuthority)(e);if(!Object(T.isValidAuthority)(r))return!1;var i=Object(T.getPath)(e);if(i&&!Object(T.isValidPath)(i))return!1;var o=Object(T.getQueryString)(e);if(o&&!Object(T.isValidQueryString)(o))return!1;var a=Object(T.getFragment)(e);if(a&&!Object(T.isValidFragment)(a))return!1}return!(Object(x.startsWith)(e,"#")&&!Object(T.isValidFragment)(e))}function A(t){var e=t.url,n=t.opensInNewWindow,r=t.text,i={type:"core/link",attributes:{url:e}};if(n){var o=Object(a.sprintf)(Object(a.__)("%s (opens in a new tab)"),r);i.attributes.target="_blank",i.attributes.rel="noreferrer noopener",i.attributes["aria-label"]=o}return i}var R=function(t){return t.stopPropagation()};function N(t,e){return t.addingLink||e.editLink}var F=function(t){var e=t.isActive,n=t.addingLink,i=t.value,a=Object(r.a)(t,["isActive","addingLink","value"]),u=Object(o.useMemo)((function(){var t=window.getSelection();if(t.rangeCount){var e=t.getRangeAt(0);if(n)return e;var r=e.startContainer;for(r=r.nextElementSibling||r;r.nodeType!==window.Node.ELEMENT_NODE;)r=r.parentNode;return r.closest("a")}}),[e,n,i.start,i.end]);return u?Object(o.createElement)(c.URLPopover,Object(L.a)({anchorRef:u},a)):null},I=function(t){function e(){var t;return Object(f.a)(this,e),(t=Object(m.a)(this,Object(h.a)(e).apply(this,arguments))).editLink=t.editLink.bind(Object(O.a)(t)),t.submitLink=t.submitLink.bind(Object(O.a)(t)),t.onKeyDown=t.onKeyDown.bind(Object(O.a)(t)),t.onChangeInputValue=t.onChangeInputValue.bind(Object(O.a)(t)),t.setLinkTarget=t.setLinkTarget.bind(Object(O.a)(t)),t.onFocusOutside=t.onFocusOutside.bind(Object(O.a)(t)),t.resetState=t.resetState.bind(Object(O.a)(t)),t.autocompleteRef=Object(o.createRef)(),t.state={opensInNewWindow:!1,inputValue:""},t}return Object(v.a)(e,t),Object(d.a)(e,[{key:"onKeyDown",value:function(t){[y.LEFT,y.DOWN,y.RIGHT,y.UP,y.BACKSPACE,y.ENTER].indexOf(t.keyCode)>-1&&t.stopPropagation()}},{key:"onChangeInputValue",value:function(t){this.setState({inputValue:t})}},{key:"setLinkTarget",value:function(t){var e=this.props,n=e.activeAttributes.url,r=void 0===n?"":n,o=e.value,a=e.onChange;if(this.setState({opensInNewWindow:t}),!N(this.props,this.state)){var c=Object(i.getTextContent)(Object(i.slice)(o));a(Object(i.applyFormat)(o,A({url:r,opensInNewWindow:t,text:c})))}}},{key:"editLink",value:function(t){this.setState({editLink:!0}),t.preventDefault()}},{key:"submitLink",value:function(t){var e=this.props,n=e.isActive,r=e.value,o=e.onChange,c=e.speak,u=this.state,l=u.inputValue,s=u.opensInNewWindow,b=Object(T.prependHTTP)(l),p=A({url:b,opensInNewWindow:s,text:Object(i.getTextContent)(Object(i.slice)(r))});if(t.preventDefault(),Object(i.isCollapsed)(r)&&!n){var f=Object(i.applyFormat)(Object(i.create)({text:b}),p,0,b.length);o(Object(i.insert)(r,f))}else o(Object(i.applyFormat)(r,p));this.resetState(),P(b)?c(n?Object(a.__)("Link edited."):Object(a.__)("Link inserted."),"assertive"):c(Object(a.__)("Warning: the link has been inserted but may have errors. Please test it."),"assertive")}},{key:"onFocusOutside",value:function(){var t=this.autocompleteRef.current;t&&t.contains(document.activeElement)||this.resetState()}},{key:"resetState",value:function(){this.props.stopAddingLink(),this.setState({editLink:!1})}},{key:"render",value:function(){var t=this,e=this.props,n=e.isActive,r=e.activeAttributes.url,i=e.addingLink,u=e.value;if(!n&&!i)return null;var l=this.state,s=l.inputValue,b=l.opensInNewWindow,p=N(this.props,this.state);return Object(o.createElement)(F,{value:u,isActive:n,addingLink:i,onFocusOutside:this.onFocusOutside,onClose:this.resetState,focusOnMount:!!p&&"firstElement",renderSettings:function(){return Object(o.createElement)(j.ToggleControl,{label:Object(a.__)("Open in New Tab"),checked:b,onChange:t.setLinkTarget})}},p?Object(o.createElement)(c.URLPopover.LinkEditor,{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",value:s,onChangeInputValue:this.onChangeInputValue,onKeyDown:this.onKeyDown,onKeyPress:R,onSubmit:this.submitLink,autocompleteRef:this.autocompleteRef}):Object(o.createElement)(c.URLPopover.LinkViewer,{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",onKeyPress:R,url:r,onEditLinkClick:this.editLink,linkClassName:P(Object(T.prependHTTP)(r))?void 0:"has-invalid-link"}))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.activeAttributes,r=n.url,i="_blank"===n.target;if(!N(t,e)){var o={};return r!==e.inputValue&&(o.inputValue=r),i!==e.opensInNewWindow&&(o.opensInNewWindow=i),Object.keys(o).length?o:null}return null}}]),e}(o.Component),M=Object(j.withSpokenMessages)(I),V=Object(a.__)("Link"),D={name:"core/link",title:V,tagName:"a",className:null,attributes:{url:"href",target:"target"},__unstablePasteRule:function(t,e){var n=e.html,r=e.plainText;if(Object(i.isCollapsed)(t))return t;var o=(n||r).replace(/<[^>]+>/g,"").trim();return Object(T.isURL)(o)?(window.console.log("Created link:\n\n",o),Object(i.applyFormat)(t,{type:"core/link",attributes:{url:Object(S.decodeEntities)(o)}})):t},edit:Object(j.withSpokenMessages)(function(t){function e(){var t;return Object(f.a)(this,e),(t=Object(m.a)(this,Object(h.a)(e).apply(this,arguments))).addLink=t.addLink.bind(Object(O.a)(t)),t.stopAddingLink=t.stopAddingLink.bind(Object(O.a)(t)),t.onRemoveFormat=t.onRemoveFormat.bind(Object(O.a)(t)),t.state={addingLink:!1},t}return Object(v.a)(e,t),Object(d.a)(e,[{key:"addLink",value:function(){var t=this.props,e=t.value,n=t.onChange,r=Object(i.getTextContent)(Object(i.slice)(e));r&&Object(T.isURL)(r)?n(Object(i.applyFormat)(e,{type:"core/link",attributes:{url:r}})):r&&Object(T.isEmail)(r)?n(Object(i.applyFormat)(e,{type:"core/link",attributes:{url:"mailto:".concat(r)}})):this.setState({addingLink:!0})}},{key:"stopAddingLink",value:function(){this.setState({addingLink:!1})}},{key:"onRemoveFormat",value:function(){var t=this.props,e=t.value,n=t.onChange,r=t.speak;n(Object(i.removeFormat)(e,"core/link")),r(Object(a.__)("Link removed."),"assertive")}},{key:"render",value:function(){var t=this.props,e=t.isActive,n=t.activeAttributes,r=t.value,i=t.onChange;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(c.RichTextShortcut,{type:"primary",character:"k",onUse:this.addLink}),Object(o.createElement)(c.RichTextShortcut,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),e&&Object(o.createElement)(c.RichTextToolbarButton,{name:"link",icon:"editor-unlink",title:Object(a.__)("Unlink"),onClick:this.onRemoveFormat,isActive:e,shortcutType:"primaryShift",shortcutCharacter:"k"}),!e&&Object(o.createElement)(c.RichTextToolbarButton,{name:"link",icon:"admin-links",title:V,onClick:this.addLink,isActive:e,shortcutType:"primary",shortcutCharacter:"k"}),Object(o.createElement)(M,{addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:e,activeAttributes:n,value:r,onChange:i}))}}]),e}(o.Component))},U=Object(a.__)("Strikethrough");[l,b,_,C,D,{name:"core/strikethrough",title:U,tagName:"s",className:null,edit:function(t){var e=t.isActive,n=t.value,r=t.onChange;return Object(o.createElement)(c.RichTextToolbarButton,{icon:"editor-strikethrough",title:U,onClick:function(){return r(Object(i.toggleFormat)(n,{type:"core/strikethrough"}))},isActive:e})}},{name:"core/underline",title:Object(a.__)("Underline"),tagName:"span",className:null,attributes:{style:"style"},edit:function(t){var e=t.value,n=t.onChange,r=function(){n(Object(i.toggleFormat)(e,{type:"core/underline",attributes:{style:"text-decoration: underline;"}}))};return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(c.RichTextShortcut,{type:"primary",character:"u",onUse:r}),Object(o.createElement)(c.__unstableRichTextInputEvent,{inputType:"formatUnderline",onInput:r}))}}].forEach((function(t){var e=t.name,n=Object(r.a)(t,["name"]);return Object(i.registerFormatType)(e,n)}))},40:function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r=0||(i[n]=t[n]);return i}n.d(e,"a",(function(){return r}))},5:function(t,e){!function(){t.exports=this.wp.blockEditor}()},53:function(t,e){!function(){t.exports=this.wp.htmlEntities}()},6:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},7:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(9);function i(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:10;if(o(r)&&t(e))if("function"==typeof i)if("number"==typeof u){var c={callback:i,priority:u,namespace:e};if(n[r]){var a,l=n[r].handlers;for(a=l.length;a>0&&!(u>=l[a-1].priority);a--);a===l.length?l[a]=c:l.splice(a,0,c),(n.__current||[]).forEach((function(n){n.name===r&&n.currentIndex>=a&&n.currentIndex++}))}else n[r]={handlers:[c],runs:0};"hookAdded"!==r&&F("hookAdded",r,e,i,u)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var u=function(n,r){return function(e,i){if(o(e)&&(r||t(i))){if(!n[e])return 0;var u=0;if(r)u=n[e].handlers.length,n[e]={runs:n[e].runs,handlers:[]};else for(var c=n[e].handlers,a=function(r){c[r].namespace===i&&(c.splice(r,1),u++,(n.__current||[]).forEach((function(n){n.name===e&&n.currentIndex>=r&&n.currentIndex--})))},l=c.length-1;l>=0;l--)a(l);return"hookRemoved"!==e&&F("hookRemoved",e,i),u}}};var c=function(n){return function(r,e){return void 0!==e?r in n&&n[r].handlers.some((function(n){return n.namespace===e})):r in n}};e(17);var a=function(n,r){return function(e){n[e]||(n[e]={handlers:[],runs:0}),n[e].runs++;var t=n[e].handlers;for(var o=arguments.length,i=new Array(o>1?o-1:0),u=1;u3&&void 0!==arguments[3]?arguments[3]:10;if(o(r)&&t(e))if("function"==typeof i)if("number"==typeof u){var c={callback:i,priority:u,namespace:e};if(n[r]){var a,l=n[r].handlers;for(a=l.length;a>0&&!(u>=l[a-1].priority);a--);a===l.length?l[a]=c:l.splice(a,0,c),(n.__current||[]).forEach((function(n){n.name===r&&n.currentIndex>=a&&n.currentIndex++}))}else n[r]={handlers:[c],runs:0};"hookAdded"!==r&&F("hookAdded",r,e,i,u)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var u=function(n,r){return function(e,i){if(o(e)&&(r||t(i))){if(!n[e])return 0;var u=0;if(r)u=n[e].handlers.length,n[e]={runs:n[e].runs,handlers:[]};else for(var c=n[e].handlers,a=function(r){c[r].namespace===i&&(c.splice(r,1),u++,(n.__current||[]).forEach((function(n){n.name===e&&n.currentIndex>=r&&n.currentIndex--})))},l=c.length-1;l>=0;l--)a(l);return"hookRemoved"!==e&&F("hookRemoved",e,i),u}}};var c=function(n){return function(r,e){return void 0!==e?r in n&&n[r].handlers.some((function(n){return n.namespace===e})):r in n}};e(18);var a=function(n,r){return function(e){n[e]||(n[e]={handlers:[],runs:0}),n[e].runs++;var t=n[e].handlers;for(var o=arguments.length,i=new Array(o>1?o-1:0),u=1;u} TanninTranslation + */ + +/** + * Locale domain entry. + * + * @typedef {(TanninDomainMetadata|TanninTranslation)} LocaleDomainEntry + */ + +/** + * Locale data domain. The key is used as reference for lookup, the value an + * array of two string entries respectively representing the singular and plural + * translation. + * + * @typedef {Object} TanninLocaleDomain + */ + +/** + * Jed-formatted locale data. + * + * @see http://messageformat.github.io/Jed/ + * + * @typedef {Object} TanninLocaleData */ /** @@ -700,19 +716,42 @@ function getPluralExpression( pf ) { /** * Tannin constructor. * - * @param {Object} data Jed-formatted locale data. - * @param {TanninOptions} options Tannin options. + * @class + * + * @param {TanninLocaleData} data Jed-formatted locale data. + * @param {TanninOptions} [options] Tannin options. */ function Tannin( data, options ) { var key; + /** + * Jed-formatted locale data. + * + * @name Tannin#data + * @type {TanninLocaleData} + */ this.data = data; + + /** + * Plural forms function cache, keyed by plural forms string. + * + * @name Tannin#pluralForms + * @type {Object} + */ this.pluralForms = {}; - options = options || {}; + /** + * Effective options for instance, including defaults. + * + * @name Tannin#options + * @type {TanninOptions} + */ this.options = {}; + for ( key in DEFAULT_OPTIONS ) { - this.options[ key ] = options[ key ] || DEFAULT_OPTIONS[ key ]; + this.options[ key ] = options !== undefined && key in options ? + options[ key ] : + DEFAULT_OPTIONS[ key ]; } } @@ -734,6 +773,9 @@ Tannin.prototype.getPluralForm = function( domain, n ) { pf = ( config[ 'Plural-Forms' ] || config[ 'plural-forms' ] || + // Ignore reason: As known, there's no way to document the empty + // string property on a key to guarantee this as metadata. + // @ts-ignore config.plural_forms ); @@ -741,6 +783,9 @@ Tannin.prototype.getPluralForm = function( domain, n ) { plural = getPluralExpression( config[ 'Plural-Forms' ] || config[ 'plural-forms' ] || + // Ignore reason: As known, there's no way to document the empty + // string property on a key to guarantee this as metadata. + // @ts-ignore config.plural_forms ); @@ -800,11 +845,11 @@ Tannin.prototype.dcnpgettext = function( domain, context, singular, plural, n ) }; // EXTERNAL MODULE: ./node_modules/memize/index.js -var memize = __webpack_require__(44); +var memize = __webpack_require__(42); var memize_default = /*#__PURE__*/__webpack_require__.n(memize); // EXTERNAL MODULE: ./node_modules/sprintf-js/src/sprintf.js -var sprintf = __webpack_require__(145); +var sprintf = __webpack_require__(148); var sprintf_default = /*#__PURE__*/__webpack_require__.n(sprintf); // CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/index.js @@ -993,7 +1038,7 @@ function build_module_sprintf(format) { /***/ }), -/***/ 44: +/***/ 42: /***/ (function(module, exports, __webpack_require__) { module.exports = function memize( fn, options ) { @@ -1116,12 +1161,12 @@ module.exports = function memize( fn, options ) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(source); + var ownKeys = Object.keys(Object(source)); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -1137,6 +1182,28 @@ function _objectSpread(target) { return target; } +/***/ }), + +/***/ 9: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/i18n.min.js b/wp-includes/js/dist/i18n.min.js index 9d9e279af2..aed75055c4 100644 --- a/wp-includes/js/dist/i18n.min.js +++ b/wp-includes/js/dist/i18n.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.i18n=function(n){var t={};function e(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var i in n)e.d(r,i,function(t){return n[t]}.bind(null,i));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=362)}({10:function(n,t,e){"use strict";function r(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}e.d(t,"a",(function(){return r}))},145:function(n,t,e){var r;!function(){"use strict";var i={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function o(n){return function(n,t){var e,r,u,a,s,c,p,l,f,d=1,h=n.length,g="";for(r=0;r=0),a.type){case"b":e=parseInt(e,10).toString(2);break;case"c":e=String.fromCharCode(parseInt(e,10));break;case"d":case"i":e=parseInt(e,10);break;case"j":e=JSON.stringify(e,null,a.width?parseInt(a.width):0);break;case"e":e=a.precision?parseFloat(e).toExponential(a.precision):parseFloat(e).toExponential();break;case"f":e=a.precision?parseFloat(e).toFixed(a.precision):parseFloat(e);break;case"g":e=a.precision?String(Number(e.toPrecision(a.precision))):parseFloat(e);break;case"o":e=(parseInt(e,10)>>>0).toString(8);break;case"s":e=String(e),e=a.precision?e.substring(0,a.precision):e;break;case"t":e=String(!!e),e=a.precision?e.substring(0,a.precision):e;break;case"T":e=Object.prototype.toString.call(e).slice(8,-1).toLowerCase(),e=a.precision?e.substring(0,a.precision):e;break;case"u":e=parseInt(e,10)>>>0;break;case"v":e=e.valueOf(),e=a.precision?e.substring(0,a.precision):e;break;case"x":e=(parseInt(e,10)>>>0).toString(16);break;case"X":e=(parseInt(e,10)>>>0).toString(16).toUpperCase()}i.json.test(a.type)?g+=e:(!i.number.test(a.type)||l&&!a.sign?f="":(f=l?"+":"-",e=e.toString().replace(i.sign,"")),c=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",p=a.width-(f+e).length,s=a.width&&p>0?c.repeat(p):"",g+=a.align?f+e+s:"0"===c?f+s+e:s+f+e)}return g}(function(n){if(a[n])return a[n];var t,e=n,r=[],o=0;for(;e;){if(null!==(t=i.text.exec(e)))r.push(t[0]);else if(null!==(t=i.modulo.exec(e)))r.push("%");else{if(null===(t=i.placeholder.exec(e)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){o|=1;var u=[],s=t[2],c=[];if(null===(c=i.key.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(u.push(c[1]);""!==(s=s.substring(c[0].length));)if(null!==(c=i.key_access.exec(s)))u.push(c[1]);else{if(null===(c=i.index_access.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");u.push(c[1])}t[2]=u}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}e=e.substring(t[0].length)}return a[n]=r}(n),arguments)}function u(n,t){return o.apply(null,[n].concat(t||[]))}var a=Object.create(null);t.sprintf=o,t.vsprintf=u,"undefined"!=typeof window&&(window.sprintf=o,window.vsprintf=u,void 0===(r=function(){return{sprintf:o,vsprintf:u}}.call(t,e,t,n))||(n.exports=r))}()},362:function(n,t,e){"use strict";e.r(t);var r,i,o,u,a=e(7);r={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},i=["(","?"],o={")":["("],":":["?","?:"]},u=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var s={"!":function(n){return!n},"*":function(n,t){return n*t},"/":function(n,t){return n/t},"%":function(n,t){return n%t},"+":function(n,t){return n+t},"-":function(n,t){return n-t},"<":function(n,t){return n":function(n,t){return n>t},">=":function(n,t){return n>=t},"==":function(n,t){return n===t},"!=":function(n,t){return n!==t},"&&":function(n,t){return n&&t},"||":function(n,t){return n||t},"?:":function(n,t,e){if(n)throw t;return e}};function c(n){var t=function(n){for(var t,e,a,s,c=[],p=[];t=n.match(u);){for(e=t[0],(a=n.substr(0,t.index).trim())&&c.push(a);s=p.pop();){if(o[e]){if(o[e][0]===s){e=o[e][1]||e;break}}else if(i.indexOf(s)>=0||r[s]1&&void 0!==arguments[1]?arguments[1]:"default";b.data[t]=Object(a.a)({},y,b.data[t],n),b.data[t][""]=Object(a.a)({},y[""],b.data[t][""])}function m(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,e=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return b.data[n]||x(void 0,n),b.dcnpgettext(n,t,e,r,i)}function w(n,t){return m(t,void 0,n)}function _(n,t,e){return m(e,t,n)}function k(n,t,e,r){return m(r,void 0,n,t,e)}function j(n,t,e,r,i){return m(i,r,n,t,e)}function O(n){try{for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r=0),a.type){case"b":e=parseInt(e,10).toString(2);break;case"c":e=String.fromCharCode(parseInt(e,10));break;case"d":case"i":e=parseInt(e,10);break;case"j":e=JSON.stringify(e,null,a.width?parseInt(a.width):0);break;case"e":e=a.precision?parseFloat(e).toExponential(a.precision):parseFloat(e).toExponential();break;case"f":e=a.precision?parseFloat(e).toFixed(a.precision):parseFloat(e);break;case"g":e=a.precision?String(Number(e.toPrecision(a.precision))):parseFloat(e);break;case"o":e=(parseInt(e,10)>>>0).toString(8);break;case"s":e=String(e),e=a.precision?e.substring(0,a.precision):e;break;case"t":e=String(!!e),e=a.precision?e.substring(0,a.precision):e;break;case"T":e=Object.prototype.toString.call(e).slice(8,-1).toLowerCase(),e=a.precision?e.substring(0,a.precision):e;break;case"u":e=parseInt(e,10)>>>0;break;case"v":e=e.valueOf(),e=a.precision?e.substring(0,a.precision):e;break;case"x":e=(parseInt(e,10)>>>0).toString(16);break;case"X":e=(parseInt(e,10)>>>0).toString(16).toUpperCase()}i.json.test(a.type)?g+=e:(!i.number.test(a.type)||l&&!a.sign?f="":(f=l?"+":"-",e=e.toString().replace(i.sign,"")),c=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",p=a.width-(f+e).length,s=a.width&&p>0?c.repeat(p):"",g+=a.align?f+e+s:"0"===c?f+s+e:s+f+e)}return g}(function(n){if(a[n])return a[n];var t,e=n,r=[],o=0;for(;e;){if(null!==(t=i.text.exec(e)))r.push(t[0]);else if(null!==(t=i.modulo.exec(e)))r.push("%");else{if(null===(t=i.placeholder.exec(e)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){o|=1;var u=[],s=t[2],c=[];if(null===(c=i.key.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(u.push(c[1]);""!==(s=s.substring(c[0].length));)if(null!==(c=i.key_access.exec(s)))u.push(c[1]);else{if(null===(c=i.index_access.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");u.push(c[1])}t[2]=u}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}e=e.substring(t[0].length)}return a[n]=r}(n),arguments)}function u(n,t){return o.apply(null,[n].concat(t||[]))}var a=Object.create(null);t.sprintf=o,t.vsprintf=u,"undefined"!=typeof window&&(window.sprintf=o,window.vsprintf=u,void 0===(r=function(){return{sprintf:o,vsprintf:u}}.call(t,e,t,n))||(n.exports=r))}()},380:function(n,t,e){"use strict";e.r(t);var r,i,o,u,a=e(7);r={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},i=["(","?"],o={")":["("],":":["?","?:"]},u=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var s={"!":function(n){return!n},"*":function(n,t){return n*t},"/":function(n,t){return n/t},"%":function(n,t){return n%t},"+":function(n,t){return n+t},"-":function(n,t){return n-t},"<":function(n,t){return n":function(n,t){return n>t},">=":function(n,t){return n>=t},"==":function(n,t){return n===t},"!=":function(n,t){return n!==t},"&&":function(n,t){return n&&t},"||":function(n,t){return n||t},"?:":function(n,t,e){if(n)throw t;return e}};function c(n){var t=function(n){for(var t,e,a,s,c=[],p=[];t=n.match(u);){for(e=t[0],(a=n.substr(0,t.index).trim())&&c.push(a);s=p.pop();){if(o[e]){if(o[e][0]===s){e=o[e][1]||e;break}}else if(i.indexOf(s)>=0||r[s]1&&void 0!==arguments[1]?arguments[1]:"default";b.data[t]=Object(a.a)({},y,b.data[t],n),b.data[t][""]=Object(a.a)({},y[""],b.data[t][""])}function m(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,e=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return b.data[n]||x(void 0,n),b.dcnpgettext(n,t,e,r,i)}function w(n,t){return m(t,void 0,n)}function _(n,t,e){return m(e,t,n)}function k(n,t,e,r){return m(r,void 0,n,t,e)}function j(n,t,e,r,i){return m(i,r,n,t,e)}function O(n){try{for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:window).navigator.platform;return-1!==t.indexOf("Mac")||Object(o.includes)(["iPad","iPhone"],t)}r.d(n,"BACKSPACE",(function(){return a})),r.d(n,"TAB",(function(){return f})),r.d(n,"ENTER",(function(){return l})),r.d(n,"ESCAPE",(function(){return d})),r.d(n,"SPACE",(function(){return b})),r.d(n,"LEFT",(function(){return s})),r.d(n,"UP",(function(){return j})),r.d(n,"RIGHT",(function(){return O})),r.d(n,"DOWN",(function(){return p})),r.d(n,"DELETE",(function(){return y})),r.d(n,"F10",(function(){return v})),r.d(n,"ALT",(function(){return h})),r.d(n,"CTRL",(function(){return m})),r.d(n,"COMMAND",(function(){return g})),r.d(n,"SHIFT",(function(){return S})),r.d(n,"modifiers",(function(){return A})),r.d(n,"rawShortcut",(function(){return w})),r.d(n,"displayShortcutList",(function(){return C})),r.d(n,"displayShortcut",(function(){return P})),r.d(n,"shortcutAriaLabel",(function(){return E})),r.d(n,"isKeyboardEvent",(function(){return _}));var a=8,f=9,l=13,d=27,b=32,s=37,j=38,O=39,p=40,y=46,v=121,h="alt",m="ctrl",g="meta",S="shift",A={primary:function(t){return t()?[g]:[m]},primaryShift:function(t){return t()?[S,g]:[m,S]},primaryAlt:function(t){return t()?[h,g]:[m,h]},secondary:function(t){return t()?[S,h,g]:[m,S,h]},access:function(t){return t()?[m,h]:[S,h]},ctrl:function(){return[m]},alt:function(){return[h]},ctrlShift:function(){return[m,S]},shift:function(){return[S]},shiftAlt:function(){return[S,h]}},w=Object(o.mapValues)(A,(function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return[].concat(Object(u.a)(t(r)),[n.toLowerCase()]).join("+")}})),C=Object(o.mapValues)(A,(function(t){return function(n){var r,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,a=c(),f=(r={},Object(e.a)(r,h,a?"⌥":"Alt"),Object(e.a)(r,m,a?"^":"Ctrl"),Object(e.a)(r,g,"⌘"),Object(e.a)(r,S,a?"⇧":"Shift"),r),l=t(c).reduce((function(t,n){var r=Object(o.get)(f,n,n);return[].concat(Object(u.a)(t),a?[r]:[r,"+"])}),[]),d=Object(o.capitalize)(n);return[].concat(Object(u.a)(l),[d])}})),P=Object(o.mapValues)(C,(function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t(n,r).join("")}})),E=Object(o.mapValues)(A,(function(t){return function(n){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,f=a(),l=(r={},Object(e.a)(r,S,"Shift"),Object(e.a)(r,g,f?"Command":"Control"),Object(e.a)(r,m,"Control"),Object(e.a)(r,h,f?"Option":"Alt"),Object(e.a)(r,",",Object(c.__)("Comma")),Object(e.a)(r,".",Object(c.__)("Period")),Object(e.a)(r,"`",Object(c.__)("Backtick")),r);return[].concat(Object(u.a)(t(a)),[n]).map((function(t){return Object(o.capitalize)(Object(o.get)(l,t,t))})).join(f?" ":" + ")}})),_=Object(o.mapValues)(A,(function(t){return function(n,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,u=t(e);return!!u.every((function(t){return n["".concat(t,"Key")]}))&&(r?n.key===r:Object(o.includes)(u,n.key.toLowerCase()))}}))}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.keycodes=function(t){var n={};function r(e){if(n[e])return n[e].exports;var u=n[e]={i:e,l:!1,exports:{}};return t[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var u in t)r.d(e,u,function(n){return t[n]}.bind(null,u));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=390)}({1:function(t,n){!function(){t.exports=this.wp.i18n}()},18:function(t,n,r){"use strict";var e=r(32);function u(t){return function(t){if(Array.isArray(t)){for(var n=0,r=new Array(t.length);n0&&void 0!==arguments[0]?arguments[0]:window).navigator.platform;return-1!==t.indexOf("Mac")||Object(o.includes)(["iPad","iPhone"],t)}r.d(n,"BACKSPACE",(function(){return a})),r.d(n,"TAB",(function(){return f})),r.d(n,"ENTER",(function(){return l})),r.d(n,"ESCAPE",(function(){return d})),r.d(n,"SPACE",(function(){return b})),r.d(n,"LEFT",(function(){return s})),r.d(n,"UP",(function(){return j})),r.d(n,"RIGHT",(function(){return O})),r.d(n,"DOWN",(function(){return p})),r.d(n,"DELETE",(function(){return y})),r.d(n,"F10",(function(){return v})),r.d(n,"ALT",(function(){return h})),r.d(n,"CTRL",(function(){return m})),r.d(n,"COMMAND",(function(){return g})),r.d(n,"SHIFT",(function(){return S})),r.d(n,"modifiers",(function(){return A})),r.d(n,"rawShortcut",(function(){return w})),r.d(n,"displayShortcutList",(function(){return C})),r.d(n,"displayShortcut",(function(){return P})),r.d(n,"shortcutAriaLabel",(function(){return E})),r.d(n,"isKeyboardEvent",(function(){return _}));var a=8,f=9,l=13,d=27,b=32,s=37,j=38,O=39,p=40,y=46,v=121,h="alt",m="ctrl",g="meta",S="shift",A={primary:function(t){return t()?[g]:[m]},primaryShift:function(t){return t()?[S,g]:[m,S]},primaryAlt:function(t){return t()?[h,g]:[m,h]},secondary:function(t){return t()?[S,h,g]:[m,S,h]},access:function(t){return t()?[m,h]:[S,h]},ctrl:function(){return[m]},alt:function(){return[h]},ctrlShift:function(){return[m,S]},shift:function(){return[S]},shiftAlt:function(){return[S,h]}},w=Object(o.mapValues)(A,(function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return[].concat(Object(u.a)(t(r)),[n.toLowerCase()]).join("+")}})),C=Object(o.mapValues)(A,(function(t){return function(n){var r,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,a=c(),f=(r={},Object(e.a)(r,h,a?"⌥":"Alt"),Object(e.a)(r,m,a?"^":"Ctrl"),Object(e.a)(r,g,"⌘"),Object(e.a)(r,S,a?"⇧":"Shift"),r),l=t(c).reduce((function(t,n){var r=Object(o.get)(f,n,n);return[].concat(Object(u.a)(t),a?[r]:[r,"+"])}),[]),d=Object(o.capitalize)(n);return[].concat(Object(u.a)(l),[d])}})),P=Object(o.mapValues)(C,(function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t(n,r).join("")}})),E=Object(o.mapValues)(A,(function(t){return function(n){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,f=a(),l=(r={},Object(e.a)(r,S,"Shift"),Object(e.a)(r,g,f?"Command":"Control"),Object(e.a)(r,m,"Control"),Object(e.a)(r,h,f?"Option":"Alt"),Object(e.a)(r,",",Object(c.__)("Comma")),Object(e.a)(r,".",Object(c.__)("Period")),Object(e.a)(r,"`",Object(c.__)("Backtick")),r);return[].concat(Object(u.a)(t(a)),[n]).map((function(t){return Object(o.capitalize)(Object(o.get)(l,t,t))})).join(f?" ":" + ")}})),_=Object(o.mapValues)(A,(function(t){return function(n,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,u=t(e);return!!u.every((function(t){return n["".concat(t,"Key")]}))&&(r?n.key===r:Object(o.includes)(u,n.key.toLowerCase()))}}))},9:function(t,n,r){"use strict";function e(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}r.d(n,"a",(function(){return e}))}}); \ No newline at end of file diff --git a/wp-includes/js/dist/list-reusable-blocks.js b/wp-includes/js/dist/list-reusable-blocks.js index 2435ae63c8..48fca5a940 100644 --- a/wp-includes/js/dist/list-reusable-blocks.js +++ b/wp-includes/js/dist/list-reusable-blocks.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["listReusableBlocks"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 360); +/******/ return __webpack_require__(__webpack_require__.s = 381); /******/ }) /************************************************************************/ /******/ ({ @@ -101,7 +101,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["listReusableBlocks"] = /***/ }), -/***/ 11: +/***/ 12: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -124,7 +124,7 @@ function _createClass(Constructor, protoProps, staticProps) { /***/ }), -/***/ 12: +/***/ 13: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -137,13 +137,13 @@ function _classCallCheck(instance, Constructor) { /***/ }), -/***/ 13: +/***/ 15: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; }); /* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31); -/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5); +/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6); function _possibleConstructorReturn(self, call) { @@ -156,7 +156,7 @@ function _possibleConstructorReturn(self, call) { /***/ }), -/***/ 14: +/***/ 16: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -170,7 +170,7 @@ function _getPrototypeOf(o) { /***/ }), -/***/ 15: +/***/ 17: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -211,7 +211,7 @@ function _inherits(subClass, superClass) { /***/ }), -/***/ 20: +/***/ 23: /***/ (function(module, exports) { (function() { module.exports = this["regeneratorRuntime"]; }()); @@ -230,16 +230,14 @@ function _inherits(subClass, superClass) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); -function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); } - function _typeof(obj) { - if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") { + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { - return _typeof2(obj); + return typeof obj; }; } else { _typeof = function _typeof(obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj); + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } @@ -248,14 +246,14 @@ function _typeof(obj) { /***/ }), -/***/ 34: +/***/ 37: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["apiFetch"]; }()); /***/ }), -/***/ 360: +/***/ 381: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -268,7 +266,7 @@ var external_this_wp_element_ = __webpack_require__(0); var external_this_wp_i18n_ = __webpack_require__(1); // EXTERNAL MODULE: external {"this":"regeneratorRuntime"} -var external_this_regeneratorRuntime_ = __webpack_require__(20); +var external_this_regeneratorRuntime_ = __webpack_require__(23); var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js @@ -278,7 +276,7 @@ var asyncToGenerator = __webpack_require__(43); var external_this_lodash_ = __webpack_require__(2); // EXTERNAL MODULE: external {"this":["wp","apiFetch"]} -var external_this_wp_apiFetch_ = __webpack_require__(34); +var external_this_wp_apiFetch_ = __webpack_require__(37); var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_); // CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/utils/file.js @@ -402,22 +400,22 @@ function _exportReusableBlock() { var external_this_wp_components_ = __webpack_require__(3); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(12); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(11); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(13); +var possibleConstructorReturn = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(14); +var getPrototypeOf = __webpack_require__(16); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js -var assertThisInitialized = __webpack_require__(5); +var assertThisInitialized = __webpack_require__(6); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(15); +var inherits = __webpack_require__(17); // EXTERNAL MODULE: external {"this":["wp","compose"]} var external_this_wp_compose_ = __webpack_require__(8); @@ -690,7 +688,6 @@ function ImportDropdown(_ref) { var isOpen = _ref2.isOpen, onToggle = _ref2.onToggle; return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - type: "button", "aria-expanded": isOpen, onClick: onToggle, isPrimary: true @@ -805,7 +802,7 @@ function _asyncToGenerator(fn) { /***/ }), -/***/ 5: +/***/ 6: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; diff --git a/wp-includes/js/dist/list-reusable-blocks.min.js b/wp-includes/js/dist/list-reusable-blocks.min.js index 21d88c24e9..92e3ad9763 100644 --- a/wp-includes/js/dist/list-reusable-blocks.min.js +++ b/wp-includes/js/dist/list-reusable-blocks.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.listReusableBlocks=function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=360)}({0:function(t,e){!function(){t.exports=this.wp.element}()},1:function(t,e){!function(){t.exports=this.wp.i18n}()},11:function(t,e,n){"use strict";function o(t,e){for(var n=0;n");var e=document.querySelector(".wp-header-end");e&&e.parentNode.insertBefore(t,e)}}),e)}}))},43:function(t,e,n){"use strict";function o(t,e,n,o,r,i,c){try{var a=t[i](c),u=a.value}catch(t){return void n(t)}a.done?e(u):Promise.resolve(u).then(o,r)}function r(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var c=t.apply(e,n);function a(t){o(c,r,i,a,u,"next",t)}function u(t){o(c,r,i,a,u,"throw",t)}a(void 0)}))}}n.d(e,"a",(function(){return r}))},5:function(t,e,n){"use strict";function o(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return o}))},8:function(t,e){!function(){t.exports=this.wp.compose}()}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.listReusableBlocks=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=381)}({0:function(t,e){!function(){t.exports=this.wp.element}()},1:function(t,e){!function(){t.exports=this.wp.i18n}()},12:function(t,e,n){"use strict";function r(t,e){for(var n=0;n");var e=document.querySelector(".wp-header-end");e&&e.parentNode.insertBefore(t,e)}}),e)}}))},43:function(t,e,n){"use strict";function r(t,e,n,r,o,i,c){try{var a=t[i](c),u=a.value}catch(t){return void n(t)}a.done?e(u):Promise.resolve(u).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var c=t.apply(e,n);function a(t){r(c,o,i,a,u,"next",t)}function u(t){r(c,o,i,a,u,"throw",t)}a(void 0)}))}}n.d(e,"a",(function(){return o}))},6:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},8:function(t,e){!function(){t.exports=this.wp.compose}()}}); \ No newline at end of file diff --git a/wp-includes/js/dist/media-utils.js b/wp-includes/js/dist/media-utils.js index eb9e38da65..d8e484a700 100644 --- a/wp-includes/js/dist/media-utils.js +++ b/wp-includes/js/dist/media-utils.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["mediaUtils"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 363); +/******/ return __webpack_require__(__webpack_require__.s = 383); /******/ }) /************************************************************************/ /******/ ({ @@ -101,29 +101,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["mediaUtils"] = /***/ }), -/***/ 10: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -/***/ }), - -/***/ 11: +/***/ 12: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -146,7 +124,7 @@ function _createClass(Constructor, protoProps, staticProps) { /***/ }), -/***/ 12: +/***/ 13: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -159,13 +137,13 @@ function _classCallCheck(instance, Constructor) { /***/ }), -/***/ 13: +/***/ 15: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; }); /* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31); -/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5); +/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6); function _possibleConstructorReturn(self, call) { @@ -178,7 +156,7 @@ function _possibleConstructorReturn(self, call) { /***/ }), -/***/ 14: +/***/ 16: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -192,7 +170,7 @@ function _getPrototypeOf(o) { /***/ }), -/***/ 15: +/***/ 17: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -226,7 +204,7 @@ function _inherits(subClass, superClass) { /***/ }), -/***/ 17: +/***/ 18: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -242,7 +220,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(30); +var iterableToArray = __webpack_require__(32); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -266,23 +244,20 @@ function _toConsumableArray(arr) { /***/ }), -/***/ 20: -/***/ (function(module, exports) { - -(function() { module.exports = this["regeneratorRuntime"]; }()); - -/***/ }), - -/***/ 23: +/***/ 22: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(38); +var arrayWithHoles = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { + if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { + return; + } + var _arr = []; var _n = true; var _d = false; @@ -308,7 +283,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(39); +var nonIterableRest = __webpack_require__(34); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -321,7 +296,35 @@ function _slicedToArray(arr, i) { /***/ }), -/***/ 30: +/***/ 23: +/***/ (function(module, exports) { + +(function() { module.exports = this["regeneratorRuntime"]; }()); + +/***/ }), + +/***/ 31: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); +function _typeof(obj) { + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + _typeof = function _typeof(obj) { + return typeof obj; + }; + } else { + _typeof = function _typeof(obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + } + + return _typeof(obj); +} + +/***/ }), + +/***/ 32: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -332,66 +335,65 @@ function _iterableToArray(iter) { /***/ }), -/***/ 31: +/***/ 33: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); -function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); } - -function _typeof(obj) { - if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") { - _typeof = function _typeof(obj) { - return _typeof2(obj); - }; - } else { - _typeof = function _typeof(obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj); - }; - } - - return _typeof(obj); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); +function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; } /***/ }), /***/ 34: -/***/ (function(module, exports) { +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["wp"]["apiFetch"]; }()); +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); +function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance"); +} /***/ }), -/***/ 35: +/***/ 36: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["blob"]; }()); /***/ }), -/***/ 363: +/***/ 37: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["apiFetch"]; }()); + +/***/ }), + +/***/ 383: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(12); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(11); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(13); +var possibleConstructorReturn = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(14); +var getPrototypeOf = __webpack_require__(16); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js -var assertThisInitialized = __webpack_require__(5); +var assertThisInitialized = __webpack_require__(6); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(15); +var inherits = __webpack_require__(17); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); @@ -750,7 +752,7 @@ function (_Component) { // EXTERNAL MODULE: external {"this":"regeneratorRuntime"} -var external_this_regeneratorRuntime_ = __webpack_require__(20); +var external_this_regeneratorRuntime_ = __webpack_require__(23); var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js @@ -760,17 +762,17 @@ var objectSpread = __webpack_require__(7); var asyncToGenerator = __webpack_require__(43); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(17); +var toConsumableArray = __webpack_require__(18); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(23); +var slicedToArray = __webpack_require__(22); // EXTERNAL MODULE: external {"this":["wp","apiFetch"]} -var external_this_wp_apiFetch_ = __webpack_require__(34); +var external_this_wp_apiFetch_ = __webpack_require__(37); var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_); // EXTERNAL MODULE: external {"this":["wp","blob"]} -var external_this_wp_blob_ = __webpack_require__(35); +var external_this_wp_blob_ = __webpack_require__(36); // CONCATENATED MODULE: ./node_modules/@wordpress/media-utils/build-module/utils/upload-media.js @@ -1099,28 +1101,6 @@ function createMediaFromFile(file, additionalData) { -/***/ }), - -/***/ 38: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); -function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; -} - -/***/ }), - -/***/ 39: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); -function _nonIterableRest() { - throw new TypeError("Invalid attempt to destructure non-iterable instance"); -} - /***/ }), /***/ 43: @@ -1166,7 +1146,7 @@ function _asyncToGenerator(fn) { /***/ }), -/***/ 5: +/***/ 6: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1186,12 +1166,12 @@ function _assertThisInitialized(self) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(source); + var ownKeys = Object.keys(Object(source)); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -1207,6 +1187,28 @@ function _objectSpread(target) { return target; } +/***/ }), + +/***/ 9: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/media-utils.min.js b/wp-includes/js/dist/media-utils.min.js index 943582d5ee..cddb91bc55 100644 --- a/wp-includes/js/dist/media-utils.min.js +++ b/wp-includes/js/dist/media-utils.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.mediaUtils=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=363)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},11:function(e,t,n){"use strict";function r(e,t){for(var n=0;n0&&this.buildAndSetGalleryFrame(),this.frame.open()}},{key:"render",value:function(){return this.props.render({open:this.openModal})}}]),t}(s.Component),y=n(20),h=n.n(y),v=n(7),O=n(43),g=n(17),j=n(23),w=n(34),S=n.n(w),_=n(35);function x(e){return k.apply(this,arguments)}function k(){return(k=Object(O.a)(h.a.mark((function e(t){var n,r,i,o,a,u,c,p,d,m,b,y,O,w,S,x,k,E,M,P,F,A,I,C,G,U,L,z,D;return h.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.allowedTypes,r=t.additionalData,i=void 0===r?{}:r,o=t.filesList,a=t.maxUploadFileSize,u=t.onError,c=void 0===u?l.noop:u,p=t.onFileChange,d=t.wpAllowedMimeTypes,m=void 0===d?null:d,b=Object(g.a)(o),y=[],O=function(e,t){Object(_.revokeBlobURL)(Object(l.get)(y,[e,"url"])),y[e]=t,p(Object(l.compact)(y))},w=function(e){return!n||Object(l.some)(n,(function(t){return Object(l.includes)(t,"/")?t===e:Object(l.startsWith)(e,"".concat(t,"/"))}))},S=(h=m)?Object(l.flatMap)(h,(function(e,t){var n=e.split("/"),r=Object(j.a)(n,1)[0],i=t.split("|");return[e].concat(Object(g.a)(Object(l.map)(i,(function(e){return"".concat(r,"/").concat(e)}))))})):h,x=function(e){return Object(l.includes)(S,e)},k=function(e){e.message=[Object(s.createElement)("strong",{key:"filename"},e.file.name),": ",e.message],c(e)},E=[],M=!0,P=!1,F=void 0,e.prev=12,A=b[Symbol.iterator]();case 14:if(M=(I=A.next()).done){e.next=34;break}if(C=I.value,!S||x(C.type)){e.next=19;break}return k({code:"MIME_TYPE_NOT_ALLOWED_FOR_USER",message:Object(f.__)("Sorry, this file type is not permitted for security reasons."),file:C}),e.abrupt("continue",31);case 19:if(w(C.type)){e.next=22;break}return k({code:"MIME_TYPE_NOT_SUPPORTED",message:Object(f.__)("Sorry, this file type is not supported here."),file:C}),e.abrupt("continue",31);case 22:if(!(a&&C.size>a)){e.next=25;break}return k({code:"SIZE_ABOVE_LIMIT",message:Object(f.__)("This file exceeds the maximum upload size for this site."),file:C}),e.abrupt("continue",31);case 25:if(!(C.size<=0)){e.next=28;break}return k({code:"EMPTY_FILE",message:Object(f.__)("This file is empty."),file:C}),e.abrupt("continue",31);case 28:E.push(C),y.push({url:Object(_.createBlobURL)(C)}),p(y);case 31:M=!0,e.next=14;break;case 34:e.next=40;break;case 36:e.prev=36,e.t0=e.catch(12),P=!0,F=e.t0;case 40:e.prev=40,e.prev=41,M||null==A.return||A.return();case 43:if(e.prev=43,!P){e.next=46;break}throw F;case 46:return e.finish(43);case 47:return e.finish(40);case 48:G=0;case 49:if(!(G0&&this.buildAndSetGalleryFrame(),this.frame.open()}},{key:"render",value:function(){return this.props.render({open:this.openModal})}}]),t}(s.Component),y=n(23),h=n.n(y),v=n(7),O=n(43),g=n(18),j=n(22),w=n(37),S=n.n(w),_=n(36);function x(e){return k.apply(this,arguments)}function k(){return(k=Object(O.a)(h.a.mark((function e(t){var n,r,i,o,a,u,c,p,d,m,b,y,O,w,S,x,k,E,M,P,A,F,I,C,G,U,L,z,D;return h.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.allowedTypes,r=t.additionalData,i=void 0===r?{}:r,o=t.filesList,a=t.maxUploadFileSize,u=t.onError,c=void 0===u?l.noop:u,p=t.onFileChange,d=t.wpAllowedMimeTypes,m=void 0===d?null:d,b=Object(g.a)(o),y=[],O=function(e,t){Object(_.revokeBlobURL)(Object(l.get)(y,[e,"url"])),y[e]=t,p(Object(l.compact)(y))},w=function(e){return!n||Object(l.some)(n,(function(t){return Object(l.includes)(t,"/")?t===e:Object(l.startsWith)(e,"".concat(t,"/"))}))},S=(h=m)?Object(l.flatMap)(h,(function(e,t){var n=e.split("/"),r=Object(j.a)(n,1)[0],i=t.split("|");return[e].concat(Object(g.a)(Object(l.map)(i,(function(e){return"".concat(r,"/").concat(e)}))))})):h,x=function(e){return Object(l.includes)(S,e)},k=function(e){e.message=[Object(s.createElement)("strong",{key:"filename"},e.file.name),": ",e.message],c(e)},E=[],M=!0,P=!1,A=void 0,e.prev=12,F=b[Symbol.iterator]();case 14:if(M=(I=F.next()).done){e.next=34;break}if(C=I.value,!S||x(C.type)){e.next=19;break}return k({code:"MIME_TYPE_NOT_ALLOWED_FOR_USER",message:Object(f.__)("Sorry, this file type is not permitted for security reasons."),file:C}),e.abrupt("continue",31);case 19:if(w(C.type)){e.next=22;break}return k({code:"MIME_TYPE_NOT_SUPPORTED",message:Object(f.__)("Sorry, this file type is not supported here."),file:C}),e.abrupt("continue",31);case 22:if(!(a&&C.size>a)){e.next=25;break}return k({code:"SIZE_ABOVE_LIMIT",message:Object(f.__)("This file exceeds the maximum upload size for this site."),file:C}),e.abrupt("continue",31);case 25:if(!(C.size<=0)){e.next=28;break}return k({code:"EMPTY_FILE",message:Object(f.__)("This file is empty."),file:C}),e.abrupt("continue",31);case 28:E.push(C),y.push({url:Object(_.createBlobURL)(C)}),p(y);case 31:M=!0,e.next=14;break;case 34:e.next=40;break;case 36:e.prev=36,e.t0=e.catch(12),P=!0,A=e.t0;case 40:e.prev=40,e.prev=41,M||null==F.return||F.return();case 43:if(e.prev=43,!P){e.next=46;break}throw A;case 46:return e.finish(43);case 47:return e.finish(40);case 48:G=0;case 49:if(!(G0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[t];if(void 0===o)return n;var i=e(n[o],r);return i===n[o]?n:Object(f.a)({},n,Object(a.a)({},o,i))}}}("context")((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"CREATE_NOTICE":return[].concat(Object(c.a)(Object(u.reject)(t,{id:e.notice.id})),[e.notice]);case"REMOVE_NOTICE":return Object(u.reject)(t,{id:e.id})}return t})),l=n(20),d=n.n(l),p="global",b="info",v=d.a.mark(y);function y(){var t,e,n,r,o,i,c,a,f,s,l,y,g,O,j,h,m=arguments;return d.a.wrap((function(d){for(;;)switch(d.prev=d.next){case 0:if(t=m.length>0&&void 0!==m[0]?m[0]:b,e=m.length>1?m[1]:void 0,n=m.length>2&&void 0!==m[2]?m[2]:{},r=n.speak,o=void 0===r||r,i=n.isDismissible,c=void 0===i||i,a=n.context,f=void 0===a?p:a,s=n.id,l=void 0===s?Object(u.uniqueId)(f):s,y=n.actions,g=void 0===y?[]:y,O=n.type,j=void 0===O?"default":O,h=n.__unstableHTML,e=String(e),!o){d.next=8;break}return d.next=8,{type:"SPEAK",message:e,ariaLive:"snackbar"===j?"polite":"assertive"};case 8:return d.next=10,{type:"CREATE_NOTICE",context:f,notice:{id:l,status:t,content:e,__unstableHTML:h,isDismissible:c,actions:g,type:j}};case 10:case"end":return d.stop()}}),v)}function g(t,e){return y("success",t,e)}function O(t,e){return y("info",t,e)}function j(t,e){return y("error",t,e)}function h(t,e){return y("warning",t,e)}function m(t){return{type:"REMOVE_NOTICE",id:t,context:arguments.length>1&&void 0!==arguments[1]?arguments[1]:p}}var w=[];function x(t){return t[arguments.length>1&&void 0!==arguments[1]?arguments[1]:p]||w}var E=n(45),S={SPEAK:function(t){Object(E.speak)(t.message,t.ariaLive||"assertive")}};Object(i.registerStore)("core/notices",{reducer:s,actions:r,selectors:o,controls:S})},4:function(t,e){!function(){t.exports=this.wp.data}()},45:function(t,e){!function(){t.exports=this.wp.a11y}()},7:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(10);function o(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[t];if(void 0===o)return n;var i=e(n[o],r);return i===n[o]?n:Object(f.a)({},n,Object(a.a)({},o,i))}}}("context")((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"CREATE_NOTICE":return[].concat(Object(c.a)(Object(u.reject)(t,{id:e.notice.id})),[e.notice]);case"REMOVE_NOTICE":return Object(u.reject)(t,{id:e.id})}return t})),l=n(23),d=n.n(l),p="global",b="info",v=d.a.mark(y);function y(){var t,e,n,r,o,i,c,a,f,s,l,y,O,g,j,h,m=arguments;return d.a.wrap((function(d){for(;;)switch(d.prev=d.next){case 0:if(t=m.length>0&&void 0!==m[0]?m[0]:b,e=m.length>1?m[1]:void 0,n=m.length>2&&void 0!==m[2]?m[2]:{},r=n.speak,o=void 0===r||r,i=n.isDismissible,c=void 0===i||i,a=n.context,f=void 0===a?p:a,s=n.id,l=void 0===s?Object(u.uniqueId)(f):s,y=n.actions,O=void 0===y?[]:y,g=n.type,j=void 0===g?"default":g,h=n.__unstableHTML,e=String(e),!o){d.next=8;break}return d.next=8,{type:"SPEAK",message:e,ariaLive:"snackbar"===j?"polite":"assertive"};case 8:return d.next=10,{type:"CREATE_NOTICE",context:f,notice:{id:l,status:t,content:e,__unstableHTML:h,isDismissible:c,actions:O,type:j}};case 10:case"end":return d.stop()}}),v)}function O(t,e){return y("success",t,e)}function g(t,e){return y("info",t,e)}function j(t,e){return y("error",t,e)}function h(t,e){return y("warning",t,e)}function m(t){return{type:"REMOVE_NOTICE",id:t,context:arguments.length>1&&void 0!==arguments[1]?arguments[1]:p}}var w=[];function x(t){return t[arguments.length>1&&void 0!==arguments[1]?arguments[1]:p]||w}var E=n(44),S={SPEAK:function(t){Object(E.speak)(t.message,t.ariaLive||"assertive")}};Object(i.registerStore)("core/notices",{reducer:s,actions:r,selectors:o,controls:S})},4:function(t,e){!function(){t.exports=this.wp.data}()},44:function(t,e){!function(){t.exports=this.wp.a11y}()},7:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(9);function o(t){for(var e=1;e 0 && arguments[0] !== undefined ? arguments[0] : []; - var action = arguments.length > 1 ? arguments[1] : undefined; - - switch (action.type) { - case 'TRIGGER_GUIDE': - return [].concat(Object(toConsumableArray["a" /* default */])(state), [action.tipIds]); - } - - return state; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); +function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; } -/** - * Reducer that tracks whether or not tips are globally enabled. - * - * @param {boolean} state Current state. - * @param {Object} action Dispatched action. - * - * @return {boolean} Updated state. - */ - -function areTipsEnabled() { - var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; - var action = arguments.length > 1 ? arguments[1] : undefined; - - switch (action.type) { - case 'DISABLE_TIPS': - return false; - - case 'ENABLE_TIPS': - return true; - } - - return state; -} -/** - * Reducer that tracks which tips have been dismissed. If the state object - * contains a tip identifier, then that tip is dismissed. - * - * @param {Object} state Current state. - * @param {Object} action Dispatched action. - * - * @return {Object} Updated state. - */ - -function dismissedTips() { - var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var action = arguments.length > 1 ? arguments[1] : undefined; - - switch (action.type) { - case 'DISMISS_TIP': - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.id, true)); - - case 'ENABLE_TIPS': - return {}; - } - - return state; -} -var preferences = Object(external_this_wp_data_["combineReducers"])({ - areTipsEnabled: areTipsEnabled, - dismissedTips: dismissedTips -}); -/* harmony default export */ var reducer = (Object(external_this_wp_data_["combineReducers"])({ - guides: guides, - preferences: preferences -})); - -// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/actions.js -/** - * Returns an action object that, when dispatched, presents a guide that takes - * the user through a series of tips step by step. - * - * @param {string[]} tipIds Which tips to show in the guide. - * - * @return {Object} Action object. - */ -function triggerGuide(tipIds) { - return { - type: 'TRIGGER_GUIDE', - tipIds: tipIds - }; -} -/** - * Returns an action object that, when dispatched, dismisses the given tip. A - * dismissed tip will not show again. - * - * @param {string} id The tip to dismiss. - * - * @return {Object} Action object. - */ - -function dismissTip(id) { - return { - type: 'DISMISS_TIP', - id: id - }; -} -/** - * Returns an action object that, when dispatched, prevents all tips from - * showing again. - * - * @return {Object} Action object. - */ - -function disableTips() { - return { - type: 'DISABLE_TIPS' - }; -} -/** - * Returns an action object that, when dispatched, makes all tips show again. - * - * @return {Object} Action object. - */ - -function enableTips() { - return { - type: 'ENABLE_TIPS' - }; -} - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(23); - -// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(36); - -// EXTERNAL MODULE: external {"this":"lodash"} -var external_this_lodash_ = __webpack_require__(2); - -// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/selectors.js - - -/** - * External dependencies - */ - - -/** - * An object containing information about a guide. - * - * @typedef {Object} NUX.GuideInfo - * @property {string[]} tipIds Which tips the guide contains. - * @property {?string} currentTipId The guide's currently showing tip. - * @property {?string} nextTipId The guide's next tip to show. - */ - -/** - * Returns an object describing the guide, if any, that the given tip is a part - * of. - * - * @param {Object} state Global application state. - * @param {string} tipId The tip to query. - * - * @return {?NUX.GuideInfo} Information about the associated guide. - */ - -var getAssociatedGuide = Object(rememo["a" /* default */])(function (state, tipId) { - var _iteratorNormalCompletion = true; - var _didIteratorError = false; - var _iteratorError = undefined; - - try { - for (var _iterator = state.guides[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { - var tipIds = _step.value; - - if (Object(external_this_lodash_["includes"])(tipIds, tipId)) { - var nonDismissedTips = Object(external_this_lodash_["difference"])(tipIds, Object(external_this_lodash_["keys"])(state.preferences.dismissedTips)); - - var _nonDismissedTips = Object(slicedToArray["a" /* default */])(nonDismissedTips, 2), - _nonDismissedTips$ = _nonDismissedTips[0], - currentTipId = _nonDismissedTips$ === void 0 ? null : _nonDismissedTips$, - _nonDismissedTips$2 = _nonDismissedTips[1], - nextTipId = _nonDismissedTips$2 === void 0 ? null : _nonDismissedTips$2; - - return { - tipIds: tipIds, - currentTipId: currentTipId, - nextTipId: nextTipId - }; - } - } - } catch (err) { - _didIteratorError = true; - _iteratorError = err; - } finally { - try { - if (!_iteratorNormalCompletion && _iterator.return != null) { - _iterator.return(); - } - } finally { - if (_didIteratorError) { - throw _iteratorError; - } - } - } - - return null; -}, function (state) { - return [state.guides, state.preferences.dismissedTips]; -}); -/** - * Determines whether or not the given tip is showing. Tips are hidden if they - * are disabled, have been dismissed, or are not the current tip in any - * guide that they have been added to. - * - * @param {Object} state Global application state. - * @param {string} tipId The tip to query. - * - * @return {boolean} Whether or not the given tip is showing. - */ - -function isTipVisible(state, tipId) { - if (!state.preferences.areTipsEnabled) { - return false; - } - - if (Object(external_this_lodash_["has"])(state.preferences.dismissedTips, [tipId])) { - return false; - } - - var associatedGuide = getAssociatedGuide(state, tipId); - - if (associatedGuide && associatedGuide.currentTipId !== tipId) { - return false; - } - - return true; -} -/** - * Returns whether or not tips are globally enabled. - * - * @param {Object} state Global application state. - * - * @return {boolean} Whether tips are globally enabled. - */ - -function selectors_areTipsEnabled(state) { - return state.preferences.areTipsEnabled; -} - -// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/index.js -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - - - -var store = Object(external_this_wp_data_["registerStore"])('core/nux', { - reducer: reducer, - actions: actions_namespaceObject, - selectors: selectors_namespaceObject, - persist: ['preferences'] -}); -/* harmony default export */ var build_module_store = (store); - -// EXTERNAL MODULE: external {"this":["wp","element"]} -var external_this_wp_element_ = __webpack_require__(0); - -// EXTERNAL MODULE: external {"this":["wp","compose"]} -var external_this_wp_compose_ = __webpack_require__(8); - -// EXTERNAL MODULE: external {"this":["wp","components"]} -var external_this_wp_components_ = __webpack_require__(3); - -// EXTERNAL MODULE: external {"this":["wp","i18n"]} -var external_this_wp_i18n_ = __webpack_require__(1); - -// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/components/dot-tip/index.js - - -/** - * WordPress dependencies - */ - - - - - - -function getAnchorRect(anchor) { - // The default getAnchorRect() excludes an element's top and bottom padding - // from its calculation. We want tips to point to the outer margin of an - // element, so we override getAnchorRect() to include all padding. - return anchor.parentNode.getBoundingClientRect(); -} - -function onClick(event) { - // Tips are often nested within buttons. We stop propagation so that clicking - // on a tip doesn't result in the button being clicked. - event.stopPropagation(); -} - -function DotTip(_ref) { - var _ref$position = _ref.position, - position = _ref$position === void 0 ? 'middle right' : _ref$position, - children = _ref.children, - isVisible = _ref.isVisible, - hasNextTip = _ref.hasNextTip, - onDismiss = _ref.onDismiss, - onDisable = _ref.onDisable; - var anchorParent = Object(external_this_wp_element_["useRef"])(null); - var getAnchorRectCallback = Object(external_this_wp_element_["useCallback"])(function (anchor) { - anchorParent.current = anchor.parentNode; - return getAnchorRect(anchor); - }, [anchorParent]); - var onFocusOutsideCallback = Object(external_this_wp_element_["useCallback"])(function (event) { - if (!anchorParent.current) { - return; - } - - if (anchorParent.current.contains(event.relatedTarget)) { - return; - } - - onDisable(); - }, [onDisable, anchorParent]); - - if (!isVisible) { - return null; - } - - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { - className: "nux-dot-tip", - position: position, - noArrow: true, - focusOnMount: "container", - getAnchorRect: getAnchorRectCallback, - role: "dialog", - "aria-label": Object(external_this_wp_i18n_["__"])('Editor tips'), - onClick: onClick, - onFocusOutside: onFocusOutsideCallback - }, Object(external_this_wp_element_["createElement"])("p", null, children), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - isLink: true, - onClick: onDismiss - }, hasNextTip ? Object(external_this_wp_i18n_["__"])('See next tip') : Object(external_this_wp_i18n_["__"])('Got it'))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - className: "nux-dot-tip__disable", - icon: "no-alt", - label: Object(external_this_wp_i18n_["__"])('Disable tips'), - onClick: onDisable - })); -} -/* harmony default export */ var dot_tip = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { - var tipId = _ref2.tipId; - - var _select = select('core/nux'), - isTipVisible = _select.isTipVisible, - getAssociatedGuide = _select.getAssociatedGuide; - - var associatedGuide = getAssociatedGuide(tipId); - return { - isVisible: isTipVisible(tipId), - hasNextTip: !!(associatedGuide && associatedGuide.nextTipId) - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref3) { - var tipId = _ref3.tipId; - - var _dispatch = dispatch('core/nux'), - dismissTip = _dispatch.dismissTip, - disableTips = _dispatch.disableTips; - - return { - onDismiss: function onDismiss() { - dismissTip(tipId); - }, - onDisable: function onDisable() { - disableTips(); - } - }; -}))(DotTip)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/index.js -/* concated harmony reexport DotTip */__webpack_require__.d(__webpack_exports__, "DotTip", function() { return dot_tip; }); -/** - * Internal dependencies - */ - - - /***/ }), -/***/ 36: +/***/ 34: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); +function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance"); +} + +/***/ }), + +/***/ 38: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -946,25 +515,427 @@ function isShallowEqual( a, b, fromIndex ) { /***/ }), -/***/ 38: +/***/ 382: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); -function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; +__webpack_require__.r(__webpack_exports__); +var actions_namespaceObject = {}; +__webpack_require__.r(actions_namespaceObject); +__webpack_require__.d(actions_namespaceObject, "triggerGuide", function() { return triggerGuide; }); +__webpack_require__.d(actions_namespaceObject, "dismissTip", function() { return dismissTip; }); +__webpack_require__.d(actions_namespaceObject, "disableTips", function() { return disableTips; }); +__webpack_require__.d(actions_namespaceObject, "enableTips", function() { return enableTips; }); +var selectors_namespaceObject = {}; +__webpack_require__.r(selectors_namespaceObject); +__webpack_require__.d(selectors_namespaceObject, "getAssociatedGuide", function() { return getAssociatedGuide; }); +__webpack_require__.d(selectors_namespaceObject, "isTipVisible", function() { return isTipVisible; }); +__webpack_require__.d(selectors_namespaceObject, "areTipsEnabled", function() { return selectors_areTipsEnabled; }); + +// EXTERNAL MODULE: external {"this":["wp","data"]} +var external_this_wp_data_ = __webpack_require__(4); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(9); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js +var objectSpread = __webpack_require__(7); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(18); + +// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/reducer.js + + + + +/** + * WordPress dependencies + */ + +/** + * Reducer that tracks which tips are in a guide. Each guide is represented by + * an array which contains the tip identifiers contained within that guide. + * + * @param {Array} state Current state. + * @param {Object} action Dispatched action. + * + * @return {Array} Updated state. + */ + +function guides() { + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + var action = arguments.length > 1 ? arguments[1] : undefined; + + switch (action.type) { + case 'TRIGGER_GUIDE': + return [].concat(Object(toConsumableArray["a" /* default */])(state), [action.tipIds]); + } + + return state; +} +/** + * Reducer that tracks whether or not tips are globally enabled. + * + * @param {boolean} state Current state. + * @param {Object} action Dispatched action. + * + * @return {boolean} Updated state. + */ + +function areTipsEnabled() { + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + var action = arguments.length > 1 ? arguments[1] : undefined; + + switch (action.type) { + case 'DISABLE_TIPS': + return false; + + case 'ENABLE_TIPS': + return true; + } + + return state; +} +/** + * Reducer that tracks which tips have been dismissed. If the state object + * contains a tip identifier, then that tip is dismissed. + * + * @param {Object} state Current state. + * @param {Object} action Dispatched action. + * + * @return {Object} Updated state. + */ + +function dismissedTips() { + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var action = arguments.length > 1 ? arguments[1] : undefined; + + switch (action.type) { + case 'DISMISS_TIP': + return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.id, true)); + + case 'ENABLE_TIPS': + return {}; + } + + return state; +} +var preferences = Object(external_this_wp_data_["combineReducers"])({ + areTipsEnabled: areTipsEnabled, + dismissedTips: dismissedTips +}); +/* harmony default export */ var reducer = (Object(external_this_wp_data_["combineReducers"])({ + guides: guides, + preferences: preferences +})); + +// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/actions.js +/** + * Returns an action object that, when dispatched, presents a guide that takes + * the user through a series of tips step by step. + * + * @param {string[]} tipIds Which tips to show in the guide. + * + * @return {Object} Action object. + */ +function triggerGuide(tipIds) { + return { + type: 'TRIGGER_GUIDE', + tipIds: tipIds + }; +} +/** + * Returns an action object that, when dispatched, dismisses the given tip. A + * dismissed tip will not show again. + * + * @param {string} id The tip to dismiss. + * + * @return {Object} Action object. + */ + +function dismissTip(id) { + return { + type: 'DISMISS_TIP', + id: id + }; +} +/** + * Returns an action object that, when dispatched, prevents all tips from + * showing again. + * + * @return {Object} Action object. + */ + +function disableTips() { + return { + type: 'DISABLE_TIPS' + }; +} +/** + * Returns an action object that, when dispatched, makes all tips show again. + * + * @return {Object} Action object. + */ + +function enableTips() { + return { + type: 'ENABLE_TIPS' + }; } -/***/ }), +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(22); -/***/ 39: -/***/ (function(module, __webpack_exports__, __webpack_require__) { +// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js +var rememo = __webpack_require__(38); -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); -function _nonIterableRest() { - throw new TypeError("Invalid attempt to destructure non-iterable instance"); +// EXTERNAL MODULE: external {"this":"lodash"} +var external_this_lodash_ = __webpack_require__(2); + +// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/selectors.js + + +/** + * External dependencies + */ + + +/** + * An object containing information about a guide. + * + * @typedef {Object} NUXGuideInfo + * @property {string[]} tipIds Which tips the guide contains. + * @property {?string} currentTipId The guide's currently showing tip. + * @property {?string} nextTipId The guide's next tip to show. + */ + +/** + * Returns an object describing the guide, if any, that the given tip is a part + * of. + * + * @param {Object} state Global application state. + * @param {string} tipId The tip to query. + * + * @return {?NUXGuideInfo} Information about the associated guide. + */ + +var getAssociatedGuide = Object(rememo["a" /* default */])(function (state, tipId) { + var _iteratorNormalCompletion = true; + var _didIteratorError = false; + var _iteratorError = undefined; + + try { + for (var _iterator = state.guides[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { + var tipIds = _step.value; + + if (Object(external_this_lodash_["includes"])(tipIds, tipId)) { + var nonDismissedTips = Object(external_this_lodash_["difference"])(tipIds, Object(external_this_lodash_["keys"])(state.preferences.dismissedTips)); + + var _nonDismissedTips = Object(slicedToArray["a" /* default */])(nonDismissedTips, 2), + _nonDismissedTips$ = _nonDismissedTips[0], + currentTipId = _nonDismissedTips$ === void 0 ? null : _nonDismissedTips$, + _nonDismissedTips$2 = _nonDismissedTips[1], + nextTipId = _nonDismissedTips$2 === void 0 ? null : _nonDismissedTips$2; + + return { + tipIds: tipIds, + currentTipId: currentTipId, + nextTipId: nextTipId + }; + } + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally { + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally { + if (_didIteratorError) { + throw _iteratorError; + } + } + } + + return null; +}, function (state) { + return [state.guides, state.preferences.dismissedTips]; +}); +/** + * Determines whether or not the given tip is showing. Tips are hidden if they + * are disabled, have been dismissed, or are not the current tip in any + * guide that they have been added to. + * + * @param {Object} state Global application state. + * @param {string} tipId The tip to query. + * + * @return {boolean} Whether or not the given tip is showing. + */ + +function isTipVisible(state, tipId) { + if (!state.preferences.areTipsEnabled) { + return false; + } + + if (Object(external_this_lodash_["has"])(state.preferences.dismissedTips, [tipId])) { + return false; + } + + var associatedGuide = getAssociatedGuide(state, tipId); + + if (associatedGuide && associatedGuide.currentTipId !== tipId) { + return false; + } + + return true; } +/** + * Returns whether or not tips are globally enabled. + * + * @param {Object} state Global application state. + * + * @return {boolean} Whether tips are globally enabled. + */ + +function selectors_areTipsEnabled(state) { + return state.preferences.areTipsEnabled; +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/index.js +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + + + +var store = Object(external_this_wp_data_["registerStore"])('core/nux', { + reducer: reducer, + actions: actions_namespaceObject, + selectors: selectors_namespaceObject, + persist: ['preferences'] +}); +/* harmony default export */ var build_module_store = (store); + +// EXTERNAL MODULE: external {"this":["wp","element"]} +var external_this_wp_element_ = __webpack_require__(0); + +// EXTERNAL MODULE: external {"this":["wp","compose"]} +var external_this_wp_compose_ = __webpack_require__(8); + +// EXTERNAL MODULE: external {"this":["wp","components"]} +var external_this_wp_components_ = __webpack_require__(3); + +// EXTERNAL MODULE: external {"this":["wp","i18n"]} +var external_this_wp_i18n_ = __webpack_require__(1); + +// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/components/dot-tip/index.js + + +/** + * WordPress dependencies + */ + + + + + + +function onClick(event) { + // Tips are often nested within buttons. We stop propagation so that clicking + // on a tip doesn't result in the button being clicked. + event.stopPropagation(); +} + +function DotTip(_ref) { + var _ref$position = _ref.position, + position = _ref$position === void 0 ? 'middle right' : _ref$position, + children = _ref.children, + isVisible = _ref.isVisible, + hasNextTip = _ref.hasNextTip, + onDismiss = _ref.onDismiss, + onDisable = _ref.onDisable; + var anchorParent = Object(external_this_wp_element_["useRef"])(null); + var onFocusOutsideCallback = Object(external_this_wp_element_["useCallback"])(function (event) { + if (!anchorParent.current) { + return; + } + + if (anchorParent.current.contains(event.relatedTarget)) { + return; + } + + onDisable(); + }, [onDisable, anchorParent]); + + if (!isVisible) { + return null; + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { + className: "nux-dot-tip", + position: position, + noArrow: true, + focusOnMount: "container", + shouldAnchorIncludePadding: true, + role: "dialog", + "aria-label": Object(external_this_wp_i18n_["__"])('Editor tips'), + onClick: onClick, + onFocusOutside: onFocusOutsideCallback + }, Object(external_this_wp_element_["createElement"])("p", null, children), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + isLink: true, + onClick: onDismiss + }, hasNextTip ? Object(external_this_wp_i18n_["__"])('See next tip') : Object(external_this_wp_i18n_["__"])('Got it'))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + className: "nux-dot-tip__disable", + icon: "no-alt", + label: Object(external_this_wp_i18n_["__"])('Disable tips'), + onClick: onDisable + })); +} +/* harmony default export */ var dot_tip = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { + var tipId = _ref2.tipId; + + var _select = select('core/nux'), + isTipVisible = _select.isTipVisible, + getAssociatedGuide = _select.getAssociatedGuide; + + var associatedGuide = getAssociatedGuide(tipId); + return { + isVisible: isTipVisible(tipId), + hasNextTip: !!(associatedGuide && associatedGuide.nextTipId) + }; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref3) { + var tipId = _ref3.tipId; + + var _dispatch = dispatch('core/nux'), + dismissTip = _dispatch.dismissTip, + disableTips = _dispatch.disableTips; + + return { + onDismiss: function onDismiss() { + dismissTip(tipId); + }, + onDisable: function onDisable() { + disableTips(); + } + }; +}))(DotTip)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/index.js +/* concated harmony reexport DotTip */__webpack_require__.d(__webpack_exports__, "DotTip", function() { return dot_tip; }); +/** + * Internal dependencies + */ + + + /***/ }), @@ -980,12 +951,12 @@ function _nonIterableRest() { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(source); + var ownKeys = Object.keys(Object(source)); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -1008,6 +979,28 @@ function _objectSpread(target) { (function() { module.exports = this["wp"]["compose"]; }()); +/***/ }), + +/***/ 9: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/nux.min.js b/wp-includes/js/dist/nux.min.js index a308d43bf3..c70a895deb 100644 --- a/wp-includes/js/dist/nux.min.js +++ b/wp-includes/js/dist/nux.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.nux=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=359)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},17:function(e,t,n){"use strict";var r=n(30);function i(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&void 0!==arguments[0])||arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"DISABLE_TIPS":return!1;case"ENABLE_TIPS":return!0}return e},dismissedTips:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"DISMISS_TIP":return Object(c.a)({},e,Object(o.a)({},t.id,!0));case"ENABLE_TIPS":return{}}return e}}),l=Object(u.combineReducers)({guides:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TRIGGER_GUIDE":return[].concat(Object(a.a)(e),[t.tipIds])}return e},preferences:s});function f(e){return{type:"TRIGGER_GUIDE",tipIds:e}}function p(e){return{type:"DISMISS_TIP",id:e}}function d(){return{type:"DISABLE_TIPS"}}function b(){return{type:"ENABLE_TIPS"}}var v=n(23),h=n(36),y=n(2),O=Object(h.a)((function(e,t){var n=!0,r=!1,i=void 0;try{for(var u,o=e.guides[Symbol.iterator]();!(n=(u=o.next()).done);n=!0){var c=u.value;if(Object(y.includes)(c,t)){var a=Object(y.difference)(c,Object(y.keys)(e.preferences.dismissedTips)),s=Object(v.a)(a,2),l=s[0],f=void 0===l?null:l,p=s[1];return{tipIds:c,currentTipId:f,nextTipId:void 0===p?null:p}}}}catch(e){r=!0,i=e}finally{try{n||null==o.return||o.return()}finally{if(r)throw i}}return null}),(function(e){return[e.guides,e.preferences.dismissedTips]}));function g(e,t){if(!e.preferences.areTipsEnabled)return!1;if(Object(y.has)(e.preferences.dismissedTips,[t]))return!1;var n=O(e,t);return!n||n.currentTipId===t}function j(e){return e.preferences.areTipsEnabled}Object(u.registerStore)("core/nux",{reducer:l,actions:r,selectors:i,persist:["preferences"]});var m=n(0),T=n(8),x=n(3),w=n(1);function I(e){e.stopPropagation()}var S=Object(T.compose)(Object(u.withSelect)((function(e,t){var n=t.tipId,r=e("core/nux"),i=r.isTipVisible,u=(0,r.getAssociatedGuide)(n);return{isVisible:i(n),hasNextTip:!(!u||!u.nextTipId)}})),Object(u.withDispatch)((function(e,t){var n=t.tipId,r=e("core/nux"),i=r.dismissTip,u=r.disableTips;return{onDismiss:function(){i(n)},onDisable:function(){u()}}})))((function(e){var t=e.position,n=void 0===t?"middle right":t,r=e.children,i=e.isVisible,u=e.hasNextTip,o=e.onDismiss,c=e.onDisable,a=Object(m.useRef)(null),s=Object(m.useCallback)((function(e){return a.current=e.parentNode,function(e){return e.parentNode.getBoundingClientRect()}(e)}),[a]),l=Object(m.useCallback)((function(e){a.current&&(a.current.contains(e.relatedTarget)||c())}),[c,a]);return i?Object(m.createElement)(x.Popover,{className:"nux-dot-tip",position:n,noArrow:!0,focusOnMount:"container",getAnchorRect:s,role:"dialog","aria-label":Object(w.__)("Editor tips"),onClick:I,onFocusOutside:l},Object(m.createElement)("p",null,r),Object(m.createElement)("p",null,Object(m.createElement)(x.Button,{isLink:!0,onClick:o},u?Object(w.__)("See next tip"):Object(w.__)("Got it"))),Object(m.createElement)(x.IconButton,{className:"nux-dot-tip__disable",icon:"no-alt",label:Object(w.__)("Disable tips"),onClick:c})):null}));n.d(t,"DotTip",(function(){return S}))},36:function(e,t,n){"use strict";var r,i;function u(e){return[e]}function o(){var e={clear:function(){e.head=null}};return e}function c(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r0&&void 0!==arguments[0])||arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"DISABLE_TIPS":return!1;case"ENABLE_TIPS":return!0}return e},dismissedTips:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"DISMISS_TIP":return Object(c.a)({},e,Object(o.a)({},t.id,!0));case"ENABLE_TIPS":return{}}return e}}),l=Object(u.combineReducers)({guides:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TRIGGER_GUIDE":return[].concat(Object(a.a)(e),[t.tipIds])}return e},preferences:s});function f(e){return{type:"TRIGGER_GUIDE",tipIds:e}}function p(e){return{type:"DISMISS_TIP",id:e}}function d(){return{type:"DISABLE_TIPS"}}function b(){return{type:"ENABLE_TIPS"}}var v=n(22),h=n(38),y=n(2),O=Object(h.a)((function(e,t){var n=!0,r=!1,i=void 0;try{for(var u,o=e.guides[Symbol.iterator]();!(n=(u=o.next()).done);n=!0){var c=u.value;if(Object(y.includes)(c,t)){var a=Object(y.difference)(c,Object(y.keys)(e.preferences.dismissedTips)),s=Object(v.a)(a,2),l=s[0],f=void 0===l?null:l,p=s[1];return{tipIds:c,currentTipId:f,nextTipId:void 0===p?null:p}}}}catch(e){r=!0,i=e}finally{try{n||null==o.return||o.return()}finally{if(r)throw i}}return null}),(function(e){return[e.guides,e.preferences.dismissedTips]}));function j(e,t){if(!e.preferences.areTipsEnabled)return!1;if(Object(y.has)(e.preferences.dismissedTips,[t]))return!1;var n=O(e,t);return!n||n.currentTipId===t}function g(e){return e.preferences.areTipsEnabled}Object(u.registerStore)("core/nux",{reducer:l,actions:r,selectors:i,persist:["preferences"]});var m=n(0),T=n(8),x=n(3),I=n(1);function w(e){e.stopPropagation()}var S=Object(T.compose)(Object(u.withSelect)((function(e,t){var n=t.tipId,r=e("core/nux"),i=r.isTipVisible,u=(0,r.getAssociatedGuide)(n);return{isVisible:i(n),hasNextTip:!(!u||!u.nextTipId)}})),Object(u.withDispatch)((function(e,t){var n=t.tipId,r=e("core/nux"),i=r.dismissTip,u=r.disableTips;return{onDismiss:function(){i(n)},onDisable:function(){u()}}})))((function(e){var t=e.position,n=void 0===t?"middle right":t,r=e.children,i=e.isVisible,u=e.hasNextTip,o=e.onDismiss,c=e.onDisable,a=Object(m.useRef)(null),s=Object(m.useCallback)((function(e){a.current&&(a.current.contains(e.relatedTarget)||c())}),[c,a]);return i?Object(m.createElement)(x.Popover,{className:"nux-dot-tip",position:n,noArrow:!0,focusOnMount:"container",shouldAnchorIncludePadding:!0,role:"dialog","aria-label":Object(I.__)("Editor tips"),onClick:w,onFocusOutside:s},Object(m.createElement)("p",null,r),Object(m.createElement)("p",null,Object(m.createElement)(x.Button,{isLink:!0,onClick:o},u?Object(I.__)("See next tip"):Object(I.__)("Got it"))),Object(m.createElement)(x.IconButton,{className:"nux-dot-tip__disable",icon:"no-alt",label:Object(I.__)("Disable tips"),onClick:c})):null}));n.d(t,"DotTip",(function(){return S}))},4:function(e,t){!function(){e.exports=this.wp.data}()},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(9);function i(e){for(var t=1;tES5 * ```js @@ -460,7 +450,7 @@ var plugins = {}; * } ); * ``` * - * @return {Object} The final plugin settings object. + * @return {WPPlugin} The final plugin settings object. */ function registerPlugin(name, settings) { @@ -538,7 +528,7 @@ function unregisterPlugin(name) { * * @param {string} name Plugin name. * - * @return {?Object} Plugin setting. + * @return {?WPPlugin} Plugin setting. */ function getPlugin(name) { @@ -547,7 +537,7 @@ function getPlugin(name) { /** * Returns all registered plugins. * - * @return {Array} Plugin settings. + * @return {WPPlugin[]} Plugin settings. */ function getPlugins() { @@ -611,7 +601,7 @@ function getPlugins() { * ); * ``` * - * @return {WPElement} Plugin area. + * @return {WPComponent} The component to be rendered. */ var plugin_area_PluginArea = @@ -705,7 +695,7 @@ function (_Component) { /***/ }), -/***/ 5: +/***/ 6: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -725,12 +715,12 @@ function _assertThisInitialized(self) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(source); + var ownKeys = Object.keys(Object(source)); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -753,6 +743,28 @@ function _objectSpread(target) { (function() { module.exports = this["wp"]["compose"]; }()); +/***/ }), + +/***/ 9: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/plugins.min.js b/wp-includes/js/dist/plugins.min.js index c91fd8ba9a..6f41033c31 100644 --- a/wp-includes/js/dist/plugins.min.js +++ b/wp-includes/js/dist/plugins.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.plugins=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=364)}({0:function(t,e){!function(){t.exports=this.wp.element}()},10:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},11:function(t,e,n){"use strict";function r(t,e){for(var n=0;n0);r(u)};return{add:function(i,o){t.has(i)||e.push(i),t.set(i,o),n||(n=!0,r(u))},flush:function(n){if(!t.has(n))return!1;t.delete(n);var r=e.indexOf(n);return e.splice(r,1),!0}}}}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.priorityQueue=function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)n.d(r,u,function(t){return e[t]}.bind(null,u));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=350)}({350:function(e,t,n){"use strict";n.r(t),n.d(t,"createQueue",(function(){return u}));var r=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,u=function(){var e=[],t=new WeakMap,n=!1,u=function u(i){do{if(0===e.length)return void(n=!1);var o=e.shift();t.get(o)(),t.delete(o)}while(i&&i.timeRemaining&&i.timeRemaining()>0);r(u)};return{add:function(i,o){t.has(i)||e.push(i),t.set(i,o),n||(n=!0,r(u))},flush:function(n){if(!t.has(n))return!1;t.delete(n);var r=e.indexOf(n);return e.splice(r,1),!0}}}}}); \ No newline at end of file diff --git a/wp-includes/js/dist/redux-routine.js b/wp-includes/js/dist/redux-routine.js index efed75b69a..052e4f1924 100644 --- a/wp-includes/js/dist/redux-routine.js +++ b/wp-includes/js/dist/redux-routine.js @@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["reduxRoutine"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 366); +/******/ return __webpack_require__(__webpack_require__.s = 385); /******/ }) /************************************************************************/ /******/ ({ -/***/ 108: +/***/ 107: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -99,7 +99,7 @@ Object.defineProperty(exports, "__esModule", { var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; -var _keys = __webpack_require__(212); +var _keys = __webpack_require__(211); var _keys2 = _interopRequireDefault(_keys); @@ -159,7 +159,7 @@ exports.default = is; /***/ }), -/***/ 211: +/***/ 210: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -170,7 +170,7 @@ Object.defineProperty(exports, "__esModule", { }); exports.createChannel = exports.subscribe = exports.cps = exports.apply = exports.call = exports.invoke = exports.delay = exports.race = exports.join = exports.fork = exports.error = exports.all = undefined; -var _keys = __webpack_require__(212); +var _keys = __webpack_require__(211); var _keys2 = _interopRequireDefault(_keys); @@ -300,7 +300,7 @@ var createChannel = exports.createChannel = function createChannel(callback) { /***/ }), -/***/ 212: +/***/ 211: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -324,7 +324,7 @@ exports.default = keys; /***/ }), -/***/ 232: +/***/ 231: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -335,7 +335,7 @@ Object.defineProperty(exports, "__esModule", { }); exports.wrapControls = exports.asyncControls = exports.create = undefined; -var _helpers = __webpack_require__(211); +var _helpers = __webpack_require__(210); Object.keys(_helpers).forEach(function (key) { if (key === "default") return; @@ -347,15 +347,15 @@ Object.keys(_helpers).forEach(function (key) { }); }); -var _create = __webpack_require__(331); +var _create = __webpack_require__(351); var _create2 = _interopRequireDefault(_create); -var _async = __webpack_require__(333); +var _async = __webpack_require__(353); var _async2 = _interopRequireDefault(_async); -var _wrap = __webpack_require__(335); +var _wrap = __webpack_require__(355); var _wrap2 = _interopRequireDefault(_wrap); @@ -367,7 +367,7 @@ exports.wrapControls = _wrap2.default; /***/ }), -/***/ 331: +/***/ 351: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -377,11 +377,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _builtin = __webpack_require__(332); +var _builtin = __webpack_require__(352); var _builtin2 = _interopRequireDefault(_builtin); -var _is = __webpack_require__(108); +var _is = __webpack_require__(107); var _is2 = _interopRequireDefault(_is); @@ -453,7 +453,7 @@ exports.default = create; /***/ }), -/***/ 332: +/***/ 352: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -464,7 +464,7 @@ Object.defineProperty(exports, "__esModule", { }); exports.iterator = exports.array = exports.object = exports.error = exports.any = undefined; -var _is = __webpack_require__(108); +var _is = __webpack_require__(107); var _is2 = _interopRequireDefault(_is); @@ -554,7 +554,7 @@ exports.default = [error, iterator, array, object, any]; /***/ }), -/***/ 333: +/***/ 353: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -565,13 +565,13 @@ Object.defineProperty(exports, "__esModule", { }); exports.race = exports.join = exports.fork = exports.promise = undefined; -var _is = __webpack_require__(108); +var _is = __webpack_require__(107); var _is2 = _interopRequireDefault(_is); -var _helpers = __webpack_require__(211); +var _helpers = __webpack_require__(210); -var _dispatcher = __webpack_require__(334); +var _dispatcher = __webpack_require__(354); var _dispatcher2 = _interopRequireDefault(_dispatcher); @@ -676,7 +676,7 @@ exports.default = [promise, fork, join, race, subscribe]; /***/ }), -/***/ 334: +/***/ 354: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -709,7 +709,7 @@ exports.default = createDispatcher; /***/ }), -/***/ 335: +/***/ 355: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -720,7 +720,7 @@ Object.defineProperty(exports, "__esModule", { }); exports.cps = exports.call = undefined; -var _is = __webpack_require__(108); +var _is = __webpack_require__(107); var _is2 = _interopRequireDefault(_is); @@ -752,7 +752,7 @@ exports.default = [call, cps]; /***/ }), -/***/ 366: +/***/ 385: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -773,7 +773,7 @@ function isGenerator(object) { } // EXTERNAL MODULE: ./node_modules/rungen/dist/index.js -var dist = __webpack_require__(232); +var dist = __webpack_require__(231); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); diff --git a/wp-includes/js/dist/redux-routine.min.js b/wp-includes/js/dist/redux-routine.min.js index a1763de1ba..7d0c900b28 100644 --- a/wp-includes/js/dist/redux-routine.min.js +++ b/wp-includes/js/dist/redux-routine.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.reduxRoutine=function(t){var r={};function e(n){if(r[n])return r[n].exports;var u=r[n]={i:n,l:!1,exports:{}};return t[n].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var u in t)e.d(n,u,function(r){return t[r]}.bind(null,u));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=366)}({108:function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},o=e(212),c=(n=o)&&n.__esModule?n:{default:n};var f={obj:function(t){return"object"===(void 0===t?"undefined":u(t))&&!!t},all:function(t){return f.obj(t)&&t.type===c.default.all},error:function(t){return f.obj(t)&&t.type===c.default.error},array:Array.isArray,func:function(t){return"function"==typeof t},promise:function(t){return t&&f.func(t.then)},iterator:function(t){return t&&f.func(t.next)&&f.func(t.throw)},fork:function(t){return f.obj(t)&&t.type===c.default.fork},join:function(t){return f.obj(t)&&t.type===c.default.join},race:function(t){return f.obj(t)&&t.type===c.default.race},call:function(t){return f.obj(t)&&t.type===c.default.call},cps:function(t){return f.obj(t)&&t.type===c.default.cps},subscribe:function(t){return f.obj(t)&&t.type===c.default.subscribe},channel:function(t){return f.obj(t)&&f.func(t.subscribe)}};r.default=f},2:function(t,r){!function(){t.exports=this.lodash}()},211:function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createChannel=r.subscribe=r.cps=r.apply=r.call=r.invoke=r.delay=r.race=r.join=r.fork=r.error=r.all=void 0;var n,u=e(212),o=(n=u)&&n.__esModule?n:{default:n};r.all=function(t){return{type:o.default.all,value:t}},r.error=function(t){return{type:o.default.error,error:t}},r.fork=function(t){for(var r=arguments.length,e=Array(r>1?r-1:0),n=1;n1?r-1:0),n=1;n2?e-2:0),u=2;u1?r-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,e=Object(u.map)(t,(function(t,r){return function(e,n,u,o,i){if(l=r,!f(a=e)||a.type!==l)return!1;var a,l,s=t(e);return c()(s)?s.then(o,i):o(s),!0}}));e.push((function(t,e){return!!f(t)&&(r(t),e(),!0)}));var o=Object(n.create)(e);return function(t){return new Promise((function(e,n){return o(t,(function(t){f(t)&&r(t),e(t)}),n)}))}}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(r){var e=i(t,r.dispatch);return function(t){return function(r){return(n=r)&&"Generator"===n[Symbol.toStringTag]?e(r):t(r);var n}}}}e.d(r,"default",(function(){return a}))},97:function(t,r){t.exports=function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}}}).default; \ No newline at end of file +this.wp=this.wp||{},this.wp.reduxRoutine=function(t){var r={};function e(n){if(r[n])return r[n].exports;var u=r[n]={i:n,l:!1,exports:{}};return t[n].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var u in t)e.d(n,u,function(r){return t[r]}.bind(null,u));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=385)}({107:function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},o=e(211),c=(n=o)&&n.__esModule?n:{default:n};var f={obj:function(t){return"object"===(void 0===t?"undefined":u(t))&&!!t},all:function(t){return f.obj(t)&&t.type===c.default.all},error:function(t){return f.obj(t)&&t.type===c.default.error},array:Array.isArray,func:function(t){return"function"==typeof t},promise:function(t){return t&&f.func(t.then)},iterator:function(t){return t&&f.func(t.next)&&f.func(t.throw)},fork:function(t){return f.obj(t)&&t.type===c.default.fork},join:function(t){return f.obj(t)&&t.type===c.default.join},race:function(t){return f.obj(t)&&t.type===c.default.race},call:function(t){return f.obj(t)&&t.type===c.default.call},cps:function(t){return f.obj(t)&&t.type===c.default.cps},subscribe:function(t){return f.obj(t)&&t.type===c.default.subscribe},channel:function(t){return f.obj(t)&&f.func(t.subscribe)}};r.default=f},2:function(t,r){!function(){t.exports=this.lodash}()},210:function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createChannel=r.subscribe=r.cps=r.apply=r.call=r.invoke=r.delay=r.race=r.join=r.fork=r.error=r.all=void 0;var n,u=e(211),o=(n=u)&&n.__esModule?n:{default:n};r.all=function(t){return{type:o.default.all,value:t}},r.error=function(t){return{type:o.default.error,error:t}},r.fork=function(t){for(var r=arguments.length,e=Array(r>1?r-1:0),n=1;n1?r-1:0),n=1;n2?e-2:0),u=2;u1?r-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,e=Object(u.map)(t,(function(t,r){return function(e,n,u,o,i){if(l=r,!f(a=e)||a.type!==l)return!1;var a,l,s=t(e);return c()(s)?s.then(o,i):o(s),!0}}));e.push((function(t,e){return!!f(t)&&(r(t),e(),!0)}));var o=Object(n.create)(e);return function(t){return new Promise((function(e,n){return o(t,(function(t){f(t)&&r(t),e(t)}),n)}))}}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(r){var e=i(t,r.dispatch);return function(t){return function(r){return(n=r)&&"Generator"===n[Symbol.toStringTag]?e(r):t(r);var n}}}}e.d(r,"default",(function(){return a}))},97:function(t,r){t.exports=function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}}}).default; \ No newline at end of file diff --git a/wp-includes/js/dist/rich-text.js b/wp-includes/js/dist/rich-text.js index 9c679b9c17..47cf8f4de6 100644 --- a/wp-includes/js/dist/rich-text.js +++ b/wp-includes/js/dist/rich-text.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["richText"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 346); +/******/ return __webpack_require__(__webpack_require__.s = 365); /******/ }) /************************************************************************/ /******/ ({ @@ -94,132 +94,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["richText"] = /***/ }), -/***/ 10: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -/***/ }), - /***/ 11: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; }); -function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, descriptor.key, descriptor); - } -} - -function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - return Constructor; -} - -/***/ }), - -/***/ 12: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; }); -function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -} - -/***/ }), - -/***/ 13: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; }); -/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31); -/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5); - - -function _possibleConstructorReturn(self, call) { - if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) { - return call; - } - - return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self); -} - -/***/ }), - -/***/ 14: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; }); -function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { - return o.__proto__ || Object.getPrototypeOf(o); - }; - return _getPrototypeOf(o); -} - -/***/ }), - -/***/ 15: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js -function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { - o.__proto__ = p; - return o; - }; - - return _setPrototypeOf(o, p); -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _inherits; }); - -function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError("Super expression must either be null or a function"); - } - - subClass.prototype = Object.create(superClass && superClass.prototype, { - constructor: { - value: subClass, - writable: true, - configurable: true - } - }); - if (superClass) _setPrototypeOf(subClass, superClass); -} - -/***/ }), - -/***/ 16: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! @@ -277,40 +152,43 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! /***/ }), -/***/ 17: +/***/ 12: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js -function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) { - for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { - arr2[i] = arr[i]; - } - - return arr2; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; }); +function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); } } -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(30); -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js -function _nonIterableSpread() { - throw new TypeError("Invalid attempt to spread non-iterable instance"); -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _toConsumableArray; }); - - - -function _toConsumableArray(arr) { - return _arrayWithoutHoles(arr) || Object(iterableToArray["a" /* default */])(arr) || _nonIterableSpread(); +function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; } /***/ }), -/***/ 18: +/***/ 13: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; }); +function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } +} + +/***/ }), + +/***/ 14: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -335,6 +213,106 @@ function _extends() { /***/ }), +/***/ 15: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; }); +/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31); +/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6); + + +function _possibleConstructorReturn(self, call) { + if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) { + return call; + } + + return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self); +} + +/***/ }), + +/***/ 16: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; }); +function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); +} + +/***/ }), + +/***/ 17: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); +} +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _inherits; }); + +function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); +} + +/***/ }), + +/***/ 18: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +function _arrayWithoutHoles(arr) { + if (Array.isArray(arr)) { + for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { + arr2[i] = arr[i]; + } + + return arr2; + } +} +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js +var iterableToArray = __webpack_require__(32); + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +function _nonIterableSpread() { + throw new TypeError("Invalid attempt to spread non-iterable instance"); +} +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _toConsumableArray; }); + + + +function _toConsumableArray(arr) { + return _arrayWithoutHoles(arr) || Object(iterableToArray["a" /* default */])(arr) || _nonIterableSpread(); +} + +/***/ }), + /***/ 19: /***/ (function(module, exports) { @@ -349,50 +327,6 @@ function _extends() { /***/ }), -/***/ 21: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; }); - -function _objectWithoutProperties(source, excluded) { - if (source == null) return {}; - var target = _objectWithoutPropertiesLoose(source, excluded); - var key, i; - - if (Object.getOwnPropertySymbols) { - var sourceSymbolKeys = Object.getOwnPropertySymbols(source); - - for (i = 0; i < sourceSymbolKeys.length; i++) { - key = sourceSymbolKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; - target[key] = source[key]; - } - } - - return target; -} - -/***/ }), - /***/ 27: /***/ (function(module, exports) { @@ -400,7 +334,28 @@ function _objectWithoutProperties(source, excluded) { /***/ }), -/***/ 30: +/***/ 31: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); +function _typeof(obj) { + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + _typeof = function _typeof(obj) { + return typeof obj; + }; + } else { + _typeof = function _typeof(obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + } + + return _typeof(obj); +} + +/***/ }), + +/***/ 32: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -411,30 +366,14 @@ function _iterableToArray(iter) { /***/ }), -/***/ 31: -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ 35: +/***/ (function(module, exports) { -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); -function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); } - -function _typeof(obj) { - if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") { - _typeof = function _typeof(obj) { - return _typeof2(obj); - }; - } else { - _typeof = function _typeof(obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj); - }; - } - - return _typeof(obj); -} +(function() { module.exports = this["wp"]["deprecated"]; }()); /***/ }), -/***/ 346: +/***/ 365: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -499,7 +438,7 @@ function reducer_formatTypes() { })); // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(36); +var rememo = __webpack_require__(38); // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/store/selectors.js /** @@ -624,7 +563,7 @@ Object(external_this_wp_data_["registerStore"])('core/rich-text', { }); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(17); +var toConsumableArray = __webpack_require__(18); // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/is-format-equal.js /** @@ -1004,6 +943,8 @@ function toFormat(_ref) { * multiline. * @param {Array} [$1.multilineWrapperTags] Tags where lines can be found if * nesting is possible. + * @param {?boolean} [$1.preserveWhiteSpace] Whether or not to collapse white + * space characters. * * @return {Object} A rich text value. */ @@ -1017,7 +958,8 @@ function create() { range = _ref2.range, multilineTag = _ref2.multilineTag, multilineWrapperTags = _ref2.multilineWrapperTags, - isEditableTree = _ref2.__unstableIsEditableTree; + isEditableTree = _ref2.__unstableIsEditableTree, + preserveWhiteSpace = _ref2.preserveWhiteSpace; if (typeof text === 'string' && text.length > 0) { return { @@ -1039,7 +981,8 @@ function create() { return createFromElement({ element: element, range: range, - isEditableTree: isEditableTree + isEditableTree: isEditableTree, + preserveWhiteSpace: preserveWhiteSpace }); } @@ -1048,7 +991,8 @@ function create() { range: range, multilineTag: multilineTag, multilineWrapperTags: multilineWrapperTags, - isEditableTree: isEditableTree + isEditableTree: isEditableTree, + preserveWhiteSpace: preserveWhiteSpace }); } /** @@ -1134,14 +1078,27 @@ function filterRange(node, range, filter) { endOffset: endOffset }; } +/** + * Collapse any whitespace used for HTML formatting to one space character, + * because it will also be displayed as such by the browser. + * + * @param {string} string + */ + + +function collapseWhiteSpace(string) { + return string.replace(/[\n\r\t]+/g, ' '); +} var ZWNBSPRegExp = new RegExp(ZWNBSP, 'g'); +/** + * Removes padding (zero width non breaking spaces) added by `toTree`. + * + * @param {string} string + */ -function filterString(string) { - // Reduce any whitespace used for HTML formatting to one space - // character, because it will also be displayed as such by the browser. - return string.replace(/[\n\r\t]+/g, ' ') // Remove padding added by `toTree`. - .replace(ZWNBSPRegExp, ''); +function removePadding(string) { + return string.replace(ZWNBSPRegExp, ''); } /** * Creates a Rich Text value from a DOM element and range. @@ -1153,6 +1110,8 @@ function filterString(string) { * multiline. * @param {?Array} $1.multilineWrapperTags Tags where lines can be found if * nesting is possible. + * @param {?boolean} $1.preserveWhiteSpace Whether or not to collapse white + * space characters. * * @return {Object} A rich text value. */ @@ -1165,7 +1124,8 @@ function createFromElement(_ref3) { multilineWrapperTags = _ref3.multilineWrapperTags, _ref3$currentWrapperT = _ref3.currentWrapperTags, currentWrapperTags = _ref3$currentWrapperT === void 0 ? [] : _ref3$currentWrapperT, - isEditableTree = _ref3.isEditableTree; + isEditableTree = _ref3.isEditableTree, + preserveWhiteSpace = _ref3.preserveWhiteSpace; var accumulator = createEmptyValue(); if (!element) { @@ -1184,8 +1144,16 @@ function createFromElement(_ref3) { var type = node.nodeName.toLowerCase(); if (node.nodeType === TEXT_NODE) { - var text = filterString(node.nodeValue); - range = filterRange(node, range, filterString); + var filter = removePadding; + + if (!preserveWhiteSpace) { + filter = function filter(string) { + return removePadding(collapseWhiteSpace(string)); + }; + } + + var text = filter(node.nodeValue); + range = filterRange(node, range, filter); accumulateSelection(accumulator, node, range, { text: text }); // Create a sparse array of the same length as `text`, in which @@ -1233,7 +1201,8 @@ function createFromElement(_ref3) { multilineTag: multilineTag, multilineWrapperTags: multilineWrapperTags, currentWrapperTags: [].concat(Object(toConsumableArray["a" /* default */])(currentWrapperTags), [format]), - isEditableTree: isEditableTree + isEditableTree: isEditableTree, + preserveWhiteSpace: preserveWhiteSpace }); accumulateSelection(accumulator, node, range, _value); @@ -1246,7 +1215,8 @@ function createFromElement(_ref3) { range: range, multilineTag: multilineTag, multilineWrapperTags: multilineWrapperTags, - isEditableTree: isEditableTree + isEditableTree: isEditableTree, + preserveWhiteSpace: preserveWhiteSpace }); accumulateSelection(accumulator, node, range, value); @@ -1281,15 +1251,17 @@ function createFromElement(_ref3) { * Creates a rich text value from a DOM element and range that should be * multiline. * - * @param {Object} $1 Named argements. - * @param {?Element} $1.element Element to create value from. - * @param {?Range} $1.range Range to create value from. - * @param {?string} $1.multilineTag Multiline tag if the structure is - * multiline. - * @param {?Array} $1.multilineWrapperTags Tags where lines can be found if - * nesting is possible. - * @param {boolean} $1.currentWrapperTags Whether to prepend a line - * separator. + * @param {Object} $1 Named argements. + * @param {?Element} $1.element Element to create value from. + * @param {?Range} $1.range Range to create value from. + * @param {?string} $1.multilineTag Multiline tag if the structure is + * multiline. + * @param {?Array} $1.multilineWrapperTags Tags where lines can be found if + * nesting is possible. + * @param {boolean} $1.currentWrapperTags Whether to prepend a line + * separator. + * @param {?boolean} $1.preserveWhiteSpace Whether or not to collapse white + * space characters. * * @return {Object} A rich text value. */ @@ -1302,7 +1274,8 @@ function createFromMultilineElement(_ref4) { multilineWrapperTags = _ref4.multilineWrapperTags, _ref4$currentWrapperT = _ref4.currentWrapperTags, currentWrapperTags = _ref4$currentWrapperT === void 0 ? [] : _ref4$currentWrapperT, - isEditableTree = _ref4.isEditableTree; + isEditableTree = _ref4.isEditableTree, + preserveWhiteSpace = _ref4.preserveWhiteSpace; var accumulator = createEmptyValue(); if (!element || !element.hasChildNodes()) { @@ -1324,7 +1297,8 @@ function createFromMultilineElement(_ref4) { multilineTag: multilineTag, multilineWrapperTags: multilineWrapperTags, currentWrapperTags: currentWrapperTags, - isEditableTree: isEditableTree + isEditableTree: isEditableTree, + preserveWhiteSpace: preserveWhiteSpace }); // Multiline value text should be separated by a line separator. if (index !== 0 || currentWrapperTags.length > 0) { @@ -1742,16 +1716,25 @@ var external_this_wp_compose_ = __webpack_require__(8); +/** + * @typedef {Object} WPFormat + * + * @property {string} name A string identifying the format. Must be + * unique across all registered formats. + * @property {string} tagName The HTML tag this format will wrap the + * selection with. + * @property {string} [className] A class to match the format. + * @property {string} title Name of the format. + * @property {Function} edit Should return a component for the user to + * interact with the new registered format. + */ + /** * Registers a new format provided a unique name and an object defining its * behavior. * * @param {string} name Format name. - * @param {Object} settings Format settings. - * @param {string} settings.tagName The HTML tag this format will wrap the selection with. - * @param {string} [settings.className] A class to match the format. - * @param {string} settings.title Name of the format. - * @param {Function} settings.edit Should return a component for the user to interact with the new registered format. + * @param {WPFormat} settings Format settings. * * @return {WPFormat|undefined} The format, if it has been successfully registered; * otherwise `undefined`. @@ -2451,6 +2434,7 @@ function fromFormat(_ref) { function toTree(_ref2) { var value = _ref2.value, multilineTag = _ref2.multilineTag, + preserveWhiteSpace = _ref2.preserveWhiteSpace, createEmpty = _ref2.createEmpty, append = _ref2.append, getLastChild = _ref2.getLastChild, @@ -2589,7 +2573,7 @@ function toTree(_ref2) { }))); // Ensure pointer is text node. pointer = append(getParent(pointer), ''); - } else if (character === '\n') { + } else if (!preserveWhiteSpace && character === '\n') { pointer = append(getParent(pointer), { type: 'br', attributes: isEditableTree ? { @@ -2714,7 +2698,7 @@ function getNodeByPath(node, path) { * each call to `createEmpty`. Therefore, you should not hold a reference to * the value to operate upon asynchronously, as it may have unexpected results. * - * @return {WPRichTextTree} RichText tree. + * @return {Object} RichText tree. */ @@ -2956,7 +2940,7 @@ function applySelection(_ref7, current) { } // EXTERNAL MODULE: external {"this":["wp","escapeHtml"]} -var external_this_wp_escapeHtml_ = __webpack_require__(70); +var external_this_wp_escapeHtml_ = __webpack_require__(59); // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/to-html-string.js /** @@ -2972,19 +2956,23 @@ var external_this_wp_escapeHtml_ = __webpack_require__(70); * Create an HTML string from a Rich Text value. If a `multilineTag` is * provided, text separated by a line separator will be wrapped in it. * - * @param {Object} $1 Named argements. - * @param {Object} $1.value Rich text value. - * @param {string} [$1.multilineTag] Multiline tag. + * @param {Object} $1 Named argements. + * @param {Object} $1.value Rich text value. + * @param {string} [$1.multilineTag] Multiline tag. + * @param {?boolean} [$1.preserveWhiteSpace] Whether or not to use newline + * characters for line breaks. * * @return {string} HTML string. */ function toHTMLString(_ref) { var value = _ref.value, - multilineTag = _ref.multilineTag; + multilineTag = _ref.multilineTag, + preserveWhiteSpace = _ref.preserveWhiteSpace; var tree = toTree({ value: value, multilineTag: multilineTag, + preserveWhiteSpace: preserveWhiteSpace, createEmpty: to_html_string_createEmpty, append: to_html_string_append, getLastChild: to_html_string_getLastChild, @@ -3073,7 +3061,7 @@ function createElementHTML(_ref6) { function createChildrenHTML() { var children = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; return children.map(function (child) { - return child.text === undefined ? createElementHTML(child) : Object(external_this_wp_escapeHtml_["escapeHTML"])(child.text); + return child.text === undefined ? createElementHTML(child) : Object(external_this_wp_escapeHtml_["escapeEditableHTML"])(child.text); }).join(''); } @@ -3107,6 +3095,8 @@ function toggleFormat(value, format) { */ +/** @typedef {import('./register-format-type').WPFormat} WPFormat */ + /** * Unregisters a format. * @@ -3132,6 +3122,55 @@ function unregisterFormatType(name) { return oldFormat; } +// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/can-indent-list-items.js +/** + * Internal dependencies + */ + +/** + * Checks if the selected list item can be indented. + * + * @param {Object} value Value to check. + * + * @return {boolean} Whether or not the selected list item can be indented. + */ + +function canIndentListItems(value) { + var lineIndex = getLineIndex(value); // There is only one line, so the line cannot be indented. + + if (lineIndex === undefined) { + return false; + } + + var replacements = value.replacements; + var previousLineIndex = getLineIndex(value, lineIndex); + var formatsAtLineIndex = replacements[lineIndex] || []; + var formatsAtPreviousLineIndex = replacements[previousLineIndex] || []; // If the indentation of the current line is greater than previous line, + // then the line cannot be furter indented. + + return formatsAtLineIndex.length <= formatsAtPreviousLineIndex.length; +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/can-outdent-list-items.js +/** + * Internal dependencies + */ + +/** + * Checks if the selected list item can be outdented. + * + * @param {Object} value Value to check. + * + * @return {boolean} Whether or not the selected list item can be outdented. + */ + +function canOutdentListItems(value) { + var replacements = value.replacements, + start = value.start; + var startingLineIndex = getLineIndex(value, start); + return replacements[startingLineIndex] !== undefined; +} + // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/indent-list-items.js @@ -3140,6 +3179,7 @@ function unregisterFormatType(name) { */ + /** * Gets the line index of the first previous list item with higher indentation. * @@ -3181,24 +3221,15 @@ function getTargetLevelLineIndex(_ref, lineIndex) { function indentListItems(value, rootFormat) { - var lineIndex = getLineIndex(value); // There is only one line, so the line cannot be indented. - - if (lineIndex === undefined) { + if (!canIndentListItems(value)) { return value; } + var lineIndex = getLineIndex(value); + var previousLineIndex = getLineIndex(value, lineIndex); var text = value.text, replacements = value.replacements, end = value.end; - var previousLineIndex = getLineIndex(value, lineIndex); - var formatsAtLineIndex = replacements[lineIndex] || []; - var formatsAtPreviousLineIndex = replacements[previousLineIndex] || []; // The the indentation of the current line is greater than previous line, - // then the line cannot be furter indented. - - if (formatsAtLineIndex.length > formatsAtPreviousLineIndex.length) { - return value; - } - var newFormats = replacements.slice(); var targetLevelLineIndex = getTargetLevelLineIndex(value, lineIndex); @@ -3311,6 +3342,7 @@ function getLastChildIndex(_ref, lineIndex) { + /** * Outdents any selected list items if possible. * @@ -3320,16 +3352,15 @@ function getLastChildIndex(_ref, lineIndex) { */ function outdentListItems(value) { + if (!canOutdentListItems(value)) { + return value; + } + var text = value.text, replacements = value.replacements, start = value.start, end = value.end; - var startingLineIndex = getLineIndex(value, start); // Return early if the starting line index cannot be further outdented. - - if (replacements[startingLineIndex] === undefined) { - return value; - } - + var startingLineIndex = getLineIndex(value, start); var newFormats = replacements.slice(0); var parentFormats = replacements[getParentLineIndex(value, startingLineIndex)] || []; var endingLineIndex = getLineIndex(value, end); @@ -3423,39 +3454,39 @@ function changeListType(value, newFormat) { } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(18); +var esm_extends = __webpack_require__(14); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(12); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(11); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(13); +var possibleConstructorReturn = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(14); +var getPrototypeOf = __webpack_require__(16); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js -var assertThisInitialized = __webpack_require__(5); +var assertThisInitialized = __webpack_require__(6); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(15); +var inherits = __webpack_require__(17); // EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(16); +var classnames = __webpack_require__(11); var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); // EXTERNAL MODULE: external {"this":["wp","keycodes"]} var external_this_wp_keycodes_ = __webpack_require__(19); // EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} -var external_this_wp_isShallowEqual_ = __webpack_require__(41); +var external_this_wp_isShallowEqual_ = __webpack_require__(45); var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_); // EXTERNAL MODULE: external {"this":["wp","deprecated"]} -var external_this_wp_deprecated_ = __webpack_require__(37); +var external_this_wp_deprecated_ = __webpack_require__(35); var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_deprecated_); // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/format-edit.js @@ -3524,184 +3555,6 @@ var format_edit_FormatEdit = function FormatEdit(_ref) { }; })(format_edit_FormatEdit)); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules -var objectWithoutProperties = __webpack_require__(21); - -// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/aria.js -/** - * External dependencies - */ - - -var aria_isAriaPropName = function isAriaPropName(name) { - return Object(external_this_lodash_["startsWith"])(name, 'aria-'); -}; - -var aria_pickAriaProps = function pickAriaProps(props) { - return Object(external_this_lodash_["pickBy"])(props, function (value, key) { - return aria_isAriaPropName(key) && !Object(external_this_lodash_["isNil"])(value); - }); -}; -var aria_diffAriaProps = function diffAriaProps(props, nextProps) { - var prevAriaKeys = Object(external_this_lodash_["keys"])(aria_pickAriaProps(props)); - var nextAriaKeys = Object(external_this_lodash_["keys"])(aria_pickAriaProps(nextProps)); - var removedKeys = Object(external_this_lodash_["difference"])(prevAriaKeys, nextAriaKeys); - var updatedKeys = nextAriaKeys.filter(function (key) { - return !Object(external_this_lodash_["isEqual"])(props[key], nextProps[key]); - }); - return { - removedKeys: removedKeys, - updatedKeys: updatedKeys - }; -}; - -// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/editable.js - - - - - - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - -/** - * Internal dependencies - */ - - - -var editable_Editable = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(Editable, _Component); - - function Editable() { - var _this; - - Object(classCallCheck["a" /* default */])(this, Editable); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(Editable).call(this)); - _this.bindEditorNode = _this.bindEditorNode.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; - } // We must prevent rerenders because the browser will modify the DOM. React - // will rerender the DOM fine, but we're losing selection and it would be - // more expensive to do so as it would just set the inner HTML through - // `dangerouslySetInnerHTML`. Instead RichText does it's own diffing and - // selection setting. - // - // Because we never update the component, we have to look through props and - // update the attributes on the wrapper nodes here. `componentDidUpdate` - // will never be called. - - - Object(createClass["a" /* default */])(Editable, [{ - key: "shouldComponentUpdate", - value: function shouldComponentUpdate(nextProps) { - var _this2 = this; - - if (!Object(external_this_lodash_["isEqual"])(this.props.style, nextProps.style)) { - this.editorNode.setAttribute('style', ''); - Object.assign(this.editorNode.style, Object(objectSpread["a" /* default */])({}, nextProps.style || {}, { - whiteSpace: 'pre-wrap' - })); - } - - if (!Object(external_this_lodash_["isEqual"])(this.props.className, nextProps.className)) { - this.editorNode.className = nextProps.className; - } - - if (this.props.start !== nextProps.start) { - this.editorNode.setAttribute('start', nextProps.start); - } - - if (this.props.reversed !== nextProps.reversed) { - this.editorNode.reversed = nextProps.reversed; - } - - var _diffAriaProps = aria_diffAriaProps(this.props, nextProps), - removedKeys = _diffAriaProps.removedKeys, - updatedKeys = _diffAriaProps.updatedKeys; - - removedKeys.forEach(function (key) { - return _this2.editorNode.removeAttribute(key); - }); - updatedKeys.forEach(function (key) { - return _this2.editorNode.setAttribute(key, nextProps[key]); - }); - return false; - } - }, { - key: "bindEditorNode", - value: function bindEditorNode(editorNode) { - this.editorNode = editorNode; - this.props.setRef(editorNode); - } - }, { - key: "render", - value: function render() { - var _this$props = this.props, - _this$props$tagName = _this$props.tagName, - tagName = _this$props$tagName === void 0 ? 'div' : _this$props$tagName, - _this$props$style = _this$props.style, - style = _this$props$style === void 0 ? {} : _this$props$style, - record = _this$props.record, - valueToEditableHTML = _this$props.valueToEditableHTML, - className = _this$props.className, - remainingProps = Object(objectWithoutProperties["a" /* default */])(_this$props, ["tagName", "style", "record", "valueToEditableHTML", "className"]); - - delete remainingProps.setRef; // In HTML, leading and trailing spaces are not visible, and multiple - // spaces elsewhere are visually reduced to one space. This rule - // prevents spaces from collapsing so all space is visible in the editor - // and can be removed. - // It also prevents some browsers from inserting non-breaking spaces at - // the end of a line to prevent the space from visually disappearing. - // Sometimes these non breaking spaces can linger in the editor causing - // unwanted non breaking spaces in between words. If also prevent - // Firefox from inserting a trailing `br` node to visualise any trailing - // space, causing the element to be saved. - // - // > Authors are encouraged to set the 'white-space' property on editing - // > hosts and on markup that was originally created through these - // > editing mechanisms to the value 'pre-wrap'. Default HTML whitespace - // > handling is not well suited to WYSIWYG editing, and line wrapping - // > will not work correctly in some corner cases if 'white-space' is - // > left at its default value. - // > - // > https://html.spec.whatwg.org/multipage/interaction.html#best-practices-for-in-page-editors - - var whiteSpace = 'pre-wrap'; - return Object(external_this_wp_element_["createElement"])(tagName, Object(objectSpread["a" /* default */])({ - role: 'textbox', - 'aria-multiline': true, - className: className, - contentEditable: true, - ref: this.bindEditorNode, - style: Object(objectSpread["a" /* default */])({}, style, { - whiteSpace: whiteSpace - }), - suppressContentEditableWarning: true, - dangerouslySetInnerHTML: { - __html: valueToEditableHTML(record) - } - }, remainingProps)); - } - }]); - - return Editable; -}(external_this_wp_element_["Component"]); - - - // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/update-formats.js /** * Internal dependencies @@ -3765,7 +3618,6 @@ function updateFormats(_ref) { - /** * External dependencies */ @@ -3798,7 +3650,6 @@ function updateFormats(_ref) { - /** * Browser dependencies */ @@ -3806,6 +3657,8 @@ function updateFormats(_ref) { var _window = window, getSelection = _window.getSelection, getComputedStyle = _window.getComputedStyle; +/** @typedef {import('@wordpress/element').WPSyntheticEvent} WPSyntheticEvent */ + /** * All inserting input types that would insert HTML into the DOM. * @@ -3815,6 +3668,37 @@ var _window = window, */ var INSERTION_INPUT_TYPES_TO_IGNORE = new Set(['insertParagraph', 'insertOrderedList', 'insertUnorderedList', 'insertHorizontalRule', 'insertLink']); +/** + * In HTML, leading and trailing spaces are not visible, and multiple spaces + * elsewhere are visually reduced to one space. This rule prevents spaces from + * collapsing so all space is visible in the editor and can be removed. It also + * prevents some browsers from inserting non-breaking spaces at the end of a + * line to prevent the space from visually disappearing. Sometimes these non + * breaking spaces can linger in the editor causing unwanted non breaking spaces + * in between words. If also prevent Firefox from inserting a trailing `br` node + * to visualise any trailing space, causing the element to be saved. + * + * > Authors are encouraged to set the 'white-space' property on editing hosts + * > and on markup that was originally created through these editing mechanisms + * > to the value 'pre-wrap'. Default HTML whitespace handling is not well + * > suited to WYSIWYG editing, and line wrapping will not work correctly in + * > some corner cases if 'white-space' is left at its default value. + * + * https://html.spec.whatwg.org/multipage/interaction.html#best-practices-for-in-page-editors + * + * @type {string} + */ + +var whiteSpace = 'pre-wrap'; +/** + * Default style object for the editable element. + * + * @type {Object} + */ + +var defaultStyle = { + whiteSpace: whiteSpace +}; /** * Global stylesheet. */ @@ -3894,8 +3778,6 @@ function (_Component) { _this.createRecord = _this.createRecord.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.applyRecord = _this.applyRecord.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.valueToFormat = _this.valueToFormat.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.setRef = _this.setRef.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.valueToEditableHTML = _this.valueToEditableHTML.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onPointerDown = _this.onPointerDown.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.formatToValue = _this.formatToValue.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.Editable = _this.Editable.bind(Object(assertThisInitialized["a" /* default */])(_this)); @@ -3931,28 +3813,30 @@ function (_Component) { window.cancelAnimationFrame(this.rafId); } }, { - key: "setRef", - value: function setRef(node) { - if (node) { - if (false) { var computedStyle; } + key: "componentDidMount", + value: function componentDidMount() { + if (false) { var computedStyle; } - this.editableRef = node; - } else { - delete this.editableRef; - } + this.applyRecord(this.record, { + domOnly: true + }); } }, { key: "createRecord", value: function createRecord() { - var multilineTag = this.props.__unstableMultilineTag; + var _this$props = this.props, + multilineTag = _this$props.__unstableMultilineTag, + forwardedRef = _this$props.forwardedRef, + preserveWhiteSpace = _this$props.preserveWhiteSpace; var selection = getSelection(); var range = selection.rangeCount > 0 ? selection.getRangeAt(0) : null; return create({ - element: this.editableRef, + element: forwardedRef.current, range: range, multilineTag: multilineTag, multilineWrapperTags: multilineTag === 'li' ? ['ul', 'ol'] : undefined, - __unstableIsEditableTree: true + __unstableIsEditableTree: true, + preserveWhiteSpace: preserveWhiteSpace }); } }, { @@ -3961,10 +3845,12 @@ function (_Component) { var _ref2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, domOnly = _ref2.domOnly; - var multilineTag = this.props.__unstableMultilineTag; + var _this$props2 = this.props, + multilineTag = _this$props2.__unstableMultilineTag, + forwardedRef = _this$props2.forwardedRef; apply({ value: record, - current: this.editableRef, + current: forwardedRef.current, multilineTag: multilineTag, multilineWrapperTags: multilineTag === 'li' ? ['ul', 'ol'] : undefined, prepareEditableTree: createPrepareEditableTree(this.props, 'format_prepare_functions'), @@ -3977,15 +3863,22 @@ function (_Component) { * * Saves the pasted data as plain text in `pastedPlainText`. * - * @param {PasteEvent} event The paste event. + * @param {ClipboardEvent} event The paste event. */ }, { key: "onPaste", value: function onPaste(event) { - var _this$props = this.props, - formatTypes = _this$props.formatTypes, - onPaste = _this$props.onPaste; + var _this$props3 = this.props, + formatTypes = _this$props3.formatTypes, + onPaste = _this$props3.onPaste, + isSelected = _this$props3.__unstableIsSelected; + + if (!isSelected) { + event.preventDefault(); + return; + } + var clipboardData = event.clipboardData; var items = clipboardData.items, files = clipboardData.files; // In Edge these properties can be null instead of undefined, so a more @@ -4037,18 +3930,36 @@ function (_Component) { } if (onPaste) { - // Only process file if no HTML is present. - // Note: a pasted file may have the URL as plain text. - var image = Object(external_this_lodash_["find"])([].concat(Object(toConsumableArray["a" /* default */])(items), Object(toConsumableArray["a" /* default */])(files)), function (_ref4) { - var type = _ref4.type; - return /^image\/(?:jpe?g|png|gif)$/.test(type); + files = Array.from(files); + Array.from(items).forEach(function (item) { + if (!item.getAsFile) { + return; + } + + var file = item.getAsFile(); + + if (!file) { + return; + } + + var name = file.name, + type = file.type, + size = file.size; + + if (!Object(external_this_lodash_["find"])(files, { + name: name, + type: type, + size: size + })) { + files.push(file); + } }); onPaste({ value: this.removeEditorOnlyFormats(record), onChange: this.onChange, html: html, plainText: plainText, - image: image + files: files }); } } @@ -4115,7 +4026,7 @@ function (_Component) { /** * Handle input on the next selection change event. * - * @param {SyntheticEvent} event Synthetic input event. + * @param {WPSyntheticEvent} event Synthetic input event. */ }, { @@ -4164,12 +4075,12 @@ function (_Component) { this.onChange(change, { withoutHistory: true }); - var _this$props2 = this.props, - inputRule = _this$props2.__unstableInputRule, - markAutomaticChange = _this$props2.__unstableMarkAutomaticChange, - formatTypes = _this$props2.formatTypes, - setTimeout = _this$props2.setTimeout, - clearTimeout = _this$props2.clearTimeout; // Create an undo level when input stops for over a second. + var _this$props4 = this.props, + inputRule = _this$props4.__unstableInputRule, + markAutomaticChange = _this$props4.__unstableMarkAutomaticChange, + formatTypes = _this$props4.formatTypes, + setTimeout = _this$props4.setTimeout, + clearTimeout = _this$props4.clearTimeout; // Create an undo level when input stops for over a second. clearTimeout(this.onInput.timeout); this.onInput.timeout = setTimeout(this.onCreateUndoLevel, 1000); // Only run input rules when inserting text. @@ -4182,8 +4093,8 @@ function (_Component) { inputRule(change, this.valueToFormat); } - var transformed = formatTypes.reduce(function (accumlator, _ref5) { - var __unstableInputRule = _ref5.__unstableInputRule; + var transformed = formatTypes.reduce(function (accumlator, _ref4) { + var __unstableInputRule = _ref4.__unstableInputRule; if (__unstableInputRule) { accumlator = __unstableInputRule(accumlator); @@ -4216,7 +4127,7 @@ function (_Component) { * native events, `keyup`, `mouseup` and `touchend` synthetic events, and * animation frames after the `focus` event. * - * @param {Event|SyntheticEvent|DOMHighResTimeStamp} event + * @param {Event|WPSyntheticEvent|DOMHighResTimeStamp} event */ }, { @@ -4224,6 +4135,10 @@ function (_Component) { value: function onSelectionChange(event) { if (event.type !== 'selectionchange' && !this.props.__unstableIsSelected) { return; + } + + if (this.props.disabled) { + return; } // In case of a keyboard event, ignore selection changes during // composition. @@ -4256,10 +4171,10 @@ function (_Component) { return; } - var _this$props3 = this.props, - isCaretWithinFormattedText = _this$props3.__unstableIsCaretWithinFormattedText, - onEnterFormattedText = _this$props3.__unstableOnEnterFormattedText, - onExitFormattedText = _this$props3.__unstableOnExitFormattedText; + var _this$props5 = this.props, + isCaretWithinFormattedText = _this$props5.__unstableIsCaretWithinFormattedText, + onEnterFormattedText = _this$props5.__unstableOnEnterFormattedText, + onExitFormattedText = _this$props5.__unstableOnExitFormattedText; var newValue = Object(objectSpread["a" /* default */])({}, value, { start: start, @@ -4297,7 +4212,7 @@ function (_Component) { key: "recalculateBoundaryStyle", value: function recalculateBoundaryStyle() { var boundarySelector = '*[data-rich-text-format-boundary]'; - var element = this.editableRef.querySelector(boundarySelector); + var element = this.props.forwardedRef.current.querySelector(boundarySelector); if (!element) { return; @@ -4322,8 +4237,8 @@ function (_Component) { }, { key: "onChange", value: function onChange(record) { - var _ref6 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, - withoutHistory = _ref6.withoutHistory; + var _ref5 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, + withoutHistory = _ref5.withoutHistory; this.applyRecord(record); var start = record.start, @@ -4337,9 +4252,11 @@ function (_Component) { changeHandler(record.formats, record.text); }); this.value = this.valueToFormat(record); - this.record = record; - this.props.onChange(this.value); + this.record = record; // Selection must be updated first, so it is recorded in history when + // the content change happens. + this.props.onSelectionChange(start, end); + this.props.onChange(this.value); this.setState({ activeFormats: activeFormats }); @@ -4366,7 +4283,7 @@ function (_Component) { * - delete content if everything is selected, * - trigger the onDelete prop when selection is uncollapsed and at an edge. * - * @param {SyntheticEvent} event A synthetic keyboard event. + * @param {WPSyntheticEvent} event A synthetic keyboard event. */ }, { @@ -4390,31 +4307,37 @@ function (_Component) { return; } - var _this$props4 = this.props, - onDelete = _this$props4.onDelete, - multilineTag = _this$props4.__unstableMultilineTag; + var _this$props6 = this.props, + onDelete = _this$props6.onDelete, + multilineTag = _this$props6.__unstableMultilineTag; var _this$state$activeFor = this.state.activeFormats, activeFormats = _this$state$activeFor === void 0 ? [] : _this$state$activeFor; var value = this.createRecord(); var start = value.start, end = value.end, text = value.text; - var isReverse = keyCode === external_this_wp_keycodes_["BACKSPACE"]; - - if (multilineTag) { - var newValue = removeLineSeparator(value, isReverse); - - if (newValue) { - this.onChange(newValue); - event.preventDefault(); - } - } // Always handle full content deletion ourselves. - + var isReverse = keyCode === external_this_wp_keycodes_["BACKSPACE"]; // Always handle full content deletion ourselves. if (start === 0 && end !== 0 && end === text.length) { this.onChange(remove_remove(value)); event.preventDefault(); return; + } + + if (multilineTag) { + var newValue; // Check to see if we should remove the first item if empty. + + if (isReverse && value.start === 0 && value.end === 0 && isEmptyLine(value)) { + newValue = removeLineSeparator(value, !isReverse); + } else { + newValue = removeLineSeparator(value, isReverse); + } + + if (newValue) { + this.onChange(newValue); + event.preventDefault(); + return; + } } // Only process delete if the key press occurs at an uncollapsed edge. @@ -4431,7 +4354,7 @@ function (_Component) { /** * Triggers the `onEnter` prop on keydown. * - * @param {SyntheticEvent} event A synthetic keyboard event. + * @param {WPSyntheticEvent} event A synthetic keyboard event. */ }, { @@ -4457,7 +4380,7 @@ function (_Component) { /** * Indents list items on space keydown. * - * @param {SyntheticEvent} event A synthetic keyboard event. + * @param {WPSyntheticEvent} event A synthetic keyboard event. */ }, { @@ -4468,9 +4391,9 @@ function (_Component) { altKey = event.altKey, metaKey = event.metaKey, ctrlKey = event.ctrlKey; - var _this$props5 = this.props, - tagName = _this$props5.tagName, - multilineTag = _this$props5.__unstableMultilineTag; + var _this$props7 = this.props, + tagName = _this$props7.tagName, + multilineTag = _this$props7.__unstableMultilineTag; if ( // Only override when no modifiers are pressed. shiftKey || altKey || metaKey || ctrlKey || keyCode !== external_this_wp_keycodes_["SPACE"] || multilineTag !== 'li') { @@ -4501,7 +4424,7 @@ function (_Component) { * navigation is handled separately to move correctly around format * boundaries. * - * @param {SyntheticEvent} event A synthetic keyboard event. + * @param {WPSyntheticEvent} event A synthetic keyboard event. */ }, { @@ -4529,7 +4452,7 @@ function (_Component) { activeFormats = _value$activeFormats === void 0 ? [] : _value$activeFormats; var collapsed = isCollapsed(value); // To do: ideally, we should look at visual position instead. - var _getComputedStyle = getComputedStyle(this.editableRef), + var _getComputedStyle = getComputedStyle(this.props.forwardedRef.current), direction = _getComputedStyle.direction; var reverseKey = direction === 'rtl' ? external_this_wp_keycodes_["RIGHT"] : external_this_wp_keycodes_["LEFT"]; @@ -4626,7 +4549,7 @@ function (_Component) { * Select object when they are clicked. The browser will not set any * selection when clicking e.g. an image. * - * @param {SyntheticEvent} event Synthetic mousedown or touchstart event. + * @param {WPSyntheticEvent} event Synthetic mousedown or touchstart event. */ }, { @@ -4634,7 +4557,7 @@ function (_Component) { value: function onPointerDown(event) { var target = event.target; // If the child element has no text content, it must be an object. - if (target === this.editableRef || target.textContent) { + if (target === this.props.forwardedRef.current || target.textContent) { return; } @@ -4650,15 +4573,17 @@ function (_Component) { }, { key: "componentDidUpdate", value: function componentDidUpdate(prevProps) { - var _this$props6 = this.props, - tagName = _this$props6.tagName, - value = _this$props6.value, - selectionStart = _this$props6.selectionStart, - selectionEnd = _this$props6.selectionEnd, - placeholder = _this$props6.placeholder, - isSelected = _this$props6.__unstableIsSelected; // Check if the content changed. + var _this$props8 = this.props, + tagName = _this$props8.tagName, + value = _this$props8.value, + selectionStart = _this$props8.selectionStart, + selectionEnd = _this$props8.selectionEnd, + placeholder = _this$props8.placeholder, + isSelected = _this$props8.__unstableIsSelected; // Check if tag name changed. - var shouldReapply = tagName === prevProps.tagName && value !== prevProps.value && value !== this.value; // Check if the selection changed. + var shouldReapply = tagName !== prevProps.tagName; // Check if the content changed. + + shouldReapply = shouldReapply || value !== prevProps.value && value !== this.value; // Check if the selection changed. shouldReapply = shouldReapply || isSelected && !prevProps.isSelected && (this.record.start !== selectionStart || this.record.end !== selectionEnd); var prefix = 'format_prepare_props_'; @@ -4697,9 +4622,10 @@ function (_Component) { }, { key: "formatToValue", value: function formatToValue(value) { - var _this$props7 = this.props, - format = _this$props7.format, - multilineTag = _this$props7.__unstableMultilineTag; + var _this$props9 = this.props, + format = _this$props9.format, + multilineTag = _this$props9.__unstableMultilineTag, + preserveWhiteSpace = _this$props9.preserveWhiteSpace; if (format !== 'string') { return value; @@ -4709,22 +4635,12 @@ function (_Component) { value = create({ html: value, multilineTag: multilineTag, - multilineWrapperTags: multilineTag === 'li' ? ['ul', 'ol'] : undefined + multilineWrapperTags: multilineTag === 'li' ? ['ul', 'ol'] : undefined, + preserveWhiteSpace: preserveWhiteSpace }); value.formats = prepare(value); return value; } - }, { - key: "valueToEditableHTML", - value: function valueToEditableHTML(value) { - var multilineTag = this.props.__unstableMultilineTag; - return toDom({ - value: value, - multilineTag: multilineTag, - prepareEditableTree: createPrepareEditableTree(this.props, 'format_prepare_functions'), - placeholder: this.props.placeholder - }).body.innerHTML; - } /** * Removes editor only formats from the value. * @@ -4756,9 +4672,10 @@ function (_Component) { }, { key: "valueToFormat", value: function valueToFormat(value) { - var _this$props8 = this.props, - format = _this$props8.format, - multilineTag = _this$props8.__unstableMultilineTag; + var _this$props10 = this.props, + format = _this$props10.format, + multilineTag = _this$props10.__unstableMultilineTag, + preserveWhiteSpace = _this$props10.preserveWhiteSpace; value = this.removeEditorOnlyFormats(value); if (format !== 'string') { @@ -4767,7 +4684,8 @@ function (_Component) { return toHTMLString({ value: value, - multilineTag: multilineTag + multilineTag: multilineTag, + preserveWhiteSpace: preserveWhiteSpace }); } }, { @@ -4775,25 +4693,28 @@ function (_Component) { value: function Editable(props) { var _this3 = this; - var _this$props9 = this.props, - _this$props9$tagName = _this$props9.tagName, - Tagname = _this$props9$tagName === void 0 ? 'div' : _this$props9$tagName, - style = _this$props9.style, - className = _this$props9.className, - placeholder = _this$props9.placeholder; // Generating a key that includes `tagName` ensures that if the tag - // changes, we replace the relevant element. This is needed because we - // prevent Editable component updates. - - var key = Tagname; - return Object(external_this_wp_element_["createElement"])(editable_Editable, Object(esm_extends["a" /* default */])({}, props, { - tagName: Tagname, - style: style, - record: this.record, - valueToEditableHTML: this.valueToEditableHTML, + var _this$props11 = this.props, + _this$props11$tagName = _this$props11.tagName, + TagName = _this$props11$tagName === void 0 ? 'div' : _this$props11$tagName, + style = _this$props11.style, + className = _this$props11.className, + placeholder = _this$props11.placeholder, + forwardedRef = _this$props11.forwardedRef, + disabled = _this$props11.disabled; + var ariaProps = Object(external_this_lodash_["pickBy"])(this.props, function (value, key) { + return Object(external_this_lodash_["startsWith"])(key, 'aria-'); + }); + return Object(external_this_wp_element_["createElement"])(TagName // Overridable props. + , Object(esm_extends["a" /* default */])({ + role: "textbox", + "aria-multiline": true, "aria-label": placeholder - }, aria_pickAriaProps(this.props), { + }, props, ariaProps, { + ref: forwardedRef, + style: style ? Object(objectSpread["a" /* default */])({}, style, { + whiteSpace: whiteSpace + }) : defaultStyle, className: classnames_default()('rich-text', className), - key: key, onPaste: this.onPaste, onInput: this.onInput, onCompositionEnd: this.onCompositionEnd, @@ -4805,25 +4726,27 @@ function (_Component) { onFocus: this.onFocus, onBlur: this.onBlur, onMouseDown: this.onPointerDown, - onTouchStart: this.onPointerDown, - setRef: this.setRef // Selection updates must be done at these events as they + onTouchStart: this.onPointerDown // Selection updates must be done at these events as they // happen before the `selectionchange` event. In some cases, // the `selectionchange` event may not even fire, for // example when the window receives focus again on click. , onKeyUp: this.onSelectionChange, onMouseUp: this.onSelectionChange, - onTouchEnd: this.onSelectionChange + onTouchEnd: this.onSelectionChange // Do not set the attribute if disabled. + , + contentEditable: disabled ? undefined : true, + suppressContentEditableWarning: !disabled })); } }, { key: "render", value: function render() { - var _this$props10 = this.props, - isSelected = _this$props10.__unstableIsSelected, - children = _this$props10.children, - allowedFormats = _this$props10.allowedFormats, - withoutInteractiveFormatting = _this$props10.withoutInteractiveFormatting; + var _this$props12 = this.props, + isSelected = _this$props12.__unstableIsSelected, + children = _this$props12.children, + allowedFormats = _this$props12.allowedFormats, + withoutInteractiveFormatting = _this$props12.withoutInteractiveFormatting; return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, isSelected && Object(external_this_wp_element_["createElement"])(format_edit, { allowedFormats: allowedFormats, withoutInteractiveFormatting: withoutInteractiveFormatting, @@ -4845,16 +4768,21 @@ component_RichText.defaultProps = { format: 'string', value: '' }; +var RichTextWrapper = Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select) { + return { + formatTypes: select('core/rich-text').getFormatTypes() + }; +}), external_this_wp_compose_["withSafeTimeout"]])(component_RichText); /** * Renders a rich content input, providing users with the option to format the * content. */ -/* harmony default export */ var component = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select) { - return { - formatTypes: select('core/rich-text').getFormatTypes() - }; -}), external_this_wp_compose_["withSafeTimeout"]])(component_RichText)); +/* harmony default export */ var component = (Object(external_this_wp_element_["forwardRef"])(function (props, ref) { + return Object(external_this_wp_element_["createElement"])(RichTextWrapper, Object(esm_extends["a" /* default */])({}, props, { + forwardedRef: ref + })); +})); // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/index.js /* concated harmony reexport applyFormat */__webpack_require__.d(__webpack_exports__, "applyFormat", function() { return applyFormat; }); @@ -4884,6 +4812,8 @@ component_RichText.defaultProps = { /* concated harmony reexport toggleFormat */__webpack_require__.d(__webpack_exports__, "toggleFormat", function() { return toggleFormat; }); /* concated harmony reexport __UNSTABLE_LINE_SEPARATOR */__webpack_require__.d(__webpack_exports__, "__UNSTABLE_LINE_SEPARATOR", function() { return LINE_SEPARATOR; }); /* concated harmony reexport unregisterFormatType */__webpack_require__.d(__webpack_exports__, "unregisterFormatType", function() { return unregisterFormatType; }); +/* concated harmony reexport __unstableCanIndentListItems */__webpack_require__.d(__webpack_exports__, "__unstableCanIndentListItems", function() { return canIndentListItems; }); +/* concated harmony reexport __unstableCanOutdentListItems */__webpack_require__.d(__webpack_exports__, "__unstableCanOutdentListItems", function() { return canOutdentListItems; }); /* concated harmony reexport __unstableIndentListItems */__webpack_require__.d(__webpack_exports__, "__unstableIndentListItems", function() { return indentListItems; }); /* concated harmony reexport __unstableOutdentListItems */__webpack_require__.d(__webpack_exports__, "__unstableOutdentListItems", function() { return outdentListItems; }); /* concated harmony reexport __unstableChangeListType */__webpack_require__.d(__webpack_exports__, "__unstableChangeListType", function() { return changeListType; }); @@ -4925,12 +4855,14 @@ component_RichText.defaultProps = { + + /***/ }), -/***/ 36: +/***/ 38: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -5210,13 +5142,6 @@ function isShallowEqual( a, b, fromIndex ) { }); -/***/ }), - -/***/ 37: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["deprecated"]; }()); - /***/ }), /***/ 4: @@ -5226,14 +5151,21 @@ function isShallowEqual( a, b, fromIndex ) { /***/ }), -/***/ 41: +/***/ 45: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["isShallowEqual"]; }()); /***/ }), -/***/ 5: +/***/ 59: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["escapeHtml"]; }()); + +/***/ }), + +/***/ 6: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -5253,12 +5185,12 @@ function _assertThisInitialized(self) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(source); + var ownKeys = Object.keys(Object(source)); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -5276,18 +5208,33 @@ function _objectSpread(target) { /***/ }), -/***/ 70: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["escapeHtml"]; }()); - -/***/ }), - /***/ 8: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["compose"]; }()); +/***/ }), + +/***/ 9: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/rich-text.min.js b/wp-includes/js/dist/rich-text.min.js index ad00b851d5..4e8ec6b65a 100644 --- a/wp-includes/js/dist/rich-text.min.js +++ b/wp-includes/js/dist/rich-text.min.js @@ -1,7 +1,7 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.richText=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=346)}({0:function(e,t){!function(){e.exports=this.wp.element}()},10:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},11:function(e,t,n){"use strict";function r(e,t){for(var n=0;n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}n.d(t,"a",(function(){return r}))},27:function(e,t){!function(){e.exports=this.wp.hooks}()},30:function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},31:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e){return(a="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}n.d(t,"a",(function(){return a}))},346:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"getFormatTypes",(function(){return u})),n.d(r,"getFormatType",(function(){return f})),n.d(r,"getFormatTypeForBareElement",(function(){return d})),n.d(r,"getFormatTypeForClassName",(function(){return p}));var a={};n.r(a),n.d(a,"addFormatTypes",(function(){return h})),n.d(a,"removeFormatTypes",(function(){return m}));var o=n(4),i=n(7),c=n(2);var s=Object(o.combineReducers)({formatTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_FORMAT_TYPES":return Object(i.a)({},e,Object(c.keyBy)(t.formatTypes,"name"));case"REMOVE_FORMAT_TYPES":return Object(c.omit)(e,t.names)}return e}}),l=n(36),u=Object(l.a)((function(e){return Object.values(e.formatTypes)}),(function(e){return[e.formatTypes]}));function f(e,t){return e.formatTypes[t]}function d(e,t){return Object(c.find)(u(e),(function(e){var n=e.className,r=e.tagName;return null===n&&t===r}))}function p(e,t){return Object(c.find)(u(e),(function(e){var n=e.className;return null!==n&&" ".concat(t," ").indexOf(" ".concat(n," "))>=0}))}function h(e){return{type:"ADD_FORMAT_TYPES",formatTypes:Object(c.castArray)(e)}}function m(e){return{type:"REMOVE_FORMAT_TYPES",names:Object(c.castArray)(e)}}Object(o.registerStore)("core/rich-text",{reducer:s,selectors:r,actions:a});var v=n(17);function b(e,t){if(e===t)return!0;if(!e||!t)return!1;if(e.type!==t.type)return!1;var n=e.attributes,r=t.attributes;if(n===r)return!0;if(!n||!r)return!1;var a=Object.keys(n),o=Object.keys(r);if(a.length!==o.length)return!1;for(var i=a.length,c=0;c2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,a=e.formats,o=e.activeFormats,s=a.slice();if(n===r){var l=Object(c.find)(s[n],{type:t.type});if(l){for(var u=s[n].indexOf(l);s[n]&&s[n][u]===l;)s[n]=y(s[n],u,t),n--;for(r++;s[r]&&s[r][u]===l;)s[r]=y(s[r],u,t),r++}}else{for(var f=1/0,d=n;d0&&void 0!==arguments[0]?arguments[0]:{},t=e.element,n=e.text,r=e.html,a=e.range,o=e.multilineTag,i=e.multilineWrapperTags,c=e.__unstableIsEditableTree;return"string"==typeof n&&n.length>0?{formats:Array(n.length),replacements:Array(n.length),text:n}:("string"==typeof r&&r.length>0&&(t=j(document,r)),"object"!==Object(T.a)(t)?{formats:[],replacements:[],text:""}:o?D({element:t,range:a,multilineTag:o,multilineWrapperTags:i,isEditableTree:c}):P({element:t,range:a,isEditableTree:c}))}function A(e,t,n,r){if(n){var a=t.parentNode,o=n.startContainer,i=n.startOffset,c=n.endContainer,s=n.endOffset,l=e.text.length;void 0!==r.start?e.start=l+r.start:t===o&&t.nodeType===w?e.start=l+i:a===o&&t===o.childNodes[i]?e.start=l:a===o&&t===o.childNodes[i-1]?e.start=l+r.text.length:t===o&&(e.start=l),void 0!==r.end?e.end=l+r.end:t===c&&t.nodeType===w?e.end=l+s:a===c&&t===c.childNodes[s-1]?e.end=l+r.text.length:a===c&&t===c.childNodes[s]?e.end=l:t===c&&(e.end=l+s)}}var k=new RegExp(_,"g");function R(e){return e.replace(/[\n\r\t]+/g," ").replace(k,"")}function P(e){var t=e.element,n=e.range,r=e.multilineTag,a=e.multilineWrapperTags,c=e.currentWrapperTags,s=void 0===c?[]:c,l=e.isEditableTree,u={formats:[],replacements:[],text:""};if(!t)return u;if(!t.hasChildNodes())return A(u,t,n,{formats:[],replacements:[],text:""}),u;for(var f=t.childNodes.length,d=function(e){var c=t.childNodes[e],f=c.nodeName.toLowerCase();if(c.nodeType===w){var d=R(c.nodeValue);return n=function(e,t,n){if(t){var r=t.startContainer,a=t.endContainer,o=t.startOffset,i=t.endOffset;return e===r&&(o=n(e.nodeValue.slice(0,o)).length),e===a&&(i=n(e.nodeValue.slice(0,i)).length),{startContainer:r,startOffset:o,endContainer:a,endOffset:i}}}(c,n,R),A(u,c,n,{text:d}),u.formats.length+=d.length,u.replacements.length+=d.length,u.text+=d,"continue"}if(c.nodeType!==F)return"continue";if(l&&(c.getAttribute("data-rich-text-placeholder")||"br"===f&&!c.getAttribute("data-rich-text-line-break")))return A(u,c,n,{formats:[],replacements:[],text:""}),"continue";if("br"===f)return A(u,c,n,{formats:[],replacements:[],text:""}),I(u,S({text:"\n"})),"continue";var p=u.formats[u.formats.length-1],h=p&&p[p.length-1],m=function(e){var t,n=e.type,r=e.attributes;if(r&&r.class&&(t=Object(o.select)("core/rich-text").getFormatTypeForClassName(r.class))&&(r.class=" ".concat(r.class," ").replace(" ".concat(t.className," ")," ").trim(),r.class||delete r.class),t||(t=Object(o.select)("core/rich-text").getFormatTypeForBareElement(n)),!t)return r?{type:n,attributes:r}:{type:n};if(t.__experimentalCreatePrepareEditableTree&&!t.__experimentalCreateOnChangeEditableValue)return null;if(!r)return{type:t.name};var a={},i={};for(var c in r){var s=N(t.attributes,c);s?a[s]=r[c]:i[c]=r[c]}return{type:t.name,attributes:a,unregisteredAttributes:i}}({type:f,attributes:L({element:c})}),g=b(m,h)?h:m;if(a&&-1!==a.indexOf(f)){var y=D({element:c,range:n,multilineTag:r,multilineWrapperTags:a,currentWrapperTags:[].concat(Object(v.a)(s),[g]),isEditableTree:l});return A(u,c,n,y),I(u,y),"continue"}var O=P({element:c,range:n,multilineTag:r,multilineWrapperTags:a,isEditableTree:l});A(u,c,n,O),g?0===O.text.length?g.attributes&&I(u,{formats:[,],replacements:[g],text:E}):I(u,Object(i.a)({},O,{formats:Array.from(O.formats,(function(e){return e?[g].concat(Object(v.a)(e)):[g]}))})):I(u,O)},p=0;p0)&&I(s,{formats:[,],replacements:i.length>0?[i]:[,],text:x}),A(s,f,n,d),I(s,d)}}return s}function L(e){var t=e.element;if(t.hasAttributes()){for(var n,r=t.attributes.length,a=0;a1&&void 0!==arguments[1]?arguments[1]:t;r--;)if(n[r]===x)return r}function U(e){var t=e.replacements[V(e,e.start)];return!t||t.length<1}function z(e,t,n){var r=e.replacements[V(e,e.start)];return r&&0!==r.length?r[r.length-1].type===t:t===n}function q(e){var t=e.start,n=e.end;if(void 0!==t&&void 0!==n)return t===n}function G(e){return 0===e.text.length}function Y(e){var t=e.text,n=e.start,r=e.end;return n===r&&(0===t.length||(0===n&&t.slice(0,1)===x||(n===t.length&&t.slice(-1)===x||t.slice(n-1,r+1)==="".concat(x).concat(x))))}function $(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"string"==typeof t&&(t=S({text:t})),g(e.reduce((function(e,n){var r=n.formats,a=n.replacements,o=n.text;return{formats:e.formats.concat(t.formats,r),replacements:e.replacements.concat(t.replacements,a),text:e.text+t.text+o}})))}var X=n(0),Z=n(27),J=n(8);function Q(e,t){if("string"==typeof(t=Object(i.a)({name:e},t)).name)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(t.name))if(Object(o.select)("core/rich-text").getFormatType(t.name))window.console.error('Format "'+t.name+'" is already registered.');else if("string"==typeof t.tagName&&""!==t.tagName)if("string"==typeof t.className&&""!==t.className||null===t.className)if(/^[_a-zA-Z]+[a-zA-Z0-9-]*$/.test(t.className)){if(null===t.className){var n=Object(o.select)("core/rich-text").getFormatTypeForBareElement(t.tagName);if(n)return void window.console.error('Format "'.concat(n.name,'" is already registered to handle bare tag name "').concat(t.tagName,'".'))}else{var r=Object(o.select)("core/rich-text").getFormatTypeForClassName(t.className);if(r)return void window.console.error('Format "'.concat(r.name,'" is already registered to handle class name "').concat(t.className,'".'))}if("title"in t&&""!==t.title)if("keywords"in t&&t.keywords.length>3)window.console.error('The format "'+t.name+'" can have a maximum of 3 keywords.');else{if("string"==typeof t.title)return Object(o.dispatch)("core/rich-text").addFormatTypes(t),t.__experimentalCreatePrepareEditableTree&&Object(Z.addFilter)("experimentalRichText",e,(function(n){var r="format_prepare_props_(".concat(e,")_"),a="format_on_change_props_(".concat(e,")_"),s=function(o){var c=Object(i.a)({},o),s=Object.keys(o).reduce((function(e,t){return t.startsWith(r)&&(e[t.slice(r.length)]=o[t]),t.startsWith(a)&&(e[t.slice(a.length)]=o[t]),e}),{}),l={richTextIdentifier:o.identifier,blockClientId:o.clientId};return t.__experimentalCreateOnChangeEditableValue?(c["format_value_functions_(".concat(e,")")]=t.__experimentalCreatePrepareEditableTree(s,l),c["format_on_change_functions_(".concat(e,")")]=t.__experimentalCreateOnChangeEditableValue(s,l)):c["format_prepare_functions_(".concat(e,")")]=t.__experimentalCreatePrepareEditableTree(s,l),Object(X.createElement)(n,c)},l=[];return t.__experimentalGetPropsForEditableTreePreparation&&l.push(Object(o.withSelect)((function(e,n){var a=n.clientId,o=n.identifier;return Object(c.mapKeys)(t.__experimentalGetPropsForEditableTreePreparation(e,{richTextIdentifier:o,blockClientId:a}),(function(e,t){return r+t}))}))),t.__experimentalGetPropsForEditableTreeChangeHandler&&l.push(Object(o.withDispatch)((function(e,n){var r=n.clientId,o=n.identifier;return Object(c.mapKeys)(t.__experimentalGetPropsForEditableTreeChangeHandler(e,{richTextIdentifier:o,blockClientId:r}),(function(e,t){return a+t}))}))),l.length?Object(J.compose)(l)(s):s})),t;window.console.error("Format titles must be strings.")}else window.console.error('The format "'+t.name+'" must have a title.')}else window.console.error("A class name must begin with a letter, followed by any number of hyphens, letters, or numbers.");else window.console.error("Format class names must be a string, or null to handle bare elements.");else window.console.error("Format tag names must be a string.");else window.console.error("Format names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-format");else window.console.error("Format names must be strings.")}function ee(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,a=e.formats,o=e.activeFormats,s=a.slice();if(n===r){var l=Object(c.find)(s[n],{type:t});if(l){for(;Object(c.find)(s[n],l);)te(s,n,t),n--;for(r++;Object(c.find)(s[r],l);)te(s,r,t),r++}}else for(var u=n;u2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,a=e.formats,o=e.replacements,i=e.text;"string"==typeof t&&(t=S({text:t}));var c=n+t.text.length;return g({formats:a.slice(0,n).concat(t.formats,a.slice(r)),replacements:o.slice(0,n).concat(t.replacements,o.slice(r)),text:i.slice(0,n)+t.text+i.slice(r),start:c,end:c})}function re(e,t,n){return ne(e,S(),t,n)}function ae(e,t,n){var r=e.formats,a=e.replacements,o=e.text,i=e.start,c=e.end;return o=o.replace(t,(function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),s=1;s1&&void 0!==arguments[1]?arguments[1]:e.start,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,r=B(e).slice(0,t).lastIndexOf(x),a=e.replacements[r],o=[,];return a&&(o=[a]),ne(e,{formats:[,],replacements:o,text:x},t,n)}function ie(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.replacements,r=e.text,a=e.start,o=e.end,c=q(e),s=a-1,l=c?a-1:a,u=o;if(t||(s=o,l=a,u=c?o+1:o),r[s]===x){var f;if(c&&n[s]&&n[s].length){var d=n.slice();d[s]=n[s].slice(0,-1),f=Object(i.a)({},e,{replacements:d})}else f=re(e,l,u);return f}}var ce="";function se(e,t,n,r){return ne(e,{formats:[,],replacements:[t],text:ce},n,r)}function le(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.start,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,r=e.formats,a=e.replacements,o=e.text;return void 0===t||void 0===n?Object(i.a)({},e):{formats:r.slice(t,n),replacements:a.slice(t,n),text:o.slice(t,n)}}function ue(e,t){var n=e.formats,r=e.replacements,a=e.text,o=e.start,i=e.end;if("string"!=typeof t)return fe.apply(void 0,arguments);var c=0;return a.split(t).map((function(e){var a=c,s={formats:n.slice(a,a+e.length),replacements:r.slice(a,a+e.length),text:e};return c+=t.length+e.length,void 0!==o&&void 0!==i&&(o>=a&&oa&&(s.start=0),i>=a&&ic&&(s.end=e.length)),s}))}function fe(e){var t=e.formats,n=e.replacements,r=e.text,a=e.start,o=e.end,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,s={formats:t.slice(0,i),replacements:n.slice(0,i),text:r.slice(0,i)},l={formats:t.slice(c),replacements:n.slice(c),text:r.slice(c),start:0,end:0};return[ae(s,/\u2028+$/,""),ae(l,/^\u2028+/,"")]}function de(e){var t=e.type,n=e.attributes,r=e.unregisteredAttributes,a=e.object,c=e.boundaryClass,s=function(e){return Object(o.select)("core/rich-text").getFormatType(e)}(t),l={};if(c&&(l["data-rich-text-format-boundary"]="true"),!s)return n&&(l=Object(i.a)({},n,l)),{type:t,attributes:l,object:a};for(var u in l=Object(i.a)({},r,l),n){var f=!!s.attributes&&s.attributes[u];f?l[f]=n[u]:l[u]=n[u]}return s.className&&(l.class?l.class="".concat(s.className," ").concat(l.class):l.class=s.className),{type:s.tagName,object:s.object,attributes:l}}function pe(e){var t,n,r,a=e.value,o=e.multilineTag,c=e.createEmpty,s=e.append,l=e.getLastChild,u=e.getParent,f=e.isText,d=e.getText,p=e.remove,h=e.appendText,m=e.onStartIndex,b=e.onEndIndex,g=e.isEditableTree,y=e.placeholder,O=a.formats,T=a.replacements,j=a.text,C=a.start,w=a.end,F=O.length+1,N=c(),S={type:o},A=H(a),k=A[A.length-1];o?(s(s(N,{type:o}),""),n=t=[S]):s(N,"");for(var R=function(e){var a=j.charAt(e),c=g&&(!r||r===x||"\n"===r),F=O[e];o&&(F=a===x?t=(T[e]||[]).reduce((function(e,t){return e.push(t,S),e}),[S]):[].concat(Object(v.a)(t),Object(v.a)(F||[])));var A=l(N);if(c&&a===x){for(var R=A;!f(R);)R=l(R);s(u(R),_)}if(r===x){for(var P=A;!f(P);)P=l(P);m&&C===e&&m(N,P),b&&w===e&&b(N,P)}if(F&&F.forEach((function(e,t){if(!A||!n||e!==n[t]||a===x&&F.length-1===t){var r=e.type,o=e.attributes,i=e.unregisteredAttributes,c=g&&a!==x&&e===k,h=u(A),m=s(h,de({type:r,attributes:o,unregisteredAttributes:i,boundaryClass:c}));f(A)&&0===d(A).length&&p(A),A=s(m,"")}else A=l(A)})),a===x)return n=F,r=a,"continue";0===e&&(m&&0===C&&m(N,A),b&&0===w&&b(N,A)),a===E?(A=s(u(A),de(Object(i.a)({},T[e],{object:!0}))),A=s(u(A),"")):"\n"===a?(A=s(u(A),{type:"br",attributes:g?{"data-rich-text-line-break":"true"}:void 0,object:!0}),A=s(u(A),"")):f(A)?h(A,a):A=s(u(A),a),m&&C===e+1&&m(N,A),b&&w===e+1&&b(N,A),c&&e===j.length&&(s(u(A),_),y&&0===j.length&&s(u(A),{type:"span",attributes:{"data-rich-text-placeholder":y,contenteditable:"false"}})),n=F,r=a},P=0;P1;)e=e.childNodes[t.shift()];return{node:e,offset:t[0]}}var be=function(){return j(document,"")};function ge(e,t){"string"==typeof t&&(t=e.ownerDocument.createTextNode(t));var n=t,r=n.type,a=n.attributes;if(r)for(var o in t=e.ownerDocument.createElement(r),a)t.setAttribute(o,a[o]);return e.appendChild(t)}function ye(e,t){e.appendData(t)}function Oe(e){return e.lastChild}function Te(e){return e.parentNode}function je(e){return e.nodeType===he}function xe(e){return e.nodeValue}function Ee(e){return e.parentNode.removeChild(e)}function _e(e){var t=e.value,n=e.multilineTag,r=e.prepareEditableTree,a=e.isEditableTree,o=void 0===a||a,c=e.placeholder,s=[],l=[];return r&&(t=Object(i.a)({},t,{formats:r(t)})),{body:pe({value:t,multilineTag:n,createEmpty:be,append:ge,getLastChild:Oe,getParent:Te,isText:je,getText:xe,remove:Ee,appendText:ye,onStartIndex:function(e,t){s=me(t,e,[t.nodeValue.length])},onEndIndex:function(e,t){l=me(t,e,[t.nodeValue.length])},isEditableTree:o,placeholder:c}),selection:{startPath:s,endPath:l}}}function Ce(e){var t=e.value,n=e.current,r=e.multilineTag,a=e.prepareEditableTree,o=e.__unstableDomOnly,i=_e({value:t,multilineTag:r,prepareEditableTree:a,placeholder:e.placeholder}),c=i.body,s=i.selection;!function e(t,n){var r=0;var a;for(;a=t.firstChild;){var o=n.childNodes[r];if(o)if(o.isEqualNode(a))t.removeChild(a);else if(o.nodeName!==a.nodeName||o.nodeType===he&&o.data!==a.data)n.replaceChild(a,o);else{var i=o.attributes,c=a.attributes;if(i)for(var s=i.length;s--;){var l=i[s].name;a.getAttribute(l)||o.removeAttribute(l)}if(c)for(var u=0;u0){if(p=d,h=u.getRangeAt(0),p.startContainer===h.startContainer&&p.startOffset===h.startOffset&&p.endContainer===h.endContainer&&p.endOffset===h.endOffset)return;u.removeAllRanges()}var p,h;u.addRange(d)}(s,n)}var we=n(70);function Fe(e){return Ie(pe({value:e.value,multilineTag:e.multilineTag,createEmpty:Ne,append:Ae,getLastChild:Se,getParent:Re,isText:Pe,getText:De,remove:Le,appendText:ke}).children)}function Ne(){return{}}function Se(e){var t=e.children;return t&&t[t.length-1]}function Ae(e,t){return"string"==typeof t&&(t={text:t}),t.parent=e,e.children=e.children||[],e.children.push(t),t}function ke(e,t){e.text+=t}function Re(e){return e.parent}function Pe(e){return"string"==typeof e.text}function De(e){return e.text}function Le(e){var t=e.parent.children.indexOf(e);return-1!==t&&e.parent.children.splice(t,1),e}function Ie(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(e){return void 0===e.text?function(e){var t=e.type,n=e.attributes,r=e.object,a=e.children,o="";for(var i in n)Object(we.isValidAttributeName)(i)&&(o+=" ".concat(i,'="').concat(Object(we.escapeAttribute)(n[i]),'"'));return r?"<".concat(t).concat(o,">"):"<".concat(t).concat(o,">").concat(Ie(a),"")}(e):Object(we.escapeHTML)(e.text)})).join("")}function Me(e,t){return W(e,t.type)?ee(e,t.type):O(e,t)}function He(e){var t=Object(o.select)("core/rich-text").getFormatType(e);if(t)return t.__experimentalCreatePrepareEditableTree&&Object(Z.removeFilter)("experimentalRichText",e),Object(o.dispatch)("core/rich-text").removeFormatTypes(e),t;window.console.error("Format ".concat(e," is not registered."))}function We(e,t){var n=V(e);if(void 0===n)return e;var r=e.text,a=e.replacements,o=e.end,c=V(e,n),s=a[n]||[],l=a[c]||[];if(s.length>l.length)return e;for(var u=a.slice(),f=function(e,t){for(var n=e.text,r=e.replacements,a=r[t]||[],o=t;o-- >=0;)if(n[o]===x){var i=r[o]||[];if(i.length===a.length+1)return o;if(i.length<=a.length)return}}(e,n),d=n;d=0;){if(n[o]===x)if((r[o]||[]).length===a.length-1)return o}}function Be(e){var t=e.text,n=e.replacements,r=e.start,a=e.end,o=V(e,r);if(void 0===n[o])return e;for(var c=n.slice(0),s=n[Ke(e,o)]||[],l=function(e,t){for(var n=e.text,r=e.replacements,a=r[t]||[],o=t,i=t||0;i=a.length))return o;o=i}return o}(e,V(e,a)),u=o;u<=l;u++)if(t[u]===x){var f=c[u]||[];c[u]=s.concat(f.slice(s.length+1)),0===c[u].length&&delete c[u]}return Object(i.a)({},e,{replacements:c})}function Ve(e,t){for(var n,r=e.text,a=e.replacements,o=e.start,c=e.end,s=V(e,o),l=a[s]||[],u=a[V(e,c)]||[],f=Ke(e,s),d=a.slice(),p=l.length-1,h=u.length-1,m=f+1||0;mh?e:t})))}return n?Object(i.a)({},e,{replacements:d}):e}var Ue=n(18),ze=n(12),qe=n(11),Ge=n(13),Ye=n(14),$e=n(5),Xe=n(15),Ze=n(16),Je=n.n(Ze),Qe=n(19),et=n(41),tt=n.n(et),nt=n(37),rt=n.n(nt),at=new Set(["a","audio","button","details","embed","iframe","input","label","select","textarea","video"]),ot=Object(o.withSelect)((function(e){return{formatTypes:e("core/rich-text").getFormatTypes()}}))((function(e){var t=e.formatTypes,n=e.onChange,r=e.value,a=e.allowedFormats,o=e.withoutInteractiveFormatting;return t.map((function(e){var t=e.name,i=e.edit,c=e.tagName;if(!i)return null;if(a&&-1===a.indexOf(t))return null;if(o&&at.has(c))return null;var s=W(r,t),l=void 0!==s,u=K(r),f=void 0!==u&&u.type===t;return Object(X.createElement)(i,{key:t,isActive:l,activeAttributes:l&&s.attributes||{},isObjectActive:f,activeObjectAttributes:f&&u.attributes||{},value:r,onChange:n})}))})),it=n(21),ct=function(e){return Object(c.pickBy)(e,(function(e,t){return n=t,Object(c.startsWith)(n,"aria-")&&!Object(c.isNil)(e);var n}))},st=function(e){function t(){var e;return Object(ze.a)(this,t),(e=Object(Ge.a)(this,Object(Ye.a)(t).call(this))).bindEditorNode=e.bindEditorNode.bind(Object($e.a)(e)),e}return Object(Xe.a)(t,e),Object(qe.a)(t,[{key:"shouldComponentUpdate",value:function(e){var t=this;Object(c.isEqual)(this.props.style,e.style)||(this.editorNode.setAttribute("style",""),Object.assign(this.editorNode.style,Object(i.a)({},e.style||{},{whiteSpace:"pre-wrap"}))),Object(c.isEqual)(this.props.className,e.className)||(this.editorNode.className=e.className),this.props.start!==e.start&&this.editorNode.setAttribute("start",e.start),this.props.reversed!==e.reversed&&(this.editorNode.reversed=e.reversed);var n=function(e,t){var n=Object(c.keys)(ct(e)),r=Object(c.keys)(ct(t));return{removedKeys:Object(c.difference)(n,r),updatedKeys:r.filter((function(n){return!Object(c.isEqual)(e[n],t[n])}))}}(this.props,e),r=n.removedKeys,a=n.updatedKeys;return r.forEach((function(e){return t.editorNode.removeAttribute(e)})),a.forEach((function(n){return t.editorNode.setAttribute(n,e[n])})),!1}},{key:"bindEditorNode",value:function(e){this.editorNode=e,this.props.setRef(e)}},{key:"render",value:function(){var e=this.props,t=e.tagName,n=void 0===t?"div":t,r=e.style,a=void 0===r?{}:r,o=e.record,c=e.valueToEditableHTML,s=e.className,l=Object(it.a)(e,["tagName","style","record","valueToEditableHTML","className"]);delete l.setRef;return Object(X.createElement)(n,Object(i.a)({role:"textbox","aria-multiline":!0,className:s,contentEditable:!0,ref:this.bindEditorNode,style:Object(i.a)({},a,{whiteSpace:"pre-wrap"}),suppressContentEditableWarning:!0,dangerouslySetInnerHTML:{__html:c(o)}},l))}}]),t}(X.Component);var lt=window,ut=lt.getSelection,ft=lt.getComputedStyle,dt=new Set(["insertParagraph","insertOrderedList","insertUnorderedList","insertHorizontalRule","insertLink"]),pt=document.createElement("style");function ht(e,t){var n=Object.keys(e).reduce((function(n,r){return r.startsWith(t)&&n.push(e[r]),n}),[]);return function(e){return n.reduce((function(t,n){return n(t,e.text)}),e.formats)}}document.head.appendChild(pt);var mt=function(e){function t(e){var n,r=e.value,a=e.selectionStart,o=e.selectionEnd;return Object(ze.a)(this,t),(n=Object(Ge.a)(this,Object(Ye.a)(t).apply(this,arguments))).onFocus=n.onFocus.bind(Object($e.a)(n)),n.onBlur=n.onBlur.bind(Object($e.a)(n)),n.onChange=n.onChange.bind(Object($e.a)(n)),n.handleDelete=n.handleDelete.bind(Object($e.a)(n)),n.handleEnter=n.handleEnter.bind(Object($e.a)(n)),n.handleSpace=n.handleSpace.bind(Object($e.a)(n)),n.handleHorizontalNavigation=n.handleHorizontalNavigation.bind(Object($e.a)(n)),n.onPaste=n.onPaste.bind(Object($e.a)(n)),n.onCreateUndoLevel=n.onCreateUndoLevel.bind(Object($e.a)(n)),n.onInput=n.onInput.bind(Object($e.a)(n)),n.onCompositionEnd=n.onCompositionEnd.bind(Object($e.a)(n)),n.onSelectionChange=n.onSelectionChange.bind(Object($e.a)(n)),n.createRecord=n.createRecord.bind(Object($e.a)(n)),n.applyRecord=n.applyRecord.bind(Object($e.a)(n)),n.valueToFormat=n.valueToFormat.bind(Object($e.a)(n)),n.setRef=n.setRef.bind(Object($e.a)(n)),n.valueToEditableHTML=n.valueToEditableHTML.bind(Object($e.a)(n)),n.onPointerDown=n.onPointerDown.bind(Object($e.a)(n)),n.formatToValue=n.formatToValue.bind(Object($e.a)(n)),n.Editable=n.Editable.bind(Object($e.a)(n)),n.onKeyDown=function(e){e.defaultPrevented||(n.handleDelete(e),n.handleEnter(e),n.handleSpace(e),n.handleHorizontalNavigation(e))},n.state={},n.lastHistoryValue=r,n.value=r,n.record=n.formatToValue(r),n.record.start=a,n.record.end=o,n}return Object(Xe.a)(t,e),Object(qe.a)(t,[{key:"componentWillUnmount",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange),window.cancelAnimationFrame(this.rafId)}},{key:"setRef",value:function(e){e?this.editableRef=e:delete this.editableRef}},{key:"createRecord",value:function(){var e=this.props.__unstableMultilineTag,t=ut(),n=t.rangeCount>0?t.getRangeAt(0):null;return S({element:this.editableRef,range:n,multilineTag:e,multilineWrapperTags:"li"===e?["ul","ol"]:void 0,__unstableIsEditableTree:!0})}},{key:"applyRecord",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.domOnly,r=this.props.__unstableMultilineTag;Ce({value:e,current:this.editableRef,multilineTag:r,multilineWrapperTags:"li"===r?["ul","ol"]:void 0,prepareEditableTree:ht(this.props,"format_prepare_functions"),__unstableDomOnly:n,placeholder:this.props.placeholder})}},{key:"onPaste",value:function(e){var t=this.props,n=t.formatTypes,r=t.onPaste,a=e.clipboardData,o=a.items,i=a.files;o=Object(c.isNil)(o)?[]:o,i=Object(c.isNil)(i)?[]:i;var s="",l="";try{s=a.getData("text/plain"),l=a.getData("text/html")}catch(e){try{l=a.getData("Text")}catch(e){return}}e.preventDefault(),window.console.log("Received HTML:\n\n",l),window.console.log("Received plain text:\n\n",s);var u=this.record,f=n.reduce((function(e,t){var n=t.__unstablePasteRule;return n&&e===u&&(e=n(u,{html:l,plainText:s})),e}),u);if(f===u){if(r){var d=Object(c.find)([].concat(Object(v.a)(o),Object(v.a)(i)),(function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)}));r({value:this.removeEditorOnlyFormats(u),onChange:this.onChange,html:l,plainText:s,image:d})}}else this.onChange(f)}},{key:"onFocus",value:function(){var e=this.props.unstableOnFocus;e&&e(),this.recalculateBoundaryStyle();this.record=Object(i.a)({},this.record,{start:void 0,end:void 0,activeFormats:void 0}),this.props.onSelectionChange(void 0,void 0),this.setState({activeFormats:void 0}),this.rafId=window.requestAnimationFrame(this.onSelectionChange),document.addEventListener("selectionchange",this.onSelectionChange),this.props.setFocusedElement&&(rt()("wp.blockEditor.RichText setFocusedElement prop",{alternative:"selection state from the block editor store."}),this.props.setFocusedElement(this.props.instanceId))}},{key:"onBlur",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"onInput",value:function(e){var t;if(e&&e.nativeEvent&&e.nativeEvent.isComposing)document.removeEventListener("selectionchange",this.onSelectionChange);else if(e&&(t=e.inputType),t||(t=e.nativeEvent.inputType),!t||0!==t.indexOf("format")&&!dt.has(t)){var n=this.createRecord(),r=this.record,a=r.start,o=r.activeFormats,c=void 0===o?[]:o,s=function(e){var t=e.value,n=e.start,r=e.end,a=e.formats,o=t.formats[n-1]||[],i=t.formats[r]||[];for(t.activeFormats=a.map((function(e,t){if(o[t]){if(b(e,o[t]))return o[t]}else if(i[t]&&b(e,i[t]))return i[t];return e}));--r>=n;)t.activeFormats.length>0?t.formats[r]=t.activeFormats:delete t.formats[r];return t}({value:n,start:a,end:n.start,formats:c});this.onChange(s,{withoutHistory:!0});var l=this.props,u=l.__unstableInputRule,f=l.__unstableMarkAutomaticChange,d=l.formatTypes,p=l.setTimeout;if((0,l.clearTimeout)(this.onInput.timeout),this.onInput.timeout=p(this.onCreateUndoLevel,1e3),"insertText"===t){u&&u(s,this.valueToFormat);var h=d.reduce((function(e,t){var n=t.__unstableInputRule;return n&&(e=n(e)),e}),s);h!==s&&(this.onCreateUndoLevel(),this.onChange(Object(i.a)({},h,{activeFormats:c})),f())}}else this.applyRecord(this.record)}},{key:"onCompositionEnd",value:function(){this.onInput({inputType:"insertText"}),document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"onSelectionChange",value:function(e){if(("selectionchange"===e.type||this.props.__unstableIsSelected)&&(!e.nativeEvent||!e.nativeEvent.isComposing)){var t=this.createRecord(),n=t.start,r=t.end,a=t.text,o=this.record;if(a===o.text)if(n!==o.start||r!==o.end){var c=this.props,s=c.__unstableIsCaretWithinFormattedText,l=c.__unstableOnEnterFormattedText,u=c.__unstableOnExitFormattedText,f=Object(i.a)({},o,{start:n,end:r,activeFormats:void 0}),d=H(f);f.activeFormats=d,!s&&d.length?l():s&&!d.length&&u(),this.record=f,this.applyRecord(f,{domOnly:!0}),this.props.onSelectionChange(n,r),this.setState({activeFormats:d}),d.length>0&&this.recalculateBoundaryStyle()}else 0===o.text.length&&0===n&&function(){var e=window.getSelection(),t=e.anchorNode,n=e.anchorOffset;if(t.nodeType===t.ELEMENT_NODE){var r=t.childNodes[n];r&&r.nodeType===r.ELEMENT_NODE&&r.getAttribute("data-rich-text-placeholder")&&e.collapseToStart()}}();else this.onInput()}}},{key:"recalculateBoundaryStyle",value:function(){var e=this.editableRef.querySelector("*[data-rich-text-format-boundary]");if(e){var t=ft(e).color.replace(")",", 0.2)").replace("rgb","rgba"),n=".rich-text:focus ".concat("*[data-rich-text-format-boundary]"),r="background-color: ".concat(t);pt.innerHTML="".concat(n," {").concat(r,"}")}}},{key:"onChange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.withoutHistory;this.applyRecord(e);var r=e.start,a=e.end,o=e.activeFormats,i=void 0===o?[]:o,s=Object(c.pickBy)(this.props,(function(e,t){return t.startsWith("format_on_change_functions_")}));Object.values(s).forEach((function(t){t(e.formats,e.text)})),this.value=this.valueToFormat(e),this.record=e,this.props.onChange(this.value),this.props.onSelectionChange(r,a),this.setState({activeFormats:i}),n||this.onCreateUndoLevel()}},{key:"onCreateUndoLevel",value:function(){this.lastHistoryValue!==this.value&&(this.props.__unstableOnCreateUndoLevel(),this.lastHistoryValue=this.value)}},{key:"handleDelete",value:function(e){var t=e.keyCode;if(t===Qe.DELETE||t===Qe.BACKSPACE||t===Qe.ESCAPE){if(this.props.__unstableDidAutomaticChange)return e.preventDefault(),void this.props.__unstableUndo();if(t!==Qe.ESCAPE){var n=this.props,r=n.onDelete,a=n.__unstableMultilineTag,o=this.state.activeFormats,i=void 0===o?[]:o,c=this.createRecord(),s=c.start,l=c.end,u=c.text,f=t===Qe.BACKSPACE;if(a){var d=ie(c,f);d&&(this.onChange(d),e.preventDefault())}if(0===s&&0!==l&&l===u.length)return this.onChange(re(c)),void e.preventDefault();!r||!q(c)||i.length||f&&0!==s||!f&&l!==u.length||(r({isReverse:f,value:c}),e.preventDefault())}}}},{key:"handleEnter",value:function(e){if(e.keyCode===Qe.ENTER){e.preventDefault();var t=this.props.onEnter;t&&t({value:this.removeEditorOnlyFormats(this.createRecord()),onChange:this.onChange,shiftKey:e.shiftKey})}}},{key:"handleSpace",value:function(e){var t=e.keyCode,n=e.shiftKey,r=e.altKey,a=e.metaKey,o=e.ctrlKey,i=this.props,c=i.tagName,s=i.__unstableMultilineTag;if(!(n||r||a||o||t!==Qe.SPACE||"li"!==s)){var l=this.createRecord();if(q(l)){var u=l.text[l.start-1];u&&u!==x||(this.onChange(We(l,{type:c})),e.preventDefault())}}}},{key:"handleHorizontalNavigation",value:function(e){var t=this,n=e.keyCode,r=e.shiftKey,a=e.altKey,o=e.metaKey,c=e.ctrlKey;if(!(r||a||o||c||n!==Qe.LEFT&&n!==Qe.RIGHT)){var s=this.record,l=s.text,u=s.formats,f=s.start,d=s.end,p=s.activeFormats,h=void 0===p?[]:p,m=q(s),v="rtl"===ft(this.editableRef).direction?Qe.RIGHT:Qe.LEFT,b=e.keyCode===v;if(m&&0===h.length){if(0===f&&b)return;if(d===l.length&&!b)return}if(m){e.preventDefault();var g=u[f-1]||[],y=u[f]||[],O=h.length,T=y;if(g.length>y.length&&(T=g),g.lengthg.length&&O--):g.length>y.length&&(!b&&h.length>y.length&&O--,b&&h.length0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_FORMAT_TYPES":return Object(i.a)({},e,Object(c.keyBy)(t.formatTypes,"name"));case"REMOVE_FORMAT_TYPES":return Object(c.omit)(e,t.names)}return e}}),l=n(38),u=Object(l.a)((function(e){return Object.values(e.formatTypes)}),(function(e){return[e.formatTypes]}));function f(e,t){return e.formatTypes[t]}function d(e,t){return Object(c.find)(u(e),(function(e){var n=e.className,r=e.tagName;return null===n&&t===r}))}function p(e,t){return Object(c.find)(u(e),(function(e){var n=e.className;return null!==n&&" ".concat(t," ").indexOf(" ".concat(n," "))>=0}))}function h(e){return{type:"ADD_FORMAT_TYPES",formatTypes:Object(c.castArray)(e)}}function m(e){return{type:"REMOVE_FORMAT_TYPES",names:Object(c.castArray)(e)}}Object(o.registerStore)("core/rich-text",{reducer:s,selectors:r,actions:a});var v=n(18);function g(e,t){if(e===t)return!0;if(!e||!t)return!1;if(e.type!==t.type)return!1;var n=e.attributes,r=t.attributes;if(n===r)return!0;if(!n||!r)return!1;var a=Object.keys(n),o=Object.keys(r);if(a.length!==o.length)return!1;for(var i=a.length,c=0;c2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,a=e.formats,o=e.activeFormats,s=a.slice();if(n===r){var l=Object(c.find)(s[n],{type:t.type});if(l){for(var u=s[n].indexOf(l);s[n]&&s[n][u]===l;)s[n]=y(s[n],u,t),n--;for(r++;s[r]&&s[r][u]===l;)s[r]=y(s[r],u,t),r++}}else{for(var f=1/0,d=n;d0&&void 0!==arguments[0]?arguments[0]:{},t=e.element,n=e.text,r=e.html,a=e.range,o=e.multilineTag,i=e.multilineWrapperTags,c=e.__unstableIsEditableTree,s=e.preserveWhiteSpace;return"string"==typeof n&&n.length>0?{formats:Array(n.length),replacements:Array(n.length),text:n}:("string"==typeof r&&r.length>0&&(t=x(document,r)),"object"!==Object(T.a)(t)?{formats:[],replacements:[],text:""}:o?P({element:t,range:a,multilineTag:o,multilineWrapperTags:i,isEditableTree:c,preserveWhiteSpace:s}):D({element:t,range:a,isEditableTree:c,preserveWhiteSpace:s}))}function A(e,t,n,r){if(n){var a=t.parentNode,o=n.startContainer,i=n.startOffset,c=n.endContainer,s=n.endOffset,l=e.text.length;void 0!==r.start?e.start=l+r.start:t===o&&t.nodeType===C?e.start=l+i:a===o&&t===o.childNodes[i]?e.start=l:a===o&&t===o.childNodes[i-1]?e.start=l+r.text.length:t===o&&(e.start=l),void 0!==r.end?e.end=l+r.end:t===c&&t.nodeType===C?e.end=l+s:a===c&&t===c.childNodes[s-1]?e.end=l+r.text.length:a===c&&t===c.childNodes[s]?e.end=l:t===c&&(e.end=l+s)}}var k=new RegExp(E,"g");function R(e){return e.replace(k,"")}function D(e){var t=e.element,n=e.range,r=e.multilineTag,a=e.multilineWrapperTags,c=e.currentWrapperTags,s=void 0===c?[]:c,l=e.isEditableTree,u=e.preserveWhiteSpace,f={formats:[],replacements:[],text:""};if(!t)return f;if(!t.hasChildNodes())return A(f,t,n,{formats:[],replacements:[],text:""}),f;for(var d=t.childNodes.length,p=function(e){var c=t.childNodes[e],d=c.nodeName.toLowerCase();if(c.nodeType===C){var p=R;u||(p=function(e){return R(function(e){return e.replace(/[\n\r\t]+/g," ")}(e))});var h=p(c.nodeValue);return n=function(e,t,n){if(t){var r=t.startContainer,a=t.endContainer,o=t.startOffset,i=t.endOffset;return e===r&&(o=n(e.nodeValue.slice(0,o)).length),e===a&&(i=n(e.nodeValue.slice(0,i)).length),{startContainer:r,startOffset:o,endContainer:a,endOffset:i}}}(c,n,p),A(f,c,n,{text:h}),f.formats.length+=h.length,f.replacements.length+=h.length,f.text+=h,"continue"}if(c.nodeType!==F)return"continue";if(l&&(c.getAttribute("data-rich-text-placeholder")||"br"===d&&!c.getAttribute("data-rich-text-line-break")))return A(f,c,n,{formats:[],replacements:[],text:""}),"continue";if("br"===d)return A(f,c,n,{formats:[],replacements:[],text:""}),L(f,N({text:"\n"})),"continue";var m=f.formats[f.formats.length-1],b=m&&m[m.length-1],y=function(e){var t,n=e.type,r=e.attributes;if(r&&r.class&&(t=Object(o.select)("core/rich-text").getFormatTypeForClassName(r.class))&&(r.class=" ".concat(r.class," ").replace(" ".concat(t.className," ")," ").trim(),r.class||delete r.class),t||(t=Object(o.select)("core/rich-text").getFormatTypeForBareElement(n)),!t)return r?{type:n,attributes:r}:{type:n};if(t.__experimentalCreatePrepareEditableTree&&!t.__experimentalCreateOnChangeEditableValue)return null;if(!r)return{type:t.name};var a={},i={};for(var c in r){var s=S(t.attributes,c);s?a[s]=r[c]:i[c]=r[c]}return{type:t.name,attributes:a,unregisteredAttributes:i}}({type:d,attributes:I({element:c})}),O=g(y,b)?b:y;if(a&&-1!==a.indexOf(d)){var T=P({element:c,range:n,multilineTag:r,multilineWrapperTags:a,currentWrapperTags:[].concat(Object(v.a)(s),[O]),isEditableTree:l,preserveWhiteSpace:u});return A(f,c,n,T),L(f,T),"continue"}var x=D({element:c,range:n,multilineTag:r,multilineWrapperTags:a,isEditableTree:l,preserveWhiteSpace:u});A(f,c,n,x),O?0===x.text.length?O.attributes&&L(f,{formats:[,],replacements:[O],text:_}):L(f,Object(i.a)({},x,{formats:Array.from(x.formats,(function(e){return e?[O].concat(Object(v.a)(e)):[O]}))})):L(f,x)},h=0;h0)&&L(l,{formats:[,],replacements:i.length>0?[i]:[,],text:j}),A(l,d,n,p),L(l,p)}}return l}function I(e){var t=e.element;if(t.hasAttributes()){for(var n,r=t.attributes.length,a=0;a1&&void 0!==arguments[1]?arguments[1]:t;r--;)if(n[r]===j)return r}function U(e){var t=e.replacements[V(e,e.start)];return!t||t.length<1}function z(e,t,n){var r=e.replacements[V(e,e.start)];return r&&0!==r.length?r[r.length-1].type===t:t===n}function q(e){var t=e.start,n=e.end;if(void 0!==t&&void 0!==n)return t===n}function G(e){return 0===e.text.length}function Y(e){var t=e.text,n=e.start,r=e.end;return n===r&&(0===t.length||(0===n&&t.slice(0,1)===j||(n===t.length&&t.slice(-1)===j||t.slice(n-1,r+1)==="".concat(j).concat(j))))}function $(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"string"==typeof t&&(t=N({text:t})),b(e.reduce((function(e,n){var r=n.formats,a=n.replacements,o=n.text;return{formats:e.formats.concat(t.formats,r),replacements:e.replacements.concat(t.replacements,a),text:e.text+t.text+o}})))}var X=n(0),Z=n(27),J=n(8);function Q(e,t){if("string"==typeof(t=Object(i.a)({name:e},t)).name)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(t.name))if(Object(o.select)("core/rich-text").getFormatType(t.name))window.console.error('Format "'+t.name+'" is already registered.');else if("string"==typeof t.tagName&&""!==t.tagName)if("string"==typeof t.className&&""!==t.className||null===t.className)if(/^[_a-zA-Z]+[a-zA-Z0-9-]*$/.test(t.className)){if(null===t.className){var n=Object(o.select)("core/rich-text").getFormatTypeForBareElement(t.tagName);if(n)return void window.console.error('Format "'.concat(n.name,'" is already registered to handle bare tag name "').concat(t.tagName,'".'))}else{var r=Object(o.select)("core/rich-text").getFormatTypeForClassName(t.className);if(r)return void window.console.error('Format "'.concat(r.name,'" is already registered to handle class name "').concat(t.className,'".'))}if("title"in t&&""!==t.title)if("keywords"in t&&t.keywords.length>3)window.console.error('The format "'+t.name+'" can have a maximum of 3 keywords.');else{if("string"==typeof t.title)return Object(o.dispatch)("core/rich-text").addFormatTypes(t),t.__experimentalCreatePrepareEditableTree&&Object(Z.addFilter)("experimentalRichText",e,(function(n){var r="format_prepare_props_(".concat(e,")_"),a="format_on_change_props_(".concat(e,")_"),s=function(o){var c=Object(i.a)({},o),s=Object.keys(o).reduce((function(e,t){return t.startsWith(r)&&(e[t.slice(r.length)]=o[t]),t.startsWith(a)&&(e[t.slice(a.length)]=o[t]),e}),{}),l={richTextIdentifier:o.identifier,blockClientId:o.clientId};return t.__experimentalCreateOnChangeEditableValue?(c["format_value_functions_(".concat(e,")")]=t.__experimentalCreatePrepareEditableTree(s,l),c["format_on_change_functions_(".concat(e,")")]=t.__experimentalCreateOnChangeEditableValue(s,l)):c["format_prepare_functions_(".concat(e,")")]=t.__experimentalCreatePrepareEditableTree(s,l),Object(X.createElement)(n,c)},l=[];return t.__experimentalGetPropsForEditableTreePreparation&&l.push(Object(o.withSelect)((function(e,n){var a=n.clientId,o=n.identifier;return Object(c.mapKeys)(t.__experimentalGetPropsForEditableTreePreparation(e,{richTextIdentifier:o,blockClientId:a}),(function(e,t){return r+t}))}))),t.__experimentalGetPropsForEditableTreeChangeHandler&&l.push(Object(o.withDispatch)((function(e,n){var r=n.clientId,o=n.identifier;return Object(c.mapKeys)(t.__experimentalGetPropsForEditableTreeChangeHandler(e,{richTextIdentifier:o,blockClientId:r}),(function(e,t){return a+t}))}))),l.length?Object(J.compose)(l)(s):s})),t;window.console.error("Format titles must be strings.")}else window.console.error('The format "'+t.name+'" must have a title.')}else window.console.error("A class name must begin with a letter, followed by any number of hyphens, letters, or numbers.");else window.console.error("Format class names must be a string, or null to handle bare elements.");else window.console.error("Format tag names must be a string.");else window.console.error("Format names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-format");else window.console.error("Format names must be strings.")}function ee(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,a=e.formats,o=e.activeFormats,s=a.slice();if(n===r){var l=Object(c.find)(s[n],{type:t});if(l){for(;Object(c.find)(s[n],l);)te(s,n,t),n--;for(r++;Object(c.find)(s[r],l);)te(s,r,t),r++}}else for(var u=n;u2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,a=e.formats,o=e.replacements,i=e.text;"string"==typeof t&&(t=N({text:t}));var c=n+t.text.length;return b({formats:a.slice(0,n).concat(t.formats,a.slice(r)),replacements:o.slice(0,n).concat(t.replacements,o.slice(r)),text:i.slice(0,n)+t.text+i.slice(r),start:c,end:c})}function re(e,t,n){return ne(e,N(),t,n)}function ae(e,t,n){var r=e.formats,a=e.replacements,o=e.text,i=e.start,c=e.end;return o=o.replace(t,(function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),s=1;s1&&void 0!==arguments[1]?arguments[1]:e.start,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,r=K(e).slice(0,t).lastIndexOf(j),a=e.replacements[r],o=[,];return a&&(o=[a]),ne(e,{formats:[,],replacements:o,text:j},t,n)}function ie(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.replacements,r=e.text,a=e.start,o=e.end,c=q(e),s=a-1,l=c?a-1:a,u=o;if(t||(s=o,l=a,u=c?o+1:o),r[s]===j){var f;if(c&&n[s]&&n[s].length){var d=n.slice();d[s]=n[s].slice(0,-1),f=Object(i.a)({},e,{replacements:d})}else f=re(e,l,u);return f}}var ce="";function se(e,t,n,r){return ne(e,{formats:[,],replacements:[t],text:ce},n,r)}function le(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.start,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,r=e.formats,a=e.replacements,o=e.text;return void 0===t||void 0===n?Object(i.a)({},e):{formats:r.slice(t,n),replacements:a.slice(t,n),text:o.slice(t,n)}}function ue(e,t){var n=e.formats,r=e.replacements,a=e.text,o=e.start,i=e.end;if("string"!=typeof t)return fe.apply(void 0,arguments);var c=0;return a.split(t).map((function(e){var a=c,s={formats:n.slice(a,a+e.length),replacements:r.slice(a,a+e.length),text:e};return c+=t.length+e.length,void 0!==o&&void 0!==i&&(o>=a&&oa&&(s.start=0),i>=a&&ic&&(s.end=e.length)),s}))}function fe(e){var t=e.formats,n=e.replacements,r=e.text,a=e.start,o=e.end,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,s={formats:t.slice(0,i),replacements:n.slice(0,i),text:r.slice(0,i)},l={formats:t.slice(c),replacements:n.slice(c),text:r.slice(c),start:0,end:0};return[ae(s,/\u2028+$/,""),ae(l,/^\u2028+/,"")]}function de(e){var t=e.type,n=e.attributes,r=e.unregisteredAttributes,a=e.object,c=e.boundaryClass,s=function(e){return Object(o.select)("core/rich-text").getFormatType(e)}(t),l={};if(c&&(l["data-rich-text-format-boundary"]="true"),!s)return n&&(l=Object(i.a)({},n,l)),{type:t,attributes:l,object:a};for(var u in l=Object(i.a)({},r,l),n){var f=!!s.attributes&&s.attributes[u];f?l[f]=n[u]:l[u]=n[u]}return s.className&&(l.class?l.class="".concat(s.className," ").concat(l.class):l.class=s.className),{type:s.tagName,object:s.object,attributes:l}}function pe(e){var t,n,r,a=e.value,o=e.multilineTag,c=e.preserveWhiteSpace,s=e.createEmpty,l=e.append,u=e.getLastChild,f=e.getParent,d=e.isText,p=e.getText,h=e.remove,m=e.appendText,g=e.onStartIndex,b=e.onEndIndex,y=e.isEditableTree,O=e.placeholder,T=a.formats,x=a.replacements,w=a.text,C=a.start,F=a.end,S=T.length+1,N=s(),A={type:o},k=M(a),R=k[k.length-1];o?(l(l(N,{type:o}),""),n=t=[A]):l(N,"");for(var D=function(e){var a=w.charAt(e),s=y&&(!r||r===j||"\n"===r),S=T[e];o&&(S=a===j?t=(x[e]||[]).reduce((function(e,t){return e.push(t,A),e}),[A]):[].concat(Object(v.a)(t),Object(v.a)(S||[])));var k=u(N);if(s&&a===j){for(var D=k;!d(D);)D=u(D);l(f(D),E)}if(r===j){for(var P=k;!d(P);)P=u(P);g&&C===e&&g(N,P),b&&F===e&&b(N,P)}if(S&&S.forEach((function(e,t){if(!k||!n||e!==n[t]||a===j&&S.length-1===t){var r=e.type,o=e.attributes,i=e.unregisteredAttributes,c=y&&a!==j&&e===R,s=f(k),m=l(s,de({type:r,attributes:o,unregisteredAttributes:i,boundaryClass:c}));d(k)&&0===p(k).length&&h(k),k=l(m,"")}else k=u(k)})),a===j)return n=S,r=a,"continue";0===e&&(g&&0===C&&g(N,k),b&&0===F&&b(N,k)),a===_?(k=l(f(k),de(Object(i.a)({},x[e],{object:!0}))),k=l(f(k),"")):c||"\n"!==a?d(k)?m(k,a):k=l(f(k),a):(k=l(f(k),{type:"br",attributes:y?{"data-rich-text-line-break":"true"}:void 0,object:!0}),k=l(f(k),"")),g&&C===e+1&&g(N,k),b&&F===e+1&&b(N,k),s&&e===w.length&&(l(f(k),E),O&&0===w.length&&l(f(k),{type:"span",attributes:{"data-rich-text-placeholder":O,contenteditable:"false"}})),n=S,r=a},P=0;P1;)e=e.childNodes[t.shift()];return{node:e,offset:t[0]}}var ge=function(){return x(document,"")};function be(e,t){"string"==typeof t&&(t=e.ownerDocument.createTextNode(t));var n=t,r=n.type,a=n.attributes;if(r)for(var o in t=e.ownerDocument.createElement(r),a)t.setAttribute(o,a[o]);return e.appendChild(t)}function ye(e,t){e.appendData(t)}function Oe(e){return e.lastChild}function Te(e){return e.parentNode}function xe(e){return e.nodeType===he}function je(e){return e.nodeValue}function _e(e){return e.parentNode.removeChild(e)}function Ee(e){var t=e.value,n=e.multilineTag,r=e.prepareEditableTree,a=e.isEditableTree,o=void 0===a||a,c=e.placeholder,s=[],l=[];return r&&(t=Object(i.a)({},t,{formats:r(t)})),{body:pe({value:t,multilineTag:n,createEmpty:ge,append:be,getLastChild:Oe,getParent:Te,isText:xe,getText:je,remove:_e,appendText:ye,onStartIndex:function(e,t){s=me(t,e,[t.nodeValue.length])},onEndIndex:function(e,t){l=me(t,e,[t.nodeValue.length])},isEditableTree:o,placeholder:c}),selection:{startPath:s,endPath:l}}}function we(e){var t=e.value,n=e.current,r=e.multilineTag,a=e.prepareEditableTree,o=e.__unstableDomOnly,i=Ee({value:t,multilineTag:r,prepareEditableTree:a,placeholder:e.placeholder}),c=i.body,s=i.selection;!function e(t,n){var r=0;var a;for(;a=t.firstChild;){var o=n.childNodes[r];if(o)if(o.isEqualNode(a))t.removeChild(a);else if(o.nodeName!==a.nodeName||o.nodeType===he&&o.data!==a.data)n.replaceChild(a,o);else{var i=o.attributes,c=a.attributes;if(i)for(var s=i.length;s--;){var l=i[s].name;a.getAttribute(l)||o.removeAttribute(l)}if(c)for(var u=0;u0){if(p=d,h=u.getRangeAt(0),p.startContainer===h.startContainer&&p.startOffset===h.startOffset&&p.endContainer===h.endContainer&&p.endOffset===h.endOffset)return;u.removeAllRanges()}var p,h;u.addRange(d)}(s,n)}var Ce=n(59);function Fe(e){return Le(pe({value:e.value,multilineTag:e.multilineTag,preserveWhiteSpace:e.preserveWhiteSpace,createEmpty:Se,append:Ae,getLastChild:Ne,getParent:Re,isText:De,getText:Pe,remove:Ie,appendText:ke}).children)}function Se(){return{}}function Ne(e){var t=e.children;return t&&t[t.length-1]}function Ae(e,t){return"string"==typeof t&&(t={text:t}),t.parent=e,e.children=e.children||[],e.children.push(t),t}function ke(e,t){e.text+=t}function Re(e){return e.parent}function De(e){return"string"==typeof e.text}function Pe(e){return e.text}function Ie(e){var t=e.parent.children.indexOf(e);return-1!==t&&e.parent.children.splice(t,1),e}function Le(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(e){return void 0===e.text?function(e){var t=e.type,n=e.attributes,r=e.object,a=e.children,o="";for(var i in n)Object(Ce.isValidAttributeName)(i)&&(o+=" ".concat(i,'="').concat(Object(Ce.escapeAttribute)(n[i]),'"'));return r?"<".concat(t).concat(o,">"):"<".concat(t).concat(o,">").concat(Le(a),"")}(e):Object(Ce.escapeEditableHTML)(e.text)})).join("")}function We(e,t){return B(e,t.type)?ee(e,t.type):O(e,t)}function Me(e){var t=Object(o.select)("core/rich-text").getFormatType(e);if(t)return t.__experimentalCreatePrepareEditableTree&&Object(Z.removeFilter)("experimentalRichText",e),Object(o.dispatch)("core/rich-text").removeFormatTypes(e),t;window.console.error("Format ".concat(e," is not registered."))}function Be(e){var t=V(e);if(void 0===t)return!1;var n=e.replacements,r=V(e,t),a=n[t]||[],o=n[r]||[];return a.length<=o.length}function He(e){return void 0!==e.replacements[V(e,e.start)]}function Ke(e,t){if(!Be(e))return e;for(var n=V(e),r=V(e,n),a=e.text,o=e.replacements,c=e.end,s=o.slice(),l=function(e,t){for(var n=e.text,r=e.replacements,a=r[t]||[],o=t;o-- >=0;)if(n[o]===j){var i=r[o]||[];if(i.length===a.length+1)return o;if(i.length<=a.length)return}}(e,n),u=n;u=0;){if(n[o]===j)if((r[o]||[]).length===a.length-1)return o}}function Ue(e){if(!He(e))return e;for(var t=e.text,n=e.replacements,r=e.start,a=e.end,o=V(e,r),c=n.slice(0),s=n[Ve(e,o)]||[],l=function(e,t){for(var n=e.text,r=e.replacements,a=r[t]||[],o=t,i=t||0;i=a.length))return o;o=i}return o}(e,V(e,a)),u=o;u<=l;u++)if(t[u]===j){var f=c[u]||[];c[u]=s.concat(f.slice(s.length+1)),0===c[u].length&&delete c[u]}return Object(i.a)({},e,{replacements:c})}function ze(e,t){for(var n,r=e.text,a=e.replacements,o=e.start,c=e.end,s=V(e,o),l=a[s]||[],u=a[V(e,c)]||[],f=Ve(e,s),d=a.slice(),p=l.length-1,h=u.length-1,m=f+1||0;mh?e:t})))}return n?Object(i.a)({},e,{replacements:d}):e}var qe=n(14),Ge=n(13),Ye=n(12),$e=n(15),Xe=n(16),Ze=n(6),Je=n(17),Qe=n(11),et=n.n(Qe),tt=n(19),nt=n(45),rt=n.n(nt),at=n(35),ot=n.n(at),it=new Set(["a","audio","button","details","embed","iframe","input","label","select","textarea","video"]),ct=Object(o.withSelect)((function(e){return{formatTypes:e("core/rich-text").getFormatTypes()}}))((function(e){var t=e.formatTypes,n=e.onChange,r=e.value,a=e.allowedFormats,o=e.withoutInteractiveFormatting;return t.map((function(e){var t=e.name,i=e.edit,c=e.tagName;if(!i)return null;if(a&&-1===a.indexOf(t))return null;if(o&&it.has(c))return null;var s=B(r,t),l=void 0!==s,u=H(r),f=void 0!==u&&u.type===t;return Object(X.createElement)(i,{key:t,isActive:l,activeAttributes:l&&s.attributes||{},isObjectActive:f,activeObjectAttributes:f&&u.attributes||{},value:r,onChange:n})}))}));var st=window,lt=st.getSelection,ut=st.getComputedStyle,ft=new Set(["insertParagraph","insertOrderedList","insertUnorderedList","insertHorizontalRule","insertLink"]),dt={whiteSpace:"pre-wrap"},pt=document.createElement("style");function ht(e,t){var n=Object.keys(e).reduce((function(n,r){return r.startsWith(t)&&n.push(e[r]),n}),[]);return function(e){return n.reduce((function(t,n){return n(t,e.text)}),e.formats)}}document.head.appendChild(pt);var mt=function(e){function t(e){var n,r=e.value,a=e.selectionStart,o=e.selectionEnd;return Object(Ge.a)(this,t),(n=Object($e.a)(this,Object(Xe.a)(t).apply(this,arguments))).onFocus=n.onFocus.bind(Object(Ze.a)(n)),n.onBlur=n.onBlur.bind(Object(Ze.a)(n)),n.onChange=n.onChange.bind(Object(Ze.a)(n)),n.handleDelete=n.handleDelete.bind(Object(Ze.a)(n)),n.handleEnter=n.handleEnter.bind(Object(Ze.a)(n)),n.handleSpace=n.handleSpace.bind(Object(Ze.a)(n)),n.handleHorizontalNavigation=n.handleHorizontalNavigation.bind(Object(Ze.a)(n)),n.onPaste=n.onPaste.bind(Object(Ze.a)(n)),n.onCreateUndoLevel=n.onCreateUndoLevel.bind(Object(Ze.a)(n)),n.onInput=n.onInput.bind(Object(Ze.a)(n)),n.onCompositionEnd=n.onCompositionEnd.bind(Object(Ze.a)(n)),n.onSelectionChange=n.onSelectionChange.bind(Object(Ze.a)(n)),n.createRecord=n.createRecord.bind(Object(Ze.a)(n)),n.applyRecord=n.applyRecord.bind(Object(Ze.a)(n)),n.valueToFormat=n.valueToFormat.bind(Object(Ze.a)(n)),n.onPointerDown=n.onPointerDown.bind(Object(Ze.a)(n)),n.formatToValue=n.formatToValue.bind(Object(Ze.a)(n)),n.Editable=n.Editable.bind(Object(Ze.a)(n)),n.onKeyDown=function(e){e.defaultPrevented||(n.handleDelete(e),n.handleEnter(e),n.handleSpace(e),n.handleHorizontalNavigation(e))},n.state={},n.lastHistoryValue=r,n.value=r,n.record=n.formatToValue(r),n.record.start=a,n.record.end=o,n}return Object(Je.a)(t,e),Object(Ye.a)(t,[{key:"componentWillUnmount",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange),window.cancelAnimationFrame(this.rafId)}},{key:"componentDidMount",value:function(){this.applyRecord(this.record,{domOnly:!0})}},{key:"createRecord",value:function(){var e=this.props,t=e.__unstableMultilineTag,n=e.forwardedRef,r=e.preserveWhiteSpace,a=lt(),o=a.rangeCount>0?a.getRangeAt(0):null;return N({element:n.current,range:o,multilineTag:t,multilineWrapperTags:"li"===t?["ul","ol"]:void 0,__unstableIsEditableTree:!0,preserveWhiteSpace:r})}},{key:"applyRecord",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.domOnly,r=this.props,a=r.__unstableMultilineTag,o=r.forwardedRef;we({value:e,current:o.current,multilineTag:a,multilineWrapperTags:"li"===a?["ul","ol"]:void 0,prepareEditableTree:ht(this.props,"format_prepare_functions"),__unstableDomOnly:n,placeholder:this.props.placeholder})}},{key:"onPaste",value:function(e){var t=this.props,n=t.formatTypes,r=t.onPaste;if(t.__unstableIsSelected){var a=e.clipboardData,o=a.items,i=a.files;o=Object(c.isNil)(o)?[]:o,i=Object(c.isNil)(i)?[]:i;var s="",l="";try{s=a.getData("text/plain"),l=a.getData("text/html")}catch(e){try{l=a.getData("Text")}catch(e){return}}e.preventDefault(),window.console.log("Received HTML:\n\n",l),window.console.log("Received plain text:\n\n",s);var u=this.record,f=n.reduce((function(e,t){var n=t.__unstablePasteRule;return n&&e===u&&(e=n(u,{html:l,plainText:s})),e}),u);f===u?r&&(i=Array.from(i),Array.from(o).forEach((function(e){if(e.getAsFile){var t=e.getAsFile();if(t){var n=t.name,r=t.type,a=t.size;Object(c.find)(i,{name:n,type:r,size:a})||i.push(t)}}})),r({value:this.removeEditorOnlyFormats(u),onChange:this.onChange,html:l,plainText:s,files:i})):this.onChange(f)}else e.preventDefault()}},{key:"onFocus",value:function(){var e=this.props.unstableOnFocus;e&&e(),this.recalculateBoundaryStyle();this.record=Object(i.a)({},this.record,{start:void 0,end:void 0,activeFormats:void 0}),this.props.onSelectionChange(void 0,void 0),this.setState({activeFormats:void 0}),this.rafId=window.requestAnimationFrame(this.onSelectionChange),document.addEventListener("selectionchange",this.onSelectionChange),this.props.setFocusedElement&&(ot()("wp.blockEditor.RichText setFocusedElement prop",{alternative:"selection state from the block editor store."}),this.props.setFocusedElement(this.props.instanceId))}},{key:"onBlur",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"onInput",value:function(e){var t;if(e&&e.nativeEvent&&e.nativeEvent.isComposing)document.removeEventListener("selectionchange",this.onSelectionChange);else if(e&&(t=e.inputType),t||(t=e.nativeEvent.inputType),!t||0!==t.indexOf("format")&&!ft.has(t)){var n=this.createRecord(),r=this.record,a=r.start,o=r.activeFormats,c=void 0===o?[]:o,s=function(e){var t=e.value,n=e.start,r=e.end,a=e.formats,o=t.formats[n-1]||[],i=t.formats[r]||[];for(t.activeFormats=a.map((function(e,t){if(o[t]){if(g(e,o[t]))return o[t]}else if(i[t]&&g(e,i[t]))return i[t];return e}));--r>=n;)t.activeFormats.length>0?t.formats[r]=t.activeFormats:delete t.formats[r];return t}({value:n,start:a,end:n.start,formats:c});this.onChange(s,{withoutHistory:!0});var l=this.props,u=l.__unstableInputRule,f=l.__unstableMarkAutomaticChange,d=l.formatTypes,p=l.setTimeout;if((0,l.clearTimeout)(this.onInput.timeout),this.onInput.timeout=p(this.onCreateUndoLevel,1e3),"insertText"===t){u&&u(s,this.valueToFormat);var h=d.reduce((function(e,t){var n=t.__unstableInputRule;return n&&(e=n(e)),e}),s);h!==s&&(this.onCreateUndoLevel(),this.onChange(Object(i.a)({},h,{activeFormats:c})),f())}}else this.applyRecord(this.record)}},{key:"onCompositionEnd",value:function(){this.onInput({inputType:"insertText"}),document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"onSelectionChange",value:function(e){if(("selectionchange"===e.type||this.props.__unstableIsSelected)&&!(this.props.disabled||e.nativeEvent&&e.nativeEvent.isComposing)){var t=this.createRecord(),n=t.start,r=t.end,a=t.text,o=this.record;if(a===o.text)if(n!==o.start||r!==o.end){var c=this.props,s=c.__unstableIsCaretWithinFormattedText,l=c.__unstableOnEnterFormattedText,u=c.__unstableOnExitFormattedText,f=Object(i.a)({},o,{start:n,end:r,activeFormats:void 0}),d=M(f);f.activeFormats=d,!s&&d.length?l():s&&!d.length&&u(),this.record=f,this.applyRecord(f,{domOnly:!0}),this.props.onSelectionChange(n,r),this.setState({activeFormats:d}),d.length>0&&this.recalculateBoundaryStyle()}else 0===o.text.length&&0===n&&function(){var e=window.getSelection(),t=e.anchorNode,n=e.anchorOffset;if(t.nodeType===t.ELEMENT_NODE){var r=t.childNodes[n];r&&r.nodeType===r.ELEMENT_NODE&&r.getAttribute("data-rich-text-placeholder")&&e.collapseToStart()}}();else this.onInput()}}},{key:"recalculateBoundaryStyle",value:function(){var e=this.props.forwardedRef.current.querySelector("*[data-rich-text-format-boundary]");if(e){var t=ut(e).color.replace(")",", 0.2)").replace("rgb","rgba"),n=".rich-text:focus ".concat("*[data-rich-text-format-boundary]"),r="background-color: ".concat(t);pt.innerHTML="".concat(n," {").concat(r,"}")}}},{key:"onChange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.withoutHistory;this.applyRecord(e);var r=e.start,a=e.end,o=e.activeFormats,i=void 0===o?[]:o,s=Object(c.pickBy)(this.props,(function(e,t){return t.startsWith("format_on_change_functions_")}));Object.values(s).forEach((function(t){t(e.formats,e.text)})),this.value=this.valueToFormat(e),this.record=e,this.props.onSelectionChange(r,a),this.props.onChange(this.value),this.setState({activeFormats:i}),n||this.onCreateUndoLevel()}},{key:"onCreateUndoLevel",value:function(){this.lastHistoryValue!==this.value&&(this.props.__unstableOnCreateUndoLevel(),this.lastHistoryValue=this.value)}},{key:"handleDelete",value:function(e){var t=e.keyCode;if(t===tt.DELETE||t===tt.BACKSPACE||t===tt.ESCAPE){if(this.props.__unstableDidAutomaticChange)return e.preventDefault(),void this.props.__unstableUndo();if(t!==tt.ESCAPE){var n,r=this.props,a=r.onDelete,o=r.__unstableMultilineTag,i=this.state.activeFormats,c=void 0===i?[]:i,s=this.createRecord(),l=s.start,u=s.end,f=s.text,d=t===tt.BACKSPACE;if(0===l&&0!==u&&u===f.length)return this.onChange(re(s)),void e.preventDefault();if(o)if(n=d&&0===s.start&&0===s.end&&Y(s)?ie(s,!d):ie(s,d))return this.onChange(n),void e.preventDefault();!a||!q(s)||c.length||d&&0!==l||!d&&u!==f.length||(a({isReverse:d,value:s}),e.preventDefault())}}}},{key:"handleEnter",value:function(e){if(e.keyCode===tt.ENTER){e.preventDefault();var t=this.props.onEnter;t&&t({value:this.removeEditorOnlyFormats(this.createRecord()),onChange:this.onChange,shiftKey:e.shiftKey})}}},{key:"handleSpace",value:function(e){var t=e.keyCode,n=e.shiftKey,r=e.altKey,a=e.metaKey,o=e.ctrlKey,i=this.props,c=i.tagName,s=i.__unstableMultilineTag;if(!(n||r||a||o||t!==tt.SPACE||"li"!==s)){var l=this.createRecord();if(q(l)){var u=l.text[l.start-1];u&&u!==j||(this.onChange(Ke(l,{type:c})),e.preventDefault())}}}},{key:"handleHorizontalNavigation",value:function(e){var t=this,n=e.keyCode,r=e.shiftKey,a=e.altKey,o=e.metaKey,c=e.ctrlKey;if(!(r||a||o||c||n!==tt.LEFT&&n!==tt.RIGHT)){var s=this.record,l=s.text,u=s.formats,f=s.start,d=s.end,p=s.activeFormats,h=void 0===p?[]:p,m=q(s),v="rtl"===ut(this.props.forwardedRef.current).direction?tt.RIGHT:tt.LEFT,g=e.keyCode===v;if(m&&0===h.length){if(0===f&&g)return;if(d===l.length&&!g)return}if(m){e.preventDefault();var b=u[f-1]||[],y=u[f]||[],O=h.length,T=y;if(b.length>y.length&&(T=b),b.lengthb.length&&O--):b.length>y.length&&(!g&&h.length>y.length&&O--,g&&h.length= 0) continue; - target[key] = source[key]; - } - - return target; -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; }); +/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40); function _objectWithoutProperties(source, excluded) { if (source == null) return {}; - var target = _objectWithoutPropertiesLoose(source, excluded); + var target = Object(_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { @@ -302,7 +264,7 @@ function _objectWithoutProperties(source, excluded) { /***/ }), -/***/ 26: +/***/ 25: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["url"]; }()); @@ -321,16 +283,14 @@ function _objectWithoutProperties(source, excluded) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); -function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); } - function _typeof(obj) { - if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") { + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { - return _typeof2(obj); + return typeof obj; }; } else { _typeof = function _typeof(obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj); + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } @@ -339,26 +299,33 @@ function _typeof(obj) { /***/ }), -/***/ 34: +/***/ 35: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["deprecated"]; }()); + +/***/ }), + +/***/ 37: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["apiFetch"]; }()); /***/ }), -/***/ 369: +/***/ 389: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(18); +var esm_extends = __webpack_require__(14); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js var objectSpread = __webpack_require__(7); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js var objectWithoutProperties = __webpack_require__(21); // EXTERNAL MODULE: external {"this":["wp","element"]} @@ -368,23 +335,23 @@ var external_this_wp_element_ = __webpack_require__(0); var external_this_wp_data_ = __webpack_require__(4); // EXTERNAL MODULE: external {"this":["wp","deprecated"]} -var external_this_wp_deprecated_ = __webpack_require__(37); +var external_this_wp_deprecated_ = __webpack_require__(35); var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_deprecated_); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(12); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(11); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(13); +var possibleConstructorReturn = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(14); +var getPrototypeOf = __webpack_require__(16); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(15); +var inherits = __webpack_require__(17); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); @@ -393,11 +360,11 @@ var external_this_lodash_ = __webpack_require__(2); var external_this_wp_i18n_ = __webpack_require__(1); // EXTERNAL MODULE: external {"this":["wp","apiFetch"]} -var external_this_wp_apiFetch_ = __webpack_require__(34); +var external_this_wp_apiFetch_ = __webpack_require__(37); var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_); // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(26); +var external_this_wp_url_ = __webpack_require__(25); // EXTERNAL MODULE: external {"this":["wp","components"]} var external_this_wp_components_ = __webpack_require__(3); @@ -643,13 +610,6 @@ if (window && window.wp && window.wp.components) { /* harmony default export */ var build_module = __webpack_exports__["default"] = (ExportedServerSideRender); -/***/ }), - -/***/ 37: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["deprecated"]; }()); - /***/ }), /***/ 4: @@ -659,7 +619,29 @@ if (window && window.wp && window.wp.components) { /***/ }), -/***/ 5: +/***/ 40: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + +/***/ }), + +/***/ 6: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -679,12 +661,12 @@ function _assertThisInitialized(self) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(source); + var ownKeys = Object.keys(Object(source)); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -700,6 +682,28 @@ function _objectSpread(target) { return target; } +/***/ }), + +/***/ 9: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + /***/ }) /******/ })["default"]; \ No newline at end of file diff --git a/wp-includes/js/dist/server-side-render.min.js b/wp-includes/js/dist/server-side-render.min.js index e675b5be78..870877faf5 100644 --- a/wp-includes/js/dist/server-side-render.min.js +++ b/wp-includes/js/dist/server-side-render.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.serverSideRender=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=369)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},11:function(e,t,n){"use strict";function r(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},26:function(e,t){!function(){e.exports=this.wp.url}()},3:function(e,t){!function(){e.exports=this.wp.components}()},31:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}n.d(t,"a",(function(){return o}))},34:function(e,t){!function(){e.exports=this.wp.apiFetch}()},369:function(e,t,n){"use strict";n.r(t);var r=n(18),o=n(7),c=n(21),u=n(0),i=n(4),s=n(37),a=n.n(s),l=n(12),f=n(11),p=n(13),b=n(14),d=n(15),y=n(2),h=n(1),O=n(34),m=n.n(O),j=n(26),v=n(3);var w=function(e){function t(e){var n;return Object(l.a)(this,t),(n=Object(p.a)(this,Object(b.a)(t).call(this,e))).state={response:null},n}return Object(d.a)(t,e),Object(f.a)(t,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.fetch(this.props),this.fetch=Object(y.debounce)(this.fetch,500)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"componentDidUpdate",value:function(e){Object(y.isEqual)(e,this.props)||this.fetch(this.props)}},{key:"fetch",value:function(e){var t=this;if(this.isStillMounted){null!==this.state.response&&this.setState({response:null});var n=e.block,r=e.attributes,c=void 0===r?null:r,u=e.urlQueryArgs,i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(j.addQueryArgs)("/wp/v2/block-renderer/".concat(e),Object(o.a)({context:"edit"},null!==t?{attributes:t}:{},n))}(n,c,void 0===u?{}:u),s=this.currentFetchRequest=m()({path:i}).then((function(e){t.isStillMounted&&s===t.currentFetchRequest&&e&&t.setState({response:e.rendered})})).catch((function(e){t.isStillMounted&&s===t.currentFetchRequest&&t.setState({response:{error:!0,errorMsg:e.message}})}));return s}}},{key:"render",value:function(){var e=this.state.response,t=this.props,n=t.className,o=t.EmptyResponsePlaceholder,c=t.ErrorResponsePlaceholder,i=t.LoadingResponsePlaceholder;return""===e?Object(u.createElement)(o,Object(r.a)({response:e},this.props)):e?e.error?Object(u.createElement)(c,Object(r.a)({response:e},this.props)):Object(u.createElement)(u.RawHTML,{key:"html",className:n},e):Object(u.createElement)(i,Object(r.a)({response:e},this.props))}}]),t}(u.Component);w.defaultProps={EmptyResponsePlaceholder:function(e){var t=e.className;return Object(u.createElement)(v.Placeholder,{className:t},Object(h.__)("Block rendered as empty.")+t)},ErrorResponsePlaceholder:function(e){var t=e.response,n=e.className,r=Object(h.sprintf)(Object(h.__)("Error loading block: %s"),t.errorMsg);return Object(u.createElement)(v.Placeholder,{className:n},r)},LoadingResponsePlaceholder:function(e){var t=e.className;return Object(u.createElement)(v.Placeholder,{className:t},Object(u.createElement)(v.Spinner,null))}};var g=w,S={},P=Object(i.withSelect)((function(e){var t=e("core/editor");if(t){var n=t.getCurrentPostId();if(n)return{currentPostId:n}}return S}))((function(e){var t=e.urlQueryArgs,n=void 0===t?S:t,i=e.currentPostId,s=Object(c.a)(e,["urlQueryArgs","currentPostId"]),a=Object(u.useMemo)((function(){return i?Object(o.a)({post_id:i},n):n}),[i,n]);return Object(u.createElement)(g,Object(r.a)({urlQueryArgs:a},s))}));window&&window.wp&&window.wp.components&&(window.wp.components.ServerSideRender=Object(u.forwardRef)((function(e,t){return a()("wp.components.ServerSideRender",{alternative:"wp.serverSideRender"}),Object(u.createElement)(P,Object(r.a)({},e,{ref:t}))})));t.default=P},37:function(e,t){!function(){e.exports=this.wp.deprecated}()},4:function(e,t){!function(){e.exports=this.wp.data}()},5:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(10);function o(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}},25:function(e,t){!function(){e.exports=this.wp.url}()},3:function(e,t){!function(){e.exports=this.wp.components}()},31:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},35:function(e,t){!function(){e.exports=this.wp.deprecated}()},37:function(e,t){!function(){e.exports=this.wp.apiFetch}()},389:function(e,t,n){"use strict";n.r(t);var r=n(14),o=n(7),c=n(21),u=n(0),i=n(4),s=n(35),a=n.n(s),l=n(13),f=n(12),p=n(15),b=n(16),d=n(17),h=n(2),O=n(1),y=n(37),j=n.n(y),m=n(25),v=n(3);var w=function(e){function t(e){var n;return Object(l.a)(this,t),(n=Object(p.a)(this,Object(b.a)(t).call(this,e))).state={response:null},n}return Object(d.a)(t,e),Object(f.a)(t,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.fetch(this.props),this.fetch=Object(h.debounce)(this.fetch,500)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"componentDidUpdate",value:function(e){Object(h.isEqual)(e,this.props)||this.fetch(this.props)}},{key:"fetch",value:function(e){var t=this;if(this.isStillMounted){null!==this.state.response&&this.setState({response:null});var n=e.block,r=e.attributes,c=void 0===r?null:r,u=e.urlQueryArgs,i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(m.addQueryArgs)("/wp/v2/block-renderer/".concat(e),Object(o.a)({context:"edit"},null!==t?{attributes:t}:{},n))}(n,c,void 0===u?{}:u),s=this.currentFetchRequest=j()({path:i}).then((function(e){t.isStillMounted&&s===t.currentFetchRequest&&e&&t.setState({response:e.rendered})})).catch((function(e){t.isStillMounted&&s===t.currentFetchRequest&&t.setState({response:{error:!0,errorMsg:e.message}})}));return s}}},{key:"render",value:function(){var e=this.state.response,t=this.props,n=t.className,o=t.EmptyResponsePlaceholder,c=t.ErrorResponsePlaceholder,i=t.LoadingResponsePlaceholder;return""===e?Object(u.createElement)(o,Object(r.a)({response:e},this.props)):e?e.error?Object(u.createElement)(c,Object(r.a)({response:e},this.props)):Object(u.createElement)(u.RawHTML,{key:"html",className:n},e):Object(u.createElement)(i,Object(r.a)({response:e},this.props))}}]),t}(u.Component);w.defaultProps={EmptyResponsePlaceholder:function(e){var t=e.className;return Object(u.createElement)(v.Placeholder,{className:t},Object(O.__)("Block rendered as empty.")+t)},ErrorResponsePlaceholder:function(e){var t=e.response,n=e.className,r=Object(O.sprintf)(Object(O.__)("Error loading block: %s"),t.errorMsg);return Object(u.createElement)(v.Placeholder,{className:n},r)},LoadingResponsePlaceholder:function(e){var t=e.className;return Object(u.createElement)(v.Placeholder,{className:t},Object(u.createElement)(v.Spinner,null))}};var g=w,P={},S=Object(i.withSelect)((function(e){var t=e("core/editor");if(t){var n=t.getCurrentPostId();if(n)return{currentPostId:n}}return P}))((function(e){var t=e.urlQueryArgs,n=void 0===t?P:t,i=e.currentPostId,s=Object(c.a)(e,["urlQueryArgs","currentPostId"]),a=Object(u.useMemo)((function(){return i?Object(o.a)({post_id:i},n):n}),[i,n]);return Object(u.createElement)(g,Object(r.a)({urlQueryArgs:a},s))}));window&&window.wp&&window.wp.components&&(window.wp.components.ServerSideRender=Object(u.forwardRef)((function(e,t){return a()("wp.components.ServerSideRender",{alternative:"wp.serverSideRender"}),Object(u.createElement)(S,Object(r.a)({},e,{ref:t}))})));t.default=S},4:function(e,t){!function(){e.exports=this.wp.data}()},40:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},c=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},6:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9);function o(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:0,r=s(t);r.lastIndex=n;var i=r.exec(e);if(i){if("["===i[1]&&"]"===i[7])return u(t,e,r.lastIndex);var o={index:i.index,content:i[0],shortcode:f(i)};return i[1]&&(o.content=o.content.slice(1),o.index++),i[7]&&(o.content=o.content.slice(0,-1)),o}}function o(t,e,n){return e.replace(s(t),(function(t,e,r,i,u,o,c,s){if("["===e&&"]"===s)return t;var a=n(f(arguments));return a?e+a+s:t}))}function c(t){return new l(t).string()}function s(t){return new RegExp("\\[(\\[?)("+t+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}var a=n.n(i)()((function(t){var e,n={},r=[],i=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;for(t=t.replace(/[\u00a0\u200b]/g," ");e=i.exec(t);)e[1]?n[e[1].toLowerCase()]=e[2]:e[3]?n[e[3].toLowerCase()]=e[4]:e[5]?n[e[5].toLowerCase()]=e[6]:e[7]?r.push(e[7]):e[8]?r.push(e[8]):e[9]&&r.push(e[9]);return{named:n,numeric:r}}));function f(t){var e;return e=t[4]?"self-closing":t[6]?"closed":"single",new l({tag:t[2],attrs:t[3],type:e,content:t[5]})}var l=Object(r.extend)((function(t){var e=this;Object(r.extend)(this,Object(r.pick)(t||{},"tag","attrs","type","content"));var n=this.attrs;this.attrs={named:{},numeric:[]},n&&(Object(r.isString)(n)?this.attrs=a(n):Object(r.isEqual)(Object.keys(n),["named","numeric"])?this.attrs=n:Object(r.forEach)(n,(function(t,n){e.set(n,t)})))}),{next:u,replace:o,string:c,regexp:s,attrs:a,fromMatch:f});Object(r.extend)(l.prototype,{get:function(t){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]},set:function(t,e){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]=e,this},string:function(){var t="["+this.tag;return Object(r.forEach)(this.attrs.numeric,(function(e){/\s/.test(e)?t+=' "'+e+'"':t+=" "+e})),Object(r.forEach)(this.attrs.named,(function(e,n){t+=" "+n+'="'+e+'"'})),"single"===this.type?t+"]":"self-closing"===this.type?t+" /]":(t+="]",this.content&&(t+=this.content),t+"[/"+this.tag+"]")}}),e.default=l},44:function(t,e,n){t.exports=function(t,e){var n,r,i,u=0;function o(){var e,o,c=r,s=arguments.length;t:for(;c;){if(c.args.length===arguments.length){for(o=0;o2&&void 0!==arguments[2]?arguments[2]:0,r=s(t);r.lastIndex=n;var i=r.exec(e);if(i){if("["===i[1]&&"]"===i[7])return u(t,e,r.lastIndex);var o={index:i.index,content:i[0],shortcode:f(i)};return i[1]&&(o.content=o.content.slice(1),o.index++),i[7]&&(o.content=o.content.slice(0,-1)),o}}function o(t,e,n){return e.replace(s(t),(function(t,e,r,i,u,o,c,s){if("["===e&&"]"===s)return t;var a=n(f(arguments));return a?e+a+s:t}))}function c(t){return new l(t).string()}function s(t){return new RegExp("\\[(\\[?)("+t+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}var a=n.n(i)()((function(t){var e,n={},r=[],i=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;for(t=t.replace(/[\u00a0\u200b]/g," ");e=i.exec(t);)e[1]?n[e[1].toLowerCase()]=e[2]:e[3]?n[e[3].toLowerCase()]=e[4]:e[5]?n[e[5].toLowerCase()]=e[6]:e[7]?r.push(e[7]):e[8]?r.push(e[8]):e[9]&&r.push(e[9]);return{named:n,numeric:r}}));function f(t){var e;return e=t[4]?"self-closing":t[6]?"closed":"single",new l({tag:t[2],attrs:t[3],type:e,content:t[5]})}var l=Object(r.extend)((function(t){var e=this;Object(r.extend)(this,Object(r.pick)(t||{},"tag","attrs","type","content"));var n=this.attrs;this.attrs={named:{},numeric:[]},n&&(Object(r.isString)(n)?this.attrs=a(n):Object(r.isEqual)(Object.keys(n),["named","numeric"])?this.attrs=n:Object(r.forEach)(n,(function(t,n){e.set(n,t)})))}),{next:u,replace:o,string:c,regexp:s,attrs:a,fromMatch:f});Object(r.extend)(l.prototype,{get:function(t){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]},set:function(t,e){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]=e,this},string:function(){var t="["+this.tag;return Object(r.forEach)(this.attrs.numeric,(function(e){/\s/.test(e)?t+=' "'+e+'"':t+=" "+e})),Object(r.forEach)(this.attrs.named,(function(e,n){t+=" "+n+'="'+e+'"'})),"single"===this.type?t+"]":"self-closing"===this.type?t+" /]":(t+="]",this.content&&(t+=this.content),t+"[/"+this.tag+"]")}}),e.default=l},42:function(t,e,n){t.exports=function(t,e){var n,r,i,u=0;function o(){var e,o,c=r,s=arguments.length;t:for(;c;){if(c.args.length===arguments.length){for(o=0;o0&&void 0!==arguments[0]?arguments[0]:"";Object(i.a)(this,t),this.value=n,["entries","forEach","keys","values"].forEach((function(t){e[t]=function(){var e;return(e=this._valueAsArray)[t].apply(e,arguments)}.bind(e)}))}return Object(o.a)(t,[{key:"toString",value:function(){return this.value}},{key:Symbol.iterator,value:u.a.mark((function t(){return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(this._valueAsArray,"t0",1);case 1:return t.abrupt("return",t.t0);case 2:case"end":return t.stop()}}),t,this)}))},{key:"item",value:function(t){return this._valueAsArray[t]}},{key:"contains",value:function(t){return-1!==this._valueAsArray.indexOf(t)}},{key:"add",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n0&&void 0!==arguments[0]?arguments[0]:"";Object(i.a)(this,e),this.value=n,["entries","forEach","keys","values"].forEach((function(e){t[e]=function(){var n;return(n=t._valueAsArray)[e].apply(n,arguments)}}))}return Object(o.a)(e,[{key:"toString",value:function(){return this.value}},{key:Symbol.iterator,value:u.a.mark((function e(){return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(this._valueAsArray,"t0",1);case 1:return e.abrupt("return",e.t0);case 2:case"end":return e.stop()}}),e,this)}))},{key:"item",value:function(e){return this._valueAsArray[e]}},{key:"contains",value:function(e){return-1!==this._valueAsArray.indexOf(e)}},{key:"add",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n 0 && arguments[0] !== undefined ? arguments[0] : ''; - var args = arguments.length > 1 ? arguments[1] : undefined; - - // If no arguments are to be appended, return original URL. - if (!args || !Object.keys(args).length) { - return url; - } - - var baseUrl = url; // Determine whether URL already had query arguments. - - var queryStringIndex = url.indexOf('?'); - - if (queryStringIndex !== -1) { - // Merge into existing query arguments. - args = Object.assign(Object(qs__WEBPACK_IMPORTED_MODULE_0__["parse"])(url.substr(queryStringIndex + 1)), args); // Change working base URL to omit previous query arguments. - - baseUrl = baseUrl.substr(0, queryStringIndex); - } - - return baseUrl + '?' + Object(qs__WEBPACK_IMPORTED_MODULE_0__["stringify"])(args); -} -/** - * Returns a single query argument of the url - * - * @param {string} url URL. - * @param {string} arg Query arg name. - * - * @example - * ```js - * const foo = getQueryArg( 'https://wordpress.org?foo=bar&bar=baz', 'foo' ); // bar - * ``` - * - * @return {QueryArgParsed|undefined} Query arg value. - */ - -function getQueryArg(url, arg) { - var queryStringIndex = url.indexOf('?'); - var query = queryStringIndex !== -1 ? Object(qs__WEBPACK_IMPORTED_MODULE_0__["parse"])(url.substr(queryStringIndex + 1)) : {}; - return query[arg]; -} -/** - * Determines whether the URL contains a given query arg. - * - * @param {string} url URL. - * @param {string} arg Query arg name. - * - * @example - * ```js - * const hasBar = hasQueryArg( 'https://wordpress.org?foo=bar&bar=baz', 'bar' ); // true - * ``` - * - * @return {boolean} Whether or not the URL contains the query arg. - */ - -function hasQueryArg(url, arg) { - return getQueryArg(url, arg) !== undefined; -} -/** - * Removes arguments from the query string of the url - * - * @param {string} url URL. - * @param {...string} args Query Args. - * - * @example - * ```js - * const newUrl = removeQueryArgs( 'https://wordpress.org?foo=bar&bar=baz&baz=foobar', 'foo', 'bar' ); // https://wordpress.org?baz=foobar - * ``` - * - * @return {string} Updated URL. - */ - -function removeQueryArgs(url) { - var queryStringIndex = url.indexOf('?'); - var query = queryStringIndex !== -1 ? Object(qs__WEBPACK_IMPORTED_MODULE_0__["parse"])(url.substr(queryStringIndex + 1)) : {}; - var baseUrl = queryStringIndex !== -1 ? url.substr(0, queryStringIndex) : url; - - for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - args.forEach(function (arg) { - return delete query[arg]; - }); - return baseUrl + '?' + Object(qs__WEBPACK_IMPORTED_MODULE_0__["stringify"])(query); -} -/** - * Prepends "http://" to a url, if it looks like something that is meant to be a TLD. - * - * @param {string} url The URL to test. - * - * @example - * ```js - * const actualURL = prependHTTP( 'wordpress.org' ); // http://wordpress.org - * ``` - * - * @return {string} The updated URL. - */ - -function prependHTTP(url) { - if (!url) { - return url; - } - - url = url.trim(); - - if (!USABLE_HREF_REGEXP.test(url) && !EMAIL_REGEXP.test(url)) { - return 'http://' + url; - } - - return url; -} -/** - * Safely decodes a URI with `decodeURI`. Returns the URI unmodified if - * `decodeURI` throws an error. - * - * @param {string} uri URI to decode. - * - * @example - * ```js - * const badUri = safeDecodeURI( '%z' ); // does not throw an Error, simply returns '%z' - * ``` - * - * @return {string} Decoded URI if possible. - */ - -function safeDecodeURI(uri) { - try { - return decodeURI(uri); - } catch (uriError) { - return uri; - } -} -/** - * Returns a URL for display. - * - * @param {string} url Original URL. - * - * @example - * ```js - * const displayUrl = filterURLForDisplay( 'https://www.wordpress.org/gutenberg/' ); // wordpress.org/gutenberg - * ``` - * - * @return {string} Displayed URL. - */ - -function filterURLForDisplay(url) { - // Remove protocol and www prefixes. - var filteredURL = url.replace(/^(?:https?:)\/\/(?:www\.)?/, ''); // Ends with / and only has that single slash, strip it. - - if (filteredURL.match(/^[^\/]+\/$/)) { - return filteredURL.replace('/', ''); - } - - return filteredURL; -} -/** - * Safely decodes a URI component with `decodeURIComponent`. Returns the URI component unmodified if - * `decodeURIComponent` throws an error. - * - * @param {string} uriComponent URI component to decode. - * - * @return {string} Decoded URI component if possible. - */ - -function safeDecodeURIComponent(uriComponent) { - try { - return decodeURIComponent(uriComponent); - } catch (uriComponentError) { - return uriComponent; - } -} - - -/***/ }), - -/***/ 339: +/***/ 358: /***/ (function(module, exports, __webpack_require__) { "use strict"; -var utils = __webpack_require__(213); -var formats = __webpack_require__(214); +var utils = __webpack_require__(212); +var formats = __webpack_require__(213); var has = Object.prototype.hasOwnProperty; var arrayPrefixGenerators = { @@ -1105,13 +628,13 @@ module.exports = function (object, opts) { /***/ }), -/***/ 340: +/***/ 359: /***/ (function(module, exports, __webpack_require__) { "use strict"; -var utils = __webpack_require__(213); +var utils = __webpack_require__(212); var has = Object.prototype.hasOwnProperty; @@ -1355,15 +878,558 @@ module.exports = function (str, opts) { /***/ }), -/***/ 83: +/***/ 368: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-url.js +var URL_REGEXP = /^(?:https?:)?\/\/\S+$/i; +/** + * Determines whether the given string looks like a URL. + * + * @param {string} url The string to scrutinise. + * + * @example + * ```js + * const isURL = isURL( 'https://wordpress.org' ); // true + * ``` + * + * @return {boolean} Whether or not it looks like a URL. + */ + +function isURL(url) { + return URL_REGEXP.test(url); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-email.js +var EMAIL_REGEXP = /^(mailto:)?[a-z0-9._%+-]+@[a-z0-9][a-z0-9.-]*\.[a-z]{2,63}$/i; +/** + * Determines whether the given string looks like an email. + * + * @param {string} email The string to scrutinise. + * + * @example + * ```js + * const isEmail = isEmail( 'hello@wordpress.org' ); // true + * ``` + * + * @return {boolean} Whether or not it looks like an email. + */ + +function isEmail(email) { + return EMAIL_REGEXP.test(email); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-protocol.js +/** + * Returns the protocol part of the URL. + * + * @param {string} url The full URL. + * + * @example + * ```js + * const protocol1 = getProtocol( 'tel:012345678' ); // 'tel:' + * const protocol2 = getProtocol( 'https://wordpress.org' ); // 'https:' + * ``` + * + * @return {string|void} The protocol part of the URL. + */ +function getProtocol(url) { + var matches = /^([^\s:]+:)/.exec(url); + + if (matches) { + return matches[1]; + } +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-valid-protocol.js +/** + * Tests if a url protocol is valid. + * + * @param {string} protocol The url protocol. + * + * @example + * ```js + * const isValid = isValidProtocol( 'https:' ); // true + * const isNotValid = isValidProtocol( 'https :' ); // false + * ``` + * + * @return {boolean} True if the argument is a valid protocol (e.g. http:, tel:). + */ +function isValidProtocol(protocol) { + if (!protocol) { + return false; + } + + return /^[a-z\-.\+]+[0-9]*:$/i.test(protocol); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-authority.js +/** + * Returns the authority part of the URL. + * + * @param {string} url The full URL. + * + * @example + * ```js + * const authority1 = getAuthority( 'https://wordpress.org/help/' ); // 'wordpress.org' + * const authority2 = getAuthority( 'https://localhost:8080/test/' ); // 'localhost:8080' + * ``` + * + * @return {string|void} The authority part of the URL. + */ +function getAuthority(url) { + var matches = /^[^\/\s:]+:(?:\/\/)?\/?([^\/\s#?]+)[\/#?]{0,1}\S*$/.exec(url); + + if (matches) { + return matches[1]; + } +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-valid-authority.js +/** + * Checks for invalid characters within the provided authority. + * + * @param {string} authority A string containing the URL authority. + * + * @example + * ```js + * const isValid = isValidAuthority( 'wordpress.org' ); // true + * const isNotValid = isValidAuthority( 'wordpress#org' ); // false + * ``` + * + * @return {boolean} True if the argument contains a valid authority. + */ +function isValidAuthority(authority) { + if (!authority) { + return false; + } + + return /^[^\s#?]+$/.test(authority); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-path.js +/** + * Returns the path part of the URL. + * + * @param {string} url The full URL. + * + * @example + * ```js + * const path1 = getPath( 'http://localhost:8080/this/is/a/test?query=true' ); // 'this/is/a/test' + * const path2 = getPath( 'https://wordpress.org/help/faq/' ); // 'help/faq' + * ``` + * + * @return {string|void} The path part of the URL. + */ +function getPath(url) { + var matches = /^[^\/\s:]+:(?:\/\/)?[^\/\s#?]+[\/]([^\s#?]+)[#?]{0,1}\S*$/.exec(url); + + if (matches) { + return matches[1]; + } +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-valid-path.js +/** + * Checks for invalid characters within the provided path. + * + * @param {string} path The URL path. + * + * @example + * ```js + * const isValid = isValidPath( 'test/path/' ); // true + * const isNotValid = isValidPath( '/invalid?test/path/' ); // false + * ``` + * + * @return {boolean} True if the argument contains a valid path + */ +function isValidPath(path) { + if (!path) { + return false; + } + + return /^[^\s#?]+$/.test(path); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-query-string.js +/** + * Returns the query string part of the URL. + * + * @param {string} url The full URL. + * + * @example + * ```js + * const queryString1 = getQueryString( 'http://localhost:8080/this/is/a/test?query=true#fragment' ); // 'query=true' + * const queryString2 = getQueryString( 'https://wordpress.org#fragment?query=false&search=hello' ); // 'query=false&search=hello' + * ``` + * + * @return {string|void} The query string part of the URL. + */ +function getQueryString(url) { + var matches = /^\S+?\?([^\s#]+)/.exec(url); + + if (matches) { + return matches[1]; + } +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-valid-query-string.js +/** + * Checks for invalid characters within the provided query string. + * + * @param {string} queryString The query string. + * + * @example + * ```js + * const isValid = isValidQueryString( 'query=true&another=false' ); // true + * const isNotValid = isValidQueryString( 'query=true?another=false' ); // false + * ``` + * + * @return {boolean} True if the argument contains a valid query string. + */ +function isValidQueryString(queryString) { + if (!queryString) { + return false; + } + + return /^[^\s#?\/]+$/.test(queryString); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-fragment.js +/** + * Returns the fragment part of the URL. + * + * @param {string} url The full URL + * + * @example + * ```js + * const fragment1 = getFragment( 'http://localhost:8080/this/is/a/test?query=true#fragment' ); // '#fragment' + * const fragment2 = getFragment( 'https://wordpress.org#another-fragment?query=true' ); // '#another-fragment' + * ``` + * + * @return {string|void} The fragment part of the URL. + */ +function getFragment(url) { + var matches = /^\S+?(#[^\s\?]*)/.exec(url); + + if (matches) { + return matches[1]; + } +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-valid-fragment.js +/** + * Checks for invalid characters within the provided fragment. + * + * @param {string} fragment The url fragment. + * + * @example + * ```js + * const isValid = isValidFragment( '#valid-fragment' ); // true + * const isNotValid = isValidFragment( '#invalid-#fragment' ); // false + * ``` + * + * @return {boolean} True if the argument contains a valid fragment. + */ +function isValidFragment(fragment) { + if (!fragment) { + return false; + } + + return /^#[^\s#?\/]*$/.test(fragment); +} + +// EXTERNAL MODULE: ./node_modules/qs/lib/index.js +var lib = __webpack_require__(71); + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/add-query-args.js +/** + * External dependencies + */ + +/** + * Appends arguments as querystring to the provided URL. If the URL already + * includes query arguments, the arguments are merged with (and take precedent + * over) the existing set. + * + * @param {string} [url=''] URL to which arguments should be appended. If omitted, + * only the resulting querystring is returned. + * @param {Object} args Query arguments to apply to URL. + * + * @example + * ```js + * const newURL = addQueryArgs( 'https://google.com', { q: 'test' } ); // https://google.com/?q=test + * ``` + * + * @return {string} URL with arguments applied. + */ + +function addQueryArgs() { + var url = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; + var args = arguments.length > 1 ? arguments[1] : undefined; + + // If no arguments are to be appended, return original URL. + if (!args || !Object.keys(args).length) { + return url; + } + + var baseUrl = url; // Determine whether URL already had query arguments. + + var queryStringIndex = url.indexOf('?'); + + if (queryStringIndex !== -1) { + // Merge into existing query arguments. + args = Object.assign(Object(lib["parse"])(url.substr(queryStringIndex + 1)), args); // Change working base URL to omit previous query arguments. + + baseUrl = baseUrl.substr(0, queryStringIndex); + } + + return baseUrl + '?' + Object(lib["stringify"])(args); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-query-arg.js +/** + * External dependencies + */ + +/** + * @typedef {{[key: string]: QueryArgParsed}} QueryArgObject + */ + +/** + * @typedef {string|string[]|QueryArgObject} QueryArgParsed + */ + +/** + * Returns a single query argument of the url + * + * @param {string} url URL. + * @param {string} arg Query arg name. + * + * @example + * ```js + * const foo = getQueryArg( 'https://wordpress.org?foo=bar&bar=baz', 'foo' ); // bar + * ``` + * + * @return {QueryArgParsed|undefined} Query arg value. + */ + +function getQueryArg(url, arg) { + var queryStringIndex = url.indexOf('?'); + var query = queryStringIndex !== -1 ? Object(lib["parse"])(url.substr(queryStringIndex + 1)) : {}; + return query[arg]; +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/has-query-arg.js +/** + * Internal dependencies + */ + +/** + * Determines whether the URL contains a given query arg. + * + * @param {string} url URL. + * @param {string} arg Query arg name. + * + * @example + * ```js + * const hasBar = hasQueryArg( 'https://wordpress.org?foo=bar&bar=baz', 'bar' ); // true + * ``` + * + * @return {boolean} Whether or not the URL contains the query arg. + */ + +function hasQueryArg(url, arg) { + return getQueryArg(url, arg) !== undefined; +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/remove-query-args.js +/** + * External dependencies + */ + +/** + * Removes arguments from the query string of the url + * + * @param {string} url URL. + * @param {...string} args Query Args. + * + * @example + * ```js + * const newUrl = removeQueryArgs( 'https://wordpress.org?foo=bar&bar=baz&baz=foobar', 'foo', 'bar' ); // https://wordpress.org?baz=foobar + * ``` + * + * @return {string} Updated URL. + */ + +function removeQueryArgs(url) { + var queryStringIndex = url.indexOf('?'); + var query = queryStringIndex !== -1 ? Object(lib["parse"])(url.substr(queryStringIndex + 1)) : {}; + var baseUrl = queryStringIndex !== -1 ? url.substr(0, queryStringIndex) : url; + + for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } + + args.forEach(function (arg) { + return delete query[arg]; + }); + return baseUrl + '?' + Object(lib["stringify"])(query); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/prepend-http.js +/** + * Internal dependencies + */ + +var USABLE_HREF_REGEXP = /^(?:[a-z]+:|#|\?|\.|\/)/i; +/** + * Prepends "http://" to a url, if it looks like something that is meant to be a TLD. + * + * @param {string} url The URL to test. + * + * @example + * ```js + * const actualURL = prependHTTP( 'wordpress.org' ); // http://wordpress.org + * ``` + * + * @return {string} The updated URL. + */ + +function prependHTTP(url) { + if (!url) { + return url; + } + + url = url.trim(); + + if (!USABLE_HREF_REGEXP.test(url) && !isEmail(url)) { + return 'http://' + url; + } + + return url; +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/safe-decode-uri.js +/** + * Safely decodes a URI with `decodeURI`. Returns the URI unmodified if + * `decodeURI` throws an error. + * + * @param {string} uri URI to decode. + * + * @example + * ```js + * const badUri = safeDecodeURI( '%z' ); // does not throw an Error, simply returns '%z' + * ``` + * + * @return {string} Decoded URI if possible. + */ +function safeDecodeURI(uri) { + try { + return decodeURI(uri); + } catch (uriError) { + return uri; + } +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/safe-decode-uri-component.js +/** + * Safely decodes a URI component with `decodeURIComponent`. Returns the URI component unmodified if + * `decodeURIComponent` throws an error. + * + * @param {string} uriComponent URI component to decode. + * + * @return {string} Decoded URI component if possible. + */ +function safeDecodeURIComponent(uriComponent) { + try { + return decodeURIComponent(uriComponent); + } catch (uriComponentError) { + return uriComponent; + } +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/filter-url-for-display.js +/** + * Returns a URL for display. + * + * @param {string} url Original URL. + * + * @example + * ```js + * const displayUrl = filterURLForDisplay( 'https://www.wordpress.org/gutenberg/' ); // wordpress.org/gutenberg + * ``` + * + * @return {string} Displayed URL. + */ +function filterURLForDisplay(url) { + // Remove protocol and www prefixes. + var filteredURL = url.replace(/^(?:https?:)\/\/(?:www\.)?/, ''); // Ends with / and only has that single slash, strip it. + + if (filteredURL.match(/^[^\/]+\/$/)) { + return filteredURL.replace('/', ''); + } + + return filteredURL; +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/index.js +/* concated harmony reexport isURL */__webpack_require__.d(__webpack_exports__, "isURL", function() { return isURL; }); +/* concated harmony reexport isEmail */__webpack_require__.d(__webpack_exports__, "isEmail", function() { return isEmail; }); +/* concated harmony reexport getProtocol */__webpack_require__.d(__webpack_exports__, "getProtocol", function() { return getProtocol; }); +/* concated harmony reexport isValidProtocol */__webpack_require__.d(__webpack_exports__, "isValidProtocol", function() { return isValidProtocol; }); +/* concated harmony reexport getAuthority */__webpack_require__.d(__webpack_exports__, "getAuthority", function() { return getAuthority; }); +/* concated harmony reexport isValidAuthority */__webpack_require__.d(__webpack_exports__, "isValidAuthority", function() { return isValidAuthority; }); +/* concated harmony reexport getPath */__webpack_require__.d(__webpack_exports__, "getPath", function() { return getPath; }); +/* concated harmony reexport isValidPath */__webpack_require__.d(__webpack_exports__, "isValidPath", function() { return isValidPath; }); +/* concated harmony reexport getQueryString */__webpack_require__.d(__webpack_exports__, "getQueryString", function() { return getQueryString; }); +/* concated harmony reexport isValidQueryString */__webpack_require__.d(__webpack_exports__, "isValidQueryString", function() { return isValidQueryString; }); +/* concated harmony reexport getFragment */__webpack_require__.d(__webpack_exports__, "getFragment", function() { return getFragment; }); +/* concated harmony reexport isValidFragment */__webpack_require__.d(__webpack_exports__, "isValidFragment", function() { return isValidFragment; }); +/* concated harmony reexport addQueryArgs */__webpack_require__.d(__webpack_exports__, "addQueryArgs", function() { return addQueryArgs; }); +/* concated harmony reexport getQueryArg */__webpack_require__.d(__webpack_exports__, "getQueryArg", function() { return getQueryArg; }); +/* concated harmony reexport hasQueryArg */__webpack_require__.d(__webpack_exports__, "hasQueryArg", function() { return hasQueryArg; }); +/* concated harmony reexport removeQueryArgs */__webpack_require__.d(__webpack_exports__, "removeQueryArgs", function() { return removeQueryArgs; }); +/* concated harmony reexport prependHTTP */__webpack_require__.d(__webpack_exports__, "prependHTTP", function() { return prependHTTP; }); +/* concated harmony reexport safeDecodeURI */__webpack_require__.d(__webpack_exports__, "safeDecodeURI", function() { return safeDecodeURI; }); +/* concated harmony reexport safeDecodeURIComponent */__webpack_require__.d(__webpack_exports__, "safeDecodeURIComponent", function() { return safeDecodeURIComponent; }); +/* concated harmony reexport filterURLForDisplay */__webpack_require__.d(__webpack_exports__, "filterURLForDisplay", function() { return filterURLForDisplay; }); + + + + + + + + + + + + + + + + + + + + + + +/***/ }), + +/***/ 71: /***/ (function(module, exports, __webpack_require__) { "use strict"; -var stringify = __webpack_require__(339); -var parse = __webpack_require__(340); -var formats = __webpack_require__(214); +var stringify = __webpack_require__(358); +var parse = __webpack_require__(359); +var formats = __webpack_require__(213); module.exports = { formats: formats, diff --git a/wp-includes/js/dist/url.min.js b/wp-includes/js/dist/url.min.js index 8fb5a89ced..052044c833 100644 --- a/wp-includes/js/dist/url.min.js +++ b/wp-includes/js/dist/url.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.url=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=338)}({213:function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),c=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n1;){var t=e.pop(),r=t.obj[t.prop];if(o(r)){for(var n=[],i=0;i=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122?o+=n.charAt(c):a<128?o+=i[a]:a<2048?o+=i[192|a>>6]+i[128|63&a]:a<55296||a>=57344?o+=i[224|a>>12]+i[128|a>>6&63]+i[128|63&a]:(c+=1,a=65536+((1023&a)<<10|1023&n.charCodeAt(c)),o+=i[240|a>>18]+i[128|a>>12&63]+i[128|a>>6&63]+i[128|63&a])}return o},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,r,i){if(!r)return t;if("object"!=typeof r){if(o(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(i&&(i.plainObjects||i.allowPrototypes)||!n.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var a=t;return o(t)&&!o(r)&&(a=c(t,i)),o(t)&&o(r)?(r.forEach((function(r,o){if(n.call(t,o)){var c=t[o];c&&"object"==typeof c&&r&&"object"==typeof r?t[o]=e(c,r,i):t.push(r)}else t[o]=r})),t):Object.keys(r).reduce((function(t,o){var c=r[o];return n.call(t,o)?t[o]=e(t[o],c,i):t[o]=c,t}),a)}}},214:function(e,t,r){"use strict";var n=String.prototype.replace,o=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return n.call(e,o,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},338:function(e,t,r){"use strict";r.r(t),r.d(t,"isURL",(function(){return a})),r.d(t,"isEmail",(function(){return u})),r.d(t,"getProtocol",(function(){return l})),r.d(t,"isValidProtocol",(function(){return s})),r.d(t,"getAuthority",(function(){return f})),r.d(t,"isValidAuthority",(function(){return p})),r.d(t,"getPath",(function(){return d})),r.d(t,"isValidPath",(function(){return y})),r.d(t,"getQueryString",(function(){return h})),r.d(t,"isValidQueryString",(function(){return m})),r.d(t,"getFragment",(function(){return b})),r.d(t,"isValidFragment",(function(){return g})),r.d(t,"addQueryArgs",(function(){return v})),r.d(t,"getQueryArg",(function(){return O})),r.d(t,"hasQueryArg",(function(){return j})),r.d(t,"removeQueryArgs",(function(){return w})),r.d(t,"prependHTTP",(function(){return x})),r.d(t,"safeDecodeURI",(function(){return S})),r.d(t,"filterURLForDisplay",(function(){return P})),r.d(t,"safeDecodeURIComponent",(function(){return N}));var n=r(83),o=/^(?:https?:)?\/\/\S+$/i,i=/^(mailto:)?[a-z0-9._%+-]+@[a-z0-9][a-z0-9.-]*\.[a-z]{2,63}$/i,c=/^(?:[a-z]+:|#|\?|\.|\/)/i;function a(e){return o.test(e)}function u(e){return i.test(e)}function l(e){var t=/^([^\s:]+:)/.exec(e);if(t)return t[1]}function s(e){return!!e&&/^[a-z\-.\+]+[0-9]*:$/i.test(e)}function f(e){var t=/^[^\/\s:]+:(?:\/\/)?\/?([^\/\s#?]+)[\/#?]{0,1}\S*$/.exec(e);if(t)return t[1]}function p(e){return!!e&&/^[^\s#?]+$/.test(e)}function d(e){var t=/^[^\/\s:]+:(?:\/\/)?[^\/\s#?]+[\/]([^\s#?]+)[#?]{0,1}\S*$/.exec(e);if(t)return t[1]}function y(e){return!!e&&/^[^\s#?]+$/.test(e)}function h(e){var t=/^\S+?\?([^\s#]+)/.exec(e);if(t)return t[1]}function m(e){return!!e&&/^[^\s#?\/]+$/.test(e)}function b(e){var t=/^\S+?(#[^\s\?]*)/.exec(e);if(t)return t[1]}function g(e){return!!e&&/^#[^\s#?\/]*$/.test(e)}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!t||!Object.keys(t).length)return e;var r=e,o=e.indexOf("?");return-1!==o&&(t=Object.assign(Object(n.parse)(e.substr(o+1)),t),r=r.substr(0,o)),r+"?"+Object(n.stringify)(t)}function O(e,t){var r=e.indexOf("?");return(-1!==r?Object(n.parse)(e.substr(r+1)):{})[t]}function j(e,t){return void 0!==O(e,t)}function w(e){for(var t=e.indexOf("?"),r=-1!==t?Object(n.parse)(e.substr(t+1)):{},o=-1!==t?e.substr(0,t):e,i=arguments.length,c=new Array(i>1?i-1:0),a=1;a0?g+b:""}},340:function(e,t,r){"use strict";var n=r(213),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},a=function(e,t,r){if(e){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,c=/(\[[^[\]]*])/.exec(n),a=c?n.slice(0,c.index):n,u=[];if(a){if(!r.plainObjects&&o.call(Object.prototype,a)&&!r.allowPrototypes)return;u.push(a)}for(var l=0;null!==(c=i.exec(n))&&l=0;--o){var i,c=e[o];if("[]"===c&&r.parseArrays)i=[].concat(n);else{i=r.plainObjects?Object.create(null):{};var a="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,u=parseInt(a,10);r.parseArrays||""!==a?!isNaN(u)&&c!==a&&String(u)===a&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(i=[])[u]=n:i[a]=n:i={0:n}}n=i}return n}(u,t,r)}};e.exports=function(e,t){var r=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth?e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var r,a={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,s=u.split(t.delimiter,l),f=-1,p=t.charset;if(t.charsetSentinel)for(r=0;r-1&&(y=y.split(",")),o.call(a,d)?a[d]=n.combine(a[d],y):a[d]=y}return a}(e,r):e,l=r.plainObjects?Object.create(null):{},s=Object.keys(u),f=0;f1;){var t=e.pop(),r=t.obj[t.prop];if(o(r)){for(var n=[],i=0;i=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?o+=n.charAt(a):c<128?o+=i[c]:c<2048?o+=i[192|c>>6]+i[128|63&c]:c<55296||c>=57344?o+=i[224|c>>12]+i[128|c>>6&63]+i[128|63&c]:(a+=1,c=65536+((1023&c)<<10|1023&n.charCodeAt(a)),o+=i[240|c>>18]+i[128|c>>12&63]+i[128|c>>6&63]+i[128|63&c])}return o},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,r,i){if(!r)return t;if("object"!=typeof r){if(o(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(i&&(i.plainObjects||i.allowPrototypes)||!n.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var c=t;return o(t)&&!o(r)&&(c=a(t,i)),o(t)&&o(r)?(r.forEach((function(r,o){if(n.call(t,o)){var a=t[o];a&&"object"==typeof a&&r&&"object"==typeof r?t[o]=e(a,r,i):t.push(r)}else t[o]=r})),t):Object.keys(r).reduce((function(t,o){var a=r[o];return n.call(t,o)?t[o]=e(t[o],a,i):t[o]=a,t}),c)}}},213:function(e,t,r){"use strict";var n=String.prototype.replace,o=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return n.call(e,o,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},358:function(e,t,r){"use strict";var n=r(212),o=r(213),i=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,u=Array.prototype.push,l=function(e,t){u.apply(e,c(t)?t:[t])},s=Date.prototype.toISOString,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,formatter:o.formatters[o.default],indices:!1,serializeDate:function(e){return s.call(e)},skipNulls:!1,strictNullHandling:!1},p=function e(t,r,o,i,a,u,s,p,d,y,h,m,b){var g=t;if("function"==typeof s?g=s(r,g):g instanceof Date?g=y(g):"comma"===o&&c(g)&&(g=g.join(",")),null===g){if(i)return u&&!m?u(r,f.encoder,b):r;g=""}if("string"==typeof g||"number"==typeof g||"boolean"==typeof g||n.isBuffer(g))return u?[h(m?r:u(r,f.encoder,b))+"="+h(u(g,f.encoder,b))]:[h(r)+"="+h(String(g))];var v,O=[];if(void 0===g)return O;if(c(s))v=s;else{var j=Object.keys(g);v=p?j.sort(p):j}for(var w=0;w0?g+b:""}},359:function(e,t,r){"use strict";var n=r(212),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t,r){if(e){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(n),c=a?n.slice(0,a.index):n,u=[];if(c){if(!r.plainObjects&&o.call(Object.prototype,c)&&!r.allowPrototypes)return;u.push(c)}for(var l=0;null!==(a=i.exec(n))&&l=0;--o){var i,a=e[o];if("[]"===a&&r.parseArrays)i=[].concat(n);else{i=r.plainObjects?Object.create(null):{};var c="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,u=parseInt(c,10);r.parseArrays||""!==c?!isNaN(u)&&a!==c&&String(u)===c&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(i=[])[u]=n:i[c]=n:i={0:n}}n=i}return n}(u,t,r)}};e.exports=function(e,t){var r=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth?e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var r,c={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,s=u.split(t.delimiter,l),f=-1,p=t.charset;if(t.charsetSentinel)for(r=0;r-1&&(y=y.split(",")),o.call(c,d)?c[d]=n.combine(c[d],y):c[d]=y}return c}(e,r):e,l=r.plainObjects?Object.create(null):{},s=Object.keys(u),f=0;f0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!t||!Object.keys(t).length)return e;var r=e,n=e.indexOf("?");return-1!==n&&(t=Object.assign(Object(b.parse)(e.substr(n+1)),t),r=r.substr(0,n)),r+"?"+Object(b.stringify)(t)}function v(e,t){var r=e.indexOf("?");return(-1!==r?Object(b.parse)(e.substr(r+1)):{})[t]}function O(e,t){return void 0!==v(e,t)}function j(e){for(var t=e.indexOf("?"),r=-1!==t?Object(b.parse)(e.substr(t+1)):{},n=-1!==t?e.substr(0,t):e,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a} + */ + + var queries = Object(external_this_lodash_["reduce"])(breakpoints, function (result, width, name) { + Object(external_this_lodash_["forEach"])(operators, function (condition, operator) { + var list = window.matchMedia("(".concat(condition, ": ").concat(width, "px)")); + list.addListener(setIsMatching); + var key = [operator, name].join(' '); + result[key] = list; + }); + return result; + }, {}); + window.addEventListener('orientationchange', setIsMatching); // Set initial values + + setIsMatching(); + setIsMatching.flush(); +}; + +/* harmony default export */ var listener = (listener_addDimensionsEventListener); + +// EXTERNAL MODULE: external {"this":["wp","compose"]} +var external_this_wp_compose_ = __webpack_require__(8); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(14); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(22); + +// EXTERNAL MODULE: external {"this":["wp","element"]} +var external_this_wp_element_ = __webpack_require__(0); + +// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/with-viewport-match.js + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + /** * Higher-order component creator, creating a new component which renders with * the given prop names, where the value passed to the underlying component is @@ -236,11 +405,32 @@ var external_this_wp_compose_ = __webpack_require__(8); */ var with_viewport_match_withViewportMatch = function withViewportMatch(queries) { - return Object(external_this_wp_compose_["createHigherOrderComponent"])(Object(external_this_wp_data_["withSelect"])(function (select) { + var useViewPortQueriesResult = function useViewPortQueriesResult() { return Object(external_this_lodash_["mapValues"])(queries, function (query) { - return select('core/viewport').isViewportMatch(query); + var _query$split = query.split(' '), + _query$split2 = Object(slicedToArray["a" /* default */])(_query$split, 2), + operator = _query$split2[0], + breakpointName = _query$split2[1]; + + if (breakpointName === undefined) { + breakpointName = operator; + operator = '>='; + } // Hooks should unconditionally execute in the same order, + // we are respecting that as from the static query of the HOC we generate + // a hook that calls other hooks always in the same order (because the query never changes). + // eslint-disable-next-line react-hooks/rules-of-hooks + + + return Object(external_this_wp_compose_["useViewportMatch"])(breakpointName, operator); }); - }), 'withViewportMatch'); + }; + + return Object(external_this_wp_compose_["createHigherOrderComponent"])(function (WrappedComponent) { + return Object(external_this_wp_compose_["pure"])(function (props) { + var queriesResult = useViewPortQueriesResult(); + return Object(external_this_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({}, props, queriesResult)); + }); + }, 'withViewportMatch'); }; /* harmony default export */ var with_viewport_match = (with_viewport_match_withViewportMatch); @@ -289,15 +479,6 @@ var if_viewport_matches_ifViewportMatches = function ifViewportMatches(query) { // CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/index.js /* concated harmony reexport ifViewportMatches */__webpack_require__.d(__webpack_exports__, "ifViewportMatches", function() { return if_viewport_matches; }); /* concated harmony reexport withViewportMatch */__webpack_require__.d(__webpack_exports__, "withViewportMatch", function() { return with_viewport_match; }); -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - /** * Internal dependencies */ @@ -331,42 +512,7 @@ var OPERATORS = { '<': 'max-width', '>=': 'min-width' }; -/** - * Callback invoked when media query state should be updated. Is invoked a - * maximum of one time per call stack. - */ - -var build_module_setIsMatching = Object(external_this_lodash_["debounce"])(function () { - var values = Object(external_this_lodash_["mapValues"])(build_module_queries, function (query) { - return query.matches; - }); - Object(external_this_wp_data_["dispatch"])('core/viewport').setIsMatching(values); -}, { - leading: true -}); -/** - * Hash of breakpoint names with generated MediaQueryList for corresponding - * media query. - * - * @see https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia - * @see https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList - * - * @type {Object} - */ - -var build_module_queries = Object(external_this_lodash_["reduce"])(BREAKPOINTS, function (result, width, name) { - Object(external_this_lodash_["forEach"])(OPERATORS, function (condition, operator) { - var list = window.matchMedia("(".concat(condition, ": ").concat(width, "px)")); - list.addListener(build_module_setIsMatching); - var key = [operator, name].join(' '); - result[key] = list; - }); - return result; -}, {}); -window.addEventListener('orientationchange', build_module_setIsMatching); // Set initial values - -build_module_setIsMatching(); -build_module_setIsMatching.flush(); +listener(BREAKPOINTS, OPERATORS); /***/ }), diff --git a/wp-includes/js/dist/viewport.min.js b/wp-includes/js/dist/viewport.min.js index 27981c14c7..36aee97374 100644 --- a/wp-includes/js/dist/viewport.min.js +++ b/wp-includes/js/dist/viewport.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.viewport=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=358)}({2:function(t,e){!function(){t.exports=this.lodash}()},358:function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"setIsMatching",(function(){return a}));var i={};n.r(i),n.d(i,"isViewportMatch",(function(){return f}));var o=n(2),c=n(4);var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SET_IS_MATCHING":return e.values}return t};function a(t){return{type:"SET_IS_MATCHING",values:t}}function f(t,e){return-1===e.indexOf(" ")&&(e=">= "+e),!!t[e]}Object(c.registerStore)("core/viewport",{reducer:u,actions:r,selectors:i});var s=n(8),p=function(t){return Object(s.createHigherOrderComponent)(Object(c.withSelect)((function(e){return Object(o.mapValues)(t,(function(t){return e("core/viewport").isViewportMatch(t)}))})),"withViewportMatch")},d=function(t){return Object(s.createHigherOrderComponent)(Object(s.compose)([p({isViewportMatch:t}),Object(s.ifCondition)((function(t){return t.isViewportMatch}))]),"ifViewportMatches")};n.d(e,"ifViewportMatches",(function(){return d})),n.d(e,"withViewportMatch",(function(){return p}));var l={"<":"max-width",">=":"min-width"},h=Object(o.debounce)((function(){var t=Object(o.mapValues)(w,(function(t){return t.matches}));Object(c.dispatch)("core/viewport").setIsMatching(t)}),{leading:!0}),w=Object(o.reduce)({huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},(function(t,e,n){return Object(o.forEach)(l,(function(r,i){var o=window.matchMedia("(".concat(r,": ").concat(e,"px)"));o.addListener(h);var c=[i,n].join(" ");t[c]=o})),t}),{});window.addEventListener("orientationchange",h),h(),h.flush()},4:function(t,e){!function(){t.exports=this.wp.data}()},8:function(t,e){!function(){t.exports=this.wp.compose}()}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.viewport=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=377)}({0:function(t,e){!function(){t.exports=this.wp.element}()},14:function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SET_IS_MATCHING":return e.values}return t};function u(t){return{type:"SET_IS_MATCHING",values:t}}function a(t,e){return-1===e.indexOf(" ")&&(e=">= "+e),!!t[e]}Object(o.registerStore)("core/viewport",{reducer:c,actions:r,selectors:i});var f=n(2),s=function(t,e){var n=Object(f.debounce)((function(){var t=Object(f.mapValues)(r,(function(t){return t.matches}));Object(o.dispatch)("core/viewport").setIsMatching(t)}),{leading:!0}),r=Object(f.reduce)(t,(function(t,r,i){return Object(f.forEach)(e,(function(e,o){var c=window.matchMedia("(".concat(e,": ").concat(r,"px)"));c.addListener(n);var u=[o,i].join(" ");t[u]=c})),t}),{});window.addEventListener("orientationchange",n),n(),n.flush()},l=n(8),p=n(14),d=n(22),h=n(0),b=function(t){return Object(l.createHigherOrderComponent)((function(e){return Object(l.pure)((function(n){var r=Object(f.mapValues)(t,(function(t){var e=t.split(" "),n=Object(d.a)(e,2),r=n[0],i=n[1];return void 0===i&&(i=r,r=">="),Object(l.useViewportMatch)(i,r)}));return Object(h.createElement)(e,Object(p.a)({},n,r))}))}),"withViewportMatch")},v=function(t){return Object(l.createHigherOrderComponent)(Object(l.compose)([b({isViewportMatch:t}),Object(l.ifCondition)((function(t){return t.isViewportMatch}))]),"ifViewportMatches")};n.d(e,"ifViewportMatches",(function(){return v})),n.d(e,"withViewportMatch",(function(){return b}));s({huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},{"<":"max-width",">=":"min-width"})},4:function(t,e){!function(){t.exports=this.wp.data}()},8:function(t,e){!function(){t.exports=this.wp.compose}()}}); \ No newline at end of file diff --git a/wp-includes/js/dist/wordcount.js b/wp-includes/js/dist/wordcount.js index da5a6b4e7b..4b7915dc4c 100644 --- a/wp-includes/js/dist/wordcount.js +++ b/wp-includes/js/dist/wordcount.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["wordcount"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 351); +/******/ return __webpack_require__(__webpack_require__.s = 371); /******/ }) /************************************************************************/ /******/ ({ @@ -94,7 +94,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["wordcount"] = /***/ }), -/***/ 351: +/***/ 371: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; diff --git a/wp-includes/js/dist/wordcount.min.js b/wp-includes/js/dist/wordcount.min.js index 8c0e4dceb3..75a7b98862 100644 --- a/wp-includes/js/dist/wordcount.min.js +++ b/wp-includes/js/dist/wordcount.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.wordcount=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=351)}({2:function(e,t){!function(){e.exports=this.lodash}()},351:function(e,t,n){"use strict";n.r(t);var r=n(2),o={HTMLRegExp:/<\/?[a-z][^>]*?>/gi,HTMLcommentRegExp://g,spaceRegExp:/ | /gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(["[","!-@[-`{-~","€-¿×÷"," -⯿","⸀-⹿","]"].join(""),"g"),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:{type:"words"}},i=function(e,t){if(e.HTMLRegExp)return t.replace(e.HTMLRegExp,"\n")},c=function(e,t){return e.astralRegExp?t.replace(e.astralRegExp,"a"):t},u=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,""):t},p=function(e,t){return e.connectorRegExp?t.replace(e.connectorRegExp," "):t},s=function(e,t){return e.removeRegExp?t.replace(e.removeRegExp,""):t},a=function(e,t){return e.HTMLcommentRegExp?t.replace(e.HTMLcommentRegExp,""):t},g=function(e,t){return e.shortcodesRegExp?t.replace(e.shortcodesRegExp,"\n"):t},d=function(e,t){if(e.spaceRegExp)return t.replace(e.spaceRegExp," ")},f=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,"a"):t};function l(e,t,n){if(""===e)return 0;if(e){var l=function(e,t){var n=Object(r.extend)(o,t);return n.shortcodes=n.l10n.shortcodes||{},n.shortcodes&&n.shortcodes.length&&(n.shortcodesRegExp=new RegExp("\\[\\/?(?:"+n.shortcodes.join("|")+")[^\\]]*?\\]","g")),n.type=e||n.l10n.type,"characters_excluding_spaces"!==n.type&&"characters_including_spaces"!==n.type&&(n.type="words"),n}(t,n),x=l[t+"RegExp"],E="words"===l.type?function(e,t,n){return e=Object(r.flow)(i.bind(this,n),a.bind(this,n),g.bind(this,n),d.bind(this,n),u.bind(this,n),p.bind(this,n),s.bind(this,n))(e),(e+="\n").match(t)}(e,x,l):function(e,t,n){return e=Object(r.flow)(i.bind(this,n),a.bind(this,n),g.bind(this,n),d.bind(this,n),c.bind(this,n),f.bind(this,n))(e),(e+="\n").match(t)}(e,x,l);return E?E.length:0}}n.d(t,"count",(function(){return l}))}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.wordcount=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=371)}({2:function(e,t){!function(){e.exports=this.lodash}()},371:function(e,t,n){"use strict";n.r(t);var r=n(2),o={HTMLRegExp:/<\/?[a-z][^>]*?>/gi,HTMLcommentRegExp://g,spaceRegExp:/ | /gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(["[","!-@[-`{-~","€-¿×÷"," -⯿","⸀-⹿","]"].join(""),"g"),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:{type:"words"}},i=function(e,t){if(e.HTMLRegExp)return t.replace(e.HTMLRegExp,"\n")},c=function(e,t){return e.astralRegExp?t.replace(e.astralRegExp,"a"):t},u=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,""):t},p=function(e,t){return e.connectorRegExp?t.replace(e.connectorRegExp," "):t},s=function(e,t){return e.removeRegExp?t.replace(e.removeRegExp,""):t},a=function(e,t){return e.HTMLcommentRegExp?t.replace(e.HTMLcommentRegExp,""):t},g=function(e,t){return e.shortcodesRegExp?t.replace(e.shortcodesRegExp,"\n"):t},d=function(e,t){if(e.spaceRegExp)return t.replace(e.spaceRegExp," ")},f=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,"a"):t};function l(e,t,n){if(""===e)return 0;if(e){var l=function(e,t){var n=Object(r.extend)(o,t);return n.shortcodes=n.l10n.shortcodes||{},n.shortcodes&&n.shortcodes.length&&(n.shortcodesRegExp=new RegExp("\\[\\/?(?:"+n.shortcodes.join("|")+")[^\\]]*?\\]","g")),n.type=e||n.l10n.type,"characters_excluding_spaces"!==n.type&&"characters_including_spaces"!==n.type&&(n.type="words"),n}(t,n),x=l[t+"RegExp"],E="words"===l.type?function(e,t,n){return e=Object(r.flow)(i.bind(this,n),a.bind(this,n),g.bind(this,n),d.bind(this,n),u.bind(this,n),p.bind(this,n),s.bind(this,n))(e),(e+="\n").match(t)}(e,x,l):function(e,t,n){return e=Object(r.flow)(i.bind(this,n),a.bind(this,n),g.bind(this,n),d.bind(this,n),c.bind(this,n),f.bind(this,n))(e),(e+="\n").match(t)}(e,x,l);return E?E.length:0}}n.d(t,"count",(function(){return l}))}}); \ No newline at end of file diff --git a/wp-includes/version.php b/wp-includes/version.php index 975d7f7373..b2073b5134 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47050'; +$wp_version = '5.4-alpha-47051'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.